Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

chore: version packages for v0.4.0 (#5002)

Cindy Zhang110987b4505d
diff --git a/.changeset/alertdialog-inline-role-and-initial-focus.md b/.changeset/alertdialog-inline-role-and-initial-focus.md
deleted file mode 100644
index f74fe0f377..0000000000
--- a/.changeset/alertdialog-inline-role-and-initial-focus.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] AlertDialog: correct the inline role and pin initial focus (#4887).
-
-The `isInline` preview path no longer renders `role="alertdialog"`. That role promises a modal interruption — focus trap, inert page, explicit dismissal — and the inline path is an always-present, non-modal preview with none of it. It now renders `role="group"`, keeping the title and description associated through `aria-labelledby`/`aria-describedby`.
-
-The cancel button now carries `data-autofocus`, so the documented "initial focus goes to the cancel button" behavior is pinned instead of depending on cancel happening to be the first focusable node in the footer. Docs now name and link the WAI-ARIA APG Alert Dialog pattern the component implements, and gain an anatomy section.
-
-@cixzhang
diff --git a/.changeset/appshell-doc-example-mobilenav-header.md b/.changeset/appshell-doc-example-mobilenav-header.md
deleted file mode 100644
index fd54810d59..0000000000
--- a/.changeset/appshell-doc-example-mobilenav-header.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[docs] AppShell: the two worked examples of the `mobileNav` escape hatch passed `title` to `MobileNav`, which does not accept it: `MobileNavProps` omits the native `title` attribute and the drawer heading prop is `header`. Copying either example produced a type error and a drawer with no heading. Both now say `header`. The doc also gains an anatomy list and accessibility guidance covering the landmark structure AppShell owns. (#4944)
-
-@cixzhang
diff --git a/.changeset/appshell-landmark-and-skip-link.md b/.changeset/appshell-landmark-and-skip-link.md
deleted file mode 100644
index 0b5d310459..0000000000
--- a/.changeset/appshell-landmark-and-skip-link.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] AppShell: two a11y fixes to the shell chrome (#4944).
-
-The mobile top bar rendered for a sidenav-only layout is now a `banner` landmark, matching the header region of a layout that has a `topNav`. Previously the page's landmark structure changed depending on which nav slots it filled: a screen-reader user on a small viewport got no banner region at all. When a `banner` slot is present the existing header keeps the role, so there is still exactly one.
-
-The skip link now draws the shared Astryx focus ring instead of the browser default outline, so it follows `--color-accent` and matches every other focusable surface in a custom theme.
-
-@cixzhang
diff --git a/.changeset/aspectratio-sizing-contract-docs.md b/.changeset/aspectratio-sizing-contract-docs.md
deleted file mode 100644
index 92f346f27f..0000000000
--- a/.changeset/aspectratio-sizing-contract-docs.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[docs] AspectRatio: document the sizing contract and add the missing anatomy. The box takes its width from its container and derives its height from the ratio, so constraining only the height clamps it off ratio (pass `width: 'auto'` alongside) and a shrink-to-fit parent collapses it to zero width. Both are now in the component JSDoc and in `bestPractices`, along with the single-child expectation: with `fit` set, every direct child is stretched to fill the box. The image-gallery example block now uses `var(--radius-element)` instead of a raw `8`. (#4984)
-
-@cixzhang
diff --git a/.changeset/avatar-fallback-theme-target.md b/.changeset/avatar-fallback-theme-target.md
deleted file mode 100644
index ff811b43a9..0000000000
--- a/.changeset/avatar-fallback-theme-target.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] Avatar: the fallback surface (initials and default icon) is now a direct theme target via the stable `astryx-avatar-fallback` class. Theme its background, text color, font weight, and per-size font size through the `avatar-fallback` component key (e.g. `components: { 'avatar-fallback': { base: { backgroundColor: '...' }, 'size:sm': { fontSize: '...' } } }`), replacing the internal `--_avatar-fallback-*` derived vars. (#4716)
-
-@cixzhang
diff --git a/.changeset/avatar-initials-grapheme-clusters.md b/.changeset/avatar-initials-grapheme-clusters.md
deleted file mode 100644
index 37ca6a94c9..0000000000
--- a/.changeset/avatar-initials-grapheme-clusters.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Avatar: fallback initials no longer break for names containing emoji or other multi-codepoint characters. (#4750)
-
-@alex-js-ltd
diff --git a/.changeset/build-vite-esm-fs-require.md b/.changeset/build-vite-esm-fs-require.md
deleted file mode 100644
index e9b5004ac2..0000000000
--- a/.changeset/build-vite-esm-fs-require.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astryxdesign/build': patch
----
-
-[fix] build: import `node:fs` statically so the Vite plugin's package discovery survives the ESM build (#4972)
-
-`astryxStylex()`'s config plugin discovered installed `@astryxdesign/*` packages with `require('node:fs')`. The `./vite` export ships only an ESM bundle (`dist/vite.mjs`, esbuild `format: 'esm'`), where esbuild lowers `require` to a shim that throws `Dynamic require of "node:fs" is not supported` — always, since native `require` never exists under ESM. The surrounding `try/catch` swallowed the throw, so `optimizeDeps.exclude` silently fell back to `['@astryxdesign/core']` and every other installed Astryx package stayed eligible for Vite pre-bundling, which strips `stylex.create`/`defineVars` calls and causes runtime errors.
-
-The discovery now uses a static `import fs from 'node:fs'`, which esbuild preserves as a real ESM import. A regression test compiles `vite.ts` with the same esbuild options as `build.mjs` and runs the discovery in a child `node` process, since in-process test runners provide a `require` shim that masks the bug.
-
-@is-jain
diff --git a/.changeset/chat-layout-scroll-button-icon-only.md b/.changeset/chat-layout-scroll-button-icon-only.md
deleted file mode 100644
index 92768d694c..0000000000
--- a/.changeset/chat-layout-scroll-button-icon-only.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] ChatLayoutScrollButton: the default (label-less) state now renders as icon-only, with the translated "Scroll to bottom" string as the accessible name only. It was previously missing `isIconOnly` on its inner `Button`, so Button's default (visible-text) contract rendered the translation as clipped visible text inside the circular button instead. (#4854)
-
-@HelloOjasMutreja
diff --git a/.changeset/chat-theme-props-and-classname.md b/.changeset/chat-theme-props-and-classname.md
deleted file mode 100644
index 8d1878327b..0000000000
--- a/.changeset/chat-theme-props-and-classname.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Chat: the dictation and scroll buttons now carry their `chat-dictation-button` and `chat-layout-scroll-button` theme targets, and ChatSendButton no longer clobbers a consumer's `className` (#4634).
-
-@cixzhang
diff --git a/.changeset/chat-tool-calls-hover-radius-clip.md b/.changeset/chat-tool-calls-hover-radius-clip.md
deleted file mode 100644
index 8fa37f9bda..0000000000
--- a/.changeset/chat-tool-calls-hover-radius-clip.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] ChatToolCalls: hover backgrounds on grouped call rows (2+ calls) now keep their full `--radius-element` rounding instead of getting clipped flat on the inline edges. `groupContentInner` — the `overflow: hidden` clip boundary the expand/collapse height animation needs — was missing the padding/negative-margin pair that absorbs the row-level hover-background overhang, so the overhang extended past the clip boundary and got cut off. Matches the ungrouped single-call row, which has no such wrapper to clip it. (#4858)
-
-@HelloOjasMutreja
diff --git a/.changeset/cli-agent-docs-layout-pointer.md b/.changeset/cli-agent-docs-layout-pointer.md
deleted file mode 100644
index 2c1bebb459..0000000000
--- a/.changeset/cli-agent-docs-layout-pointer.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] The generated agent cheat sheet hardcoded a shell recommendation ("Full page → AppShell; sidebar nav → SideNav", "pick the shell (AppShell / Layout+LayoutPanel)"), which answers a question that depends on the app archetype and duplicates guidance `astryx docs layout` already maintains. The two layout rules now send agents to that doc instead, so shell choice, region budgets, and the responsive contract have one source of truth. (#4772)
-
-The rule cites the command rather than the docsite URL, in the block's established `astryx <cmd>` form that the header maps to the project's real invocation (`pnpm exec astryx`, `npx @astryxdesign/cli`, …). `astryx docs` reads the docs shipped inside the installed version, so an agent can't be shown an API that release doesn't have.
-@josephfarina
diff --git a/.changeset/cli-fix-grid-minchildwidth-columns-combo.md b/.changeset/cli-fix-grid-minchildwidth-columns-combo.md
deleted file mode 100644
index 06fa289255..0000000000
--- a/.changeset/cli-fix-grid-minchildwidth-columns-combo.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] The `migrate-grid-minchildwidth-to-columns` codemod bailed without changes when a `<Grid>` had both `columns` and `minChildWidth`, leaving the now-invalid `minChildWidth` prop in place and failing type-checking on 0.3.0. (#4792)
-
-When `columns` is a numeric literal, it now migrates losslessly to the 0.3.0 object form. This mirrors the old (0.2.0) Grid runtime, where `minChildWidth` dominated and the numeric `columns` capped the column count under `auto-fit`: `<Grid columns={3} minChildWidth={280}>` becomes `<Grid columns={{minWidth: 280, max: 3, repeat: 'fit'}}>`. Object or dynamic `columns` values remain a deliberate bail.
-
-@ejhammond
diff --git a/.changeset/cli-fix-hook-example.md b/.changeset/cli-fix-hook-example.md
deleted file mode 100644
index 63bd3c5336..0000000000
--- a/.changeset/cli-fix-hook-example.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] The documented `hook` example referenced `useToggle`, which is not a hook in the design system — running it failed with `ERR_UNKNOWN_HOOK`. It now uses `useFocusTrap`. (#4742)
-
-This shipped in two places a consumer sees: `astryx manifest --json`, which agents read to learn the CLI, and the `hook` CommandDoc that feeds `--help`. Replaced in both.
-@josephfarina
diff --git a/.changeset/cli-foundation-layering-and-authoring-types.md b/.changeset/cli-foundation-layering-and-authoring-types.md
deleted file mode 100644
index 3d812e5d9d..0000000000
--- a/.changeset/cli-foundation-layering-and-authoring-types.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] CLI internals: a true `foundation/` bottom layer, and generated `./authoring` types (#4736).
-
-`foundation/` no longer imports `api/`, and ESLint now enforces that direction alongside the existing `authoring/` and `api/` rules. Two things were reaching upward: `Project` pulled template discovery out of `api/template`, whose adapter imported `Project` straight back, and both `Project` and `integration-warnings` imported `validateLoadedIntegration` from the `validate-integration` command. Neither was misplaced logic, just misplaced files — the adapter now lives at `foundation/discovery/template-adapter.mjs` and the validators at `foundation/integrations/validate-contributions.mjs`. To be precise: `Project` and the template adapter still import each other, so that module cycle remains, contained within foundation instead of spanning two layers. Behavior-preserving — the CLI's observable surface is byte-identical across 84 invocations.
-
-The published `./authoring` type declarations are now generated from their JSDoc instead of hand-written, the same way `./api` already works. The 13 hand-maintained `.d.mts` files are gone; `scripts/sync-api-types.mjs` emits both trees at `prepack`, stamped `@generated`. A hand-written declaration shadows the JSDoc in its `.mjs`, so it could disagree with the implementation and still compile — and both failure modes had shipped: a missing declaration made a strict consumer resolve that parser as `any`, and a stale `parseDoc` return union silently dropped `SchemaDoc`, `CommandDoc` and `EnumDoc`. Also fixes `parseFunction`, a bare re-export of `parseHook` that published `HookDoc` instead of the general `FunctionDoc`.
-
-@josephfarina
diff --git a/.changeset/cli-login-templates-center-padding.md b/.changeset/cli-login-templates-center-padding.md
deleted file mode 100644
index 5a3da9efc1..0000000000
--- a/.changeset/cli-login-templates-center-padding.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[chore] The scaffolded login pages use `Center`'s `padding` prop instead of a hand-written `var(--spacing-6)` style object (#4764).
-
-@jiunshinn
diff --git a/.changeset/cli-migrate-table-rowexpansion-to-tree.md b/.changeset/cli-migrate-table-rowexpansion-to-tree.md
deleted file mode 100644
index a046031f62..0000000000
--- a/.changeset/cli-migrate-table-rowexpansion-to-tree.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[feat] Add the `migrate-table-rowexpansion-to-tree` codemod (runs on `astryx upgrade`): rewrites the removed `useTableRowExpansionState` tree pattern to `useTableTreeState` + `useTableTreeData`. Detail-panel usage (`renderExpanded`) is left untouched. (#4884)
-
-@humbertovirtudes
diff --git a/.changeset/cli-scaffold-video-placeholder.md b/.changeset/cli-scaffold-video-placeholder.md
deleted file mode 100644
index 29449ccd55..0000000000
--- a/.changeset/cli-scaffold-video-placeholder.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] Scaffolding a template that references demo video (e.g. `LightboxVideo`) no longer replaces the video source with the image placeholder data URI, which the generated `<video>` element couldn't play. `stripTemplateAssetRefs()` treated every demo-media reference as an image regardless of extension; video extensions (`.mp4`, `.webm`, `.mov`, `.ogv`) are now stripped to an empty `src` instead — there's no equivalent self-contained inline placeholder for video, so the scaffolded example is honest about needing the builder to supply their own file rather than pointing at something that can't play. (#4863)
-
-@HelloOjasMutreja
diff --git a/.changeset/cli-self-documenting-docs.md b/.changeset/cli-self-documenting-docs.md
deleted file mode 100644
index 4d0e1cdca9..0000000000
--- a/.changeset/cli-self-documenting-docs.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[feat] Add a self-documenting layer to the CLI: typed, colocated `.doc.mjs` for every command, every `@astryxdesign/cli/api` function, and every authored schema (config, integration, codemod, the response envelope, and the doc-types themselves). Adds the `FunctionDoc`, `SchemaDoc`, `CommandDoc`, and `EnumDoc` authoring types with sealed parsers. (#4714)
-
-Every command's `--help` and its `astryx manifest` entry are now built from that command's colocated `CommandDoc` via a `defineCommand` converter, so the docs and the CLI can no longer describe different things. The migration is behavior-preserving: help text, command output, error paths, and exit codes are byte-identical.
-
-The CLI README's command, error-code, and response-type tables are now generated from the manifest and the `EnumDoc`s, correcting real drift — the error-code table listed two codes that do not exist and omitted several that do, and the command table was missing `blog`, `build`, `layout`, and `validate-integration`.
-
-Kept honest by a drift harness (docs vs the live CLI), `check:cli-structure` (each doc-type and `api/` leaf ships its full file set), and lint rules for the CLI's layering.
-@josephfarina
diff --git a/.changeset/codeblock-copy-button-themeable.md b/.changeset/codeblock-copy-button-themeable.md
deleted file mode 100644
index 138c0aee5b..0000000000
--- a/.changeset/codeblock-copy-button-themeable.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] CodeBlock: the built-in copy button is now a themeable ghost `IconButton` with a default "Copy code" tooltip, reachable via the stable `astryx-codeblock-copy-button` class (theme it through the `codeblock-copy-button` component key). Restyle or keep the copy control without turning it off and re-implementing it. The tooltip stays "Copy code" after copying — the copy→check icon flip is the confirmation. (#4867)
-
-[feat] New `useClipboard` hook (`@astryxdesign/core/hooks`): the shared copy-to-clipboard behavior — clipboard write, a transient `isCopied` flag with its reset timer, and an optional polite screen-reader announcement. CodeBlock and Timestamp now build their copy buttons on it; reach for it directly for copy affordances that are not a plain icon button.
-
-@freddymeta
diff --git a/.changeset/codeblock-header-title-targets.md b/.changeset/codeblock-header-title-targets.md
deleted file mode 100644
index 3634a26258..0000000000
--- a/.changeset/codeblock-header-title-targets.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] CodeBlock: add `codeblock-header` and `codeblock-title` theme targets on the header row and the title/language-label element. A theme can now restyle the header (e.g. padding) and the title (e.g. font size) directly, instead of reaching them through structural `> div:first-child > div > span` selectors that reverse-engineer the header layout. Both reflect the `size`/`language`(`/container`) visual props like the root. (#4943)
-
-@freddymeta
diff --git a/.changeset/complex-selector-popup-above-clearance.md b/.changeset/complex-selector-popup-above-clearance.md
deleted file mode 100644
index 43375dba85..0000000000
--- a/.changeset/complex-selector-popup-above-clearance.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] `ComplexSelector`'s popup now keeps its 4px clearance from the trigger when `placement="above"`, matching `placement="below"` and `Popover`. The popup's margin was set on `marginBlockStart` only, which is correct for a popup opening downward but leaves zero clearance on the edge that matters when it opens upward. (#4861)
-
-@HelloOjasMutreja
diff --git a/.changeset/complexselector-focus-visible-ring.md b/.changeset/complexselector-focus-visible-ring.md
deleted file mode 100644
index 0c5877a386..0000000000
--- a/.changeset/complexselector-focus-visible-ring.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] ComplexSelector: the trigger's focus ring is now keyboard-only. It was drawn from `:focus-within`, which also matches a mouse click — open the popover with the mouse, dismiss it with the mouse, and the restored focus left a pointer user staring at a keyboard affordance. It now uses the shared `:has(:focus-visible)` ring, which also brings the outline to the documented 3px offset. (#4935)
-
-@cixzhang
diff --git a/.changeset/date-week-start.md b/.changeset/date-week-start.md
deleted file mode 100644
index b2e302e47f..0000000000
--- a/.changeset/date-week-start.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] DateInput, DateRangeInput, and DateTimeInput now accept a `weekStartsOn` prop that sets the first day of the week in the calendar popover (0 = Sunday … 6 = Saturday, or a three-letter day name like `"mon"`). It forwards to the underlying Calendar, whose default stays Sunday, so existing usage is unchanged. (#4745)
-@freddymeta
diff --git a/.changeset/datetime-focus-steal.md b/.changeset/datetime-focus-steal.md
deleted file mode 100644
index 38d084b576..0000000000
--- a/.changeset/datetime-focus-steal.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] DateInput and DateTimeInput no longer steal focus when the open calendar is dismissed by clicking another control. Clicking the field to open the calendar, then clicking the time input (DateTimeInput) or any other element, kept yanking focus back to the date input because the popover's close handler always refocused it. It now restores focus only when the dismiss left focus detached (Escape, or a click on empty space), so a click that lands focus elsewhere is respected. (#4974)
-
-@freddymeta
diff --git a/.changeset/disabled-inputs-form-data.md b/.changeset/disabled-inputs-form-data.md
deleted file mode 100644
index 4f46292263..0000000000
--- a/.changeset/disabled-inputs-form-data.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] TextInput, TextArea, NumberInput: a disabled field is no longer submitted with the form when `disabledMessage` is set. Showing the reason tooltip requires swapping the native `disabled` attribute for `aria-disabled` + `readOnly`, so the message stays discoverable by pointer and keyboard — but read-only fields still serialize into `FormData`, and these three kept their `name`, so a locked field posted its value. They now withhold the `name` while disabled, matching CheckboxInput and Switch (which forward the name only when enabled) and the hidden-input carriers in Selector, MultiSelector, Slider, and Tokenizer (which mirror `disabled`). Adds form-participation coverage to all three so the guarantee is pinned. (#4811)
-@josephfarina
diff --git a/.changeset/dropdown-menu-pointer-open-focus.md b/.changeset/dropdown-menu-pointer-open-focus.md
deleted file mode 100644
index f7c01d8e14..0000000000
--- a/.changeset/dropdown-menu-pointer-open-focus.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] DropdownMenu/MoreMenu: opening with a pointer no longer highlights the first item as if it were selected (#4477). Initial focus now follows the input modality: keyboard opens (Enter/Space/ArrowDown on the trigger) still focus the first enabled item per the APG menu-button pattern, while pointer opens focus the menu container itself so the first ArrowDown moves to item 1. Synthesized clicks (detail 0, e.g. screen reader activation) and programmatic controlled opens keep the first-item focus behavior. Covers data-driven items mode, compound mode, and MoreMenu, which share the open path.
-@jiunshinn
diff --git a/.changeset/empty-state-contract-role.md b/.changeset/empty-state-contract-role.md
deleted file mode 100644
index 2a73a6078e..0000000000
--- a/.changeset/empty-state-contract-role.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] EmptyState: the rest spread sits before the contract `role`, so a consumer can no longer clobber the landmark role the component guarantees (#4826).
-
-@cixzhang
diff --git a/.changeset/empty-state-targets-selector-typeahead.md b/.changeset/empty-state-targets-selector-typeahead.md
deleted file mode 100644
index 4bcff9b24e..0000000000
--- a/.changeset/empty-state-targets-selector-typeahead.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] Selector, MultiSelector and Typeahead expose their empty ("No results found") state as a themeable target (#4756, #4862) — `astryx-selector-empty-state`, `astryx-multi-selector-empty-state` and `astryx-typeahead-empty-state`. Themes can restyle the empty state without the fragile structural selectors consumers previously had to reach for. (The Selector search field is a TextInput, so its placeholder is reachable today via `.astryx-text-input::placeholder`; a Selector-scoped placeholder seam would require a TextInput change and is left as a possible follow-up.)
-
-@freddymeta
diff --git a/.changeset/empty-state-title-description-targets.md b/.changeset/empty-state-title-description-targets.md
deleted file mode 100644
index c409806fe6..0000000000
--- a/.changeset/empty-state-title-description-targets.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] EmptyState: add `empty-state-title` and `empty-state-description` theme targets on the title heading and the description. A theme can now restyle the title and description directly (e.g. font size, color, per `variant`) instead of reaching them through structural `> div:has(> :is(h1..h6))` selectors that reverse-engineer which element is which. (#4942)
-
-@freddymeta
diff --git a/.changeset/fix-indicator-falsy-children.md b/.changeset/fix-indicator-falsy-children.md
deleted file mode 100644
index 229489ac5d..0000000000
--- a/.changeset/fix-indicator-falsy-children.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Indicator: a falsy `children` no longer deletes the state mark. The busy idiom a host actually writes — `children={isBusy && <Spinner/>}` — passes `false` when it is not busy, and `false` is neither `null` nor caught by `??`, so all three indicators took the children path, rendered nothing in it, and dropped the checkmark, the checkbox tick and the radio dot on every selected row. They now use `isRenderable`, so only children that actually render replace the mark. `0` still counts as content, since it renders the character "0". (#4913)
-
-CheckIndicator's children slot also reserves the glyph's box and carries its color, so swapping a Spinner in no longer shifts the row or loses the disabled shade.
-
-Fixes #4893.
-
-@cixzhang
diff --git a/.changeset/focus-outline-consistency.md b/.changeset/focus-outline-consistency.md
deleted file mode 100644
index cd2ef1a18a..0000000000
--- a/.changeset/focus-outline-consistency.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Consolidate general interactive focus outlines onto one definition — 2px `--color-accent` at 3px offset, matching Design Conventions. (#4654)
-
-Most general controls had drifted to a 2px offset; Button, Calendar, Dialog and Pagination were the ones still on spec. Their value wins, so a focus ring on the drifted components (Link, TabList, Token, TreeList, SegmentedControl, TopNav items) now sits 1px further from its control.
-
-Destructive buttons keep their error-colored ring, and `--button-focus-offset` is unchanged. Form and input focus treatments are out of scope.
-
-@cixzhang
diff --git a/.changeset/heading-display-type-theme-scale.md b/.changeset/heading-display-type-theme-scale.md
deleted file mode 100644
index 3d8a53fbbf..0000000000
--- a/.changeset/heading-display-type-theme-scale.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] `<Heading type="display-N">` now sizes correctly under every theme, matching `Text`'s behavior. `generateTypeScaleComponents()` only emitted `level:N`-keyed CSS rules for `heading`, with no `type:display-N` counterpart — so as soon as a theme supplied `typography.scale`, the generated theme-layer CSS's `level:N` rule was the only one present and silently won regardless of `type`, discarding the prop. A theme with no typography config was unaffected, which made the bug look intermittent. (#4859)
-
-@HelloOjasMutreja
diff --git a/.changeset/high-contrast-borders.md b/.changeset/high-contrast-borders.md
deleted file mode 100644
index e57ca3f3bb..0000000000
--- a/.changeset/high-contrast-borders.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] theme: `color.contrast: 'high'` now strengthens border tokens too — the emphasized border tone is pulled toward mid-scale (stronger against both light and dark surfaces) and the subtle hairline's alpha is doubled, so structural boundaries stay perceivable in high-contrast themes instead of only text/icons changing. (#4529)
-@ernestt
diff --git a/.changeset/icon-theme-target-consolidation.md b/.changeset/icon-theme-target-consolidation.md
deleted file mode 100644
index 13209cf0cc..0000000000
--- a/.changeset/icon-theme-target-consolidation.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Icons render through `<Icon>` and carry their component's theme target (#4838).
-
-Styling-only wrappers around rotating icons are gone, and each rotation now sits on the icon element that already carries the component's theme target — so a theme reaches the glyph and its open/closed transform through one selector. No new theme targets: Selector, MultiSelector and ComplexSelector consolidate onto their existing `*-indicator-icon` targets, and the Table plugins and TreeList simply shed redundant wrapper elements.
-
-Where an RTL mirror sat on a separate parent element, it is folded into each state's transform (`scaleX(-1) rotate(...)`) so one element carries both. In the Table plugins that mirror was inert — `transform` does not apply to a non-replaced inline box — so RTL disclosure chevrons now mirror correctly where they silently did not before.
-
-Registry glyphs in SideNav, TopNav, Collapsible, TreeList and Breadcrumbs now render through `<Icon>` instead of `useIcon()` inside a hand-written `<span>`. Those spans were a weaker reimplementation of `<Icon>`, which already resolves the same glyph and renders a span carrying merged `className`/`style`/`xstyle` plus the `astryx-icon` theme target. The converted sites gain that target, and the node count is unchanged. `useIcon()` keeps its place for the cases that resolve a glyph _without_ rendering it: MoreMenu and ChatSendButton pass the node as a default for a consumer-overridable prop, which `<Icon>` cannot express.
-
-Also adds the `@astryx/no-wrapper-transform` lint rule (warn) for `<div>`/`<span>` wrappers that exist to transform the icon inside them.
-
-@cixzhang
diff --git a/.changeset/indicator-decorative-contract.md b/.changeset/indicator-decorative-contract.md
deleted file mode 100644
index b136a1393e..0000000000
--- a/.changeset/indicator-decorative-contract.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Indicator: a caller can no longer un-hide or focus a decorative indicator (#4921, #4947).
-
-`IndicatorProps` now omits `aria-hidden`, `role`, `aria-label`, `aria-labelledby` and `tabIndex` — passing `role` or `tabIndex` is a compile error — and each indicator emits its own `aria-hidden` after `{...rest}`, so a forwarded one cannot win. Un-hiding an indicator had it announced next to the control that owns the accessible name, saying the same thing twice; a tab stop on one is a focusable node inside a hidden subtree, an axe `aria-hidden-focus` violation.
-
-Nothing is stripped: every other prop, including a forwarded `aria-label`, still reaches the DOM, where it is inert inside an `aria-hidden` subtree. Note that TypeScript exempts hyphenated JSX attributes from excess-property checking, so the type alone cannot reject `aria-*`; the attribute order is what enforces it. `tabIndex` is a plain identifier, so its omission stands on its own.
-
-Also corrects two doc claims: a replacement must render `children` when they will actually draw something (`isRenderable`, not `children ?? mark`), and "passing `role` is a compile error" holds for a literal attribute — a spread bypasses excess-property checking.
-
-Fixes #4918.
-
-@cixzhang
diff --git a/.changeset/input-clear-icon-theme-targets.md b/.changeset/input-clear-icon-theme-targets.md
deleted file mode 100644
index 0b636e4f7b..0000000000
--- a/.changeset/input-clear-icon-theme-targets.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] Every clearable input now renders its clear (✕) affordance through the shared `InputClearButton`, so the glyph is themeable in one place via the `astryx-input-clear-icon` target instead of a per-component target or a fragile descendant selector. The component-specific `astryx-{date-input,date-range-input,selector,multi-selector}-clear-icon` targets still render for a deprecation window — migrate to `input-clear-icon`. The clear glyph is now a consistent secondary-color icon with a ghost-button hover affordance across the whole family. (#4876)
-
-@freddymeta
diff --git a/.changeset/input-disabled-theme-state.md b/.changeset/input-disabled-theme-state.md
deleted file mode 100644
index 49aba85a59..0000000000
--- a/.changeset/input-disabled-theme-state.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] The input family (TextInput, NumberInput, DateInput, DateRangeInput, DateTimeInput, TimeInput, TextArea, Tokenizer) now reflects its disabled state on the root theming target as `data-disabled="disabled"` plus a `.disabled` variant (only when disabled), so a theme can gate its own hover/border treatment on the disabled state — mirroring the existing `status`/`size` reflection — instead of relying on structural `:has(input:disabled)` CSS. This closes a documented theming gap for downstream consumers. (#4794)
-
-@freddymeta
diff --git a/.changeset/layer-offset-render-prop.md b/.changeset/layer-offset-render-prop.md
deleted file mode 100644
index 2af64643f2..0000000000
--- a/.changeset/layer-offset-render-prop.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] useLayer takes an `offset` for clearance from the anchor, derived from the resolved placement, and the layer wrappers stop hand-rolling it (#4803)
-@cixzhang
diff --git a/.changeset/menu-item-activation-fixes.md b/.changeset/menu-item-activation-fixes.md
deleted file mode 100644
index 4756325b77..0000000000
--- a/.changeset/menu-item-activation-fixes.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] A DropdownMenu item closes the menu on activation even when it carries no `onClick`, and a data-mode row that changes its own label keeps its identity instead of remounting and dropping focus (#4953)
-@cixzhang
diff --git a/.changeset/menu-item-data-additions.md b/.changeset/menu-item-data-additions.md
deleted file mode 100644
index 62de281c80..0000000000
--- a/.changeset/menu-item-data-additions.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] DropdownMenu rows take two new options (#4953). `DropdownMenuItem` takes `hasCloseOnSelect`, so a plain action can report its result on the item instead of closing the menu. `DropdownMenuItemData` and `DropdownMenuSection` take an optional `id`, the row's stable React key for a menu whose items reorder or filter (also reaching MoreMenu, ContextMenu and Breadcrumbs, which share the type).
-
-@cixzhang
diff --git a/.changeset/menu-item-data-from-item-props.md b/.changeset/menu-item-data-from-item-props.md
deleted file mode 100644
index 0774ae7e29..0000000000
--- a/.changeset/menu-item-data-from-item-props.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[chore] `DropdownMenuItemData` — the shape of one entry in a `DropdownMenu` / `ContextMenu` / `MoreMenu` `items` array — is now sourced from `DropdownMenuItemProps` (`Pick`) instead of restating `icon`, `onClick`, `isDisabled`, and `variant` by hand, and `renderDropdownItems` forwards the whole item to `DropdownMenuItem` rather than copying it field by field. The data and compound APIs describe the same item, so they can no longer drift — exposing another item prop to the data API is now one key in the `Pick`. The type is structurally identical to before (`label` is still narrowed to `string`, since the renderer keys rows by it) and rendering is unchanged. (#4809)
-@cixzhang
diff --git a/.changeset/menu-item-destructive-variant.md b/.changeset/menu-item-destructive-variant.md
deleted file mode 100644
index 8d116b5e35..0000000000
--- a/.changeset/menu-item-destructive-variant.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] DropdownMenuItem now accepts a `variant` prop (`'default' | 'destructive'`); `'destructive'` renders the label, description, and icon in the error color for dangerous actions like Delete. The data-driven `items` API accepts the same `variant` field, and because ContextMenu shares the menu-item data shape, context-menu items get it too. Defaults to `'default'`, so existing menus are unchanged. (#4753)
-@freddymeta
diff --git a/.changeset/menu-item-mode-parity.md b/.changeset/menu-item-mode-parity.md
deleted file mode 100644
index d98535dba3..0000000000
--- a/.changeset/menu-item-mode-parity.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-'@astryxdesign/cli': minor
-'@astryxdesign/core': minor
----
-
-[breaking] DropdownMenu's two item modes are peers again. Compound mode gains a `DropdownMenuDivider` component (aliased as `ContextMenuDivider` and `BreadcrumbMenuDivider`), which the data path also renders, so `{type: 'divider'}` and `<DropdownMenuDivider />` produce identical DOM, spacing, and theme target. Data mode gains `endContent` and `description`, so an `items` row can carry a shortcut hint or secondary text without dropping to compound mode. Its `label` widens from `string` to `ReactNode`, matching compound mode: the narrowing existed only because rows were keyed by label, and they no longer are (#4953).
-
-The bare names now belong to those components, so the data-mode option types take the `Data` suffix their sibling `DropdownMenuItemData` already carries: `DropdownMenuDivider` → `DropdownMenuDividerData`, `ContextMenuDivider` → `ContextMenuDividerData`, `BreadcrumbMenuDivider` → `BreadcrumbMenuDividerData`. TypeScript cannot re-export a value and a type under one name from a single barrel, so the rename is what makes the components exportable at all. Run `astryx upgrade --apply` to rewrite the type imports; a missed one fails at compile time rather than silently.
-
-@cixzhang
diff --git a/.changeset/merge-refs-react-cleanup.md b/.changeset/merge-refs-react-cleanup.md
deleted file mode 100644
index 35cb2e118e..0000000000
--- a/.changeset/merge-refs-react-cleanup.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Fix `mergeRefs` cleanup so object refs are cleared and callback refs without
-cleanup functions still receive `null` when a merged ref returns cleanup.
-
-@czarandy
diff --git a/.changeset/migrate-style-only-wrappers.md b/.changeset/migrate-style-only-wrappers.md
deleted file mode 100644
index ae72bb9efe..0000000000
--- a/.changeset/migrate-style-only-wrappers.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[chore] Remove 15 `<div>`/`<span>` wrappers that existed only to style the single Astryx component inside them (Carousel, Lightbox, MobileNav, Pagination, Switch, TopNav, TopNavMegaMenu, Table row-expansion menu icon); the styles now sit on that component's own root via `xstyle` — or, for Pagination's page-size Selector, its documented `width` prop. No API change, but the rendered DOM has one fewer node at each site, so anything selecting on that structure is affected: `patch`, not `[breaking]`, because the removed nodes were internal implementation with no documented contract, no theme target, and no stable class. Two rendering defects the wrappers were causing are fixed as a side effect: the Lightbox prev/next chevrons and the Pagination first/last chevrons were 2.5-3px off their button's vertical centre. (#4775)
-
-@cixzhang
diff --git a/.changeset/more-menu-placement-alignment.md b/.changeset/more-menu-placement-alignment.md
deleted file mode 100644
index 4ceafdb1db..0000000000
--- a/.changeset/more-menu-placement-alignment.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] MoreMenu forwards `placement` and `alignment` to its DropdownMenu. Both were part of the underlying menu's API but were dropped on the floor by the wrapper, so an overflow menu — the one component whose job is a trailing-edge affordance — could not ask to be end-aligned; it only looked right when the layer happened to collision-flip. Defaults are unchanged: MoreMenu passes the props straight through, so DropdownMenu's `'below'` / `'start'` still apply. (#4952)
-
-@cixzhang
diff --git a/.changeset/multiselector-row-slots.md b/.changeset/multiselector-row-slots.md
deleted file mode 100644
index 55f7a00af6..0000000000
--- a/.changeset/multiselector-row-slots.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] MultiSelector: dropdown option rows are themeable through a single (#4628)
-`multi-selector-option` target, carrying the row's `size` and its `select-all`,
-`selected` and `disabled` states — so a theme can express "selected option at
-large" or restyle just the Select All row. Row typography moved from the label
-span onto the row, so one override reaches both the fallback label and
-`renderOption` content; custom option content now inherits the row's font and
-disabled color.
-@athz
diff --git a/.changeset/number-input-formatted-wheel-steppers.md b/.changeset/number-input-formatted-wheel-steppers.md
deleted file mode 100644
index bee7d910ac..0000000000
--- a/.changeset/number-input-formatted-wheel-steppers.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] NumberInput: render a text-backed spinbutton that supports formatted display values, explicit wheel and keyboard stepping, and opt-in trailing increment/decrement buttons. Existing wheel stepping remains enabled by default and can now be disabled with `isWheelEnabled={false}`.
-
-@czarandy
diff --git a/.changeset/pagination-caret-icon-centering.md b/.changeset/pagination-caret-icon-centering.md
deleted file mode 100644
index 7645e50ddf..0000000000
--- a/.changeset/pagination-caret-icon-centering.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Pagination: vertically center the prev/next caret icons. The RTL mirror wrapped each chevron in a `display: contents` span, which dropped the icon out of the button's flex-centering context so the glyph sat a few pixels high. The mirror transform now rides on the `Icon` directly via `xstyle`, so the icon stays a centered flex child and still flips under RTL — no wrapper element. (#4723)
-@freddymeta
diff --git a/.changeset/popup-theme-targets.md b/.changeset/popup-theme-targets.md
deleted file mode 100644
index df142c6e4e..0000000000
--- a/.changeset/popup-theme-targets.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] ComplexSelector and MultiSelector: add `astryx-complex-selector-popup` and `astryx-multi-selector-popup` theme targets on the popup surface, so a theme can style the popup — background, border, radius, elevation, padding — through `defineTheme` instead of a structural selector or a fork. Both components already targeted their trigger but nothing in the popup, which is the part that has to match the rest of an app's menus. The target sits on the popup's content box rather than the layer element: `useLayer` zeroes the layer's borders, padding and background, so the content box is the surface that actually paints. Purely additive — default rendering is unchanged. (#4991)
-
-@cixzhang
diff --git a/.changeset/progressbar-mark-size-derived-vars.md b/.changeset/progressbar-mark-size-derived-vars.md
deleted file mode 100644
index e2398cc356..0000000000
--- a/.changeset/progressbar-mark-size-derived-vars.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] ProgressBar: a theme can size the target mark again without `!important`. The mark's `width`/`height` were plain StyleX declarations, so a `progressbar-mark` override only landed where `@layer astryx-theme` outranks the component atomics — in a source-build app that compiles StyleX without `useCSSLayers` the atomics are unlayered and beat every theme rule, leaving no way to resize the tick but an unlayered `!important` rule. The dimensions now travel as derived vars with no competing declaration, so the same `defineTheme` entry lands in either build. Theme authoring is unchanged; a mark's color is still a plain declaration and still depends on the layer order. (#4970)
-
-@cixzhang
diff --git a/.changeset/progressbar-marks-take-their-color-from-what-the-ywvu.md b/.changeset/progressbar-marks-take-their-color-from-what-the-ywvu.md
deleted file mode 100644
index f4602f5f50..0000000000
--- a/.changeset/progressbar-marks-take-their-color-from-what-the-ywvu.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] ProgressBar marks take their color from what they sit on: the fill variant's on-color inside the filled area, the emphasized divider color out on the track (#4741)
-@cixzhang
diff --git a/.changeset/prop-forwarding-precedence.md b/.changeset/prop-forwarding-precedence.md
deleted file mode 100644
index e01666c9ab..0000000000
--- a/.changeset/prop-forwarding-precedence.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] CommandPalette, ComplexSelector and ContextMenu: a consumer's `onClick`/`onMouseEnter` is composed with the component's own handler instead of being overwritten by it, and `{...props}` no longer lands after the props the component must control (#4725).
-
-@cixzhang
diff --git a/.changeset/readonly-text-inputs.md b/.changeset/readonly-text-inputs.md
deleted file mode 100644
index 479e53efee..0000000000
--- a/.changeset/readonly-text-inputs.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] TextInput, TextArea, NumberInput: add `isReadOnly`. The value is shown at full opacity and still submits with the form, but cannot be edited — the "visible, locked, still sent" case that `isDisabled` deliberately does not cover, since disabled controls are excluded from submission. Read-only fields are not dimmed and stay in the tab order, matching the native `readonly` semantics they compile to; `isDisabled` takes precedence when both are set, and the clear button is hidden while read-only. The state is reflected on the root theming target as `data-readonly="readonly"`, alongside the existing `data-disabled`, so a theme can paint it without structural `:has(input:read-only)` CSS. `isReadOnly` already existed on CheckboxInput, CheckboxList, and PowerSearch; the remaining text-ish inputs (DateInput, DateRangeInput, DateTimeInput, TimeInput, Tokenizer) do not have it yet. (#4816)
-@josephfarina
diff --git a/.changeset/remove-dropdown-menu-radio-dot-target.md b/.changeset/remove-dropdown-menu-radio-dot-target.md
deleted file mode 100644
index 72c202ca16..0000000000
--- a/.changeset/remove-dropdown-menu-radio-dot-target.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astryxdesign/core': minor
----
-
-[breaking] Remove the `dropdown-menu-radio-dot` theme target. Menu radio rows draw the shared radio indicator now, so the dot is the indicator's dot: target `radio-indicator-dot` (the legacy `radio-dot` name still matches it too). The row's circle keeps its `dropdown-menu-radio` target, so only the dot moved. (#4890)
-
-Runtime themes are not validated — a theme keyed on the removed target keeps compiling and silently stops matching — so `astryx upgrade` now carries `rename-dropdown-menu-radio-dot-target`, which rewrites the key and the `astryx-dropdown-menu-radio-dot` class. The new target is app-wide rather than menu-only (there is no menu-only dot element left to address), so the codemod leaves a TODO at each site it rewrites.
-
-@cixzhang
diff --git a/.changeset/required-disabled-blocks-submit.md b/.changeset/required-disabled-blocks-submit.md
deleted file mode 100644
index 4e6b36ef36..0000000000
--- a/.changeset/required-disabled-blocks-submit.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] CheckboxInput, Switch: a `required` control that is disabled with a `disabledMessage` no longer blocks the whole form from submitting. Showing the reason tooltip swaps the native `disabled` attribute for `aria-disabled`, which leaves the control subject to constraint validation — so an unchecked required checkbox (or an off required switch) the user has been told they cannot touch made the form permanently unsubmittable, with the browser reporting a validation error against a control they had no way to satisfy. Both now detach from the form via `form=""` while focusable-disabled, matching a natively disabled control and the treatment RadioListItem already applied. Enabled controls are unaffected — a required, unchecked checkbox still blocks submission as it should. (#4815)
-@josephfarina
diff --git a/.changeset/row-expansion-detail-panel.md b/.changeset/row-expansion-detail-panel.md
deleted file mode 100644
index 6042a52fd5..0000000000
--- a/.changeset/row-expansion-detail-panel.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astryxdesign/core': minor
----
-
-[breaking] useTableRowExpansion is now a detail-panel plugin: it expands a full-width panel below a row via renderExpanded(item), and useTableRowExpansionState is removed. For hierarchical/tree tables (child rows that reuse the parent columns), migrate to useTableTreeData + useTableTreeState. See the migration example on the useTableRowExpansion docs. (#4609)
-
-**Codemod:** `npx astryx upgrade --apply` runs `migrate-table-rowexpansion-to-tree`, which rewrites tree-mode `useTableRowExpansion` call sites onto `useTableTreeData` + `useTableTreeState`.
-
-@humbertovirtudes
diff --git a/.changeset/scroll-lock-out-of-order-cleanup.md b/.changeset/scroll-lock-out-of-order-cleanup.md
deleted file mode 100644
index 91cebc8554..0000000000
--- a/.changeset/scroll-lock-out-of-order-cleanup.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] `useScrollLock`: coordinate concurrent locks with a shared counter, so overlays closing out of order no longer unlock the body early or leave it stuck locked. (#4788)
-
-@alex-js-ltd
diff --git a/.changeset/selector-check-and-disabled-targets.md b/.changeset/selector-check-and-disabled-targets.md
deleted file mode 100644
index 2f3c88e184..0000000000
--- a/.changeset/selector-check-and-disabled-targets.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] Selector/MultiSelector: two additive theming seams (#4626, #4627). A `selector-check` theme target on the selected-row checkmark lets themes restyle or hide it (e.g. to compose their own selected indicator via `renderOption`) instead of relying on a structural sibling selector, and `data-disabled` now reflects on the trigger for theme-driven disabled styling. Rotation styles remain on the indicator-icon target. Default appearance is unchanged.
-
-@athz
diff --git a/.changeset/selector-popover-alignment.md b/.changeset/selector-popover-alignment.md
deleted file mode 100644
index 2743ac37c5..0000000000
--- a/.changeset/selector-popover-alignment.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Selector: keep the selected option text aligned with the closed trigger across every menu position by measuring untransformed layout geometry during the popover entry animation. (#4802)
-@ernestt
diff --git a/.changeset/selector-trigger-icon-consolidation.md b/.changeset/selector-trigger-icon-consolidation.md
deleted file mode 100644
index 565cffad16..0000000000
--- a/.changeset/selector-trigger-icon-consolidation.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Drop the shared trigger-icon wrapper in Selector, MultiSelector and ComplexSelector — each trigger icon is now the element that carries its own box, colour and theme target. (#4846)
-
-The wrapper set a 16px box and `--color-icon-secondary` on a span with no theme target of its own, shared by two different affordances: the status glyph and the disclosure chevron. `<Icon>` already provides both (`size="sm"` is the same 16px box, `color="secondary"` the same token), so the wrapper only stood between a theme and the icons — and made the two affordances share a node they never should have shared.
-
-@cixzhang
diff --git a/.changeset/selector-typeahead-select.md b/.changeset/selector-typeahead-select.md
deleted file mode 100644
index 5f0387e7ce..0000000000
--- a/.changeset/selector-typeahead-select.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Selector selects by typing, matching a native select (#3764)
-
-Typing a printable character on a focused, closed Selector now selects the matching option — tab to a state picker, press "C", get "CA" — instead of doing nothing until the menu is opened. Repeated presses cycle through options sharing a first letter, and spaces count as match characters ("new y" reaches "New York"). With the menu open, typing moves the highlight and Enter commits, as before. With `hasSearch`, typing on the closed trigger opens the popup and seeds the search input.
-
-Matching reuses the shared `useTypeahead` hook, so Selector behaves like the other collections (menus, listboxes). Because a match committed from the closed trigger changes the value without opening the popup or moving focus, the new selection is announced through `useAnnounce`.
-
-`useCombobox` no longer implements typeahead itself; callers that want it compose `useTypeahead` and run it ahead of the combobox key handler.
-
-Adopting the shared hook exposed two matching bugs in it, fixed here — so `DropdownMenu`, `ContextMenu` and `NavHeadingMenu` improve too. A single-character search now starts _after_ the current item, as native `<select>` and the APG pattern do, instead of only advancing on a repeated press: pressing a letter that the focused item already begins with used to do nothing at all. And with nothing focused the search now genuinely starts at the top, rather than wrapping onto the last item first. Characters composed with Option/Alt (`Option+a` → "å") count as typeahead again, so accented labels stay reachable.
-
-@AKnassa
diff --git a/.changeset/self-host-lookaside-images.md b/.changeset/self-host-lookaside-images.md
deleted file mode 100644
index 9d78dc8aaf..0000000000
--- a/.changeset/self-host-lookaside-images.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[chore] Self-host template demo imagery in the repo instead of streaming it (#3973)
-from the internal `lookaside.facebook.com` CDN.
-
-- Template demo images are now committed under
- `apps/docsite/public/template-assets/` and referenced by root-relative
- `/template-assets/*` paths (previously Meta-internal CDN URLs invisible to
- external contributors).
-- `stripTemplateAssetRefs` still swaps these paths for the inline `data:` URI
- placeholder on scaffold, so generated projects render with zero setup and no
- network dependency — no image is ever copied into a scaffolded project.
-
-@imdreamrunner
diff --git a/.changeset/sidenav-footer-collapsed-centering.md b/.changeset/sidenav-footer-collapsed-centering.md
deleted file mode 100644
index d7c964688c..0000000000
--- a/.changeset/sidenav-footer-collapsed-centering.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] SideNav: `footer` content now centers when the nav is collapsed, matching how `children` already centers. `stickyBottomCollapsed` (the collapsed-rail wrapper for `footer`) was missing `alignItems: 'center'`, which its sibling `scrollableCollapsed` (the collapsed-rail wrapper for `children`) already had — so full-width footer content (e.g. an icon-only button) stretched to the collapsed rail's width instead of centering. (#4852)
-
-@HelloOjasMutreja
diff --git a/.changeset/sidenav-heading-collapsed-popover-anchor.md b/.changeset/sidenav-heading-collapsed-popover-anchor.md
deleted file mode 100644
index d344a1e9e9..0000000000
--- a/.changeset/sidenav-heading-collapsed-popover-anchor.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] SideNav: the collapsed icon-only `SideNavHeading` trigger with a `menu` no longer omits its popover's anchor. The trigger's ref callback wasn't forwarding to `usePopover`'s `triggerRef`, so the menu popover had no CSS anchor to position against and fell back to the viewport corner instead of opening next to the trigger. (#4850)
-
-@HelloOjasMutreja
diff --git a/.changeset/statusdot-a11y-guidance.md b/.changeset/statusdot-a11y-guidance.md
deleted file mode 100644
index 32569f5d54..0000000000
--- a/.changeset/statusdot-a11y-guidance.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[docs] StatusDot: document the builder's accessibility responsibilities in the usage dos and don'ts. A color-only dot is not fully accessible in isolation, so the guidance now says to use it as a binary present/absent signal, pair it with a label, carry the status as a shape via an icon, and — if neither fits — convey the status through an accessible alternative. (#4737)
-@ernestt
diff --git a/.changeset/stepper-nonvisual-hygiene.md b/.changeset/stepper-nonvisual-hygiene.md
deleted file mode 100644
index 546ff86d4f..0000000000
--- a/.changeset/stepper-nonvisual-hygiene.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] Stepper: localize the "Optional" step affordance via the new `@astryx.step.optional` message key so it translates like the rest of the component. No visual change in English. (#4872)
-
-@ernestt
diff --git a/.changeset/stepper-template-hardening.md b/.changeset/stepper-template-hardening.md
deleted file mode 100644
index 2104c42220..0000000000
--- a/.changeset/stepper-template-hardening.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] Stepper templates: the scaffolded Stepper blocks gain the a11y, theming and responsive-label hardening from the component audit, and their doc blocks match what they render (#4917).
-
-@ernestt
diff --git a/.changeset/streaming-text-grapheme-boundary.md b/.changeset/streaming-text-grapheme-boundary.md
deleted file mode 100644
index 9aa2c9355b..0000000000
--- a/.changeset/streaming-text-grapheme-boundary.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] `useStreamingText` no longer renders a broken glyph (a lone surrogate, or a partial ZWJ emoji sequence) for one frame when its fixed-code-unit reveal cadence happens to land inside a surrogate pair or multi-codepoint emoji. The rendered slice now snaps back to the nearest grapheme cluster boundary via `Intl.Segmenter` (with a surrogate-pair-safe fallback where it's unavailable); the reveal cadence itself is unchanged. Also corrected the hook's doc comment, which inaccurately described the cadence as advancing on word/syntax boundaries — it always advanced by fixed code units. (#4866)
-
-@HelloOjasMutreja
diff --git a/.changeset/table-context-action-destructive.md b/.changeset/table-context-action-destructive.md
deleted file mode 100644
index 790abf978f..0000000000
--- a/.changeset/table-context-action-destructive.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] Table: `contextMenuActions` now accept a `variant: 'destructive'` for dangerous row/column actions (e.g. Delete), rendered in the error color to match ContextMenu. (#4864)
-
-@freddymeta
diff --git a/.changeset/textarea-detached-no-icon-reserve.md b/.changeset/textarea-detached-no-icon-reserve.md
deleted file mode 100644
index 96e50dd228..0000000000
--- a/.changeset/textarea-detached-no-icon-reserve.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] TextArea: no longer reserves trailing space for the on-field status icon when `statusVariant="detached"`. The detached variant surfaces its status glyph in the message box below the field and renders no on-field icon, so the reserved inset pushed the text in for an icon that never appeared. Trailing space is now reserved only when the spinner or on-field status icon actually renders. (#4940)
-
-@freddymeta
diff --git a/.changeset/textarea-flush-wrapper-padding.md b/.changeset/textarea-flush-wrapper-padding.md
deleted file mode 100644
index 1044dc0011..0000000000
--- a/.changeset/textarea-flush-wrapper-padding.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] TextArea: remove the duplicate wrapper padding so the text and native resize grip sit flush to the edge. The wrapper's `padding: 0` shorthand was being overridden by the shared input-wrapper longhands, leaving the inset applied twice; it now zeroes with matching longhands. (#4813)
-
-@ernestt
diff --git a/.changeset/textarea-padding-inline-theme.md b/.changeset/textarea-padding-inline-theme.md
deleted file mode 100644
index d65742c0b3..0000000000
--- a/.changeset/textarea-padding-inline-theme.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] TextArea: theme the text inset by writing `paddingInline` on the `textarea` component key — it now drives the internal `--_textarea-inline-padding` var instead of landing on the wrapper. The wrapper stays flush (`padding: 0`), so the native resize grip keeps its true-corner position and the start icon, status, and character counter stay aligned to the text. Adds a `replaces` option to derived var entries for the general "map a property onto a var without emitting it on the class element" case. (#4793)
-
-@freddymeta
diff --git a/.changeset/theme-build-icons-specifier.md b/.changeset/theme-build-icons-specifier.md
deleted file mode 100644
index 11879618b3..0000000000
--- a/.changeset/theme-build-icons-specifier.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-'@astryxdesign/cli': patch
----
-
-[fix] cli: add `theme build --icons-specifier` so the generated module's icon import can be fully specified (#4620)
-
-The generated theme module imports the icon registry rather than inlining it, because the registry holds React elements. `astryx theme build` scraped that specifier out of the TypeScript source and emitted it verbatim, so `./icons` — valid TypeScript, invalid ESM — reached the generated `.js`. Every published theme's `/built` entry therefore failed to load in Node, including under Vite SSR and Next.js Pages Router, while bundlers papered over it by guessing the extension.
-
-No single extension is correct: the same source compiled by tsup lands at `icons.mjs` in a package with no `"type"` field and at `icons.js` in one with `"type": "module"`, and the generator runs before the compile step that produces either. The caller knows; now it can say so. Without the flag the specifier is emitted unchanged, so the default no-`--out` flow — where the neighbour is an uncompiled `icons.tsx` that only a bundler can resolve — is unaffected.
-
-The seven theme packages now declare `--icons-specifier ./icons.mjs` in their build scripts.
-
-@imdreamrunner
diff --git a/.changeset/theme-neutral-radius-none-fix.md b/.changeset/theme-neutral-radius-none-fix.md
deleted file mode 100644
index d356ccf37f..0000000000
--- a/.changeset/theme-neutral-radius-none-fix.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/theme-neutral': patch
----
-
-[fix] `--radius-none` no longer overrides to `0.25rem`. `--radius-none` and `--radius-full` are documented as always fixed (never scaled by a theme), matching `@astryxdesign/core`'s own defaults — this theme's radius group bump swept `--radius-none` along with it by mistake. Anything opting out of rounding via `--radius-none` under this theme now renders with a true `0px` radius again, instead of a silent 4px. (#4856)
-
-@HelloOjasMutreja
diff --git a/.changeset/themeable-indicators.md b/.changeset/themeable-indicators.md
deleted file mode 100644
index 0e71eb1fff..0000000000
--- a/.changeset/themeable-indicators.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-'@astryxdesign/core': patch
-'@astryxdesign/cli': patch
----
-
-[feature] Add themeable indicators — the componentized check, checkbox, and radio visuals. `defineTheme({indicators: {check: RadioIndicator}})` replaces one by name, and every component drawing it follows. (#4712)
-
-Theme targets now follow the component-name convention: `checkbox-indicator`, `radio-indicator`, `radio-indicator-dot`. The old names (`checkbox`, `radio`, `radio-dot`) are still emitted on the same element, so existing themes keep working — migrate at your convenience; they go away in the next major.
-
-Migration: menu radios use those shared targets now. `dropdown-menu-radio-dot` is removed — target `radio-indicator-dot`; `astryx upgrade` rewrites it for you.
-
-@cixzhang
diff --git a/.changeset/topnav-mega-menu-click-guard.md b/.changeset/topnav-mega-menu-click-guard.md
deleted file mode 100644
index 2ac4c204fc..0000000000
--- a/.changeset/topnav-mega-menu-click-guard.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] TopNavMegaMenu: fix the hover-then-click flicker where clicking a nav item after hovering dismissed the mega menu. The trigger is registered as the native invoker for its `popover="auto"` panel and uses a Vercel-style hover→click guard, so the click that naturally follows a hover confirms and pins the panel open instead of toggling it shut. Native outside-click, Escape dismissal, and sibling-popover exclusivity are preserved. Click/keyboard opens are pinned (persist past mouse-leave); hover opens stay transient. Keyboard activation (Enter/Space) always opens and moves focus into the panel, while touch/click without a preceding hover toggles cleanly (#3121)
-@imdreamrunner
diff --git a/.changeset/tree-typeahead-cycling.md b/.changeset/tree-typeahead-cycling.md
deleted file mode 100644
index dd348a85f6..0000000000
--- a/.changeset/tree-typeahead-cycling.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] TreeList typeahead now cycles through same-letter matches instead of stalling, and searches from the top when no treeitem is focused. (#4844)
-@alex-js-ltd
diff --git a/.changeset/treelist-flush-leaves-row-gap.md b/.changeset/treelist-flush-leaves-row-gap.md
deleted file mode 100644
index 011c16f91a..0000000000
--- a/.changeset/treelist-flush-leaves-row-gap.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[feat] TreeList: two additive changes. (1) A fully flat tree — one with no expandable items at all — now renders its rows flush instead of reserving an empty chevron-alignment column that nothing lines up under; any tree that has at least one expandable item keeps the same per-level alignment as before, so only fully flat trees change shape. (2) Adds a themeable `--tree-list-row-gap` for the inter-row gap, defaulting to a subtle `2px` (`var(--spacing-0-5)`) separation — matching the inter-row gap `List` and `DropdownMenu` already ship — so this shifts the default spacing of every tree by that amount; set it on the `tree-list` target to widen or close it. The gap rides collapse-proof `padding-block` on the row wrapper (not the paintable `tree-list-item` target), and the connector guides span it automatically without overhanging the last row. (#4540)
-@freddymeta
diff --git a/.changeset/typeahead-ime-composition-enter.md b/.changeset/typeahead-ime-composition-enter.md
deleted file mode 100644
index c34e34561d..0000000000
--- a/.changeset/typeahead-ime-composition-enter.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] `BaseTypeahead` (and everything built on it — `Typeahead`, `Tokenizer`, `PowerSearch`'s content-search field) no longer misinterprets the Enter keydown that commits an IME composition (Korean/Japanese/Chinese input) as "accept the highlighted suggestion". Previously that keydown both selected the highlighted result and cleared the input, so the still-composing syllable landed in the freshly-cleared field and became its own spurious second selection on the next Enter. Also guarded the Enter-to-save handler in `PowerSearchEditPopover`, which had the same gap when typing a CJK filter value. (#4860)
-
-@HelloOjasMutreja
diff --git a/.changeset/use-long-press-multitouch-cancel.md b/.changeset/use-long-press-multitouch-cancel.md
deleted file mode 100644
index 81e8b62d7a..0000000000
--- a/.changeset/use-long-press-multitouch-cancel.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] useLongPress: cancel the pending long-press when a second finger joins mid-press. Previously `onTouchStart` and `onTouchMove` only checked `touches.length` on their own event, so a second finger arriving after a single-finger press had already started the timer (e.g. a pinch-to-zoom gesture) fell through the `touches.length !== 1` guard without ever clearing it — `onLongPress` could still fire with the stale first-finger point mid-gesture. No API change. (#4735)
-@alex-js-ltd
diff --git a/.changeset/usecontainerreveal-scopes-the-reveal-by-inherita-guca.md b/.changeset/usecontainerreveal-scopes-the-reveal-by-inherita-guca.md
deleted file mode 100644
index 446a69addb..0000000000
--- a/.changeset/usecontainerreveal-scopes-the-reveal-by-inherita-guca.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astryxdesign/core': patch
----
-
-[fix] useContainerReveal scopes the reveal by inheritance instead of a marker pool: no dev warnings on lists longer than six rows, and isEnabled now takes effect after mount (#4955)
-@cixzhang
diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md
index 27b33eccda..6e53e14b5f 100644
--- a/packages/build/CHANGELOG.md
+++ b/packages/build/CHANGELOG.md
@@ -1,5 +1,22 @@
# @xds/build
+# 0.4.0
+
+#### Fixes
+
+- build: import `node:fs` statically so the Vite plugin's package discovery survives the ESM build (#4972)
+ `astryxStylex()`'s config plugin discovered installed `@astryxdesign/*` packages with `require('node:fs')`. The `./vite` export ships only an ESM bundle (`dist/vite.mjs`, esbuild `format: 'esm'`), where esbuild lowers `require` to a shim that throws `Dynamic require of "node:fs" is not supported` — always, since native `require` never exists under ESM. The surrounding `try/catch` swallowed the throw, so `optimizeDeps.exclude` silently fell back to `['@astryxdesign/core']` and every other installed Astryx package stayed eligible for Vite pre-bundling, which strips `stylex.create`/`defineVars` calls and causes runtime errors.
+
+ The discovery now uses a static `import fs from 'node:fs'`, which esbuild preserves as a real ESM import. A regression test compiles `vite.ts` with the same esbuild options as `build.mjs` and runs the discovery in a child `node` process, since in-process test runners provide a `require` shim that masks the bug.
+
+#### Contributors
+
+Thanks to everyone who contributed to this release:
+
+- @is-jain
+
+---
+
# 0.3.0
---
diff --git a/packages/build/package.json b/packages/build/package.json
index f9c8439056..9c5650eedf 100644
--- a/packages/build/package.json
+++ b/packages/build/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/build",
- "version": "0.3.0",
+ "version": "0.4.0",
"description": "Build plugins for XDS source builds — babel, PostCSS, and Vite integrations",
"author": "Meta Open Source",
"license": "MIT",
diff --git a/packages/charts/package.json b/packages/charts/package.json
index d9ca9f1a16..d7365d823b 100644
--- a/packages/charts/package.json
+++ b/packages/charts/package.json
@@ -58,7 +58,7 @@
},
"peerDependencies": {
"@stylexjs/stylex": ">=0.10.0",
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
},
diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md
index fc3ee22ffc..666ae1cb1d 100644
--- a/packages/cli/CHANGELOG.md
+++ b/packages/cli/CHANGELOG.md
@@ -1,5 +1,74 @@
# @xds/cli
+# 0.4.0
+
+#### Breaking Changes
+
+- DropdownMenu's two item modes are peers again. Compound mode gains a `DropdownMenuDivider` component (aliased as `ContextMenuDivider` and `BreadcrumbMenuDivider`), which the data path also renders, so `{type: 'divider'}` and `<DropdownMenuDivider />` produce identical DOM, spacing, and theme target. Data mode gains `endContent` and `description`, so an `items` row can carry a shortcut hint or secondary text without dropping to compound mode. Its `label` widens from `string` to `ReactNode`, matching compound mode: the narrowing existed only because rows were keyed by label, and they no longer are (#4953).
+ The bare names now belong to those components, so the data-mode option types take the `Data` suffix their sibling `DropdownMenuItemData` already carries: `DropdownMenuDivider` → `DropdownMenuDividerData`, `ContextMenuDivider` → `ContextMenuDividerData`, `BreadcrumbMenuDivider` → `BreadcrumbMenuDividerData`. TypeScript cannot re-export a value and a type under one name from a single barrel, so the rename is what makes the components exportable at all. Run `astryx upgrade --apply` to rewrite the type imports; a missed one fails at compile time rather than silently.
+
+#### New Features
+
+- Add the `migrate-table-rowexpansion-to-tree` codemod (runs on `astryx upgrade`): rewrites the removed `useTableRowExpansionState` tree pattern to `useTableTreeState` + `useTableTreeData`. Detail-panel usage (`renderExpanded`) is left untouched. (#4884)
+- Add a self-documenting layer to the CLI: typed, colocated `.doc.mjs` for every command, every `@astryxdesign/cli/api` function, and every authored schema (config, integration, codemod, the response envelope, and the doc-types themselves). Adds the `FunctionDoc`, `SchemaDoc`, `CommandDoc`, and `EnumDoc` authoring types with sealed parsers. (#4714)
+ Every command's `--help` and its `astryx manifest` entry are now built from that command's colocated `CommandDoc` via a `defineCommand` converter, so the docs and the CLI can no longer describe different things. The migration is behavior-preserving: help text, command output, error paths, and exit codes are byte-identical.
+
+ The CLI README's command, error-code, and response-type tables are now generated from the manifest and the `EnumDoc`s, correcting real drift — the error-code table listed two codes that do not exist and omitted several that do, and the command table was missing `blog`, `build`, `layout`, and `validate-integration`.
+
+ Kept honest by a drift harness (docs vs the live CLI), `check:cli-structure` (each doc-type and `api/` leaf ships its full file set), and lint rules for the CLI's layering.
+
+- Add themeable indicators — the componentized check, checkbox, and radio visuals. `defineTheme({indicators: {check: RadioIndicator}})` replaces one by name, and every component drawing it follows. (#4712)
+ Theme targets now follow the component-name convention: `checkbox-indicator`, `radio-indicator`, `radio-indicator-dot`. The old names (`checkbox`, `radio`, `radio-dot`) are still emitted on the same element, so existing themes keep working — migrate at your convenience; they go away in the next major.
+
+ Migration: menu radios use those shared targets now. `dropdown-menu-radio-dot` is removed — target `radio-indicator-dot`; `astryx upgrade` rewrites it for you.
+
+#### Fixes
+
+- The generated agent cheat sheet hardcoded a shell recommendation ("Full page → AppShell; sidebar nav → SideNav", "pick the shell (AppShell / Layout+LayoutPanel)"), which answers a question that depends on the app archetype and duplicates guidance `astryx docs layout` already maintains. The two layout rules now send agents to that doc instead, so shell choice, region budgets, and the responsive contract have one source of truth. (#4772)
+ The rule cites the command rather than the docsite URL, in the block's established `astryx <cmd>` form that the header maps to the project's real invocation (`pnpm exec astryx`, `npx @astryxdesign/cli`, …). `astryx docs` reads the docs shipped inside the installed version, so an agent can't be shown an API that release doesn't have.
+- The `migrate-grid-minchildwidth-to-columns` codemod bailed without changes when a `<Grid>` had both `columns` and `minChildWidth`, leaving the now-invalid `minChildWidth` prop in place and failing type-checking on 0.3.0. (#4792)
+ When `columns` is a numeric literal, it now migrates losslessly to the 0.3.0 object form. This mirrors the old (0.2.0) Grid runtime, where `minChildWidth` dominated and the numeric `columns` capped the column count under `auto-fit`: `<Grid columns={3} minChildWidth={280}>` becomes `<Grid columns={{minWidth: 280, max: 3, repeat: 'fit'}}>`. Object or dynamic `columns` values remain a deliberate bail.
+- The documented `hook` example referenced `useToggle`, which is not a hook in the design system — running it failed with `ERR_UNKNOWN_HOOK`. It now uses `useFocusTrap`. (#4742)
+ This shipped in two places a consumer sees: `astryx manifest --json`, which agents read to learn the CLI, and the `hook` CommandDoc that feeds `--help`. Replaced in both.
+- CLI internals: a true `foundation/` bottom layer, and generated `./authoring` types (#4736).
+ `foundation/` no longer imports `api/`, and ESLint now enforces that direction alongside the existing `authoring/` and `api/` rules. Two things were reaching upward: `Project` pulled template discovery out of `api/template`, whose adapter imported `Project` straight back, and both `Project` and `integration-warnings` imported `validateLoadedIntegration` from the `validate-integration` command. Neither was misplaced logic, just misplaced files — the adapter now lives at `foundation/discovery/template-adapter.mjs` and the validators at `foundation/integrations/validate-contributions.mjs`. To be precise: `Project` and the template adapter still import each other, so that module cycle remains, contained within foundation instead of spanning two layers. Behavior-preserving — the CLI's observable surface is byte-identical across 84 invocations.
+
+ The published `./authoring` type declarations are now generated from their JSDoc instead of hand-written, the same way `./api` already works. The 13 hand-maintained `.d.mts` files are gone; `scripts/sync-api-types.mjs` emits both trees at `prepack`, stamped `@generated`. A hand-written declaration shadows the JSDoc in its `.mjs`, so it could disagree with the implementation and still compile — and both failure modes had shipped: a missing declaration made a strict consumer resolve that parser as `any`, and a stale `parseDoc` return union silently dropped `SchemaDoc`, `CommandDoc` and `EnumDoc`. Also fixes `parseFunction`, a bare re-export of `parseHook` that published `HookDoc` instead of the general `FunctionDoc`.
+
+- Scaffolding a template that references demo video (e.g. `LightboxVideo`) no longer replaces the video source with the image placeholder data URI, which the generated `<video>` element couldn't play. `stripTemplateAssetRefs()` treated every demo-media reference as an image regardless of extension; video extensions (`.mp4`, `.webm`, `.mov`, `.ogv`) are now stripped to an empty `src` instead — there's no equivalent self-contained inline placeholder for video, so the scaffolded example is honest about needing the builder to supply their own file rather than pointing at something that can't play. (#4863)
+- Stepper templates: the scaffolded Stepper blocks gain the a11y, theming and responsive-label hardening from the component audit, and their doc blocks match what they render (#4917).
+- cli: add `theme build --icons-specifier` so the generated module's icon import can be fully specified (#4620)
+ The generated theme module imports the icon registry rather than inlining it, because the registry holds React elements. `astryx theme build` scraped that specifier out of the TypeScript source and emitted it verbatim, so `./icons` — valid TypeScript, invalid ESM — reached the generated `.js`. Every published theme's `/built` entry therefore failed to load in Node, including under Vite SSR and Next.js Pages Router, while bundlers papered over it by guessing the extension.
+
+ No single extension is correct: the same source compiled by tsup lands at `icons.mjs` in a package with no `"type"` field and at `icons.js` in one with `"type": "module"`, and the generator runs before the compile step that produces either. The caller knows; now it can say so. Without the flag the specifier is emitted unchanged, so the default no-`--out` flow — where the neighbour is an uncompiled `icons.tsx` that only a bundler can resolve — is unaffected.
+
+ The seven theme packages now declare `--icons-specifier ./icons.mjs` in their build scripts.
+
+#### Other Changes
+
+- The scaffolded login pages use `Center`'s `padding` prop instead of a hand-written `var(--spacing-6)` style object (#4764).
+- Self-host template demo imagery in the repo instead of streaming it (#3973)
+ from the internal `lookaside.facebook.com` CDN.
+- Template demo images are now committed under
+ `apps/docsite/public/template-assets/` and referenced by root-relative `/template-assets/*` paths (previously Meta-internal CDN URLs invisible to external contributors).
+- `stripTemplateAssetRefs` still swaps these paths for the inline `data:` URI
+ placeholder on scaffold, so generated projects render with zero setup and no network dependency — no image is ever copied into a scaffolded project.
+
+#### Contributors
+
+Thanks to everyone who contributed to this release:
+
+- @cixzhang
+- @ejhammond
+- @ernestt
+- @HelloOjasMutreja
+- @humbertovirtudes
+- @imdreamrunner
+- @jiunshinn
+- @josephfarina
+
+---
+
# 0.3.0
#### Breaking Changes
diff --git a/packages/cli/api/upgrade/run/authoring-codemod-reachable.test.mjs b/packages/cli/api/upgrade/run/authoring-codemod-reachable.test.mjs
index 596cf08505..a9d1a31c90 100644
--- a/packages/cli/api/upgrade/run/authoring-codemod-reachable.test.mjs
+++ b/packages/cli/api/upgrade/run/authoring-codemod-reachable.test.mjs
@@ -12,8 +12,9 @@
* the CLI, a released core DOES reach it — but nothing pinned that invariant, so
* a future registry entry above the shipped core version would silently strand
* the migration (the chaos-test "codemods unreachable" finding). This test
- * fails loudly if that happens: with installed core at the registry's latest
- * version, an old-surface authoring file must be rewritten by `upgrade`.
+ * fails loudly if that happens: running `astryx upgrade` with installed core at
+ * the registry's latest version, starting from below the tier that holds them,
+ * must rewrite an old-surface authoring file.
*/
import {describe, it, expect, beforeEach, afterEach} from 'vitest';
@@ -21,10 +22,26 @@ import * as fs from 'node:fs';
import * as os from 'node:os';
import * as path from 'node:path';
import {upgrade} from '../upgrade.mjs';
-import {latestVersion, versions} from '../../../assets/codemods/registry.mjs';
+import {
+ latestVersion,
+ versions,
+ getTransformsBetween,
+} from '../../../assets/codemods/registry.mjs';
const SLOW = 30_000;
+const AUTHORING_CODEMOD = 'migrate-authoring-imports';
+
+/** The registry version whose manifest ships the authoring migration. */
+async function authoringTier() {
+ const all = await getTransformsBetween('0.0.0', latestVersion);
+ const tier = all.find(({transforms}) =>
+ transforms.some(t => t.name === AUTHORING_CODEMOD),
+ );
+ if (!tier) throw new Error(`no registry version ships ${AUTHORING_CODEMOD}`);
+ return tier.version;
+}
+
/** Seed a consumer project with installed core pinned to `coreVersion`. */
function seedProject(dir, coreVersion) {
fs.writeFileSync(
@@ -60,19 +77,23 @@ describe('upgrade — authoring codemods are reachable', () => {
it('rewrites an old-surface authoring file when installed core is at the registry latest', async () => {
dir = fs.mkdtempSync(path.join(os.tmpdir(), 'upg-authoring-'));
seedProject(dir, latestVersion);
- // Upgrade from the version just below latest so the range is (prev, latest].
- const from = versions[versions.length - 2];
+ // Start below the tier that ships the authoring codemods, so the range
+ // (from, latest] contains them however many versions land on top.
+ const tier = await authoringTier();
+ const from = versions[versions.indexOf(tier) - 1];
const res = await upgrade({from, path: 'src'}, {cwd: dir});
expect(res.type).toBe('upgrade.run');
// Dry run: the authoring codemods must have MATCHED the old-surface import.
expect(res.data.filesChanged).toBeGreaterThan(0);
}, SLOW);
- it('does NOT strand the migration: latestVersion is the authoring codemod tier', () => {
- // The authoring codemods live at the registry's top version. If a later
- // core version is added above them without also advancing the codemods,
- // `upgrade` on a core below that version would skip them. Pinning this makes
- // that regression explicit at the registry layer.
- expect(latestVersion).toBe(versions[versions.length - 1]);
+ it('does NOT strand the migration: the authoring tier is reachable from below it', async () => {
+ // The authoring codemods live at a fixed registry tier. A consumer coming
+ // from under that tier must still cross it on the way to latest — if a
+ // later version could exclude it, `upgrade` would skip the migration.
+ const tier = await authoringTier();
+ const from = versions[versions.indexOf(tier) - 1];
+ const crossed = await getTransformsBetween(from, latestVersion);
+ expect(crossed.map(r => r.version)).toContain(tier);
});
});
diff --git a/packages/cli/assets/codemods/__tests__/registry.test.mjs b/packages/cli/assets/codemods/__tests__/registry.test.mjs
index d2ab4cfe59..c0f6ab9685 100644
--- a/packages/cli/assets/codemods/__tests__/registry.test.mjs
+++ b/packages/cli/assets/codemods/__tests__/registry.test.mjs
@@ -25,6 +25,7 @@ describe('registry', () => {
'0.2.0',
'0.2.1',
'0.3.0',
+ '0.4.0',
]);
});
});
diff --git a/packages/cli/assets/codemods/registry.mjs b/packages/cli/assets/codemods/registry.mjs
index fd87bb63a5..30df66616c 100644
--- a/packages/cli/assets/codemods/registry.mjs
+++ b/packages/cli/assets/codemods/registry.mjs
@@ -26,6 +26,7 @@ const registry = new Map([
['0.2.0', () => import('./transforms/v0.2.0/index.mjs')],
['0.2.1', () => import('./transforms/v0.2.1/index.mjs')],
['0.3.0', () => import('./transforms/v0.3.0/index.mjs')],
+ ['0.4.0', () => import('./transforms/v0.4.0/index.mjs')],
]);
// Re-export from the shared utility so registry callers and other consumers
diff --git a/packages/cli/assets/codemods/transforms/next/index.mjs b/packages/cli/assets/codemods/transforms/next/index.mjs
index 605e09af6f..2af3bdfcf0 100644
--- a/packages/cli/assets/codemods/transforms/next/index.mjs
+++ b/packages/cli/assets/codemods/transforms/next/index.mjs
@@ -7,30 +7,4 @@
* this file into the resolved version folder.
*/
-import renameDropdownMenuRadioDotTarget, {
- meta as renameDropdownMenuRadioDotTargetMeta,
-} from './rename-dropdown-menu-radio-dot-target.mjs';
-import migrateTableRowExpansionToTree, {
- meta as migrateTableRowExpansionToTreeMeta,
-} from './migrate-table-rowexpansion-to-tree.mjs';
-import renameMenuDividerDataTypes, {
- meta as renameMenuDividerDataTypesMeta,
-} from './rename-menu-divider-data-types.mjs';
-
-export default [
- {
- name: 'rename-dropdown-menu-radio-dot-target',
- transform: renameDropdownMenuRadioDotTarget,
- meta: renameDropdownMenuRadioDotTargetMeta,
- },
- {
- name: 'migrate-table-rowexpansion-to-tree',
- transform: migrateTableRowExpansionToTree,
- meta: migrateTableRowExpansionToTreeMeta,
- },
- {
- name: 'rename-menu-divider-data-types',
- transform: renameMenuDividerDataTypes,
- meta: renameMenuDividerDataTypesMeta,
- },
-];
+export default [];
diff --git a/packages/cli/assets/codemods/transforms/next/__tests__/migrate-table-rowexpansion-to-tree.test.mjs b/packages/cli/assets/codemods/transforms/v0.4.0/__tests__/migrate-table-rowexpansion-to-tree.test.mjs
similarity index 100%
rename from packages/cli/assets/codemods/transforms/next/__tests__/migrate-table-rowexpansion-to-tree.test.mjs
rename to packages/cli/assets/codemods/transforms/v0.4.0/__tests__/migrate-table-rowexpansion-to-tree.test.mjs
diff --git a/packages/cli/assets/codemods/transforms/next/__tests__/next-codemods.test.mjs b/packages/cli/assets/codemods/transforms/v0.4.0/__tests__/next-codemods.test.mjs
similarity index 100%
rename from packages/cli/assets/codemods/transforms/next/__tests__/next-codemods.test.mjs
rename to packages/cli/assets/codemods/transforms/v0.4.0/__tests__/next-codemods.test.mjs
diff --git a/packages/cli/assets/codemods/transforms/v0.4.0/index.mjs b/packages/cli/assets/codemods/transforms/v0.4.0/index.mjs
new file mode 100644
index 0000000000..605e09af6f
--- /dev/null
+++ b/packages/cli/assets/codemods/transforms/v0.4.0/index.mjs
@@ -0,0 +1,36 @@
+// Copyright (c) Meta Platforms, Inc. and affiliates.
+
+/**
+ * @file next transform manifest
+ *
+ * Staged codemods for the next release. The Version Packages PR promotes
+ * this file into the resolved version folder.
+ */
+
+import renameDropdownMenuRadioDotTarget, {
+ meta as renameDropdownMenuRadioDotTargetMeta,
+} from './rename-dropdown-menu-radio-dot-target.mjs';
+import migrateTableRowExpansionToTree, {
+ meta as migrateTableRowExpansionToTreeMeta,
+} from './migrate-table-rowexpansion-to-tree.mjs';
+import renameMenuDividerDataTypes, {
+ meta as renameMenuDividerDataTypesMeta,
+} from './rename-menu-divider-data-types.mjs';
+
+export default [
+ {
+ name: 'rename-dropdown-menu-radio-dot-target',
+ transform: renameDropdownMenuRadioDotTarget,
+ meta: renameDropdownMenuRadioDotTargetMeta,
+ },
+ {
+ name: 'migrate-table-rowexpansion-to-tree',
+ transform: migrateTableRowExpansionToTree,
+ meta: migrateTableRowExpansionToTreeMeta,
+ },
+ {
+ name: 'rename-menu-divider-data-types',
+ transform: renameMenuDividerDataTypes,
+ meta: renameMenuDividerDataTypesMeta,
+ },
+];
diff --git a/packages/cli/assets/codemods/transforms/next/migrate-table-rowexpansion-to-tree.mjs b/packages/cli/assets/codemods/transforms/v0.4.0/migrate-table-rowexpansion-to-tree.mjs
similarity index 100%
rename from packages/cli/assets/codemods/transforms/next/migrate-table-rowexpansion-to-tree.mjs
rename to packages/cli/assets/codemods/transforms/v0.4.0/migrate-table-rowexpansion-to-tree.mjs
diff --git a/packages/cli/assets/codemods/transforms/next/rename-dropdown-menu-radio-dot-target.mjs b/packages/cli/assets/codemods/transforms/v0.4.0/rename-dropdown-menu-radio-dot-target.mjs
similarity index 100%
rename from packages/cli/assets/codemods/transforms/next/rename-dropdown-menu-radio-dot-target.mjs
rename to packages/cli/assets/codemods/transforms/v0.4.0/rename-dropdown-menu-radio-dot-target.mjs
diff --git a/packages/cli/assets/codemods/transforms/next/rename-menu-divider-data-types.mjs b/packages/cli/assets/codemods/transforms/v0.4.0/rename-menu-divider-data-types.mjs
similarity index 100%
rename from packages/cli/assets/codemods/transforms/next/rename-menu-divider-data-types.mjs
rename to packages/cli/assets/codemods/transforms/v0.4.0/rename-menu-divider-data-types.mjs
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 6e5175199d..2f5fbfb204 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/cli",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "CLI",
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
"author": "Meta Open Source",
diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md
index 098d245a58..8ca7cdc454 100644
--- a/packages/core/CHANGELOG.md
+++ b/packages/core/CHANGELOG.md
@@ -1,5 +1,161 @@
# @xds/core
+# 0.4.0
+
+#### Breaking Changes
+
+- DropdownMenu's two item modes are peers again. Compound mode gains a `DropdownMenuDivider` component (aliased as `ContextMenuDivider` and `BreadcrumbMenuDivider`), which the data path also renders, so `{type: 'divider'}` and `<DropdownMenuDivider />` produce identical DOM, spacing, and theme target. Data mode gains `endContent` and `description`, so an `items` row can carry a shortcut hint or secondary text without dropping to compound mode. Its `label` widens from `string` to `ReactNode`, matching compound mode: the narrowing existed only because rows were keyed by label, and they no longer are (#4953).
+ The bare names now belong to those components, so the data-mode option types take the `Data` suffix their sibling `DropdownMenuItemData` already carries: `DropdownMenuDivider` → `DropdownMenuDividerData`, `ContextMenuDivider` → `ContextMenuDividerData`, `BreadcrumbMenuDivider` → `BreadcrumbMenuDividerData`. TypeScript cannot re-export a value and a type under one name from a single barrel, so the rename is what makes the components exportable at all. Run `astryx upgrade --apply` to rewrite the type imports; a missed one fails at compile time rather than silently.
+- Remove the `dropdown-menu-radio-dot` theme target. Menu radio rows draw the shared radio indicator now, so the dot is the indicator's dot: target `radio-indicator-dot` (the legacy `radio-dot` name still matches it too). The row's circle keeps its `dropdown-menu-radio` target, so only the dot moved. (#4890)
+ Runtime themes are not validated — a theme keyed on the removed target keeps compiling and silently stops matching — so `astryx upgrade` now carries `rename-dropdown-menu-radio-dot-target`, which rewrites the key and the `astryx-dropdown-menu-radio-dot` class. The new target is app-wide rather than menu-only (there is no menu-only dot element left to address), so the codemod leaves a TODO at each site it rewrites.
+- useTableRowExpansion is now a detail-panel plugin: it expands a full-width panel below a row via renderExpanded(item), and useTableRowExpansionState is removed. For hierarchical/tree tables (child rows that reuse the parent columns), migrate to useTableTreeData + useTableTreeState. See the migration example on the useTableRowExpansion docs. (#4609)
+ **Codemod:** `npx astryx upgrade --apply` runs `migrate-table-rowexpansion-to-tree`, which rewrites tree-mode `useTableRowExpansion` call sites onto `useTableTreeData` + `useTableTreeState`.
+
+#### New Features
+
+- Avatar: the fallback surface (initials and default icon) is now a direct theme target via the stable `astryx-avatar-fallback` class. Theme its background, text color, font weight, and per-size font size through the `avatar-fallback` component key (e.g. `components: { 'avatar-fallback': { base: { backgroundColor: '...' }, 'size:sm': { fontSize: '...' } } }`), replacing the internal `--_avatar-fallback-*` derived vars. (#4716)
+- CodeBlock: the built-in copy button is now a themeable ghost `IconButton` with a default "Copy code" tooltip, reachable via the stable `astryx-codeblock-copy-button` class (theme it through the `codeblock-copy-button` component key). Restyle or keep the copy control without turning it off and re-implementing it. The tooltip stays "Copy code" after copying — the copy→check icon flip is the confirmation. (#4867)
+ [feat] New `useClipboard` hook (`@astryxdesign/core/hooks`): the shared copy-to-clipboard behavior — clipboard write, a transient `isCopied` flag with its reset timer, and an optional polite screen-reader announcement. CodeBlock and Timestamp now build their copy buttons on it; reach for it directly for copy affordances that are not a plain icon button.
+- CodeBlock: add `codeblock-header` and `codeblock-title` theme targets on the header row and the title/language-label element. A theme can now restyle the header (e.g. padding) and the title (e.g. font size) directly, instead of reaching them through structural `> div:first-child > div > span` selectors that reverse-engineer the header layout. Both reflect the `size`/`language`(`/container`) visual props like the root. (#4943)
+- DateInput, DateRangeInput, and DateTimeInput now accept a `weekStartsOn` prop that sets the first day of the week in the calendar popover (0 = Sunday … 6 = Saturday, or a three-letter day name like `"mon"`). It forwards to the underlying Calendar, whose default stays Sunday, so existing usage is unchanged. (#4745)
+- Selector, MultiSelector and Typeahead expose their empty ("No results found") state as a themeable target (#4756, #4862) — `astryx-selector-empty-state`, `astryx-multi-selector-empty-state` and `astryx-typeahead-empty-state`. Themes can restyle the empty state without the fragile structural selectors consumers previously had to reach for. (The Selector search field is a TextInput, so its placeholder is reachable today via `.astryx-text-input::placeholder`; a Selector-scoped placeholder seam would require a TextInput change and is left as a possible follow-up.)
+- EmptyState: add `empty-state-title` and `empty-state-description` theme targets on the title heading and the description. A theme can now restyle the title and description directly (e.g. font size, color, per `variant`) instead of reaching them through structural `> div:has(> :is(h1..h6))` selectors that reverse-engineer which element is which. (#4942)
+- Every clearable input now renders its clear (✕) affordance through the shared `InputClearButton`, so the glyph is themeable in one place via the `astryx-input-clear-icon` target instead of a per-component target or a fragile descendant selector. The component-specific `astryx-{date-input,date-range-input,selector,multi-selector}-clear-icon` targets still render for a deprecation window — migrate to `input-clear-icon`. The clear glyph is now a consistent secondary-color icon with a ghost-button hover affordance across the whole family. (#4876)
+- The input family (TextInput, NumberInput, DateInput, DateRangeInput, DateTimeInput, TimeInput, TextArea, Tokenizer) now reflects its disabled state on the root theming target as `data-disabled="disabled"` plus a `.disabled` variant (only when disabled), so a theme can gate its own hover/border treatment on the disabled state — mirroring the existing `status`/`size` reflection — instead of relying on structural `:has(input:disabled)` CSS. This closes a documented theming gap for downstream consumers. (#4794)
+- useLayer takes an `offset` for clearance from the anchor, derived from the resolved placement, and the layer wrappers stop hand-rolling it (#4803)
+- DropdownMenu rows take two new options (#4953). `DropdownMenuItem` takes `hasCloseOnSelect`, so a plain action can report its result on the item instead of closing the menu. `DropdownMenuItemData` and `DropdownMenuSection` take an optional `id`, the row's stable React key for a menu whose items reorder or filter (also reaching MoreMenu, ContextMenu and Breadcrumbs, which share the type).
+- DropdownMenuItem now accepts a `variant` prop (`'default' | 'destructive'`); `'destructive'` renders the label, description, and icon in the error color for dangerous actions like Delete. The data-driven `items` API accepts the same `variant` field, and because ContextMenu shares the menu-item data shape, context-menu items get it too. Defaults to `'default'`, so existing menus are unchanged. (#4753)
+- MultiSelector: dropdown option rows are themeable through a single (#4628)
+ `multi-selector-option` target, carrying the row's `size` and its `select-all`, `selected` and `disabled` states — so a theme can express "selected option at large" or restyle just the Select All row. Row typography moved from the label span onto the row, so one override reaches both the fallback label and `renderOption` content; custom option content now inherits the row's font and disabled color.
+- NumberInput: render a text-backed spinbutton that supports formatted display values, explicit wheel and keyboard stepping, and opt-in trailing increment/decrement buttons. Existing wheel stepping remains enabled by default and can now be disabled with `isWheelEnabled={false}` (#4896).
+- ComplexSelector and MultiSelector: add `astryx-complex-selector-popup` and `astryx-multi-selector-popup` theme targets on the popup surface, so a theme can style the popup — background, border, radius, elevation, padding — through `defineTheme` instead of a structural selector or a fork. Both components already targeted their trigger but nothing in the popup, which is the part that has to match the rest of an app's menus. The target sits on the popup's content box rather than the layer element: `useLayer` zeroes the layer's borders, padding and background, so the content box is the surface that actually paints. Purely additive — default rendering is unchanged. (#4991)
+- TextInput, TextArea, NumberInput: add `isReadOnly`. The value is shown at full opacity and still submits with the form, but cannot be edited — the "visible, locked, still sent" case that `isDisabled` deliberately does not cover, since disabled controls are excluded from submission. Read-only fields are not dimmed and stay in the tab order, matching the native `readonly` semantics they compile to; `isDisabled` takes precedence when both are set, and the clear button is hidden while read-only. The state is reflected on the root theming target as `data-readonly="readonly"`, alongside the existing `data-disabled`, so a theme can paint it without structural `:has(input:read-only)` CSS. `isReadOnly` already existed on CheckboxInput, CheckboxList, and PowerSearch; the remaining text-ish inputs (DateInput, DateRangeInput, DateTimeInput, TimeInput, Tokenizer) do not have it yet. (#4816)
+- Selector/MultiSelector: two additive theming seams (#4626, #4627). A `selector-check` theme target on the selected-row checkmark lets themes restyle or hide it (e.g. to compose their own selected indicator via `renderOption`) instead of relying on a structural sibling selector, and `data-disabled` now reflects on the trigger for theme-driven disabled styling. Rotation styles remain on the indicator-icon target. Default appearance is unchanged.
+- Table: `contextMenuActions` now accept a `variant: 'destructive'` for dangerous row/column actions (e.g. Delete), rendered in the error color to match ContextMenu. (#4864)
+- TextArea: theme the text inset by writing `paddingInline` on the `textarea` component key — it now drives the internal `--_textarea-inline-padding` var instead of landing on the wrapper. The wrapper stays flush (`padding: 0`), so the native resize grip keeps its true-corner position and the start icon, status, and character counter stay aligned to the text. Adds a `replaces` option to derived var entries for the general "map a property onto a var without emitting it on the class element" case. (#4793)
+- Add themeable indicators — the componentized check, checkbox, and radio visuals. `defineTheme({indicators: {check: RadioIndicator}})` replaces one by name, and every component drawing it follows. (#4712)
+ Theme targets now follow the component-name convention: `checkbox-indicator`, `radio-indicator`, `radio-indicator-dot`. The old names (`checkbox`, `radio`, `radio-dot`) are still emitted on the same element, so existing themes keep working — migrate at your convenience; they go away in the next major.
+
+ Migration: menu radios use those shared targets now. `dropdown-menu-radio-dot` is removed — target `radio-indicator-dot`; `astryx upgrade` rewrites it for you.
+
+- TreeList: two additive changes. (1) A fully flat tree — one with no expandable items at all — now renders its rows flush instead of reserving an empty chevron-alignment column that nothing lines up under; any tree that has at least one expandable item keeps the same per-level alignment as before, so only fully flat trees change shape. (2) Adds a themeable `--tree-list-row-gap` for the inter-row gap, defaulting to a subtle `2px` (`var(--spacing-0-5)`) separation — matching the inter-row gap `List` and `DropdownMenu` already ship — so this shifts the default spacing of every tree by that amount; set it on the `tree-list` target to widen or close it. The gap rides collapse-proof `padding-block` on the row wrapper (not the paintable `tree-list-item` target), and the connector guides span it automatically without overhanging the last row. (#4540)
+
+#### Fixes
+
+- AlertDialog: correct the inline role and pin initial focus (#4887).
+ The `isInline` preview path no longer renders `role="alertdialog"`. That role promises a modal interruption — focus trap, inert page, explicit dismissal — and the inline path is an always-present, non-modal preview with none of it. It now renders `role="group"`, keeping the title and description associated through `aria-labelledby`/`aria-describedby`.
+
+ The cancel button now carries `data-autofocus`, so the documented "initial focus goes to the cancel button" behavior is pinned instead of depending on cancel happening to be the first focusable node in the footer. Docs now name and link the WAI-ARIA APG Alert Dialog pattern the component implements, and gain an anatomy section.
+
+- AppShell: two a11y fixes to the shell chrome (#4944).
+ The mobile top bar rendered for a sidenav-only layout is now a `banner` landmark, matching the header region of a layout that has a `topNav`. Previously the page's landmark structure changed depending on which nav slots it filled: a screen-reader user on a small viewport got no banner region at all. When a `banner` slot is present the existing header keeps the role, so there is still exactly one.
+
+ The skip link now draws the shared Astryx focus ring instead of the browser default outline, so it follows `--color-accent` and matches every other focusable surface in a custom theme.
+
+- Avatar: fallback initials no longer break for names containing emoji or other multi-codepoint characters. (#4750)
+- ChatLayoutScrollButton: the default (label-less) state now renders as icon-only, with the translated "Scroll to bottom" string as the accessible name only. It was previously missing `isIconOnly` on its inner `Button`, so Button's default (visible-text) contract rendered the translation as clipped visible text inside the circular button instead. (#4854)
+- Chat: the dictation and scroll buttons now carry their `chat-dictation-button` and `chat-layout-scroll-button` theme targets, and ChatSendButton no longer clobbers a consumer's `className` (#4634).
+- ChatToolCalls: hover backgrounds on grouped call rows (2+ calls) now keep their full `--radius-element` rounding instead of getting clipped flat on the inline edges. `groupContentInner` — the `overflow: hidden` clip boundary the expand/collapse height animation needs — was missing the padding/negative-margin pair that absorbs the row-level hover-background overhang, so the overhang extended past the clip boundary and got cut off. Matches the ungrouped single-call row, which has no such wrapper to clip it. (#4858)
+- `ComplexSelector`'s popup now keeps its 4px clearance from the trigger when `placement="above"`, matching `placement="below"` and `Popover`. The popup's margin was set on `marginBlockStart` only, which is correct for a popup opening downward but leaves zero clearance on the edge that matters when it opens upward. (#4861)
+- ComplexSelector: the trigger's focus ring is now keyboard-only. It was drawn from `:focus-within`, which also matches a mouse click — open the popover with the mouse, dismiss it with the mouse, and the restored focus left a pointer user staring at a keyboard affordance. It now uses the shared `:has(:focus-visible)` ring, which also brings the outline to the documented 3px offset. (#4935)
+- DateInput and DateTimeInput no longer steal focus when the open calendar is dismissed by clicking another control. Clicking the field to open the calendar, then clicking the time input (DateTimeInput) or any other element, kept yanking focus back to the date input because the popover's close handler always refocused it. It now restores focus only when the dismiss left focus detached (Escape, or a click on empty space), so a click that lands focus elsewhere is respected. (#4974)
+- TextInput, TextArea, NumberInput: a disabled field is no longer submitted with the form when `disabledMessage` is set. Showing the reason tooltip requires swapping the native `disabled` attribute for `aria-disabled` + `readOnly`, so the message stays discoverable by pointer and keyboard — but read-only fields still serialize into `FormData`, and these three kept their `name`, so a locked field posted its value. They now withhold the `name` while disabled, matching CheckboxInput and Switch (which forward the name only when enabled) and the hidden-input carriers in Selector, MultiSelector, Slider, and Tokenizer (which mirror `disabled`). Adds form-participation coverage to all three so the guarantee is pinned. (#4811)
+- DropdownMenu/MoreMenu: opening with a pointer no longer highlights the first item as if it were selected (#4477). Initial focus now follows the input modality: keyboard opens (Enter/Space/ArrowDown on the trigger) still focus the first enabled item per the APG menu-button pattern, while pointer opens focus the menu container itself so the first ArrowDown moves to item 1. Synthesized clicks (detail 0, e.g. screen reader activation) and programmatic controlled opens keep the first-item focus behavior. Covers data-driven items mode, compound mode, and MoreMenu, which share the open path.
+- EmptyState: the rest spread sits before the contract `role`, so a consumer can no longer clobber the landmark role the component guarantees (#4826).
+- Indicator: a falsy `children` no longer deletes the state mark. The busy idiom a host actually writes — `children={isBusy && <Spinner/>}` — passes `false` when it is not busy, and `false` is neither `null` nor caught by `??`, so all three indicators took the children path, rendered nothing in it, and dropped the checkmark, the checkbox tick and the radio dot on every selected row. They now use `isRenderable`, so only children that actually render replace the mark. `0` still counts as content, since it renders the character "0". (#4913)
+ CheckIndicator's children slot also reserves the glyph's box and carries its color, so swapping a Spinner in no longer shifts the row or loses the disabled shade.
+
+ Fixes #4893.
+
+- Consolidate general interactive focus outlines onto one definition — 2px `--color-accent` at 3px offset, matching Design Conventions. (#4654)
+ Most general controls had drifted to a 2px offset; Button, Calendar, Dialog and Pagination were the ones still on spec. Their value wins, so a focus ring on the drifted components (Link, TabList, Token, TreeList, SegmentedControl, TopNav items) now sits 1px further from its control.
+
+ Destructive buttons keep their error-colored ring, and `--button-focus-offset` is unchanged. Form and input focus treatments are out of scope.
+
+- `<Heading type="display-N">` now sizes correctly under every theme, matching `Text`'s behavior. `generateTypeScaleComponents()` only emitted `level:N`-keyed CSS rules for `heading`, with no `type:display-N` counterpart — so as soon as a theme supplied `typography.scale`, the generated theme-layer CSS's `level:N` rule was the only one present and silently won regardless of `type`, discarding the prop. A theme with no typography config was unaffected, which made the bug look intermittent. (#4859)
+- theme: `color.contrast: 'high'` now strengthens border tokens too — the emphasized border tone is pulled toward mid-scale (stronger against both light and dark surfaces) and the subtle hairline's alpha is doubled, so structural boundaries stay perceivable in high-contrast themes instead of only text/icons changing. (#4529)
+- Icons render through `<Icon>` and carry their component's theme target (#4838).
+ Styling-only wrappers around rotating icons are gone, and each rotation now sits on the icon element that already carries the component's theme target — so a theme reaches the glyph and its open/closed transform through one selector. No new theme targets: Selector, MultiSelector and ComplexSelector consolidate onto their existing `*-indicator-icon` targets, and the Table plugins and TreeList simply shed redundant wrapper elements.
+
+ Where an RTL mirror sat on a separate parent element, it is folded into each state's transform (`scaleX(-1) rotate(...)`) so one element carries both. In the Table plugins that mirror was inert — `transform` does not apply to a non-replaced inline box — so RTL disclosure chevrons now mirror correctly where they silently did not before.
+
+ Registry glyphs in SideNav, TopNav, Collapsible, TreeList and Breadcrumbs now render through `<Icon>` instead of `useIcon()` inside a hand-written `<span>`. Those spans were a weaker reimplementation of `<Icon>`, which already resolves the same glyph and renders a span carrying merged `className`/`style`/`xstyle` plus the `astryx-icon` theme target. The converted sites gain that target, and the node count is unchanged. `useIcon()` keeps its place for the cases that resolve a glyph _without_ rendering it: MoreMenu and ChatSendButton pass the node as a default for a consumer-overridable prop, which `<Icon>` cannot express.
+
+ Also adds the `@astryx/no-wrapper-transform` lint rule (warn) for `<div>`/`<span>` wrappers that exist to transform the icon inside them.
+
+- Indicator: a caller can no longer un-hide or focus a decorative indicator (#4921, #4947).
+ `IndicatorProps` now omits `aria-hidden`, `role`, `aria-label`, `aria-labelledby` and `tabIndex` — passing `role` or `tabIndex` is a compile error — and each indicator emits its own `aria-hidden` after `{...rest}`, so a forwarded one cannot win. Un-hiding an indicator had it announced next to the control that owns the accessible name, saying the same thing twice; a tab stop on one is a focusable node inside a hidden subtree, an axe `aria-hidden-focus` violation.
+
+ Nothing is stripped: every other prop, including a forwarded `aria-label`, still reaches the DOM, where it is inert inside an `aria-hidden` subtree. Note that TypeScript exempts hyphenated JSX attributes from excess-property checking, so the type alone cannot reject `aria-*`; the attribute order is what enforces it. `tabIndex` is a plain identifier, so its omission stands on its own.
+
+ Also corrects two doc claims: a replacement must render `children` when they will actually draw something (`isRenderable`, not `children ?? mark`), and "passing `role` is a compile error" holds for a literal attribute — a spread bypasses excess-property checking.
+
+ Fixes #4918.
+
+- A DropdownMenu item closes the menu on activation even when it carries no `onClick`, and a data-mode row that changes its own label keeps its identity instead of remounting and dropping focus (#4953)
+- Fix `mergeRefs` cleanup so object refs are cleared and callback refs without
+ cleanup functions still receive `null` when a merged ref returns cleanup (#4901).
+- MoreMenu forwards `placement` and `alignment` to its DropdownMenu. Both were part of the underlying menu's API but were dropped on the floor by the wrapper, so an overflow menu — the one component whose job is a trailing-edge affordance — could not ask to be end-aligned; it only looked right when the layer happened to collision-flip. Defaults are unchanged: MoreMenu passes the props straight through, so DropdownMenu's `'below'` / `'start'` still apply. (#4952)
+- Pagination: vertically center the prev/next caret icons. The RTL mirror wrapped each chevron in a `display: contents` span, which dropped the icon out of the button's flex-centering context so the glyph sat a few pixels high. The mirror transform now rides on the `Icon` directly via `xstyle`, so the icon stays a centered flex child and still flips under RTL — no wrapper element. (#4723)
+- ProgressBar: a theme can size the target mark again without `!important`. The mark's `width`/`height` were plain StyleX declarations, so a `progressbar-mark` override only landed where `@layer astryx-theme` outranks the component atomics — in a source-build app that compiles StyleX without `useCSSLayers` the atomics are unlayered and beat every theme rule, leaving no way to resize the tick but an unlayered `!important` rule. The dimensions now travel as derived vars with no competing declaration, so the same `defineTheme` entry lands in either build. Theme authoring is unchanged; a mark's color is still a plain declaration and still depends on the layer order. (#4970)
+- ProgressBar marks take their color from what they sit on: the fill variant's on-color inside the filled area, the emphasized divider color out on the track (#4741)
+- CommandPalette, ComplexSelector and ContextMenu: a consumer's `onClick`/`onMouseEnter` is composed with the component's own handler instead of being overwritten by it, and `{...props}` no longer lands after the props the component must control (#4725).
+- CheckboxInput, Switch: a `required` control that is disabled with a `disabledMessage` no longer blocks the whole form from submitting. Showing the reason tooltip swaps the native `disabled` attribute for `aria-disabled`, which leaves the control subject to constraint validation — so an unchecked required checkbox (or an off required switch) the user has been told they cannot touch made the form permanently unsubmittable, with the browser reporting a validation error against a control they had no way to satisfy. Both now detach from the form via `form=""` while focusable-disabled, matching a natively disabled control and the treatment RadioListItem already applied. Enabled controls are unaffected — a required, unchecked checkbox still blocks submission as it should. (#4815)
+- `useScrollLock`: coordinate concurrent locks with a shared counter, so overlays closing out of order no longer unlock the body early or leave it stuck locked. (#4788)
+- Selector: keep the selected option text aligned with the closed trigger across every menu position by measuring untransformed layout geometry during the popover entry animation. (#4802)
+- Drop the shared trigger-icon wrapper in Selector, MultiSelector and ComplexSelector — each trigger icon is now the element that carries its own box, colour and theme target. (#4846)
+ The wrapper set a 16px box and `--color-icon-secondary` on a span with no theme target of its own, shared by two different affordances: the status glyph and the disclosure chevron. `<Icon>` already provides both (`size="sm"` is the same 16px box, `color="secondary"` the same token), so the wrapper only stood between a theme and the icons — and made the two affordances share a node they never should have shared.
+- Selector selects by typing, matching a native select (#3764)
+ Typing a printable character on a focused, closed Selector now selects the matching option — tab to a state picker, press "C", get "CA" — instead of doing nothing until the menu is opened. Repeated presses cycle through options sharing a first letter, and spaces count as match characters ("new y" reaches "New York"). With the menu open, typing moves the highlight and Enter commits, as before. With `hasSearch`, typing on the closed trigger opens the popup and seeds the search input.
+
+ Matching reuses the shared `useTypeahead` hook, so Selector behaves like the other collections (menus, listboxes). Because a match committed from the closed trigger changes the value without opening the popup or moving focus, the new selection is announced through `useAnnounce`.
+
+ `useCombobox` no longer implements typeahead itself; callers that want it compose `useTypeahead` and run it ahead of the combobox key handler.
+
+ Adopting the shared hook exposed two matching bugs in it, fixed here — so `DropdownMenu`, `ContextMenu` and `NavHeadingMenu` improve too. A single-character search now starts _after_ the current item, as native `<select>` and the APG pattern do, instead of only advancing on a repeated press: pressing a letter that the focused item already begins with used to do nothing at all. And with nothing focused the search now genuinely starts at the top, rather than wrapping onto the last item first. Characters composed with Option/Alt (`Option+a` → "å") count as typeahead again, so accented labels stay reachable.
+
+- SideNav: `footer` content now centers when the nav is collapsed, matching how `children` already centers. `stickyBottomCollapsed` (the collapsed-rail wrapper for `footer`) was missing `alignItems: 'center'`, which its sibling `scrollableCollapsed` (the collapsed-rail wrapper for `children`) already had — so full-width footer content (e.g. an icon-only button) stretched to the collapsed rail's width instead of centering. (#4852)
+- SideNav: the collapsed icon-only `SideNavHeading` trigger with a `menu` no longer omits its popover's anchor. The trigger's ref callback wasn't forwarding to `usePopover`'s `triggerRef`, so the menu popover had no CSS anchor to position against and fell back to the viewport corner instead of opening next to the trigger. (#4850)
+- Stepper: localize the "Optional" step affordance via the new `@astryx.step.optional` message key so it translates like the rest of the component. No visual change in English. (#4872)
+- `useStreamingText` no longer renders a broken glyph (a lone surrogate, or a partial ZWJ emoji sequence) for one frame when its fixed-code-unit reveal cadence happens to land inside a surrogate pair or multi-codepoint emoji. The rendered slice now snaps back to the nearest grapheme cluster boundary via `Intl.Segmenter` (with a surrogate-pair-safe fallback where it's unavailable); the reveal cadence itself is unchanged. Also corrected the hook's doc comment, which inaccurately described the cadence as advancing on word/syntax boundaries — it always advanced by fixed code units. (#4866)
+- TextArea: no longer reserves trailing space for the on-field status icon when `statusVariant="detached"`. The detached variant surfaces its status glyph in the message box below the field and renders no on-field icon, so the reserved inset pushed the text in for an icon that never appeared. Trailing space is now reserved only when the spinner or on-field status icon actually renders. (#4940)
+- TextArea: remove the duplicate wrapper padding so the text and native resize grip sit flush to the edge. The wrapper's `padding: 0` shorthand was being overridden by the shared input-wrapper longhands, leaving the inset applied twice; it now zeroes with matching longhands. (#4813)
+- TopNavMegaMenu: fix the hover-then-click flicker where clicking a nav item after hovering dismissed the mega menu. The trigger is registered as the native invoker for its `popover="auto"` panel and uses a Vercel-style hover→click guard, so the click that naturally follows a hover confirms and pins the panel open instead of toggling it shut. Native outside-click, Escape dismissal, and sibling-popover exclusivity are preserved. Click/keyboard opens are pinned (persist past mouse-leave); hover opens stay transient. Keyboard activation (Enter/Space) always opens and moves focus into the panel, while touch/click without a preceding hover toggles cleanly (#3121)
+- TreeList typeahead now cycles through same-letter matches instead of stalling, and searches from the top when no treeitem is focused. (#4844)
+- `BaseTypeahead` (and everything built on it — `Typeahead`, `Tokenizer`, `PowerSearch`'s content-search field) no longer misinterprets the Enter keydown that commits an IME composition (Korean/Japanese/Chinese input) as "accept the highlighted suggestion". Previously that keydown both selected the highlighted result and cleared the input, so the still-composing syllable landed in the freshly-cleared field and became its own spurious second selection on the next Enter. Also guarded the Enter-to-save handler in `PowerSearchEditPopover`, which had the same gap when typing a CJK filter value. (#4860)
+- useLongPress: cancel the pending long-press when a second finger joins mid-press. Previously `onTouchStart` and `onTouchMove` only checked `touches.length` on their own event, so a second finger arriving after a single-finger press had already started the timer (e.g. a pinch-to-zoom gesture) fell through the `touches.length !== 1` guard without ever clearing it — `onLongPress` could still fire with the stale first-finger point mid-gesture. No API change. (#4735)
+- useContainerReveal scopes the reveal by inheritance instead of a marker pool: no dev warnings on lists longer than six rows, and isEnabled now takes effect after mount (#4955)
+
+#### Documentation
+
+- AppShell: the two worked examples of the `mobileNav` escape hatch passed `title` to `MobileNav`, which does not accept it: `MobileNavProps` omits the native `title` attribute and the drawer heading prop is `header`. Copying either example produced a type error and a drawer with no heading. Both now say `header`. The doc also gains an anatomy list and accessibility guidance covering the landmark structure AppShell owns. (#4944)
+- AspectRatio: document the sizing contract and add the missing anatomy. The box takes its width from its container and derives its height from the ratio, so constraining only the height clamps it off ratio (pass `width: 'auto'` alongside) and a shrink-to-fit parent collapses it to zero width. Both are now in the component JSDoc and in `bestPractices`, along with the single-child expectation: with `fit` set, every direct child is stretched to fill the box. The image-gallery example block now uses `var(--radius-element)` instead of a raw `8`. (#4984)
+- StatusDot: document the builder's accessibility responsibilities in the usage dos and don'ts. A color-only dot is not fully accessible in isolation, so the guidance now says to use it as a binary present/absent signal, pair it with a label, carry the status as a shape via an icon, and — if neither fits — convey the status through an accessible alternative. (#4737)
+
+#### Other Changes
+
+- `DropdownMenuItemData` — the shape of one entry in a `DropdownMenu` / `ContextMenu` / `MoreMenu` `items` array — is now sourced from `DropdownMenuItemProps` (`Pick`) instead of restating `icon`, `onClick`, `isDisabled`, and `variant` by hand, and `renderDropdownItems` forwards the whole item to `DropdownMenuItem` rather than copying it field by field. The data and compound APIs describe the same item, so they can no longer drift — exposing another item prop to the data API is now one key in the `Pick`. The type is structurally identical to before (`label` is still narrowed to `string`, since the renderer keys rows by it) and rendering is unchanged. (#4809)
+- Remove 15 `<div>`/`<span>` wrappers that existed only to style the single Astryx component inside them (Carousel, Lightbox, MobileNav, Pagination, Switch, TopNav, TopNavMegaMenu, Table row-expansion menu icon); the styles now sit on that component's own root via `xstyle` — or, for Pagination's page-size Selector, its documented `width` prop. No API change, but the rendered DOM has one fewer node at each site, so anything selecting on that structure is affected: `patch`, not `[breaking]`, because the removed nodes were internal implementation with no documented contract, no theme target, and no stable class. Two rendering defects the wrappers were causing are fixed as a side effect: the Lightbox prev/next chevrons and the Pagination first/last chevrons were 2.5-3px off their button's vertical centre. (#4775)
+
+#### Contributors
+
+Thanks to everyone who contributed to this release:
+
+- @AKnassa
+- @alex-js-ltd
+- @athz
+- @cixzhang
+- @czarandy
+- @ernestt
+- @freddymeta
+- @HelloOjasMutreja
+- @humbertovirtudes
+- @imdreamrunner
+- @jiunshinn
+- @josephfarina
+
+---
+
# 0.3.0
#### Breaking Changes
diff --git a/packages/core/package.json b/packages/core/package.json
index a19f80a166..7229ab95b0 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/core",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Astryx Core",
"description": "The component library. Accessible, themeable React components with built-in spacing, dark mode, and StyleX styling.",
"author": "Meta Open Source",
diff --git a/packages/lab/package.json b/packages/lab/package.json
index 8cee669f17..9d3cf43f00 100644
--- a/packages/lab/package.json
+++ b/packages/lab/package.json
@@ -58,7 +58,7 @@
},
"peerDependencies": {
"@stylexjs/stylex": ">=0.10.0",
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19.0.0",
"react-dom": ">=19.0.0",
"lexical": "^0.46.0",
diff --git a/packages/richtext/package.json b/packages/richtext/package.json
index 87ca3b0f12..11e9c68b45 100644
--- a/packages/richtext/package.json
+++ b/packages/richtext/package.json
@@ -55,7 +55,7 @@
},
"peerDependencies": {
"@stylexjs/stylex": ">=0.10.0",
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
}
diff --git a/packages/themes/butter/CHANGELOG.md b/packages/themes/butter/CHANGELOG.md
index f03130ef89..2534e25c44 100644
--- a/packages/themes/butter/CHANGELOG.md
+++ b/packages/themes/butter/CHANGELOG.md
@@ -1,5 +1,9 @@
# @xds/theme-butter
+# 0.4.0
+
+---
+
# 0.3.0
---
diff --git a/packages/themes/butter/package.json b/packages/themes/butter/package.json
index ce043d1520..420742afc2 100644
--- a/packages/themes/butter/package.json
+++ b/packages/themes/butter/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-butter",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Butter Theme",
"private": false,
"description": "Warm, creamy yellows with a friendly blue accent. Playful enough for consumer surfaces, soft enough to stay readable.",
@@ -52,11 +52,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/packages/themes/chocolate/CHANGELOG.md b/packages/themes/chocolate/CHANGELOG.md
index 88a0408112..03e2137c5d 100644
--- a/packages/themes/chocolate/CHANGELOG.md
+++ b/packages/themes/chocolate/CHANGELOG.md
@@ -1,5 +1,9 @@
# @xds/theme-chocolate
+# 0.4.0
+
+---
+
# 0.3.0
---
diff --git a/packages/themes/chocolate/package.json b/packages/themes/chocolate/package.json
index 33daeaa796..8a85b94d7f 100644
--- a/packages/themes/chocolate/package.json
+++ b/packages/themes/chocolate/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-chocolate",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Chocolate Theme",
"private": false,
"description": "Warm chocolate theme for Astryx — rich brown palette with Fraunces headings, Albert Sans body, and Lucide icons",
@@ -52,11 +52,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/packages/themes/gothic/CHANGELOG.md b/packages/themes/gothic/CHANGELOG.md
index f5894527b8..114f5b60ca 100644
--- a/packages/themes/gothic/CHANGELOG.md
+++ b/packages/themes/gothic/CHANGELOG.md
@@ -1,5 +1,9 @@
# @xds/theme-gothic
+# 0.4.0
+
+---
+
# 0.3.0
---
diff --git a/packages/themes/gothic/package.json b/packages/themes/gothic/package.json
index d04f45223e..668034129f 100644
--- a/packages/themes/gothic/package.json
+++ b/packages/themes/gothic/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-gothic",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Gothic Theme",
"private": false,
"description": "Deep blue-grays and a signature display serif. Dramatic and editorial, for surfaces that want to be remembered.",
@@ -52,11 +52,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/packages/themes/matcha/CHANGELOG.md b/packages/themes/matcha/CHANGELOG.md
index 65bf148194..6323e7e9bc 100644
--- a/packages/themes/matcha/CHANGELOG.md
+++ b/packages/themes/matcha/CHANGELOG.md
@@ -1,5 +1,9 @@
# @xds/theme-matcha
+# 0.4.0
+
+---
+
# 0.3.0
---
diff --git a/packages/themes/matcha/package.json b/packages/themes/matcha/package.json
index e5e78e22b2..e877057a5b 100644
--- a/packages/themes/matcha/package.json
+++ b/packages/themes/matcha/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-matcha",
- "version": "0.3.0",
+ "version": "0.4.0",
"private": false,
"description": "Earthy greens with a calm, organic feel. Naturalistic and grounded, great for wellness or content-first apps.",
"author": "Meta Open Source",
@@ -51,11 +51,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/packages/themes/neutral/CHANGELOG.md b/packages/themes/neutral/CHANGELOG.md
index 6a1fec7e72..6dfb274b95 100644
--- a/packages/themes/neutral/CHANGELOG.md
+++ b/packages/themes/neutral/CHANGELOG.md
@@ -1,5 +1,19 @@
# @xds/theme-neutral
+# 0.4.0
+
+#### Fixes
+
+- `--radius-none` no longer overrides to `0.25rem`. `--radius-none` and `--radius-full` are documented as always fixed (never scaled by a theme), matching `@astryxdesign/core`'s own defaults — this theme's radius group bump swept `--radius-none` along with it by mistake. Anything opting out of rounding via `--radius-none` under this theme now renders with a true `0px` radius again, instead of a silent 4px. (#4856)
+
+#### Contributors
+
+Thanks to everyone who contributed to this release:
+
+- @HelloOjasMutreja
+
+---
+
# 0.3.0
#### Fixes
diff --git a/packages/themes/neutral/package.json b/packages/themes/neutral/package.json
index 6e6cf9c3b8..89af7ed82f 100644
--- a/packages/themes/neutral/package.json
+++ b/packages/themes/neutral/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-neutral",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Neutral Theme",
"private": false,
"description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",
@@ -52,11 +52,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/packages/themes/stone/CHANGELOG.md b/packages/themes/stone/CHANGELOG.md
index b7241e5b29..851f77caf3 100644
--- a/packages/themes/stone/CHANGELOG.md
+++ b/packages/themes/stone/CHANGELOG.md
@@ -1,5 +1,9 @@
# @xds/theme-stone
+# 0.4.0
+
+---
+
# 0.3.0
---
diff --git a/packages/themes/stone/package.json b/packages/themes/stone/package.json
index 29937123f6..adaec9bbb2 100644
--- a/packages/themes/stone/package.json
+++ b/packages/themes/stone/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-stone",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Stone Theme",
"private": false,
"description": "Warm stone and slate, earthy and understated, with just enough character to feel handcrafted.",
@@ -52,11 +52,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/packages/themes/y2k/CHANGELOG.md b/packages/themes/y2k/CHANGELOG.md
index 30787e1ee8..77f99d5c8c 100644
--- a/packages/themes/y2k/CHANGELOG.md
+++ b/packages/themes/y2k/CHANGELOG.md
@@ -1,5 +1,9 @@
# @xds/theme-y2k
+# 0.4.0
+
+---
+
# 0.3.0
---
diff --git a/packages/themes/y2k/package.json b/packages/themes/y2k/package.json
index 661c85635b..ca1253caa5 100644
--- a/packages/themes/y2k/package.json
+++ b/packages/themes/y2k/package.json
@@ -1,6 +1,6 @@
{
"name": "@astryxdesign/theme-y2k",
- "version": "0.3.0",
+ "version": "0.4.0",
"displayName": "Y2K Theme",
"private": false,
"description": "Hot pinks, lime greens, and Poppins. Bubbly, playful, and unmistakably retro.",
@@ -52,11 +52,11 @@
"lucide-react": "^1.18.0"
},
"peerDependencies": {
- "@astryxdesign/core": "0.3.0",
+ "@astryxdesign/core": "0.4.0",
"react": ">=19"
},
"devDependencies": {
- "@astryxdesign/cli": "0.3.0"
+ "@astryxdesign/cli": "0.4.0"
},
"module": "./dist/source.mjs"
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3bf693b18b..8ccfd4c59f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -562,7 +562,7 @@ importers:
packages/charts:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../core
'@stylexjs/stylex':
specifier: ^0.19.0
@@ -673,7 +673,7 @@ importers:
packages/lab:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../core
'@stylexjs/stylex':
specifier: ^0.19.0
@@ -743,7 +743,7 @@ importers:
packages/richtext:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../core
'@stylexjs/stylex':
specifier: ^0.19.0
@@ -758,7 +758,7 @@ importers:
packages/themes/butter:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -768,13 +768,13 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/themes/chocolate:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -784,13 +784,13 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/themes/gothic:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -800,13 +800,13 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/themes/matcha:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -816,13 +816,13 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/themes/neutral:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -832,13 +832,13 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/themes/stone:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -848,13 +848,13 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/themes/y2k:
dependencies:
'@astryxdesign/core':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../core
lucide-react:
specifier: ^1.18.0
@@ -864,7 +864,7 @@ importers:
version: 19.2.7
devDependencies:
'@astryxdesign/cli':
- specifier: 0.3.0
+ specifier: 0.4.0
version: link:../../cli
packages/vega: