Repository navigation
@var-ui/cli@0.14.0
Minor Changes
- #240
a340f9fThanks @dbanksdesign! - Newvar-ui tokens [query] [--json]: lists design tokens with their CSS variable and default value (light / dark for colours). The query matches the token path or variable name, ignoring case and separators, so a pasted--var-ui-font-size-mdfinds--var-ui-fontSize-md. The catalog gains atokensarray fromlistDesignTokens(), and the AGENTS.md block mentions the command.
Patch Changes
-
#281
6ac0e2cThanks @dbanksdesign! -@var-ui/reactno longer depends onreact-aria, directly or as a peer: installreact,react-dom,react-aria-componentsand@var-ui/core. Our popups no longer render under a react-aria trigger's press responder, which removes the one reason we importedreact-aria(itsOverlay, to clear that responder).Menuprovides react-aria's menu contexts itself (MenuContext,RootMenuTriggerStateContext, the popover and overlay-state contexts) instead of wrapping in RACMenuTrigger. The trigger handles its own click and keys: ArrowDown, Enter and Space open with the first item focused, ArrowUp with the last. Submenus, Menubar and the presets are unchanged.ColorInput's picker is a var-uiPopover(a light-dismiss native popover) instead of RACDialogTrigger. It still takes focus when it opens and gives it back to the swatch.- The internal popover shell renders its content in place, without
Overlay. If a var-ui popup is placed inside a RACMenuTrigger/DialogTrigger, it keeps its anchor and warns in development.
-
#265
765e234Thanks @dbanksdesign! - Component props data includes recipe variant defaults (size,tone,appearance, …), sovar-ui component <name>and the docs Markdown views show them, not only the docs props table. JSDoc@defaultstill wins. -
#250
993ae7fThanks @dbanksdesign! -react-ariais now a peer dependency (^3.50.0) instead of an exact dependency, so apps install one copy: the onereact-aria-componentsuses. Two copies made menu items take over their trigger's ref, soMenupopups anchored to their own first item and rendered at the window's corner. A popup now ignores a trigger that sits inside itself and warns in development thatreact-ariais duplicated.@react-aria/i18nis gone (isRTLcomes fromreact-aria-components).Install it next to
react-aria-components:pnpm add react-aria, then checknpm ls react-arialists one version. -
#254
f066000Thanks @dbanksdesign! - Every published package now ships itsCHANGELOG.md. A new Upgrading guide (/docs/upgrading) covers the 0.6 → 0.13 breaks: platform prop names,filled→solid, native overlays, space tokens and removed exports. The core README liststypestylesas the one TypeStyles export (no rootrecipe/style), and the React README no longer describes the package as React Aria wrappers.IconButtonwarns once in development when it renders without anicon(any cause, including the pre-0.7name="close").