- Changes passing an
input_id
to accordions. Replaced with the more accurateinput_name
(optional) parameter. There was no point in having different name attributes for the different radio buttons - Updates modal component to use newer modal controller from protos-stimulus
that uses
@stimulus-components/dialog
- Adds the ability for
css
helper to take multiple values, including inline values instead of theme keys. - Adds new
Protos::Badge
component - Removes deprecated tokens to prepare for phlex 2.0
- Removes
dry-initializer
undefined constant to improve performance - Adds autoloading constants instead of hard requires
- Changes how merging attributes works to only mix on certain attributes,
overriding on all others. This is opposite to how attributes used to be merged
by default. This is a fix for attributes like
value
where you actually need to override them. - Adds a separate tested
Mix
class for handling attribute merging
- Fixes all accessibility violations according to Axe Core
- Reduces responsibility of Tabs to only be a tablist, no tab panels
- Fixes passing ID to popovers, dropdowns, drawers, etc to not override the input ID
- Changes trigger on popover to be a button instead of a div
- Removes unneeded auto-loading in Rails which fixes collisions with
protos-markdown
- Adds fixes for handling form submissions within modals with
protos-stimulus
v0.0.3 - Adds ability to disable margin on p tags with
Protos::Typography
- Adds ability to pass arrays of tokens to themes
- Removes unnecessary calls to
tokens
, preferring arrays of strings for performance - Improvements to performance with constant hash lookups and early returns on
mix
- Adds steps component
- Phlex discord didn't like all the calls to
render
- Apparently
render
is called differently within ERB - Suggested to change all calls to immediately render, would improve ergonomics
- Updates to phlex v0.10 by changing all
template
methods toview_template
- Improvements to README
- Chose to move away from daisyUI dropdown defaults as they have problems displaying properly in too many situations
- Opted for using a protos-stimulus controller that uses tippy.js
- Initial release