@particle-academy/react-fancy 4.4.4 → 4.4.6

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.cjs CHANGED
@@ -3,31 +3,11 @@
3
3
  var react = require('react');
4
4
  var clsx = require('clsx');
5
5
  var tailwindMerge = require('tailwind-merge');
6
- var LucideIcons = require('lucide-react');
7
6
  var jsxRuntime = require('react/jsx-runtime');
8
7
  var reactDom = require('react-dom');
8
+ var lucideReact = require('lucide-react');
9
9
  var marked = require('marked');
10
10
 
11
- function _interopNamespace(e) {
12
- if (e && e.__esModule) return e;
13
- var n = Object.create(null);
14
- if (e) {
15
- Object.keys(e).forEach(function (k) {
16
- if (k !== 'default') {
17
- var d = Object.getOwnPropertyDescriptor(e, k);
18
- Object.defineProperty(n, k, d.get ? d : {
19
- enumerable: true,
20
- get: function () { return e[k]; }
21
- });
22
- }
23
- });
24
- }
25
- n.default = e;
26
- return Object.freeze(n);
27
- }
28
-
29
- var LucideIcons__namespace = /*#__PURE__*/_interopNamespace(LucideIcons);
30
-
31
11
  // src/components/Button/Button.tsx
32
12
  function cn(...inputs) {
33
13
  return tailwindMerge.twMerge(clsx.clsx(inputs));
@@ -2122,14 +2102,40 @@ function applyTone(char, tone) {
2122
2102
  const idx = SKIN_TONES.indexOf(tone);
2123
2103
  return entry.skinTones[idx] ?? char;
2124
2104
  }
2105
+
2106
+ // src/components/Icon/icon-config.ts
2125
2107
  var registry = /* @__PURE__ */ new Map();
2126
2108
  var defaultSetName = "lucide";
2127
2109
  function kebabToPascal(str) {
2128
2110
  return str.split("-").map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join("");
2129
2111
  }
2112
+ var lucideModule = null;
2113
+ var lucidePromise = null;
2114
+ var lucideVersion = 0;
2115
+ var lucideListeners = /* @__PURE__ */ new Set();
2116
+ function ensureLucideLoaded() {
2117
+ if (lucideModule || lucidePromise) return;
2118
+ lucidePromise = import('lucide-react').then((mod) => {
2119
+ lucideModule = mod;
2120
+ lucideVersion++;
2121
+ for (const listener of lucideListeners) listener();
2122
+ }).catch(() => {
2123
+ });
2124
+ }
2125
+ function subscribeIconResolution(listener) {
2126
+ lucideListeners.add(listener);
2127
+ return () => lucideListeners.delete(listener);
2128
+ }
2129
+ function getIconResolutionVersion() {
2130
+ return lucideVersion;
2131
+ }
2130
2132
  function resolveFromLucide(name) {
2133
+ if (!lucideModule) {
2134
+ ensureLucideLoaded();
2135
+ return null;
2136
+ }
2131
2137
  const pascal = kebabToPascal(name);
2132
- const icon = LucideIcons__namespace[pascal];
2138
+ const icon = lucideModule[pascal];
2133
2139
  return typeof icon === "function" || icon && typeof icon === "object" ? icon : null;
2134
2140
  }
2135
2141
  function registerIcons(icons) {
@@ -2182,6 +2188,11 @@ var sizePixels = {
2182
2188
  };
2183
2189
  var Icon = react.forwardRef(
2184
2190
  ({ size = "md", className, children, name, iconSet, ...props }, ref) => {
2191
+ react.useSyncExternalStore(
2192
+ subscribeIconResolution,
2193
+ getIconResolutionVersion,
2194
+ getIconResolutionVersion
2195
+ );
2185
2196
  let content = children;
2186
2197
  if (name && !children) {
2187
2198
  const ResolvedIcon = resolveIcon(name, iconSet);
@@ -3330,6 +3341,28 @@ function useFloatingPosition(anchorRef, floatingRef, options = {}) {
3330
3341
  react.useEffect(() => {
3331
3342
  if (enabled) update();
3332
3343
  });
3344
+ react.useEffect(() => {
3345
+ if (!enabled) return;
3346
+ let raf = 0;
3347
+ let ro = null;
3348
+ const tick = () => {
3349
+ const el = floatingRef.current;
3350
+ if (el) {
3351
+ update();
3352
+ if (typeof ResizeObserver !== "undefined") {
3353
+ ro = new ResizeObserver(() => update());
3354
+ ro.observe(el);
3355
+ }
3356
+ } else {
3357
+ raf = requestAnimationFrame(tick);
3358
+ }
3359
+ };
3360
+ raf = requestAnimationFrame(tick);
3361
+ return () => {
3362
+ cancelAnimationFrame(raf);
3363
+ ro?.disconnect();
3364
+ };
3365
+ }, [enabled, update, floatingRef]);
3333
3366
  react.useEffect(() => {
3334
3367
  if (!enabled) {
3335
3368
  setPosition(
@@ -6616,7 +6649,7 @@ var Callout = react.forwardRef(
6616
6649
  "shrink-0 rounded p-0.5 opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-current"
6617
6650
  ),
6618
6651
  "aria-label": "Dismiss",
6619
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 16 })
6652
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 16 })
6620
6653
  }
6621
6654
  )
6622
6655
  ]
@@ -7855,7 +7888,7 @@ function ModalHeader({ children, className }) {
7855
7888
  onClick: close,
7856
7889
  className: "rounded-lg p-1 text-zinc-400 transition-colors hover:bg-zinc-100 hover:text-zinc-600 dark:hover:bg-zinc-800 dark:hover:text-zinc-300",
7857
7890
  "aria-label": "Close",
7858
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 20 })
7891
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 20 })
7859
7892
  }
