@webdevarif/dashui 0.3.10 → 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.js
CHANGED
|
@@ -3530,8 +3530,16 @@ var ColorPickerEyeDropper = ({ className, ...props }) => {
|
|
|
3530
3530
|
var ColorPickerOutput = ({ className, ...props }) => {
|
|
3531
3531
|
const { mode, setMode } = useColorPicker();
|
|
3532
3532
|
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Select, { value: mode, onValueChange: setMode, children: [
|
|
3533
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(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__ */ (0, import_jsx_runtime49.jsx)(SelectValue, {}) }),
|
|
3534
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SelectContent, { children: ["HEX", "HSL", "RGB"].map((f) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3533
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(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__ */ (0, import_jsx_runtime49.jsx)(SelectValue, {}) }),
|
|
3534
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SelectContent, { className: "bg-[#1a1c2e] border border-white/10 text-white min-w-[4.5rem]", children: ["HEX", "HSL", "RGB"].map((f) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3535
|
+
SelectItem,
|
|
3536
|
+
{
|
|
3537
|
+
value: f,
|
|
3538
|
+
className: "text-xs text-white/70 focus:bg-white/10 focus:text-white data-[state=checked]:text-white",
|
|
3539
|
+
children: f
|
|
3540
|
+
},
|
|
3541
|
+
f
|
|
3542
|
+
)) })
|
|
3535
3543
|
] });
|
|
3536
3544
|
};
|
|
3537
3545
|
var ColorPickerFormat = ({ className, ...props }) => {
|