@vvedantb/ui 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -9
- package/src/ui/checkbox.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vvedantb/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Shared React 19 UI primitives for vmem, vibot and Verve.",
|
|
6
6
|
"type": "module",
|
|
@@ -30,11 +30,6 @@
|
|
|
30
30
|
"sideEffects": [
|
|
31
31
|
"./src/ui/sonner.css"
|
|
32
32
|
],
|
|
33
|
-
"scripts": {
|
|
34
|
-
"build": "tsc -p tsconfig.json",
|
|
35
|
-
"typecheck": "tsc -p tsconfig.json",
|
|
36
|
-
"prepack": "tsc -p tsconfig.json"
|
|
37
|
-
},
|
|
38
33
|
"peerDependencies": {
|
|
39
34
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
40
35
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
@@ -105,7 +100,6 @@
|
|
|
105
100
|
"@tabler/icons-react": "^3.35.0",
|
|
106
101
|
"@types/react": "^19.1.0",
|
|
107
102
|
"@types/react-dom": "^19.1.0",
|
|
108
|
-
"@vvedantb/tokens": "workspace:*",
|
|
109
103
|
"ai": "^5.0.0",
|
|
110
104
|
"class-variance-authority": "^0.7.1",
|
|
111
105
|
"clsx": "^2.1.1",
|
|
@@ -122,6 +116,11 @@
|
|
|
122
116
|
"tailwind-merge": "^2.6.0",
|
|
123
117
|
"typescript": "^5.9.0",
|
|
124
118
|
"use-stick-to-bottom": "^1.1.0",
|
|
125
|
-
"vaul": "^1.1.0"
|
|
119
|
+
"vaul": "^1.1.0",
|
|
120
|
+
"@vvedantb/tokens": "0.1.0"
|
|
121
|
+
},
|
|
122
|
+
"scripts": {
|
|
123
|
+
"build": "tsc -p tsconfig.json",
|
|
124
|
+
"typecheck": "tsc -p tsconfig.json"
|
|
126
125
|
}
|
|
127
|
-
}
|
|
126
|
+
}
|
package/src/ui/checkbox.tsx
CHANGED
|
@@ -10,7 +10,7 @@ const Checkbox = React.forwardRef<
|
|
|
10
10
|
<CheckboxPrimitive.Root
|
|
11
11
|
ref={ref}
|
|
12
12
|
className={cn(
|
|
13
|
-
"peer relative h-4 w-4 shrink-0 rounded-
|
|
13
|
+
"peer relative h-4 w-4 shrink-0 rounded-[4px] border border-border bg-field-background transition-[background-color,border-color] duration-200 ease-smooth focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-accent data-[state=checked]:bg-accent data-[state=checked]:text-accent-foreground before:absolute before:inset-[-12px] before:content-['']",
|
|
14
14
|
className,
|
|
15
15
|
)}
|
|
16
16
|
{...props}
|