Skip to content

v1.1.4

Choose a tag to compare

@sapatmohit sapatmohit released this 17 Sep 09:37
· 21 commits to main since this release

Fixed

LanguageSwitcher rendered RTL rows in the wrong order. Each option already carried dir="rtl", which lays a flex row out right-to-left on its own — the flex-row-reverse applied on top of it reversed the row back into left-to-right order, the opposite of what the class was there to achieve. The trigger reversed itself the same way, and text-left pinned the label against the direction rather than following it.

Direction now comes from dir alone. The root element carries it, so the whole widget switches direction for an RTL locale, and a caller can still override it by passing dir. Labels use the logical text-start.

Removed

Dead code only — no API change:

  • Two orphaned landing-page components (hero-demo, theme-toggle), referenced nowhere.
  • The unused registryItemNames export, and registry constants that are only read inside their own module.
  • The unused geist dependency — fonts come from next/font/google; only the CSS variable names mention geist.