An open source design system that's fully customizable and agent ready
TypeScript
chore: version packages for v0.6.0 (#6189)
Cindy Zhang1e63a5144bdf
diff --git a/.changeset/banner-frame-theme-target.md b/.changeset/banner-frame-theme-target.mddeleted file mode 100644index 23916cbb3e..0000000000--- a/.changeset/banner-frame-theme-target.md+++ /dev/null@@ -1,6 +0,0 @@-----'@astryxdesign/core': patch------[feat] Banner exposes a `banner-frame` theme target on the visible frame that owns whole-banner elevation and the elevated-card silhouette. The target reflects `container` and `elevation`; existing Banner targets and default rendering are unchanged.-@freddymetadiff --git a/.changeset/bright-agent-guidance.md b/.changeset/bright-agent-guidance.mddeleted file mode 100644index 118a5324d0..0000000000--- a/.changeset/bright-agent-guidance.md+++ /dev/null@@ -1,6 +0,0 @@-----'@astryxdesign/cli': patch------[feat] Let integration manifests add managed agent guidance-@josephfarinadiff --git a/.changeset/calm-icons-read.md b/.changeset/calm-icons-read.mddeleted file mode 100644index cc85fc1377..0000000000--- a/.changeset/calm-icons-read.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/theme-neutral': patch------[fix] Align Neutral light-mode foreground colors to darker palette stops.--@rubyycheungdiff --git a/.changeset/chat-composer-input-aria-multiline.md b/.changeset/chat-composer-input-aria-multiline.mddeleted file mode 100644index 4a4073adfa..0000000000--- a/.changeset/chat-composer-input-aria-multiline.md+++ /dev/null@@ -1,9 +0,0 @@-----'@astryxdesign/core': patch------[fix] ChatComposerInput: drop `aria-multiline` once triggers make the editable a combobox--`aria-multiline` was hardcoded on the contenteditable element while `useTriggerMenu` owns its role, so configuring `triggers` switched the role to `combobox` — which ARIA 1.2 does not list `aria-multiline` under — and axe flagged `aria-allowed-attr` (critical) on the 8 ChatComposerInput trigger stories and the 2 ChatLayout stories that render one. Moves the attribute into the hook's `ariaProps`, where the role and the attributes whose validity depends on it are decided together.--@Kyujeniusdiff --git a/.changeset/checkbox-list-item-description.md b/.changeset/checkbox-list-item-description.mddeleted file mode 100644index 091bc50c94..0000000000--- a/.changeset/checkbox-list-item-description.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/core': patch------[fix] CheckboxListItem: the visible `description` is now the checkbox's accessible description, so the browser computes a distinct description instead of none. Item ids the description element it already renders and publishes that id to the content it renders in a slot, which keeps a plain string description's automatic single-line truncation. CheckboxInput now merges a consumer-supplied `aria-describedby` with its own description, status, and disabled-reason ids rather than replacing it. No public API changes.--@Kyujeniusdiff --git a/.changeset/checkbox-list-item-rich-label-name.md b/.changeset/checkbox-list-item-rich-label-name.mddeleted file mode 100644index d7200ebe1a..0000000000--- a/.changeset/checkbox-list-item-rich-label-name.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/core': patch------[fix] CheckboxListItem: a ReactNode `label` now names the checkbox from its visible text through `aria-labelledby`, the way RadioListItem already does, instead of falling back to the generic name "Checkbox". `aria-label` still replaces that name; a rich label with no text at all needs it, as it does for RadioListItem. The dev-time warning that asked for `aria-label` on every rich label is gone.--@Kyujeniusdiff --git a/.changeset/cli-palette-generation.md b/.changeset/cli-palette-generation.mddeleted file mode 100644index 7e63c51bf4..0000000000--- a/.changeset/cli-palette-generation.md+++ /dev/null@@ -1,10 +0,0 @@-----'@astryxdesign/cli': patch-'@astryxdesign/theme-neutral': patch------[feat] Add an authoring-time OKLCH palette generator with a pure API, terminal and HTML previews, typed palette output, custom stops, deterministic receipts, and overwrite protection.--[feat] Expose exact solid black and white values as `neutralPalettes.black` and `neutralPalettes.white` for use in semantic theme tokens.--@rubyycheungdiff --git a/.changeset/collapsible-chevron-position.md b/.changeset/collapsible-chevron-position.mddeleted file mode 100644index 2cad5f39ce..0000000000--- a/.changeset/collapsible-chevron-position.md+++ /dev/null@@ -1,9 +0,0 @@-----'@astryxdesign/core': patch------[feat] `Collapsible` and `CollapsibleGroup` accept `chevronPosition="start" | "end"`. The default remains `end`, preserving the released trailing chevron. `start` moves the disclosure arrow ahead of the label for tree/file-browser-style rows: it points inward toward content when collapsed, mirrors under RTL, and turns downward when expanded.--Set the position on `CollapsibleGroup` when direct items should share it. An individual `Collapsible` may override the group, while a Collapsible nested inside an item's content starts a new presentation scope and keeps its own default.--@ernesttdiff --git a/.changeset/command-result-reporting.md b/.changeset/command-result-reporting.mddeleted file mode 100644index cf0eaddb53..0000000000--- a/.changeset/command-result-reporting.md+++ /dev/null@@ -1,8 +0,0 @@-----'@astryxdesign/cli': patch------[feat] Every command now reports what it returned in its debug logs, and a new command cannot skip it.--A command's action returns a `CommandResult` — either `{kind: 'results', count, resultKind, ...}` or `{kind: 'none'}` for the commands whose work is an effect (build, init, upgrade, doctor). The CommandDoc converter records it centrally, so `resultCount`, `emptyResult`, `resultKind`, and `directMatch` are now populated for `component`, `docs`, `hook`, `template`, `theme list`/`add`/`targets`, `discover`, `blog`, `swizzle --list`, `upgrade --list`, `layout grammar`, and `manifest`, not just `search` and `build`. `resultKind` gains `theme`, `integration`, `migration`, `command`, and `none`; a null now means the run never reached an answer rather than "this command has nothing to say". That is a change of meaning on an existing field, so recorded runs are now `schemaVersion: 3` — a consumer that counted nulls as "commands with nothing to report" should branch on the version before mixing old rows with new ones.-@josephfarinadiff --git a/.changeset/doctor-help-audit.md b/.changeset/doctor-help-audit.mddeleted file mode 100644index 60a711af27..0000000000--- a/.changeset/doctor-help-audit.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[docs] Align Doctor help and README examples with the shipped command tree and output format (#6197).--@josephfarinadiff --git a/.changeset/doctor-integration-authoring.md b/.changeset/doctor-integration-authoring.mddeleted file mode 100644index 283242cac6..0000000000--- a/.changeset/doctor-integration-authoring.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[feat] Add `doctor integration` checks for structural validation and Core template, component, and doc overlaps (#6173).--@josephfarinadiff --git a/.changeset/document-the-theme-icons-sidecar-contract-in-the-4s0f.md b/.changeset/document-the-theme-icons-sidecar-contract-in-the-4s0f.mddeleted file mode 100644index 8f64bb5ddd..0000000000--- a/.changeset/document-the-theme-icons-sidecar-contract-in-the-4s0f.md+++ /dev/null@@ -1,8 +0,0 @@-----'@astryxdesign/cli': patch------[docs] Clarify how to build themes with imported icon registries, including the current omission of inline registries and the separate registry compilation step.-@jiunshinn--The theme guide distinguishes a missing compiled registry from an extensionless source import: the former breaks both loading and bundling, while the latter can resolve in a bundler when the source remains beside the generated module. English, dense, and Chinese guidance now explains how output paths and `--icons-specifier` affect resolution.diff --git a/.changeset/experimental-shadcn-registry.md b/.changeset/experimental-shadcn-registry.mddeleted file mode 100644index 366ff329cb..0000000000--- a/.changeset/experimental-shadcn-registry.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[feat] Add an experimental shadcn Registry compatibility guide and doc-derived registry identity metadata. It explains the package boundary, stable organized paths, copied composition model, upgrade behavior, and when to use the richer Astryx CLI.--@josephfarinadiff --git a/.changeset/fix-resizable-bound-migrations.md b/.changeset/fix-resizable-bound-migrations.mddeleted file mode 100644index 94aec1078e..0000000000--- a/.changeset/fix-resizable-bound-migrations.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/core': patch-'@astryxdesign/cli': patch------[fix] Prevented removed Resizable bounds from being silently ignored and kept ambiguous spread migrations behavior-preserving (#6124)-@cixzhangdiff --git a/.changeset/heading-weight-override.md b/.changeset/heading-weight-override.mddeleted file mode 100644index a9966ebfdc..0000000000--- a/.changeset/heading-weight-override.md+++ /dev/null@@ -1,8 +0,0 @@-----'@astryxdesign/core': patch------[feature] Add a named font-weight override to Heading with precedence over its-visual type and semantic-level defaults.--@rubyycheungdiff --git a/.changeset/hover-highlight-no-autoscroll-option-lists.md b/.changeset/hover-highlight-no-autoscroll-option-lists.mddeleted file mode 100644index 8dc4f9ef3d..0000000000--- a/.changeset/hover-highlight-no-autoscroll-option-lists.md+++ /dev/null@@ -1,9 +0,0 @@-----'@astryxdesign/core': patch------[fix] Keep hover from auto-scrolling open option lists (#6077)--In a scrollable listbox whose highlight follows the pointer, scrolling the highlighted option into view moved the next option under the stationary pointer, whose mouseenter re-highlighted and scrolled again — an endless loop with no user input. This was already fixed for DropdownMenu and Chat; it now covers the remaining combobox-style paths through a shared highlight owner: Selector, MultiSelector, Typeahead, DateTimeInput, and CommandPalette hover highlights move only the highlight, while keyboard navigation still scrolls the highlighted option into view.--@faga295diff --git a/.changeset/interaction-modality-ignores-modifier-only-key-p-jc25.md b/.changeset/interaction-modality-ignores-modifier-only-key-p-jc25.mddeleted file mode 100644index 5edb9cb3c0..0000000000--- a/.changeset/interaction-modality-ignores-modifier-only-key-p-jc25.md+++ /dev/null@@ -1,6 +0,0 @@-----'@astryxdesign/core': patch------[fix] Slider keeps its focus ring hidden for modifier-only key presses after a pointer drag while preserving keyboard navigation (#5469)-@jiunshinndiff --git a/.changeset/layout-content-full-width-scrollport.md b/.changeset/layout-content-full-width-scrollport.mddeleted file mode 100644index df7e7f3c64..0000000000--- a/.changeset/layout-content-full-width-scrollport.md+++ /dev/null@@ -1,9 +0,0 @@-----'@astryxdesign/core': patch------[fix] Layout: keep content scrollbars at the content area's outer edge when `contentWidth` is set.--Without panels, `LayoutContent` spans the available Layout width and aligns its children to `contentWidth` internally. With exactly one panel, the panel stays aligned to the `contentWidth` frame while content extends across the opposite open area. A two-panel layout keeps the complete composition constrained.--@kentonquatmandiff --git a/.changeset/migrate-deprecated-core-apis.md b/.changeset/migrate-deprecated-core-apis.mddeleted file mode 100644index 5debfd4e75..0000000000--- a/.changeset/migrate-deprecated-core-apis.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[feat] Add `astryx upgrade` transforms for the Core 0.6 deprecated-API removals: focus direction overrides, the hooks-path IME helper import, and Resizable pixel-bound aliases.--@cixzhangdiff --git a/.changeset/migrate-legacy-theme-selectors.md b/.changeset/migrate-legacy-theme-selectors.mddeleted file mode 100644index 30f3d4fe6d..0000000000--- a/.changeset/migrate-legacy-theme-selectors.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[fix] Add a conservative `astryx upgrade --apply` migration for the Core bare selector-class removal. The transform parses `.css` selector syntax, rewrites exact v0.5.4 target/value pairs to behavior-preserving old-class/data-attribute unions, covers unbounded values that v0.5.4 emitted, and leaves unknown consumer classes unchanged.--@cixzhangdiff --git a/.changeset/popover-opening-focus.md b/.changeset/popover-opening-focus.mddeleted file mode 100644index 629322660c..0000000000--- a/.changeset/popover-opening-focus.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/core': patch------[fix] Popover: apply same-gesture reopen protection through every opening path, focus genuine caller content regardless of activation modality, and keep the generated fallback close control hidden until keyboard users reach it.--@cixzhangdiff --git a/.changeset/preserve-agent-doc-imports.md b/.changeset/preserve-agent-doc-imports.mddeleted file mode 100644index f75c892d63..0000000000--- a/.changeset/preserve-agent-doc-imports.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[fix] Preserve `@path` agent doc imports and remove previously duplicated managed blocks (#6164)--@josephfarinadiff --git a/.changeset/refresh-collapsible-blocks.md b/.changeset/refresh-collapsible-blocks.mddeleted file mode 100644index a69a291459..0000000000--- a/.changeset/refresh-collapsible-blocks.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/cli': patch------[fix] Refresh the Collapsible block templates with complete, current examples for single, multiple, controlled, divided, standalone, and grouped usage. The controlled step example keeps one valid step open so its progress label and Previous/Next actions never enter an invalid “Step 0” state.--@ernesttdiff --git a/.changeset/refuse-turbopack-in-with-astryx.md b/.changeset/refuse-turbopack-in-with-astryx.mddeleted file mode 100644index 5ae403cf5d..0000000000--- a/.changeset/refuse-turbopack-in-with-astryx.md+++ /dev/null@@ -1,6 +0,0 @@-----'@astryxdesign/build': patch------[fix] `withAstryx()` refuses a Turbopack config instead of building an unstyled app. Every alias the helper installs lives in `nextConfig.webpack`, which Turbopack never calls, so the app resolved `@astryxdesign/*` to dist while PostCSS compiled the library from source — disjoint class names, an exit code of 0, and an unstyled page. It now throws, naming both ways out: `--webpack`, or drop the helper and consume the pre-built package. Also warns when the merged alias map claims none of the packages, which reaches the same unstyled state by another route. (#6109)-@joaodotworkdiff --git a/.changeset/remove-deprecated-core-apis.md b/.changeset/remove-deprecated-core-apis.mddeleted file mode 100644index 6bfaac2119..0000000000--- a/.changeset/remove-deprecated-core-apis.md+++ /dev/null@@ -1,9 +0,0 @@-----'@astryxdesign/core': minor------[breaking] Remove deprecated focus-direction overrides, the hooks-path `isImeKeyEvent` re-export, and Resizable pixel-bound aliases.--**Codemod:** Run `npx astryx upgrade --apply` before updating to 0.6.0. It removes focus-hook `isRtl`, moves `isImeKeyEvent` imports to `@astryxdesign/core/utils`, and renames `minSizePx`/`maxSizePx` to `minSize`/`maxSize`.--@cixzhangdiff --git a/.changeset/remove-legacy-theme-value-classes.md b/.changeset/remove-legacy-theme-value-classes.mddeleted file mode 100644index 0463c3e29d..0000000000--- a/.changeset/remove-legacy-theme-value-classes.md+++ /dev/null@@ -1,26 +0,0 @@-----'@astryxdesign/core': minor------[breaking] Stop emitting deprecated bare prop and state classes such as `.primary`, `.sm`, and `.checked`. Components retain their stable `astryx-*` target classes and reflect visual props and runtime states through explicit `data-*` attributes; generated runtime and built theme CSS now uses that same selector contract.--Run `astryx upgrade --apply` to migrate safely identifiable selectors in `.css` files when a known Astryx target and v0.5.4 value have one or more known meanings. For example:--- `.astryx-button.primary` → `.astryx-button:is(.primary, [data-variant="primary"])`-- `.astryx-button.sm` → `.astryx-button:is(.sm, [data-size="sm"])`-- `.astryx-switch.checked` → `.astryx-switch:is(.checked, [data-checked="checked"])`--The codemod parses CSS selector syntax and never rewrites declarations, comments, JavaScript/TypeScript strings, unqualified classes, or custom/unknown qualified classes. Each known value becomes a specificity-preserving `:is(...)` union containing the original class arm plus every v0.5.4 reflected data-attribute arm. The class arm keeps consumer-supplied `className` matches working; the attribute arms match v0.6 props and states. You can narrow the union later when class provenance or prop-axis intent is known. Search for unqualified old value selectors such as `.primary` or `.sm` and migrate those manually only where Astryx usage is confirmed. Migrate selectors embedded in JavaScript or TypeScript manually with the same rules.--Semantic `defineTheme({components})` keys such as `variant:primary` and `checked` do not change. If you prebuild a custom theme, rerun `astryx theme build <theme-file>` after upgrading and deploy the regenerated `.css`, `.js`, `.d.ts`, and optional `.variants.d.ts` artifacts together. A built theme is marked `__built: true`, so the runtime intentionally does not regenerate stale CSS.--Exported theme helpers keep their return/container shapes but intentionally return different selector bytes:--- `themeProps` returns the stable target class (plus target-name compatibility aliases), without bare prop/state classes; its reflected `data-*` attributes are unchanged.-- `parseStyleKey` returns data-attribute selector suffixes instead of `.value`, `.prop-N`, or `.state` suffixes.-- `generateThemeRules` keeps its array contract and ordering; non-base component selectors use reflected attributes.-- `generateThemeRulesSplit` keeps `{component, prose}`; `component` selector bytes change and `prose` is unchanged.-- `generateOnMediaCSS` keeps its scoped string contract; component selector bytes change.-- `generateThemeCSS` keeps `{prose, component}` and the same layers/scopes; `component` inherits the new selectors and `prose` is unchanged.--@cixzhangdiff --git a/.changeset/sidenavitem-consumer-aria-label.md b/.changeset/sidenavitem-consumer-aria-label.mddeleted file mode 100644index 57c133f87b..0000000000--- a/.changeset/sidenavitem-consumer-aria-label.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/core': patch------[fix] SideNavItem: a consumer-provided `aria-label` no longer gets overwritten by the collapsed-rail fallback, in both the icon-only and popover-trigger paths.--@HelloOjasMutrejadiff --git a/.changeset/stepper-pixel-threshold.md b/.changeset/stepper-pixel-threshold.mddeleted file mode 100644index 9dbea580d3..0000000000--- a/.changeset/stepper-pixel-threshold.md+++ /dev/null@@ -1,9 +0,0 @@-----'@astryxdesign/core': minor------[breaking] Restrict `Stepper`'s `horizontalOptions.minimumStepWidth` to a pixel number and remove compact-layout implementation fields from `useStepperContext`.--Replace CSS-length thresholds such as `'7rem'` with their intended pixel number. Call `registerStep(index, {getIsDisabled})` instead of passing a disabled boolean; the options object is optional. `StepperContextValue` keeps transition history and step registration, while step count, compact state, summary-portal coordination, and threshold measurement remain package-internal.--@imdreamrunnerdiff --git a/.changeset/template-asset-unrecognized-format.md b/.changeset/template-asset-unrecognized-format.mddeleted file mode 100644index 64ae512f2a..0000000000--- a/.changeset/template-asset-unrecognized-format.md+++ /dev/null@@ -1,6 +0,0 @@-----'@astryxdesign/cli': patch------[fix] Report the fixture path when a template demo asset has an unsupported format (#6039)-@Hashim1999164diff --git a/.changeset/textinput-textarea-autocomplete.md b/.changeset/textinput-textarea-autocomplete.mddeleted file mode 100644index cebe6ea483..0000000000--- a/.changeset/textinput-textarea-autocomplete.md+++ /dev/null@@ -1,7 +0,0 @@-----'@astryxdesign/core': patch------[feat] Add an `autoComplete` prop to TextInput and TextArea, forwarded to the native control unchanged.--@HelloOjasMutrejadiff --git a/.changeset/theme-adaptations.md b/.changeset/theme-adaptations.mddeleted file mode 100644index 32638cd71a..0000000000--- a/.changeset/theme-adaptations.md+++ /dev/null@@ -1,65 +0,0 @@-----'@astryxdesign/core': minor-'@astryxdesign/cli': minor------[breaking] Add ordered environmental adaptations to `defineTheme`--Themes can now opt into CSS-first token, theme-local token, and component-changes for named viewport widths, primary-pointer precision, contrast-preference, and motion preference:--```ts-defineTheme({- name: 'acme',- adaptations: {- widthBreakpoints: {sm: 640, md: 768, lg: 1024, xl: 1280, '2xl': 1536},- rules: [- {- when: {width: {from: 'lg', below: 'xl'}, pointer: 'coarse'},- value: {tokens: {'--size-element-md': '44px'}},- },- ],- },-});-```--Condition fields are ANDed. `width.from` is inclusive, `width.below` is-exclusive, and rules cascade in declaration order so later matching writes win.-Theme extension preserves the effective breakpoint map and inherited rule order;-static builds retain the metadata needed for source-equivalent extension.--`AppShell` now accepts `xl` and `2xl` for `mobileNav.breakpoint` and resolves all-five names through the nearest Theme. Mobile mode now uses the documented-exclusive boundary (`width < breakpoint`), so an AppShell exactly at the named-point renders the wider layout instead of the mobile layout.--`defineTheme` now validates the token values authored inside an adaptation rule,-rejecting non-string scalars and arrays with a length other than two instead of-emitting them. Root and on-media token input keeps its existing acceptance-unchanged, so themes that pass values through casts or spreads keep building. It-also validates the combined portable and theme-local token graph for every-reachable set of matching-adaptation rules, rejecting cycles before CSS is emitted. Component writes in a-rule use the same target, axis, value-domain, and extension validation as root-`components`; a rule may not be the only place a custom value is enrolled,-because generated type augmentation is unconditional.--`astryx theme build` treats the adaptation generator as a core capability rather-than a baseline requirement, so a theme with no adaptation intent still builds-against an older installed `@astryxdesign/core` and emits the same CSS as before.-A theme that does carry adaptation intent — valid rules, a custom-`widthBreakpoints` map, or present-but-malformed adaptation metadata — fails-against such a core before any output is written, with `ERR_CORE_INCOMPATIBLE`-naming the missing `generateAdaptationCSS` export. A complete default width map-with no rules asks for nothing and still builds. Where an older core's-`defineTheme` drops adaptations while resolving, the build records each raw-`defineTheme()` input and associates it with the theme it produced, so only the-selected theme's lineage decides. An unobservable selected ancestor (including a-CommonJS source package whose ESM core namespace cannot be wrapped) fails closed;-an unused adaptive theme elsewhere in the import graph does not affect a plain-build. The same capture preserves raw typography, color, radius, and motion axis-metadata in old-core-built artifacts, allowing later current-core children to-resolve partial adaptation axes exactly as if they extended the source theme.--@imdreamrunnerdiff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.mdindex af735e0084..92312ddd75 100644--- a/packages/build/CHANGELOG.md+++ b/packages/build/CHANGELOG.md@@ -1,5 +1,19 @@# @xds/build+# 0.6.0++#### Fixes++- `withAstryx()` refuses a Turbopack config instead of building an unstyled app. Every alias the helper installs lives in `nextConfig.webpack`, which Turbopack never calls, so the app resolved `@astryxdesign/*` to dist while PostCSS compiled the library from source — disjoint class names, an exit code of 0, and an unstyled page. It now throws, naming both ways out: `--webpack`, or drop the helper and consume the pre-built package. Also warns when the merged alias map claims none of the packages, which reaches the same unstyled state by another route. (#6109)++#### Contributors++Thanks to everyone who contributed to this release:++- @joaodotwork++---+# 0.5.4---diff --git a/packages/build/package.json b/packages/build/package.jsonindex 21687975c4..3c2b88db63 100644--- a/packages/build/package.json+++ b/packages/build/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/build",- "version": "0.5.4",+ "version": "0.6.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.jsonindex 3b9971849a..fdc282813e 100644--- a/packages/charts/package.json+++ b/packages/charts/package.json@@ -60,7 +60,7 @@},"peerDependencies": {"@stylexjs/stylex": ">=0.10.0",- "@astryxdesign/core": "0.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19.0.0","react-dom": ">=19.0.0"},diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex b566235dce..a88b1d9e18 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,74 @@# @xds/cli+# 0.6.0++#### Breaking Changes++- Add ordered environmental adaptations to `defineTheme`+ Themes can now opt into CSS-first token, theme-local token, and component changes for named viewport widths, primary-pointer precision, contrast preference, and motion preference:++ ```ts+ defineTheme({+ name: 'acme',+ adaptations: {+ widthBreakpoints: {sm: 640, md: 768, lg: 1024, xl: 1280, '2xl': 1536},+ rules: [+ {+ when: {width: {from: 'lg', below: 'xl'}, pointer: 'coarse'},+ value: {tokens: {'--size-element-md': '44px'}},+ },+ ],+ },+ });+ ```++ Condition fields are ANDed. `width.from` is inclusive, `width.below` is exclusive, and rules cascade in declaration order so later matching writes win. Theme extension preserves the effective breakpoint map and inherited rule order; static builds retain the metadata needed for source-equivalent extension.++ `AppShell` now accepts `xl` and `2xl` for `mobileNav.breakpoint` and resolves all five names through the nearest Theme. Mobile mode now uses the documented exclusive boundary (`width < breakpoint`), so an AppShell exactly at the named point renders the wider layout instead of the mobile layout.++ `defineTheme` now validates the token values authored inside an adaptation rule, rejecting non-string scalars and arrays with a length other than two instead of emitting them. Root and on-media token input keeps its existing acceptance unchanged, so themes that pass values through casts or spreads keep building. It also validates the combined portable and theme-local token graph for every reachable set of matching adaptation rules, rejecting cycles before CSS is emitted. Component writes in a rule use the same target, axis, value-domain, and extension validation as root `components`; a rule may not be the only place a custom value is enrolled, because generated type augmentation is unconditional.++ `astryx theme build` treats the adaptation generator as a core capability rather than a baseline requirement, so a theme with no adaptation intent still builds against an older installed `@astryxdesign/core` and emits the same CSS as before. A theme that does carry adaptation intent — valid rules, a custom `widthBreakpoints` map, or present-but-malformed adaptation metadata — fails against such a core before any output is written, with `ERR_CORE_INCOMPATIBLE` naming the missing `generateAdaptationCSS` export. A complete default width map with no rules asks for nothing and still builds. Where an older core's `defineTheme` drops adaptations while resolving, the build records each raw `defineTheme()` input and associates it with the theme it produced, so only the selected theme's lineage decides. An unobservable selected ancestor (including a CommonJS source package whose ESM core namespace cannot be wrapped) fails closed; an unused adaptive theme elsewhere in the import graph does not affect a plain build. The same capture preserves raw typography, color, radius, and motion axis metadata in old-core-built artifacts, allowing later current-core children to resolve partial adaptation axes exactly as if they extended the source theme.++#### New Features++- Let integration manifests add managed agent guidance+- Add an authoring-time OKLCH palette generator with a pure API, terminal and HTML previews, typed palette output, custom stops, deterministic receipts, and overwrite protection.+ [feat] Expose exact solid black and white values as `neutralPalettes.black` and `neutralPalettes.white` for use in semantic theme tokens.+- Every command now reports what it returned in its debug logs, and a new command cannot skip it.+ A command's action returns a `CommandResult` — either `{kind: 'results', count, resultKind, ...}` or `{kind: 'none'}` for the commands whose work is an effect (build, init, upgrade, doctor). The CommandDoc converter records it centrally, so `resultCount`, `emptyResult`, `resultKind`, and `directMatch` are now populated for `component`, `docs`, `hook`, `template`, `theme list`/`add`/`targets`, `discover`, `blog`, `swizzle --list`, `upgrade --list`, `layout grammar`, and `manifest`, not just `search` and `build`. `resultKind` gains `theme`, `integration`, `migration`, `command`, and `none`; a null now means the run never reached an answer rather than "this command has nothing to say". That is a change of meaning on an existing field, so recorded runs are now `schemaVersion: 3` — a consumer that counted nulls as "commands with nothing to report" should branch on the version before mixing old rows with new ones.+- Add `doctor integration` checks for structural validation and Core template, component, and doc overlaps (#6173).+- Add an experimental shadcn Registry compatibility guide and doc-derived registry identity metadata. It explains the package boundary, stable organized paths, copied composition model, upgrade behavior, and when to use the richer Astryx CLI.+- Add `astryx upgrade` transforms for the Core 0.6 deprecated-API removals: focus direction overrides, the hooks-path IME helper import, and Resizable pixel-bound aliases.++#### Fixes++- Prevented removed Resizable bounds from being silently ignored and kept ambiguous spread migrations behavior-preserving (#6124)+- Add a conservative `astryx upgrade --apply` migration for the Core bare selector-class removal. The transform parses `.css` selector syntax, rewrites exact v0.5.4 target/value pairs to behavior-preserving old-class/data-attribute unions, covers unbounded values that v0.5.4 emitted, and leaves unknown consumer classes unchanged.+- Preserve `@path` agent doc imports and remove previously duplicated managed blocks (#6164)+- Refresh the Collapsible block templates with complete, current examples for single, multiple, controlled, divided, standalone, and grouped usage. The controlled step example keeps one valid step open so its progress label and Previous/Next actions never enter an invalid “Step 0” state.+- Report the fixture path when a template demo asset has an unsupported format (#6039)++#### Documentation++- Align Doctor help and README examples with the shipped command tree and output format (#6197).+- Clarify how to build themes with imported icon registries, including the current omission of inline registries and the separate registry compilation step.+ The theme guide distinguishes a missing compiled registry from an extensionless source import: the former breaks both loading and bundling, while the latter can resolve in a bundler when the source remains beside the generated module. English, dense, and Chinese guidance now explains how output paths and `--icons-specifier` affect resolution.++#### Contributors++Thanks to everyone who contributed to this release:++- @cixzhang+- @ernestt+- @Hashim1999164+- @imdreamrunner+- @jiunshinn+- @josephfarina+- @rubyycheung++---+# 0.5.4#### New Featuresdiff --git a/packages/cli/assets/codemods/__tests__/registry.test.mjs b/packages/cli/assets/codemods/__tests__/registry.test.mjsindex a8e233e966..054065d890 100644--- a/packages/cli/assets/codemods/__tests__/registry.test.mjs+++ b/packages/cli/assets/codemods/__tests__/registry.test.mjs@@ -27,6 +27,7 @@ describe('registry', () => {'0.3.0','0.4.0','0.5.0',+ '0.6.0',]);});});diff --git a/packages/cli/assets/codemods/registry.mjs b/packages/cli/assets/codemods/registry.mjsindex 0609a32e7d..46739710ee 100644--- a/packages/cli/assets/codemods/registry.mjs+++ b/packages/cli/assets/codemods/registry.mjs@@ -28,6 +28,7 @@ const registry = new Map([['0.3.0', () => import('./transforms/v0.3.0/index.mjs')],['0.4.0', () => import('./transforms/v0.4.0/index.mjs')],['0.5.0', () => import('./transforms/v0.5.0/index.mjs')],+ ['0.6.0', () => import('./transforms/v0.6.0/index.mjs')],]);// Re-export from the shared utility so registry callers and other consumersdiff --git a/packages/cli/assets/codemods/transforms/next/index.mjs b/packages/cli/assets/codemods/transforms/next/index.mjsindex e50f01525d..2af3bdfcf0 100644--- a/packages/cli/assets/codemods/transforms/next/index.mjs+++ b/packages/cli/assets/codemods/transforms/next/index.mjs@@ -7,38 +7,4 @@* this file into the resolved version folder.*/-import moveImeHelperImport, {- meta as moveImeHelperImportMeta,-} from './move-ime-helper-import.mjs';-import migrateAstryxThemeSelectorsToDataAttrs, {- meta as migrateAstryxThemeSelectorsToDataAttrsMeta,-} from './migrate-astryx-theme-selectors-to-data-attrs.mjs';-import removeFocusIsrtlOption, {- meta as removeFocusIsrtlOptionMeta,-} from './remove-focus-isrtl-option.mjs';-import renameResizablePixelBounds, {- meta as renameResizablePixelBoundsMeta,-} from './rename-resizable-pixel-bounds.mjs';--export default [- {- name: 'migrate-astryx-theme-selectors-to-data-attrs',- transform: migrateAstryxThemeSelectorsToDataAttrs,- meta: migrateAstryxThemeSelectorsToDataAttrsMeta,- },- {- name: 'move-ime-helper-import',- transform: moveImeHelperImport,- meta: moveImeHelperImportMeta,- },- {- name: 'remove-focus-isrtl-option',- transform: removeFocusIsrtlOption,- meta: removeFocusIsrtlOptionMeta,- },- {- name: 'rename-resizable-pixel-bounds',- transform: renameResizablePixelBounds,- meta: renameResizablePixelBoundsMeta,- },-];+export default [];diff --git a/packages/cli/assets/codemods/transforms/next/__tests__/migrate-astryx-theme-selectors-to-data-attrs.test.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/__tests__/migrate-astryx-theme-selectors-to-data-attrs.test.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/__tests__/migrate-astryx-theme-selectors-to-data-attrs.test.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/__tests__/migrate-astryx-theme-selectors-to-data-attrs.test.mjsdiff --git a/packages/cli/assets/codemods/transforms/next/__tests__/next-codemods.test.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/__tests__/next-codemods.test.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/__tests__/next-codemods.test.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/__tests__/next-codemods.test.mjsdiff --git a/packages/cli/assets/codemods/transforms/v0.6.0/index.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/index.mjsnew file mode 100644index 0000000000..e50f01525d--- /dev/null+++ b/packages/cli/assets/codemods/transforms/v0.6.0/index.mjs@@ -0,0 +1,44 @@+// 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 moveImeHelperImport, {+ meta as moveImeHelperImportMeta,+} from './move-ime-helper-import.mjs';+import migrateAstryxThemeSelectorsToDataAttrs, {+ meta as migrateAstryxThemeSelectorsToDataAttrsMeta,+} from './migrate-astryx-theme-selectors-to-data-attrs.mjs';+import removeFocusIsrtlOption, {+ meta as removeFocusIsrtlOptionMeta,+} from './remove-focus-isrtl-option.mjs';+import renameResizablePixelBounds, {+ meta as renameResizablePixelBoundsMeta,+} from './rename-resizable-pixel-bounds.mjs';++export default [+ {+ name: 'migrate-astryx-theme-selectors-to-data-attrs',+ transform: migrateAstryxThemeSelectorsToDataAttrs,+ meta: migrateAstryxThemeSelectorsToDataAttrsMeta,+ },+ {+ name: 'move-ime-helper-import',+ transform: moveImeHelperImport,+ meta: moveImeHelperImportMeta,+ },+ {+ name: 'remove-focus-isrtl-option',+ transform: removeFocusIsrtlOption,+ meta: removeFocusIsrtlOptionMeta,+ },+ {+ name: 'rename-resizable-pixel-bounds',+ transform: renameResizablePixelBounds,+ meta: renameResizablePixelBoundsMeta,+ },+];diff --git a/packages/cli/assets/codemods/transforms/next/migrate-astryx-theme-selectors-to-data-attrs.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/migrate-astryx-theme-selectors-to-data-attrs.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/migrate-astryx-theme-selectors-to-data-attrs.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/migrate-astryx-theme-selectors-to-data-attrs.mjsdiff --git a/packages/cli/assets/codemods/transforms/next/migrate-astryx-theme-selectors-v0.5.4-data.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/migrate-astryx-theme-selectors-v0.5.4-data.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/migrate-astryx-theme-selectors-v0.5.4-data.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/migrate-astryx-theme-selectors-v0.5.4-data.mjsdiff --git a/packages/cli/assets/codemods/transforms/next/move-ime-helper-import.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/move-ime-helper-import.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/move-ime-helper-import.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/move-ime-helper-import.mjsdiff --git a/packages/cli/assets/codemods/transforms/next/remove-focus-isrtl-option.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/remove-focus-isrtl-option.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/remove-focus-isrtl-option.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/remove-focus-isrtl-option.mjsdiff --git a/packages/cli/assets/codemods/transforms/next/rename-resizable-pixel-bounds.mjs b/packages/cli/assets/codemods/transforms/v0.6.0/rename-resizable-pixel-bounds.mjssimilarity index 100%rename from packages/cli/assets/codemods/transforms/next/rename-resizable-pixel-bounds.mjsrename to packages/cli/assets/codemods/transforms/v0.6.0/rename-resizable-pixel-bounds.mjsdiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 182b892627..f478c2d62f 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/cli",- "version": "0.5.4",+ "version": "0.6.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.mdindex ef665fefce..db1632dc76 100644--- a/packages/core/CHANGELOG.md+++ b/packages/core/CHANGELOG.md@@ -1,5 +1,100 @@# @xds/core+# 0.6.0++#### Breaking Changes++- Remove deprecated focus-direction overrides, the hooks-path `isImeKeyEvent` re-export, and Resizable pixel-bound aliases.+ **Codemod:** Run `npx astryx upgrade --apply` before updating to 0.6.0. It removes focus-hook `isRtl`, moves `isImeKeyEvent` imports to `@astryxdesign/core/utils`, and renames `minSizePx`/`maxSizePx` to `minSize`/`maxSize`.+- Stop emitting deprecated bare prop and state classes such as `.primary`, `.sm`, and `.checked`. Components retain their stable `astryx-*` target classes and reflect visual props and runtime states through explicit `data-*` attributes; generated runtime and built theme CSS now uses that same selector contract.+ Run `astryx upgrade --apply` to migrate safely identifiable selectors in `.css` files when a known Astryx target and v0.5.4 value have one or more known meanings. For example:++ - `.astryx-button.primary` → `.astryx-button:is(.primary, [data-variant="primary"])`+ - `.astryx-button.sm` → `.astryx-button:is(.sm, [data-size="sm"])`+ - `.astryx-switch.checked` → `.astryx-switch:is(.checked, [data-checked="checked"])`++ The codemod parses CSS selector syntax and never rewrites declarations, comments, JavaScript/TypeScript strings, unqualified classes, or custom/unknown qualified classes. Each known value becomes a specificity-preserving `:is(...)` union containing the original class arm plus every v0.5.4 reflected data-attribute arm. The class arm keeps consumer-supplied `className` matches working; the attribute arms match v0.6 props and states. You can narrow the union later when class provenance or prop-axis intent is known. Search for unqualified old value selectors such as `.primary` or `.sm` and migrate those manually only where Astryx usage is confirmed. Migrate selectors embedded in JavaScript or TypeScript manually with the same rules.++ Semantic `defineTheme({components})` keys such as `variant:primary` and `checked` do not change. If you prebuild a custom theme, rerun `astryx theme build <theme-file>` after upgrading and deploy the regenerated `.css`, `.js`, `.d.ts`, and optional `.variants.d.ts` artifacts together. A built theme is marked `__built: true`, so the runtime intentionally does not regenerate stale CSS.++ Exported theme helpers keep their return/container shapes but intentionally return different selector bytes:++ - `themeProps` returns the stable target class (plus target-name compatibility aliases), without bare prop/state classes; its reflected `data-*` attributes are unchanged.+ - `parseStyleKey` returns data-attribute selector suffixes instead of `.value`, `.prop-N`, or `.state` suffixes.+ - `generateThemeRules` keeps its array contract and ordering; non-base component selectors use reflected attributes.+ - `generateThemeRulesSplit` keeps `{component, prose}`; `component` selector bytes change and `prose` is unchanged.+ - `generateOnMediaCSS` keeps its scoped string contract; component selector bytes change.+ - `generateThemeCSS` keeps `{prose, component}` and the same layers/scopes; `component` inherits the new selectors and `prose` is unchanged.++- Restrict `Stepper`'s `horizontalOptions.minimumStepWidth` to a pixel number and remove compact-layout implementation fields from `useStepperContext`.+ Replace CSS-length thresholds such as `'7rem'` with their intended pixel number. Call `registerStep(index, {getIsDisabled})` instead of passing a disabled boolean; the options object is optional. `StepperContextValue` keeps transition history and step registration, while step count, compact state, summary-portal coordination, and threshold measurement remain package-internal.+- Add ordered environmental adaptations to `defineTheme`+ Themes can now opt into CSS-first token, theme-local token, and component changes for named viewport widths, primary-pointer precision, contrast preference, and motion preference:++ ```ts+ defineTheme({+ name: 'acme',+ adaptations: {+ widthBreakpoints: {sm: 640, md: 768, lg: 1024, xl: 1280, '2xl': 1536},+ rules: [+ {+ when: {width: {from: 'lg', below: 'xl'}, pointer: 'coarse'},+ value: {tokens: {'--size-element-md': '44px'}},+ },+ ],+ },+ });+ ```++ Condition fields are ANDed. `width.from` is inclusive, `width.below` is exclusive, and rules cascade in declaration order so later matching writes win. Theme extension preserves the effective breakpoint map and inherited rule order; static builds retain the metadata needed for source-equivalent extension.++ `AppShell` now accepts `xl` and `2xl` for `mobileNav.breakpoint` and resolves all five names through the nearest Theme. Mobile mode now uses the documented exclusive boundary (`width < breakpoint`), so an AppShell exactly at the named point renders the wider layout instead of the mobile layout.++ `defineTheme` now validates the token values authored inside an adaptation rule, rejecting non-string scalars and arrays with a length other than two instead of emitting them. Root and on-media token input keeps its existing acceptance unchanged, so themes that pass values through casts or spreads keep building. It also validates the combined portable and theme-local token graph for every reachable set of matching adaptation rules, rejecting cycles before CSS is emitted. Component writes in a rule use the same target, axis, value-domain, and extension validation as root `components`; a rule may not be the only place a custom value is enrolled, because generated type augmentation is unconditional.++ `astryx theme build` treats the adaptation generator as a core capability rather than a baseline requirement, so a theme with no adaptation intent still builds against an older installed `@astryxdesign/core` and emits the same CSS as before. A theme that does carry adaptation intent — valid rules, a custom `widthBreakpoints` map, or present-but-malformed adaptation metadata — fails against such a core before any output is written, with `ERR_CORE_INCOMPATIBLE` naming the missing `generateAdaptationCSS` export. A complete default width map with no rules asks for nothing and still builds. Where an older core's `defineTheme` drops adaptations while resolving, the build records each raw `defineTheme()` input and associates it with the theme it produced, so only the selected theme's lineage decides. An unobservable selected ancestor (including a CommonJS source package whose ESM core namespace cannot be wrapped) fails closed; an unused adaptive theme elsewhere in the import graph does not affect a plain build. The same capture preserves raw typography, color, radius, and motion axis metadata in old-core-built artifacts, allowing later current-core children to resolve partial adaptation axes exactly as if they extended the source theme.++#### New Features++- Banner exposes a `banner-frame` theme target on the visible frame that owns whole-banner elevation and the elevated-card silhouette. The target reflects `container` and `elevation`; existing Banner targets and default rendering are unchanged.+- `Collapsible` and `CollapsibleGroup` accept `chevronPosition="start" | "end"`. The default remains `end`, preserving the released trailing chevron. `start` moves the disclosure arrow ahead of the label for tree/file-browser-style rows: it points inward toward content when collapsed, mirrors under RTL, and turns downward when expanded.+ Set the position on `CollapsibleGroup` when direct items should share it. An individual `Collapsible` may override the group, while a Collapsible nested inside an item's content starts a new presentation scope and keeps its own default.+- Add a named font-weight override to Heading with precedence over its+ visual type and semantic-level defaults.+- Add an `autoComplete` prop to TextInput and TextArea, forwarded to the native control unchanged.++#### Fixes++- ChatComposerInput: drop `aria-multiline` once triggers make the editable a combobox+ `aria-multiline` was hardcoded on the contenteditable element while `useTriggerMenu` owns its role, so configuring `triggers` switched the role to `combobox` — which ARIA 1.2 does not list `aria-multiline` under — and axe flagged `aria-allowed-attr` (critical) on the 8 ChatComposerInput trigger stories and the 2 ChatLayout stories that render one. Moves the attribute into the hook's `ariaProps`, where the role and the attributes whose validity depends on it are decided together.+- CheckboxListItem: the visible `description` is now the checkbox's accessible description, so the browser computes a distinct description instead of none. Item ids the description element it already renders and publishes that id to the content it renders in a slot, which keeps a plain string description's automatic single-line truncation. CheckboxInput now merges a consumer-supplied `aria-describedby` with its own description, status, and disabled-reason ids rather than replacing it. No public API changes.+- CheckboxListItem: a ReactNode `label` now names the checkbox from its visible text through `aria-labelledby`, the way RadioListItem already does, instead of falling back to the generic name "Checkbox". `aria-label` still replaces that name; a rich label with no text at all needs it, as it does for RadioListItem. The dev-time warning that asked for `aria-label` on every rich label is gone.+- Prevented removed Resizable bounds from being silently ignored and kept ambiguous spread migrations behavior-preserving (#6124)+- Keep hover from auto-scrolling open option lists (#6077)+ In a scrollable listbox whose highlight follows the pointer, scrolling the highlighted option into view moved the next option under the stationary pointer, whose mouseenter re-highlighted and scrolled again — an endless loop with no user input. This was already fixed for DropdownMenu and Chat; it now covers the remaining combobox-style paths through a shared highlight owner: Selector, MultiSelector, Typeahead, DateTimeInput, and CommandPalette hover highlights move only the highlight, while keyboard navigation still scrolls the highlighted option into view.+- Slider keeps its focus ring hidden for modifier-only key presses after a pointer drag while preserving keyboard navigation (#5469)+- Layout: keep content scrollbars at the content area's outer edge when `contentWidth` is set.+ Without panels, `LayoutContent` spans the available Layout width and aligns its children to `contentWidth` internally. With exactly one panel, the panel stays aligned to the `contentWidth` frame while content extends across the opposite open area. A two-panel layout keeps the complete composition constrained.+- Popover: apply same-gesture reopen protection through every opening path, focus genuine caller content regardless of activation modality, and keep the generated fallback close control hidden until keyboard users reach it.+- SideNavItem: a consumer-provided `aria-label` no longer gets overwritten by the collapsed-rail fallback, in both the icon-only and popover-trigger paths.++#### Contributors++Thanks to everyone who contributed to this release:++- @cixzhang+- @ernestt+- @faga295+- @freddymeta+- @HelloOjasMutreja+- @imdreamrunner+- @jiunshinn+- @kentonquatman+- @Kyujenius+- @rubyycheung++---+# 0.5.4#### Fixesdiff --git a/packages/core/package.json b/packages/core/package.jsonindex 457f502134..81c9e822fc 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/core",- "version": "0.5.4",+ "version": "0.6.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.jsonindex 5c1d7f76a9..d44fbed8ec 100644--- a/packages/lab/package.json+++ b/packages/lab/package.json@@ -59,7 +59,7 @@},"peerDependencies": {"@stylexjs/stylex": ">=0.10.0",- "@astryxdesign/core": "0.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19.0.0","react-dom": ">=19.0.0"},diff --git a/packages/richtext/package.json b/packages/richtext/package.jsonindex 9dae0ed6ab..d62de0e4a1 100644--- a/packages/richtext/package.json+++ b/packages/richtext/package.json@@ -63,7 +63,7 @@},"peerDependencies": {"@stylexjs/stylex": ">=0.10.0",- "@astryxdesign/core": "0.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19.0.0","react-dom": ">=19.0.0","lexical": "^0.46.0",diff --git a/packages/themes/butter/CHANGELOG.md b/packages/themes/butter/CHANGELOG.mdindex e36d62ab75..3b840d318e 100644--- a/packages/themes/butter/CHANGELOG.md+++ b/packages/themes/butter/CHANGELOG.md@@ -1,5 +1,13 @@# @xds/theme-butter+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++---+# 0.5.4---diff --git a/packages/themes/butter/package.json b/packages/themes/butter/package.jsonindex 4fa7f1b0eb..c706a26257 100644--- a/packages/themes/butter/package.json+++ b/packages/themes/butter/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-butter",- "version": "0.5.4",+ "version": "0.6.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.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/chocolate/CHANGELOG.md b/packages/themes/chocolate/CHANGELOG.mdindex 34d7fede07..d95f0c8c82 100644--- a/packages/themes/chocolate/CHANGELOG.md+++ b/packages/themes/chocolate/CHANGELOG.md@@ -1,5 +1,13 @@# @xds/theme-chocolate+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++---+# 0.5.4---diff --git a/packages/themes/chocolate/package.json b/packages/themes/chocolate/package.jsonindex 0413372bbe..de97c68e38 100644--- a/packages/themes/chocolate/package.json+++ b/packages/themes/chocolate/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-chocolate",- "version": "0.5.4",+ "version": "0.6.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.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/gothic/CHANGELOG.md b/packages/themes/gothic/CHANGELOG.mdindex f2fc9115ec..2f58eb198c 100644--- a/packages/themes/gothic/CHANGELOG.md+++ b/packages/themes/gothic/CHANGELOG.md@@ -1,5 +1,13 @@# @xds/theme-gothic+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++---+# 0.5.4---diff --git a/packages/themes/gothic/package.json b/packages/themes/gothic/package.jsonindex ba0fbb5634..c43d80e708 100644--- a/packages/themes/gothic/package.json+++ b/packages/themes/gothic/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-gothic",- "version": "0.5.4",+ "version": "0.6.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.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/matcha/CHANGELOG.md b/packages/themes/matcha/CHANGELOG.mdindex f279f20f82..6cfaa14fe1 100644--- a/packages/themes/matcha/CHANGELOG.md+++ b/packages/themes/matcha/CHANGELOG.md@@ -1,5 +1,13 @@# @xds/theme-matcha+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++---+# 0.5.4---diff --git a/packages/themes/matcha/package.json b/packages/themes/matcha/package.jsonindex 3f237ff411..30dd5e5d96 100644--- a/packages/themes/matcha/package.json+++ b/packages/themes/matcha/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-matcha",- "version": "0.5.4",+ "version": "0.6.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.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/neutral/CHANGELOG.md b/packages/themes/neutral/CHANGELOG.mdindex 8df6d136d4..3706188913 100644--- a/packages/themes/neutral/CHANGELOG.md+++ b/packages/themes/neutral/CHANGELOG.md@@ -1,5 +1,28 @@# @xds/theme-neutral+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++#### New Features++- Add an authoring-time OKLCH palette generator with a pure API, terminal and HTML previews, typed palette output, custom stops, deterministic receipts, and overwrite protection.+ [feat] Expose exact solid black and white values as `neutralPalettes.black` and `neutralPalettes.white` for use in semantic theme tokens.++#### Fixes++- Align Neutral light-mode foreground colors to darker palette stops.++#### Contributors++Thanks to everyone who contributed to this release:++- @rubyycheung++---+# 0.5.4---diff --git a/packages/themes/neutral/package.json b/packages/themes/neutral/package.jsonindex 5e82ccbe28..ec632a33c4 100644--- a/packages/themes/neutral/package.json+++ b/packages/themes/neutral/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-neutral",- "version": "0.5.4",+ "version": "0.6.0","displayName": "Neutral Theme","private": false,"description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",@@ -53,11 +53,11 @@"lucide-react": "^1.18.0"},"peerDependencies": {- "@astryxdesign/core": "0.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/probe/package.json b/packages/themes/probe/package.jsonindex d8a3ed1be4..71282ca088 100644--- a/packages/themes/probe/package.json+++ b/packages/themes/probe/package.json@@ -23,12 +23,12 @@"build": "node ../../../scripts/clean-dist.mjs && astryx theme build src/probeTheme.ts -o dist/theme.css --icons-specifier ./registries.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"},"peerDependencies": {- "@astryxdesign/core": "0.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {"tsup": "^8.3.0",- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/stone/CHANGELOG.md b/packages/themes/stone/CHANGELOG.mdindex 375b7ab1b7..8a08bb19aa 100644--- a/packages/themes/stone/CHANGELOG.md+++ b/packages/themes/stone/CHANGELOG.md@@ -1,5 +1,13 @@# @xds/theme-stone+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++---+# 0.5.4---diff --git a/packages/themes/stone/package.json b/packages/themes/stone/package.jsonindex ccddd9cb1d..59c6ccf136 100644--- a/packages/themes/stone/package.json+++ b/packages/themes/stone/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-stone",- "version": "0.5.4",+ "version": "0.6.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.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/packages/themes/y2k/CHANGELOG.md b/packages/themes/y2k/CHANGELOG.mdindex 260ade0b39..91137c31e8 100644--- a/packages/themes/y2k/CHANGELOG.md+++ b/packages/themes/y2k/CHANGELOG.md@@ -1,5 +1,13 @@# @xds/theme-y2k+# 0.6.0++#### Breaking Changes++- Requires `@astryxdesign/[email protected]` as part of the coordinated stable release. Upgrade Core and this theme together.++---+# 0.5.4---diff --git a/packages/themes/y2k/package.json b/packages/themes/y2k/package.jsonindex 6b42b9a53f..d702f2a70d 100644--- a/packages/themes/y2k/package.json+++ b/packages/themes/y2k/package.json@@ -1,6 +1,6 @@{"name": "@astryxdesign/theme-y2k",- "version": "0.5.4",+ "version": "0.6.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.5.4",+ "@astryxdesign/core": "0.6.0","react": ">=19"},"devDependencies": {- "@astryxdesign/cli": "0.5.4"+ "@astryxdesign/cli": "0.6.0"},"module": "./dist/source.mjs"}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex f5ce58c688..9d39b36e45 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -623,7 +623,7 @@ importers:packages/charts:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../core'@stylexjs/stylex':specifier: '>=0.10.0'@@ -740,7 +740,7 @@ importers:packages/lab:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../core'@stylexjs/stylex':specifier: '>=0.10.0'@@ -777,7 +777,7 @@ importers:packages/richtext:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../core'@stylexjs/stylex':specifier: '>=0.10.0'@@ -829,7 +829,7 @@ importers:packages/themes/butter:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -839,13 +839,13 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/themes/chocolate:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -855,13 +855,13 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/themes/gothic:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -871,13 +871,13 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/themes/matcha:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -887,13 +887,13 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/themes/neutral:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -903,20 +903,20 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/themes/probe:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corereact:specifier: '>=19'version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clitsup:specifier: ^8.3.0@@ -925,7 +925,7 @@ importers:packages/themes/stone:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -935,13 +935,13 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/themes/y2k:dependencies:'@astryxdesign/core':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../corelucide-react:specifier: ^1.18.0@@ -951,7 +951,7 @@ importers:version: 19.2.7devDependencies:'@astryxdesign/cli':- specifier: 0.5.4+ specifier: 0.6.0version: link:../../clipackages/vega: