shoelace-rails

Rails helpers for https://shoelace.style, the design system.

MIT License

Downloads
16
Stars
45
Committers
2
shoelace-rails - v0.6.1 Latest Release

Published by yuki24 7 months ago

🐞Bug Fixes

  • Fixes a bug where form builders fail to render with a string :as option
shoelace-rails - v0.6.0

Published by yuki24 7 months ago

⭐️ Features

  • Add the ability to use translations with form helpers (626f271)
shoelace-rails - v0.5.0

Published by yuki24 8 months ago

⭐️ Features

  • Add support for Ruby 3.3 (399f25567f964d0ea2e250eba6db28a2bcd038a3)
  • Add support for Rails 7.1 (#4)
  • Add #grouped_collection_select (2b91023d51e1d0a218f2102232241afa82aaf872)
  • Make the <sl-radio> form helpers compatible with Shoelace 2.0.0-beta.80 and above (ef9a8345f2c5c921847aef15e19cf64a471d6473)
shoelace-rails - v0.4.1

Published by yuki24 over 1 year ago

🐞Bug Fixes

  • Fixes a bug where FormHelper may not be defined when someone loads ActionView too early (d91ed3b595c01ce2dfc471b12b14311e0660d3d7)
  • Fixes a bug where the Shoelace rake tasks blow up when the project does not depend on Sprockets or Propshaft (0e64cd6dc38a037171be04eaf1d3f59c3c8529eb, 75adf831b1faa7f5d1faeed26e672d4bc89b9513)
shoelace-rails - v0.4.0

Published by yuki24 almost 2 years ago

🚨 Breaking Changes

  • No longer works with 2.0.0-beta.87 and below.

⭐️ Features

  • Support Shoelace.style 2.0.0-beta.88.
shoelace-rails - v0.3.0

Published by yuki24 almost 2 years ago

Features

  • No longer requires the sl-form component (4fdbfa15)
  • The #text_area method now accepts a block (5092dc1c)
  • Allow overriding the value attribute for <sl-select> (1f38be73)
  • Auto-display labels whenever possible (c1e3a950)
  • <sl-select> now always has a label by default (f9fb5f0c)
  • Support Ruby 3.2 (b286cbc1)
  • Add #sl_button_to (e1bdedba)
  • Add #sl_icon_tag (8a2187a2)
  • Add #sl_avatar_tag (77dccdb2)
  • Allow using the Shoelace::FormBuilder in a cleaner way (43dea330)

Bug Fixes

  • Fixes a bug where the gem rake tasks are not loaded (115bfb3d)
  • Fixes a bug where values are not properly passed in to <sl-textarea> (3d163845)
  • Make sure yarn install is always executed before copying shoelace assets (98018a27)
  • Fixes a bug where the @object needs to respond to #errors (bb981ed0)
  • Fixes a bug where the size attr is ignored by the #text_area method (8bc4c378)
  • Fixes a bug where unchecked checkbox values are not captured (dc658bea)
shoelace-rails - v0.2.0

Published by yuki24 over 2 years ago

Features

  • Do not require the copy-webpack-plugin to set up Shoelace so the gem works with any js bundler.
shoelace-rails - v0.1.0

Published by yuki24 over 2 years ago

First release!