@particle-academy/react-fancy 2.0.0 → 2.1.0

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/icons.cjs ADDED
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var lucideReact = require('lucide-react');
4
+
5
+
6
+
7
+ Object.keys(lucideReact).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return lucideReact[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=icons.cjs.map
14
+ //# sourceMappingURL=icons.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"icons.cjs","sourcesContent":[]}
@@ -0,0 +1 @@
1
+ export * from 'lucide-react';
@@ -0,0 +1 @@
1
+ export * from 'lucide-react';
package/dist/icons.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from 'lucide-react';
2
+ //# sourceMappingURL=icons.js.map
3
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"icons.js","sourcesContent":[]}
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
  var __defProp = Object.defineProperty;
32
12
  var __getOwnPropNames = Object.getOwnPropertyNames;
33
13
  var __esm = (fn, res) => function __init() {
@@ -1195,22 +1175,31 @@ function search(query) {
1195
1175
  function find(char) {
1196
1176
  return EMOJI_ENTRIES.find((e) => e.char === char);
1197
1177
  }
1178
+
1179
+ // src/components/Icon/icon-config.ts
1198
1180
  var registry = /* @__PURE__ */ new Map();
1199
1181
  var defaultSetName = "lucide";
1200
1182
  function kebabToPascal(str) {
1201
1183
  return str.split("-").map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join("");
1202
1184
  }
1203
- var lucideSet = {
1204
- resolve: (name) => {
1205
- const pascal = kebabToPascal(name);
1206
- const icon = LucideIcons__namespace[pascal];
1207
- if (typeof icon === "function" || typeof icon === "object" && icon !== null) {
1208
- return icon;
1209
- }
1210
- return null;
1185
+ function registerIcons(icons) {
1186
+ let set = registry.get("lucide");
1187
+ if (!set) {
1188
+ const map2 = /* @__PURE__ */ new Map();
1189
+ set = {
1190
+ resolve: (name) => {
1191
+ const pascal = kebabToPascal(name);
1192
+ return map2.get(pascal) ?? null;
1193
+ },
1194
+ _map: map2
1195
+ };
1196
+ registry.set("lucide", set);
1211
1197
  }
1212
- };
1213
- registry.set("lucide", lucideSet);
1198
+ const map = set._map;
1199
+ for (const [key, component] of Object.entries(icons)) {
1200
+ map.set(key, component);
1201
+ }
1202
+ }
1214
1203
  function registerIconSet(name, set) {
1215
1204
  registry.set(name, set);
1216
1205
  }
@@ -4868,7 +4857,7 @@ var Callout = react.forwardRef(
4868
4857
  "shrink-0 rounded p-0.5 opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-current"
4869
4858
  ),
4870
4859
  "aria-label": "Dismiss",
4871
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 16 })
4860
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 16 })
4872
4861
  }
4873
4862
  )
4874
4863
  ]
@@ -5638,7 +5627,7 @@ function ModalHeader({ children, className }) {
5638
5627
  onClick: close,
5639
5628
  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",
5640
5629
  "aria-label": "Close",
5641
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 20 })
5630
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 20 })
5642
5631
  }
5643
5632
  )
5644
5633
  ]
@@ -5815,10 +5804,10 @@ function ToastItem({ data, onDismiss }) {
5815
5804
  ),
5816
5805
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
5817
5806
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-0.5 shrink-0", VARIANT_ICON_COLORS[variant]), children: [
5818
- variant === "success" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Check, { size: 16 }),
5819
- variant === "error" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.XCircle, { size: 16 }),
5820
- variant === "warning" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.AlertTriangle, { size: 16 }),
5821
- variant === "info" && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Info, { size: 16 })
5807
+ variant === "success" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { size: 16 }),
5808
+ variant === "error" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XCircle, { size: 16 }),
5809
+ variant === "warning" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertTriangle, { size: 16 }),
5810
+ variant === "info" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Info, { size: 16 })
5822
5811
  ] }),
