-
-
Notifications
You must be signed in to change notification settings - Fork 111
UI #1055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
UI #1055
Conversation
🦋 Changeset detectedLatest commit: f5f990a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates multiple UI demos by revising component usage, updating design tokens and styling, and removing deprecated components. Key changes include:
- Replacing old color and style patterns with updated design tokens (e.g. using oklch colors and new CSS variables).
- Refactoring components such as Command, Combobox, and Calendar to use updated UI kit patterns.
- Removing deprecated demos (Callout, BlurFade, BlurImage) and updating documentation accordingly.
Reviewed Changes
Copilot reviewed 195 out of 197 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
apps/docs/src/components/demos/drawer/drawer.tsx | Updated fill color for demo graphics using a new CSS variable. |
apps/docs/src/components/demos/command/command.tsx | Replaced legacy keyboard shortcut elements with CommandShortcut. |
apps/docs/src/components/demos/combobox/combobox.tsx | Replaced combobox with a Popover/Command pattern and refactored state handling. |
apps/docs/src/components/demos/chart/chart.tsx | Introduced a new area chart demo and updated chart configuration. |
apps/docs/src/components/demos/callout/(warning, error, callout) | Removed Callout demos. |
apps/docs/src/components/demos/calendar/(range, calendar).tsx | Added new Calendar demos with range and single selection modes. |
apps/docs/src/components/demos/button/(pending, icon).tsx | Updated button demos to include a loader icon and simplified icon usage. |
apps/docs/src/components/demos/blur-image/blur-image.tsx | Removed BlurImage demo. |
apps/docs/src/components/demos/blur-fade/blur-fade.tsx | Removed BlurFade demo. |
apps/docs/src/components/demos/aspect-ratio/aspect-ratio.tsx | Updated image source and alt text for improved clarity. |
apps/docs/src/components/demos/alert/(destructive, alert).tsx | Added new Alert demos with distinct styling for success and error. |
apps/docs/src/app/(main)/[[...slug]]/page.tsx | Updated conditional rendering for link badges. |
apps/docs/src/app/(main)/[[...slug]]/link-badges.tsx | Refactored LinkBadges to use simplified conditional rendering. |
Files not reviewed (2)
- .cspell.json: Language not supported
- apps/docs/package.json: Language not supported
Comments suppressed due to low confidence (1)
apps/docs/src/components/demos/drawer/drawer.tsx:112
- Replacing 'hsl(var(--foreground))' with 'var(--primary)' may affect accessibility if the contrast is altered. Verify that this change maintains sufficient visual contrast according to the design guidelines.
fill: 'var(--primary)',
Description
cva
beta? <component /> : null
to&& <component />
oklab
andoklch
to known word list.Chart
,Calendar
<Callout />
with<Alert />
<VisuallyHidden />
withsr-only
<BlurFade />
and<BlurImage />
size-4
classes.<Progress />
which is using@ark-ui/react
<Slider />
which is using@ark-ui/react
<Combobox />
which is using@ark-ui/react
<CommandFooter />
toaster
tosonner
getAvatarAbbreviation()
togetAbbreviation()