fix: themed Radix-based Select (dark/gold popover) replacing native <select> (v0.3.0)
ci / build-and-design (push) Failing after 1s
ci / build-and-design (push) Failing after 1s
Native <select> open menus are OS-drawn (grey/blue) and can't be themed. Rebuilt Select on @radix-ui/react-select with a fully styled popover while keeping the native drop-in API (value/onChange/<option> children). Empty-string option values stay selectable via an internal sentinel.
This commit is contained in:
+4
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@jason/ui-kit",
|
||||
"version": "0.2.0",
|
||||
"description": "Shared design foundation \u2014 branded tokens, Tailwind preset, shadcn-style components, motion, app shell + marketing blocks. Guarded by Impeccable.",
|
||||
"version": "0.3.0",
|
||||
"description": "Shared design foundation — branded tokens, Tailwind preset, shadcn-style components, motion, app shell + marketing blocks. Guarded by Impeccable.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"author": "Jason <jason@messagepoint.tv>",
|
||||
@@ -45,6 +45,7 @@
|
||||
"dependencies": {
|
||||
"@radix-ui/react-dialog": "^1.1.4",
|
||||
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
||||
"@radix-ui/react-select": "^2.3.3",
|
||||
"@radix-ui/react-slot": "^1.1.1",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
@@ -65,8 +66,8 @@
|
||||
"impeccable": "^3.2.1",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"tsup": "^8.3.5",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"tsup": "^8.3.5",
|
||||
"typescript": "^5.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user