@andreagiugni/tailwind-dashboard-ui 1.0.3 → 1.0.5

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.
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { Calendar } from '../../chunk-PYZG7RY7.js';
2
+ export { Calendar } from '../../chunk-NJBVRPWW.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 chunkZQ6544NY_cjs = require('../../chunk-ZQ6544NY.cjs');
4
+ var chunkXSKRXE7E_cjs = require('../../chunk-XSKRXE7E.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 chunkZQ6544NY_cjs.ColorPicker; }
12
+ get: function () { return chunkXSKRXE7E_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-W3TC7P3Z.js';
2
+ export { ColorPicker } from '../../chunk-OD6N6XWO.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 chunkYBVFFVZT_cjs = require('../../chunk-YBVFFVZT.cjs');
4
+ var chunkETOOIXCY_cjs = require('../../chunk-ETOOIXCY.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 chunkYBVFFVZT_cjs.Editor; }
11
+ get: function () { return chunkETOOIXCY_cjs.Editor; }
12
12
  });
13
13
  //# sourceMappingURL=Editor.cjs.map
14
14
  //# sourceMappingURL=Editor.cjs.map
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { Editor } from '../../chunk-EQUQBLJC.js';
2
+ export { Editor } from '../../chunk-PFCUA2W2.js';
3
3
  import '../../chunk-ZLIYUUA4.js';
4
4
  //# sourceMappingURL=Editor.js.map
5
5
  //# sourceMappingURL=Editor.js.map
package/dist/index.cjs CHANGED
@@ -3,9 +3,9 @@
3
3
 
4
4
  var chunk2C5QY3Z2_cjs = require('./chunk-2C5QY3Z2.cjs');
5
5
  var chunk3EE6CPHW_cjs = require('./chunk-3EE6CPHW.cjs');
6
- var chunk5DEBWZY7_cjs = require('./chunk-5DEBWZY7.cjs');
7
- var chunkYBVFFVZT_cjs = require('./chunk-YBVFFVZT.cjs');
8
- var chunkZQ6544NY_cjs = require('./chunk-ZQ6544NY.cjs');
6
+ var chunkGBQCVSZU_cjs = require('./chunk-GBQCVSZU.cjs');
7
+ var chunkETOOIXCY_cjs = require('./chunk-ETOOIXCY.cjs');
8
+ var chunkXSKRXE7E_cjs = require('./chunk-XSKRXE7E.cjs');
9
9
  var chunkTF3G3E72_cjs = require('./chunk-TF3G3E72.cjs');
10
10
  var chunkYERNSNT4_cjs = require('./chunk-YERNSNT4.cjs');
11
11
  var jsxRuntime = require('react/jsx-runtime');
@@ -240,7 +240,7 @@ var Alert = ({
240
240
  className: chunkYERNSNT4_cjs.cn("rounded-xl border p-4", variantClasses2[variant].container, className),
241
241
  ...rest,
242
242
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
243
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYERNSNT4_cjs.cn("-mt-0.5", variantClasses2[variant].icon), children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-6 w-6", "aria-hidden": "true" }) }),
243
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYERNSNT4_cjs.cn("-mt-0.5", variantClasses2[variant].icon), children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4", "aria-hidden": "true" }) }),
244
244
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
245
245
  /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "mb-1 text-sm font-semibold text-gray-800 dark:text-white/90", children: title }),
246
246
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: message }),
@@ -461,7 +461,7 @@ var DropdownItem = ({
461
461
  "span",
462
462
  {
463
463
  "aria-hidden": "true",
464
- className: "flex h-5 w-5 shrink-0 items-center justify-center [&>svg]:h-5 [&>svg]:w-5",
464
+ className: "flex h-5 w-5 shrink-0 items-center justify-center [&>svg]:size-4",
465
465
  children: icon
466
466
  }
467
467
  ),
@@ -527,7 +527,7 @@ var Dropzone = ({
527
527
  }
528
528
  ),
529
529
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
530
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-[22px] flex justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[68px] w-[68px] items-center justify-center rounded-full bg-gray-200 text-gray-700 dark:bg-gray-800 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { className: "h-7 w-7", "aria-hidden": "true" }) }) }),
530
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-[22px] flex justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[68px] w-[68px] items-center justify-center rounded-full bg-gray-200 text-gray-700 dark:bg-gray-800 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { className: "size-4", "aria-hidden": "true" }) }) }),
531
531
  /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "mb-3 text-theme-xl font-semibold text-gray-800 dark:text-white/90", children: title ?? (isDragActive ? "Drop Files Here" : "Drag & Drop Files Here") }),
