Repository navigation
Behaviour changes
No props were removed or renamed. These changes affect markup and keyboard handling in existing setups:
- Listbox semantics: in
LanguageSwitcher,PhoneInputandNavBar,role="listbox"now sits on the options container instead of the popup wrapper, and the active option is exposed viaaria-activedescendant(or roving focus in NavBar). Update tests or selectors that queried the old structure. (#44) - Keyboard: Arrow Up/Down, Home/End, Enter and Escape now navigate and select in these popups, and pressing an arrow key on a closed trigger opens it. (#44)
- shadcn registry:
language-switcher,phone-inputandnavbarnow depend on a newuse-listbox-navigationregistry item. The shadcn CLI installs it automatically. (#44)
New
- LanguageSwitcherPill: segmented pill switcher with an animated active indicator, radio-group semantics, arrow / Home / End keys and RTL support. (#19)
maxHeightprop onLanguageSwitcher,PhoneInputandNavBarto cap the popup height. Defaults to15rem, the same as before. (#44)useListboxNavigation: the shared keyboard hook behind the popups, available from the registry. (#44)
Website
- Landing navbar shows a live GitHub counter that cycles stars, forks and PRs; the Community section shows all three. (#48)
What's Changed
- feat: add language switcher pill by @ayamanshaikh in #19
- feat(a11y): keyboard navigation for listbox popups (LanguageSwitcher, PhoneInput, NavBar) by @ujwalbajaj in #44
- feat(website): add GitHub stars/forks/PRs counter in navbar and community by @TanmayNileshShinde in #48
New Contributors
- @ayamanshaikh made their first contribution in #19
- @TanmayNileshShinde made their first contribution in #48
Full Changelog: v1.2.0...v1.3.0