@webdevarif/dashui 0.3.10 → 0.3.12
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 +18 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3530,8 +3530,24 @@ 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)(
|
|
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)(
|
|
3535
|
+
SelectContent,
|
|
3536
|
+
{
|
|
3537
|
+
className: "min-w-[4.5rem] border-white/10",
|
|
3538
|
+
style: { backgroundColor: "#1a1c2e", color: "white" },
|
|
3539
|
+
children: ["HEX", "HSL", "RGB"].map((f) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3540
|
+
SelectItem,
|
|
3541
|
+
{
|
|
3542
|
+
value: f,
|
|
3543
|
+
className: "text-xs text-white/70 focus:bg-white/10 focus:text-white data-[state=checked]:text-white cursor-pointer",
|
|
3544
|
+
style: { color: "rgba(255,255,255,0.7)" },
|
|
3545
|
+
children: f
|
|
3546
|
+
},
|
|
3547
|
+
f
|
|
3548
|
+
))
|
|
3549
|
+
}
|
|
3550
|
+
)
|
|
3535
3551
|
] });
|
|
3536
3552
|
};
|
|
3537
3553
|
var ColorPickerFormat = ({ className, ...props }) => {
|