532
532
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-5 block w-full max-w-[290px] text-center text-sm text-gray-700 dark:text-gray-400", children: description }),
533
533
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-theme-sm font-medium text-brand-500 underline", children: browseLabel })
@@ -632,6 +632,8 @@ var Input = ({
632
632
  style,
633
633
  ...rest
634
634
  }) => {
635
+ const placeholder = typeof rest.placeholder === "string" ? rest.placeholder.trim() : "";
636
+ const placeholderMinWidth = placeholder ? `${Math.min(Math.max(placeholder.length + 6, 18), 40)}ch` : void 0;
635
637
  const stateClass = disabled ? "text-gray-500 border-gray-300 cursor-not-allowed dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700" : error ? "text-error-800 border-error-500 focus:ring-3 focus:ring-error-500/10 dark:text-error-400 dark:border-error-500" : success ? "text-success-500 border-success-400 focus:ring-success-500/10 focus:border-success-300 dark:text-success-400 dark:border-success-500" : "text-gray-800 border-gray-300 focus:border-brand-300 focus:ring-3 focus:ring-brand-500/10 dark:border-gray-700 dark:text-white/90 dark:focus:border-brand-800";
636
638
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
637
639
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -643,7 +645,11 @@ var Input = ({
643
645
  stateClass,
644
646
  className
645
647
  ),
646
- style: { ...styleOverride({ bgColor, textColor, borderColor }), ...style },
648
+ style: {
649
+ minWidth: placeholderMinWidth,
650
+ ...styleOverride({ bgColor, textColor, borderColor }),
651
+ ...style
652
+ },
647
653
  ...rest
648
654
  }
649
655
  ),
@@ -683,7 +689,7 @@ function SortIcon({
683
689
  {
684
690
  "data-sort-direction": "asc",
685
691
  "aria-hidden": "true",
686
- className: chunkYERNSNT4_cjs.cn("h-3 w-3", state === "asc" ? active : inactive)
692
+ className: chunkYERNSNT4_cjs.cn("size-4", state === "asc" ? active : inactive)
687
693
  }
688
694
  ),
689
695
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -691,7 +697,7 @@ function SortIcon({
691
697
  {
692
698
  "data-sort-direction": "desc",
693
699
  "aria-hidden": "true",
694
- className: chunkYERNSNT4_cjs.cn("h-3 w-3", state === "desc" ? active : inactive)
700
+ className: chunkYERNSNT4_cjs.cn("size-4", state === "desc" ? active : inactive)
695
701
  }
696
702
  )
697
703
  ]
@@ -790,7 +796,7 @@ function DataDrivenTable({
790
796
  lucideReact.ChevronDown,
791
797
  {
792
798
  "aria-hidden": "true",
793
- className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
799
+ className: "pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
794
800
  }
795
801
  )
796
802
  ] }),
@@ -807,7 +813,7 @@ function DataDrivenTable({
807
813
  setSearch(e.target.value);
808
814
  setPage(1);
809
815
  },
810
- className: "max-w-[220px]"
816
+ className: "sm:w-auto"
811
817
  }
812
818
  )
813
819
  ] }),
@@ -946,7 +952,7 @@ function Table({
946
952
  }
947
953
  return /* @__PURE__ */ jsxRuntime.jsx("table", { className: chunkYERNSNT4_cjs.cn("min-w-full", className), ...rest, children });
948
954
  }
