v3.0.0
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:
Swiperno longer bundles or activates any Swiper feature modules by default. Import the necessary modules fromswiper/modulesand pass them explicitly via the newmodulesprop (default[]). Refer to the migration guide inpackages/ui/src/components/organisms/swiper/README.md.
Other Changes
RadioGroupnow uses a single shared Radix radiogroup root, allowing arrow keys to move focus between options. StandaloneRadio, theiconsvariant, andoptionType="button"groups remain unaffected. TheRadiocomponent now accepts an optionalidprop.Buttonrestores native focus-on-click behavior by no longer callingpreventDefault()onmousedown, allowing buttons to retain focus after a mouse click.Drawernow reference-countsdocument.body.style.pointerEvents, ensuring that concurrent mask-less drawers do not restore a stale value.Listnow documents thescroll.next()contract, requiring callers to resetloadingtofalsewhen 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