7860
7893
  )
7861
7894
  ]
@@ -8034,10 +8067,10 @@ function ToastItem({ data, onDismiss }) {
8034
8067
  ),
8035
8068
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
8036
8069
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-0.5 shrink-0", VARIANT_ICON_COLORS[variant]), children: [
8037
- variant === "success" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Check, { size: 16 }),
8038
- variant === "error" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.XCircle, { size: 16 }),
8039
- variant === "warning" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.AlertTriangle, { size: 16 }),
8040
- variant === "info" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Info, { size: 16 })
8070
+ variant === "success" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { size: 16 }),
8071
+ variant === "error" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XCircle, { size: 16 }),
8072
+ variant === "warning" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertTriangle, { size: 16 }),
8073
+ variant === "info" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Info, { size: 16 })
8041
8074
  ] }),
8042
8075
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
8043
8076
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-zinc-900 dark:text-zinc-100", children: title }),
@@ -8050,7 +8083,7 @@ function ToastItem({ data, onDismiss }) {
8050
8083
  onClick: () => onDismiss(id),
8051
8084
  className: "shrink-0 rounded p-0.5 text-zinc-400 transition-colors hover:text-zinc-600 dark:hover:text-zinc-300",
8052
8085
  "aria-label": "Dismiss",
8053
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 14 })
8086
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 14 })
8054
8087
  }
8055
8088
  )
8056
8089
  ] })
@@ -8117,7 +8150,7 @@ function CommandInput({
8117
8150
  }) {
8118
8151
  const { query, setQuery } = useCommand();
8119
8152
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-react-fancy-command-input": "", className: "flex items-center border-b border-zinc-200 px-4 dark:border-zinc-700", children: [
8120
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Search, { size: 16, className: "shrink-0 text-zinc-400" }),
8153
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { size: 16, className: "shrink-0 text-zinc-400" }),
8121
8154
  /* @__PURE__ */ jsxRuntime.jsx(
8122
8155
  "input",
8123
8156
  {
@@ -8476,7 +8509,7 @@ function AccordionTrigger({
8476
8509
  ),
8477
8510
  children: [
8478
8511
  children,
8479
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 16, className: cn("shrink-0 transition-transform duration-200", isOpen && "rotate-180") })
8512
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 16, className: cn("shrink-0 transition-transform duration-200", isOpen && "rotate-180") })
8480
8513
  ]
8481
8514
  }
8482
8515
  );
@@ -8563,7 +8596,7 @@ function BreadcrumbsDropdown({ items, activeLabel }) {
8563
8596
  className: "flex items-center gap-1 rounded-lg px-2 py-1 text-sm font-medium text-zinc-900 hover:bg-zinc-100 dark:text-white dark:hover:bg-zinc-800",
8564
8597
  children: [
8565
8598
  activeLabel,
8566
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 14, className: cn("transition-transform", open && "rotate-180") })
8599
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 14, className: cn("transition-transform", open && "rotate-180") })
8567
8600
  ]
8568
8601
  }
8569
8602
  ),
@@ -8588,7 +8621,7 @@ function BreadcrumbsRoot({
8588
8621
  }) {
8589
8622
  const items = react.Children.toArray(children);
8590
8623
  const [expanded, setExpanded] = react.useState(false);
8591
- const sep = separator ?? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 12, className: "text-zinc-400" });
8624
+ const sep = separator ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 12, className: "text-zinc-400" });
8592
8625
  const lastItem = items[items.length - 1];
