Releases: laravelcm/livewire-slide-overs
Releases · laravelcm/livewire-slide-overs
v2.1.0
What's Changed
- feat: instant open, dynamic resize, native dialog mode by @mckenziearts in #19
Full Changelog: v2.0.4...v2.1.0
v2.0.4
What's Changed
- chore(deps-dev): bump the js-dependencies group with 2 updates by @dependabot[bot] in #16
- chore(deps-dev): bump the js-dependencies group with 2 updates by @dependabot[bot] in #17
- fix: stacked slide-over UX (ESC pops single panel, responsive width) by @mckenziearts in #18
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- fix: safelist max-width classes for Tailwind v4 by @mckenziearts in #15
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- fix: stacked panel overflow and initialize changelog by @mckenziearts in #14
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
- fix: support both Livewire 3.x and 4.x component resolution by @mckenziearts in #13
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
Breaking Changes
PanelContractnow defines method signatures — Components implementingPanelContractdirectly (without extendingSlideOverComponent) must now implement all 8 static methods including the newpanelPosition()method- Component ID hashing changed from
serialize()tojson_encode()— If you were storing or comparing component IDs externally, they will change getListeners()replaced by#[On]attributes — If you extendedSlideOverPaneland overrodegetListeners(), update to use#[On]attributes instead
New Features
- Stacked panels — Opening a slide-over from within another one now creates a visual stack with depth effect (scale down + shift). Enable with
'stack' => truein config. Previous panels remain visible but scaled down, and only the active panel is interactive (#12) - Per-component position —
panelPositionis now included inpanelAttributes, preparing for per-component left/right positioning
Improvements
- Bug fix:
this.show→this.openinclosePanel()JS — panels could not be closed because the guard checked a non-existent property - Bug fix: Escape key now closes only the active panel in stacked mode instead of force-closing the entire stack
- Modern Livewire:
#[On]attributes instead ofgetListeners()method - Cleaner type resolution:
Reflector::getParameterClassName()instead of manualReflectionNamedTypechecks - Livewire 3 & 4 compatibility:
livewire.factory->resolveComponentClass()instead of dead codeComponentRegistryfallback - Reactive close-icon: Alpine
x-if="closeOnEscape"per-component instead of static config - Build workflow: path filter on
resources/+ JS copy to public - Tests: 2 new tests for default attributes and position
Upgrade Guide
- Update your
composer.json:"laravelcm/livewire-slide-overs": "^2.0" - If you implement
PanelContractdirectly, add the missing method signatures (or extendSlideOverComponentinstead) - Publish the updated config to access the new
stackoption:php artisan vendor:publish --tag=livewire-slide-over-config --force
Full Changelog: v1.2.0...v2.0.0
v1.2.0
What's Changed
- Bump the js-dependencies group with 2 updates by @dependabot[bot] in #8
- chore(deps): add support for Laravel 13 by @mckenziearts in #10
New Contributors
- @dependabot[bot] made their first contribution in #8
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's Changed
- chore: add overflow-hidden classe to the container by @mckenziearts in #7
Full Changelog: v1.1...v1.1.1
v1.1
What's Changed
- feat: Add support for Livewire 4, Tailwind 4, and Pest 4 by @mckenziearts in #6
Full Changelog: v1.0.8...v1.1
v1.0.8
Full Changelog: v1.0.7...v1.0.8