Skip to content

v0.2.151

Choose a tag to compare

@github-actions github-actions released this 18 Mar 10:01
· 258 commits to main since this release
791ee07

v0.2.151 — Alignment and runtime improvements for the Accordion component.

Packages updated

Only the following package received code changes in this release:

  • @data-slot/accordion

Highlights

  • ✨ Align runtime and demos with Base UI behavior — accordion runtime now matches the demo experience and Base UI conventions.
  • ✨ Improved keyboard interactions: Enter and Space now toggle accordion items more reliably.
  • ✨ Better orientation and sizing handling: explicit support for "horizontal" and "vertical" orientations and more robust size-transition property detection for smoother animations.
  • ✨ State attributes standardized: data-state, data-open and data-closed are set/cleared consistently to make styling and testing more predictable.
  • ✨ More robust disabled detection: respects disabled, data-disabled, and aria-disabled attributes.
  • ✨ Timing and animation reliability: transition-duration/delay parsing and a small settle-tolerance improved to avoid flaky open/close timing behavior.
  • 🐛 Miscellaneous runtime hardening and demo parity tweaks to improve UX and developer experience.

Breaking changes

  • None. This release focuses on alignment and behavioral improvements; existing APIs remain compatible.