Repository navigation
v2.0.0 #77
v2.0.0
#77
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A ground-up visual redesign: every component now uses shadcn/ui theme tokens, animates with
motion, and exposes aclassNamesprop per part.bg-popover,text-muted-foreground,ring-ring, …) instead of fixedzinc/emeraldcolours, so they inherit your theme. shadcn projects need nothing; otherwise add the tokens once — see Theme tokens. (feat: adopt shadcn theme tokens and motion foundation #65)LocaleNumberandRelativeTimeremoved. They wrappedIntlformatters and rendered bare text. UseIntl.NumberFormat/Intl.RelativeTimeFormatdirectly. (feat!: remove formatters and rebuild docs preview and demos #72)motionandlucide-react.Components
variant/size, animated menu that flips when there's no room, search with clear and empty state,align/side,renderOption,showCode,searchable. (feat(language-switcher): redesign with shadcn tokens, motion and part slots #67)variant,size,showFlags,disabled. (feat(language-switcher-pill): spring indicator, variants, sizes and flags #68)aria-invalidstyling, redesigned country menu,countriesto restrict / reorder,size. (feat(phone-input): unified field, country menu redesign and countries prop #69)variant="floating", spring link highlight,activeHref, animated mobile menu, globe fallback when flags are off. (feat(navbar): floating variant, link highlight and animated mobile menu #70)maxLength, clear, copy,loading,defaultSourceText. (feat(translation-widget): two-pane card with copy, count, clear and loading #71)classNamesslots with exported*ClassNamestypes;prefers-reduced-motionrespected.Fixes and internals
pa-ArabRTL,sd-DevaLTR); language names fall back toIntl.DisplayNames; no component keeps a private locale table. (refactor: share locale data across every locale-aware component #75)NavBarmirrors its layout for RTL locales (fix(navbar): mirror layout for RTL locales #52); flags resolve from 2-letter region subtags (fix(locale-data): resolve flag from 2-letter region subtag #53).Docs
@babelizeshadcn namespace —npx shadcn@latest add @babelize/language-switcher, no setup needed. (fix(docs): use the @babelize namespace and render install snippets as code blocks #74)Full changelog: v1.3.0...v2.0.0
This discussion was created from the release v2.0.0.
All reactions