949
- var ChevronIcon = () => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-4 w-4", strokeWidth: 1.5, "aria-hidden": "true" });
955
+ var ChevronIcon = () => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "size-4", strokeWidth: 1.5, "aria-hidden": "true" });
950
956
  var Breadcrumb = ({ pageTitle, items }) => {
951
957
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 mb-6", children: [
952
958
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1016,8 +1022,8 @@ var ThemeToggleButton = ({
1016
1022
  ),
1017
1023
  ...rest,
1018
1024
  children: [
1019
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { className: "hidden h-5 w-5 dark:block", "aria-hidden": "true" }),
1020
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Moon, { className: "h-5 w-5 dark:hidden", "aria-hidden": "true" })
1025
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { className: "hidden size-4 dark:block", "aria-hidden": "true" }),
1026
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Moon, { className: "size-4 dark:hidden", "aria-hidden": "true" })
1021
1027
  ]
1022
1028
  }
1023
1029
  );
@@ -1132,7 +1138,7 @@ var Toast = ({
1132
1138
  "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg",
1133
1139
  styles.iconWrap
1134
1140
  ),
1135
- children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-5 w-5", "aria-hidden": "true" })
1141
+ children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4", "aria-hidden": "true" })
1136
1142
  }
1137
1143
  ),
1138
1144
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
@@ -1146,7 +1152,7 @@ var Toast = ({
1146
1152
  "aria-label": "Close",
1147
1153
  onClick: onClose,
1148
1154
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 transition hover:text-gray-700 dark:hover:text-gray-200",
1149
- children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-[18px] w-[18px]", "aria-hidden": "true" })
1155
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4", "aria-hidden": "true" })
1150
1156
  }
1151
1157
  ),
1152
1158
  !hideAccentBar && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1165,7 +1171,7 @@ var ChevronIcon2 = ({ open }) => /* @__PURE__ */ jsxRuntime.jsx(
1165
1171
  lucideReact.ChevronDown,
1166
1172
  {
1167
1173
  className: chunkYERNSNT4_cjs.cn(
1168
- "h-5 w-5 shrink-0 text-gray-500 transition-transform duration-200 dark:text-gray-400",
1174
+ "size-4 shrink-0 text-gray-500 transition-transform duration-200 dark:text-gray-400",
1169
1175
  open && "rotate-180"
1170
1176
  ),
1171
1177
  "aria-hidden": "true"
@@ -1644,7 +1650,7 @@ var Drawer = ({
1644
1650
  onClick: onClose,
1645
1651
  "aria-label": "Close drawer",
1646
1652
  className: "absolute right-3 top-3 z-99 flex h-9.5 w-9.5 items-center justify-center rounded-full bg-gray-100 text-gray-400 transition-colors hover:bg-gray-200 hover:text-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",
1647
- children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-6 w-6", "aria-hidden": "true" })
1653
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4", "aria-hidden": "true" })
1648
1654
  }
1649
1655
  ),
1650
1656
  children
@@ -1717,7 +1723,7 @@ var Chip = ({
1717
1723
  "aria-label": "Remove",
1718
1724
  onClick: onClose,
1719
1725
  className: "ml-0.5 flex h-4 w-4 items-center justify-center rounded-full text-current opacity-70 transition hover:opacity-100 focus:outline-none",
1720
- children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-3 w-3", strokeWidth: 2, "aria-hidden": "true" })
1726
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4", strokeWidth: 2, "aria-hidden": "true" })
1721
1727
  }
1722
1728
  )
1723
1729
  ]
@@ -1983,7 +1989,7 @@ var Snippet = ({
1983
1989
  "absolute right-2 top-2 inline-flex h-7 w-7 items-center justify-center rounded-lg text-gray-500 transition hover:bg-gray-200 hover:text-gray-700 focus:outline-hidden focus:ring-3 focus:ring-brand-500/10 dark:text-gray-400 dark:hover:bg-white/10 dark:hover:text-white/90",
1984
1990
  copied && "text-success-500 dark:text-success-500"
1985
1991
  ),
1986
- children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "h-4 w-4", "aria-hidden": "true" })
1992
+ children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "size-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "size-4", "aria-hidden": "true" })
1987
1993
  }
1988
1994
  )
1989
1995
  ]
