@andreagiugni/tailwind-dashboard-ui 1.0.1 → 1.0.3

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.
Files changed (36) hide show
  1. package/README.md +7 -4
  2. package/dist/{Editor-CHBOfOWf.d.cts → Editor-DEv5IZeb.d.cts} +2 -0
  3. package/dist/{Editor-CHBOfOWf.d.ts → Editor-DEv5IZeb.d.ts} +2 -0
  4. package/dist/{chunk-YSON6RJC.cjs → chunk-5DEBWZY7.cjs} +178 -43
  5. package/dist/chunk-5DEBWZY7.cjs.map +1 -0
  6. package/dist/{chunk-DXUWFHPF.js → chunk-EQUQBLJC.js} +36 -116
  7. package/dist/chunk-EQUQBLJC.js.map +1 -0
  8. package/dist/{chunk-QGLKSM7S.js → chunk-PYZG7RY7.js} +179 -44
  9. package/dist/chunk-PYZG7RY7.js.map +1 -0
  10. package/dist/{chunk-U2SEFEOB.js → chunk-W3TC7P3Z.js} +8 -21
  11. package/dist/chunk-W3TC7P3Z.js.map +1 -0
  12. package/dist/{chunk-S4ADL5B7.cjs → chunk-YBVFFVZT.cjs} +36 -116
  13. package/dist/chunk-YBVFFVZT.cjs.map +1 -0
  14. package/dist/{chunk-553PIOZS.cjs → chunk-ZQ6544NY.cjs} +8 -21
  15. package/dist/chunk-ZQ6544NY.cjs.map +1 -0
  16. package/dist/components/Calendar/Calendar.cjs +2 -2
  17. package/dist/components/Calendar/Calendar.js +1 -1
  18. package/dist/components/ColorPicker/ColorPicker.cjs +2 -2
  19. package/dist/components/ColorPicker/ColorPicker.js +1 -1
  20. package/dist/components/Editor/Editor.cjs +2 -2
  21. package/dist/components/Editor/Editor.d.cts +1 -1
  22. package/dist/components/Editor/Editor.d.ts +1 -1
  23. package/dist/components/Editor/Editor.js +1 -1
  24. package/dist/index.cjs +61 -555
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +3 -3
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +57 -551
  29. package/dist/index.js.map +1 -1
  30. package/package.json +3 -1
  31. package/dist/chunk-553PIOZS.cjs.map +0 -1
  32. package/dist/chunk-DXUWFHPF.js.map +0 -1
  33. package/dist/chunk-QGLKSM7S.js.map +0 -1
  34. package/dist/chunk-S4ADL5B7.cjs.map +0 -1
  35. package/dist/chunk-U2SEFEOB.js.map +0 -1
  36. package/dist/chunk-YSON6RJC.cjs.map +0 -1
@@ -6,6 +6,7 @@ var chunkYERNSNT4_cjs = require('./chunk-YERNSNT4.cjs');
6
6
  var react = require('react');
7
7
  var reactDom = require('react-dom');
8
8
  var reactBeautifulColor = require('react-beautiful-color');
9
+ var lucideReact = require('lucide-react');
9
10
  var jsxRuntime = require('react/jsx-runtime');
10
11
 
11
12
  var ALL_FORMATS = ["hex", "rgb", "rgba", "hsl", "hsla"];
@@ -51,13 +52,6 @@ function colorToString(color, format) {
51
52
  return color.getHex();
52
53
  }
53
54
  }
