Releases: alpine-collective/alpine-magic-helpers
Releases · alpine-collective/alpine-magic-helpers
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.0
Now that $component
has 1 to 1 functionality with that of a native Alpine component, and the helper has been used on production sites for months now, we are making a 1.0 release!
Added
[$component
]: Added support for accessing magic properties/helper via $component/$parent ($parent.$parent.foo is now a thing!!!)
Changed
[$component
]: $component and $parent are now deferred for a few ms if the observed component is not ready
v0.6.0
Fixed
- [
$component
]: When accessing functions which use $refs or other magic properties,this
was not bound correctly.
Added
- [
$undo
/$track
/$history
]: Adds a set of helpers to track component state and revert changes on demand - [
$refresh
]: Adds a helper to refresh components
v0.5.1
- [$scroll]: When using css selectors or Alpine reference, element position to scroll to was some times a decimal number (e.g. rem values could resolve to a decimal number) and $scroll was triggering an error.
v0.5.0
Fixed
- Helpers were registered twice by mistake resulting in unnecessary function calls.
Added
- Added a config object to allow users to customise some helpers
- [$screen]: Added the $screen helper to detect the current screen size (@muzafferdede)
v0.4.1
Fixed
- [
$truncate
]: Fixes an issue where the ellipsis would show even if the source length was shorter.
v0.4.0
Added
- [$range]: Added the $range helper to iterate over custom ranges
- [$scroll]: Added the $scroll helper scroll vertically to a specific position