@webdevarif/dashui 0.3.9 → 0.3.11
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.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3387,8 +3387,16 @@ var ColorPickerEyeDropper = ({ className, ...props }) => {
|
|
|
3387
3387
|
var ColorPickerOutput = ({ className, ...props }) => {
|
|
3388
3388
|
const { mode, setMode } = useColorPicker();
|
|
3389
3389
|
return /* @__PURE__ */ jsxs33(Select, { value: mode, onValueChange: setMode, children: [
|
|
3390
|
-
/* @__PURE__ */ jsx49(SelectTrigger, { className: cn("h-7 w-[4.5rem] shrink-0 text-xs px-2 border-white/10 bg-white/5 rounded-md", className), children: /* @__PURE__ */ jsx49(SelectValue, {}) }),
|
|
3391
|
-
/* @__PURE__ */ jsx49(SelectContent, { children: ["HEX", "HSL", "RGB"].map((f) => /* @__PURE__ */ jsx49(
|
|
3390
|
+
/* @__PURE__ */ jsx49(SelectTrigger, { className: cn("h-7 w-[4.5rem] shrink-0 text-xs px-2 border-white/10 bg-white/5 text-white/70 rounded-md", className), children: /* @__PURE__ */ jsx49(SelectValue, {}) }),
|
|
3391
|
+
/* @__PURE__ */ jsx49(SelectContent, { className: "bg-[#1a1c2e] border border-white/10 text-white min-w-[4.5rem]", children: ["HEX", "HSL", "RGB"].map((f) => /* @__PURE__ */ jsx49(
|
|
3392
|
+
SelectItem,
|
|
3393
|
+
{
|
|
3394
|
+
value: f,
|
|
3395
|
+
className: "text-xs text-white/70 focus:bg-white/10 focus:text-white data-[state=checked]:text-white",
|
|
3396
|
+
children: f
|
|
3397
|
+
},
|
|
3398
|
+
f
|
|
3399
|
+
)) })
|
|
3392
3400
|
] });
|
|
3393
3401
|
};
|
|
3394
3402
|
var ColorPickerFormat = ({ className, ...props }) => {
|