8593
8626
  const dropdownItems = items.map((child) => {
8594
8627
  const el = child;
@@ -8692,7 +8725,7 @@ function NavbarToggle({ className }) {
8692
8725
  ),
8693
8726
  "aria-label": "Toggle navigation",
8694
8727
  "aria-expanded": mobileOpen,
8695
- children: mobileOpen ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 20 }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Menu, { size: 20 })
8728
+ children: mobileOpen ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 20 }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Menu, { size: 20 })
8696
8729
  }
8697
8730
  );
8698
8731
  }
@@ -8772,7 +8805,7 @@ function Pagination({
8772
8805
  onClick: () => onPageChange(page - 1),
8773
8806
  className: cn(btnBase, btnDefault, page <= 1 && btnDisabled, "px-2"),
8774
8807
  "aria-label": "Previous page",
8775
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronLeft, { size: 16 })
8808
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { size: 16 })
8776
8809
  }
8777
8810
  ),
8778
8811
  pages.map(
@@ -8805,7 +8838,7 @@ function Pagination({
8805
8838
  "px-2"
8806
8839
  ),
8807
8840
  "aria-label": "Next page",
8808
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 16 })
8841
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 16 })
8809
8842
  }
8810
8843
  )
8811
8844
  ] });
@@ -9020,7 +9053,7 @@ var Pillbox = react.forwardRef(
9020
9053
  },
9021
9054
  className: "text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300",
9022
9055
  "aria-label": `Remove ${item}`,
9023
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 12 })
9056
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 12 })
9024
9057
  }
9025
9058
  )
9026
9059
  ]
@@ -9195,7 +9228,7 @@ function FileUploadDropzone({
9195
9228
  }
9196
9229
  ),
9197
9230
  children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
9198
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Upload, { size: 32, strokeWidth: 1.5, className: "mb-2 text-zinc-400" }),
9231
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { size: 32, strokeWidth: 1.5, className: "mb-2 text-zinc-400" }),
9199
9232
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-zinc-500", children: "Drop files here or click to browse" })
9200
9233
  ] })
9201
9234
  ]
@@ -9223,7 +9256,7 @@ function ThumbnailItem({ file, index, onRemove }) {
9223
9256
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group relative flex w-20 flex-col items-center gap-1", children: [
9224
9257
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative h-20 w-20 overflow-hidden rounded-lg border border-zinc-200 bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-800", children: [
9225
9258
  isImage && objectUrl ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: objectUrl, alt: file.name, className: "h-full w-full object-cover" }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full w-full flex-col items-center justify-center gap-1", children: [
9226
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.File, { size: 20, className: "text-zinc-400" }),
9259
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.File, { size: 20, className: "text-zinc-400" }),
9227
9260
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-medium text-zinc-500", children: getExtension(file.name) })
9228
9261
  ] }),
9229
9262
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -9233,7 +9266,7 @@ function ThumbnailItem({ file, index, onRemove }) {
9233
9266
  onClick: () => onRemove(index),
9234
9267
  className: "absolute top-1 right-1 flex h-5 w-5 items-center justify-center rounded-full bg-black/60 text-white opacity-0 transition-opacity hover:bg-black/80 group-hover:opacity-100",
9235
9268
  "aria-label": `Remove ${file.name}`,
9236
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 10 })
9269
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 10 })
9237
9270
  }
9238
9271
  )
9239
9272
  ] }),
@@ -9251,7 +9284,7 @@ function FileUploadList({ thumbnail, className }) {
9251
9284
  {
9252
9285
  className: "flex items-center gap-3 rounded-lg border border-zinc-200 px-3 py-2 text-sm dark:border-zinc-700",
9253
9286
  children: [
9254
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.File, { size: 16, className: "shrink-0 text-zinc-400" }),
9287
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.File, { size: 16, className: "shrink-0 text-zinc-400" }),
9255
9288
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 truncate", children: file.name }),
9256
9289
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-zinc-400", children: formatSize(file.size) }),
9257
9290
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -9261,7 +9294,7 @@ function FileUploadList({ thumbnail, className }) {
9261
9294
  onClick: () => removeFile(i),
9262
9295
  className: "shrink-0 text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300",
9263
9296
  "aria-label": `Remove ${file.name}`,
9264
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 14 })
9297
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 14 })
9265
9298
  }
9266
9299
  )
9267
9300
  ]
@@ -9374,15 +9407,15 @@ var TimePicker = react.forwardRef(
9374
9407
  ),
