Skip to content

Commit 58cc59d

Browse files
committed
Merge branch 'ui-foundation-tailwind-base-ui' into main
Base UI in place of Radix, plus Tailwind and shadcn (#33). #33 was merged into connectors-broker after #19 had already merged to main.
2 parents 8b98261 + cad0441 commit 58cc59d

19 files changed

Lines changed: 732 additions & 304 deletions

‎ui/DEPS.md‎

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ newest release at least 14 days old as of 2026-10-30; no install scripts; `pnpm
2828
| @shikijs/langs | 4.5.0 | 2026-10-01 | antfu, orta, octref; GitHub Actions with provenance | shikijs/shiki |
2929
| anser | 2.3.5 | 2025-12-15 | ionicabizau (sole maintainer) | IonicaBizau/anser (tag 2.3.5, d300b23) |
3030
| cmdk | 1.1.1 | 2025-03-14 | paco, dipnpm | pacocoursey/cmdk |
31-
| @radix-ui/react-dialog | 1.3.1 | 2026-10-13 | hadihallak, chancestrickland, mark-workos, npm-workos; GitHub Actions with provenance | radix-ui/primitives |
32-
| @radix-ui/react-select | 2.4.1 | 2026-10-12 | hadihallak, chancestrickland, mark-workos, npm-workos; GitHub Actions with provenance | radix-ui/primitives |
31+
| @base-ui/react | 1.9.0 | 2026-10-09 | oliviertassinari, atomiks, lukastyla, janpotoms, colmtuite, mnajdova | mui/base-ui |
32+
| tailwindcss | 4.3.5 | 2026-11-06 | adamwathan, reinink, malfaitrobin | tailwindlabs/tailwindcss |
33+
| @tailwindcss/vite | 4.3.5 | 2026-11-06 | adamwathan, reinink, malfaitrobin | tailwindlabs/tailwindcss |
34+
| class-variance-authority | 0.7.1 | 2024-11-26 | joebell93 (sole maintainer) | joe-bell/cva |
35+
| clsx | 2.1.1 | 2024-04-23 | lukeed (sole maintainer) | lukeed/clsx |
36+
| tailwind-merge | 3.7.0 | 2026-09-12 | dcas (sole maintainer) | dcastil/tailwind-merge |
3337
| @codemirror/state | 6.7.6 | 2026-09-22 | marijn (sole maintainer and publisher) | code.haverbeke.berlin/codemirror/state |
3438
| @codemirror/view | 6.43.15 | 2026-10-19 | marijn (sole maintainer and publisher) | code.haverbeke.berlin/codemirror/view |
3539
| @codemirror/commands | 6.11.1 | 2026-09-15 | marijn (sole maintainer and publisher) | code.haverbeke.berlin/codemirror/commands |
@@ -95,6 +99,35 @@ Notes
9599
no new maintainer. No install scripts (none in any manifest; `pnpm add --save-exact --ignore-scripts`; lockfile has no
96100
`requiresBuild`). OSV batch over all 14: 0 with vulnerabilities. `pnpm audit --audit-level=low`: no known
97101
vulnerabilities. Names match the upstream repos (radix-ui/primitives, floating-ui/floating-ui).
102+
- Base UI in place of Radix (2026-11-30): @base-ui/react 1.9.0 (newest release, 52 days old, the primitives shadcn's
103+
Base UI style is built on) now gives the dropdowns (Select) and the palette's modal dialog, so the app has one primitive
104+
library. `@radix-ui/react-dialog` and `@radix-ui/react-select` are no longer direct dependencies. cmdk still depends
105+
on `@radix-ui/react-dialog` 1.3.1 and its helpers, so those stay in the lockfile through cmdk; the 10 packages only
106+
Select used (react-select, popper, collection, direction, arrow, use-rect, use-size, visually-hidden, number, rect) are
107+
gone. It adds 4 packages: `@base-ui/utils` 0.5.0 (same repository, maintainers and release day as @base-ui/react),
108+
reselect 5.3.0 (2026-08-22, reduxjs maintainers), use-sync-external-store 1.7.0 (2026-09-09, react-bot); floating-ui
109+
and @babel/runtime were already installed. Each is its newest release and at least 14 days old; Base UI's last 10
110+
releases are monthly, with no new maintainer. No install scripts (`pnpm add --ignore-scripts`; lockfile has no
111+
`requiresBuild`). OSV batch over all 4: 0 with vulnerabilities. `pnpm audit --audit-level=low`: no known
112+
vulnerabilities. Names match the upstream repos.
113+
- Tailwind and shadcn (2026-11-30): tailwindcss 4.3.5 and @tailwindcss/vite 4.3.5 (dev dependencies, build time only;
114+
newest release, 24 days old) generate the utilities of the shadcn components in `src/components/ui`. Only Tailwind's
115+
theme and utilities layers are imported (`src/styles/tailwind.css`), never its reset, so the existing pages do not
116+
change. class-variance-authority 0.7.1, clsx 2.1.1 and tailwind-merge 3.7.0 are what shadcn's components and `cn`
117+
(`src/lib/utils.ts`) import. tailwind-merge 3.7.1 (2026-11-19, 11 days old) is skipped. They add 20 transitive
118+
packages: `@tailwindcss/node` and `@tailwindcss/oxide` 4.3.5 with oxide's 12 prebuilt platform binaries (optional
119+
dependencies, one installed per machine, same three maintainers), enhanced-resolve 5.27.0 and tapable 2.3.4 (webpack
120+
maintainers, 18 and 17 days old; enhanced-resolve 5.27.1 from 2026-11-30 is skipped), graceful-fs 4.2.12 (isaacs,
121+
2026-11-12, the first release since 4.2.11 in 2023), jiti 2.7.0 (pi0), `@jridgewell/gen-mapping` 0.3.13 and
122+
`@jridgewell/remapping` 2.3.5. lightningcss and magic-string were already installed through vite. Each is at least 14
123+
days old. No install scripts: oxide ships prebuilt binaries as optional dependencies and has no postinstall
124+
(`--ignore-scripts`; lockfile has no `requiresBuild`). OSV batch over all 25 new packages: 0 with vulnerabilities.
125+
`pnpm audit --audit-level=low`: no known vulnerabilities. Names match the upstream repos.
126+
The shadcn CLI is run with `pnpm dlx shadcn@4.23.0` (4.23.1 is under 14 days old) and is not a dependency. Its
127+
components now import `cn` from shadcn's own `cn` package. That package is not used: the npm name dates from 2013
128+
and passed to shadcn in 2026, with 12 releases in the two months before this review. `src/lib/utils.ts` keeps the
129+
long-standing clsx and tailwind-merge `cn`, so after `shadcn add`, point `from "cn"` at `@/lib/utils` and leave `cn`
130+
out of package.json.
98131
- File editor (added 2026-11-03): CodeMirror 6 used directly (no React wrapper): `@codemirror/state` 6.7.6, `view` 6.43.15,
99132
`commands` 6.11.1, `language` 6.13.1, `legacy-modes` 6.5.5 (only the shell mode is imported), `lang-python` 6.2.1,
100133
`lang-markdown` 6.5.2, `lang-json` 6.0.2, `lang-yaml` 6.1.3, `lang-javascript` 6.2.5, `lang-html` 6.4.12, `lang-css` 6.3.1,

‎ui/components.json‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "base-nova",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/styles/tailwind.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
}
21+
}

‎ui/package.json‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"check:layout": "node tools/layout-check.mjs"
1515
},
1616
"dependencies": {
17+
"@base-ui/react": "1.9.0",
1718
"@codemirror/commands": "6.11.1",
1819
"@codemirror/lang-css": "6.3.1",
1920
"@codemirror/lang-html": "6.4.12",
@@ -28,31 +29,34 @@
2829
"@codemirror/state": "6.7.6",
2930
"@codemirror/view": "6.43.15",
3031
"@lezer/highlight": "1.2.5",
31-
"@radix-ui/react-dialog": "1.3.1",
32-
"@radix-ui/react-select": "2.4.1",
3332
"@shikijs/core": "4.5.0",
3433
"@shikijs/engine-javascript": "4.5.0",
3534
"@shikijs/langs": "4.5.0",
3635
"@tanstack/react-query": "5.104.3",
3736
"anser": "2.3.5",
3837
"boring-avatars": "2.0.4",
38+
"class-variance-authority": "0.7.1",
39+
"clsx": "2.1.1",
3940
"cmdk": "1.1.1",
4041
"cronstrue": "3.32.0",
4142
"downshift": "9.4.0",
4243
"lucide-react": "1.57.0",
4344
"react": "19.3.1",
4445
"react-dom": "19.3.1",
4546
"react-router": "8.4.0",
46-
"swagger-ui-dist": "5.33.3"
47+
"swagger-ui-dist": "5.33.3",
48+
"tailwind-merge": "3.7.0"
4749
},
4850
"devDependencies": {
51+
"@tailwindcss/vite": "4.3.5",
4952
"@testing-library/dom": "10.4.2",
5053
"@testing-library/react": "16.3.3",
5154
"@testing-library/user-event": "14.6.8",
5255
"@types/react": "19.3.0",
5356
"@types/react-dom": "19.3.0",
5457
"@vitejs/plugin-react": "6.1.2",
5558
"jsdom": "30.1.3",
59+
"tailwindcss": "4.3.5",
5660
"typescript": "7.0.2",
5761
"vite": "8.3.4",
5862
"vitest": "5.0.5"

0 commit comments

Comments
 (0)