Skip to content

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 07:11
63a9d8a

Release Notes for @repo/ui v3.0.0

This release introduces significant changes, including a breaking change to the Swiper component and various improvements across other components.

Major Changes

  • BREAKING: Swiper no longer bundles or activates any Swiper feature modules by default. Import the necessary modules from swiper/modules and pass them explicitly via the new modules prop (default []). Refer to the migration guide in packages/ui/src/components/organisms/swiper/README.md.

Other Changes

  • RadioGroup now uses a single shared Radix radiogroup root, allowing arrow keys to move focus between options. Standalone Radio, the icons variant, and optionType="button" groups remain unaffected. The Radio component now accepts an optional id prop.
  • Button restores native focus-on-click behavior by no longer calling preventDefault() on mousedown, allowing buttons to retain focus after a mouse click.
  • Drawer now reference-counts document.body.style.pointerEvents, ensuring that concurrent mask-less drawers do not restore a stale value.
  • List now documents the scroll.next() contract, requiring callers to reset loading to false when a fetch settles, including on failure.

What's Changed

  • fix: audit follow-ups (RadioGroup a11y, Drawer, Button, List docs, Swiper modules) by @pjb0811 in #137
  • 🔖 chore: version packages by @github-actions[bot] in #138

Full Changelog: v2.12.0...v3.0.0