@motor-hero/ui-kit 0.25.0 → 0.25.1
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/color-picker.tsx +4 -4
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export function ColorPicker({
|
|
|
39
39
|
const color = value || ""
|
|
40
40
|
|
|
41
41
|
return (
|
|
42
|
-
<PopoverPrimitive.Root open={open} onOpenChange={setOpen}
|
|
42
|
+
<PopoverPrimitive.Root open={open} onOpenChange={setOpen}>
|
|
43
43
|
<PopoverPrimitive.Trigger asChild>
|
|
44
44
|
<button
|
|
45
45
|
type="button"
|
|
@@ -63,9 +63,9 @@ export function ColorPicker({
|
|
|
63
63
|
color
|
|
64
64
|
? { backgroundColor: color }
|
|
65
65
|
: {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
backgroundImage:
|
|
67
|
+
"linear-gradient(45deg,var(--color-muted) 25%,transparent 25%,transparent 75%,var(--color-muted) 75%),linear-gradient(45deg,var(--color-muted) 25%,transparent 25%,transparent 75%,var(--color-muted) 75%)",
|
|
68
|
+
}
|
|
69
69
|
}
|
|
70
70
|
/>
|
|
71
71
|
<span className={cn("truncate", !color && "text-muted-foreground")}>
|