Major release adopting fQuery 5 and improving style preservation, component cleanup, and recovery from interrupted transitions and failed initialization.
Breaking Changes
- Updated
@fr0st/queryfrom version 4 to version 5. Bundled builds include fQuery 5; applications using the external UMD build must load a compatible fQuery 5 build. - Replaced the exported
addScrollPadding()andresetScrollPadding()helpers withlockScrollPadding(). Retain the release function returned bylockScrollPadding(nodes)and call it when compensation is no longer needed.
Fixed
- Preserved original inline styles and
!importantpriorities during component transitions, positioning, scroll locking, and disposal, including custom toast display styles. - Kept shared scroll locks and scrollbar compensation active until the last modal or offcanvas holder releases them, and corrected numeric z-index comparisons for stacked modals.
- Rolled back temporary styles and component state when style locking or Popper initialization fails, allowing subsequent initialization and show attempts to succeed.
- Restored component and trigger state on disposal and prevented late transition callbacks from mutating disposed components or emitting completion events.
- Preserved explicit carousel pauses across slide transitions and hover changes, and restored temporary styles after canceled, reversed, or interrupted drags.
- Prevented overlapping accordion transitions and corrected dropdown element references.
Improved
- Added reusable
lockStyles()andlockStylesCounterFactory()helpers with idempotent release functions and rollback on failed acquisition. - Simplified carousel caption shadows to remove the double-border appearance.
- Aligned browser setup and test conventions with fQuery, consolidated component cases, and expanded recovery and disposal coverage.
- Updated README setup instructions and component behavior documentation.
- Updated development dependencies, patched the transitive
js-yamlvulnerability, and regenerated distribution bundles.