9375
9408
  children: [
9376
9409
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
9377
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(1), disabled, className: spinBtnClass, "aria-label": "Increase hour", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronUp, { size: 14 }) }),
9410
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(1), disabled, className: spinBtnClass, "aria-label": "Increase hour", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { size: 14 }) }),
9378
9411
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: displayClass, children: pad(displayHour) }),
9379
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(-1), disabled, className: spinBtnClass, "aria-label": "Decrease hour", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 14 }) })
9412
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(-1), disabled, className: spinBtnClass, "aria-label": "Decrease hour", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 14 }) })
9380
9413
  ] }),
9381
9414
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg text-zinc-400", children: ":" }),
9382
9415
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
9383
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(minuteStep), disabled, className: spinBtnClass, "aria-label": "Increase minute", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronUp, { size: 14 }) }),
9416
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(minuteStep), disabled, className: spinBtnClass, "aria-label": "Increase minute", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { size: 14 }) }),
9384
9417
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: displayClass, children: pad(minutes) }),
9385
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(-minuteStep), disabled, className: spinBtnClass, "aria-label": "Decrease minute", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 14 }) })
9418
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(-minuteStep), disabled, className: spinBtnClass, "aria-label": "Decrease minute", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 14 }) })
9386
9419
  ] }),
9387
9420
  format === "12h" && /* @__PURE__ */ jsxRuntime.jsx(
9388
9421
  "button",
@@ -9553,7 +9586,7 @@ var Calendar = react.forwardRef(
9553
9586
  onClick: prevMonth,
9554
9587
  className: "rounded-lg p-1 text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",
9555
9588
  "aria-label": "Previous month",
9556
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronLeft, { size: 16 })
9589
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { size: 16 })
9557
9590
  }
9558
9591
  ),
9559
9592
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-semibold", children: [
@@ -9568,7 +9601,7 @@ var Calendar = react.forwardRef(
9568
9601
  onClick: nextMonth,
9569
9602
  className: "rounded-lg p-1 text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",
9570
9603
  "aria-label": "Next month",
9571
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 16 })
9604
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 16 })
9572
9605
  }
9573
9606
  )
9574
9607
  ] }),
@@ -11230,7 +11263,7 @@ function MenuSubmenu({
11230
11263
  children: [
11231
11264
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: icon }),
11232
11265
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
11233
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-3.5 w-3.5 opacity-60" })
11266
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-3.5 w-3.5 opacity-60" })
11234
11267
  ]
11235
11268
  }
11236
11269
  ),
@@ -11263,7 +11296,7 @@ function MenuSubmenu({
11263
11296
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: icon }),
11264
11297
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-left", children: label }),
11265
11298
  /* @__PURE__ */ jsxRuntime.jsx(
11266
- LucideIcons.ChevronDown,
11299
+ lucideReact.ChevronDown,
11267
11300
  {
11268
11301
  className: cn(
11269
11302
  "h-3.5 w-3.5 opacity-60 transition-transform duration-200",
@@ -11430,7 +11463,7 @@ function SidebarSubmenu({
11430
11463
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: icon }),
11431
11464
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-left", children: label }),
11432
11465
  /* @__PURE__ */ jsxRuntime.jsx(
11433
- LucideIcons.ChevronDown,
11466
+ lucideReact.ChevronDown,
11434
11467
  {
11435
11468
  className: cn(
11436
11469
  "h-3.5 w-3.5 opacity-60 transition-transform duration-200",
@@ -11468,7 +11501,7 @@ function SidebarToggle({ className }) {
11468
11501
  "hover:bg-zinc-100 hover:text-zinc-600 dark:hover:bg-zinc-800 dark:hover:text-zinc-300",
11469
11502
  className
11470
11503
  ),
11471
- children: collapsed ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.PanelLeftOpen, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.PanelLeftClose, { className: "h-4 w-4" })
11504
+ children: collapsed ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.PanelLeftOpen, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.PanelLeftClose, { className: "h-4 w-4" })
11472
11505
  }
11473
11506
  );
11474
11507
  }
@@ -11570,7 +11603,7 @@ function MobileMenuFlyout({
11570
11603
  type: "button",
11571
11604
  onClick: onClose,
11572
11605
  className: "flex h-8 w-8 items-center justify-center rounded-md text-zinc-400 transition-colors hover:bg-zinc-100 hover:text-zinc-600 dark:hover:bg-zinc-800 dark:hover:text-zinc-300",
11573
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-4 w-4" })
11606
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" })
11574
11607
  }
11575
11608
  )
11576
11609
  ] }),