@@ -2083,7 +2089,7 @@ var Checkbox = ({
2083
2089
  checked && /* @__PURE__ */ jsxRuntime.jsx(
2084
2090
  lucideReact.Check,
2085
2091
  {
2086
- className: "pointer-events-none absolute left-1/2 top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 text-white",
2092
+ className: "pointer-events-none absolute left-1/2 top-1/2 size-4 -translate-x-1/2 -translate-y-1/2 text-white",
2087
2093
  strokeWidth: 3,
2088
2094
  "aria-hidden": "true"
2089
2095
  }
@@ -2091,7 +2097,7 @@ var Checkbox = ({
2091
2097
  disabled && /* @__PURE__ */ jsxRuntime.jsx(
2092
2098
  lucideReact.Check,
2093
2099
  {
2094
- className: "pointer-events-none absolute left-1/2 top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 text-gray-200",
2100
+ className: "pointer-events-none absolute left-1/2 top-1/2 size-4 -translate-x-1/2 -translate-y-1/2 text-gray-200",
2095
2101
  strokeWidth: 3,
2096
2102
  "aria-hidden": "true"
2097
2103
  }
@@ -2220,7 +2226,12 @@ var Switch = ({
2220
2226
  defaultChecked = false,
2221
2227
  disabled = false,
2222
2228
  onChange,
2223
- color = "blue"
2229
+ color = "blue",
2230
+ className,
2231
+ onClick,
2232
+ onKeyDown,
2233
+ "aria-label": ariaLabel,
2234
+ ...rest
2224
2235
  }) => {
2225
2236
  const isControlled = checked !== void 0;
2226
2237
  const [internalChecked, setInternalChecked] = React5.useState(defaultChecked);
@@ -2235,6 +2246,20 @@ var Switch = ({
2235
2246
  onChange(newCheckedState);
2236
2247
  }
2237
2248
  };
2249
+ const handleClick = (event) => {
2250
+ onClick?.(event);
2251
+ if (!event.defaultPrevented) {
2252
+ handleToggle();
2253
+ }
2254
+ };
2255
+ const handleKeyDown = (event) => {
2256
+ onKeyDown?.(event);
2257
+ if (event.defaultPrevented) return;
2258
+ if (event.key === " " || event.key === "Enter") {
2259
+ event.preventDefault();
2260
+ handleToggle();
2261
+ }
2262
+ };
2238
2263
  const offTrack = "bg-gray-200 ring-1 ring-inset ring-gray-300 dark:bg-white/10 dark:ring-gray-700";
2239
2264
  const switchColors = color === "blue" ? {
2240
2265
  background: isChecked ? "bg-brand-500 " : offTrack,
@@ -2245,14 +2270,23 @@ var Switch = ({
2245
2270
  // Gray version
2246
2271
  knob: isChecked ? "translate-x-full bg-white" : "translate-x-0 bg-white"
2247
2272
  };
2273
+ const hasLabel = label !== void 0 && label !== null && label !== "";
2248
2274
  return /* @__PURE__ */ jsxRuntime.jsxs(
2249
2275
  "label",
2250
2276
  {
2277
+ role: "switch",
2278
+ "aria-checked": isChecked,
2279
+ "aria-disabled": disabled || void 0,
2280
+ "aria-label": ariaLabel ?? (!hasLabel ? "Toggle switch" : void 0),
2281
+ tabIndex: disabled ? -1 : 0,
2251
2282
  className: chunkYERNSNT4_cjs.cn(
2252
2283
  "flex cursor-pointer select-none items-center gap-3 text-sm font-medium",
2253
- disabled ? "text-gray-400" : "text-gray-700 dark:text-gray-400"
2284
+ disabled ? "text-gray-400" : "text-gray-700 dark:text-gray-400",
2285
+ className
2254
2286
  ),
2255
- onClick: handleToggle,
2287
+ onClick: handleClick,
2288
+ onKeyDown: handleKeyDown,
2289
+ ...rest,
2256
2290
  children: [
2257
2291
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
2258
2292
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2274,7 +2308,7 @@ var Switch = ({
2274
2308
  }
2275
2309
  )
2276
2310
  ] }),
2277
- label
2311
+ hasLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { children: label })
2278
2312
  ]
2279
2313
  }
2280
2314
  );
@@ -2336,7 +2370,7 @@ var Select = ({
2336
2370
  "span",
2337
2371
  {
2338
2372
  "aria-hidden": "true",
2339
- className: "flex h-5 w-5 shrink-0 items-center justify-center [&>svg]:h-4 [&>svg]:w-4",
2373
+ className: "flex h-5 w-5 shrink-0 items-center justify-center [&>svg]:size-4",
2340
2374
  children: selectedOption.icon
2341
2375
  }
2342
2376
  ),
@@ -2346,7 +2380,7 @@ var Select = ({
2346
2380
  lucideReact.ChevronDown,
2347
2381
  {
2348
2382
  className: chunkYERNSNT4_cjs.cn(
2349
- "ml-2 h-5 w-5 shrink-0 stroke-current text-gray-500 transition-transform dark:text-gray-400",
2383
+ "ml-2 size-4 shrink-0 stroke-current text-gray-500 transition-transform dark:text-gray-400",
2350
2384
  isOpen && "rotate-180"
2351
2385
  ),
2352
2386
  "aria-hidden": "true"
@@ -2381,7 +2415,7 @@ var Select = ({
2381
2415
  "span",
2382
2416
  {
2383
2417
  "aria-hidden": "true",
2384
- className: "flex h-5 w-5 shrink-0 items-center justify-center [&>svg]:h-4 [&>svg]:w-4",
2418
+ className: "flex h-5 w-5 shrink-0 items-center justify-center [&>svg]:size-4",
2385
2419
  children: option.icon
2386
2420
  }
2387
2421
  ),
@@ -2390,7 +2424,7 @@ var Select = ({
2390
2424
  isSelected && /* @__PURE__ */ jsxRuntime.jsx(
2391
2425
  lucideReact.Check,
2392
2426
  {
2393
- className: "ml-2 h-4 w-4 shrink-0 stroke-current",
2427
+ className: "ml-2 size-4 shrink-0 stroke-current",
2394
2428
  "aria-hidden": "true"
2395
2429
  }
2396
2430
  )
@@ -2444,7 +2478,7 @@ var MultiSelect = ({
2444
2478
  {
2445
2479
  onClick: () => removeOption(index, selectedOptions[index]),
2446
2480
  className: "pl-2 text-gray-500 cursor-pointer group-hover:text-gray-400 dark:text-gray-400",
2447
- children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-3.5 w-3.5", role: "button", "aria-hidden": "true" })
2481
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4", role: "button", "aria-hidden": "true" })
2448
2482
  }
2449
2483
  ) })
2450
2484
  ]
@@ -2468,7 +2502,7 @@ var MultiSelect = ({
2468
2502
  children: /* @__PURE__ */ jsxRuntime.jsx(
2469
2503
  lucideReact.ChevronDown,
2470
2504
  {
2471
- className: `stroke-current ${isOpen ? "rotate-180" : ""}`,
2505
+ className: `size-4 stroke-current ${isOpen ? "rotate-180" : ""}`,
2472
2506
  "aria-hidden": "true"
2473
2507
  }
2474
2508
  )
@@ -2505,7 +2539,7 @@ var MultiSelect = ({
2505
2539
  isSelected && /* @__PURE__ */ jsxRuntime.jsx(
2506
2540
  lucideReact.Check,
2507
2541
  {
2508
- className: "mr-2 h-4 w-4 shrink-0 stroke-current text-brand-500",
2542
+ className: "mr-2 size-4 shrink-0 stroke-current text-brand-500",
2509
2543
  "aria-hidden": "true"
2510
2544
  }
2511
2545
  )
@@ -2567,7 +2601,7 @@ var DatePicker = ({
2567
2601
  className: "h-11 w-full rounded-lg border appearance-none pl-4 pr-11 py-2.5 text-sm shadow-theme-xs placeholder:text-gray-400 focus:outline-hidden focus:ring-3 dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30 bg-white text-gray-800 border-gray-300 focus:border-brand-300 focus:ring-brand-500/20 dark:border-gray-700 dark:focus:border-brand-800"
2568
2602
  }
2569
2603
  ),
2570
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute text-gray-500 -translate-y-1/2 pointer-events-none right-3 top-1/2 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "size-6", "aria-hidden": "true" }) })
2604
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute text-gray-500 -translate-y-1/2 pointer-events-none right-3 top-1/2 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "size-4", "aria-hidden": "true" }) })
2571
2605
  ] })
2572
2606
  ] });
