Skip to content

Releases: dkniffin/active_material

v2.1.5

04 Jun 18:41

Choose a tag to compare

  • Add package.json entry-point, so non-importmap JS usage can just be import "active_material";
  • Update and improve docs

v2.1.4

17 Jan 18:28

Choose a tag to compare

  • #103 - Fix dropdown menu

v2.1.3

17 Jan 18:27

Choose a tag to compare

  • #102 - Resolve Darsass deprecation warnings

v2.1.2

12 Aug 14:31
0691cac

Choose a tag to compare

  • #100 - Avoid using ruby 3.1 methods to keep gem compatible with older ruby versions (thanks @alexeyschepin)

v2.1.1

12 Aug 14:31
e0cc5ec

Choose a tag to compare

  • Update included files in gemspec

v2.1.0

12 Aug 14:31
d5239d9

Choose a tag to compare

  • Convert JS from jquery to vanilla JS
  • Add support for importmap
  • Update SCSS to support dartsass-rails

v2.0.3

12 Aug 14:30

Choose a tag to compare

v2.0.2

12 Aug 14:30

Choose a tag to compare

  • Fix broken account menu icon

v2.0.1

12 Aug 14:30

Choose a tag to compare

  • Removes dependency on globbing extension (#85)

v2.0.0

12 Aug 14:29

Choose a tag to compare

This activeadmin theme is entirely JS and CSS, and there is no custom ruby code. Therefore, since v2, active_material has been converted from a ruby gem to an npm/JS package. As part of this process, sprockets is also no longer supported.

Breaking changes

  • Sprockets is no longer supported
  • The library is converted from ruby gem to npm/JS package

Upgrading

To upgrade from v1 to v2, follow these steps:

  1. Follow the instructions in the readme for "installation" to add the npm/JS version
  2. Remove references to active_material in app/assets/stylesheets/active_admin.scss. Any customizations should be moved over to 3. wherever the new scss import is.
  3. Remove references to active_material in app/assets/javascripts/active_admin.js.
  4. Remove the gem 'active_material' from your Gemfile (and run bundle install to update Gemfile.lock)