5823
5812
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
5824
5813
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-zinc-900 dark:text-zinc-100", children: title }),
@@ -5831,7 +5820,7 @@ function ToastItem({ data, onDismiss }) {
5831
5820
  onClick: () => onDismiss(id),
5832
5821
  className: "shrink-0 rounded p-0.5 text-zinc-400 transition-colors hover:text-zinc-600 dark:hover:text-zinc-300",
5833
5822
  "aria-label": "Dismiss",
5834
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 14 })
5823
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 14 })
5835
5824
  }
5836
5825
  )
5837
5826
  ] })
@@ -5898,7 +5887,7 @@ function CommandInput({
5898
5887
  }) {
5899
5888
  const { query, setQuery } = useCommand();
5900
5889
  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: [
5901
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Search, { size: 16, className: "shrink-0 text-zinc-400" }),
5890
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { size: 16, className: "shrink-0 text-zinc-400" }),
5902
5891
  /* @__PURE__ */ jsxRuntime.jsx(
5903
5892
  "input",
5904
5893
  {
@@ -6251,7 +6240,7 @@ function AccordionTrigger({
6251
6240
  ),
6252
6241
  children: [
6253
6242
  children,
6254
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 16, className: cn("shrink-0 transition-transform duration-200", isOpen && "rotate-180") })
6243
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 16, className: cn("shrink-0 transition-transform duration-200", isOpen && "rotate-180") })
6255
6244
  ]
6256
6245
  }
6257
6246
  );
@@ -6338,7 +6327,7 @@ function BreadcrumbsDropdown({ items, activeLabel }) {
6338
6327
  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",
6339
6328
  children: [
6340
6329
  activeLabel,
6341
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 14, className: cn("transition-transform", open && "rotate-180") })
6330
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 14, className: cn("transition-transform", open && "rotate-180") })
6342
6331
  ]
6343
6332
  }
6344
6333
  ),
@@ -6363,7 +6352,7 @@ function BreadcrumbsRoot({
6363
6352
  }) {
6364
6353
  const items = react.Children.toArray(children);
6365
6354
  const [expanded, setExpanded] = react.useState(false);
6366
- const sep = separator ?? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 12, className: "text-zinc-400" });
6355
+ const sep = separator ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 12, className: "text-zinc-400" });
6367
6356
  const lastItem = items[items.length - 1];
6368
6357
  const dropdownItems = items.map((child) => {
6369
6358
  const el = child;
@@ -6467,7 +6456,7 @@ function NavbarToggle({ className }) {
6467
6456
  ),
6468
6457
  "aria-label": "Toggle navigation",
6469
6458
  "aria-expanded": mobileOpen,
6470
- children: mobileOpen ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 20 }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Menu, { size: 20 })
6459
+ children: mobileOpen ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 20 }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Menu, { size: 20 })
6471
6460
  }
6472
6461
  );
6473
6462
  }
@@ -6547,7 +6536,7 @@ function Pagination({
6547
6536
  onClick: () => onPageChange(page - 1),
6548
6537
  className: cn(btnBase, btnDefault, page <= 1 && btnDisabled, "px-2"),
6549
6538
  "aria-label": "Previous page",
6550
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronLeft, { size: 16 })
6539
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { size: 16 })
6551
6540
  }
6552
6541
  ),
6553
6542
  pages.map(
@@ -6580,7 +6569,7 @@ function Pagination({
6580
6569
  "px-2"
6581
6570
  ),
6582
6571
  "aria-label": "Next page",
6583
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 16 })
6572
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 16 })
6584
6573
  }
6585
6574
  )
6586
6575
  ] });
@@ -6795,7 +6784,7 @@ var Pillbox = react.forwardRef(
6795
6784
  },
6796
6785
  className: "text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300",
6797
6786
  "aria-label": `Remove ${item}`,
6798
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 12 })
6787
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 12 })
6799
6788
  }
6800
6789
  )
6801
6790
  ]
@@ -6970,7 +6959,7 @@ function FileUploadDropzone({
6970
6959
  }
6971
6960
  ),
6972
6961
  children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6973
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Upload, { size: 32, strokeWidth: 1.5, className: "mb-2 text-zinc-400" }),
6962
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { size: 32, strokeWidth: 1.5, className: "mb-2 text-zinc-400" }),
6974
6963
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-zinc-500", children: "Drop files here or click to browse" })
6975
6964
  ] })
