Skip to content

v4.0.0

Latest

Choose a tag to compare

@elusivecodes elusivecodes released this 20 Sep 06:24

Major release adopting fQuery 5 and improving style preservation, component cleanup, and recovery from interrupted transitions and failed initialization.

Breaking Changes

  • Updated @fr0st/query from 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() and resetScrollPadding() helpers with lockScrollPadding(). Retain the release function returned by lockScrollPadding(nodes) and call it when compensation is no longer needed.

Fixed

  • Preserved original inline styles and !important priorities 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() and lockStylesCounterFactory() 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-yaml vulnerability, and regenerated distribution bundles.