Skip to content

feat: update shadcn and React Aria bindings - #978

Merged
domgan-oai merged 7 commits into
octanejs:mainfrom
jonkwheeler:feat/shadcn-latest
Sep 8, 2026
Merged

domgan-oai merged 7 commits into
octanejs:mainfrom
jonkwheeler:feat/shadcn-latest

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the Shadcn registry baseline to 4.21.0 and its React Aria binding to the coordinated React Aria Components 1.20.0 / React Aria 3.51.0 / React Stately 3.49.0 release. The existing Radix 1.6.4 binding already satisfies Shadcn's dependency range.

Changes

  • Adopt cn 0.2.6 across all three Shadcn bases; add Base UI Select, Navigation Menu, and Scroll Area wrappers and regenerate the registries.
  • Port the Aria release changes, including TokenField, PreviewTrigger, keyboard shortcuts, context-menu triggers, accessibility fixes, and translations. Verify all 286 runtime and 327 type export names for the components entry point.
  • Preserve global CSS when compiling Float style resources, and hoist Base UI's scrollbar stylesheet. Add client, SSR, hydration, and CSSOM regressions for the integration.
  • Record immutable upstream artifacts, the complete 96-case TokenFieldValue suite for pristine and adapted execution, new differential/browser coverage, and patch changesets. Update release-intake discovery for upstream registrar aliases and package metadata without a repository directory.

Validation

  • pnpm format:check

  • Aria and Shadcn source/public-surface typechecks

  • Aria, Shadcn, and Base UI integration suites: 1,182 passing tests in the combined run; focused Aria/Shadcn hydration reruns pass after moving server compilation to setup. The TokenInput template-children regression reproduced the review finding and passes after the guard.

  • TokenField Chromium native insertion/deletion regression

  • Real [email protected] add installs all three new wrappers and dependencies

  • 64 release-intake/inventory tests; broad parity tooling run passed 929/932, followed by passing focused reruns for updated Aria/Base UI expectations and the transient resizable-panels check (17/17).

  • Aria parity-manifest validation and export audit

  • Shadcn cache-isolation regression and both differential projects (8 cases)

  • pnpm sync

  • pnpm typecheck — full repository run passed

  • pnpm test — broad Node 22 run found a parser stack limit and a compiler type-test timeout. The parser test passes on CI's Node 24; the type test passes with a 30-second local timeout. The broad run later stopped when the local disk filled, so no full local-suite pass is claimed. The full Node 24 CI test run passed.

  • CI on 1f37b2a9b: all 28 reported checks passed; the optional Codesmith check was skipped. Automated review passed and both actionable review threads remain resolved.

  • After merging main at 890527f68: 932 integration tests and 241 parity tests passed (8 existing skips); Aria and Shadcn typechecks, scoped formatting, and pnpm sync passed. The worktree is clean.

Risk / follow-ups

The Aria upgrade changes keyboard and focus composition across several controls. Existing integration tests and representative React differentials pass, but the full React Spectrum upstream suite is not claimed: the curated root/stately surfaces retain 296 pre-existing export gaps and recorded-unverified provenance. The new complete upstream execution covers the TokenFieldValue file only.

Provenance

  • An agent produced this diff (agent-authored)

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Medium Risk
Wide surface-area upgrades (shadcn class merge, new Base UI wrappers, React Aria keyboard/focus composition) touch UI primitives consumers rely on; mitigated by large test runs but full React Spectrum parity is still not claimed.

Overview
Bumps the shadcn registry pin to 4.21.0 and moves class merging to cn 0.2.6 across Radix, React Aria, and Base UI shadcn bases. Adds Base UI wrappers for Select, Navigation Menu, and Scroll Area (Nova styles, Lucide icons) and documents 43 Base UI families with SSR/hydration coverage for the new components.

@octanejs/aria tracks the coordinated React Aria Components 1.20.0 / React Aria 3.51.0 / React Stately 3.49.0 release: export crosswalk grows to 286 runtime and 327 type names, including TokenField and PreviewTrigger, keyboard shortcuts, and context-menu triggers. Parity evidence expands with 96-case pristine and adapted TokenFieldValue suites, 1.20 differential tests, and updated upstream ledgers; immutable React Stately sources land under packages/aria/upstream/.

Tooling and docs follow the pins: Prettier ignores vendored shadcn/aria upstream trees, bindings-status / UPSTREAM / audit lockfile hashes refresh, and a patch changeset covers octane fixes for hoisted Base UI scrollbar CSS and preserving global rules in compiled Float style resources so scoped-style pruning does not drop selectors.

Reviewed by Cursor Bugbot for commit 1f37b2a. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability labels Sep 7, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@jonkwheeler
jonkwheeler marked this pull request as ready for review September 7, 2026 01:51

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit a1591fe. Configure here.

Comment thread vitest.config.js Resolved
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@cursor
cursor Bot force-pushed the feat/shadcn-latest branch from 5df90e2 to dd39820 Compare September 7, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability READY FOR REVIEW

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants