@webdevarif/dashui 0.3.11 → 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 +16 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3388,15 +3388,23 @@ var ColorPickerOutput = ({ className, ...props }) => {
|
|
|
3388
3388
|
const { mode, setMode } = useColorPicker();
|
|
3389
3389
|
return /* @__PURE__ */ jsxs33(Select, { value: mode, onValueChange: setMode, children: [
|
|
3390
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(
|
|
3392
|
-
|
|
3391
|
+
/* @__PURE__ */ jsx49(
|
|
3392
|
+
SelectContent,
|
|
3393
3393
|
{
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
children: f
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3394
|
+
className: "min-w-[4.5rem] border-white/10",
|
|
3395
|
+
style: { backgroundColor: "#1a1c2e", color: "white" },
|
|
3396
|
+
children: ["HEX", "HSL", "RGB"].map((f) => /* @__PURE__ */ jsx49(
|
|
3397
|
+
SelectItem,
|
|
3398
|
+
{
|
|
3399
|
+
value: f,
|
|
3400
|
+
className: "text-xs text-white/70 focus:bg-white/10 focus:text-white data-[state=checked]:text-white cursor-pointer",
|
|
3401
|
+
style: { color: "rgba(255,255,255,0.7)" },
|
|
3402
|
+
children: f
|
|
3403
|
+
},
|
|
3404
|
+
f
|
|
3405
|
+
))
|
|
3406
|
+
}
|
|
3407
|
+
)
|
|
3400
3408
|
] });
|
|
3401
3409
|
};
|
|
3402
3410
|
var ColorPickerFormat = ({ className, ...props }) => {
|