@treeui/vue@0.25.0
Minor Changes
-
2628793: Extend
TTextfor marketing surfaces and fix twoTLanguageSelectbugs.- TText display/heading sizes (TREEUX-024):
sizegains4xl,5xl, anddisplay— a responsive hero step (clamp(3xl→5xl)with compact line-height and tight tracking), so a landing hero scales with the viewport without a consumerclamp(). - TText overline (TREEUX-025):
size="overline"— a closed eyebrow style (xs, semibold, uppercase, wide tracking) that leaves colour to thetoneaxis (brand on a site, muted on a product LP). - TText reading measure (TREEUX-029):
measure="lead" | "prose"caps line length inch(58 / 68) and renders block, so every surface uses the same measure without hardcodingch. - TLanguageSelect SSR fix (TREEUX-028): the outside-click listener bound in an
immediatewatcher toucheddocumentduring setup and crashed server rendering (nuxt generate). The client-only side effect moved toonMounted; arenderToStringsmoke test now guards the overlay/select components against DOM access during setup. - TLanguageSelect icon-only fix (TREEUX-026):
icon-only(switcher) now visually hides the language name (kept as the accessible name) and collapses the trigger to a square, instead of only tightening padding — so a narrow navbar no longer shows the full endonym.
- TText display/heading sizes (TREEUX-024):
Patch Changes
- Updated dependencies [2628793]
- @treeui/tokens@0.25.0