Skip to content

chore(ui): migrate to the renamed @base-ui/react package - #3

Merged
jbouder merged 1 commit into
mainfrom
chore/base-ui-rename
Jul 27, 2026
Merged

chore(ui): migrate to the renamed @base-ui/react package#3
jbouder merged 1 commit into
mainfrom
chore/base-ui-rename

Conversation

@jbouder

@jbouder jbouder commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

@base-ui-components/react is deprecated on npm"Package was renamed to @base-ui/react" — and frozen at 1.0.0-rc.0, which this app pinned exactly. The Nebari design system has already moved to @base-ui/react ^1.6.0, so our Figma-spec components were sitting on a primitive package the design system no longer targets.

Changes

  • package.json: @base-ui-components/react@1.0.0-rc.0 (exact) → @base-ui/react@^1.6.0 (caret, matching the design system)
  • Import specifier updated in all 15 primitive wrappers under src/ui/: avatar, badge, button, checkbox, dialog, dropdown-menu, field, input, radio-group, select, slider, switch, tabs, toast, tooltip

No API changes were required, despite the app exercising a wide slice of Base UI (Toast, Slider, Tabs, Tooltip, Avatar, Radio/RadioGroup, Checkbox/CheckboxGroup, Menu, Select, Field, useRender). The rc.0 → 1.6.0 jump is source-compatible for everything here.

Verification

  • npm run build (tsc -b && vite build) — clean

This repo has no test or lint script, so the type-check inside build is the gate. Worth a click-through of the dialog / dropdown / toast / tooltip surfaces before merge, since runtime behavior isn't covered by tests.

🤖 Generated with Claude Code

`@base-ui-components/react` is deprecated on npm ("Package was renamed to
@base-ui/react") and frozen at 1.0.0-rc.0, which this app pinned exactly. The
Nebari design system has already moved to `@base-ui/react`, so our components
were built on a primitive package the design system no longer targets.

Swap the dependency for `@base-ui/react` ^1.6.0 and update the import specifier
in all 15 primitive wrappers. No API changes were required — `tsc -b` and the
vite build pass unchanged despite the app exercising a wide surface (Toast,
Slider, Tabs, Tooltip, Avatar, Radio, Checkbox, Menu, Select, Field).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jbouder
jbouder merged commit dc48478 into main Jul 27, 2026
6 checks passed
@jbouder
jbouder deleted the chore/base-ui-rename branch July 27, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant