Releases: yuki24/shoelace-rails
Releases · yuki24/shoelace-rails
v0.8.0
v0.7.0
🚨 Breaking Changes
- Deprecate
config.shoelace.invalid_input_class_name
in favor ofdata-invalid
anddata-use-invalid
(461b622)
⭐️ Features
- Add
invalid
anddata-invalid
to theShoelace::FormBuilder
(461b622) - Add the ability to specify a method for rendering slot for input components (6b8b2d3)
- Add
FormBuilder#date_field
method (73b92be)
🐞 Bug Fixes
- Fixes a bug where
FormBuilder#select
blows up with an empty block (f0addb2)
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.1
v0.4.0
v0.3.0
Features
- No longer requires the
sl-form
component (4fdbfa1) - The
#text_area
method now accepts a block (5092dc1) - Allow overriding the value attribute for
<sl-select>
(1f38be7) - Auto-display labels whenever possible (c1e3a95)
<sl-select>
now always has a label by default (f9fb5f0)- Support Ruby 3.2 (b286cbc)
- Add
#sl_button_to
(e1bdedb) - Add
#sl_icon_tag
(8a2187a) - Add
#sl_avatar_tag
(77dccdb) - Allow using the
Shoelace::FormBuilder
in a cleaner way (43dea33)
Bug Fixes
- Fixes a bug where the gem rake tasks are not loaded (115bfb3)
- Fixes a bug where values are not properly passed in to
<sl-textarea>
(3d16384) - Make sure yarn install is always executed before copying shoelace assets (98018a2)
- Fixes a bug where the
@object
needs to respond to#errors
(bb981ed) - Fixes a bug where the
size
attr is ignored by the#text_area
method (8bc4c37) - Fixes a bug where unchecked checkbox values are not captured (dc658be)