54
- var pipetteIcon = /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
55
- "path",
56
- {
57
- d: "M19.5 3.5a2.12 2.12 0 0 0-3 0l-2.3 2.3-1-1-1.4 1.4 1 1L4 14.9V19h4.1l7.7-7.7 1 1 1.4-1.4-1-1 2.3-2.3a2.12 2.12 0 0 0 0-3ZM7.3 17.6H6v-1.3l6.6-6.6 1.3 1.3-6.6 6.6Z",
58
- fill: "currentColor"
59
- }
60
- ) });
61
55
  var ColorPicker = ({
62
56
  defaultValue = "#3641f5",
63
57
  defaultFormat = "hex",
@@ -196,16 +190,13 @@ var ColorPicker = ({
196
190
  ),
197
191
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate font-mono text-sm text-gray-800 dark:text-white/90", children: display }),
198
192
  /* @__PURE__ */ jsxRuntime.jsx(
199
- "svg",
193
+ lucideReact.ChevronDown,
200
194
  {
201
195
  "aria-hidden": "true",
202
196
  className: chunkYERNSNT4_cjs.cn(
203
197
  "h-4 w-4 shrink-0 text-gray-500 transition-transform dark:text-gray-400",
204
198
  isOpen && "rotate-180"
205
- ),
206
- viewBox: "0 0 24 24",
207
- fill: "none",
208
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 9 6 6 6-6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
199
+ )
209
200
  }
210
201
  )
211
202
  ]
@@ -237,7 +228,7 @@ var ColorPicker = ({
237
228
  children: [
238
229
  /* @__PURE__ */ jsxRuntime.jsx(reactBeautifulColor.ColorPicker.Saturation, { className: "mb-4 h-40 rounded-lg" }),
239
230
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
240
- withEyeDropper && /* @__PURE__ */ jsxRuntime.jsx(reactBeautifulColor.ColorPicker.EyeDropper, { className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-gray-300 text-gray-600 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-300 dark:hover:bg-white/[0.03]", children: pipetteIcon }),
231
+ withEyeDropper && /* @__PURE__ */ jsxRuntime.jsx(reactBeautifulColor.ColorPicker.EyeDropper, { className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-gray-300 text-gray-600 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-300 dark:hover:bg-white/[0.03]", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pipette, { className: "h-4 w-4", "aria-hidden": "true" }) }),
241
232
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col gap-3", children: [
242
233
  /* @__PURE__ */ jsxRuntime.jsx(reactBeautifulColor.ColorPicker.Hue, { className: "h-4" }),
243
234
  /* @__PURE__ */ jsxRuntime.jsx(reactBeautifulColor.ColorPicker.Alpha, { className: "h-4" })
@@ -259,15 +250,11 @@ var ColorPicker = ({
259
250
  }
260
251
  ),
261
252
  /* @__PURE__ */ jsxRuntime.jsx(
262
- "svg",
253
+ lucideReact.ChevronDown,
263
254
  {
264
255
  "aria-hidden": "true",
265
256
  className: "pointer-events-none absolute right-2.5 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400",
266
- width: "14",
267
- height: "14",
268
- viewBox: "0 0 24 24",
269
- fill: "none",
270
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 9 6 6 6-6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
257
+ size: 14
271
258
  }
272
259
  )
273
260
  ] }),
@@ -293,5 +280,5 @@ var ColorPicker = ({
293
280
  };
294
281
 
295
282
  exports.ColorPicker = ColorPicker;
296
- //# sourceMappingURL=chunk-553PIOZS.cjs.map
297
- //# sourceMappingURL=chunk-553PIOZS.cjs.map
283
+ //# sourceMappingURL=chunk-ZQ6544NY.cjs.map
284
+ //# sourceMappingURL=chunk-ZQ6544NY.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/ColorPicker/ColorPicker.tsx"],"names":["useState","Color","useMemo","useRef","useEffect","useCallback","useLayoutEffect","jsxs","cn","jsx","ChevronDown","createPortal","layers","RBColorPicker","Pipette"],"mappings":";;;;;;;;;;AAwCA,IAAM,cAAmC,CAAC,KAAA,EAAO,KAAA,EAAO,MAAA,EAAQ,OAAO,MAAM,CAAA;AAG7E,SAAS,UAAA,CAAW,MAAc,MAAA,EAA8C;AAC9E,EAAA,MAAM,CAAA,GAAI,KAAK,IAAA,EAAK;AACpB,EAAA,IAAI,WAAW,KAAA,EAAO;AACpB,IAAA,OAAO,2CAAA,CAA4C,KAAK,CAAC,CAAA,GACrD,EAAE,IAAA,EAAM,KAAA,EAAO,KAAA,EAAO,CAAA,EAAE,GACxB,IAAA;AAAA,EACN;AACA,EAAA,MAAM,CAAA,GAAI,EAAE,KAAA,CAAM,cAAc,GAAG,GAAA,CAAI,MAAM,KAAK,EAAC;AACnD,EAAA,IAAI,MAAA,KAAW,SAAS,CAA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,CAAA,KAAM,kBAAA,CAAmB,CAAA,CAAE,OAAO,KAA0B,CAAA;AAAA,wBACvE,SAAA,EAAU,+KAAA;AAAA,wBAET,QAAA,EAAA,OAAA,CAAQ,GAAA,CAAI,CAAC,CAAA,qBACZA,cAAA,CAAC,QAAA,EAAA,EAAe,KAAA,EAAO,CAAA,EACpB,QAAA,EAAA,CAAA,CAAE,WAAA,EAAY,EAAA,EADJ,CAEb,CACD;AAAA;AAAA,qBACH;AAAA,oCACAA,cAAA;AAAA,sBAACC,uBAAA;AAAA,sBAAA;AAAA,wBACC,aAAA,EAAY,MAAA;AAAA,wBACZ,SAAA,EAAU,kGAAA;AAAA,wBACV,IAAA,EAAM;AAAA;AAAA;AACR,mBAAA,EACF,CAAA;AAAA,kCAEFD,cAAA;AAAA,oBAAC,OAAA;AAAA,oBAAA;AAAA,sBACC,YAAA,EAAW,aAAA;AAAA,sBACX,KAAA,EAAO,UAAA;AAAA,sBACP,UAAU,CAAC,CAAA,KAAM,iBAAA,CAAkB,CAAA,CAAE,OAAO,KAAK,CAAA;AAAA,sBACjD,MAAA,EAAQ,MAAM,QAAA,CAAS,IAAI,CAAA;AAAA,sBAC3B,SAAA,EAAU;AAAA;AAAA;AACZ,iBAAA,EACF;AAAA;AAAA;AAAA,WAEJ;AAAA,UACA,QAAA,CAAS;AAAA;AACX;AAAA;AAAA,GACF;AAEJ","file":"chunk-ZQ6544NY.cjs","sourcesContent":["\"use client\";\nimport React, {\n useCallback,\n useEffect,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { ColorPicker as RBColorPicker, Color } from \"react-beautiful-color\";\nimport { ChevronDown, Pipette } from \"lucide-react\";\nimport { cn } from \"../../lib/cn\";\nimport { layers } from \"../../lib/layers\";\n\n// `react-beautiful-color` doesn't re-export these types from its entry, so\n// derive them from the values its API does expose.\ntype Hsva = ReturnType<Color[\"getHsva\"]>;\ntype ColorInput = ConstructorParameters<typeof Color>[0] & { type: string };\n\nexport type ColorPickerFormat = \"hex\" | \"rgb\" | \"rgba\" | \"hsl\" | \"hsla\";\n\nexport interface ColorPickerProps\n extends Omit<React.HTMLAttributes<HTMLDivElement>, \"onChange\"> {\n /** Initial color (uncontrolled). Any hex string, e.g. `\"#3641f5\"`. */\n defaultValue?: string;\n /** Format selected on first render. Default: `\"hex\"`. */\n defaultFormat?: ColorPickerFormat;\n /** Formats offered in the switcher. Default: all five. */\n formats?: ColorPickerFormat[];\n /** Render the value input + format switcher. Default: `true`. */\n showInput?: boolean;\n /** Show the native eye-dropper button (browser support varies). */\n withEyeDropper?: boolean;\n /** Optional label rendered above the picker. */\n label?: string;\n /** Fires on every change with the formatted string and the `Color` instance. */\n onChange?: (value: string, color: Color) => void;\n}\n\nconst ALL_FORMATS: ColorPickerFormat[] = [\"hex\", \"rgb\", \"rgba\", \"hsl\", \"hsla\"];\n\n/** Parse the text in the input back into a `ColorInput`, or `null` if invalid. */\nfunction parseValue(text: string, format: ColorPickerFormat): ColorInput | null {\n const t = text.trim();\n if (format === \"hex\") {\n return /^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(t)\n ? { type: \"hex\", value: t }\n : null;\n }\n const n = t.match(/-?\\d*\\.?\\d+/g)?.map(Number) ?? [];\n if (format === \"rgb\" && n.length >= 3) return { type: \"rgb\", r: n[0], g: n[1], b: n[2] };\n if (format === \"rgba\" && n.length >= 4)\n return { type: \"rgba\", r: n[0], g: n[1], b: n[2], a: n[3] };\n if (format === \"hsl\" && n.length >= 3) return { type: \"hsl\", h: n[0], s: n[1], l: n[2] };\n if (format === \"hsla\" && n.length >= 4)\n return { type: \"hsla\", h: n[0], s: n[1], l: n[2], a: n[3] };\n return null;\n}\n\n/** Format a `Color` into the requested CSS string. */\nfunction colorToString(color: Color, format: ColorPickerFormat): string {\n switch (format) {\n case \"hex\": {\n const { r, g, b } = color.getRgb();\n const a = color.getRgba().a;\n const hex = `#${[r, g, b].map((v) => Math.round(v).toString(16).padStart(2, \"0\")).join(\"\")}`;\n return a < 1\n ? `${hex}${Math.round(a * 255).toString(16).padStart(2, \"0\")}`\n : hex;\n }\n case \"rgb\": {\n const { r, g, b } = color.getRgb();\n return `rgb(${r}, ${g}, ${b})`;\n }\n case \"rgba\": {\n const { r, g, b, a } = color.getRgba();\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n }\n case \"hsl\": {\n const { h, s, l } = color.getHsl();\n return `hsl(${h}, ${s}%, ${l}%)`;\n }\n case \"hsla\": {\n const { h, s, l, a } = color.getHsla();\n return `hsla(${h}, ${s}%, ${l}%, ${a})`;\n }\n default:\n return color.getHex();\n }\n}\n\nexport const ColorPicker: React.FC<ColorPickerProps> = ({\n defaultValue = \"#3641f5\",\n defaultFormat = \"hex\",\n formats = ALL_FORMATS,\n showInput = true,\n withEyeDropper = false,\n label,\n onChange,\n className,\n ...rest\n}) => {\n // Internal state lives in full-fidelity HSVA — the picker's native space.\n // Feeding anything lossier (e.g. hex) back into the controlled picker makes\n // the knobs fight the cursor (hue/alpha collapse on round-trip), which is\n // why drag would freeze or snap.\n const [hsva, setHsva] = useState<Hsva>(() =>\n new Color({ type: \"hex\", value: defaultValue }).getHsva()\n );\n const [format, setFormat] = useState<ColorPickerFormat>(defaultFormat);\n const [isOpen, setIsOpen] = useState(false);\n const [popupPosition, setPopupPosition] = useState({\n left: 0,\n top: 0,\n width: 320,\n });\n // While the input is focused we keep a raw draft so partial/invalid typing\n // isn't clobbered by the normalized value.\n const [draft, setDraft] = useState<string | null>(null);\n // HSVA is integer-quantized, so we keep the user's exact text (defaultValue\n // or typed) and show it verbatim until the picker actually changes color.\n const [exact, setExact] = useState<{ format: ColorPickerFormat; value: string } | null>(\n () => ({ format: \"hex\", value: defaultValue })\n );\n\n const colorInput = useMemo(() => ({ type: \"hsva\" as const, ...hsva }), [hsva]);\n const currentColor = useMemo(() => new Color(colorInput), [colorInput]);\n const display =\n exact && exact.format === format ? exact.value : colorToString(currentColor, format);\n const inputValue = draft ?? display;\n\n // The picker's internal drag layer unbinds its document listeners whenever\n // the `onChange` identity changes (its cleanup effect depends on it), which\n // would kill an in-flight drag after the first tick. Keep the handler\n // identity-stable and read mutable values through refs.\n const hsvaRef = useRef(hsva);\n hsvaRef.current = hsva;\n const formatRef = useRef(format);\n formatRef.current = format;\n const onChangeRef = useRef(onChange);\n onChangeRef.current = onChange;\n const rootRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLButtonElement>(null);\n const popupRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (!isOpen) return;\n\n const handlePointerDown = (event: MouseEvent) => {\n const target = event.target as Node;\n if (\n rootRef.current &&\n !rootRef.current.contains(target) &&\n !popupRef.current?.contains(target)\n ) {\n setIsOpen(false);\n }\n };\n const handleEscape = (event: KeyboardEvent) => {\n if (event.key === \"Escape\") setIsOpen(false);\n };\n\n document.addEventListener(\"mousedown\", handlePointerDown);\n document.addEventListener(\"keydown\", handleEscape);\n return () => {\n document.removeEventListener(\"mousedown\", handlePointerDown);\n document.removeEventListener(\"keydown\", handleEscape);\n };\n }, [isOpen]);\n\n const updatePopupPosition = useCallback(() => {\n const trigger = triggerRef.current;\n if (!trigger) return;\n\n const rect = trigger.getBoundingClientRect();\n const viewportPadding = 16;\n const gap = 8;\n const width = Math.min(320, window.innerWidth - viewportPadding * 2);\n const popupHeight = popupRef.current?.offsetHeight ?? 306;\n const fitsBelow = window.innerHeight - rect.bottom - gap >= popupHeight;\n const top = fitsBelow || rect.top < popupHeight + gap\n ? rect.bottom + gap\n : rect.top - popupHeight - gap;\n const left = Math.min(\n Math.max(rect.left, viewportPadding),\n window.innerWidth - width - viewportPadding\n );\n\n setPopupPosition({ left, top: Math.max(viewportPadding, top), width });\n }, []);\n\n useLayoutEffect(() => {\n if (!isOpen) return;\n\n updatePopupPosition();\n window.addEventListener(\"resize\", updatePopupPosition);\n window.addEventListener(\"scroll\", updatePopupPosition, true);\n return () => {\n window.removeEventListener(\"resize\", updatePopupPosition);\n window.removeEventListener(\"scroll\", updatePopupPosition, true);\n };\n }, [isOpen, updatePopupPosition]);\n\n const handlePickerChange = useCallback((next: Color) => {\n const nv = next.getHsva();\n const cur = hsvaRef.current;\n // The picker re-emits the current color on mount; ignore no-op changes so\n // the exact defaultValue isn't clobbered.\n if (nv.h === cur.h && nv.s === cur.s && nv.v === cur.v && nv.a === cur.a) return;\n setHsva(nv);\n setExact(null);\n setDraft(null);\n onChangeRef.current?.(colorToString(next, formatRef.current), next);\n }, []);\n\n const handleFormatChange = (f: ColorPickerFormat) => {\n setFormat(f);\n setDraft(null);\n onChange?.(\n exact && exact.format === f ? exact.value : colorToString(currentColor, f),\n currentColor\n );\n };\n\n const handleInputChange = (text: string) => {\n setDraft(text);\n const parsed = parseValue(text, format);\n if (parsed) {\n const c = new Color(parsed);\n setHsva(c.getHsva());\n setExact({ format, value: text.trim() });\n onChange?.(text.trim(), c);\n }\n };\n\n return (\n <div\n ref={rootRef}\n className={cn(\"relative w-full max-w-sm\", className)}\n {...rest}\n >\n {label && (\n <span className=\"mb-1.5 block text-sm font-medium text-gray-700 dark:text-gray-400\">\n {label}\n </span>\n )}\n <button\n ref={triggerRef}\n type=\"button\"\n aria-haspopup=\"dialog\"\n aria-expanded={isOpen}\n aria-label={label ? `Open ${label} color picker` : \"Open color picker\"}\n onClick={() => setIsOpen((open) => !open)}\n className=\"flex h-11 w-full items-center gap-3 rounded-lg border border-gray-300 bg-white px-3 text-left shadow-theme-xs transition hover:bg-gray-50 focus:border-brand-300 focus:outline-hidden focus:ring-3 focus:ring-brand-500/10 dark:border-gray-700 dark:bg-gray-900 dark:hover:bg-white/[0.03] dark:focus:border-brand-800\"\n >\n <span\n aria-hidden=\"true\"\n className=\"h-7 w-7 shrink-0 rounded-md border border-gray-200 dark:border-gray-700\"\n style={{ backgroundColor: currentColor.format(\"rgba\") }}\n />\n <span className=\"min-w-0 flex-1 truncate font-mono text-sm text-gray-800 dark:text-white/90\">\n {display}\n </span>\n <ChevronDown\n aria-hidden=\"true\"\n className={cn(\n \"h-4 w-4 shrink-0 text-gray-500 transition-transform dark:text-gray-400\",\n isOpen && \"rotate-180\"\n )}\n />\n </button>\n\n {isOpen && typeof document !== \"undefined\" && createPortal(\n <div\n ref={popupRef}\n role=\"dialog\"\n aria-label={label ? `${label} color picker` : \"Color picker\"}\n className={cn(\n \"fixed rounded-2xl border border-gray-200 bg-white p-3 shadow-theme-lg dark:border-gray-700 dark:bg-gray-900\",\n layers.portal\n )}\n style={{\n left: popupPosition.left,\n top: popupPosition.top,\n width: popupPosition.width,\n }}\n >\n <RBColorPicker\n color={colorInput}\n onChange={handlePickerChange}\n className=\"h-auto w-full\"\n >\n {/* Overflow would clip the drag knobs beyond the track bounds. */}\n <RBColorPicker.Saturation className=\"mb-4 h-40 rounded-lg\" />\n <div className=\"flex items-center gap-3\">\n {withEyeDropper && (\n <RBColorPicker.EyeDropper className=\"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-gray-300 text-gray-600 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-300 dark:hover:bg-white/[0.03]\">\n <Pipette className=\"h-4 w-4\" aria-hidden=\"true\" />\n </RBColorPicker.EyeDropper>\n )}\n <div className=\"flex flex-1 flex-col gap-3\">\n <RBColorPicker.Hue className=\"h-4\" />\n <RBColorPicker.Alpha className=\"h-4\" />\n </div>\n </div>\n </RBColorPicker>\n\n {showInput && (\n <div className=\"mt-4 flex items-stretch gap-2\">\n {formats.length > 1 && (\n <span className=\"relative shrink-0\">\n <select\n aria-label=\"Color format\"\n value={format}\n onChange={(e) => handleFormatChange(e.target.value as ColorPickerFormat)}\n className=\"h-11 appearance-none rounded-lg border border-gray-300 bg-white pl-3 pr-8 text-sm text-gray-700 focus:outline-hidden dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300\"\n >\n {formats.map((f) => (\n <option key={f} value={f}>\n {f.toUpperCase()}\n </option>\n ))}\n </select>\n <ChevronDown\n aria-hidden=\"true\"\n className=\"pointer-events-none absolute right-2.5 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400\"\n size={14}\n />\n </span>\n )}\n <input\n aria-label=\"Color value\"\n value={inputValue}\n onChange={(e) => handleInputChange(e.target.value)}\n onBlur={() => setDraft(null)}\n className=\"h-11 min-w-0 flex-1 rounded-lg border border-gray-300 bg-white px-3 font-mono text-sm text-gray-800 focus:outline-hidden dark:border-gray-700 dark:bg-gray-900 dark:text-white/90\"\n />\n </div>\n )}\n </div>,\n document.body\n )}\n </div>\n );\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkYSON6RJC_cjs = require('../../chunk-YSON6RJC.cjs');
4
+ var chunk5DEBWZY7_cjs = require('../../chunk-5DEBWZY7.cjs');
5
5
  require('../../chunk-TF3G3E72.cjs');
6
6
  require('../../chunk-YERNSNT4.cjs');
7
7
 
@@ -9,7 +9,7 @@ require('../../chunk-YERNSNT4.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "Calendar", {
11
11
  enumerable: true,
12
- get: function () { return chunkYSON6RJC_cjs.Calendar; }
12
+ get: function () { return chunk5DEBWZY7_cjs.Calendar; }
13
13
  });
14
14
  //# sourceMappingURL=Calendar.cjs.map
15
15
  //# sourceMappingURL=Calendar.cjs.map
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { Calendar } from '../../chunk-QGLKSM7S.js';
2
+ export { Calendar } from '../../chunk-PYZG7RY7.js';
3
3
  import '../../chunk-VX7S6VYG.js';
4
4
  import '../../chunk-ZLIYUUA4.js';
5
5
  //# sourceMappingURL=Calendar.js.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk553PIOZS_cjs = require('../../chunk-553PIOZS.cjs');
4
+ var chunkZQ6544NY_cjs = require('../../chunk-ZQ6544NY.cjs');
5
5
  require('../../chunk-TF3G3E72.cjs');
6
6
  require('../../chunk-YERNSNT4.cjs');
7
7
 
@@ -9,7 +9,7 @@ require('../../chunk-YERNSNT4.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "ColorPicker", {
11
11
  enumerable: true,
12
- get: function () { return chunk553PIOZS_cjs.ColorPicker; }
12
+ get: function () { return chunkZQ6544NY_cjs.ColorPicker; }
13
13
  });
14
14
  //# sourceMappingURL=ColorPicker.cjs.map
15
15
  //# sourceMappingURL=ColorPicker.cjs.map
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { ColorPicker } from '../../chunk-U2SEFEOB.js';
2
+ export { ColorPicker } from '../../chunk-W3TC7P3Z.js';
3
3
  import '../../chunk-VX7S6VYG.js';
4
4
  import '../../chunk-ZLIYUUA4.js';
5
5
  //# sourceMappingURL=ColorPicker.js.map
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkS4ADL5B7_cjs = require('../../chunk-S4ADL5B7.cjs');
4
+ var chunkYBVFFVZT_cjs = require('../../chunk-YBVFFVZT.cjs');
5
5
  require('../../chunk-YERNSNT4.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Editor", {
10
10
  enumerable: true,
11
- get: function () { return chunkS4ADL5B7_cjs.Editor; }
11
+ get: function () { return chunkYBVFFVZT_cjs.Editor; }
12
12
  });
13
13
  //# sourceMappingURL=Editor.cjs.map
14
14
  //# sourceMappingURL=Editor.cjs.map
@@ -1,3 +1,3 @@
1
1
  import 'react';
2
2
  import '@tiptap/react';
3
- export { c as CustomToolbarItem, E as Editor, a as EditorProps, b as EditorToolItem, T as ToolbarItem, d as ToolbarItemId } from '../../Editor-CHBOfOWf.cjs';
3
+ export { c as CustomToolbarItem, E as Editor, a as EditorProps, b as EditorToolItem, T as ToolbarItem, d as ToolbarItemId } from '../../Editor-DEv5IZeb.cjs';
@@ -1,3 +1,3 @@
1
1
  import 'react';
2
2
  import '@tiptap/react';
3
- export { c as CustomToolbarItem, E as Editor, a as EditorProps, b as EditorToolItem, T as ToolbarItem, d as ToolbarItemId } from '../../Editor-CHBOfOWf.js';
3
+ export { c as CustomToolbarItem, E as Editor, a as EditorProps, b as EditorToolItem, T as ToolbarItem, d as ToolbarItemId } from '../../Editor-DEv5IZeb.js';
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { Editor } from '../../chunk-DXUWFHPF.js';
2
+ export { Editor } from '../../chunk-EQUQBLJC.js';
3
3
  import '../../chunk-ZLIYUUA4.js';
4
4
  //# sourceMappingURL=Editor.js.map
5
5
  //# sourceMappingURL=Editor.js.map