6976
6965
  ]
@@ -6998,7 +6987,7 @@ function ThumbnailItem({ file, index, onRemove }) {
6998
6987
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group relative flex w-20 flex-col items-center gap-1", children: [
6999
6988
  /* @__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: [
7000
6989
  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: [
7001
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.File, { size: 20, className: "text-zinc-400" }),
6990
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.File, { size: 20, className: "text-zinc-400" }),
7002
6991
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-medium text-zinc-500", children: getExtension(file.name) })
7003
6992
  ] }),
7004
6993
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7008,7 +6997,7 @@ function ThumbnailItem({ file, index, onRemove }) {
7008
6997
  onClick: () => onRemove(index),
7009
6998
  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",
7010
6999
  "aria-label": `Remove ${file.name}`,
7011
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 10 })
7000
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 10 })
7012
7001
  }
7013
7002
  )
7014
7003
  ] }),
@@ -7026,7 +7015,7 @@ function FileUploadList({ thumbnail, className }) {
7026
7015
  {
7027
7016
  className: "flex items-center gap-3 rounded-lg border border-zinc-200 px-3 py-2 text-sm dark:border-zinc-700",
7028
7017
  children: [
7029
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.File, { size: 16, className: "shrink-0 text-zinc-400" }),
7018
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.File, { size: 16, className: "shrink-0 text-zinc-400" }),
7030
7019
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 truncate", children: file.name }),
7031
7020
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-zinc-400", children: formatSize(file.size) }),
7032
7021
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7036,7 +7025,7 @@ function FileUploadList({ thumbnail, className }) {
7036
7025
  onClick: () => removeFile(i),
7037
7026
  className: "shrink-0 text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300",
7038
7027
  "aria-label": `Remove ${file.name}`,
7039
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { size: 14 })
7028
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 14 })
7040
7029
  }
7041
7030
  )
7042
7031
  ]
@@ -7149,15 +7138,15 @@ var TimePicker = react.forwardRef(
7149
7138
  ),
7150
7139
  children: [
7151
7140
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
7152
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(1), disabled, className: spinBtnClass, "aria-label": "Increase hour", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronUp, { size: 14 }) }),
7141
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(1), disabled, className: spinBtnClass, "aria-label": "Increase hour", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { size: 14 }) }),
7153
7142
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: displayClass, children: pad(displayHour) }),
7154
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(-1), disabled, className: spinBtnClass, "aria-label": "Decrease hour", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 14 }) })
7143
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeHour(-1), disabled, className: spinBtnClass, "aria-label": "Decrease hour", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 14 }) })
7155
7144
  ] }),
7156
7145
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg text-zinc-400", children: ":" }),
7157
7146
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
7158
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(minuteStep), disabled, className: spinBtnClass, "aria-label": "Increase minute", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronUp, { size: 14 }) }),
7147
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(minuteStep), disabled, className: spinBtnClass, "aria-label": "Increase minute", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { size: 14 }) }),
7159
7148
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: displayClass, children: pad(minutes) }),
7160
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(-minuteStep), disabled, className: spinBtnClass, "aria-label": "Decrease minute", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { size: 14 }) })
7149
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: () => changeMinute(-minuteStep), disabled, className: spinBtnClass, "aria-label": "Decrease minute", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { size: 14 }) })
7161
7150
  ] }),
7162
7151
  format === "12h" && /* @__PURE__ */ jsxRuntime.jsx(
7163
7152
  "button",
@@ -7328,7 +7317,7 @@ var Calendar = react.forwardRef(
7328
7317
  onClick: prevMonth,
7329
7318
  className: "rounded-lg p-1 text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",
7330
7319
  "aria-label": "Previous month",
7331
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronLeft, { size: 16 })
7320
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { size: 16 })
7332
7321
  }
7333
7322
  ),
7334
7323
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-semibold", children: [
@@ -7343,7 +7332,7 @@ var Calendar = react.forwardRef(
7343
7332
  onClick: nextMonth,
7344
7333
  className: "rounded-lg p-1 text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",
7345
7334
  "aria-label": "Next month",
7346
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { size: 16 })
7335
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 16 })
7347
7336
  }
