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.
- parsing of targets where the controller is also specified
outlet
DSL methods updated so that the selector is scoped to the component's root element by default. This is probably the most common use case, and it's now the default.with_outlets
DSL method added to generate the data-* attributes for the outlets and return as a fragment
of HTML
outlet_host
DSL method to support components hooking themselves into a host component's outlets
outlets
option now accepts either a string stimulus controller identifier, a component instance, or a tuple of identifier and CSS selector for the outlet.
outlets
option for components, used to specify Stimulus outlets
#cache_key
support is now part of the core gem, and can be added to components usingVident::Caching
module
- new gems for Vident related functionality, eg
vident-typed
andvident-tailwind
vident
is now the core gem which can be used with any component system. Gems for Phlex and ViewComponent are available,vident-phlex
andvident-view_component
, andvident-typed-phlex
andvident-typed-view_component
are available with typed attributes support.
- removed functionality for
better_html
,dry-types
,view_component
, andphlex
from the core gem - gem is now a Rails Engine and supports eager and autoloading
- Fix untyped attributes inheritance
- new
Vident::Tailwind
module which uses tailwind_merge to merge TailwindCSS classes
- Removed a dependency on intenal constants from
phlex
- Fix for changes to HTML tag collection in Phlex
- Element tag options are not set when no ID is provided
better_html
support fix for aliased dsl methods
- Experimental support for
better_html
in the root components (the stimulus attributes are generated withhtml_attributes
)
- N/A
- N/A
- Typed attributes was not always using custom coercion methods if they were defined
- N/A
- N/A
- N/A