2573
2607
  };
@@ -2643,7 +2677,7 @@ var DateTimePicker = ({
2643
2677
  className: "h-11 w-full appearance-none rounded-lg border border-gray-300 bg-white py-2.5 pl-4 pr-11 text-sm text-gray-800 shadow-theme-xs placeholder:text-gray-400 focus:border-brand-300 focus:outline-hidden focus:ring-3 focus:ring-brand-500/20 dark:border-gray-700 dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30 dark:focus:border-brand-800"
2644
2678
  }
2645
2679
  ),
2646
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "size-6", "aria-hidden": "true" }) })
2680
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "size-4", "aria-hidden": "true" }) })
2647
2681
  ] }),
2648
2682
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-11 items-center rounded-lg border border-gray-300 bg-white px-3 text-sm text-gray-800 shadow-theme-xs focus-within:border-brand-300 focus-within:ring-3 focus-within:ring-brand-500/20 dark:border-gray-700 dark:bg-gray-900 dark:text-white/90 dark:focus-within:border-brand-800", children: [
2649
2683
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2673,7 +2707,7 @@ var DateTimePicker = ({
2673
2707
  className: timeFieldClass
2674
2708
  }
2675
2709
  ),
2676
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-1 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Clock, { className: "h-5 w-5", "aria-hidden": "true" }) })
2710
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-1 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Clock, { className: "size-4", "aria-hidden": "true" }) })
2677
2711
  ] })
