Repository navigation
feat(ci): make checks & CI prefix-agnostic for component files (P3b) - #2878
Merged
Merged
Conversation
Several CI/check surfaces locate component source files by the `XDS*.tsx`
filename convention. The XDS-prefix migration (P2380608025, P4) renames
these to the bare `{Name}.tsx` form, so these surfaces must recognize both
or they will silently stop working on renamed components.
- check-sync.js: the SYNC-comment night watch (runs in check:repo on every
commit) matched `XDS*.tsx` to find component dirs/files. Now matches both
prefixed and bare, with the same doc-gate as discovery so internal
PascalCase helpers (OverlayScrim.tsx, PowerSearchEditPopover.tsx) are not
misclassified. Verified byte-identical output on the real tree, before and
after a simulated rename.
- analyze-pr.js: getPropsCount() found the main component file via the XDS
prefix. Now prefers the directory-named file (XDS{Name}.tsx or {Name}.tsx)
and falls back to any component file, excluding tests/Context. Verified it
resolves Button -> Button.tsx post-rename and still picks XDSOverlay.tsx
(not OverlayScrim.tsx).
- hardening-issue.yml: the new-component detection regex now accepts an
optional XDS prefix (`(?:XDS)?\1\.tsx`).
Deliberately left unchanged (correct through the compat window per P0):
- canary publish filter `startsWith("@xds/")` — package scope stays @xds/*
- generate-pr-comment.js `@xds/core` bundle row — same
- accessibility-audit.js already strips XDS optionally (/^XDS/i) — tolerant
- check-package-boundaries.js XDSCommon* — a separate package-boundary
convention, not the component prefix
- analyze-pr.js export-name filters (startsWith("XDS") on exported symbols) —
P4 keeps XDS* symbol names; bare aliases coexist so no component is missed
ejhammond
requested review from
cixzhang,
imdreamrunner,
josephfarina,
marie-lucas,
nynexman4464 and
thedjpetersen
as code owners
June 17, 2026 01:27
|
@ejhammond must be a member of the Meta Open Source team on Vercel to deploy. Learn more about collaboration on Vercel and other options here. |
ejhammond
added a commit
that referenced
this pull request
Jun 19, 2026
…ases (#2941) * feat(core): add centralized naming module for prefix migration (#2861) Introduce `packages/core/src/naming.ts` as the single source of truth for the externally-observable namespace prefix used by CSS classes, data attributes, and CSS custom properties. Today this prefix is the literal string `xds`, hardcoded independently across the runtime, the theme build pipeline, and discovery tooling (kept in sync only by SYNC comments). This module exposes both the legacy (`xds`) and new (`astryx`) namespace constants plus helpers (`stableClassName`, `dataAttr`, `cssVar` and their `legacy*` counterparts), and is exported via the new `@xds/core/naming` subpath so both the TS runtime and `.mjs` build/CLI tooling can consume one source of truth. This is a behavior-preserving refactor: `xdsThemeProps()` now builds its stable class via `legacyStableClassName()`, which still emits `xds-button` etc. The dual-emit compatibility layer and eventual cutover will flip the emitted prefix in one place instead of hundreds of literals. - Add naming.ts + naming.test.ts (8 tests) - Refactor xdsThemeProps to consume the centralized prefix (output unchanged) - Register @xds/core/naming subpath export - Update src/README.md file manifest * feat(core): add unprefixed compatibility aliases (P1 compat layer) (#2864) Add bare (unprefixed) re-export aliases for all XDS* and useXDS* public exports across 100 component barrels. Consumers can now import `Button`, `ButtonProps`, `useTheme`, etc. alongside the existing `XDSButton`, `XDSButtonProps`, `useXDSTheme`. The prefixed names remain canonical and are the module-augmentation targets; bare aliases are pure re-exports that reference the same values/types. Strategy: aliases are emitted at the barrel level (index.ts) via `export {XDSButton as Button} from "."`, preserving the XDS* declaration in source .tsx unchanged (filename + discovery tooling stable). This makes the prefixed names the deletable thing at final cutover (P10). Also: - Add `astryx` binary alias for the CLI (same launcher as `xds`) - Add scripts/generate-compat-aliases.mjs (idempotent codegen) - Wire `pnpm compat:aliases:check` into check:repo gate - Add compat-aliases.test.tsx (6 tests: runtime+type identity, barrel coverage) Skips bare aliases that collide with pre-existing bare exports in other barrels (Token, HeadingLevel, DateRangePreset) to avoid root-barrel export * ambiguity (TS2308). Global collision pre-pass handles this. Scope: ~634 XDS* identifiers aliased across 100 barrels. No behavior change; all existing tests pass; tsc clean; check:repo gate passes. * feat(build): make the theme CSS layer name configurable (P3c) (#2866) Add a `layers.theme` option to the XDS Vite plugin (both the modern and legacy APIs), defaulting to `xds-theme`. Previously the theme layer name was hardcoded in the injected `@layer reset, xds-base, xds-theme, product;` order statement while `library` and `product` were already configurable. This supports the XDS-prefix migration (P2380608025): a consumer can opt into the rebranded `astryx-theme` layer before the final cutover by setting `layers.theme` (alongside the matching runtime theme-layer name, which is a follow-up). Defaulting to `xds-theme` means existing consumers are completely unaffected — this is a pure capability addition. @xds/build is a private, unpublished package, so this is an internal-only surface with no consumer compatibility obligation. - Add `layers.theme` to XDSVitePluginOptions + legacy options interface - Thread `themeLayer` through both layer-order injections - Add vite.test.ts: 5 tests covering default + opt-in for both APIs No behavior change at the default; build compiles; tests pass. * feat(cli): add drop-xds-prefix-imports codemod (P2) (#2879) Authors the first XDS-prefix migration codemod (P2380608025). Rewrites consumer code from the prefixed names to the bare compatibility aliases shipped in P1: XDSButton -> Button XDSButtonProps -> ButtonProps useXDSTheme -> useTheme Safety is the central design goal: the codemod ONLY renames identifiers bound to an `@xds/core` import (bare or subpath). It tracks the local binding each import introduces and renames that binding plus its references (imports, JSX, type positions, re-exports). It deliberately does NOT touch: - a consumers own unrelated `XDSWhatever` symbol - `XDSButton` imported from some other library - strings that merely start with "XDS" - import source paths (`@xds/core/Button` stays — subpath dirs are unchanged by the prefix migration) Aliased imports (`XDSButton as Btn`) keep their custom local alias and only rewrite the imported name. Registered in the v0.0.15 manifest as `optional: true` (mirrors the existing optional `migrate-theme-selectors-to-data-attrs`). Being optional, it does NOT run on a routine `xds upgrade`; consumers invoke it explicitly during their migration: xds upgrade --codemod drop-xds-prefix-imports --codemod-only --apply Test plan: 10 tests covering named/subpath/type/hook imports, JSX usage, aliased imports, re-exports, no-op files, and the three safety cases above. Verified the codemod is discoverable via the registry (optional) and the full v0.0.15 + json-contract + upgrade suites pass (58 tests). * feat(cli): make component discovery prefix-agnostic (P3) (#2867) Component discovery scans for `XDS{Name}.tsx` source files. The XDS-prefix migration (P2380608025, P4) renames these to the bare `{Name}.tsx` form, so discovery must recognize both naming schemes — otherwise P4 renames would silently drop components from `xds component`, `xds search`, agent-docs, and docsite data generation. Approach: recognize both `XDS{Name}.tsx` and bare `{Name}.tsx`. The `XDS` prefix has historically doubled as a "this is a top-level component" marker, so naively matching all PascalCase `.tsx` files would surface internal helpers (`OverlayScrim.tsx`, `PowerSearchEditPopover.tsx`, ...). To prevent that regression, a BARE-named file is only treated as a component when a sibling doc (`{Name}.doc.mjs` or `XDS{Name}.doc.mjs`) exists. Prefixed files keep their exact current behavior. - component-discovery.mjs: add isComponentSourceFile()/componentNameFromFile() helpers; findComponentSource() resolves both prefixed and bare files - docs.mjs: hasXDSFile() matches both forms - swizzle is already prefix-tolerant (strips XDS from input, copies by dir scan) — no change needed Verified against the real core tree: 165 components discovered identically whether source files are prefixed or renamed to bare (zero added/removed), including sub-components. 49 discovery tests pass (5 new covering bare-name discovery, mixed prefixed/bare, helper-without-doc exclusion, and dual-form source resolution). * feat(ci): make checks & CI prefix-agnostic for component files (P3b) (#2878) Several CI/check surfaces locate component source files by the `XDS*.tsx` filename convention. The XDS-prefix migration (P2380608025, P4) renames these to the bare `{Name}.tsx` form, so these surfaces must recognize both or they will silently stop working on renamed components. - check-sync.js: the SYNC-comment night watch (runs in check:repo on every commit) matched `XDS*.tsx` to find component dirs/files. Now matches both prefixed and bare, with the same doc-gate as discovery so internal PascalCase helpers (OverlayScrim.tsx, PowerSearchEditPopover.tsx) are not misclassified. Verified byte-identical output on the real tree, before and after a simulated rename. - analyze-pr.js: getPropsCount() found the main component file via the XDS prefix. Now prefers the directory-named file (XDS{Name}.tsx or {Name}.tsx) and falls back to any component file, excluding tests/Context. Verified it resolves Button -> Button.tsx post-rename and still picks XDSOverlay.tsx (not OverlayScrim.tsx). - hardening-issue.yml: the new-component detection regex now accepts an optional XDS prefix (`(?:XDS)?\1\.tsx`). Deliberately left unchanged (correct through the compat window per P0): - canary publish filter `startsWith("@xds/")` — package scope stays @xds/* - generate-pr-comment.js `@xds/core` bundle row — same - accessibility-audit.js already strips XDS optionally (/^XDS/i) — tolerant - check-package-boundaries.js XDSCommon* — a separate package-boundary convention, not the component prefix - analyze-pr.js export-name filters (startsWith("XDS") on exported symbols) — P4 keeps XDS* symbol names; bare aliases coexist so no component is missed * feat(build): expose configurable StyleX library prefix (P3c) (#2881) The XDS babel wrapper (babel.js) already accepted a `libraryPrefix` option (default `xds`) controlling the StyleX atomic class-name prefix for library files, distinct from the product prefix so atoms never collide across layers. But the modern `xdsStylex()` Vite entry never threaded it, so it was stuck at `xds`. Add a `stylexPrefix` option to xdsStylex() (both modern and legacy APIs), default `xds`, threaded into the babel wrapper as `libraryPrefix`. This lets a consumer rebrand the library atom prefix to `astryx` before the final cutover (XDS-prefix migration P2380608025), completing the configurable-build trio (layers.library, layers.theme, stylexPrefix). Internal-only surface (@xds/build is private); default unchanged so existing consumers are unaffected. Test plan: new babel.test.mjs runs the wrapper through @babel/core on a real StyleX source and asserts library atoms are `xds`-prefixed by default and `astryx`-prefixed when configured. vite.test.ts (5) + babel.test.mjs (2) pass; @xds/build builds cleanly. * chore(build): drop configurable theme-layer opt-in (keep xds-theme until cutover) (#2888) Reverts the build-side `layers.theme` option (#2866). Decision (EJ): consumers should NOT opt into the rebranded astryx-theme layer before the final cutover. The opt-in only lets a consumer rename their cascade layer early, but the layer name is functionally invisible to them -- it only affects their `@layer` order line. Opting in early would mean editing that config twice (now + again at cutover) plus runtime setThemeLayerName() setup, all of which gets torn down at P10 when they move to @astryx/core (which uses astryx layers natively). Throwaway config for zero functional gain. Half the feature was also a footgun: build `layers.theme: astryx-theme` without the matching runtime layer name (the never-merged #2880) would desync the declared layer order from the runtime-injected layer (cascade split-brain). - vite.ts: remove `layers.theme` from both option interfaces; revert the layer-order injection to the hardcoded `xds-theme` in both API paths. - vite.test.ts: drop the theme-opt-in tests; keep coverage of the default xds-theme order and the still-configurable library/product layer names. - Preserves `stylexPrefix` (#2881), which also touched vite.ts. The runtime counterpart (#2880) is being closed unmerged; the var inverted-fallback (#2882, automatic, no consumer action) is unaffected. The xds->astryx layer rename still happens, once, at the P10 cutover. * feat(core): rebrand component padding vars with inverted-fallback compat (P3c) (#2882) Final P3c piece — the --xds-* CSS custom-property migration for component padding tokens (card/section/dialog). Per the P0 decision, the theme pipeline now EMITS the rebranded --astryx-* defaults, while components READ them via an inverted fallback so a legacy --xds-* override set by existing consumer code still wins during the compat window (P2380608025). Read chain (per specificity level, in container.stylex.ts): var(--xds-<v>, var(--astryx-<v>, <next level>)) ... terminating at --spacing-4 so e.g. card inline-start compiles to: var(--xds-card-padding-inline-start, var(--astryx-card-padding-inline-start, var(--xds-card-padding-inline, var(--astryx-card-padding-inline, var(--xds-card-padding, var(--astryx-card-padding, var(--spacing-4))))))) StyleX constraint: stylex.create() rejects function calls in value resolution (verified empirically — even a module-level const built by a function fails). The chains are therefore precomputed as chained module-level const STRINGS (pure concatenation, no functions) and interpolated — which StyleX statically analyzes correctly. Verified the built xds.css contains all 24 inverted chains. - container.stylex.ts: read side — card/section/dialog chains rebuilt as chained consts with the inverted --xds-then-astryx fallback; doc headers updated. - generateThemeRules.ts: write side — emit --astryx-<component>-padding via the cssVar() helper from naming.ts (was hardcoded --xds-). - build-theme.mjs: the fallback expandContainerPadding emits --astryx- too (kept in sync with the core primary path; SYNC note added). - defineTheme.test.ts / generateThemeRules.test.ts: update padding-var emit assertions to --astryx-* (CSS classes / data-attrs / layer names unchanged). Test plan: core builds (StyleX) cleanly with the inverted chain in xds.css; 271 theme/Layout/Card/Section tests pass; tsc clean. Completes P3c. * feat(vibe-tests): add project-astryx target for unprefixed name validation (#2892) Add an `astryx` target to the vibe-test harness that validates agents perform equally well with the bare (unprefixed) component names as they do with the current `XDS*` names. Same library, same underlying code, same prompts — only the naming presentation to the agent differs. project-astryx is the long-term replacement; project-xds will be deleted before the integration branch merges to main. - environments/project-astryx/: README + package.json presenting bare names (Button, Card, useTheme) with the note that the package is still @xds/core during the migration. - interactive.ts: register `astryx` as a target (type union, personaFraming, docs-install dispatch); add installAstryxDocs() which generates the same AGENTS.md via `xds init` then post-processes to strip XDS prefixes from component names (XDSButton -> Button, useXDSTheme -> useTheme, XDS -> Astryx branding). Usage: pnpm -F @xds/vibe-tests interactive --target astryx --sample 5 # then compare against: pnpm -F @xds/vibe-tests interactive --target xds --prompts <same-ids> pnpm -F @xds/vibe-tests compare:md * fix(vibe-tests): rebrand --xds-* vars to --astryx-* in astryx agent docs (#2894) Docs should recommend the new --astryx-* custom property names, not the legacy --xds-* ones. The library still handles --xds-* at runtime via the inverted fallback, but forward-facing docs should point at the canonical names. * feat(cli): bare names in CLI output + 613 templates (P5a + P5b) (#2898) * feat(cli): output bare component names in CLI and agent-docs (P5a) The CLI component output, component list, and agent-docs (AGENTS.md) now display bare names (Button, Card, AppShell) instead of prefixed names (XDSButton, XDSCard, XDSAppShell). The bare aliases exist (P1 merged), so these imports resolve correctly. This was the gap the vibe-test revealed: agents follow the detailed per-component CLI output over the summary AGENTS.md doc. With bare names in the CLI output, agents will generate bare-name code. - docs.mjs: formatBrief() no longer prepends XDS${} to display names; relatedComponents shown as bare names; error-display uses bare. - component-format.mjs: formatCompact/formatBrief use componentName directly (already bare from .doc.mjs); Full-format import line uses docs.name (bare) instead of XDS${docs.name}. - agent-docs.mjs: prose references use bare names (AppShell not XDSAppShell, SideNav not XDSSideNav); header says "Astryx" not "XDS"; var guidance says --astryx-color-* not --xds-color-*. Remaining XDS references in output come from .doc.mjs content files (template descriptions, best-practice prose) — that is P5d scope. * feat(cli): update 549 CLI templates to use bare component names (P5b) Run the P2 drop-xds-prefix-imports codemod across the entire CLI templates directory, then sweep remaining XDS-prefixed identifiers in type refs, JSX, doc.mjs metadata, and @xds/lab imports. All 613+ template files now use bare names (Button, Card, AppShell) in imports and usage. P1 bare aliases resolve these imports, so templates work unchanged on the integration branch. This ensures that `xds template <name>` scaffolds code with the unprefixed pattern that agents and developers should adopt. Applied mechanically via: npx jscodeshift --parser tsx -t .../drop-xds-prefix-imports.mjs templates/ + sed sweep for edge cases (type refs, .doc.mjs metadata, @xds/lab) * feat: bare names in GitHub surfaces + docsite generators (P5c + P5e) - Issue templates: <Button> not <XDSButton>, Foo not XDSFoo - Landing page: "Astryx Design System" not "XDS Design System" - generate-data.mjs: moduleName uses bare name directly (no XDS prefix) - generate-scope.mjs: playground scope uses bare Theme/DefinedTheme * feat: bare names in Storybook, examples, sandbox, docsite (P5d) Mechanical bulk-rename across 320 app files: Storybook stories, example apps, sandbox, and docsite source — all now use bare component names (Button, Card, Theme) in imports and usage. Applied via sed sweep on .tsx/.ts/.mjs/.md files under apps/ (same transform as P5b templates: XDS[A-Z] -> stripped, useXDS -> use). * chore: sync origin/main into xds-unprefix-integration (#2916) * fix(docsite): use heart-handshake icon for Community nav button (#2853) Swap the top nav Community button icon from HandHeart to HeartHandshake for a clearer community/partnership affordance. Co-authored-by: Cursor <[email protected]> * fix(cli): show primary component in import hint, not sub-component (#2860) Vibe test nightly showed agents using wrong prop APIs on XDSText and XDSCodeBlock because the CLI import hint showed the first sub-component (XDSHeading, XDSCode) instead of the primary export (XDSText, XDSCodeBlock). The import line is the first thing agents see in CLI output. When it showed `import {XDSHeading} from '@xds/core/Text'`, agents conflated XDSText with XDSHeading and hallucinated a `variant` prop that doesn't exist. Fix: always use `XDS${docs.name}` for the import hint display name instead of `docs.components[0].name` (which is a sub-component). Co-authored-by: Cindy Zhang <[email protected]> * docs: replace em/en dashes with standard punctuation in doc prose (#2857) Replace em dashes with colons, semicolons, or commas as contextually appropriate across 50 component and hook doc files. Numeric ranges (2-4, 10-12, h1-6) and name/displayName convention fields left as-is. Found during Night Watch doc review. * docs(AppShell): move bare > onto same line as last prop in @example (#2834) The closing > of <XDSAppShell on its own line can become a markdown blockquote if the code fence breaks in Storybook autodocs. Move it to the same line as the last prop. Found during Night Watch doc review. * feat(docsite): Playground properties popover (#2873) * Props popover * Styling fixes * Clean up * Theme fix * docs(slop): source-code AI-slop cleanup, pass 2 of 2 (14 files) (#2869) * docs(slop): Layout.stories.tsx - em-dash+buzzword (9) * docs(slop): Link.stories.tsx - em-dash (3) * docs(slop): SVGIcon.stories.tsx - em-dash (2) * docs(slop): SelectableCard.stories.tsx - em-dash (1) * docs(slop): TableColumnResize.stories.tsx - em-dash (1) * docs(slop): TableFiltering.stories.tsx - em-dash (1) * docs(slop): Toast.stories.tsx - em-dash (5) * docs(slop): XDSMediaTheme.stories.tsx - em-dash (10) * docs(slop): XDSTheme.stories.tsx - em-dash (2) * docs(slop): XIFSpec.stories.tsx - em-dash (4) * docs(slop): build-previews.ts - em-dash (1) * docs(slop): correct-previews.ts - em-dash (1) * docs(slop): universal-eval.ts - em-dash (4) * docs(slop): AppShellMobileHookUsage.tsx - em-dash (1) * docs(slop): full-rubric cleanup pass 2 - complete the hollow-intensifier + ellipsis fixes (5 files) (#2862) * docs(slop): typography.doc.mjs - replace ellipsis char with ASCII (A5) * docs(slop): DateTimeInput.doc.mjs - cut hollow 'easily' (E) * docs(slop): FileInput.doc.mjs - cut hollow 'very' (E) * docs(slop): RadioList.doc.mjs - cut hollow 'truly' (E) * docs(slop): TextInput.doc.mjs - cut hollow 'truly' (E) * fix(core): remove redundant style prop declarations, wire FieldStatus escape hatches (#2835) - FormLayout: remove xstyle/className/style re-declarations from XDSFormLayoutProps (already provided by XDSBaseProps) - Grid: remove xstyle/className/style re-declarations from XDSGridProps - GridSpan: remove xstyle/className/style re-declarations from XDSGridSpanProps - FieldStatus: wire xstyle/className/style and rest props through to DOM element (consumers can now apply escape-hatch styles and data-* attributes) - Update FormLayout snapshot (line numbers shifted by 1) * fix(docsite): decouple Astryx primary/accent and make hero respect dark mode (#2855) Reserve the Astryx brand blue for the logo and drive all interactive UI (buttons, links, focus, Switch, tints) from the primary near-black ink by pointing the accent tokens at it. Set --color-on-accent to light-dark so the primary button label stays readable in both modes (it was white on the light dark-mode accent fill). The warm taupe neutral ramp is dropped in favor of the XDS default grays. Thread the docsite's color mode into the hero reel so each slide renders in its own dark palette when the site is in dark mode (dark-only themes like Gothic stay dark); previously the reel was hardcoded to light. The Astryx wordmark gets an explicit brand-blue override so the logo stays blue even though its accent token is now the primary ink. Co-authored-by: Cursor <[email protected]> * feat(selector): rename option renderer prop (#2821) * Playground code clean up (#2895) * fix(docsite): use chat subcomponent usage summaries (#2893) * fix(cli): add anti-pattern guidance for Text and Icon docs (#2887) Vibe test nightly showed agents consistently using `variant` prop on XDSText (does not exist) and `name` prop on XDSIcon (should be `icon`), even after reading CLI docs. Added explicit 'Don't' guidance to prevent hallucination of familiar prop names from other design systems. Also updated XDSText type prop to include display-1/2/3 values that were missing from the documented union type. Co-authored-by: Cindy Zhang <[email protected]> * docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884) Both overlays (docsZh and docsDense) were missing the renderOption bestPractice entry, causing a 1-bullet count mismatch with the English docs. Adds the missing entry at the correct position with guidance: true. Found during Night Watch doc review. * build(deps): bump lucide-react in the production-dependencies group (#2831) Bumps the production-dependencies group with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `lucide-react` from 1.17.0 to 1.18.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.18.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(docsite): per-theme showcase content + theme polish (Matcha/Butter/Stone/Y2K/Gothic) (#2856) * feat(docsite): use new Neutral theme product photos Point the Neutral theme image set at the new xds_oss CDN product photos (Neutral-Watch/Headphones/Backpack/Wallet/Tumbler/Blanket) instead of the local placeholder PNGs, so the /themes/neutral showcase and inventory table render the updated imagery. Rename the "mug" slot to "tumbler" (and the "Travel Mug" row to "Travel Tumbler") to match the actual product photo. Co-authored-by: Cursor <[email protected]> * feat(docsite): scaffold per-theme product image sets Restructure the theme image registry so every theme can ship its own set of product photos via the shared xds_oss CDN (<TitleTheme>-<Item>.png), built by a cdnSet() helper. Each non-Neutral reel theme (butter, matcha, daily, gothic, y2k, stone, chocolate) is pre-wired but gated behind a per-theme `ready` flag — until its photos are uploaded it falls back to the Neutral set, so the /themes/<name> page never renders broken/404 thumbnails. Flip `ready: true` per theme once its assets land. Co-authored-by: Cursor <[email protected]> * feat(templates): use new Neutral product photos in theme-showcase The /themes page renders the theme-showcase CLI template, which carried its own hardcoded image map pointing at the old local /neutral/preview-*.png files. Point PREVIEW_IMAGES at the new xds_oss CDN photos (Neutral-Watch/Headphones/ Backpack/Wallet/Tumbler/Blanket) so the themes page (and scaffolded copies of this template) render the updated imagery, and rename the mug slot/row to tumbler to match the actual product photo. Co-authored-by: Cursor <[email protected]> * feat(docsite): bespoke Matcha showcase content (drinks) Make the theme-showcase template accept optional images/products/inventory (defaulting to the neutral store, so scaffolded copies are unchanged), and have ThemePackagePage pass per-theme content keyed by slug. Add a Matcha café menu (Iced Matcha Latte, Strawberry Matcha, Ube Matcha, + vanilla/hazelnut/mocha in the inventory) using the matcha-product-*.png photos, so the Matcha theme page shows real matcha drinks instead of the generic gadget store. Themes without an override keep the template's neutral defaults. Co-authored-by: Cursor <[email protected]> * fix(theme-matcha): tone down oversized type scale Matcha ran large: typography.scale was base 18 / ratio 1.414 (√2) AND it re-pinned the whole --font-size-* ramp with hardcoded values (base 1.125rem), so headings/display grew aggressively regardless of the scale. Switch to base 16 / ratio 1.25 and drop the explicit --font-size-* overrides so the scale config is the single source of truth, bringing Matcha in line with the other themes while keeping clear hierarchy. Co-authored-by: Cursor <[email protected]> * feat(templates): accent-text hero headline in theme-showcase Paint the "Little joys" store-preview headline with the theme's accent-text ink (--color-text-accent) instead of the default primary. XDSText has no 'accent' color value, so apply the token via an xstyle override. Co-authored-by: Cursor <[email protected]> * feat(templates): theme-aware theme-showcase store + layout fixes Make the theme-showcase template accept optional images/products/inventory (defaulting to the neutral store, so scaffolded copies are unchanged) so the docsite can render per-theme stores. Point the default images at the xds_oss CDN, rename the mug slot to tumbler, and widen the tag/badge variant type to the full categorical set. Layout fixes: align the inventory table with the card header via the shared --spacing-6 token and lower the proportional column min-widths so the trailing actions column no longer clips on larger-spacing themes; size the actions/select columns and quantity input so controls + hover states fit their cells; match the quantity input height to its button; stack the store hero headline; and drop the revenue sparkline. Co-authored-by: Cursor <[email protected]> * feat(docsite): bespoke showcase content for Matcha, Butter, Stone, Y2K Add per-theme product imagery + names for the /themes showcase so each theme reads as its own store instead of the generic gadget shop: Matcha (café drinks), Butter (bakery), Stone (stoneware homeware), Y2K (holo trinkets). Each maps the theme's xds_oss CDN photos onto the showcase slots; themes without an entry keep the template's neutral defaults. Co-authored-by: Cursor <[email protected]> * fix(themes): typography + border + composer-radius tweaks - Matcha/Gothic: drop the oversized type scale (base 16 / ratio 1.25); Matcha also removes its hardcoded --font-size-* ramp so the scale is the source of truth. - Matcha/Y2K/Butter: soften the emphasized (card) border to a lighter tone; Matcha also lightens the default border. - Butter: stop hardcoding the button border-radius so the chat composer's buttons round fully (via --_button-radius) while standalone buttons keep the 8px --radius-element fallback. Co-authored-by: Cursor <[email protected]> * feat(docsite): Stone + Gothic showcase content; tidy comments Add bespoke /themes showcase content for Stone (stoneware homeware) and Gothic (moody botanicals), and refresh Matcha/Butter/Y2K image sets to their full six-photo sets (couch for Y2K, dedicated Stone-*/Gothic-* assets). Trim redundant/stale comments in the showcase content + image registry. Co-authored-by: Cursor <[email protected]> * chore(docsite): tidy showcase template comments + load Crimson Text Tighten the verbose layout comments in the theme-showcase template, and add Crimson Text to the docsite font <link> so the Y2K display font loads. Co-authored-by: Cursor <[email protected]> * feat(theme-y2k): periwinkle body, Crimson Text display, charcoal borders, flat nav Y2K: periwinkle (#CCCFFA) body, Crimson Text serif for display sizes, bold charcoal borders (default + card), and a flat selected top-nav item. Document the theme's fonts in the README and refresh its stale description. Also tidy comments in the matcha/butter/gothic theme files. Co-authored-by: Cursor <[email protected]> * feat(theme-butter): blue top nav Use Butter's blue accent in the top nav: the Studio heading and the selected item render the full brand blue (the heading redirects --color-text-primary so the inner heading text turns blue too), unselected items use a lighter blue, and the selected item drops its pill background. Dark mode keeps the butter-yellow accent. Co-authored-by: Cursor <[email protected]> * fix(templates): keep theme-showcase route page prop-free The theme-showcase template is rendered as a Next.js route page in the sandbox, so its default export must satisfy PageProps — but it had been given typed ThemeShowcaseProps, failing the sandbox build. Keep the default export prop-free and move the content-accepting renderer to a named `ThemeShowcaseStore` export; the docsite imports that for per-theme content. Co-authored-by: Cursor <[email protected]> * feat(docsite): serve theme picker banners from CDN Re-art-direct the picker banners to match each theme's CDN product photos and balance object placement: butter (correct sky-blue + warmer crochet), y2k (matte mint stars, theme periwinkle, sized + centered), matcha (drinks spaced for the wordmark). Point all six picker card backgrounds at the shared XDS asset CDN (PICKER_CDN) instead of local /public files, and remove the now-unused local picker PNGs. Stone wordmark now uses the theme accent instead of hardcoded white (drop the now-unused labelOnDark style). Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * fix(docsite): prevent SideNav preview navigation (#2827) * build(deps-dev): bump the dev-dependencies group across 1 directory with 34 updates (#2897) * build(deps-dev): bump the dev-dependencies group across 1 directory with 34 updates Bumps the dev-dependencies group with 34 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/plugins/eslint-plugin) | `5.8.7` | `5.9.0` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.60.0` | `1.61.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.9.1` | `25.9.3` | | [eslint](https://github.com/eslint/eslint) | `10.4.1` | `10.5.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.8.4` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.60.0` | `8.61.1` | | [@stylexjs/babel-plugin](https://github.com/facebook/stylex) | `0.18.3` | `0.19.0` | | [@stylexjs/postcss-plugin](https://github.com/facebook/stylex) | `0.18.3` | `0.19.0` | | [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.3.0` | `4.3.1` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.0` | `4.3.1` | | @stylexjs/unplugin | `0.18.3` | `0.19.0` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.0` | `4.3.1` | | [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs) | `10.4.1` | `10.4.6` | | [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) | `10.4.1` | `10.4.6` | | [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `10.4.1` | `10.4.6` | | [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | `10.4.1` | `10.4.6` | | [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core) | `10.4.1` | `10.4.6` | | [@radix-ui/react-avatar](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/avatar) | `1.1.11` | `1.2.0` | | [@radix-ui/react-checkbox](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/checkbox) | `1.3.3` | `1.3.5` | | [@radix-ui/react-dialog](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dialog) | `1.1.15` | `1.1.17` | | [@radix-ui/react-dropdown-menu](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dropdown-menu) | `2.1.16` | `2.1.18` | | [@radix-ui/react-hover-card](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/hover-card) | `1.1.15` | `1.1.17` | | [@radix-ui/react-label](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/label) | `2.1.8` | `2.1.10` | | [@radix-ui/react-popover](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/popover) | `1.1.15` | `1.1.17` | | [@radix-ui/react-progress](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/progress) | `1.1.8` | `1.1.10` | | [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/scroll-area) | `1.2.10` | `1.2.12` | | [@radix-ui/react-select](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/select) | `2.2.6` | `2.3.1` | | [@radix-ui/react-separator](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/separator) | `1.1.8` | `1.1.10` | | [@radix-ui/react-slider](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/slider) | `1.3.6` | `1.4.1` | | [@radix-ui/react-slot](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/slot) | `1.2.4` | `1.3.0` | | [@radix-ui/react-switch](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/switch) | `1.2.6` | `1.3.1` | | [@radix-ui/react-tabs](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tabs) | `1.1.13` | `1.1.15` | | [@radix-ui/react-tooltip](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tooltip) | `1.2.8` | `1.2.10` | | [tsx](https://github.com/privatenumber/tsx) | `4.22.3` | `4.22.4` | Updates `@eslint-react/eslint-plugin` from 5.8.7 to 5.9.0 - [Release notes](https://github.com/Rel1cx/eslint-react/releases) - [Changelog](https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md) - [Commits](https://github.com/Rel1cx/eslint-react/commits/v5.9.0/plugins/eslint-plugin) Updates `@playwright/test` from 1.60.0 to 1.61.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.60.0...v1.61.0) Updates `@types/node` from 25.9.1 to 25.9.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint` from 10.4.1 to 10.5.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.4.1...v10.5.0) Updates `prettier` from 3.8.3 to 3.8.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.8.4) Updates `typescript-eslint` from 8.60.0 to 8.61.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.61.1/packages/typescript-eslint) Updates `@stylexjs/babel-plugin` from 0.18.3 to 0.19.0 - [Release notes](https://github.com/facebook/stylex/releases) - [Changelog](https://github.com/facebook/stylex/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/stylex/commits/0.19.0) Updates `@stylexjs/postcss-plugin` from 0.18.3 to 0.19.0 - [Release notes](https://github.com/facebook/stylex/releases) - [Changelog](https://github.com/facebook/stylex/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/stylex/commits/0.19.0) Updates `@tailwindcss/postcss` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-postcss) Updates `tailwindcss` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/tailwindcss) Updates `@stylexjs/unplugin` from 0.18.3 to 0.19.0 Updates `@tailwindcss/vite` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-vite) Updates `@storybook/addon-docs` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/docs) Updates `@storybook/addon-links` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/links) Updates `@storybook/react` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/renderers/react) Updates `@storybook/react-vite` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/frameworks/react-vite) Updates `storybook` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/core) Updates `@radix-ui/react-avatar` from 1.1.11 to 1.2.0 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/avatar/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/avatar) Updates `@radix-ui/react-checkbox` from 1.3.3 to 1.3.5 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/checkbox/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/checkbox) Updates `@radix-ui/react-dialog` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dialog/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dialog) Updates `@radix-ui/react-dropdown-menu` from 2.1.16 to 2.1.18 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dropdown-menu/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dropdown-menu) Updates `@radix-ui/react-hover-card` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/hover-card/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/hover-card) Updates `@radix-ui/react-label` from 2.1.8 to 2.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/label/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/label) Updates `@radix-ui/react-popover` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/popover/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/popover) Updates `@radix-ui/react-progress` from 1.1.8 to 1.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/progress/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/progress) Updates `@radix-ui/react-scroll-area` from 1.2.10 to 1.2.12 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/scroll-area/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/scroll-area) Updates `@radix-ui/react-select` from 2.2.6 to 2.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/select/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/select) Updates `@radix-ui/react-separator` from 1.1.8 to 1.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/separator/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/separator) Updates `@radix-ui/react-slider` from 1.3.6 to 1.4.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slider/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slider) Updates `@radix-ui/react-slot` from 1.2.4 to 1.3.0 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slot/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slot) Updates `@radix-ui/react-switch` from 1.2.6 to 1.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/switch/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/switch) Updates `@radix-ui/react-tabs` from 1.1.13 to 1.1.15 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tabs/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tabs) Updates `@radix-ui/react-tooltip` from 1.2.8 to 1.2.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tooltip/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tooltip) Updates `tsx` from 4.22.3 to 4.22.4 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.22.3...v4.22.4) --- updated-dependencies: - dependency-name: "@eslint-react/eslint-plugin" dependency-version: 5.9.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@playwright/test" dependency-version: 1.61.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@types/node" dependency-version: 25.9.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 10.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: prettier dependency-version: 3.8.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.61.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@stylexjs/babel-plugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@stylexjs/postcss-plugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@tailwindcss/postcss" dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: tailwindcss dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@stylexjs/unplugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@tailwindcss/vite" dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/addon-docs" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/addon-links" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/react" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/react-vite" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: storybook dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-avatar" dependency-version: 1.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-checkbox" dependency-version: 1.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-dialog" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-dropdown-menu" dependency-version: 2.1.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-hover-card" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-label" dependency-version: 2.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-popover" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-progress" dependency-version: 1.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-scroll-area" dependency-version: 1.2.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-select" dependency-version: 2.3.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-separator" dependency-version: 1.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-slider" dependency-version: 1.4.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-slot" dependency-version: 1.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-switch" dependency-version: 1.3.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-tabs" dependency-version: 1.1.15 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-tooltip" dependency-version: 1.2.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: tsx dependency-version: 4.22.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * fix(lint): address updated eslint rules --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cixzhang <[email protected]> * fix(Icon,InputGroup): forward rest props in string mode and InputGroupText (#2885) XDSIcon string mode (registry icons) silently dropped props like data-testid, className, and event handlers that were accepted by the interface. Forward them to the wrapper span. XDSInputGroupText extended XDSBaseProps but only destructured ref, children, xstyle, className, style. Rest props (data-*, aria-*, id, event handlers) were silently dropped. Add ...rest forwarding. * fix(vibe-tests): add event handler guidance and import paths to READMEs (#2841) * fix(vibe-tests): add event handler guidance and import paths to READMEs Vibe test nightly showed agents consistently using onPress (React Native pattern) instead of onClick, and importing ToggleButton/Theme from wrong paths. Updated both XDS and XDS+TW project READMEs to: - Clarify that XDS uses React DOM event handlers (onClick, not onPress) - Show correct import paths for ToggleButton and Theme components - Add explicit warning against React Native patterns These are setup fairness improvements — baseline agents can read component source to discover event patterns, but XDS agents must rely on CLI docs or project README. * docs(vibe-tests): broaden event handler guidance --------- Co-authored-by: Cindy Zhang <[email protected]> * fix(docsite): resolve DateInput status preview props (#2829) * fix(typeahead): guard selected state for missing ids (#2828) * fix(deps): resolve esbuild vulnerability via pnpm override (#2837) * fix(docsite): make prop/element resolution prefix-agnostic post-sync The docsite test suite surfaced three pre-existing failures (latent on the integration branch, now exercised after the main sync) where bare-name reality collided with prefix-assuming logic: - resolveElements.getComponent: tried the XDS-prefixed export key FIRST, which throws under a strict vitest module mock that only defines bare names. Now resolves bare-first (canonical post-migration) with the prefixed name as a guarded fallback. Fixes 3 component-detail-resolve-elements failures. - parsePropType.isInputStatusType: regex only matched XDSInputStatus/ XDSFieldStatus; now matches the bare forms too (prefix-agnostic, per P3). Fixes the component-prop-controls InputStatus failure. - data-extraction test: the component registry keys hooks by canonical name (useXDSTheme) while the example registry keys by bare name (useTheme); the hook-example lookup now tolerates either form. Also fixed the assertion to match its own startsWith('useXDS') filter. Full docsite suite (133 tests) and the CLI codemod/component suites (107 tests, incl. both v0.0.15 codemods) now pass. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: rubyycheung <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: Joey <[email protected]> Co-authored-by: Kenton Quatman <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(docs): migrate component doc prose to bare (unprefixed) names [P5d] (#2920) * chore(docs): migrate component doc prose to bare (unprefixed) names P5d completion. Migrates all component .doc.mjs prose, sub-component refs, playground/slot element descriptors, and inline examples from XDS-prefixed to bare names (XDSText -> Text, useXDSTheme -> useTheme, {name: 'XDSHeading'} -> {name: 'Heading'}, __element: 'XDSSideNavItem' -> 'SideNavItem'). Docs now present the recommended (bare) API everywhere. Existing prefixed CODE keeps working via the P1 compat aliases (XDSText as Text, etc.) — this only changes documentation content, not the export surface. Deliberately PRESERVED (still accurate pre-P4/P10): - lowercase CSS class tokens in theming tables (xds-heading, xds-button) — components still render xds-* classes; astryx-* dual-emit is not wired yet. - data-xds-* attribute references — same reason. - @xds/* package import paths. The transform (\buseXDS([A-Z]) -> use\1, \bXDS([A-Z]) -> \1) only matches XDS followed by an uppercase letter, so the lowercase namespace surfaces are naturally excluded. 173 doc.mjs files, 1217 lines. * chore(docs): rename useXDS* hook-example block files to bare names The two hook-usage example blocks were still named useXDSThemeHookUsage.* and useXDSStreamingTextHookUsage.*, so they surfaced as XDS-prefixed entries in the CLI 'related blocks' listing (xds component Text/useTheme). Their content was already migrated to bare in the prior commit; this renames the files to match (useThemeHookUsage.*, useStreamingTextHookUsage.*). These are example/showcase blocks (not core component source), so renaming is P5-scope. After this, no XDS-named files remain under packages/cli/templates and 'xds component <X>' output is fully bare. * test(docsite): identify public hooks by example presence, not name prefix After migrating hook doc `name` fields to bare (prev commit), the data-extraction hook test could no longer use a `useXDS` name-prefix to distinguish public hooks (which ship example blocks: useTheme, useToast, useTableSortable, …) from internal utility hooks (useFocusTrap, useScrollLock, … — never XDS-prefixed, no examples). Filter the public set by 'has an example-registry entry', which is exactly what the test asserts about. 132/132 docsite tests pass. * test(docsite): fix hook-test assertion after merge The merge of #2916 auto-combined the two versions of the hook-pages test into an inconsistent block: my bare filter (/^use[A-Z]/ + example-presence) plus #2916's stale assertion toContain('useXDSTheme') and a redundant bare-name dual-lookup. Post-migration all hook names are bare, so the assertion now checks 'useTheme' and the loop uses the direct (bare) example lookup the filter already guarantees. * fix(cli): make template --skeleton extractors prefix-agnostic (#2917) The un-prefix migration (P2380608025, P5b) rewrote the 600+ CLI page/block templates to use bare component names (<Section> instead of <XDSSection>). But extractComponents() and extractSkeleton() in template.mjs still matched only the XDS-prefixed form: extractComponents: src.match(/XDS[A-Z]\w+/g) extractSkeleton: t.match(/^<(XDS\w+)/) and /^<\/(XDS\w+)>/ So on the integration branch (bare templates), `xds template <name> --skeleton` returned an empty '# Components:' list and an empty skeleton body — exactly what the vibe-test agents hit on contact-form. Fix: match JSX opening/closing tags with an OPTIONAL XDS prefix. Anchoring on the `<` tag boundary keeps extractComponents precise (it previously grepped every `XDS...` substring anywhere in the file; the tag anchor is stricter and prefix-agnostic). All existing filters (UBIQUITOUS, suffix-stripping, dedup) are unchanged. Adds a regression test exercising the public template() API with {skeleton:true} against the bare-named contact-form template. Note: a pre-existing cosmetic issue (Grid `columns={{minWidth:240}}` renders as `columns="{minWidth:"` in the skeleton) is unrelated to the prefix and out of scope here — it stems from the propRegex and would affect prefixed templates identically. * fix(vibe-tests): map astryx target to xds tsconfig for type checking (#2911) * fix(core): add bare DateRange/DateRangePreset aliases to DateRangeInput barrel The P1 compat-alias generator skipped these because `DateRange` already exists bare in Calendar/index.ts and utils/index.ts (the global collision pre-pass prevents duplicate exports at the root barrel). But consumers importing from `@xds/core/DateRangeInput` expect to find `DateRange` there (it is the primary type for the range value). Since XDSDateRange is just a re-export of Calendar DateRange (same symbol), adding the bare alias here is safe and expected. Surfaced by the vibe-test: agents importing DateRangeInput had to reach into Calendar for the type. This is a manually-added entry in the compat-aliases block (the generator correctly skips it to avoid root-barrel ambiguity, but at the subpath level it is needed for ergonomics). * fix(vibe-tests): map astryx target to xds tsconfig for type checking The tsc runner falls through to tsconfig.html.json (no @xds/core paths) for unknown targets. Add astryx to the xds/xds-tailwind case so astryx results typecheck against the same core type definitions. * chore: sync origin/main into xds-unprefix-integration (2026-06-19) * fix(docsite): use heart-handshake icon for Community nav button (#2853) Swap the top nav Community button icon from HandHeart to HeartHandshake for a clearer community/partnership affordance. Co-authored-by: Cursor <[email protected]> * fix(cli): show primary component in import hint, not sub-component (#2860) Vibe test nightly showed agents using wrong prop APIs on XDSText and XDSCodeBlock because the CLI import hint showed the first sub-component (XDSHeading, XDSCode) instead of the primary export (XDSText, XDSCodeBlock). The import line is the first thing agents see in CLI output. When it showed `import {XDSHeading} from '@xds/core/Text'`, agents conflated XDSText with XDSHeading and hallucinated a `variant` prop that doesn't exist. Fix: always use `XDS${docs.name}` for the import hint display name instead of `docs.components[0].name` (which is a sub-component). Co-authored-by: Cindy Zhang <[email protected]> * docs: replace em/en dashes with standard punctuation in doc prose (#2857) Replace em dashes with colons, semicolons, or commas as contextually appropriate across 50 component and hook doc files. Numeric ranges (2-4, 10-12, h1-6) and name/displayName convention fields left as-is. Found during Night Watch doc review. * docs(AppShell): move bare > onto same line as last prop in @example (#2834) The closing > of <XDSAppShell on its own line can become a markdown blockquote if the code fence breaks in Storybook autodocs. Move it to the same line as the last prop. Found during Night Watch doc review. * feat(docsite): Playground properties popover (#2873) * Props popover * Styling fixes * Clean up * Theme fix * docs(slop): source-code AI-slop cleanup, pass 2 of 2 (14 files) (#2869) * docs(slop): Layout.stories.tsx - em-dash+buzzword (9) * docs(slop): Link.stories.tsx - em-dash (3) * docs(slop): SVGIcon.stories.tsx - em-dash (2) * docs(slop): SelectableCard.stories.tsx - em-dash (1) * docs(slop): TableColumnResize.stories.tsx - em-dash (1) * docs(slop): TableFiltering.stories.tsx - em-dash (1) * docs(slop): Toast.stories.tsx - em-dash (5) * docs(slop): XDSMediaTheme.stories.tsx - em-dash (10) * docs(slop): XDSTheme.stories.tsx - em-dash (2) * docs(slop): XIFSpec.stories.tsx - em-dash (4) * docs(slop): build-previews.ts - em-dash (1) * docs(slop): correct-previews.ts - em-dash (1) * docs(slop): universal-eval.ts - em-dash (4) * docs(slop): AppShellMobileHookUsage.tsx - em-dash (1) * docs(slop): full-rubric cleanup pass 2 - complete the hollow-intensifier + ellipsis fixes (5 files) (#2862) * docs(slop): typography.doc.mjs - replace ellipsis char with ASCII (A5) * docs(slop): DateTimeInput.doc.mjs - cut hollow 'easily' (E) * docs(slop): FileInput.doc.mjs - cut hollow 'very' (E) * docs(slop): RadioList.doc.mjs - cut hollow 'truly' (E) * docs(slop): TextInput.doc.mjs - cut hollow 'truly' (E) * fix(core): remove redundant style prop declarations, wire FieldStatus escape hatches (#2835) - FormLayout: remove xstyle/className/style re-declarations from XDSFormLayoutProps (already provided by XDSBaseProps) - Grid: remove xstyle/className/style re-declarations from XDSGridProps - GridSpan: remove xstyle/className/style re-declarations from XDSGridSpanProps - FieldStatus: wire xstyle/className/style and rest props through to DOM element (consumers can now apply escape-hatch styles and data-* attributes) - Update FormLayout snapshot (line numbers shifted by 1) * fix(docsite): decouple Astryx primary/accent and make hero respect dark mode (#2855) Reserve the Astryx brand blue for the logo and drive all interactive UI (buttons, links, focus, Switch, tints) from the primary near-black ink by pointing the accent tokens at it. Set --color-on-accent to light-dark so the primary button label stays readable in both modes (it was white on the light dark-mode accent fill). The warm taupe neutral ramp is dropped in favor of the XDS default grays. Thread the docsite's color mode into the hero reel so each slide renders in its own dark palette when the site is in dark mode (dark-only themes like Gothic stay dark); previously the reel was hardcoded to light. The Astryx wordmark gets an explicit brand-blue override so the logo stays blue even though its accent token is now the primary ink. Co-authored-by: Cursor <[email protected]> * feat(selector): rename option renderer prop (#2821) * Playground code clean up (#2895) * fix(docsite): use chat subcomponent usage summaries (#2893) * fix(cli): add anti-pattern guidance for Text and Icon docs (#2887) Vibe test nightly showed agents consistently using `variant` prop on XDSText (does not exist) and `name` prop on XDSIcon (should be `icon`), even after reading CLI docs. Added explicit 'Don't' guidance to prevent hallucination of familiar prop names from other design systems. Also updated XDSText type prop to include display-1/2/3 values that were missing from the documented union type. Co-authored-by: Cindy Zhang <[email protected]> * docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884) Both overlays (docsZh and docsDense) were missing the renderOption bestPractice entry, causing a 1-bullet count mismatch with the English docs. Adds the missing entry at the correct position with guidance: true. Found during Night Watch doc review. * build(deps): bump lucide-react in the production-dependencies group (#2831) Bumps the production-dependencies group with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `lucide-react` from 1.17.0 to 1.18.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.18.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@githu…
cixzhang
added a commit
that referenced
this pull request
Jun 21, 2026
…ases (#2941) * feat(core): add centralized naming module for prefix migration (#2861) Introduce `packages/core/src/naming.ts` as the single source of truth for the externally-observable namespace prefix used by CSS classes, data attributes, and CSS custom properties. Today this prefix is the literal string `xds`, hardcoded independently across the runtime, the theme build pipeline, and discovery tooling (kept in sync only by SYNC comments). This module exposes both the legacy (`xds`) and new (`astryx`) namespace constants plus helpers (`stableClassName`, `dataAttr`, `cssVar` and their `legacy*` counterparts), and is exported via the new `@xds/core/naming` subpath so both the TS runtime and `.mjs` build/CLI tooling can consume one source of truth. This is a behavior-preserving refactor: `xdsThemeProps()` now builds its stable class via `legacyStableClassName()`, which still emits `xds-button` etc. The dual-emit compatibility layer and eventual cutover will flip the emitted prefix in one place instead of hundreds of literals. - Add naming.ts + naming.test.ts (8 tests) - Refactor xdsThemeProps to consume the centralized prefix (output unchanged) - Register @xds/core/naming subpath export - Update src/README.md file manifest * feat(core): add unprefixed compatibility aliases (P1 compat layer) (#2864) Add bare (unprefixed) re-export aliases for all XDS* and useXDS* public exports across 100 component barrels. Consumers can now import `Button`, `ButtonProps`, `useTheme`, etc. alongside the existing `XDSButton`, `XDSButtonProps`, `useXDSTheme`. The prefixed names remain canonical and are the module-augmentation targets; bare aliases are pure re-exports that reference the same values/types. Strategy: aliases are emitted at the barrel level (index.ts) via `export {XDSButton as Button} from "."`, preserving the XDS* declaration in source .tsx unchanged (filename + discovery tooling stable). This makes the prefixed names the deletable thing at final cutover (P10). Also: - Add `astryx` binary alias for the CLI (same launcher as `xds`) - Add scripts/generate-compat-aliases.mjs (idempotent codegen) - Wire `pnpm compat:aliases:check` into check:repo gate - Add compat-aliases.test.tsx (6 tests: runtime+type identity, barrel coverage) Skips bare aliases that collide with pre-existing bare exports in other barrels (Token, HeadingLevel, DateRangePreset) to avoid root-barrel export * ambiguity (TS2308). Global collision pre-pass handles this. Scope: ~634 XDS* identifiers aliased across 100 barrels. No behavior change; all existing tests pass; tsc clean; check:repo gate passes. * feat(build): make the theme CSS layer name configurable (P3c) (#2866) Add a `layers.theme` option to the XDS Vite plugin (both the modern and legacy APIs), defaulting to `xds-theme`. Previously the theme layer name was hardcoded in the injected `@layer reset, xds-base, xds-theme, product;` order statement while `library` and `product` were already configurable. This supports the XDS-prefix migration (P2380608025): a consumer can opt into the rebranded `astryx-theme` layer before the final cutover by setting `layers.theme` (alongside the matching runtime theme-layer name, which is a follow-up). Defaulting to `xds-theme` means existing consumers are completely unaffected — this is a pure capability addition. @xds/build is a private, unpublished package, so this is an internal-only surface with no consumer compatibility obligation. - Add `layers.theme` to XDSVitePluginOptions + legacy options interface - Thread `themeLayer` through both layer-order injections - Add vite.test.ts: 5 tests covering default + opt-in for both APIs No behavior change at the default; build compiles; tests pass. * feat(cli): add drop-xds-prefix-imports codemod (P2) (#2879) Authors the first XDS-prefix migration codemod (P2380608025). Rewrites consumer code from the prefixed names to the bare compatibility aliases shipped in P1: XDSButton -> Button XDSButtonProps -> ButtonProps useXDSTheme -> useTheme Safety is the central design goal: the codemod ONLY renames identifiers bound to an `@xds/core` import (bare or subpath). It tracks the local binding each import introduces and renames that binding plus its references (imports, JSX, type positions, re-exports). It deliberately does NOT touch: - a consumers own unrelated `XDSWhatever` symbol - `XDSButton` imported from some other library - strings that merely start with "XDS" - import source paths (`@xds/core/Button` stays — subpath dirs are unchanged by the prefix migration) Aliased imports (`XDSButton as Btn`) keep their custom local alias and only rewrite the imported name. Registered in the v0.0.15 manifest as `optional: true` (mirrors the existing optional `migrate-theme-selectors-to-data-attrs`). Being optional, it does NOT run on a routine `xds upgrade`; consumers invoke it explicitly during their migration: xds upgrade --codemod drop-xds-prefix-imports --codemod-only --apply Test plan: 10 tests covering named/subpath/type/hook imports, JSX usage, aliased imports, re-exports, no-op files, and the three safety cases above. Verified the codemod is discoverable via the registry (optional) and the full v0.0.15 + json-contract + upgrade suites pass (58 tests). * feat(cli): make component discovery prefix-agnostic (P3) (#2867) Component discovery scans for `XDS{Name}.tsx` source files. The XDS-prefix migration (P2380608025, P4) renames these to the bare `{Name}.tsx` form, so discovery must recognize both naming schemes — otherwise P4 renames would silently drop components from `xds component`, `xds search`, agent-docs, and docsite data generation. Approach: recognize both `XDS{Name}.tsx` and bare `{Name}.tsx`. The `XDS` prefix has historically doubled as a "this is a top-level component" marker, so naively matching all PascalCase `.tsx` files would surface internal helpers (`OverlayScrim.tsx`, `PowerSearchEditPopover.tsx`, ...). To prevent that regression, a BARE-named file is only treated as a component when a sibling doc (`{Name}.doc.mjs` or `XDS{Name}.doc.mjs`) exists. Prefixed files keep their exact current behavior. - component-discovery.mjs: add isComponentSourceFile()/componentNameFromFile() helpers; findComponentSource() resolves both prefixed and bare files - docs.mjs: hasXDSFile() matches both forms - swizzle is already prefix-tolerant (strips XDS from input, copies by dir scan) — no change needed Verified against the real core tree: 165 components discovered identically whether source files are prefixed or renamed to bare (zero added/removed), including sub-components. 49 discovery tests pass (5 new covering bare-name discovery, mixed prefixed/bare, helper-without-doc exclusion, and dual-form source resolution). * feat(ci): make checks & CI prefix-agnostic for component files (P3b) (#2878) Several CI/check surfaces locate component source files by the `XDS*.tsx` filename convention. The XDS-prefix migration (P2380608025, P4) renames these to the bare `{Name}.tsx` form, so these surfaces must recognize both or they will silently stop working on renamed components. - check-sync.js: the SYNC-comment night watch (runs in check:repo on every commit) matched `XDS*.tsx` to find component dirs/files. Now matches both prefixed and bare, with the same doc-gate as discovery so internal PascalCase helpers (OverlayScrim.tsx, PowerSearchEditPopover.tsx) are not misclassified. Verified byte-identical output on the real tree, before and after a simulated rename. - analyze-pr.js: getPropsCount() found the main component file via the XDS prefix. Now prefers the directory-named file (XDS{Name}.tsx or {Name}.tsx) and falls back to any component file, excluding tests/Context. Verified it resolves Button -> Button.tsx post-rename and still picks XDSOverlay.tsx (not OverlayScrim.tsx). - hardening-issue.yml: the new-component detection regex now accepts an optional XDS prefix (`(?:XDS)?\1\.tsx`). Deliberately left unchanged (correct through the compat window per P0): - canary publish filter `startsWith("@xds/")` — package scope stays @xds/* - generate-pr-comment.js `@xds/core` bundle row — same - accessibility-audit.js already strips XDS optionally (/^XDS/i) — tolerant - check-package-boundaries.js XDSCommon* — a separate package-boundary convention, not the component prefix - analyze-pr.js export-name filters (startsWith("XDS") on exported symbols) — P4 keeps XDS* symbol names; bare aliases coexist so no component is missed * feat(build): expose configurable StyleX library prefix (P3c) (#2881) The XDS babel wrapper (babel.js) already accepted a `libraryPrefix` option (default `xds`) controlling the StyleX atomic class-name prefix for library files, distinct from the product prefix so atoms never collide across layers. But the modern `xdsStylex()` Vite entry never threaded it, so it was stuck at `xds`. Add a `stylexPrefix` option to xdsStylex() (both modern and legacy APIs), default `xds`, threaded into the babel wrapper as `libraryPrefix`. This lets a consumer rebrand the library atom prefix to `astryx` before the final cutover (XDS-prefix migration P2380608025), completing the configurable-build trio (layers.library, layers.theme, stylexPrefix). Internal-only surface (@xds/build is private); default unchanged so existing consumers are unaffected. Test plan: new babel.test.mjs runs the wrapper through @babel/core on a real StyleX source and asserts library atoms are `xds`-prefixed by default and `astryx`-prefixed when configured. vite.test.ts (5) + babel.test.mjs (2) pass; @xds/build builds cleanly. * chore(build): drop configurable theme-layer opt-in (keep xds-theme until cutover) (#2888) Reverts the build-side `layers.theme` option (#2866). Decision (EJ): consumers should NOT opt into the rebranded astryx-theme layer before the final cutover. The opt-in only lets a consumer rename their cascade layer early, but the layer name is functionally invisible to them -- it only affects their `@layer` order line. Opting in early would mean editing that config twice (now + again at cutover) plus runtime setThemeLayerName() setup, all of which gets torn down at P10 when they move to @astryx/core (which uses astryx layers natively). Throwaway config for zero functional gain. Half the feature was also a footgun: build `layers.theme: astryx-theme` without the matching runtime layer name (the never-merged #2880) would desync the declared layer order from the runtime-injected layer (cascade split-brain). - vite.ts: remove `layers.theme` from both option interfaces; revert the layer-order injection to the hardcoded `xds-theme` in both API paths. - vite.test.ts: drop the theme-opt-in tests; keep coverage of the default xds-theme order and the still-configurable library/product layer names. - Preserves `stylexPrefix` (#2881), which also touched vite.ts. The runtime counterpart (#2880) is being closed unmerged; the var inverted-fallback (#2882, automatic, no consumer action) is unaffected. The xds->astryx layer rename still happens, once, at the P10 cutover. * feat(core): rebrand component padding vars with inverted-fallback compat (P3c) (#2882) Final P3c piece — the --xds-* CSS custom-property migration for component padding tokens (card/section/dialog). Per the P0 decision, the theme pipeline now EMITS the rebranded --astryx-* defaults, while components READ them via an inverted fallback so a legacy --xds-* override set by existing consumer code still wins during the compat window (P2380608025). Read chain (per specificity level, in container.stylex.ts): var(--xds-<v>, var(--astryx-<v>, <next level>)) ... terminating at --spacing-4 so e.g. card inline-start compiles to: var(--xds-card-padding-inline-start, var(--astryx-card-padding-inline-start, var(--xds-card-padding-inline, var(--astryx-card-padding-inline, var(--xds-card-padding, var(--astryx-card-padding, var(--spacing-4))))))) StyleX constraint: stylex.create() rejects function calls in value resolution (verified empirically — even a module-level const built by a function fails). The chains are therefore precomputed as chained module-level const STRINGS (pure concatenation, no functions) and interpolated — which StyleX statically analyzes correctly. Verified the built xds.css contains all 24 inverted chains. - container.stylex.ts: read side — card/section/dialog chains rebuilt as chained consts with the inverted --xds-then-astryx fallback; doc headers updated. - generateThemeRules.ts: write side — emit --astryx-<component>-padding via the cssVar() helper from naming.ts (was hardcoded --xds-). - build-theme.mjs: the fallback expandContainerPadding emits --astryx- too (kept in sync with the core primary path; SYNC note added). - defineTheme.test.ts / generateThemeRules.test.ts: update padding-var emit assertions to --astryx-* (CSS classes / data-attrs / layer names unchanged). Test plan: core builds (StyleX) cleanly with the inverted chain in xds.css; 271 theme/Layout/Card/Section tests pass; tsc clean. Completes P3c. * feat(vibe-tests): add project-astryx target for unprefixed name validation (#2892) Add an `astryx` target to the vibe-test harness that validates agents perform equally well with the bare (unprefixed) component names as they do with the current `XDS*` names. Same library, same underlying code, same prompts — only the naming presentation to the agent differs. project-astryx is the long-term replacement; project-xds will be deleted before the integration branch merges to main. - environments/project-astryx/: README + package.json presenting bare names (Button, Card, useTheme) with the note that the package is still @xds/core during the migration. - interactive.ts: register `astryx` as a target (type union, personaFraming, docs-install dispatch); add installAstryxDocs() which generates the same AGENTS.md via `xds init` then post-processes to strip XDS prefixes from component names (XDSButton -> Button, useXDSTheme -> useTheme, XDS -> Astryx branding). Usage: pnpm -F @xds/vibe-tests interactive --target astryx --sample 5 # then compare against: pnpm -F @xds/vibe-tests interactive --target xds --prompts <same-ids> pnpm -F @xds/vibe-tests compare:md * fix(vibe-tests): rebrand --xds-* vars to --astryx-* in astryx agent docs (#2894) Docs should recommend the new --astryx-* custom property names, not the legacy --xds-* ones. The library still handles --xds-* at runtime via the inverted fallback, but forward-facing docs should point at the canonical names. * feat(cli): bare names in CLI output + 613 templates (P5a + P5b) (#2898) * feat(cli): output bare component names in CLI and agent-docs (P5a) The CLI component output, component list, and agent-docs (AGENTS.md) now display bare names (Button, Card, AppShell) instead of prefixed names (XDSButton, XDSCard, XDSAppShell). The bare aliases exist (P1 merged), so these imports resolve correctly. This was the gap the vibe-test revealed: agents follow the detailed per-component CLI output over the summary AGENTS.md doc. With bare names in the CLI output, agents will generate bare-name code. - docs.mjs: formatBrief() no longer prepends XDS${} to display names; relatedComponents shown as bare names; error-display uses bare. - component-format.mjs: formatCompact/formatBrief use componentName directly (already bare from .doc.mjs); Full-format import line uses docs.name (bare) instead of XDS${docs.name}. - agent-docs.mjs: prose references use bare names (AppShell not XDSAppShell, SideNav not XDSSideNav); header says "Astryx" not "XDS"; var guidance says --astryx-color-* not --xds-color-*. Remaining XDS references in output come from .doc.mjs content files (template descriptions, best-practice prose) — that is P5d scope. * feat(cli): update 549 CLI templates to use bare component names (P5b) Run the P2 drop-xds-prefix-imports codemod across the entire CLI templates directory, then sweep remaining XDS-prefixed identifiers in type refs, JSX, doc.mjs metadata, and @xds/lab imports. All 613+ template files now use bare names (Button, Card, AppShell) in imports and usage. P1 bare aliases resolve these imports, so templates work unchanged on the integration branch. This ensures that `xds template <name>` scaffolds code with the unprefixed pattern that agents and developers should adopt. Applied mechanically via: npx jscodeshift --parser tsx -t .../drop-xds-prefix-imports.mjs templates/ + sed sweep for edge cases (type refs, .doc.mjs metadata, @xds/lab) * feat: bare names in GitHub surfaces + docsite generators (P5c + P5e) - Issue templates: <Button> not <XDSButton>, Foo not XDSFoo - Landing page: "Astryx Design System" not "XDS Design System" - generate-data.mjs: moduleName uses bare name directly (no XDS prefix) - generate-scope.mjs: playground scope uses bare Theme/DefinedTheme * feat: bare names in Storybook, examples, sandbox, docsite (P5d) Mechanical bulk-rename across 320 app files: Storybook stories, example apps, sandbox, and docsite source — all now use bare component names (Button, Card, Theme) in imports and usage. Applied via sed sweep on .tsx/.ts/.mjs/.md files under apps/ (same transform as P5b templates: XDS[A-Z] -> stripped, useXDS -> use). * chore: sync origin/main into xds-unprefix-integration (#2916) * fix(docsite): use heart-handshake icon for Community nav button (#2853) Swap the top nav Community button icon from HandHeart to HeartHandshake for a clearer community/partnership affordance. Co-authored-by: Cursor <[email protected]> * fix(cli): show primary component in import hint, not sub-component (#2860) Vibe test nightly showed agents using wrong prop APIs on XDSText and XDSCodeBlock because the CLI import hint showed the first sub-component (XDSHeading, XDSCode) instead of the primary export (XDSText, XDSCodeBlock). The import line is the first thing agents see in CLI output. When it showed `import {XDSHeading} from '@xds/core/Text'`, agents conflated XDSText with XDSHeading and hallucinated a `variant` prop that doesn't exist. Fix: always use `XDS${docs.name}` for the import hint display name instead of `docs.components[0].name` (which is a sub-component). Co-authored-by: Cindy Zhang <[email protected]> * docs: replace em/en dashes with standard punctuation in doc prose (#2857) Replace em dashes with colons, semicolons, or commas as contextually appropriate across 50 component and hook doc files. Numeric ranges (2-4, 10-12, h1-6) and name/displayName convention fields left as-is. Found during Night Watch doc review. * docs(AppShell): move bare > onto same line as last prop in @example (#2834) The closing > of <XDSAppShell on its own line can become a markdown blockquote if the code fence breaks in Storybook autodocs. Move it to the same line as the last prop. Found during Night Watch doc review. * feat(docsite): Playground properties popover (#2873) * Props popover * Styling fixes * Clean up * Theme fix * docs(slop): source-code AI-slop cleanup, pass 2 of 2 (14 files) (#2869) * docs(slop): Layout.stories.tsx - em-dash+buzzword (9) * docs(slop): Link.stories.tsx - em-dash (3) * docs(slop): SVGIcon.stories.tsx - em-dash (2) * docs(slop): SelectableCard.stories.tsx - em-dash (1) * docs(slop): TableColumnResize.stories.tsx - em-dash (1) * docs(slop): TableFiltering.stories.tsx - em-dash (1) * docs(slop): Toast.stories.tsx - em-dash (5) * docs(slop): XDSMediaTheme.stories.tsx - em-dash (10) * docs(slop): XDSTheme.stories.tsx - em-dash (2) * docs(slop): XIFSpec.stories.tsx - em-dash (4) * docs(slop): build-previews.ts - em-dash (1) * docs(slop): correct-previews.ts - em-dash (1) * docs(slop): universal-eval.ts - em-dash (4) * docs(slop): AppShellMobileHookUsage.tsx - em-dash (1) * docs(slop): full-rubric cleanup pass 2 - complete the hollow-intensifier + ellipsis fixes (5 files) (#2862) * docs(slop): typography.doc.mjs - replace ellipsis char with ASCII (A5) * docs(slop): DateTimeInput.doc.mjs - cut hollow 'easily' (E) * docs(slop): FileInput.doc.mjs - cut hollow 'very' (E) * docs(slop): RadioList.doc.mjs - cut hollow 'truly' (E) * docs(slop): TextInput.doc.mjs - cut hollow 'truly' (E) * fix(core): remove redundant style prop declarations, wire FieldStatus escape hatches (#2835) - FormLayout: remove xstyle/className/style re-declarations from XDSFormLayoutProps (already provided by XDSBaseProps) - Grid: remove xstyle/className/style re-declarations from XDSGridProps - GridSpan: remove xstyle/className/style re-declarations from XDSGridSpanProps - FieldStatus: wire xstyle/className/style and rest props through to DOM element (consumers can now apply escape-hatch styles and data-* attributes) - Update FormLayout snapshot (line numbers shifted by 1) * fix(docsite): decouple Astryx primary/accent and make hero respect dark mode (#2855) Reserve the Astryx brand blue for the logo and drive all interactive UI (buttons, links, focus, Switch, tints) from the primary near-black ink by pointing the accent tokens at it. Set --color-on-accent to light-dark so the primary button label stays readable in both modes (it was white on the light dark-mode accent fill). The warm taupe neutral ramp is dropped in favor of the XDS default grays. Thread the docsite's color mode into the hero reel so each slide renders in its own dark palette when the site is in dark mode (dark-only themes like Gothic stay dark); previously the reel was hardcoded to light. The Astryx wordmark gets an explicit brand-blue override so the logo stays blue even though its accent token is now the primary ink. Co-authored-by: Cursor <[email protected]> * feat(selector): rename option renderer prop (#2821) * Playground code clean up (#2895) * fix(docsite): use chat subcomponent usage summaries (#2893) * fix(cli): add anti-pattern guidance for Text and Icon docs (#2887) Vibe test nightly showed agents consistently using `variant` prop on XDSText (does not exist) and `name` prop on XDSIcon (should be `icon`), even after reading CLI docs. Added explicit 'Don't' guidance to prevent hallucination of familiar prop names from other design systems. Also updated XDSText type prop to include display-1/2/3 values that were missing from the documented union type. Co-authored-by: Cindy Zhang <[email protected]> * docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884) Both overlays (docsZh and docsDense) were missing the renderOption bestPractice entry, causing a 1-bullet count mismatch with the English docs. Adds the missing entry at the correct position with guidance: true. Found during Night Watch doc review. * build(deps): bump lucide-react in the production-dependencies group (#2831) Bumps the production-dependencies group with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `lucide-react` from 1.17.0 to 1.18.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.18.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(docsite): per-theme showcase content + theme polish (Matcha/Butter/Stone/Y2K/Gothic) (#2856) * feat(docsite): use new Neutral theme product photos Point the Neutral theme image set at the new xds_oss CDN product photos (Neutral-Watch/Headphones/Backpack/Wallet/Tumbler/Blanket) instead of the local placeholder PNGs, so the /themes/neutral showcase and inventory table render the updated imagery. Rename the "mug" slot to "tumbler" (and the "Travel Mug" row to "Travel Tumbler") to match the actual product photo. Co-authored-by: Cursor <[email protected]> * feat(docsite): scaffold per-theme product image sets Restructure the theme image registry so every theme can ship its own set of product photos via the shared xds_oss CDN (<TitleTheme>-<Item>.png), built by a cdnSet() helper. Each non-Neutral reel theme (butter, matcha, daily, gothic, y2k, stone, chocolate) is pre-wired but gated behind a per-theme `ready` flag — until its photos are uploaded it falls back to the Neutral set, so the /themes/<name> page never renders broken/404 thumbnails. Flip `ready: true` per theme once its assets land. Co-authored-by: Cursor <[email protected]> * feat(templates): use new Neutral product photos in theme-showcase The /themes page renders the theme-showcase CLI template, which carried its own hardcoded image map pointing at the old local /neutral/preview-*.png files. Point PREVIEW_IMAGES at the new xds_oss CDN photos (Neutral-Watch/Headphones/ Backpack/Wallet/Tumbler/Blanket) so the themes page (and scaffolded copies of this template) render the updated imagery, and rename the mug slot/row to tumbler to match the actual product photo. Co-authored-by: Cursor <[email protected]> * feat(docsite): bespoke Matcha showcase content (drinks) Make the theme-showcase template accept optional images/products/inventory (defaulting to the neutral store, so scaffolded copies are unchanged), and have ThemePackagePage pass per-theme content keyed by slug. Add a Matcha café menu (Iced Matcha Latte, Strawberry Matcha, Ube Matcha, + vanilla/hazelnut/mocha in the inventory) using the matcha-product-*.png photos, so the Matcha theme page shows real matcha drinks instead of the generic gadget store. Themes without an override keep the template's neutral defaults. Co-authored-by: Cursor <[email protected]> * fix(theme-matcha): tone down oversized type scale Matcha ran large: typography.scale was base 18 / ratio 1.414 (√2) AND it re-pinned the whole --font-size-* ramp with hardcoded values (base 1.125rem), so headings/display grew aggressively regardless of the scale. Switch to base 16 / ratio 1.25 and drop the explicit --font-size-* overrides so the scale config is the single source of truth, bringing Matcha in line with the other themes while keeping clear hierarchy. Co-authored-by: Cursor <[email protected]> * feat(templates): accent-text hero headline in theme-showcase Paint the "Little joys" store-preview headline with the theme's accent-text ink (--color-text-accent) instead of the default primary. XDSText has no 'accent' color value, so apply the token via an xstyle override. Co-authored-by: Cursor <[email protected]> * feat(templates): theme-aware theme-showcase store + layout fixes Make the theme-showcase template accept optional images/products/inventory (defaulting to the neutral store, so scaffolded copies are unchanged) so the docsite can render per-theme stores. Point the default images at the xds_oss CDN, rename the mug slot to tumbler, and widen the tag/badge variant type to the full categorical set. Layout fixes: align the inventory table with the card header via the shared --spacing-6 token and lower the proportional column min-widths so the trailing actions column no longer clips on larger-spacing themes; size the actions/select columns and quantity input so controls + hover states fit their cells; match the quantity input height to its button; stack the store hero headline; and drop the revenue sparkline. Co-authored-by: Cursor <[email protected]> * feat(docsite): bespoke showcase content for Matcha, Butter, Stone, Y2K Add per-theme product imagery + names for the /themes showcase so each theme reads as its own store instead of the generic gadget shop: Matcha (café drinks), Butter (bakery), Stone (stoneware homeware), Y2K (holo trinkets). Each maps the theme's xds_oss CDN photos onto the showcase slots; themes without an entry keep the template's neutral defaults. Co-authored-by: Cursor <[email protected]> * fix(themes): typography + border + composer-radius tweaks - Matcha/Gothic: drop the oversized type scale (base 16 / ratio 1.25); Matcha also removes its hardcoded --font-size-* ramp so the scale is the source of truth. - Matcha/Y2K/Butter: soften the emphasized (card) border to a lighter tone; Matcha also lightens the default border. - Butter: stop hardcoding the button border-radius so the chat composer's buttons round fully (via --_button-radius) while standalone buttons keep the 8px --radius-element fallback. Co-authored-by: Cursor <[email protected]> * feat(docsite): Stone + Gothic showcase content; tidy comments Add bespoke /themes showcase content for Stone (stoneware homeware) and Gothic (moody botanicals), and refresh Matcha/Butter/Y2K image sets to their full six-photo sets (couch for Y2K, dedicated Stone-*/Gothic-* assets). Trim redundant/stale comments in the showcase content + image registry. Co-authored-by: Cursor <[email protected]> * chore(docsite): tidy showcase template comments + load Crimson Text Tighten the verbose layout comments in the theme-showcase template, and add Crimson Text to the docsite font <link> so the Y2K display font loads. Co-authored-by: Cursor <[email protected]> * feat(theme-y2k): periwinkle body, Crimson Text display, charcoal borders, flat nav Y2K: periwinkle (#CCCFFA) body, Crimson Text serif for display sizes, bold charcoal borders (default + card), and a flat selected top-nav item. Document the theme's fonts in the README and refresh its stale description. Also tidy comments in the matcha/butter/gothic theme files. Co-authored-by: Cursor <[email protected]> * feat(theme-butter): blue top nav Use Butter's blue accent in the top nav: the Studio heading and the selected item render the full brand blue (the heading redirects --color-text-primary so the inner heading text turns blue too), unselected items use a lighter blue, and the selected item drops its pill background. Dark mode keeps the butter-yellow accent. Co-authored-by: Cursor <[email protected]> * fix(templates): keep theme-showcase route page prop-free The theme-showcase template is rendered as a Next.js route page in the sandbox, so its default export must satisfy PageProps — but it had been given typed ThemeShowcaseProps, failing the sandbox build. Keep the default export prop-free and move the content-accepting renderer to a named `ThemeShowcaseStore` export; the docsite imports that for per-theme content. Co-authored-by: Cursor <[email protected]> * feat(docsite): serve theme picker banners from CDN Re-art-direct the picker banners to match each theme's CDN product photos and balance object placement: butter (correct sky-blue + warmer crochet), y2k (matte mint stars, theme periwinkle, sized + centered), matcha (drinks spaced for the wordmark). Point all six picker card backgrounds at the shared XDS asset CDN (PICKER_CDN) instead of local /public files, and remove the now-unused local picker PNGs. Stone wordmark now uses the theme accent instead of hardcoded white (drop the now-unused labelOnDark style). Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * fix(docsite): prevent SideNav preview navigation (#2827) * build(deps-dev): bump the dev-dependencies group across 1 directory with 34 updates (#2897) * build(deps-dev): bump the dev-dependencies group across 1 directory with 34 updates Bumps the dev-dependencies group with 34 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/plugins/eslint-plugin) | `5.8.7` | `5.9.0` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.60.0` | `1.61.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.9.1` | `25.9.3` | | [eslint](https://github.com/eslint/eslint) | `10.4.1` | `10.5.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.8.4` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.60.0` | `8.61.1` | | [@stylexjs/babel-plugin](https://github.com/facebook/stylex) | `0.18.3` | `0.19.0` | | [@stylexjs/postcss-plugin](https://github.com/facebook/stylex) | `0.18.3` | `0.19.0` | | [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.3.0` | `4.3.1` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.0` | `4.3.1` | | @stylexjs/unplugin | `0.18.3` | `0.19.0` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.0` | `4.3.1` | | [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs) | `10.4.1` | `10.4.6` | | [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) | `10.4.1` | `10.4.6` | | [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `10.4.1` | `10.4.6` | | [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | `10.4.1` | `10.4.6` | | [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core) | `10.4.1` | `10.4.6` | | [@radix-ui/react-avatar](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/avatar) | `1.1.11` | `1.2.0` | | [@radix-ui/react-checkbox](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/checkbox) | `1.3.3` | `1.3.5` | | [@radix-ui/react-dialog](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dialog) | `1.1.15` | `1.1.17` | | [@radix-ui/react-dropdown-menu](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dropdown-menu) | `2.1.16` | `2.1.18` | | [@radix-ui/react-hover-card](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/hover-card) | `1.1.15` | `1.1.17` | | [@radix-ui/react-label](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/label) | `2.1.8` | `2.1.10` | | [@radix-ui/react-popover](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/popover) | `1.1.15` | `1.1.17` | | [@radix-ui/react-progress](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/progress) | `1.1.8` | `1.1.10` | | [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/scroll-area) | `1.2.10` | `1.2.12` | | [@radix-ui/react-select](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/select) | `2.2.6` | `2.3.1` | | [@radix-ui/react-separator](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/separator) | `1.1.8` | `1.1.10` | | [@radix-ui/react-slider](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/slider) | `1.3.6` | `1.4.1` | | [@radix-ui/react-slot](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/slot) | `1.2.4` | `1.3.0` | | [@radix-ui/react-switch](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/switch) | `1.2.6` | `1.3.1` | | [@radix-ui/react-tabs](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tabs) | `1.1.13` | `1.1.15` | | [@radix-ui/react-tooltip](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tooltip) | `1.2.8` | `1.2.10` | | [tsx](https://github.com/privatenumber/tsx) | `4.22.3` | `4.22.4` | Updates `@eslint-react/eslint-plugin` from 5.8.7 to 5.9.0 - [Release notes](https://github.com/Rel1cx/eslint-react/releases) - [Changelog](https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md) - [Commits](https://github.com/Rel1cx/eslint-react/commits/v5.9.0/plugins/eslint-plugin) Updates `@playwright/test` from 1.60.0 to 1.61.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.60.0...v1.61.0) Updates `@types/node` from 25.9.1 to 25.9.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint` from 10.4.1 to 10.5.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.4.1...v10.5.0) Updates `prettier` from 3.8.3 to 3.8.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.8.4) Updates `typescript-eslint` from 8.60.0 to 8.61.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.61.1/packages/typescript-eslint) Updates `@stylexjs/babel-plugin` from 0.18.3 to 0.19.0 - [Release notes](https://github.com/facebook/stylex/releases) - [Changelog](https://github.com/facebook/stylex/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/stylex/commits/0.19.0) Updates `@stylexjs/postcss-plugin` from 0.18.3 to 0.19.0 - [Release notes](https://github.com/facebook/stylex/releases) - [Changelog](https://github.com/facebook/stylex/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/stylex/commits/0.19.0) Updates `@tailwindcss/postcss` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-postcss) Updates `tailwindcss` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/tailwindcss) Updates `@stylexjs/unplugin` from 0.18.3 to 0.19.0 Updates `@tailwindcss/vite` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-vite) Updates `@storybook/addon-docs` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/docs) Updates `@storybook/addon-links` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/links) Updates `@storybook/react` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/renderers/react) Updates `@storybook/react-vite` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/frameworks/react-vite) Updates `storybook` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/core) Updates `@radix-ui/react-avatar` from 1.1.11 to 1.2.0 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/avatar/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/avatar) Updates `@radix-ui/react-checkbox` from 1.3.3 to 1.3.5 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/checkbox/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/checkbox) Updates `@radix-ui/react-dialog` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dialog/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dialog) Updates `@radix-ui/react-dropdown-menu` from 2.1.16 to 2.1.18 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dropdown-menu/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dropdown-menu) Updates `@radix-ui/react-hover-card` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/hover-card/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/hover-card) Updates `@radix-ui/react-label` from 2.1.8 to 2.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/label/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/label) Updates `@radix-ui/react-popover` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/popover/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/popover) Updates `@radix-ui/react-progress` from 1.1.8 to 1.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/progress/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/progress) Updates `@radix-ui/react-scroll-area` from 1.2.10 to 1.2.12 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/scroll-area/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/scroll-area) Updates `@radix-ui/react-select` from 2.2.6 to 2.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/select/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/select) Updates `@radix-ui/react-separator` from 1.1.8 to 1.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/separator/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/separator) Updates `@radix-ui/react-slider` from 1.3.6 to 1.4.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slider/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slider) Updates `@radix-ui/react-slot` from 1.2.4 to 1.3.0 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slot/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slot) Updates `@radix-ui/react-switch` from 1.2.6 to 1.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/switch/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/switch) Updates `@radix-ui/react-tabs` from 1.1.13 to 1.1.15 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tabs/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tabs) Updates `@radix-ui/react-tooltip` from 1.2.8 to 1.2.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tooltip/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tooltip) Updates `tsx` from 4.22.3 to 4.22.4 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.22.3...v4.22.4) --- updated-dependencies: - dependency-name: "@eslint-react/eslint-plugin" dependency-version: 5.9.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@playwright/test" dependency-version: 1.61.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@types/node" dependency-version: 25.9.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 10.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: prettier dependency-version: 3.8.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.61.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@stylexjs/babel-plugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@stylexjs/postcss-plugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@tailwindcss/postcss" dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: tailwindcss dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@stylexjs/unplugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@tailwindcss/vite" dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/addon-docs" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/addon-links" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/react" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/react-vite" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: storybook dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-avatar" dependency-version: 1.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-checkbox" dependency-version: 1.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-dialog" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-dropdown-menu" dependency-version: 2.1.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-hover-card" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-label" dependency-version: 2.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-popover" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-progress" dependency-version: 1.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-scroll-area" dependency-version: 1.2.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-select" dependency-version: 2.3.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-separator" dependency-version: 1.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-slider" dependency-version: 1.4.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-slot" dependency-version: 1.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-switch" dependency-version: 1.3.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-tabs" dependency-version: 1.1.15 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-tooltip" dependency-version: 1.2.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: tsx dependency-version: 4.22.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * fix(lint): address updated eslint rules --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cixzhang <[email protected]> * fix(Icon,InputGroup): forward rest props in string mode and InputGroupText (#2885) XDSIcon string mode (registry icons) silently dropped props like data-testid, className, and event handlers that were accepted by the interface. Forward them to the wrapper span. XDSInputGroupText extended XDSBaseProps but only destructured ref, children, xstyle, className, style. Rest props (data-*, aria-*, id, event handlers) were silently dropped. Add ...rest forwarding. * fix(vibe-tests): add event handler guidance and import paths to READMEs (#2841) * fix(vibe-tests): add event handler guidance and import paths to READMEs Vibe test nightly showed agents consistently using onPress (React Native pattern) instead of onClick, and importing ToggleButton/Theme from wrong paths. Updated both XDS and XDS+TW project READMEs to: - Clarify that XDS uses React DOM event handlers (onClick, not onPress) - Show correct import paths for ToggleButton and Theme components - Add explicit warning against React Native patterns These are setup fairness improvements — baseline agents can read component source to discover event patterns, but XDS agents must rely on CLI docs or project README. * docs(vibe-tests): broaden event handler guidance --------- Co-authored-by: Cindy Zhang <[email protected]> * fix(docsite): resolve DateInput status preview props (#2829) * fix(typeahead): guard selected state for missing ids (#2828) * fix(deps): resolve esbuild vulnerability via pnpm override (#2837) * fix(docsite): make prop/element resolution prefix-agnostic post-sync The docsite test suite surfaced three pre-existing failures (latent on the integration branch, now exercised after the main sync) where bare-name reality collided with prefix-assuming logic: - resolveElements.getComponent: tried the XDS-prefixed export key FIRST, which throws under a strict vitest module mock that only defines bare names. Now resolves bare-first (canonical post-migration) with the prefixed name as a guarded fallback. Fixes 3 component-detail-resolve-elements failures. - parsePropType.isInputStatusType: regex only matched XDSInputStatus/ XDSFieldStatus; now matches the bare forms too (prefix-agnostic, per P3). Fixes the component-prop-controls InputStatus failure. - data-extraction test: the component registry keys hooks by canonical name (useXDSTheme) while the example registry keys by bare name (useTheme); the hook-example lookup now tolerates either form. Also fixed the assertion to match its own startsWith('useXDS') filter. Full docsite suite (133 tests) and the CLI codemod/component suites (107 tests, incl. both v0.0.15 codemods) now pass. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: rubyycheung <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: Joey <[email protected]> Co-authored-by: Kenton Quatman <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(docs): migrate component doc prose to bare (unprefixed) names [P5d] (#2920) * chore(docs): migrate component doc prose to bare (unprefixed) names P5d completion. Migrates all component .doc.mjs prose, sub-component refs, playground/slot element descriptors, and inline examples from XDS-prefixed to bare names (XDSText -> Text, useXDSTheme -> useTheme, {name: 'XDSHeading'} -> {name: 'Heading'}, __element: 'XDSSideNavItem' -> 'SideNavItem'). Docs now present the recommended (bare) API everywhere. Existing prefixed CODE keeps working via the P1 compat aliases (XDSText as Text, etc.) — this only changes documentation content, not the export surface. Deliberately PRESERVED (still accurate pre-P4/P10): - lowercase CSS class tokens in theming tables (xds-heading, xds-button) — components still render xds-* classes; astryx-* dual-emit is not wired yet. - data-xds-* attribute references — same reason. - @xds/* package import paths. The transform (\buseXDS([A-Z]) -> use\1, \bXDS([A-Z]) -> \1) only matches XDS followed by an uppercase letter, so the lowercase namespace surfaces are naturally excluded. 173 doc.mjs files, 1217 lines. * chore(docs): rename useXDS* hook-example block files to bare names The two hook-usage example blocks were still named useXDSThemeHookUsage.* and useXDSStreamingTextHookUsage.*, so they surfaced as XDS-prefixed entries in the CLI 'related blocks' listing (xds component Text/useTheme). Their content was already migrated to bare in the prior commit; this renames the files to match (useThemeHookUsage.*, useStreamingTextHookUsage.*). These are example/showcase blocks (not core component source), so renaming is P5-scope. After this, no XDS-named files remain under packages/cli/templates and 'xds component <X>' output is fully bare. * test(docsite): identify public hooks by example presence, not name prefix After migrating hook doc `name` fields to bare (prev commit), the data-extraction hook test could no longer use a `useXDS` name-prefix to distinguish public hooks (which ship example blocks: useTheme, useToast, useTableSortable, …) from internal utility hooks (useFocusTrap, useScrollLock, … — never XDS-prefixed, no examples). Filter the public set by 'has an example-registry entry', which is exactly what the test asserts about. 132/132 docsite tests pass. * test(docsite): fix hook-test assertion after merge The merge of #2916 auto-combined the two versions of the hook-pages test into an inconsistent block: my bare filter (/^use[A-Z]/ + example-presence) plus #2916's stale assertion toContain('useXDSTheme') and a redundant bare-name dual-lookup. Post-migration all hook names are bare, so the assertion now checks 'useTheme' and the loop uses the direct (bare) example lookup the filter already guarantees. * fix(cli): make template --skeleton extractors prefix-agnostic (#2917) The un-prefix migration (P2380608025, P5b) rewrote the 600+ CLI page/block templates to use bare component names (<Section> instead of <XDSSection>). But extractComponents() and extractSkeleton() in template.mjs still matched only the XDS-prefixed form: extractComponents: src.match(/XDS[A-Z]\w+/g) extractSkeleton: t.match(/^<(XDS\w+)/) and /^<\/(XDS\w+)>/ So on the integration branch (bare templates), `xds template <name> --skeleton` returned an empty '# Components:' list and an empty skeleton body — exactly what the vibe-test agents hit on contact-form. Fix: match JSX opening/closing tags with an OPTIONAL XDS prefix. Anchoring on the `<` tag boundary keeps extractComponents precise (it previously grepped every `XDS...` substring anywhere in the file; the tag anchor is stricter and prefix-agnostic). All existing filters (UBIQUITOUS, suffix-stripping, dedup) are unchanged. Adds a regression test exercising the public template() API with {skeleton:true} against the bare-named contact-form template. Note: a pre-existing cosmetic issue (Grid `columns={{minWidth:240}}` renders as `columns="{minWidth:"` in the skeleton) is unrelated to the prefix and out of scope here — it stems from the propRegex and would affect prefixed templates identically. * fix(vibe-tests): map astryx target to xds tsconfig for type checking (#2911) * fix(core): add bare DateRange/DateRangePreset aliases to DateRangeInput barrel The P1 compat-alias generator skipped these because `DateRange` already exists bare in Calendar/index.ts and utils/index.ts (the global collision pre-pass prevents duplicate exports at the root barrel). But consumers importing from `@xds/core/DateRangeInput` expect to find `DateRange` there (it is the primary type for the range value). Since XDSDateRange is just a re-export of Calendar DateRange (same symbol), adding the bare alias here is safe and expected. Surfaced by the vibe-test: agents importing DateRangeInput had to reach into Calendar for the type. This is a manually-added entry in the compat-aliases block (the generator correctly skips it to avoid root-barrel ambiguity, but at the subpath level it is needed for ergonomics). * fix(vibe-tests): map astryx target to xds tsconfig for type checking The tsc runner falls through to tsconfig.html.json (no @xds/core paths) for unknown targets. Add astryx to the xds/xds-tailwind case so astryx results typecheck against the same core type definitions. * chore: sync origin/main into xds-unprefix-integration (2026-06-19) * fix(docsite): use heart-handshake icon for Community nav button (#2853) Swap the top nav Community button icon from HandHeart to HeartHandshake for a clearer community/partnership affordance. Co-authored-by: Cursor <[email protected]> * fix(cli): show primary component in import hint, not sub-component (#2860) Vibe test nightly showed agents using wrong prop APIs on XDSText and XDSCodeBlock because the CLI import hint showed the first sub-component (XDSHeading, XDSCode) instead of the primary export (XDSText, XDSCodeBlock). The import line is the first thing agents see in CLI output. When it showed `import {XDSHeading} from '@xds/core/Text'`, agents conflated XDSText with XDSHeading and hallucinated a `variant` prop that doesn't exist. Fix: always use `XDS${docs.name}` for the import hint display name instead of `docs.components[0].name` (which is a sub-component). Co-authored-by: Cindy Zhang <[email protected]> * docs: replace em/en dashes with standard punctuation in doc prose (#2857) Replace em dashes with colons, semicolons, or commas as contextually appropriate across 50 component and hook doc files. Numeric ranges (2-4, 10-12, h1-6) and name/displayName convention fields left as-is. Found during Night Watch doc review. * docs(AppShell): move bare > onto same line as last prop in @example (#2834) The closing > of <XDSAppShell on its own line can become a markdown blockquote if the code fence breaks in Storybook autodocs. Move it to the same line as the last prop. Found during Night Watch doc review. * feat(docsite): Playground properties popover (#2873) * Props popover * Styling fixes * Clean up * Theme fix * docs(slop): source-code AI-slop cleanup, pass 2 of 2 (14 files) (#2869) * docs(slop): Layout.stories.tsx - em-dash+buzzword (9) * docs(slop): Link.stories.tsx - em-dash (3) * docs(slop): SVGIcon.stories.tsx - em-dash (2) * docs(slop): SelectableCard.stories.tsx - em-dash (1) * docs(slop): TableColumnResize.stories.tsx - em-dash (1) * docs(slop): TableFiltering.stories.tsx - em-dash (1) * docs(slop): Toast.stories.tsx - em-dash (5) * docs(slop): XDSMediaTheme.stories.tsx - em-dash (10) * docs(slop): XDSTheme.stories.tsx - em-dash (2) * docs(slop): XIFSpec.stories.tsx - em-dash (4) * docs(slop): build-previews.ts - em-dash (1) * docs(slop): correct-previews.ts - em-dash (1) * docs(slop): universal-eval.ts - em-dash (4) * docs(slop): AppShellMobileHookUsage.tsx - em-dash (1) * docs(slop): full-rubric cleanup pass 2 - complete the hollow-intensifier + ellipsis fixes (5 files) (#2862) * docs(slop): typography.doc.mjs - replace ellipsis char with ASCII (A5) * docs(slop): DateTimeInput.doc.mjs - cut hollow 'easily' (E) * docs(slop): FileInput.doc.mjs - cut hollow 'very' (E) * docs(slop): RadioList.doc.mjs - cut hollow 'truly' (E) * docs(slop): TextInput.doc.mjs - cut hollow 'truly' (E) * fix(core): remove redundant style prop declarations, wire FieldStatus escape hatches (#2835) - FormLayout: remove xstyle/className/style re-declarations from XDSFormLayoutProps (already provided by XDSBaseProps) - Grid: remove xstyle/className/style re-declarations from XDSGridProps - GridSpan: remove xstyle/className/style re-declarations from XDSGridSpanProps - FieldStatus: wire xstyle/className/style and rest props through to DOM element (consumers can now apply escape-hatch styles and data-* attributes) - Update FormLayout snapshot (line numbers shifted by 1) * fix(docsite): decouple Astryx primary/accent and make hero respect dark mode (#2855) Reserve the Astryx brand blue for the logo and drive all interactive UI (buttons, links, focus, Switch, tints) from the primary near-black ink by pointing the accent tokens at it. Set --color-on-accent to light-dark so the primary button label stays readable in both modes (it was white on the light dark-mode accent fill). The warm taupe neutral ramp is dropped in favor of the XDS default grays. Thread the docsite's color mode into the hero reel so each slide renders in its own dark palette when the site is in dark mode (dark-only themes like Gothic stay dark); previously the reel was hardcoded to light. The Astryx wordmark gets an explicit brand-blue override so the logo stays blue even though its accent token is now the primary ink. Co-authored-by: Cursor <[email protected]> * feat(selector): rename option renderer prop (#2821) * Playground code clean up (#2895) * fix(docsite): use chat subcomponent usage summaries (#2893) * fix(cli): add anti-pattern guidance for Text and Icon docs (#2887) Vibe test nightly showed agents consistently using `variant` prop on XDSText (does not exist) and `name` prop on XDSIcon (should be `icon`), even after reading CLI docs. Added explicit 'Don't' guidance to prevent hallucination of familiar prop names from other design systems. Also updated XDSText type prop to include display-1/2/3 values that were missing from the documented union type. Co-authored-by: Cindy Zhang <[email protected]> * docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884) Both overlays (docsZh and docsDense) were missing the renderOption bestPractice entry, causing a 1-bullet count mismatch with the English docs. Adds the missing entry at the correct position with guidance: true. Found during Night Watch doc review. * build(deps): bump lucide-react in the production-dependencies group (#2831) Bumps the production-dependencies group with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `lucide-react` from 1.17.0 to 1.18.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.18.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@githu…
cixzhang
added a commit
that referenced
this pull request
Jun 21, 2026
…ases (#2941) * feat(core): add centralized naming module for prefix migration (#2861) Introduce `packages/core/src/naming.ts` as the single source of truth for the externally-observable namespace prefix used by CSS classes, data attributes, and CSS custom properties. Today this prefix is the literal string `xds`, hardcoded independently across the runtime, the theme build pipeline, and discovery tooling (kept in sync only by SYNC comments). This module exposes both the legacy (`xds`) and new (`astryx`) namespace constants plus helpers (`stableClassName`, `dataAttr`, `cssVar` and their `legacy*` counterparts), and is exported via the new `@xds/core/naming` subpath so both the TS runtime and `.mjs` build/CLI tooling can consume one source of truth. This is a behavior-preserving refactor: `xdsThemeProps()` now builds its stable class via `legacyStableClassName()`, which still emits `xds-button` etc. The dual-emit compatibility layer and eventual cutover will flip the emitted prefix in one place instead of hundreds of literals. - Add naming.ts + naming.test.ts (8 tests) - Refactor xdsThemeProps to consume the centralized prefix (output unchanged) - Register @xds/core/naming subpath export - Update src/README.md file manifest * feat(core): add unprefixed compatibility aliases (P1 compat layer) (#2864) Add bare (unprefixed) re-export aliases for all XDS* and useXDS* public exports across 100 component barrels. Consumers can now import `Button`, `ButtonProps`, `useTheme`, etc. alongside the existing `XDSButton`, `XDSButtonProps`, `useXDSTheme`. The prefixed names remain canonical and are the module-augmentation targets; bare aliases are pure re-exports that reference the same values/types. Strategy: aliases are emitted at the barrel level (index.ts) via `export {XDSButton as Button} from "."`, preserving the XDS* declaration in source .tsx unchanged (filename + discovery tooling stable). This makes the prefixed names the deletable thing at final cutover (P10). Also: - Add `astryx` binary alias for the CLI (same launcher as `xds`) - Add scripts/generate-compat-aliases.mjs (idempotent codegen) - Wire `pnpm compat:aliases:check` into check:repo gate - Add compat-aliases.test.tsx (6 tests: runtime+type identity, barrel coverage) Skips bare aliases that collide with pre-existing bare exports in other barrels (Token, HeadingLevel, DateRangePreset) to avoid root-barrel export * ambiguity (TS2308). Global collision pre-pass handles this. Scope: ~634 XDS* identifiers aliased across 100 barrels. No behavior change; all existing tests pass; tsc clean; check:repo gate passes. * feat(build): make the theme CSS layer name configurable (P3c) (#2866) Add a `layers.theme` option to the XDS Vite plugin (both the modern and legacy APIs), defaulting to `xds-theme`. Previously the theme layer name was hardcoded in the injected `@layer reset, xds-base, xds-theme, product;` order statement while `library` and `product` were already configurable. This supports the XDS-prefix migration (P2380608025): a consumer can opt into the rebranded `astryx-theme` layer before the final cutover by setting `layers.theme` (alongside the matching runtime theme-layer name, which is a follow-up). Defaulting to `xds-theme` means existing consumers are completely unaffected — this is a pure capability addition. @xds/build is a private, unpublished package, so this is an internal-only surface with no consumer compatibility obligation. - Add `layers.theme` to XDSVitePluginOptions + legacy options interface - Thread `themeLayer` through both layer-order injections - Add vite.test.ts: 5 tests covering default + opt-in for both APIs No behavior change at the default; build compiles; tests pass. * feat(cli): add drop-xds-prefix-imports codemod (P2) (#2879) Authors the first XDS-prefix migration codemod (P2380608025). Rewrites consumer code from the prefixed names to the bare compatibility aliases shipped in P1: XDSButton -> Button XDSButtonProps -> ButtonProps useXDSTheme -> useTheme Safety is the central design goal: the codemod ONLY renames identifiers bound to an `@xds/core` import (bare or subpath). It tracks the local binding each import introduces and renames that binding plus its references (imports, JSX, type positions, re-exports). It deliberately does NOT touch: - a consumers own unrelated `XDSWhatever` symbol - `XDSButton` imported from some other library - strings that merely start with "XDS" - import source paths (`@xds/core/Button` stays — subpath dirs are unchanged by the prefix migration) Aliased imports (`XDSButton as Btn`) keep their custom local alias and only rewrite the imported name. Registered in the v0.0.15 manifest as `optional: true` (mirrors the existing optional `migrate-theme-selectors-to-data-attrs`). Being optional, it does NOT run on a routine `xds upgrade`; consumers invoke it explicitly during their migration: xds upgrade --codemod drop-xds-prefix-imports --codemod-only --apply Test plan: 10 tests covering named/subpath/type/hook imports, JSX usage, aliased imports, re-exports, no-op files, and the three safety cases above. Verified the codemod is discoverable via the registry (optional) and the full v0.0.15 + json-contract + upgrade suites pass (58 tests). * feat(cli): make component discovery prefix-agnostic (P3) (#2867) Component discovery scans for `XDS{Name}.tsx` source files. The XDS-prefix migration (P2380608025, P4) renames these to the bare `{Name}.tsx` form, so discovery must recognize both naming schemes — otherwise P4 renames would silently drop components from `xds component`, `xds search`, agent-docs, and docsite data generation. Approach: recognize both `XDS{Name}.tsx` and bare `{Name}.tsx`. The `XDS` prefix has historically doubled as a "this is a top-level component" marker, so naively matching all PascalCase `.tsx` files would surface internal helpers (`OverlayScrim.tsx`, `PowerSearchEditPopover.tsx`, ...). To prevent that regression, a BARE-named file is only treated as a component when a sibling doc (`{Name}.doc.mjs` or `XDS{Name}.doc.mjs`) exists. Prefixed files keep their exact current behavior. - component-discovery.mjs: add isComponentSourceFile()/componentNameFromFile() helpers; findComponentSource() resolves both prefixed and bare files - docs.mjs: hasXDSFile() matches both forms - swizzle is already prefix-tolerant (strips XDS from input, copies by dir scan) — no change needed Verified against the real core tree: 165 components discovered identically whether source files are prefixed or renamed to bare (zero added/removed), including sub-components. 49 discovery tests pass (5 new covering bare-name discovery, mixed prefixed/bare, helper-without-doc exclusion, and dual-form source resolution). * feat(ci): make checks & CI prefix-agnostic for component files (P3b) (#2878) Several CI/check surfaces locate component source files by the `XDS*.tsx` filename convention. The XDS-prefix migration (P2380608025, P4) renames these to the bare `{Name}.tsx` form, so these surfaces must recognize both or they will silently stop working on renamed components. - check-sync.js: the SYNC-comment night watch (runs in check:repo on every commit) matched `XDS*.tsx` to find component dirs/files. Now matches both prefixed and bare, with the same doc-gate as discovery so internal PascalCase helpers (OverlayScrim.tsx, PowerSearchEditPopover.tsx) are not misclassified. Verified byte-identical output on the real tree, before and after a simulated rename. - analyze-pr.js: getPropsCount() found the main component file via the XDS prefix. Now prefers the directory-named file (XDS{Name}.tsx or {Name}.tsx) and falls back to any component file, excluding tests/Context. Verified it resolves Button -> Button.tsx post-rename and still picks XDSOverlay.tsx (not OverlayScrim.tsx). - hardening-issue.yml: the new-component detection regex now accepts an optional XDS prefix (`(?:XDS)?\1\.tsx`). Deliberately left unchanged (correct through the compat window per P0): - canary publish filter `startsWith("@xds/")` — package scope stays @xds/* - generate-pr-comment.js `@xds/core` bundle row — same - accessibility-audit.js already strips XDS optionally (/^XDS/i) — tolerant - check-package-boundaries.js XDSCommon* — a separate package-boundary convention, not the component prefix - analyze-pr.js export-name filters (startsWith("XDS") on exported symbols) — P4 keeps XDS* symbol names; bare aliases coexist so no component is missed * feat(build): expose configurable StyleX library prefix (P3c) (#2881) The XDS babel wrapper (babel.js) already accepted a `libraryPrefix` option (default `xds`) controlling the StyleX atomic class-name prefix for library files, distinct from the product prefix so atoms never collide across layers. But the modern `xdsStylex()` Vite entry never threaded it, so it was stuck at `xds`. Add a `stylexPrefix` option to xdsStylex() (both modern and legacy APIs), default `xds`, threaded into the babel wrapper as `libraryPrefix`. This lets a consumer rebrand the library atom prefix to `astryx` before the final cutover (XDS-prefix migration P2380608025), completing the configurable-build trio (layers.library, layers.theme, stylexPrefix). Internal-only surface (@xds/build is private); default unchanged so existing consumers are unaffected. Test plan: new babel.test.mjs runs the wrapper through @babel/core on a real StyleX source and asserts library atoms are `xds`-prefixed by default and `astryx`-prefixed when configured. vite.test.ts (5) + babel.test.mjs (2) pass; @xds/build builds cleanly. * chore(build): drop configurable theme-layer opt-in (keep xds-theme until cutover) (#2888) Reverts the build-side `layers.theme` option (#2866). Decision (EJ): consumers should NOT opt into the rebranded astryx-theme layer before the final cutover. The opt-in only lets a consumer rename their cascade layer early, but the layer name is functionally invisible to them -- it only affects their `@layer` order line. Opting in early would mean editing that config twice (now + again at cutover) plus runtime setThemeLayerName() setup, all of which gets torn down at P10 when they move to @astryx/core (which uses astryx layers natively). Throwaway config for zero functional gain. Half the feature was also a footgun: build `layers.theme: astryx-theme` without the matching runtime layer name (the never-merged #2880) would desync the declared layer order from the runtime-injected layer (cascade split-brain). - vite.ts: remove `layers.theme` from both option interfaces; revert the layer-order injection to the hardcoded `xds-theme` in both API paths. - vite.test.ts: drop the theme-opt-in tests; keep coverage of the default xds-theme order and the still-configurable library/product layer names. - Preserves `stylexPrefix` (#2881), which also touched vite.ts. The runtime counterpart (#2880) is being closed unmerged; the var inverted-fallback (#2882, automatic, no consumer action) is unaffected. The xds->astryx layer rename still happens, once, at the P10 cutover. * feat(core): rebrand component padding vars with inverted-fallback compat (P3c) (#2882) Final P3c piece — the --xds-* CSS custom-property migration for component padding tokens (card/section/dialog). Per the P0 decision, the theme pipeline now EMITS the rebranded --astryx-* defaults, while components READ them via an inverted fallback so a legacy --xds-* override set by existing consumer code still wins during the compat window (P2380608025). Read chain (per specificity level, in container.stylex.ts): var(--xds-<v>, var(--astryx-<v>, <next level>)) ... terminating at --spacing-4 so e.g. card inline-start compiles to: var(--xds-card-padding-inline-start, var(--astryx-card-padding-inline-start, var(--xds-card-padding-inline, var(--astryx-card-padding-inline, var(--xds-card-padding, var(--astryx-card-padding, var(--spacing-4))))))) StyleX constraint: stylex.create() rejects function calls in value resolution (verified empirically — even a module-level const built by a function fails). The chains are therefore precomputed as chained module-level const STRINGS (pure concatenation, no functions) and interpolated — which StyleX statically analyzes correctly. Verified the built xds.css contains all 24 inverted chains. - container.stylex.ts: read side — card/section/dialog chains rebuilt as chained consts with the inverted --xds-then-astryx fallback; doc headers updated. - generateThemeRules.ts: write side — emit --astryx-<component>-padding via the cssVar() helper from naming.ts (was hardcoded --xds-). - build-theme.mjs: the fallback expandContainerPadding emits --astryx- too (kept in sync with the core primary path; SYNC note added). - defineTheme.test.ts / generateThemeRules.test.ts: update padding-var emit assertions to --astryx-* (CSS classes / data-attrs / layer names unchanged). Test plan: core builds (StyleX) cleanly with the inverted chain in xds.css; 271 theme/Layout/Card/Section tests pass; tsc clean. Completes P3c. * feat(vibe-tests): add project-astryx target for unprefixed name validation (#2892) Add an `astryx` target to the vibe-test harness that validates agents perform equally well with the bare (unprefixed) component names as they do with the current `XDS*` names. Same library, same underlying code, same prompts — only the naming presentation to the agent differs. project-astryx is the long-term replacement; project-xds will be deleted before the integration branch merges to main. - environments/project-astryx/: README + package.json presenting bare names (Button, Card, useTheme) with the note that the package is still @xds/core during the migration. - interactive.ts: register `astryx` as a target (type union, personaFraming, docs-install dispatch); add installAstryxDocs() which generates the same AGENTS.md via `xds init` then post-processes to strip XDS prefixes from component names (XDSButton -> Button, useXDSTheme -> useTheme, XDS -> Astryx branding). Usage: pnpm -F @xds/vibe-tests interactive --target astryx --sample 5 # then compare against: pnpm -F @xds/vibe-tests interactive --target xds --prompts <same-ids> pnpm -F @xds/vibe-tests compare:md * fix(vibe-tests): rebrand --xds-* vars to --astryx-* in astryx agent docs (#2894) Docs should recommend the new --astryx-* custom property names, not the legacy --xds-* ones. The library still handles --xds-* at runtime via the inverted fallback, but forward-facing docs should point at the canonical names. * feat(cli): bare names in CLI output + 613 templates (P5a + P5b) (#2898) * feat(cli): output bare component names in CLI and agent-docs (P5a) The CLI component output, component list, and agent-docs (AGENTS.md) now display bare names (Button, Card, AppShell) instead of prefixed names (XDSButton, XDSCard, XDSAppShell). The bare aliases exist (P1 merged), so these imports resolve correctly. This was the gap the vibe-test revealed: agents follow the detailed per-component CLI output over the summary AGENTS.md doc. With bare names in the CLI output, agents will generate bare-name code. - docs.mjs: formatBrief() no longer prepends XDS${} to display names; relatedComponents shown as bare names; error-display uses bare. - component-format.mjs: formatCompact/formatBrief use componentName directly (already bare from .doc.mjs); Full-format import line uses docs.name (bare) instead of XDS${docs.name}. - agent-docs.mjs: prose references use bare names (AppShell not XDSAppShell, SideNav not XDSSideNav); header says "Astryx" not "XDS"; var guidance says --astryx-color-* not --xds-color-*. Remaining XDS references in output come from .doc.mjs content files (template descriptions, best-practice prose) — that is P5d scope. * feat(cli): update 549 CLI templates to use bare component names (P5b) Run the P2 drop-xds-prefix-imports codemod across the entire CLI templates directory, then sweep remaining XDS-prefixed identifiers in type refs, JSX, doc.mjs metadata, and @xds/lab imports. All 613+ template files now use bare names (Button, Card, AppShell) in imports and usage. P1 bare aliases resolve these imports, so templates work unchanged on the integration branch. This ensures that `xds template <name>` scaffolds code with the unprefixed pattern that agents and developers should adopt. Applied mechanically via: npx jscodeshift --parser tsx -t .../drop-xds-prefix-imports.mjs templates/ + sed sweep for edge cases (type refs, .doc.mjs metadata, @xds/lab) * feat: bare names in GitHub surfaces + docsite generators (P5c + P5e) - Issue templates: <Button> not <XDSButton>, Foo not XDSFoo - Landing page: "Astryx Design System" not "XDS Design System" - generate-data.mjs: moduleName uses bare name directly (no XDS prefix) - generate-scope.mjs: playground scope uses bare Theme/DefinedTheme * feat: bare names in Storybook, examples, sandbox, docsite (P5d) Mechanical bulk-rename across 320 app files: Storybook stories, example apps, sandbox, and docsite source — all now use bare component names (Button, Card, Theme) in imports and usage. Applied via sed sweep on .tsx/.ts/.mjs/.md files under apps/ (same transform as P5b templates: XDS[A-Z] -> stripped, useXDS -> use). * chore: sync origin/main into xds-unprefix-integration (#2916) * fix(docsite): use heart-handshake icon for Community nav button (#2853) Swap the top nav Community button icon from HandHeart to HeartHandshake for a clearer community/partnership affordance. Co-authored-by: Cursor <[email protected]> * fix(cli): show primary component in import hint, not sub-component (#2860) Vibe test nightly showed agents using wrong prop APIs on XDSText and XDSCodeBlock because the CLI import hint showed the first sub-component (XDSHeading, XDSCode) instead of the primary export (XDSText, XDSCodeBlock). The import line is the first thing agents see in CLI output. When it showed `import {XDSHeading} from '@xds/core/Text'`, agents conflated XDSText with XDSHeading and hallucinated a `variant` prop that doesn't exist. Fix: always use `XDS${docs.name}` for the import hint display name instead of `docs.components[0].name` (which is a sub-component). Co-authored-by: Cindy Zhang <[email protected]> * docs: replace em/en dashes with standard punctuation in doc prose (#2857) Replace em dashes with colons, semicolons, or commas as contextually appropriate across 50 component and hook doc files. Numeric ranges (2-4, 10-12, h1-6) and name/displayName convention fields left as-is. Found during Night Watch doc review. * docs(AppShell): move bare > onto same line as last prop in @example (#2834) The closing > of <XDSAppShell on its own line can become a markdown blockquote if the code fence breaks in Storybook autodocs. Move it to the same line as the last prop. Found during Night Watch doc review. * feat(docsite): Playground properties popover (#2873) * Props popover * Styling fixes * Clean up * Theme fix * docs(slop): source-code AI-slop cleanup, pass 2 of 2 (14 files) (#2869) * docs(slop): Layout.stories.tsx - em-dash+buzzword (9) * docs(slop): Link.stories.tsx - em-dash (3) * docs(slop): SVGIcon.stories.tsx - em-dash (2) * docs(slop): SelectableCard.stories.tsx - em-dash (1) * docs(slop): TableColumnResize.stories.tsx - em-dash (1) * docs(slop): TableFiltering.stories.tsx - em-dash (1) * docs(slop): Toast.stories.tsx - em-dash (5) * docs(slop): XDSMediaTheme.stories.tsx - em-dash (10) * docs(slop): XDSTheme.stories.tsx - em-dash (2) * docs(slop): XIFSpec.stories.tsx - em-dash (4) * docs(slop): build-previews.ts - em-dash (1) * docs(slop): correct-previews.ts - em-dash (1) * docs(slop): universal-eval.ts - em-dash (4) * docs(slop): AppShellMobileHookUsage.tsx - em-dash (1) * docs(slop): full-rubric cleanup pass 2 - complete the hollow-intensifier + ellipsis fixes (5 files) (#2862) * docs(slop): typography.doc.mjs - replace ellipsis char with ASCII (A5) * docs(slop): DateTimeInput.doc.mjs - cut hollow 'easily' (E) * docs(slop): FileInput.doc.mjs - cut hollow 'very' (E) * docs(slop): RadioList.doc.mjs - cut hollow 'truly' (E) * docs(slop): TextInput.doc.mjs - cut hollow 'truly' (E) * fix(core): remove redundant style prop declarations, wire FieldStatus escape hatches (#2835) - FormLayout: remove xstyle/className/style re-declarations from XDSFormLayoutProps (already provided by XDSBaseProps) - Grid: remove xstyle/className/style re-declarations from XDSGridProps - GridSpan: remove xstyle/className/style re-declarations from XDSGridSpanProps - FieldStatus: wire xstyle/className/style and rest props through to DOM element (consumers can now apply escape-hatch styles and data-* attributes) - Update FormLayout snapshot (line numbers shifted by 1) * fix(docsite): decouple Astryx primary/accent and make hero respect dark mode (#2855) Reserve the Astryx brand blue for the logo and drive all interactive UI (buttons, links, focus, Switch, tints) from the primary near-black ink by pointing the accent tokens at it. Set --color-on-accent to light-dark so the primary button label stays readable in both modes (it was white on the light dark-mode accent fill). The warm taupe neutral ramp is dropped in favor of the XDS default grays. Thread the docsite's color mode into the hero reel so each slide renders in its own dark palette when the site is in dark mode (dark-only themes like Gothic stay dark); previously the reel was hardcoded to light. The Astryx wordmark gets an explicit brand-blue override so the logo stays blue even though its accent token is now the primary ink. Co-authored-by: Cursor <[email protected]> * feat(selector): rename option renderer prop (#2821) * Playground code clean up (#2895) * fix(docsite): use chat subcomponent usage summaries (#2893) * fix(cli): add anti-pattern guidance for Text and Icon docs (#2887) Vibe test nightly showed agents consistently using `variant` prop on XDSText (does not exist) and `name` prop on XDSIcon (should be `icon`), even after reading CLI docs. Added explicit 'Don't' guidance to prevent hallucination of familiar prop names from other design systems. Also updated XDSText type prop to include display-1/2/3 values that were missing from the documented union type. Co-authored-by: Cindy Zhang <[email protected]> * docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884) Both overlays (docsZh and docsDense) were missing the renderOption bestPractice entry, causing a 1-bullet count mismatch with the English docs. Adds the missing entry at the correct position with guidance: true. Found during Night Watch doc review. * build(deps): bump lucide-react in the production-dependencies group (#2831) Bumps the production-dependencies group with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `lucide-react` from 1.17.0 to 1.18.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.18.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(docsite): per-theme showcase content + theme polish (Matcha/Butter/Stone/Y2K/Gothic) (#2856) * feat(docsite): use new Neutral theme product photos Point the Neutral theme image set at the new xds_oss CDN product photos (Neutral-Watch/Headphones/Backpack/Wallet/Tumbler/Blanket) instead of the local placeholder PNGs, so the /themes/neutral showcase and inventory table render the updated imagery. Rename the "mug" slot to "tumbler" (and the "Travel Mug" row to "Travel Tumbler") to match the actual product photo. Co-authored-by: Cursor <[email protected]> * feat(docsite): scaffold per-theme product image sets Restructure the theme image registry so every theme can ship its own set of product photos via the shared xds_oss CDN (<TitleTheme>-<Item>.png), built by a cdnSet() helper. Each non-Neutral reel theme (butter, matcha, daily, gothic, y2k, stone, chocolate) is pre-wired but gated behind a per-theme `ready` flag — until its photos are uploaded it falls back to the Neutral set, so the /themes/<name> page never renders broken/404 thumbnails. Flip `ready: true` per theme once its assets land. Co-authored-by: Cursor <[email protected]> * feat(templates): use new Neutral product photos in theme-showcase The /themes page renders the theme-showcase CLI template, which carried its own hardcoded image map pointing at the old local /neutral/preview-*.png files. Point PREVIEW_IMAGES at the new xds_oss CDN photos (Neutral-Watch/Headphones/ Backpack/Wallet/Tumbler/Blanket) so the themes page (and scaffolded copies of this template) render the updated imagery, and rename the mug slot/row to tumbler to match the actual product photo. Co-authored-by: Cursor <[email protected]> * feat(docsite): bespoke Matcha showcase content (drinks) Make the theme-showcase template accept optional images/products/inventory (defaulting to the neutral store, so scaffolded copies are unchanged), and have ThemePackagePage pass per-theme content keyed by slug. Add a Matcha café menu (Iced Matcha Latte, Strawberry Matcha, Ube Matcha, + vanilla/hazelnut/mocha in the inventory) using the matcha-product-*.png photos, so the Matcha theme page shows real matcha drinks instead of the generic gadget store. Themes without an override keep the template's neutral defaults. Co-authored-by: Cursor <[email protected]> * fix(theme-matcha): tone down oversized type scale Matcha ran large: typography.scale was base 18 / ratio 1.414 (√2) AND it re-pinned the whole --font-size-* ramp with hardcoded values (base 1.125rem), so headings/display grew aggressively regardless of the scale. Switch to base 16 / ratio 1.25 and drop the explicit --font-size-* overrides so the scale config is the single source of truth, bringing Matcha in line with the other themes while keeping clear hierarchy. Co-authored-by: Cursor <[email protected]> * feat(templates): accent-text hero headline in theme-showcase Paint the "Little joys" store-preview headline with the theme's accent-text ink (--color-text-accent) instead of the default primary. XDSText has no 'accent' color value, so apply the token via an xstyle override. Co-authored-by: Cursor <[email protected]> * feat(templates): theme-aware theme-showcase store + layout fixes Make the theme-showcase template accept optional images/products/inventory (defaulting to the neutral store, so scaffolded copies are unchanged) so the docsite can render per-theme stores. Point the default images at the xds_oss CDN, rename the mug slot to tumbler, and widen the tag/badge variant type to the full categorical set. Layout fixes: align the inventory table with the card header via the shared --spacing-6 token and lower the proportional column min-widths so the trailing actions column no longer clips on larger-spacing themes; size the actions/select columns and quantity input so controls + hover states fit their cells; match the quantity input height to its button; stack the store hero headline; and drop the revenue sparkline. Co-authored-by: Cursor <[email protected]> * feat(docsite): bespoke showcase content for Matcha, Butter, Stone, Y2K Add per-theme product imagery + names for the /themes showcase so each theme reads as its own store instead of the generic gadget shop: Matcha (café drinks), Butter (bakery), Stone (stoneware homeware), Y2K (holo trinkets). Each maps the theme's xds_oss CDN photos onto the showcase slots; themes without an entry keep the template's neutral defaults. Co-authored-by: Cursor <[email protected]> * fix(themes): typography + border + composer-radius tweaks - Matcha/Gothic: drop the oversized type scale (base 16 / ratio 1.25); Matcha also removes its hardcoded --font-size-* ramp so the scale is the source of truth. - Matcha/Y2K/Butter: soften the emphasized (card) border to a lighter tone; Matcha also lightens the default border. - Butter: stop hardcoding the button border-radius so the chat composer's buttons round fully (via --_button-radius) while standalone buttons keep the 8px --radius-element fallback. Co-authored-by: Cursor <[email protected]> * feat(docsite): Stone + Gothic showcase content; tidy comments Add bespoke /themes showcase content for Stone (stoneware homeware) and Gothic (moody botanicals), and refresh Matcha/Butter/Y2K image sets to their full six-photo sets (couch for Y2K, dedicated Stone-*/Gothic-* assets). Trim redundant/stale comments in the showcase content + image registry. Co-authored-by: Cursor <[email protected]> * chore(docsite): tidy showcase template comments + load Crimson Text Tighten the verbose layout comments in the theme-showcase template, and add Crimson Text to the docsite font <link> so the Y2K display font loads. Co-authored-by: Cursor <[email protected]> * feat(theme-y2k): periwinkle body, Crimson Text display, charcoal borders, flat nav Y2K: periwinkle (#CCCFFA) body, Crimson Text serif for display sizes, bold charcoal borders (default + card), and a flat selected top-nav item. Document the theme's fonts in the README and refresh its stale description. Also tidy comments in the matcha/butter/gothic theme files. Co-authored-by: Cursor <[email protected]> * feat(theme-butter): blue top nav Use Butter's blue accent in the top nav: the Studio heading and the selected item render the full brand blue (the heading redirects --color-text-primary so the inner heading text turns blue too), unselected items use a lighter blue, and the selected item drops its pill background. Dark mode keeps the butter-yellow accent. Co-authored-by: Cursor <[email protected]> * fix(templates): keep theme-showcase route page prop-free The theme-showcase template is rendered as a Next.js route page in the sandbox, so its default export must satisfy PageProps — but it had been given typed ThemeShowcaseProps, failing the sandbox build. Keep the default export prop-free and move the content-accepting renderer to a named `ThemeShowcaseStore` export; the docsite imports that for per-theme content. Co-authored-by: Cursor <[email protected]> * feat(docsite): serve theme picker banners from CDN Re-art-direct the picker banners to match each theme's CDN product photos and balance object placement: butter (correct sky-blue + warmer crochet), y2k (matte mint stars, theme periwinkle, sized + centered), matcha (drinks spaced for the wordmark). Point all six picker card backgrounds at the shared XDS asset CDN (PICKER_CDN) instead of local /public files, and remove the now-unused local picker PNGs. Stone wordmark now uses the theme accent instead of hardcoded white (drop the now-unused labelOnDark style). Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> * fix(docsite): prevent SideNav preview navigation (#2827) * build(deps-dev): bump the dev-dependencies group across 1 directory with 34 updates (#2897) * build(deps-dev): bump the dev-dependencies group across 1 directory with 34 updates Bumps the dev-dependencies group with 34 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/plugins/eslint-plugin) | `5.8.7` | `5.9.0` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.60.0` | `1.61.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.9.1` | `25.9.3` | | [eslint](https://github.com/eslint/eslint) | `10.4.1` | `10.5.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.8.4` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.60.0` | `8.61.1` | | [@stylexjs/babel-plugin](https://github.com/facebook/stylex) | `0.18.3` | `0.19.0` | | [@stylexjs/postcss-plugin](https://github.com/facebook/stylex) | `0.18.3` | `0.19.0` | | [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.3.0` | `4.3.1` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.0` | `4.3.1` | | @stylexjs/unplugin | `0.18.3` | `0.19.0` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.0` | `4.3.1` | | [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs) | `10.4.1` | `10.4.6` | | [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) | `10.4.1` | `10.4.6` | | [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `10.4.1` | `10.4.6` | | [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | `10.4.1` | `10.4.6` | | [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core) | `10.4.1` | `10.4.6` | | [@radix-ui/react-avatar](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/avatar) | `1.1.11` | `1.2.0` | | [@radix-ui/react-checkbox](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/checkbox) | `1.3.3` | `1.3.5` | | [@radix-ui/react-dialog](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dialog) | `1.1.15` | `1.1.17` | | [@radix-ui/react-dropdown-menu](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dropdown-menu) | `2.1.16` | `2.1.18` | | [@radix-ui/react-hover-card](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/hover-card) | `1.1.15` | `1.1.17` | | [@radix-ui/react-label](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/label) | `2.1.8` | `2.1.10` | | [@radix-ui/react-popover](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/popover) | `1.1.15` | `1.1.17` | | [@radix-ui/react-progress](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/progress) | `1.1.8` | `1.1.10` | | [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/scroll-area) | `1.2.10` | `1.2.12` | | [@radix-ui/react-select](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/select) | `2.2.6` | `2.3.1` | | [@radix-ui/react-separator](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/separator) | `1.1.8` | `1.1.10` | | [@radix-ui/react-slider](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/slider) | `1.3.6` | `1.4.1` | | [@radix-ui/react-slot](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/slot) | `1.2.4` | `1.3.0` | | [@radix-ui/react-switch](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/switch) | `1.2.6` | `1.3.1` | | [@radix-ui/react-tabs](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tabs) | `1.1.13` | `1.1.15` | | [@radix-ui/react-tooltip](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tooltip) | `1.2.8` | `1.2.10` | | [tsx](https://github.com/privatenumber/tsx) | `4.22.3` | `4.22.4` | Updates `@eslint-react/eslint-plugin` from 5.8.7 to 5.9.0 - [Release notes](https://github.com/Rel1cx/eslint-react/releases) - [Changelog](https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md) - [Commits](https://github.com/Rel1cx/eslint-react/commits/v5.9.0/plugins/eslint-plugin) Updates `@playwright/test` from 1.60.0 to 1.61.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.60.0...v1.61.0) Updates `@types/node` from 25.9.1 to 25.9.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint` from 10.4.1 to 10.5.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.4.1...v10.5.0) Updates `prettier` from 3.8.3 to 3.8.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.8.4) Updates `typescript-eslint` from 8.60.0 to 8.61.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.61.1/packages/typescript-eslint) Updates `@stylexjs/babel-plugin` from 0.18.3 to 0.19.0 - [Release notes](https://github.com/facebook/stylex/releases) - [Changelog](https://github.com/facebook/stylex/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/stylex/commits/0.19.0) Updates `@stylexjs/postcss-plugin` from 0.18.3 to 0.19.0 - [Release notes](https://github.com/facebook/stylex/releases) - [Changelog](https://github.com/facebook/stylex/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/stylex/commits/0.19.0) Updates `@tailwindcss/postcss` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-postcss) Updates `tailwindcss` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/tailwindcss) Updates `@stylexjs/unplugin` from 0.18.3 to 0.19.0 Updates `@tailwindcss/vite` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-vite) Updates `@storybook/addon-docs` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/docs) Updates `@storybook/addon-links` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/links) Updates `@storybook/react` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/renderers/react) Updates `@storybook/react-vite` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/frameworks/react-vite) Updates `storybook` from 10.4.1 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/core) Updates `@radix-ui/react-avatar` from 1.1.11 to 1.2.0 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/avatar/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/avatar) Updates `@radix-ui/react-checkbox` from 1.3.3 to 1.3.5 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/checkbox/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/checkbox) Updates `@radix-ui/react-dialog` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dialog/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dialog) Updates `@radix-ui/react-dropdown-menu` from 2.1.16 to 2.1.18 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dropdown-menu/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dropdown-menu) Updates `@radix-ui/react-hover-card` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/hover-card/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/hover-card) Updates `@radix-ui/react-label` from 2.1.8 to 2.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/label/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/label) Updates `@radix-ui/react-popover` from 1.1.15 to 1.1.17 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/popover/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/popover) Updates `@radix-ui/react-progress` from 1.1.8 to 1.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/progress/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/progress) Updates `@radix-ui/react-scroll-area` from 1.2.10 to 1.2.12 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/scroll-area/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/scroll-area) Updates `@radix-ui/react-select` from 2.2.6 to 2.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/select/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/select) Updates `@radix-ui/react-separator` from 1.1.8 to 1.1.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/separator/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/separator) Updates `@radix-ui/react-slider` from 1.3.6 to 1.4.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slider/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slider) Updates `@radix-ui/react-slot` from 1.2.4 to 1.3.0 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slot/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slot) Updates `@radix-ui/react-switch` from 1.2.6 to 1.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/switch/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/switch) Updates `@radix-ui/react-tabs` from 1.1.13 to 1.1.15 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tabs/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tabs) Updates `@radix-ui/react-tooltip` from 1.2.8 to 1.2.10 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tooltip/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tooltip) Updates `tsx` from 4.22.3 to 4.22.4 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.22.3...v4.22.4) --- updated-dependencies: - dependency-name: "@eslint-react/eslint-plugin" dependency-version: 5.9.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@playwright/test" dependency-version: 1.61.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@types/node" dependency-version: 25.9.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 10.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: prettier dependency-version: 3.8.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.61.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@stylexjs/babel-plugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@stylexjs/postcss-plugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@tailwindcss/postcss" dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: tailwindcss dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@stylexjs/unplugin" dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@tailwindcss/vite" dependency-version: 4.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/addon-docs" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/addon-links" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/react" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@storybook/react-vite" dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: storybook dependency-version: 10.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-avatar" dependency-version: 1.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-checkbox" dependency-version: 1.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-dialog" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-dropdown-menu" dependency-version: 2.1.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-hover-card" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-label" dependency-version: 2.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-popover" dependency-version: 1.1.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-progress" dependency-version: 1.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-scroll-area" dependency-version: 1.2.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-select" dependency-version: 2.3.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-separator" dependency-version: 1.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-slider" dependency-version: 1.4.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-slot" dependency-version: 1.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-switch" dependency-version: 1.3.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-tabs" dependency-version: 1.1.15 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@radix-ui/react-tooltip" dependency-version: 1.2.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: tsx dependency-version: 4.22.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * fix(lint): address updated eslint rules --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cixzhang <[email protected]> * fix(Icon,InputGroup): forward rest props in string mode and InputGroupText (#2885) XDSIcon string mode (registry icons) silently dropped props like data-testid, className, and event handlers that were accepted by the interface. Forward them to the wrapper span. XDSInputGroupText extended XDSBaseProps but only destructured ref, children, xstyle, className, style. Rest props (data-*, aria-*, id, event handlers) were silently dropped. Add ...rest forwarding. * fix(vibe-tests): add event handler guidance and import paths to READMEs (#2841) * fix(vibe-tests): add event handler guidance and import paths to READMEs Vibe test nightly showed agents consistently using onPress (React Native pattern) instead of onClick, and importing ToggleButton/Theme from wrong paths. Updated both XDS and XDS+TW project READMEs to: - Clarify that XDS uses React DOM event handlers (onClick, not onPress) - Show correct import paths for ToggleButton and Theme components - Add explicit warning against React Native patterns These are setup fairness improvements — baseline agents can read component source to discover event patterns, but XDS agents must rely on CLI docs or project README. * docs(vibe-tests): broaden event handler guidance --------- Co-authored-by: Cindy Zhang <[email protected]> * fix(docsite): resolve DateInput status preview props (#2829) * fix(typeahead): guard selected state for missing ids (#2828) * fix(deps): resolve esbuild vulnerability via pnpm override (#2837) * fix(docsite): make prop/element resolution prefix-agnostic post-sync The docsite test suite surfaced three pre-existing failures (latent on the integration branch, now exercised after the main sync) where bare-name reality collided with prefix-assuming logic: - resolveElements.getComponent: tried the XDS-prefixed export key FIRST, which throws under a strict vitest module mock that only defines bare names. Now resolves bare-first (canonical post-migration) with the prefixed name as a guarded fallback. Fixes 3 component-detail-resolve-elements failures. - parsePropType.isInputStatusType: regex only matched XDSInputStatus/ XDSFieldStatus; now matches the bare forms too (prefix-agnostic, per P3). Fixes the component-prop-controls InputStatus failure. - data-extraction test: the component registry keys hooks by canonical name (useXDSTheme) while the example registry keys by bare name (useTheme); the hook-example lookup now tolerates either form. Also fixed the assertion to match its own startsWith('useXDS') filter. Full docsite suite (133 tests) and the CLI codemod/component suites (107 tests, incl. both v0.0.15 codemods) now pass. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: rubyycheung <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: Joey <[email protected]> Co-authored-by: Kenton Quatman <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(docs): migrate component doc prose to bare (unprefixed) names [P5d] (#2920) * chore(docs): migrate component doc prose to bare (unprefixed) names P5d completion. Migrates all component .doc.mjs prose, sub-component refs, playground/slot element descriptors, and inline examples from XDS-prefixed to bare names (XDSText -> Text, useXDSTheme -> useTheme, {name: 'XDSHeading'} -> {name: 'Heading'}, __element: 'XDSSideNavItem' -> 'SideNavItem'). Docs now present the recommended (bare) API everywhere. Existing prefixed CODE keeps working via the P1 compat aliases (XDSText as Text, etc.) — this only changes documentation content, not the export surface. Deliberately PRESERVED (still accurate pre-P4/P10): - lowercase CSS class tokens in theming tables (xds-heading, xds-button) — components still render xds-* classes; astryx-* dual-emit is not wired yet. - data-xds-* attribute references — same reason. - @xds/* package import paths. The transform (\buseXDS([A-Z]) -> use\1, \bXDS([A-Z]) -> \1) only matches XDS followed by an uppercase letter, so the lowercase namespace surfaces are naturally excluded. 173 doc.mjs files, 1217 lines. * chore(docs): rename useXDS* hook-example block files to bare names The two hook-usage example blocks were still named useXDSThemeHookUsage.* and useXDSStreamingTextHookUsage.*, so they surfaced as XDS-prefixed entries in the CLI 'related blocks' listing (xds component Text/useTheme). Their content was already migrated to bare in the prior commit; this renames the files to match (useThemeHookUsage.*, useStreamingTextHookUsage.*). These are example/showcase blocks (not core component source), so renaming is P5-scope. After this, no XDS-named files remain under packages/cli/templates and 'xds component <X>' output is fully bare. * test(docsite): identify public hooks by example presence, not name prefix After migrating hook doc `name` fields to bare (prev commit), the data-extraction hook test could no longer use a `useXDS` name-prefix to distinguish public hooks (which ship example blocks: useTheme, useToast, useTableSortable, …) from internal utility hooks (useFocusTrap, useScrollLock, … — never XDS-prefixed, no examples). Filter the public set by 'has an example-registry entry', which is exactly what the test asserts about. 132/132 docsite tests pass. * test(docsite): fix hook-test assertion after merge The merge of #2916 auto-combined the two versions of the hook-pages test into an inconsistent block: my bare filter (/^use[A-Z]/ + example-presence) plus #2916's stale assertion toContain('useXDSTheme') and a redundant bare-name dual-lookup. Post-migration all hook names are bare, so the assertion now checks 'useTheme' and the loop uses the direct (bare) example lookup the filter already guarantees. * fix(cli): make template --skeleton extractors prefix-agnostic (#2917) The un-prefix migration (P2380608025, P5b) rewrote the 600+ CLI page/block templates to use bare component names (<Section> instead of <XDSSection>). But extractComponents() and extractSkeleton() in template.mjs still matched only the XDS-prefixed form: extractComponents: src.match(/XDS[A-Z]\w+/g) extractSkeleton: t.match(/^<(XDS\w+)/) and /^<\/(XDS\w+)>/ So on the integration branch (bare templates), `xds template <name> --skeleton` returned an empty '# Components:' list and an empty skeleton body — exactly what the vibe-test agents hit on contact-form. Fix: match JSX opening/closing tags with an OPTIONAL XDS prefix. Anchoring on the `<` tag boundary keeps extractComponents precise (it previously grepped every `XDS...` substring anywhere in the file; the tag anchor is stricter and prefix-agnostic). All existing filters (UBIQUITOUS, suffix-stripping, dedup) are unchanged. Adds a regression test exercising the public template() API with {skeleton:true} against the bare-named contact-form template. Note: a pre-existing cosmetic issue (Grid `columns={{minWidth:240}}` renders as `columns="{minWidth:"` in the skeleton) is unrelated to the prefix and out of scope here — it stems from the propRegex and would affect prefixed templates identically. * fix(vibe-tests): map astryx target to xds tsconfig for type checking (#2911) * fix(core): add bare DateRange/DateRangePreset aliases to DateRangeInput barrel The P1 compat-alias generator skipped these because `DateRange` already exists bare in Calendar/index.ts and utils/index.ts (the global collision pre-pass prevents duplicate exports at the root barrel). But consumers importing from `@xds/core/DateRangeInput` expect to find `DateRange` there (it is the primary type for the range value). Since XDSDateRange is just a re-export of Calendar DateRange (same symbol), adding the bare alias here is safe and expected. Surfaced by the vibe-test: agents importing DateRangeInput had to reach into Calendar for the type. This is a manually-added entry in the compat-aliases block (the generator correctly skips it to avoid root-barrel ambiguity, but at the subpath level it is needed for ergonomics). * fix(vibe-tests): map astryx target to xds tsconfig for type checking The tsc runner falls through to tsconfig.html.json (no @xds/core paths) for unknown targets. Add astryx to the xds/xds-tailwind case so astryx results typecheck against the same core type definitions. * chore: sync origin/main into xds-unprefix-integration (2026-06-19) * fix(docsite): use heart-handshake icon for Community nav button (#2853) Swap the top nav Community button icon from HandHeart to HeartHandshake for a clearer community/partnership affordance. Co-authored-by: Cursor <[email protected]> * fix(cli): show primary component in import hint, not sub-component (#2860) Vibe test nightly showed agents using wrong prop APIs on XDSText and XDSCodeBlock because the CLI import hint showed the first sub-component (XDSHeading, XDSCode) instead of the primary export (XDSText, XDSCodeBlock). The import line is the first thing agents see in CLI output. When it showed `import {XDSHeading} from '@xds/core/Text'`, agents conflated XDSText with XDSHeading and hallucinated a `variant` prop that doesn't exist. Fix: always use `XDS${docs.name}` for the import hint display name instead of `docs.components[0].name` (which is a sub-component). Co-authored-by: Cindy Zhang <[email protected]> * docs: replace em/en dashes with standard punctuation in doc prose (#2857) Replace em dashes with colons, semicolons, or commas as contextually appropriate across 50 component and hook doc files. Numeric ranges (2-4, 10-12, h1-6) and name/displayName convention fields left as-is. Found during Night Watch doc review. * docs(AppShell): move bare > onto same line as last prop in @example (#2834) The closing > of <XDSAppShell on its own line can become a markdown blockquote if the code fence breaks in Storybook autodocs. Move it to the same line as the last prop. Found during Night Watch doc review. * feat(docsite): Playground properties popover (#2873) * Props popover * Styling fixes * Clean up * Theme fix * docs(slop): source-code AI-slop cleanup, pass 2 of 2 (14 files) (#2869) * docs(slop): Layout.stories.tsx - em-dash+buzzword (9) * docs(slop): Link.stories.tsx - em-dash (3) * docs(slop): SVGIcon.stories.tsx - em-dash (2) * docs(slop): SelectableCard.stories.tsx - em-dash (1) * docs(slop): TableColumnResize.stories.tsx - em-dash (1) * docs(slop): TableFiltering.stories.tsx - em-dash (1) * docs(slop): Toast.stories.tsx - em-dash (5) * docs(slop): XDSMediaTheme.stories.tsx - em-dash (10) * docs(slop): XDSTheme.stories.tsx - em-dash (2) * docs(slop): XIFSpec.stories.tsx - em-dash (4) * docs(slop): build-previews.ts - em-dash (1) * docs(slop): correct-previews.ts - em-dash (1) * docs(slop): universal-eval.ts - em-dash (4) * docs(slop): AppShellMobileHookUsage.tsx - em-dash (1) * docs(slop): full-rubric cleanup pass 2 - complete the hollow-intensifier + ellipsis fixes (5 files) (#2862) * docs(slop): typography.doc.mjs - replace ellipsis char with ASCII (A5) * docs(slop): DateTimeInput.doc.mjs - cut hollow 'easily' (E) * docs(slop): FileInput.doc.mjs - cut hollow 'very' (E) * docs(slop): RadioList.doc.mjs - cut hollow 'truly' (E) * docs(slop): TextInput.doc.mjs - cut hollow 'truly' (E) * fix(core): remove redundant style prop declarations, wire FieldStatus escape hatches (#2835) - FormLayout: remove xstyle/className/style re-declarations from XDSFormLayoutProps (already provided by XDSBaseProps) - Grid: remove xstyle/className/style re-declarations from XDSGridProps - GridSpan: remove xstyle/className/style re-declarations from XDSGridSpanProps - FieldStatus: wire xstyle/className/style and rest props through to DOM element (consumers can now apply escape-hatch styles and data-* attributes) - Update FormLayout snapshot (line numbers shifted by 1) * fix(docsite): decouple Astryx primary/accent and make hero respect dark mode (#2855) Reserve the Astryx brand blue for the logo and drive all interactive UI (buttons, links, focus, Switch, tints) from the primary near-black ink by pointing the accent tokens at it. Set --color-on-accent to light-dark so the primary button label stays readable in both modes (it was white on the light dark-mode accent fill). The warm taupe neutral ramp is dropped in favor of the XDS default grays. Thread the docsite's color mode into the hero reel so each slide renders in its own dark palette when the site is in dark mode (dark-only themes like Gothic stay dark); previously the reel was hardcoded to light. The Astryx wordmark gets an explicit brand-blue override so the logo stays blue even though its accent token is now the primary ink. Co-authored-by: Cursor <[email protected]> * feat(selector): rename option renderer prop (#2821) * Playground code clean up (#2895) * fix(docsite): use chat subcomponent usage summaries (#2893) * fix(cli): add anti-pattern guidance for Text and Icon docs (#2887) Vibe test nightly showed agents consistently using `variant` prop on XDSText (does not exist) and `name` prop on XDSIcon (should be `icon`), even after reading CLI docs. Added explicit 'Don't' guidance to prevent hallucination of familiar prop names from other design systems. Also updated XDSText type prop to include display-1/2/3 values that were missing from the documented union type. Co-authored-by: Cindy Zhang <[email protected]> * docs(dense): fix bestPractices count parity for Selector and MultiSelector (#2884) Both overlays (docsZh and docsDense) were missing the renderOption bestPractice entry, causing a 1-bullet count mismatch with the English docs. Adds the missing entry at the correct position with guidance: true. Found during Night Watch doc review. * build(deps): bump lucide-react in the production-dependencies group (#2831) Bumps the production-dependencies group with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `lucide-react` from 1.17.0 to 1.18.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.18.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@githu…
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
P3b (checks, CI & GitHub surfaces) for the XDS → Astryx prefix migration (paste P2380608025). Makes the CI/check surfaces that locate component source files recognize both the current
XDS{Name}.tsxconvention and the post-migration bare{Name}.tsxform, so P4's renames don't silently break them.Changes
check-sync.js— the SYNC-comment night watch runs incheck:repoon every commit, and matchedXDS*.tsxto find component dirs/files. Now matches both prefixed and bare, using the same doc-gate as discovery (P3) so internal PascalCase helpers (OverlayScrim.tsx,PowerSearchEditPopover.tsx) aren't misclassified. Verified byte-identical output on the real tree before/after my change, and after a simulatedXDSButton.tsx → Button.tsxrename.analyze-pr.js—getPropsCount()found the main component file via theXDSprefix. Now prefers the directory-named file (XDS{Name}.tsxor{Name}.tsx) and falls back to any component file (excluding tests/Context). Verified it resolvesButton → Button.tsxpost-rename and still picksXDSOverlay.tsx(notOverlayScrim.tsx).hardening-issue.yml— the new-component detection regex now accepts an optional prefix:/^packages\/core\/src\/([A-Z][A-Za-z]+)\/(?:XDS)?\1\.tsx$/.Deliberately left unchanged (correct through the compat window, per P0)
startsWith('@xds/')— package scope stays@xds/*until P10generate-pr-comment.js@xds/corebundle row — sameaccessibility-audit.js— already stripsXDSoptionally (/^XDS/i), so it's prefix-tolerant; no changecheck-package-boundaries.jsXDSCommon*— a separate package-boundary convention, not the component prefixanalyze-pr.jsexport-name filters (startsWith('XDS')on exported symbols) — P4 keepsXDS*symbol names, and P1's bare aliases coexist, so every component is still capturedTest plan
pnpm check:repo(check-sync + package-boundaries + compat-aliases) passes✅ All SYNC comments are clean.)These scripts are git-diff/PR-context driven (no unit-test harness exists), so verification is via real-tree simulation rather than new unit tests.
Note
check-sync.jsandanalyze-pr.jswere already prettier-dirty on the base branch; I left the pre-existing formatting untouched so the diff stays minimal (my added lines follow the existing style).