7348
7337
  )
7349
7338
  ] }),
@@ -8997,7 +8986,7 @@ function MenuSubmenu({
8997
8986
  children: [
8998
8987
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: icon }),
8999
8988
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
9000
- /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronDown, { className: "h-3.5 w-3.5 opacity-60" })
8989
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-3.5 w-3.5 opacity-60" })
9001
8990
  ]
9002
8991
  }
9003
8992
  ),
@@ -9030,7 +9019,7 @@ function MenuSubmenu({
9030
9019
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: icon }),
9031
9020
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-left", children: label }),
9032
9021
  /* @__PURE__ */ jsxRuntime.jsx(
9033
- LucideIcons.ChevronDown,
9022
+ lucideReact.ChevronDown,
9034
9023
  {
9035
9024
  className: cn(
9036
9025
  "h-3.5 w-3.5 opacity-60 transition-transform duration-200",
@@ -9197,7 +9186,7 @@ function SidebarSubmenu({
9197
9186
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: icon }),
9198
9187
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-left", children: label }),
9199
9188
  /* @__PURE__ */ jsxRuntime.jsx(
9200
- LucideIcons.ChevronDown,
9189
+ lucideReact.ChevronDown,
9201
9190
  {
9202
9191
  className: cn(
9203
9192
  "h-3.5 w-3.5 opacity-60 transition-transform duration-200",
@@ -9235,7 +9224,7 @@ function SidebarToggle({ className }) {
9235
9224
  "hover:bg-zinc-100 hover:text-zinc-600 dark:hover:bg-zinc-800 dark:hover:text-zinc-300",
9236
9225
  className
9237
9226
  ),
9238
- children: collapsed ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.PanelLeftOpen, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.PanelLeftClose, { className: "h-4 w-4" })
9227
+ children: collapsed ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.PanelLeftOpen, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.PanelLeftClose, { className: "h-4 w-4" })
9239
9228
  }
9240
9229
  );
9241
9230
  }
@@ -9337,7 +9326,7 @@ function MobileMenuFlyout({
9337
9326
  type: "button",
9338
9327
  onClick: onClose,
9339
9328
  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",
9340
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.X, { className: "h-4 w-4" })
9329
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" })
9341
9330
  }
9342
9331
  )
9343
9332
  ] }),
@@ -9797,10 +9786,10 @@ function CanvasControls({
9797
9786
  className
9798
9787
  ),
9799
9788
  children: [
9800
- showZoomIn && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: zoomIn, className: btnClass, "aria-label": "Zoom in", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ZoomIn, { size: 16 }) }),
9801
- showZoomOut && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: zoomOut, className: btnClass, "aria-label": "Zoom out", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ZoomOut, { size: 16 }) }),
9802
- showReset && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: reset, className: btnClass, "aria-label": "Reset view", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.RotateCcw, { size: 16 }) }),
9803
- showFitAll && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: fitAll, className: btnClass, "aria-label": "Fit all", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Maximize, { size: 16 }) })
9789
+ showZoomIn && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: zoomIn, className: btnClass, "aria-label": "Zoom in", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ZoomIn, { size: 16 }) }),
9790
+ showZoomOut && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: zoomOut, className: btnClass, "aria-label": "Zoom out", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ZoomOut, { size: 16 }) }),
9791
+ showReset && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: reset, className: btnClass, "aria-label": "Reset view", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RotateCcw, { size: 16 }) }),
9792
+ showFitAll && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: fitAll, className: btnClass, "aria-label": "Fit all", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Maximize, { size: 16 }) })
9804
9793
  ]
9805
9794
  }
9806
9795
  );
@@ -10926,6 +10915,7 @@ exports.find = find;
10926
10915
  exports.registerExtension = registerExtension;
10927
10916
  exports.registerExtensions = registerExtensions;
10928
10917
  exports.registerIconSet = registerIconSet;
10918
+ exports.registerIcons = registerIcons;
10929
10919
  exports.resolve = resolve;
10930
10920
  exports.search = search;
10931
10921
  exports.useAccordion = useAccordion;