2678
2712
  ] })
2679
2713
  ] });
@@ -2702,7 +2736,7 @@ var PasswordInput = ({
2702
2736
  onClick: () => setShow((s) => !s),
2703
2737
  "aria-label": show ? "Hide password" : "Show password",
2704
2738
  className: "absolute right-4 top-1/2 z-30 -translate-y-1/2 cursor-pointer text-gray-500 dark:text-gray-400",
2705
- children: show ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Eye, { className: "h-5 w-5", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.EyeOff, { className: "h-5 w-5", "aria-hidden": "true" })
2739
+ children: show ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Eye, { className: "size-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.EyeOff, { className: "size-4", "aria-hidden": "true" })
2706
2740
  }
2707
2741
  )
2708
2742
  ] });
@@ -2819,19 +2853,19 @@ Object.defineProperty(exports, "LineChart", {
2819
2853
  });
2820
2854
  Object.defineProperty(exports, "Calendar", {
2821
2855
  enumerable: true,
2822
- get: function () { return chunk5DEBWZY7_cjs.Calendar; }
2856
+ get: function () { return chunkGBQCVSZU_cjs.Calendar; }
2823
2857
  });
2824
2858
  Object.defineProperty(exports, "Modal", {
2825
2859
  enumerable: true,
2826
- get: function () { return chunk5DEBWZY7_cjs.Modal; }
2860
+ get: function () { return chunkGBQCVSZU_cjs.Modal; }
2827
2861
  });
2828
2862
  Object.defineProperty(exports, "Editor", {
2829
2863
  enumerable: true,
2830
- get: function () { return chunkYBVFFVZT_cjs.Editor; }
2864
+ get: function () { return chunkETOOIXCY_cjs.Editor; }
2831
2865
  });
2832
2866
  Object.defineProperty(exports, "ColorPicker", {
2833
2867
  enumerable: true,
2834
- get: function () { return chunkZQ6544NY_cjs.ColorPicker; }
2868
+ get: function () { return chunkXSKRXE7E_cjs.ColorPicker; }
2835
2869
  });
2836
2870
  Object.defineProperty(exports, "cn", {
2837
2871
  enumerable: true,