Skip to content

v9.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 15:02
· 142 commits to main since this release
6474f7d

@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.size now supports the shared small | middle | large vocabulary.
  • The component reads Config’s componentSize as its fallback, matching Button and Space.
  • A new large size step is available; previously ignored <Config componentSize="large"> now takes effect.
  • middle is the canonical spelling; medium remains a deprecated alias (to be removed in the next major release).
  • size="medium" and size="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