feat: add Base UI variant#450
Open
Debbl wants to merge 9 commits into
Open
Conversation
- remove dead toast component (toast/toaster/use-toast) dropped from the radix-vega registry, and drop its now-unused @radix-ui/react-icons dep - add aria-checked to ModelSelectorItem alongside data-checked - document the ModelSelectorItem `checked` prop and cover it with a test - regenerate skills mirrors for the updated model-selector/prompt-input examples - bump ultracite to 7.4.4 so `ultracite check` parses under current oxlint (7.1.4's config referenced the removed import/no-unresolved rule), and drop the stale recharts/react-resizable-panels exclusion from bump-deps
Repo-wide reformat via `pnpm fix` now that ultracite 7.4.4 makes the toolchain run. Purely formatting (import ordering, line wrapping); no behavioural changes. `pnpm check` is green.
- add new components: attachment, bubble, marker, message, message-scroller (message-scroller pulls in @shadcn/react) - bump react-day-picker 9.14 -> 10 and adopt its month_grid classNames API - refresh button/card/carousel/sidebar/spinner/toggle-group from the registry
# Conflicts: # apps/docs/components/custom/preview.tsx # packages/shadcn-ui/components/ui/button.tsx # packages/shadcn-ui/components/ui/card.tsx # packages/shadcn-ui/components/ui/spinner.tsx # packages/shadcn-ui/components/ui/toggle-group.tsx # packages/shadcn-ui/package.json # pnpm-lock.yaml
Sync packages/base-ui from the shadcn base-vega registry (58 components
refreshed, add attachment/bubble/marker/message/message-scroller,
react-day-picker 9.14 -> 10, add @shadcn/react), and fix migration gaps:
- elements-base/model-selector: restore showCloseButton={false} and the
checked/aria-checked/data-checked support that the radix variant has
- align @base-ui/react to ^1.6.0 across base-ui and shadcn-ui (drop the
non-deterministic "latest"; dedupes to a single resolved version)
- bump-ui: also sync packages/base-ui (base-vega), not just shadcn-ui
- examples-base/tsconfig: repoint @/ aliases to base-ui (were copied from
examples and still pointed at shadcn-ui)
- base-ui: pin recharts to ^3.8.0 to match shadcn-ui
Change the persisted `geistdocs:ui-library` atom default from "radix" to "base" so new visitors see the Base UI preview (and the Base UI toggle) by default.
Contributor
|
@Debbl is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Closes #383.
Stacked on #445 (the radix-vega migration) — merge that first.
Adds Base UI as a second component-library variant alongside the Radix (radix-vega) one, so AI Elements works for projects on the shadcn Base UI distribution (#383), not just the Radix-based one. Every element ships in both flavors and the docs let you switch between them.
What's added
packages/base-ui— the shadcnbase-vegacomponent set (@base-ui/react), parallel topackages/shadcn-ui(radix-vega)packages/elements-base+packages/examples-base— the elements and examples ported onto Base UI (full parity with the Radix versions)PreviewLibrarySwitch/useUILibraryrender both variants per component; defaults to Base UIbump-uicommand — now syncs both registries:shadcn add --all --overwrite -c packages/shadcn-ui && ... -c packages/base-ui