All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added
animation
feature forw_button
component to add animation effect. - Updated the documentation to include the new features.
- Updated the demo website to include the new features.
- Added
tooltip
feature forw_button
component to show tooltip when hovering over the button. - Updated the documentation to include the new features.
- Updated the demo website to include the new features.
- Added
copy_to_clipboard
feature forw_button
component to copy text to clipboard with a feedback message. - Added
confirm
feature forw_button
component to show confirmation dialog before executing the action.
- Added
:gradient
parameter forw_button
component to use gradient color. - Updated the documentation to include the new features.
- Added
w_js
helper to use in your application layout file - This helper
w_js
automatically includes the necessary JavaScript file for WildayUI in your application.
- Fixed error javascript not loaded when rails application uses
wilday_ui
gem and deployed to production.
- Fixed error when rails application uses
wilday_ui
gem and deployed to production. Using Sprockets for asset precompilation.
- Fixed error when rails application uses
wilday_ui
gem and deployed to production.
- Fixed error when rails application uses
wilday_ui
gem and deployed to production.
- Added
require "wilday_ui/version"
inversion.rb
to check for the latest version of the gem.
- Added new parameter
theme
forw_button
component. - Now you can use basic variants for
w_button
component likesolid
,outline
,surface
,ghost
,link
. - Also can use
theme
parameter to change the color of the button likeprimary
,secondary
,success
,danger
,warning
,info
,light
,dark
. - You can combine
variant
andtheme
parameter likevariant: :solid, theme: { name: :primary }
. - You can custom theme color for
w_button
component like:<%= w_button "Custom", variant: :solid, theme: { custom: { color: "#ffffff", background: "#8b5cf6", hover: { background: "#7c3aed" } } } %>
- Added basic dropdown and nested dropdown features for button
w_button
component - Updated the documentation to include the new features
- Added loading state for
w_button
. - Added docs folder to document the usage of the gem. Will be published to wildayui.com.
- Fixed notification through the console when a new version of the gem is available.
- Fixed notification through the console when a new version of the gem is available.
- Added notification through the console when a new version of the gem is available.
- Added
icon
support forw_button
withicon_position
.
- Initial release with the
w_button
component.- Customizable variants (
primary
,secondary
,outline
). - Adjustable sizes (
small
,medium
,large
). - Support for border radius (
rounded
,pill
,square
).
- Customizable variants (