Aller au contenu

Historique des versions

Changelog

Le journal de version canonique de VLLNT UI, genere a partir des Conventional Commits au format Keep a Changelog.

Flux RSS

Unreleased

#unreleased

Changed

all
  • Badge classes live in a style recipe (#739) - badge.recipe.ts holds every class Badge draws (base, variants, compound rules, defaults) as plain data that imports nothing, so a renderer that is not React can read the same classes. Badge resolves it with the same cva, then merges the result with cn (tailwind-merge), which is what lets a surface tone replace the variant surface; another renderer has to do both. Badge renders the same class names for every variant, tone, size, border and dot combination (a test checked all 2,700 when the recipe landed). The shadcn registry copies the recipe into the installed badge.tsx, so that file still carries its classes. No API change.

  • Badge stories and docs page are generated (#738) - badge.stories.tsx, badge.mdx and the new badge.generated.test.tsx are written from badge.definition.ts and carry a "Generated from" header. Story names and ids are unchanged, and each story renders the same HTML. The docs page now takes its summary, prop descriptions and defaults from the Badge contract in @vllnt/ui-core. No change to the Badge component.

  • Shell docs say what the code does (#770) - the site switcher renders groups in the order you give and any row can be current, not only a first row; the default theme is the vllnt theme (maia renders the same); the shell brand guard also fails on a vllnt- prefix and finds new shell parts by name. No behaviour change.

  • Badge no longer changes fill on hover (#848) - a badge is a static surface, so Badge and badgeVariants drop their hover: fills in every variant and tone. Migration: when you put badgeVariants on a link or button, add hover:bg-primary/80 (default, tone="solid"), hover:bg-secondary/80 (secondary, soft) or hover:bg-destructive/80 (destructive, tone="danger-solid") to its className; for tone="danger-tint", add hover:bg-destructive/15.

Added

feat
  • docs/llms.txt and a page for every exported component (issue #722) - the package ships docs/llms.txt: the conventions (install and peers, styles and the Tailwind preset, root and subpath imports, the optimizePackageImports note for Next.js with webpack, theming tokens, cn and cx) and a relative link to every component page. Each page, docs/components/<name>.md, is named after the component's subpath @vllnt/ui/<name> and gives both imports (subpath and root), props, variants, the story names (states) and an example. The pages no longer carry the site install command or links to the latest source. The 74 components that had no Storybook docs page now have one, with an example taken from their stories, and packing fails when an exported component has no page. The root llms.txt now links docs/llms.txt instead of listing the components. The JavaScript bundles do not change.

  • Spatial tokens: depth roles, target sizes, press and raise (issue #846) - each depth step has a role (z-0 base, z-1 raised, z-2 overlay, z-3 floating, z-4 modal) and two new fields, written as CSS variables in both modes: --depth-z-N-border (--border for z-0 to z-2, the new --color-border-strong for z-3 and z-4: --border in light, #3a3a3a in dark) and --depth-z-N-surface (--background, --card, then --popover). The target sizes --size-target-pointer (24 px), --size-target-touch (44 px) and --size-target-spatial (60 px) join --size-target-min, which stays 2.75rem and equals size.target.touch. motion.press (100 ms) and motion.raise (200 ms), both ease-out, are in tokens.json (no CSS variable). Every theme in themes/presets.css and themes/products.css sets --color-border-strong next to its --border (equal in light, 0.08 lighter in dark), so the top steps never draw a darker hairline than the theme's border. No existing CSS variable changes value, and no component reads the new ones yet: flat and pure-black dark stay the default.

  • LauncherDock (#875) - a centred floating launcher bar at the bottom of the screen ("Search… ⌘K") whose button calls onOpen; the app opens its own palette, such as CommandDialog with fullScreenBelow. It takes label, onOpen, shortcut="mod+k" (⌘K or Ctrl K, rendered after mount), hideOnScroll (window scroll, clamped against the iOS bounce) and hideWhileEditing (a :has() rule in styles.css; text fields inside a dialog, such as the palette, do not hide it), both true by default, placement="all" | "below-desktop" (a media query hides it at 1024 px and wider), leading and trailing slots and material (solid by default, "glass" opt-in). It clears the bottom safe area (needs viewport-fit=cover) and renders a spacer so it never covers the end of the page. Hidden by scrolling it is inert, hidden while editing it is visibility: hidden. LauncherDockProps and LauncherDockPlacement are exported, and @vllnt/ui/launcher-dock is its subpath. No new dependency.

  • Health on switcher rows (#872) - a NetworkSwitcherItem takes health, the same ShellHealth ({ label, tone }) as a footer link, and shows a dot in the tone and the label after the status chip. status stays the launch stage and health is the live state, so a row can show both. The row's aria-describedby reads the description, the status, then the health; the link's name stays its label. A row without health renders as before.

  • Component definitions, piloted on Badge (#738) - a component can be described once in <id>.definition.ts: plain data typed against its @vllnt/ui-core contract (story args, regression cases, docs sections). pnpm -F @vllnt/ui definitions:generate writes its stories, generated tests and docs page; test:once regenerates them in memory and fails on any difference, so a hand edit fails CI. Component code stays hand-written. badge.contract.test-d.ts checks Badge's props against its contract on web.

  • Health on footer links (#871) - SiteFooterLink takes health, a { label, tone } object, and shows a dot in the tone and the label after the link's text. The link's name stays its label; assistive tech reads the health label as the link's description through aria-describedby, with an id built from the column and the link's place. The label carries the meaning, not the colour. The ShellHealth type is exported from the root. A link without health renders the same markup as before.

  • data-* attributes and slots on shell links (#770) - every anchor the shell draws (SiteHeader, SiteHeaderStatic, SiteFooter) now carries data-shell-slot (bar, menu, cta, switcher or footer), so a script can tell where a link sits. SiteNavItem, SiteLocaleLink, the header cta, NetworkSwitcherItem and SiteFooterLink take an optional data object of data-* attributes; the shell keeps the data-* keys and drops the rest. The ShellLinkData and ShellLinkSlot types are exported from the root. A call with no new prop renders the 0.4.0 markup plus data-shell-slot.

  • Switcher row fields and renderNetworkLabel (#770) - a NetworkSwitcherItem takes description (a line under the label), status (a chip after it), mark (short muted text such as EN, part of the link's name) and hrefLang, all display strings. Description and status are read through aria-describedby. SiteHeader and SiteHeaderStatic take renderNetworkLabel(item), which draws a row's visible content (an app's lockup) as decoration, hidden from assistive tech, while a visually hidden label (then the mark) names the link. The current row still links homeHref. The RenderNetworkLabel type is exported from the root. A row with only current, href and label renders as before.

  • A theme cookie shares the theme across apps (#770) - themeCookie on SiteShell, SiteFrame and SiteThemeProvider keeps the visitor's theme in a cookie that the app names, so apps on one site open in the same theme with no flash. The cookie is written when the visitor changes the theme, never on a plain visit, and SiteShellStatic takes themeCookie to read it only. Without the prop nothing changes. A name or domain a cookie cannot hold (whitespace, a control character, ;, ,, =; write an international domain in punycode) or a maxAge that is not an integer throws a TypeError when the shell or SiteThemeProvider renders; an empty domain counts as none.

  • Link options on the shell's nav, footer and button (#770) - SiteNavItem and SiteFooterLink take hrefLang (set as hreflang) and mark, a short muted mark after the label such as EN. The mark sits inside the link, so its name reads Label EN. The header cta takes external, which means what it means on a nav link: a new tab with rel="noopener noreferrer", a ↗ and the labels.external text, in the bar and in the menu of SiteHeader and SiteHeaderStatic. A call that uses none of them renders the same markup as before.

  • ShellLinkEvents reports clicks on shell links (#770) - a "use client" part that renders nothing and adds one click listener on the document. A click on an a[data-shell-slot] anchor, or on a child of one, calls onLinkClick({ event, link, slot }). Anchors with any other slot value are ignored, a new handler does not add a second listener, and unmount removes the listener. It needs a hydrated app. The ShellLinkEventsProps and ShellLinkClick types are exported from the root.

  • The theme cookie script for a page with no React (#770) - themeCookieScript(settings) and themeCookieString(cookie, value, secure) are exported from the root and from @vllnt/ui/theme-cookie, which imports no React, with the ThemeCookieSeedSettings type. The script is the one the shells run. Its new optional attribute ("class" or a data-* name) also puts the theme on <html> before the first paint, so a plain HTML page or another framework shares the theme with no flash. Both builders check the cookie the way the shells do.

  • CommandDialog full screen and placement (#874) - fullScreenBelow (640, 768 or 1024) fills the viewport below that width: the list scrolls inside, the content clears the safe areas (with viewport-fit=cover) and the on-screen keyboard, and the close button is a 44 px target. Above it, and without the prop, it stays the centred card. top="upper-third" pins the card's top edge at 20% of the viewport so the search does not move as results filter. closeButton and labels pass to DialogContent, and presentation passes to Dialog untouched (fullScreenBelow and top apply to "dialog" only). The full screen is a styles.css media query keyed by data-fullscreen-below, so server and client markup match. Every placement keeps the title, focus in the search, the focus trap, the scroll lock, Escape and focus return. A call with none of the new props renders the same markup as before.

  • Toggle, ToggleGroup and ToggleGroupItem variant="unstyled" (#749) - keeps the pressed state, roles, aria-pressed / aria-checked, data-state, keyboard and asChild, and adds no classes of its own: each part's class list is only its className, and size has no effect. On ToggleGroup it also drops the group's layout classes and applies to every item. toggleVariants({ variant: "unstyled" }) returns only the caller's classes; the other variants render the same class strings as before.

  • TooltipArrow, and Tooltip closeDelay and toggleable (#751) - TooltipArrow points at the trigger from the side the tooltip lands on, and TooltipContent stops clipping its children once it holds one. closeDelay keeps the tooltip open for that many milliseconds after the pointer leaves (default 0). toggleable makes a press on the trigger open and close the tooltip, so it opens on touch screens (default off). Without them, tooltips behave and look as before; TooltipContent carries one extra class, has-[>[data-slot=tooltip-arrow]]:overflow-visible, which applies only when an arrow is inside.

  • Slider part classes and thumbProps (#752) - controlClassName, trackClassName, rangeClassName and thumbClassName are merged into each part's default classes, and thumbProps (an object, or a function of the thumb's index) passes extra props, such as data-* or aria-describedby, to every thumb; each replaces the same attribute the slider sets on that thumb. Without them, the slider renders as before.

Deprecated

all
  • elevation.* design tokens (issue #846) - the consumer-facing change is in @vllnt/ui-core (designTokens.elevation, tokens.json); @vllnt/ui itself has no elevation CSS variable or class. elevation.none, sm, md and lg keep their string values; the new deprecated map in tokens.json carries a "Deprecated:" note for each. To migrate, read shadow.raised (--shadow-raised) in place of elevation.sm, and shadow.overlay (--shadow-overlay) in place of elevation.md and elevation.lg, as the Tailwind preset already does. shadow.* is empty in the flat default; an app that wants the old look copies the old elevation value into its own theme. The tokens stay for every 0.x release and leave no earlier than the next major, listed under Breaking.

Fixed

fix
  • optimizePackageImports prunes a root import under webpack (#882) - in a Next 16 webpack build with experimental.optimizePackageImports: ["@vllnt/ui"], a page that renders one client component imported from @vllnt/ui loaded 680.6 KB gzipped of client JS against 182.4 KB for the same component from its subpath (Switch: 680.6 KB against 189.2 KB). It now loads the same as the subpath import (182.4 KB and 189.2 KB). The root dist/index.js re-exported the components through a second barrel (export * from "./components/index.js"), and Next's barrel optimizer resolves a name behind a nested export * to that barrel, not to its module. The root now re-exports each component from its own module, in the barrel's order; the exported names and the bundle of every export are unchanged. Turbopack, the Next 16 default, already loaded the same for both imports. Plain webpack with no optimizePackageImports still loads every client module the root reaches (Next makes them all client entries of the page), so import by subpath there, as the README says. A new pnpm -F @vllnt/ui check:client-js, which size now runs after the bundle size budgets, builds a small Next app with webpack and with Turbopack and fails when a root import of one client component loads more than 5 KB gzipped over its subpath import (main's root fails it with a 485.9 KB gap). next 16.4.6 is now a devDependency, since the check needs Next 16.
  • The Pages Router builds with the root entry and no transpilePackages - next build of a Pages Router app that imports @vllnt/ui no longer fails with ERR_MODULE_NOT_FOUND for next/link or ERR_UNKNOWN_FILE_EXTENSION for a .css file (#820). The Pages Router loads the package through Node ESM, which needs next/link.js (next has no exports map) and cannot load a .css file. The built files now import next/link.js, next/navigation.js and next/image.js, and FlowDiagram's @xyflow/react stylesheet comes from @vllnt/ui/styles.css instead of an import in the component. An app that does not import styles.css must import @xyflow/react/dist/style.css itself (see MIGRATION.md). A Vite or other non-Next build that aliases next/* to stubs must also match the .js form, as the README recipe now does. check:dist-imports now fails on a next/* import without .js and on any .css import left in dist.
  • FlowDiagram fills the fullscreen dialog - the canvas was 0 px high in fullscreen, so the dialog showed only its header and the close button. It now fills the dialog body under the title, at any window size. The diagram in the page keeps its size (#838).
  • FlowDiagram zoom buttons step from the real zoom - Zoom in and Zoom out stepped from a private copy of the zoom, so the first press after load landed on 1.2 (zooming out from a fit at 2.0) and Fit view or a wheel zoom were ignored. They now move 0.2 from the zoom the canvas has and stop at its limits. The zoom that useFlowDiagram() returns follows the canvas too (#839).
  • Globe3D holds still under reduced motion - with prefers-reduced-motion: reduce, Globe3D no longer auto-rotates, even with autoRotate on (the default). Dragging still rotates it (#848).
  • AnimatedTestimonials autoplay holds under reduced motion - with autoplay on and prefers-reduced-motion: reduce, it stays on the current entry; Previous and Next still work (#848).
  • UnicodeSpinner slows under reduced motion - each frame lasts 1.5 times as long under prefers-reduced-motion: reduce, as Spinner turns slower. It keeps moving because the motion is the loading feedback (#848).
  • Static surfaces no longer respond to hover - CreditBadge, PlanBadge, the SubscriptionCard badge, BentoCard, Watchlist rows and MarketTreemap tiles drop their hover fill, shadow or lift: none of them is an action (#848).

0.4.0 - 2026-12-03

2026-12-03#v0-4-0

Breaking

breaking
  • Built on ui-sdk, not Radix, cmdk and vaul - the interactive components sit on Vercel's ui-sdk (@ui-sdk/react and @ui-sdk/core, pinned to 0.1.0-beta.7). Exports, props and class names are unchanged, and the Radix-facing DOM is kept for apps that style it: data-state with the Radix values, the --radix-* CSS variables (aliased to ui-sdk's) and data-radix-scroll-area-viewport. What can still break an app: popovers, tooltips, hover cards, menus and selects render in place in the browser top layer, not in a portal at the end of <body> (dialogs, alert dialogs, sheets and drawers still render into <body>, and so do the popups inside them); a modal makes the rest of the page inert and aria-hidden and locks scrolling with overflow: hidden on <html> (there is no data-scroll-locked attribute); focus enters a popup one animation frame after the press that opens it; and @vllnt/ui no longer installs any @radix-ui/* package, cmdk or vaul. See MIGRATION.md.
  • Dates and Calendar - Calendar, RangeCalendar, DatePicker and DateRangePicker run on ui-sdk's calendar, not react-day-picker. The common props keep working, but CalendarProps is no longer react-day-picker's props (locale is a language tag string such as "fr-FR" or a date-fns locale object, and components takes five parts, not every one), days are grid cells, and a calendar with a selection opens on the selected month.
  • Resizable - ResizablePanelGroup, ResizablePanel and ResizableHandle run on ui-sdk's resizable, not react-resizable-panels. The props stay, and collapsedThreshold, groupResizeBehavior, disableCursor and resizeTargetMinimumSize are accepted and ignored. resizePreviewMode and preview, which react-resizable-panels added in 4.13, are not supported: panels resize live as you drag.
  • toast - toast and Toaster run on ui-sdk's toast, not sonner. The calls stay the same, and the differences, such as the { id, unwrap } that toast.promise returns and the [data-sonner-*] selectors that no longer match, are listed under toast in MIGRATION.md. ui-sdk announces each toast through its own live region, which keeps the text after the toast closes, so scope a text query to [data-slot="toast"]. A toast that closes within about 200 ms of showing may still be announced, and toast.promise announces its loading title and not its result.
  • Carousel - runs on ui-sdk's carousel, not Embla. CarouselApi is a small object, plugins and other Embla options are ignored, and item spacing uses logical classes (pe-* and -me-* instead of pl-* and -ml-*).
  • InputOTP - runs on ui-sdk's one-time-code input, not input-otp, as a single labelled field. Its parts and props stay the same, except that className and style go to the wrapper, not the input, and handlers see the wrapper as currentTarget; a RegExp pattern is tested against each character, not the whole code; a keyword or RegExp pattern lets ui-sdk pick the keyboard, where input-otp always showed the numeric one; a paste drops spaces and hyphens, and a pasted code as long as the field replaces what was there; type, min, size and the other input attributes are put on the input after the first render; the no-script style aims at ui-sdk's input, [data-slot="otp-input-control"]; three password-manager badges are looked for, not four; onPaste and onKeyDown run after the input has handled the event, so cancel from onPasteCapture or onKeyDownCapture; formAction is a URL string; defaultValue is typed as a string only (0.3.0 also typed a number or a list, which input-otp ignored); and OTPInputContext, the REGEXP_ONLY_* constants and the experimental-no-flickering entry are not exported. See InputOTP in MIGRATION.md.
  • cn - merges only the class groups the library uses. Classes from other groups, such as columns-*, now stay side by side instead of replacing each other.
  • DataTable filter - is a native <select>, styled like the inputs.

Changed

all
  • The default theme is flat and monochrome (#768) - the look of the Maia theme is now the default. Light: black ink on white, --primary black. Dark: pure black page, card, popover and muted, --secondary, --accent and --border #262626, --muted-foreground #a3a3a3. The --shadow-raised, --shadow-overlay and --shadow-floating tokens are empty (0 0 #0000, which stays valid inside a box-shadow list), and every Tailwind shadow-* step reads them (sm and DEFAULT raised, md and lg overlay, xl and 2xl floating), so no part draws a shadow. --radius is 0.375rem (rounded-lg, rounded-md and rounded-sm are 6, 4 and 2 px, they were 8, 6 and 4 px), rounded-xl, rounded-2xl and rounded-3xl follow --radius-surface (6 px), and --radius-control is 4 px. --font-sans and --font-mono are one JetBrains Mono stack with system mono fallbacks (no font file is shipped). Headings weigh 500 and the type scale is denser (body 14 px, h1 20 px, display 28 px; display stays 600). data-theme="maia" is the same as the default. Every story and snapshot re-renders; see MIGRATION.md.
  • Dark surfaces are pure black - the flat theme (#768) first shipped grey dark surfaces (--popover #0a0a0a, --muted and --secondary #141414, --accent #181818, --border #1e1e1e, --muted-foreground #8a8a8a). That broke the owner's rule of 16 Nov (#592), and it is restored. In dark, --background, --card, --popover, --muted, --sidebar and --pill are #000000, --secondary, --accent and --border are #262626, and --muted-foreground is #a3a3a3 (the #8a8a8a gave 4.38:1 on #262626, under AA). Foregrounds, light values, radius, shadows and type stay as #768 set them. A skeleton, track or handle drawn with bg-muted alone disappears on the black page: use bg-secondary. The empty blocks of ProgressBar blocks do.
  • Glass is opt-in (#768) - :root and .dark hold the solid values of the glass tokens, so a material="glass" part draws solid unless it sits in a glass scope: data-glass="on" on <html> or on one surface. GlassCard, GlassPanel, GlassProgress and LiquidGlass set data-glass="on" on their own root, so they stay glass. data-glass="off" and material="solid" still win, and the reduced-transparency, more-contrast, forced-colors and no-backdrop-filter fallbacks still turn a glass scope solid. Contrast tests measure glass inside the scope.
  • Dark card and page are both black - a bg-card or bg-popover surface needs a border to show its edge. Every shipped one has it, and a test fails on one that does not.
  • Colour tokens meet WCAG AA (#538) - the default light theme uses a darker --muted-foreground (0.525), --destructive and --input (0.6167); in the dark theme --destructive is lighter with a dark foreground and --input is lighter (0.5208), so input borders are easier to see in both. Presets adjust --primary, --destructive, --input and --ring the same way. Visual snapshots change.
  • Theme presets meet the input 3:1 rule on muted - the 12 runtime presets (aura, chatgpt, claude, cyberlime, cyberpunk, dracula, dusk, gemini, matrix, nord, synthwave and tron) get a new --input lightness in light and dark, by 0.048 at most, with hue and chroma unchanged. The control border now reaches 3:1 on background, card, popover and muted. (#620)
  • Components on ui-sdk - Accordion, AlertDialog, Avatar, Checkbox, Collapsible, Command, ContextMenu, Dialog, Drawer, DropdownMenu, Field, HoverCard, Label, ListBox, Menubar, Meter, NavigationMenu, Popover, ProgressBar, RadioGroup, Rating, ScrollArea, SegmentedControl, Select, Sheet, Slider, Switch, Tabs, Toggle, ToggleGroup, Tooltip, and everything built from them. asChild on Button, Link, Banner, Form and the other non-primitive parts uses the kit's own Slot. CompletionDialog stays in place inside its container, built on the kit's own focus, Escape and scroll-lock hooks, since a ui-sdk dialog always covers the viewport. asChild, onEscapeKeyDown, onPointerDownOutside, onInteractOutside, forceMount and delayDuration keep working. onOpenAutoFocus and onCloseAutoFocus work as in Radix on Dialog, AlertDialog, Sheet and Drawer (onCloseAutoFocus runs once the content has unmounted, and preventDefault() leaves focus where it is); popovers and menus call them as the popup opens and as it starts to close. Popovers, tooltips, hover cards, menus and selects render in place in the top layer, and their *Portal exports stay and render their children. The dialog family renders into <body>.
  • Parts carry ui-sdk attributes too - data-slot, data-open / data-closed, data-checked, data-selected, data-side, data-starting-style and data-ending-style appear next to the Radix ones.
  • Fewer dependencies, smaller bundles - @vllnt/ui installs 12 runtime packages instead of 45. Calendar, date pickers, resizable panels, toasts, one-time-code input, carousel, the disclosure components and the hand-built modals now run on ui-sdk; class variants, class joining, QR encoding and the schema resolver are small in-house helpers, and the Tailwind preset carries its own animation utilities. Heavy parts load on demand: the MDX compiler, react-markdown, @xyflow/react, the toast region and the date pickers' calendar. Every displayName is set through a pure named() call, so bundlers drop the parts an app does not import. Minified sizes (scripts/check-size.mjs): every export 2,318 KB → 1,848 KB (gzip 708 → 575 KB), Dialog 112 → 82 KB, DataTable 230 → 125 KB, MDXContent 627 → 276 KB, FlowDiagram 224 → 23 KB, TutorialMDX 252 → 136 KB, Button 23 → 19 KB, and importing DialogHeader alone 109 → 17 KB. Budgets are tightened to match.
  • Dialog, Sheet, Drawer, AlertDialog share one set of part builders, and KeyboardShortcutsHelp, TableOfContentsPanel, FlowFullscreen and ShareDialog render through them instead of their own focus and scroll-lock code.
  • Focus on open moves one frame later - a popup opened by a press moves focus into itself on the next animation frame, so tests that check focus right after a click wait for it (waitFor).
  • Runtime dependencies - lucide-react is ^0.468.0 || ^1.73.0 (0.3.0 had ^0.468.0); every icon the package imports exists in both. Icons now share a small base, about 3 KB minified once per bundle. An app on 0.468.x or 1.73 and up shares its copy with @vllnt/ui; an app on another version gets a second copy. Pin one version app-wide if your app also imports it.
  • Separator renders on the server - it is a plain element with no "use client" and no Radix dependency. A decorative separator (the default) is aria-hidden; decorative={false} gives role="separator" with aria-orientation.
  • AspectRatio - renders two plain divs with the same structure and no longer needs "use client", so it works in a Server Component.
  • Toolbar - one tab stop, arrow keys move between items (APG toolbar).
  • SearchDialog trigger - the shortcut hint is the Kbd atom, so it shows the command key on Mac and Ctrl elsewhere, as the shortcut handler accepts either.
  • Hover, selected, skeleton and track fills use secondary - 32 component files (Table, Tabs pill, Toggle, Slideshow, FilterBar and others) and 23 more (Skeleton, the ProgressBar, Meter, Tour, Checklist, UsageBreakdown and other progress, meter and usage tracks, the Drawer handle, the empty cells of ActivityHeatmap and the neutral GanttChart bar) draw these fills with bg-secondary, not bg-muted. In the default theme the two are the same colour, so nothing moves. Theme presets keep a quiet neutral --secondary (their --accent is a brand color), so text on these fills stays readable. SegmentedControl, ViewSwitcher, WorkspaceSwitcher and the PricingTable period toggle draw their track with bg-secondary too, because the selected segment is bg-background on that track. Chips, code spans and panels keep bg-muted.
  • Alert destructive - the title and body use the foreground colour. The status colour stays on the border and the glyph. (#607)
  • Badge status chips use a status dot. (#610)
  • Site header name - NavbarSaas is the one code name for the design library's organism / Site header. A floating style will join it as an added prop, and FloatingNavbar stays a separate component until then. Display is the design library's atom / Heading with Level=display.
  • HeadingProps exported from @vllnt/ui now refers to the Heading primitive (adds optional level, size and ref); the plain heading-element alias is available as TypographyHeadingProps. (#465)
  • Caption weight - the core font.weight.caption token is 400 (was 500), as in the Penpot library. The new Label step weighs 500 (--font-weight-label). (#669)
  • Font tokens on :root - styles.css now defines --font-sans, --font-display and --font-mono on :root. If your app sets variables with these names, declare them later in the cascade or on body so yours win.
  • Smaller code highlighter - CodeBlock and StaticCode use the Prism light build with a fixed language set, not the full build that bundles every language. StaticCode drops from about 682 KB to 121 KB minified, the lazy CodeBlock chunk from about 681 KB to 115 KB, and an import of every export from about 2.67 MB to 2.11 MB. The set is tsx, typescript (ts), jsx, javascript (js), json, bash (sh, shell, zsh), css, markdown (md), diff, yaml (yml), python (py), markup (html, xml) and sql. Any other language, and text, renders as plain text without an error.
  • Lighter imports (#541) - CodeBlock renders its code as plain text first and highlights it once the Prism build loads on the client; TutorialMDX loads the MDX compiler only for content with JSX, and FlowDiagram loads html-to-image only when copied. Apps that use neither toast nor Toaster no longer bundle a toast library.
  • Smaller package - the tarball has 361 files instead of 659: the per-component re-export stubs and dist/test-setup.js are gone. Only the exports entry points are public, so imports do not change.
  • Peer dependency ranges now match what the package needs. next is >=15.0.0 (Next 14 peers React 18, which the React 19 build cannot use), tailwindcss is ^3.4.0 (components use size-*, text-balance and has-[], and the preset and CSS are Tailwind v3 only), and next-themes is now a required peer because the root entry imports it. next stays optional in metadata, but the root entry still imports next/link, next/image and next/navigation, so non-Next apps must alias them (see the README workaround). react and react-dom stay >=19.0.0: SearchBar and Slideshow no longer call React 19.2's useEffectEvent, so 19.0 and 19.1 work.
  • Accessibility behaviour changes (#543):
    • Drawer moves focus into its content on open (autoFocus now defaults to true; pass autoFocus={false} to leave focus on the trigger, as in 0.3.0).
    • CompletionDialog traps focus, closes on Escape and returns focus to the opener. modal (default true) makes it modal; modal={false} leaves the page behind it interactive. Shortcuts work only while focus is inside the dialog, an empty string turns one off, and Enter no longer confirms from any focused element.
    • Marquee and TickerTape show a 24px pause/play button by default (pauseControl={false} hides it). It overlays the top-right corner of the Marquee and the right edge of the TickerTape, and hides under reduced motion, when nothing moves.
    • Pagination renders a nav landmark of single links styled as buttons, with aria-current="page" on the current page (it used to nest a button in each link).
    • CodeBlock syntax colours come from the --vllnt-code-* CSS variables (OKLCH channels) instead of JS theme detection. The defaults reach 4.5:1 on the background in light and dark mode for the default theme and every preset; override the variables to restyle.
    • CommandSeparator renders an aria-hidden divider.
    • Under prefers-reduced-motion, components stop their own decorative animation and AnimatedText shows its final text at once; loaders marked data-motion="essential" keep spinning, slower. The stylesheet changes motion only on library components, never on your own elements.
    • TabsContent is a tab stop only when the panel holds no focusable element; the ScrollArea viewport is a tab stop only while its content scrolls.
    • TreeView supports Home / End, ArrowRight to the first child and ArrowLeft to the parent, and keeps the active row in view.
  • Hidden form inputs - each SegmentedControl item holds a hidden native radio (aria-hidden="true", 1 px, no label, tabindex="-1") so the control takes part in forms. The 0.3.0 ToggleGroup it was built on had none. Checkbox, Switch and RadioGroup hold one too, now outside a form as well (Radix rendered theirs only inside one). A test that checks touch targets or counts focusable elements should skip [aria-hidden="true"].

Added

feat
  • Glass tokens - blur.glass.default (20 px), material.glass.tint-top, tint-bottom, tint-dense-top, tint-dense-bottom, hairline-edge and sheen-opacity (one value per mode), shadow.glass, shadow.glass-floating, color.glass-muted-foreground and color.glass-input, with CSS variables, a material.solid value for each, and Penpot sets for solid, reduced transparency and increased contrast. Inside a glass scope the dark default tint is #1C1C1CB2 to #1414149C (4.51:1 for the foreground). The classes vllnt-glass, vllnt-glass-floating, vllnt-glass-dense (denser tint for body text, muted text and control borders) and vllnt-glass-scrim draw your own surfaces; apps that use them load @vllnt/ui/styles.css.
  • material prop - every glass component takes material="glass" | "solid" (default "glass", drawn solid outside a glass scope) and writes data-material. Material and MaterialProps are exported types.
  • Automatic solid fallbacks - glass turns solid under prefers-reduced-transparency, prefers-contrast: more, forced-colors: active, without backdrop-filter, and under html[data-glass="off"]. No script runs, and the library does not read the battery.
  • Glass checks - WCAG 2.2 AA contrast tests for text and control borders on both tints in every theme, and a backdrop-filter budget test: no backdrop-blur-*, no blur radius above blur.glass.lg (24 px).
  • Product themes stylesheet - @vllnt/ui/themes/products.css ships the Maia and PaaS themes as html[data-theme="maia"] and html[data-theme="paas"], each with a .dark block. It is generated from packages/design/tokens.json. Maia is Ink: no accent, --primary black in light and white in dark. It restates the default theme, so data-theme="maia" renders as the default. PaaS keeps the core neutrals with its own JetBrains Mono stack and no grain or contact shadow (--opacity-grain and --opacity-contact are 0). Load JetBrains Mono in your app; the package does not ship the font.
  • Workbench roles and utilities - nine new colour roles, in light and dark: --sidebar, --pill, --pill-border, --composer-border, --status-needs-you, --status-unread, --status-failed, --status-done and --status-ring. The Tailwind preset exposes them, with alpha, as sidebar, pill, pill-border, composer and status-needs-you, -unread, -failed, -done, -ring. styles.css adds .code-pill and the CSS-only text spinners .ascii, .ascii-run, .ascii-wait and .ascii-load (they keep their first frame under prefers-reduced-motion). The roles also reach @vllnt/ui-core and the Penpot token sets.
  • Status and diff colors - CSS variables --success, --warning, --info, their -foreground pairs, --diff-added and --diff-removed in themes/default.css and styles.css, and matching Tailwind colors (success, warning, info, diff.added, diff.removed) in the preset.
  • Label type step - --font-size-label, --line-height-label and --font-weight-label.
  • Design tokens - color.badge-label.*, brand.status.*, radius.control (4 px, --radius-control), radius.surface (6 px, --radius-surface), size.target.min (44 px), size.control-xs (32 px, and 44 px under a coarse pointer), opacity.grain and opacity.contact. Only the radius, size and opacity tokens have CSS variables. (#602)
  • Lock 2 tokens - shadow.raised, shadow.overlay and shadow.floating (--shadow-raised, --shadow-overlay, --shadow-floating, one list per mode), spacing.page-gutter, spacing.page-gutter-tablet and spacing.page-gutter-desktop (20, 48 and 96 px, as --spacing-page-gutter*), size.page-max (1440 px) and size.measure-narrow (480 px) as --size-page-max and --size-measure-narrow, and a spacing.24 step (96 px, no CSS variable). (#614)
  • size.measure-prose token - 720 px (--size-measure-prose), for lead copy and descriptions.
  • Touch-target utilities - the Tailwind preset adds min-h-target, min-w-target (--size-target-min, 44 px) and h-control-xs (--size-control-xs, 32 px, 44 px under @media (pointer: coarse)). They switch by pointer, not by screen width.
  • Per-component subpath exports - @vllnt/ui/<component> (for example @vllnt/ui/button, @vllnt/ui/toggle-group) re-exports exactly the names the root exports from that component directory, and @vllnt/ui/utils exports cn. A Next.js server component that imports a subpath pulls only that directory's "use client" modules into the route's client JS, not every client component the root reaches, so a server-safe component such as Button or Separator adds none. The subpaths are generated from the barrel at build time; the root export is unchanged.
  • Docs in the package - the tarball now ships llms.txt, one Markdown page per component in docs/components/ (import, props, variants) and the vllnt-ui agent skill in skills/vllnt-ui/SKILL.md, so agents read the docs of the installed version from node_modules/@vllnt/ui/. They are written at pack time; the build and the JavaScript bundles do not change.
  • Migration guide - MIGRATION.md lists the steps from 0.3.0 (peers, stylesheet, the flat default and opt-in glass, colours, renames, accessibility behaviour, removed packages). It ships in the package.
  • Generic site shell - SiteShell and SiteShellStatic (theme provider, skip link, header, main#main, footer and an optional theme control, in one order), SiteHeader and SiteHeaderStatic (the title is the site switcher when you pass a network, and the link home when you do not), SiteFooter, SiteFrame, SiteThemeProvider, SiteMain, SkipLink and ThemeBar, with their prop types and SiteNetwork, NetworkSwitcherGroup, NetworkSwitcherItem, SiteFooterColumn, SiteFooterLink, SiteNavItem and SiteLocaleLink. The shell holds no brand, link or copy: brand has no default, and you pass the links, the network and the footer columns. A guard test fails on any brand string in the exported sources. SiteHeader takes an actions slot for the controls of one site, and its currentHref ignores a query or fragment on a link. The sources use the flat default theme: no glass, no blur and no shadow.
  • VllntMark - the V mark of the vllnt brand, an inline SVG atom in the core family. size is its height in px (20, 24 or 32, default 24), and title gives it an accessible name: without title it is decorative (aria-hidden), and the link around it carries the name. It draws in currentColor only, so it follows the theme in light and dark. The site shell parts do not import it: an app passes it in, for example through brand. Web only.
  • Typography foundation primitives - Text, Heading, Display and Prose in the core family. Font family (--font-sans + a new --font-display), heading/display weight (--font-weight-heading, --font-weight-display), and the type scale (--font-size-*) are theme-overridable design tokens, so a brand restyles headings and body via token overrides alone, with no library edits. Heading also takes a size prop to decouple visual scale from the semantic level. (#465)
  • Text family, dt, dd, li and measure - family="mono" sets body copy in --font-mono (JetBrains Mono by default) with the same scale: size="base" 16/1.6, size="lead" 18/1.7; the default stays family="sans" (#666). as takes dt, dd and li; measure="prose" | "narrow" caps the width with size.measure-prose (720 px) or size.measure-narrow (480 px).
  • Badge v1.3 props - tone, size, border, dot and variant="soft". A status tone colours a dot, not the words. Existing props and defaults render as before. (#610)
  • ProgressBar blocks - draws ten blocks and fills one per whole 10% of value / max; aria-valuenow stays exact. (#611)
  • Dialog overlay - DialogContent takes overlay="scrim" (default, the dimmed veil as before) or overlay="none" (no veil; the dialog stays modal). (#601)
  • Button variant="unstyled" - keeps the button's behaviour (asChild, disabled, ref, every native attribute) and adds no classes of its own: the element's class list is only the caller's className, and size has no effect. buttonVariants({ variant: "unstyled" }) returns only the caller's classes, merged with cn. The caller styles focus and disabled states. Every other variant and size renders the same class string as before.
  • Button size icon-lg - a 44 px square icon button (size-11).
  • Separator variant - variant="dashed" draws a dashed 1 px border over a transparent fill, in both orientations. The default stays solid.
  • Link size, foreground and skip - size="sm" | "default" | "lg" (lg is the bar link: 14 px label, 4 px side padding, height from --size-control-xs); variant="foreground" takes the ink colour with no primary; variant="skip" is a skip-to-content link, hidden until focused, then shown at the top left, 44 px high, above other content.
  • SegmentedControl fit and variant - fit hugs the content (root w-auto, items flex-none); variant="hairline" swaps the filled track for a transparent one with a 1 px input-colour border (glass-input inside glass). The defaults stay filled and full width.
  • Kbd variant="glass" - a chip for a glass surface: 9 % ink wash, 75 % ink text, no border. Place it on the dense glass tint.
  • StatusIndicator icon - a mark shown in place of the dot. The tone colours the icon alone; the pill and label take the neutral variant, so the label stays foreground.
  • warning tone - AlertPulse (severity), BottomActivityStrip, HeatOverlay, MetricCluster, RuntimeOverviewPanel, StickyMetric, ThresholdRing and TimelineScrubber (tone) accept warning, the name the design library uses. (#616)
  • Sidebar pathname prop - names the page the sidebar marks as current. It defaults to the router's pathname, so existing usage is unchanged. Pass it when the URL the visitor sees differs from the route that renders, such as a prerendered locale or variant route, instead of overriding the router's pathname context.
  • Sidebar prefetch prop - set it to false to stop the sidebar's links from prefetching their pages. Left unset, the links keep the router's default prefetching, so existing usage is unchanged. A sidebar with dozens of links in view otherwise prefetches every one of them on page load.
  • New props, all optional - Accordion as (heading level); CommandDialog title; Slider thumbLabels; Calendar fixedWeeks, locale, weekStartsOn, initialFocus (and the DateRange type); Sheet material, overlay, labels, closeButton; Drawer material and overlay; Popover, HoverCard and Tooltip onEscapeKeyDown, onPointerDownOutside, onInteractOutside, forceMount; open / onOpenChange next to isOpen / onClose on KeyboardShortcutsHelp, TableOfContentsPanel, FlowFullscreen and ShareDialog; open / onOpenChange on the disclosure components (FAQ, ExpandableCards, TLDRSection, Reasoning, ThinkingBlock, AgentActivity, Curriculum, HistoricalFigureCard); defaultValue, defaultOpen, open, onOpenChange and disabled on Combobox, and the open-state props on MultiSelect, ScopeSelector and ModelSelector; a controlled value on AnimatedTabs; ref, orientation and trigger disabled on Tabs.
  • Optional accessibility props (English defaults, nothing required): popoverLabel on Combobox, MultiSelect, DatePicker, DateRangePicker, TimePicker and ColorPicker; aria-label / aria-labelledby / aria-describedby / id on Combobox; aria-label / aria-labelledby on InlineInput and ScrollArea; NumberInput incrementLabel / decrementLabel; Marquee and TickerTape pauseControl + labels; TabsContent tabIndex; GanttChartLabels region; CompletionDialog modal; Pagination labels; AIArtifactLabels content; ModelSelector listLabel; DataTableFilter ariaLabel; VideoEmbed playLabel. (#543)
  • data-slot on the parts of Card, Alert, Panel, DataList and Table, like the ui-sdk parts.
  • ui-sdk helpers, public - the helpers the components are written with, for apps and agents that build their own parts the same way: Slot, asChildProps, withDataAttributes, openState, checkedState, openAutoFocus, closeAutoFocus, useElementRef, the dismissal helpers (DismissContext, useDismissRoot, useRegisterDismissHandlers, runDismissHandlers, callPreventDefault), createMenuParts, the dialog part builders (dialogRoot, dialogTrigger, dialogClose, dialogPortal, dialogOverlay, dialogBox, dialogTitle, dialogDescription, useDialogPopup, openAliases), useControllableState, useLazyElementRef, assignRef, reselectProps, HIT_AREA_24 and HIT_AREA_24_RADIO_CHILD, with their types (AsChildProps, NarrowPartProps, DataAttributes, DismissDetails, DismissHandlers, FocusOutsideEvent, PointerDownOutsideEvent, MenuContentProps, MenuLook).
  • commandScore - cmdk's scoring (MIT, ported from cmdk 1.1.1), so search results keep cmdk's ranking. arrangeCommandList and createCommandRanker put a cmdk-style list in that order: each group ranks its own items, groups keep their place, the items outside a group come after the groups, and disabled items stay in front of the ranked items. Command calls arrangeCommandList with the written order passed in, which it uses to put back an item a search left out; createCommandRanker takes the order it first saw the items in instead. arrangeCommandList, createCommandRanker, createChangeSignal, createCommandItems, CommandItems, CommandItemEntry, createMountedContent, MountedContent and useTouchPressRecord are building blocks for the registry shims of command, select and navigation-menu, with no promise of stability.
  • In-house replacements, exported - encodeQrMatrix (QR codes, matches the qrcode package module for module), createSchemaResolver (react-hook-form resolver for any Standard Schema, such as Zod 4), createCarouselApi, LazyCalendar, calendarLayout, FlowDiagramContent.
  • cx, UnstyledButton and PlainSeparator: no tailwind-merge - cx (root and @vllnt/ui/utils) joins class values like clsx and keeps every class. UnstyledButton (@vllnt/ui/button) is a native <button> with no classes of its own and type="button" by default. PlainSeparator (@vllnt/ui/separator) renders the same markup as Separator, but a conflicting className adds to the default classes instead of replacing them. None of the three imports tailwind-merge, so a bundle that uses only them carries none of its code. cn, Button and Separator stay the same.
  • UnstyledToggleGroup and UnstyledToggleGroupItem - ToggleGroup without styles, from @vllnt/ui/toggle-group: the same behaviour (one tab stop, arrow keys, Home and End, radio items when type="single", pressed buttons otherwise) and no classes of their own; className reaches the element as given. Neither imports tailwind-merge nor the variant helpers, and ToggleGroup is now the styled layer over them. Import them from a "use client" module; a server-component import of the subpath also brings ToggleGroup. ToggleGroup stays the same.
  • keyByOccurrence - keys items that have no id and may repeat: the key is the identity text plus the number of identical items before it, so an equal item keeps its key when others change around it.
  • New hooks - useFocusContainment (trap Tab inside a custom modal and restore focus on close) and useEventCallback (stable callback that always calls the latest closure). Registry items import them from @vllnt/ui.
  • Motion and pointer hooks - usePrefersReducedMotion (whether the user asks for reduced motion: false on the server, the real value on the first client render, and it follows the setting as it changes), useMagnetic (pointer handlers that pull an element toward the pointer, as Magnetic and MagneticButton do) and usePointerTransform (a pointer-driven transform written once per animation frame, with no re-render, as Magnetic, MagneticButton and TiltCard do). The components that follow the reduced motion setting now read it on their first client render instead of after an effect. Registry items import the hooks from @vllnt/ui.
  • Focus, viewport and small helpers - containTab (the Tab wrap that useFocusContainment uses, for a drawer or panel that handles its own focus on open and close; an optional third argument names the element, such as a scroll container, that Shift+Tab leaves for the last focusable element), useViewportBelow (whether window.innerWidth is below a width, false on the server and the first client render), clamp, projectEquirectangular (a [longitude, latitude] on a flat map of a given width and height), formatEraYear (44 BCE, 1969 CE) and yearToPercent (a year on a timeline, 0 to 100). Sidebar, NavbarSaas, SocialFab, the timelines, the maps and the gauges build on them. They are building blocks for the kit's own components and registry items, which import them from @vllnt/ui, with no promise of stability.
  • New exports - moveRovingFocus (+ RovingFocusOptions, RovingOrientation), useReturnFocus (+ ReturnFocusHandlers), CHECKLIST_PROGRESS_EVENT, parseChecklistStorageValue, MarqueeLabels, TickerTapeLabels, PaginationLabels. Registry items now import these from @vllnt/ui, so installing them needs a @vllnt/ui release that contains them (the registry pins ^0.3.0, which does not). registry:integrity now fails when a registry item imports a name that @vllnt/ui does not export. (#543)
  • copyText helper - copyText(value): Promise<boolean> is exported from @vllnt/ui. It writes through the Clipboard API, falls back to a temporary textarea and document.execCommand("copy") when that API is missing or rejects, and resolves to false when neither path works. (#576)
  • Props types exported from the barrel - BreadcrumbProps, CommandDialogProps, SheetContentProps, CarouselProps, CodeBlockProps, MDXContentProps, SidebarProps, TableOfContentsProps, CategoryFilterProps, SearchBarProps, ShareSectionProps, SearchDialogProps, LangProviderProps, ThemeToggleProps, ProfileSectionProps, TLDRSectionProps, AreaChartProps, BarChartProps, LineChartProps and ThemePresetProviderProps.
  • @vllnt/ui/package.json export - tools can read the package manifest (for example its version) without ERR_PACKAGE_PATH_NOT_EXPORTED. (#665)
  • Accessibility gate - every Storybook story is checked with axe-core (WCAG 2.0, 2.1 and 2.2, levels A and AA) in the light and dark theme, on glass and on solid surfaces, under prefers-reduced-motion: reduce (no endless decorative animation unless marked data-motion="essential"), and for a visible focus indicator on each of the first tab stops. Any violation fails the run, and CI runs it on every pull request. A story can turn a rule off only through parameters.a11y.config.rules with a written reason. (#543)
  • Lint rule A12 (vllnt/a12-no-status-text-colour) - flags a status colour used as text colour in component code. 56 existing files are allowlisted and burn down in #604. (#607)
  • Popper helpers - usePopper, splitPopperProps, the PopperProps, PopperAnchorTarget and PopperMeasurable types, PointerContext and guardAnimations are exported from @vllnt/ui. The overlay parts that place their popup with the restored popper props use them, so registry copies of those parts resolve them from the package.
  • Source-only React Native renderer and shared design contracts (@vllnt/ui-core, @vllnt/ui-native). They are experimental and not published with this release; installing @vllnt/ui is unchanged.
  • Localized Native catalog discovery, dependency/capability comparison, and extensible React/React Native source tabs in a single component preview surface.

Removed

all
  • Third-party packages replaced - react-day-picker, react-resizable-panels, sonner, input-otp, embla-carousel-react, @hookform/resolvers, class-variance-authority and clsx are no longer dependencies; qrcode and zod are dev dependencies only (tests). If your app imports any of them directly, add it to your own package.json.
  • Radix, cmdk and vaul - the 23 @radix-ui/react-* packages 0.3.0 depended on (alert-dialog, aspect-ratio, avatar, checkbox, collapsible, context-menu, dialog, dropdown-menu, hover-card, label, menubar, navigation-menu, popover, radio-group, scroll-area, select, separator, slider, slot, switch, toggle, toggle-group and tooltip), cmdk and vaul are no longer dependencies. AspectRatio does the same with an inline padding-bottom box.

Deprecated

all
  • JarvisDock and the jarvis-dock registry item - renamed to CommandDock / command-dock; props and behavior are the same. The aliases (JarvisDock, JarvisDockAction, JarvisDockLabels, JarvisDockProps, JarvisDockTone, and /r/jarvis-dock.json) stay for one release and are removed in the release after next. The data-jarvis-* attributes are now data-command-* (no alias) and the default region label is "Command dock". To migrate, import CommandDock instead of JarvisDock, rename data-jarvis-* selectors to data-command-*, and install with pnpm dlx shadcn@latest add https://ui.vllnt.com/r/command-dock.json. The page is /components/command-dock; /components/jarvis-dock redirects there (308). (#682)
  • warn tone - tone="warn" and severity="warn" on the eight components that accept warning are deprecated; pass warning. warn still works and renders the same colour. Removing it would break consumers, so that waits for a breaking release. HeatOverlay and AlertPulse now default to warning. A data-* tone attribute echoes the value you pass.

Fixed

fix
  • Overlay exit animations play again - dialogs, alert dialogs, sheets, popovers, dropdown, context and menubar menus, navigation menus, hover cards, tooltips, selects, the shortcuts help and the contents panel fade, zoom or slide out when they close, as in 0.3.0, and not leave the page a few milliseconds after Escape. ui-sdk starts an exit by writing data-closed a frame before React renders data-state="closed", so the data-[state=closed] exit classes found no animation to wait for. They are now data-[closed]: classes, plain Tailwind that needs no preset, so they also work in a registry install and in any app with tailwindcss-animate. To change one of these exits, override it with a data-[closed]: class: a data-[state=closed]: class matches only once React has rendered the state. The exit duration of a sheet and of the contents panel is the exception: override it with the same variant the component uses, [&[data-closed]:not([data-open])]:duration-*.

  • Breadcrumb crumbs before the current page keep their width - under a long current title, an earlier crumb no longer shrinks to its minimum width and spills its text out of its box. Only the current crumb shrinks and truncates, and the trail still stays inside its container.

  • A closed tooltip is out of the page - TooltipContent is not in the page until the tooltip opens, and leaves it when its exit animation ends (at once when nothing animates), as with Radix in 0.3.0. forceMount keeps it there, hidden. ui-sdk kept it in the page, which put a div inside the <p> around a CopyButton (React error #418 on hydration), showed "Copied!" twice, and made text and role queries match a tooltip nobody sees.

  • Slider ARIA values - the thumb's range input carries aria-valuenow, aria-valuemin and aria-valuemax again, for one value and for a range, in a controlled or an uncontrolled slider, and they follow the keyboard. Each thumb of a range reports the slider's own min and max, as in 0.3.0. aria-valuetext is unchanged.

  • Enter in a form - Enter on a Checkbox, a RadioGroupItem or a Switch no longer submits the form. Checkbox and RadioGroupItem ignore it, and Switch flips, as in 0.3.0. An onKeyDown you pass hears the key first and can stop it.

  • AgentActivity skipped steps - the text of a skipped step uses text-muted-foreground and not its 80% tint, which measured 3.55:1 on the light background and 4.14:1 on the dark one. It is 4.5:1 or more on both.

  • A modal hides the page from assistive technology again - while a Dialog, AlertDialog, Sheet or Drawer is open, the page around it gets aria-hidden="true" next to inert, as in 0.3.0 with Radix. Live regions, popups that open from inside the panel and anything the page already hid stay as they are. A modal that opens above another hides the one below, and its veil, until the upper one closes, as Radix hid a dialog under a sheet. The attribute goes when the modal closes or unmounts. Role queries (Playwright getByRole, Testing Library) no longer match the page behind a modal, which is the behaviour tests written for 0.3.0 expect.

  • onCloseAutoFocus and onOpenAutoFocus on the dialog family - onCloseAutoFocus runs once the content has unmounted, with the content as the event target, as in Radix. preventDefault() leaves focus where it is (before, focus still went to the trigger); without it focus goes to the trigger after the exit. A finalFocus you pass moves focus as the dialog starts to close, the handler still runs, and focus does not move a second time. With no handler nothing changes. On AlertDialog the onOpenAutoFocus event target is the content, not the cancel button.

  • A closing modal no longer swallows the next click - the page is interactive as soon as a Dialog, AlertDialog, Sheet, Drawer or CommandDialog starts closing, not when its exit ends. A click made during the exit used to do nothing.

  • Peer ranges checked against consumer builds - a packed 0.4.0 was built in consumer apps against the wider 0.3.0 ranges, and none of them held, so the ranges stay as they are. next stays >=15.0.0 (on Next 14.2 the app router fails to prerender Dialog and Carousel, and the pages router cannot build the root entry). tailwindcss stays ^3.4.0 (3.0 to 3.3 build but lack size-*, has-[] and text-balance). next-themes stays required (five components import it, and a build without it fails). The migration guide lists the evidence, and a test keeps package.json equal to its table.

  • Carousel restored - the Embla API of 0.3.0 works again on ui-sdk's carousel. opts takes active, breakpoints, inViewThreshold, watchFocus, watchResize and watchSlides as well as the options it took before, and a change of opts runs reInit. CarouselApi has scrollProgress, previousScrollSnap, rootNode, containerNode, slideNodes, slidesInView, slidesNotInView, emit, reInit and destroy, and on and off take all 13 events. plugins takes Embla's plugin shape, with init before setApi. setApi also runs for a carousel with no slides yet, and a vertical carousel pages with ArrowLeft and ArrowRight again. internalEngine (so the official Embla plugins) and the jump flag cannot work on ui-sdk, and containScroll, direction, dragThreshold and duration change nothing. See Carousel in MIGRATION.md.

  • Carousel restore follow-ups - init runs on the task after setApi, as in Embla, so a listener added in setApi or in an effect that waits for the api hears it, a late one once on a microtask (a plugin's init still runs before setApi). reInit runs the event once, after the slides are laid out again, not up to three times. A change of opts after a reInit applies, where the reInit options used to win for good, and breakpoints merge query by query, in reInit and in a plugin's mergeOptions. A vertical carousel leaves ArrowLeft and ArrowRight alone with Alt, Ctrl, Meta or Shift, or when another handler took the key, and slidesInView() empties when the last slide goes.

  • Calendar matchers, modifiers and selection - Calendar takes disabled and hidden in every react-day-picker form (true, a date, a list, { from, to }, { before }, { after }, { dayOfWeek }, a function, or an array of these), and an unknown shape no longer throws. modifiers, modifiersClassNames and modifiersStyles, startMonth/endMonth, fromMonth/toMonth, fromYear/toYear and onSelect(selected, triggerDate, modifiers, event) work as in 0.3.0, and the modifiers are the pressed day's before the press. A locale date-fns object is accepted, and DateRange has react-day-picker's shape again (to may be undefined). A press follows react-day-picker 9's selection rules again: required, min and max (a multiple selection at max starts over with the pressed day, and an emptied one is []; a range that breaks min or max, or holds a disabled day when excludeDisabled is set, starts over from the pressed day), the first press of a range reports both ends (only the start when min asks for nights), a press on a complete range moves its start when the day is before the start and its end when the day is after it (resetOnSelect starts a new range instead), an open range marks no start or end, onSelect never hears undefined when required is set, and modifiers.today follows timeZone. A Calendar without onSelect keeps its own selection. Escape no longer clears a range, as it did not in 0.3.0. The helpers the installed calendar file imports (calendarRules, calendarDisplay, CalendarMonths, useCalendarSelection, localeTag) are exported from @vllnt/ui.

  • Calendar captions, week numbers and navigation - Calendar takes captionLayout ("dropdown", "dropdown-months", "dropdown-years") with reverseYears, showWeekNumber with ISOWeek and firstWeekContainsDate, hideWeekdays, footer, hideNavigation, disableNavigation, navLayout, pagedNavigation, reverseMonths, onNextClick and onPrevClick again, as in 0.3.0. A week number below 10 shows with a leading zero, as in react-day-picker. The arrow keys with Shift move by a month or a year, and the keys step over disabled and hidden days. onWeekNumberClick is new: it reports the week number and its days when a week number is pressed.

  • Calendar classNames, styles, labels, formatters and components - Calendar takes classNames (one key per part and state), styles, labels, formatters, components (Chevron, Day, DayButton, Footer and WeekNumber) and the onDay* handlers again, as in 0.3.0, and so do DatePicker's calendarProps. onDayClick skips a disabled day, and alone makes the days interactive. animate, broadcastCalendar, dateLib, noonSafe, numerals, useAdditionalDayOfYearTokens and useAdditionalWeekYearTokens are accepted and do nothing. See MIGRATION.md.

  • Accessibility - AlertDialog focuses Cancel first even when Action comes first; CompletionDialog's one-key shortcuts ignore typing in fields and modified keys; Combobox announces its label and chosen value and marks the chosen option; Accordion triggers sit in headings; animations and transitions respect prefers-reduced-motion; Switch, Slider, Toggle, ToggleGroup and SegmentedControl stay visible in forced-colors mode; SearchDialog scope tabs use arrow keys and a named tab panel; menu glyphs are hidden from screen readers; Sheet no longer opens with focus on Close; range Slider thumbs are named Minimum and Maximum; Checkbox, Radio, Switch, Slider thumbs and Rating stars get 24 px hit areas without moving; HoverCard content describes its trigger while open; FAQ answers are no longer clipped at 24 rem and closed answers leave the tab order.

  • Accordion accessibility - each trigger now has aria-controls pointing at its panel, and each panel is a region labelled by its trigger. Closed panels are inert, so screen readers no longer read closed answers and Tab skips links inside them. The open and close animation is unchanged.

  • Toast and Toaster restored - the sonner features 0.3.0 had work again, without sonner: toast.getHistory() and getToasts(), a position per toast, invert, unstyled, per-toast richColors, actionButtonStyle and cancelButtonStyle, React nodes as action and cancel, and Toaster gap, hotkey, mobileOffset, an offset per edge, dir, swipeDirections, loadingIcon, icons.close and pauseWhenPageIsHidden (off by default, as in 0.3.0). toast.promise shows an error for a resolved Response that is not ok, shows a resolved React element as the toast, and waits for loading. onDismiss and onAutoClose get the whole toast, and neither toast.dismiss() nor the cancel button calls onDismiss. A swipe of 20px dismisses, the default offset is 32px, and a toast.promise description function runs on failure too. What still differs from sonner is listed in MIGRATION.md.

  • Form controls take their 0.3.0 props again - Label (so FormLabel and FieldLabel) and RadioGroup accept asChild and render their single child as the element. Switch and Checkbox take a numeric or list value (posted as text), and Switch, Checkbox and each RadioGroupItem write it on their button, as Radix did. The parts accept defaultValue, onChange and onSelect again. Inside a form, a change the user makes in a RadioGroup, Switch or Checkbox bubbles from its form input, so <form onChange> and react-hook-form's register() on a RadioGroup hear it, and a parent's onClick hears one click per change, not two (a radio that is already checked changes nothing, so it sends none; stop it with onClick on the control, as with Radix). A disabled RadioGroup sets disabled on every item, so the disabled styles dim them, and an item with required makes its group required. Slider ref may be typed for the span Radix rendered, and its onValueCommit fires on every key step again. Slider preserveThumbOrder and RadioGroupItem checked are accepted and ignored (see the migration guide).

  • asChild and range Slider: new in 0.4.0 - asChild on Switch, Checkbox, RadioGroupItem, Slider and ScrollBar (0.3.0 rendered the part's own children in place of your element, so it never worked); the control's own thumb, check mark, dot or scroll thumb goes inside your element when it has no children of its own. A range Slider has one thumb per value and posts one input per thumb, named name[] (0.3.0 drew one thumb); a disabled range Slider posts nothing (0.3.0 posted its values).

  • New exports - asChildRoot, elementValueText, useChangeRelay, withButtonAttributes and the types ElementValue and OmittedElementProps: the helpers the restored parts share, for apps that build their own asChild or form-control parts.

  • Primitives take their 0.3.0 props again - ScrollArea, Separator, AspectRatio, Avatar, AvatarImage, AvatarFallback, ToggleGroup, SegmentedControl and NavigationMenu accept asChild and render their single child as the element, the child's own children staying the content (Separator passed asChild on to a div before). Toggle and ToggleGroupItem write type (so type="submit" submits again) and value to the button, and these parts accept defaultValue, onChange and onSelect again. SegmentedControl rovingFocus is accepted and ignored, since the arrow keys always rove (see the migration guide).

  • Toast colours - toasts take the popover background, border and text colours, and a toast's description follows the page's mode, like the popover background it sits on, so a theme that differs from the page no longer puts light-mode grey on a dark toast (2:1). The light richColors text colours are a little darker, so each reaches 4.5:1 on its background (sonner's reached 3.1 to 4.4).

  • Resizable restored - the props of react-resizable-panels work again, without it: a number is pixels (defaultSize={240}) and a string without a unit is a percentage, with em, vh and vw too (em is the panel's own font size); defaultLayout is an object keyed by panel id, and so are what onLayoutChange and onLayoutChanged get, which also run once when the group first lays out and again when a panel comes or goes; groupRef, panelRef, elementRef, panel onResize (it follows the panel's length, so a window resize reports, and inPixels is the whole offsetWidth) and panel disabled work; arrow keys move 5%, and so does Shift with an arrow unless you set largeStep, while a key with Ctrl, Alt or Meta does nothing; F6 cycles the separators, and a double click on a handle resets the panel to its defaultSize and counts as a user interaction (4.24.2 does the same), unless disableDoubleClick; handles carry data-separator. em reads as rem and vh and vw as 0px in the server HTML and the hydration render, and rem is the root font size, where 4.6.2 used body. A number was a percentage in the 0.4.0 canaries, so write "30%" there. disableDoubleClick (4.9.0), collapsedThreshold (4.13.0), groupResizeBehavior (4.7.0) and the second argument of onLayoutChanged (4.12.0, and requestedLayout in 4.14.1) come from react-resizable-panels 4 versions after 0.3.0's 4.6.2.

  • Tailwind preset - @vllnt/ui/tailwind-preset imported tailwindcss-animate, so with 0.3.0 it failed to load unless the app installed that plugin. The animation utilities are now built in, and no extra package is needed.

  • Setup docs - the Tailwind config in both READMEs, the installation page and the agent skill now lists ./node_modules/@vllnt/ui/dist/**/*.js in content. Tailwind 3 ignores a preset's content once the app sets its own, so the documented config generated no component styles. The agent skill's peer ranges and colour format (OKLCH) are corrected too.

  • NativeSelect text rendering - the chevron sits over the select in a grid cell instead of an absolutely positioned wrapper. In Chrome, that wrapper joined a focused text field's caret layer, and the text after it (for example a whole DataTable while its search field had focus) lost subpixel antialiasing. It looks the same otherwise.

  • Kbd shortcut - each key cap has an explicit React key, so a multi-key shortcut no longer logs the "unique key prop" warning in development.

  • InlineInput focus on mount - it still takes focus when a click or key press opens the editor, but no longer when it mounts with no user gesture (a preview, or a page that renders it on load). Browsers block that focus in embedded frames and log a focus-without-user-activation policy violation.

  • Tailwind preset from CommonJS - @vllnt/ui/tailwind-preset has a require condition now (dist/tailwind-preset.cjs, types in .d.cts). require("@vllnt/ui/tailwind-preset") in a tailwind.config.js or .cjs failed with ERR_PACKAGE_PATH_NOT_EXPORTED. The ESM entry is unchanged.

  • HeatOverlay points type - points was typed HeatPoint[] & string (the SVG points attribute leaked into the props), so no call type-checked. It is HeatPoint[] now. Rendering is unchanged.

  • StepByStep - null, false and text children no longer crash the list or render an empty step; numbering and the completed count skip them.

  • Reasoning - onOpenChange fires once per toggle under React StrictMode.

  • DocumentSiblingNav - a label passed as undefined keeps its default.

  • List keys - lists that key items by label (OrderSummary, StatusBoard, FilterBar, PieChart and others) no longer warn or drop rows when two items share a label.

  • Duplicate React keys - Terminal, FileUpload, AvatarGroup, Breadcrumb and about 20 other list renderers no longer key rows by content or label alone, so repeated or blank entries stop triggering duplicate-key errors. FileUpload adds an identical file (same name, size and lastModified) once, so removal removes one entry, and a selection that adds nothing new does not call onFilesChange.

  • Accessible names - a Curriculum lesson link and a TutorialComplete related link put a space between their parts, so screen readers announce "Available HTML Basics" and "Tutorial Next Tutorial" instead of running the words together.

  • Visible label in the accessible name (WCAG 2.5.3) - RunTimeline phase bars, the CommentPin trigger and DocumentSiblingNav links take their name from their content instead of an aria-label that left out the visible text. Names read as before ("Complete 0 → 600: load", "Comment, 3 unread", "Older: Foo post"); a passive RunTimeline bar is plain text, not role="img". StepNavigation buttons drop their fixed English aria-label ("Previous step", "Next step") and take their name from previousLabel / nextLabel, so a translated label is also the spoken name. Calendar (and RangeCalendar, DateRangePicker) day names start with the visible day number ("12, Thursday, November 12th, 2026"); a labels prop still overrides them. axe-core 4.14 checks this rule.

  • Command input focus - CommandInput draws its bottom border in the ring colour while the field has focus, so keyboard users see where focus is (WCAG 2.4.7). The input itself keeps no outline, as before.

  • Tap targets - the NavbarSaas links, the Breadcrumb crumbs, the TableOfContents buttons and the Sidebar family heading link are at least 24 px tall (WCAG 2.5.8); they were 20 px.

  • Close button target size - the close buttons of DialogContent, SheetContent and CompletionDialog were 16 px. They are at least 24 x 24 px around the same 16 px icon (WCAG 2.5.8). (#576)

  • Copy without the Clipboard API - useCopyToClipboard (so CopyButton, CodeBlock, Terminal and the other copy controls) and AIArtifactCopyButton fall back to a temporary textarea and document.execCommand("copy") when navigator.clipboard is missing (plain http, such as a Tailnet IP) or writeText rejects. The fallback works inside modal dialogs, alert dialogs, native dialog elements and modal menus, keeps the text the user had selected on the page, and returns focus only when it came from the keyboard. copied stays false when both paths fail. FlowDiagram copies a PNG, so it has no text fallback and keeps reporting "Copy failed". (#576)

  • Select, SegmentedControl, FloatingToolbar and ProgressBar - Select shows aria-invalid with a destructive border. The Select menu animation, the SegmentedControl selection transition, the FloatingToolbar colour transition and the ProgressBar transitions stop under prefers-reduced-motion. FloatingToolbar is one tab stop, and the arrow, Home and End keys move between its actions and skip disabled ones. (#611)

  • "use client" directives - Toolbar, Stepper, AIChatInput, ObjectCard, OverviewBoard and ZoomHUD use event handlers or browser globals and now carry the directive. check:use-client also flags handler props and browser globals.

  • Focus in custom dialogs - KeyboardShortcutsHelp, TableOfContentsPanel, the FlowDiagram fullscreen view and the Slideshow contents panel keep Tab and Shift+Tab inside the dialog and return focus to the opener on close.

  • DataTable sortable headers expose aria-sort.

  • Contrast - Rating stars and the green success icons in Checklist, Curriculum and LearningObjectives reach 3:1 against the background in light and dark themes.

  • Decorative inline <svg> icons are hidden from assistive technology.

  • Preserve nested scrolling, reduced-motion behavior and sidebar keyboard focus in the affected Web components.

  • Forward explicit tab accessibility relationships and label/keyboard handlers without changing default tab navigation.

  • Emit JSON-LD graph documents and localized Native discovery metadata without advertising unpublished npm packages.

  • Accessible names, ARIA structure, APG keyboard patterns (tabs, radio groups, listbox, tree, dialogs and focus return), reduced motion and hard-coded palette contrast across the Web components flagged by the #535 audit. (#543)

  • Third-party notices - the tarball ships THIRD_PARTY_NOTICES.md with the licence texts for the code ported from cmdk, tailwindcss-animate, tailwind-merge and class-variance-authority.

  • Menus keep their 0.3.0 props - DropdownMenu, ContextMenu and Menubar checkbox and radio items call onSelect again, with an event dispatched on the item (event.preventDefault() keeps the menu open), and take asChild, as does the Menubar root. Picking the radio item that already holds the value reports it to onValueChange again, and item indicators carry data-state again. Arrow keys, Home, End and typeahead skip disabled items. The HTML props Radix inherited from each element (onChange, defaultValue, defaultChecked, onSelect on sub triggers and radio groups, value on triggers) type-check and reach the element again, and the ContextMenuTrigger ref is a HTMLSpanElement again. dir on DropdownMenu, ContextMenu and Menubar is read again: it sets the direction of every popup (and of the bar), so a submenu opens on the left and ArrowLeft opens it in "rtl".

  • Command keeps its cmdk props - CommandEmpty takes className; CommandInput, CommandList, CommandGroup, CommandEmpty and CommandSeparator take asChild; CommandGroup takes value and forceMount; CommandItem takes forceMount; Command takes vimBindings and disablePointerSelection. The HTML props cmdk inherited type-check again: onChange and onSelect on Command and CommandItem, defaultValue on CommandInput and CommandItem; a CommandInput defaultValue is ignored, as in cmdk. An item without a value reports its text as data-value and to onValueChange, and two such items with the same text stay apart: each runs its own onSelect. Home and End jump to the first and last item, Alt+Arrow jumps to the first item of the next or previous group, and CommandEmpty shows while only forceMount items remain. One Escape closes a CommandDialog, Combobox, ModelSelector, SearchDialog, MultiSelect or an alert dialog, with text typed or not, and a dialog onEscapeKeyDown that calls preventDefault keeps it open with its text. A Command outside a dialog clears its text on Escape. An item a search leaves out leaves the page, as in cmdk, and returns in its written place. An empty search keeps every item, whatever a custom filter answers. With shouldFilter={false} or an empty search, items stay in the order you render them, and clearing a search puts that order back. Two items with the same value stay two items. CommandSeparator carries cmdk-separator and role="separator" again, and stays aria-hidden, so axe does not fail it inside the listbox. While a search ranks the list, the groups keep their place and the items outside a group come after them, a disabled item stays in front of the ranked items, and a forceMount item ranks as if it scored 0, as in cmdk.

  • Select keeps its 0.3.0 props - the trigger shows the chosen item's own children (an icon and a name) again, for items a component of your own renders once the list has opened; SelectValue takes an element as placeholder, SelectContent takes forceMount and onCloseAutoFocus (accepted and ignored) and marks its list with data-radix-select-viewport, and SelectTrigger and SelectItem take asChild, and Select takes dir, which SelectContent carries on its list. The HTML props Radix inherited (onChange, onSelect, defaultValue, and value on the trigger) type-check again.

  • Overlay positioning restored - PopoverContent, TooltipContent, HoverCardContent, the menu contents (and their SubContent) and SelectContent with position="popper" place the popup again for avoidCollisions, sticky, hideWhenDetached, collisionBoundary, updatePositionStrategy and a per-side collisionPadding, which ui-sdk ignored. hideWhenDetached follows the trigger out of a clipping parent, and the popup follows the trigger across a changing ref. PopoverAnchor takes virtualRef, and Tooltip takes disableHoverableContent (also on TooltipProvider) and closes when the pointer leaves the trigger. A submenu and the menus of a vertical Menubar open on the end side again.

  • Overlays in plain jsdom - opening a Dialog, Sheet, Popover, menu or Select, or toggling a Collapsible or Accordion, no longer throws in a test environment without getAnimations or animate, so consumer tests need no stubs. Without the Popover API, a popup is shown by a stand-in that only touches the popup itself: a trigger keeps its own inline display, a popup that gains its popover attribute after it renders is shown too, and closing it (or unmounting) gives back the inline display it had, such as display: none, unless a render wrote a different display while the popup was shown, which stays.

  • Dialogs in a <form> - Dialog, AlertDialog, Sheet and Drawer render into document.body again, so they no longer nest inside a form. Their *Portal takes container as an element or a shadow root, and container={null} means document.body, as in Radix. A select, menu or popover inside the dialog renders into the same container, is not inert, and closes on Escape before the dialog does.

  • Dialog dismissal and close buttons - AlertDialog takes onFocusOutside, every dialog runs onFocusOutside and onInteractOutside when focus moves outside it (and stays open, as in Radix), but not for the focus that returns to the trigger when it closes. deferPointerDownOutside is accepted without a warning and changes nothing, as 0.3.0's Radix never read it. A close button's value (a number or a list of strings too) is written to the button again.

  • Dialog dismiss timing - a mouse press outside a Dialog, Sheet or Drawer closes it as the press starts (pointer down), and a touch press closes it on its click, as in Radix; it no longer waits for the pointer up. onPointerDownOutside and onInteractOutside get the pointer down in detail.originalEvent, for a touch press too (the popup still closes on the click). A Ctrl+left-click outside keeps the dialog open, as in Radix (it opens the context menu on macOS); a right-click never closed it. A press outside with any button other than the primary one (middle, back, forward) does not close a Dialog, Sheet or Drawer here, though Radix closed it: ui-sdk's modal layer reacts to the left button only. A Popover, Select, DropdownMenu and HoverCard already closed that way. The release the dialog sends to end the press at once goes to the page's root element without bubbling, so only window and document capture listeners see it, and a listener on the <html> element itself, in the target phase. A browser without PointerEvent gets none.

  • Popups open before their dialog takes focus - a Popover that is open when its dialog first moves focus (<Popover defaultOpen> in a Dialog) stays open, as a Select and a menu did, however the focus gets there: the dialog's own pick, an initialFocus you pass, or a tap on the trigger. Focus that leaves a popup later still closes it. A forceMount panel does the same each time it opens again.

  • Trigger button props - DialogTrigger, SheetTrigger, DrawerTrigger, AlertDialogTrigger, PopoverTrigger, TooltipTrigger and CollapsibleTrigger take value, defaultValue, onChange and onSelect again, as an HTML button does. HoverCardTrigger and ContextMenuTrigger take defaultValue, onChange and onSelect. DialogClose, SheetClose, DrawerClose, AlertDialogAction and AlertDialogCancel take all four as well. NavigationMenuContent takes defaultValue, onChange, onSelect and deferPointerDownOutside (accepted, no effect).

  • Drawer snapToSequentialPoint - with it set, a fast swipe moves to the next snap point only, instead of passing over snap points.

  • InputOTP props from input-otp - InputOTP takes again render, placeholder, pasteTransformer, pushPasswordManagerStrategy, noScriptCSSFallback, nonce, onSelect and every attribute of an input (type, minLength, size, data-*, aria-* and the rest), and InputOTPSlot takes the defaultValue, onChange and onSelect of a div. A pattern string is tested against the whole code, and onComplete runs when the code goes from short to full, whether typed or set by the parent, and not when a full code is edited.

  • NavigationMenu activationMode and NavigationMenuTrigger value - NavigationMenu takes activationMode, which 0.3.0 passed on to its navigation-menu package (1.3 and later): "manual" opens a panel on a press only, so a hover does nothing and delayDuration has no effect, and "automatic" (the default) also opens on a hover. NavigationMenuTrigger takes the button's own value (a string, a number or a list of strings) and writes it on the button, as 0.3.0 did, where it read a string as the item to open: the item is always the NavigationMenuItem the trigger sits in.

0.3.0 - 2026-06-26

2026-06-26#v0-3-0

Added

feat
  • Release intelligence surface — /changelog, /releases, /rss.xml, and /atom.xml expose one changelog source through HTML, GitHub release cards, and feed readers. /docs/changelog redirects to /changelog.

  • Hooks + utility primitives — CopyButton (+ useCopyToClipboard hook), Banner + BannerAction, Kbd, EmptyState, DocumentSiblingNav.

  • Pricing + identity cards — PricingTable + PricingPlan, HistoricalFigureCard, CivilizationCard (+ CivilizationComparison).

  • Newsletter — NewsletterSignup (state-machine driven submit flow).

  • AI compound families — ModelComparison (+ Column, Meta, Vote), PromptTemplates, AgentActivity, AISidebar, AIArtifact.

  • Era / financial — EraComparison, TransactionList.

  • Forms — Form, MultiSelect, SegmentedControl, TagsInput, AutoReload.

  • Educational — KnowledgeCheck (inline question runner).

  • Charts + timelines — GanttChart, ParallelTimeline, Timeline + TimelineItem, HistoricTimeline, InteractiveTimeline, ChronologicalTimeline, TreeView.

  • Document + reading — PrimarySourceViewer compound family.

  • Maps + geography — Map2D, ChoroplethMap, RouteMap, HeatMapOverlay, GeographyQuizMap, MapTimeline, StoryMap, Globe3D.

  • Canvas foundation — CanvasShell, CanvasView, InfinitePlane, ViewportBookmarks, WorldBreadcrumbs, TopBar, LeftRail, RightDock, ZoomHud, MiniMapPanel, WorkspaceSwitcher.

  • Canvas selection + manipulation — SelectionHalo, SnapGuides, FloatingToolbar, MultiSelectLasso, FollowMode, HandoffBeacon.

  • Canvas spatial objects — ObjectCard, ObjectHandle, AnchorPort, ConnectorEdge, EdgeLabel, GroupHull.

  • Canvas collaboration primitives — LiveCursor, CommentPin, PresenceSyncIndicator, PresenceStack, SelectionPresence, ThreadBubble.

  • Inspector + dock panels — PropertySection, ObjectInspector, RelationshipInspector, RuntimeOverviewPanel, RoutingAssignmentPanel, PolicyDeliveryPanel.

  • Runtime overlays — AlertPulse, ThresholdRing, StickyMetric, HeatOverlay, StateBadgeOverlay, MetricCluster, JarvisDock, ContextLens.

  • Time navigation — TimelineScrubber, PlaybackGhost, BottomActivityStrip, RunTimeline.

  • Form primitives (18) — ButtonGroup, InputGroup, Field, Fieldset, Item, ColorPicker, CheckboxGroup, NativeSelect, ListBox, SearchField, TextField, PhoneInput, TimePicker, TimeField, DateField, DateRangePicker, RangeCalendar, TagGroup.

  • Charts / dataviz (5) — PieChart, RadarChart, GaugeChart, SankeyChart, ContributionGraph (joining the existing BarChart / LineChart / AreaChart).

  • AI primitives (3) — Reasoning, ChainOfThought, PromptInput.

  • Core primitives (7) — Typography, Link, Toolbar, Meter, QrCode, Grid, Panel.

  • Motion / effects (37) — BentoGrid, Sparkles, Typewriter, AnimatedList, Dock, MagneticButton, TextShimmer, AnimatedBeam, AnimatedTabs, ScrollProgress, ShimmerButton, ShimmerText, AnimatedGridPattern, AnimatedTestimonials, AnimatedTooltip, BlurReveal, CardFlip, Cursor, DotPattern, ExpandableCards, FloatingNavbar, GlassCard, GlassProgress, LiquidGlass, Magnetic, Meteors, Particles, ProgressiveBlur, RevealText, ScrambleText, ShineBorder, ShinyButton, SpinningText, SpotlightCard, TextAnimate, TextReveal, TiltCard.

  • Total component count: 309 (up from 140).

  • OKLCH theming system — color tokens migrated to the OKLCH color space, with 13 runtime theme presets (default, matrix, dracula, synthwave, tron, cyberpunk, nord, claude, chatgpt, gemini, dusk, cyberlime, aura). New public theme exports from @vllnt/ui: THEME_PRESETS, DEFAULT_THEME_PRESET, CUSTOM_THEME_NAME, isThemePresetName, the ThemePreset and ThemePresetName types, plus the useThemePreset hook (with UseThemePresetResult), setThemePreset, and setCustomTheme for runtime preset switching and user-supplied custom themes.

  • A11y heading-level override — every title-bearing component (ProfileSection, FAQ, Slideshow, WorldClockBar, TableOfContentsPanel, TableOfContents, KeyboardShortcutsHelp, Watchlist, OrderBook, HorizontalScrollRow, MarketTreemap, ActivityHeatmap, Glossary, StatusBoard, CodePlayground, Comparison, Quiz, Exercise, ShareSection, CompletionDialog, Checklist, LearningObjectives, CandlestickChart, StepByStep) accepts an as prop ("h1"–"h6"); multi-title components (ContentIntro, TutorialComplete) expose titleAs + tocLabelAs / sectionLabelAs. Defaults preserve existing heading tags. HeadingTag is re-exported from @vllnt/ui.

Changed

all
  • BREAKING — React 19 required. The peer dependency moved to react / react-dom >=19; React 18 is no longer supported. Components migrated from React.forwardRef to the React 19 ref-as-prop pattern, and useContext → use(). React-18 consumers must upgrade to React 19.
  • Internal quality sweep — cleared the react-doctor backlog: no-react19-deprecated-apis 456 → 0, plus state/effect warnings (useEffectEvent for effect-captured handlers, derived-state, cascading setState) and structural warnings (giant-component splits, render-in-render, polymorphic children, passive listeners).
  • Shared internals — extracted reusable hooks/utilities (reference-counted body-scroll-lock that fixes a multi-overlay unlock bug, escape-key, live-date, cached Intl formatters, clipboard migration) and a Zod parse seam for the registry shape.
  • Registry installs use a hybrid CLI strategy — leaf component source is inlined, sibling registry items resolve via @vllnt/ui to keep installs minimal and dedupe shared primitives.

Fixed

fix
  • Docs sidebar dropped components — the registry category union omitted four categories (ai, billing, data-display, educational), silently hiding ~32 components from the docs sidebar; all now render, with a structural fallback so a missing category can no longer regress.
  • Theme-adaptive chart colors — CandlestickChart and SparklineGrid series colors now follow the active theme and dark mode instead of hardcoded values.

0.2.1 - 2026-04-21

2026-04-21#v0-2-1

Fixed

fix
  • Public API: ProgressCard now re-exported from @vllnt/ui — it shipped in 0.2.0's tarball but was missing from the barrel, so import { ProgressCard } from "@vllnt/ui" resolved to undefined.

Docs

all
  • Correct casing for the AI family (AIChatInput, AIMessageBubble, AISourceCitation, AIStreamingText, AIToolCallDisplay) and SocialFAB across README, package README, CHANGELOG, and llms-full.txt.

0.2.0 - 2026-04-21

2026-04-21#v0-2-0

Added

feat
  • AI family — AIChatInput, AIMessageBubble, AISourceCitation, AIStreamingText, AIToolCallDisplay, ThinkingBlock, ModelSelector.
  • Financial family — CandlestickChart, MarketTreemap, OrderBook, TickerTape, SparklineGrid, WalletCard, Watchlist.
  • Ops / Status family — StatusBoard, StatusIndicator, LiveFeed, WorldClockBar, SeverityBadge, RoleBadge, ScopeSelector.
  • Billing & Plans family — SubscriptionCard, PlanBadge, CreditBadge, UsageBreakdown.
  • Animation family — AnimatedText, BorderBeam, Marquee, NumberTicker, and a standalone spinner library exported via Spinner.
  • Educational family — Flashcard, Stepper, Tour, Annotation, CompletionDialog, TruncatedText, TableOfContentsPanel.
  • Form additions — DatePicker, FileUpload, NumberInput, PasswordInput, InlineInput, Combobox, Rating.
  • Data / metric additions — DataTable, DataList, StatCard, MetricGauge, ActivityHeatmap, ActivityLog.
  • App shell additions — CategoryFilter, FilterBar, CookieConsent, Slideshow, CountdownTimer, AvatarGroup, FloatingActionButton, SocialFab, KeyboardShortcutsHelp, ShareDialog, HorizontalScrollRow, ViewSwitcher.
  • Total component count: 144 (up from 93).
  • Full Storybook integration with E2E smoke tests in CI.
  • OG image generation for every registry page.
  • Signed provenance attestations on every published artifact (sigstore).

Changed

all
  • Documentation domain moved to ui.vllnt.com / storybook.vllnt.ai.
  • Default package registry is the public npm registry (no longer GitHub Packages).
  • README component tables expanded to cover all 144 components organized by family.

Fixed

fix
  • Publish workflow now uses npx --yes npm@latest publish so OIDC trusted publishing survives GitHub runners that ship pre-11.5.1 npm.

0.1.11 - 2026-04

2026-04#v0-1-11

Fixed

fix
  • Re-extract tarball path from pnpm pack output for publish step.

0.1.10

#v0-1-10

Changed

all
  • Switched to pnpm pack + npm publish flow to support publishConfig with OIDC auth.

0.1.9

#v0-1-9

Fixed

fix
  • Use pnpm publish and repair release creation step in CI.

0.1.8

#v0-1-8

Fixed

fix
  • Annotated tags + --notes-file for release creation.

0.1.7

#v0-1-7

Added

feat
  • HorizontalScrollRow, ViewSwitcher, and useHorizontalScroll hook.

Fixed

fix
  • Comparison: defensive prop validation to prevent runtime crash on malformed input.

0.1.6

#v0-1-6

Fixed

fix
  • Bundle-free build to preserve per-file "use client" directives in published chunks.

0.1.5

#v0-1-5

Fixed

fix
  • Add "use client" to all dist JS including index.js.

0.1.4

#v0-1-4

Fixed

fix
  • Exclude index.js from "use client" banner.

0.1.3

#v0-1-3

Fixed

fix
  • Add "use client" directive to published dist chunks.

0.1.2

#v0-1-2

Added

feat
  • Initial public publish to the public npm registry.

Theme