Repository navigation
v9.1.0
@repo/ui v9.1.0 – Align the Switch component’s sizing with the library‑wide ComponentSize contract, adding a large step and honoring <Config componentSize="large">.
Switch.sizenow supports the sharedsmall | middle | largevocabulary.- The component reads
Config’scomponentSizeas its fallback, matchingButtonandSpace. - A new
largesize step is available; previously ignored<Config componentSize="large">now takes effect. middleis the canonical spelling;mediumremains a deprecated alias (to be removed in the next major release).size="medium"andsize="small"continue to render exactly as before.
What's Changed
- feat: align Switch.size with the shared ComponentSize contract by @pjb0811 in #372
- chore: version packages by @github-actions[bot] in #373
Full Changelog: v9.0.0...v9.1.0