@rafal.lemieszewski/tide-ui 0.85.1 → 0.87.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.
Files changed (55) hide show
  1. package/dist/cjs/components/fundamental/breadcrumb.cjs +1 -1
  2. package/dist/cjs/components/fundamental/button.cjs +1 -1
  3. package/dist/cjs/components/fundamental/calendar.cjs +1 -1
  4. package/dist/cjs/components/fundamental/country-dropdown.cjs +1 -1
  5. package/dist/cjs/components/fundamental/custom-icons.cjs +1 -1
  6. package/dist/cjs/components/fundamental/dialog.cjs +1 -1
  7. package/dist/cjs/components/fundamental/file-upload.cjs +1 -1
  8. package/dist/cjs/components/fundamental/icon.cjs +1 -1
  9. package/dist/cjs/components/fundamental/month-picker.cjs +1 -1
  10. package/dist/cjs/components/fundamental/pagination.cjs +1 -1
  11. package/dist/cjs/components/fundamental/select.cjs +1 -1
  12. package/dist/cjs/components/fundamental/separator.cjs +1 -1
  13. package/dist/cjs/components/fundamental/sidebar.cjs +1 -1
  14. package/dist/cjs/components/fundamental/toast.cjs +1 -1
  15. package/dist/cjs/components/fundamental/tree.cjs +1 -1
  16. package/dist/cjs/components/product/app-frame.cjs +1 -1
  17. package/dist/cjs/components/product/attributes-list.cjs +1 -1
  18. package/dist/cjs/components/product/bookmarks.cjs +1 -1
  19. package/dist/cjs/components/product/data-table-settings-menu.cjs +1 -1
  20. package/dist/cjs/components/product/data-table.cjs +1 -1
  21. package/dist/cjs/components/product/filters.cjs +1 -1
  22. package/dist/cjs/components/product/fixture-status.cjs +1 -1
  23. package/dist/cjs/components/product/linked-chart.cjs +1 -1
  24. package/dist/cjs/components/product/view-mode-menu.cjs +1 -1
  25. package/dist/es/components/fundamental/button.js +10 -9
  26. package/dist/es/components/fundamental/calendar.js +18 -17
  27. package/dist/es/components/fundamental/custom-icons.js +283 -517
  28. package/dist/es/components/fundamental/dialog.js +25 -24
  29. package/dist/es/components/fundamental/file-upload.js +17 -16
  30. package/dist/es/components/fundamental/icon.js +68 -147
  31. package/dist/es/components/fundamental/month-picker.js +21 -20
  32. package/dist/es/components/fundamental/pagination.js +44 -43
  33. package/dist/es/components/fundamental/select.js +40 -39
  34. package/dist/es/components/fundamental/separator.js +11 -10
  35. package/dist/es/components/fundamental/sidebar.js +85 -84
  36. package/dist/es/components/fundamental/toast.js +8 -7
  37. package/dist/es/components/product/app-frame.js +83 -82
  38. package/dist/es/components/product/attributes-list.js +61 -60
  39. package/dist/es/components/product/bookmarks.js +170 -169
  40. package/dist/es/components/product/data-table-settings-menu.js +38 -37
  41. package/dist/es/components/product/data-table.js +374 -373
  42. package/dist/es/components/product/filters.js +93 -92
  43. package/dist/es/components/product/fixture-status.js +89 -87
  44. package/dist/es/components/product/linked-chart.js +54 -53
  45. package/dist/es/components/product/view-mode-menu.js +176 -175
  46. package/dist/types/components/core-index.d.cts +1 -1
  47. package/dist/types/components/core-index.d.ts +1 -1
  48. package/dist/types/components/fundamental/custom-icons.d.ts +32 -36
  49. package/dist/types/components/fundamental/dropdown-menu.d.ts +2 -1
  50. package/dist/types/components/fundamental/icon.d.ts +1 -3
  51. package/dist/types/components/index.d.ts +2 -1
  52. package/dist/types/components/product/fixture-status.d.ts +2 -2
  53. package/dist/types/lib/index.d.cts +1 -1
  54. package/dist/types/lib/index.d.ts +1 -1
  55. package/package.json +1 -1
@@ -7,25 +7,26 @@ import { cn as s } from "../../lib/utils.js";
7
7
  import { Button as O } from "./button.js";
8
8
  import { Separator as F } from "./separator.js";
9
9
  import { Icon as W } from "./icon.js";
10
- const $ = "sidebar:state", V = 3600 * 24 * 7, q = "16rem", U = "18rem", X = "3rem", Y = "b", G = t.createContext(null);
10
+ import { PanelLeft as $ } from "lucide-react";
11
+ const V = "sidebar:state", q = 3600 * 24 * 7, U = "16rem", X = "18rem", Y = "3rem", A = "b", G = t.createContext(null);
11
12
  function E() {
12
13
  const r = t.useContext(G);
13
14
  if (!r)
14
15
  throw new Error("useSidebar must be used within a SidebarProvider.");
15
16
  return r;
16
17
  }
17
- const A = /* @__PURE__ */ t.forwardRef(
18
+ const J = /* @__PURE__ */ t.forwardRef(
18
19
  ({ defaultOpen: r = !0, open: e, onOpenChange: a, className: o, style: i, children: l, ...u }, f) => {
19
20
  const [p, m] = t.useState(r), [v, h] = t.useState(!1), [y, R] = t.useState(!1), g = e ?? p, w = t.useCallback(
20
21
  (n) => {
21
22
  const c = typeof n == "function" ? n(g) : n;
22
- a ? a(c) : m(c), typeof document < "u" && (document.cookie = `${$}=${c}; path=/; max-age=${V}`);
23
+ a ? a(c) : m(c), typeof document < "u" && (document.cookie = `${V}=${c}; path=/; max-age=${q}`);
23
24
  },
24
25
  [a, g]
25
26
  ), b = t.useCallback(() => y ? h((n) => !n) : w((n) => !n), [y, w, h]);
26
27
  t.useEffect(() => {
27
28
  const n = (c) => {
28
- c.key === Y && (c.metaKey || c.ctrlKey) && (c.preventDefault(), b());
29
+ c.key === A && (c.metaKey || c.ctrlKey) && (c.preventDefault(), b());
29
30
  };
30
31
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
31
32
  }, [b]), t.useEffect(() => {
@@ -51,8 +52,8 @@ const A = /* @__PURE__ */ t.forwardRef(
51
52
  {
52
53
  ref: f,
53
54
  style: {
54
- "--sidebar-width": q,
55
- "--sidebar-width-icon": X,
55
+ "--sidebar-width": U,
56
+ "--sidebar-width-icon": Y,
56
57
  ...i
57
58
  },
58
59
  className: s(
@@ -65,8 +66,8 @@ const A = /* @__PURE__ */ t.forwardRef(
65
66
  ) }) });
66
67
  }
67
68
  );
68
- A.displayName = "SidebarProvider";
69
- const J = /* @__PURE__ */ t.forwardRef(
69
+ J.displayName = "SidebarProvider";
70
+ const Q = /* @__PURE__ */ t.forwardRef(
70
71
  ({
71
72
  variant: r = "sidebar",
72
73
  collapsible: e = "offcanvas",
@@ -97,7 +98,7 @@ const J = /* @__PURE__ */ t.forwardRef(
97
98
  "data-mobile": "true",
98
99
  className: "fixed inset-y-0 z-50 h-auto w-[var(--sidebar-width-mobile)] bg-[var(--color-surface-primary)] p-0 text-[var(--color-text-primary)] shadow-md transition ease-in-out data-[state=open]:duration-300 data-[state=closed]:duration-200 data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",
99
100
  style: {
100
- "--sidebar-width": U
101
+ "--sidebar-width": X
101
102
  },
102
103
  ...l,
103
104
  children: /* @__PURE__ */ d("div", { className: "flex h-full w-full flex-col", children: i })
@@ -138,8 +139,8 @@ const J = /* @__PURE__ */ t.forwardRef(
138
139
  );
139
140
  }
140
141
  );
141
- J.displayName = "Sidebar";
142
- const Q = /* @__PURE__ */ t.forwardRef(({ className: r, onClick: e, ...a }, o) => {
142
+ Q.displayName = "Sidebar";
143
+ const Z = /* @__PURE__ */ t.forwardRef(({ className: r, onClick: e, ...a }, o) => {
143
144
  const { toggleSidebar: i } = E();
144
145
  return /* @__PURE__ */ C(
145
146
  O,
@@ -154,14 +155,14 @@ const Q = /* @__PURE__ */ t.forwardRef(({ className: r, onClick: e, ...a }, o) =
154
155
  },
155
156
  ...a,
156
157
  children: [
157
- /* @__PURE__ */ d(W, { name: "panel-left", size: "s" }),
158
+ /* @__PURE__ */ d(W, { name: $, size: "s" }),
158
159
  /* @__PURE__ */ d("span", { className: "sr-only", children: "Toggle sidebar" })
159
160
  ]
160
161
  }
161
162
  );
162
163
  });
163
- Q.displayName = "SidebarTrigger";
164
- const Z = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => {
164
+ Z.displayName = "SidebarTrigger";
165
+ const H = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => {
165
166
  const { toggleSidebar: o } = E();
166
167
  return /* @__PURE__ */ d(
167
168
  "button",
@@ -185,8 +186,8 @@ const Z = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => {
185
186
  }
186
187
  );
187
188
  });
188
- Z.displayName = "SidebarRail";
189
- const H = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
189
+ H.displayName = "SidebarRail";
190
+ const ee = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
190
191
  "main",
191
192
  {
192
193
  ref: a,
@@ -198,8 +199,8 @@ const H = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE
198
199
  ...e
199
200
  }
200
201
  ));
201
- H.displayName = "SidebarInset";
202
- const ee = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
202
+ ee.displayName = "SidebarInset";
203
+ const re = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
203
204
  "input",
204
205
  {
205
206
  ref: a,
@@ -211,8 +212,8 @@ const ee = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
211
212
  ...e
212
213
  }
213
214
  ));
214
- ee.displayName = "SidebarInput";
215
- const re = /* @__PURE__ */ t.forwardRef(({ className: r, children: e, onOpenChange: a, shortcuts: o = ["⌘", "K"], ...i }, l) => /* @__PURE__ */ C(
215
+ re.displayName = "SidebarInput";
216
+ const ae = /* @__PURE__ */ t.forwardRef(({ className: r, children: e, onOpenChange: a, shortcuts: o = ["⌘", "K"], ...i }, l) => /* @__PURE__ */ C(
216
217
  "button",
217
218
  {
218
219
  ref: l,
@@ -229,8 +230,8 @@ const re = /* @__PURE__ */ t.forwardRef(({ className: r, children: e, onOpenChan
229
230
  ]
230
231
  }
231
232
  ));
232
- re.displayName = "SidebarSearchButton";
233
- const ae = /* @__PURE__ */ t.forwardRef(({ className: r, onOpenChange: e, shortcuts: a = ["⌘", "K"], ...o }, i) => /* @__PURE__ */ d(
233
+ ae.displayName = "SidebarSearchButton";
234
+ const te = /* @__PURE__ */ t.forwardRef(({ className: r, onOpenChange: e, shortcuts: a = ["⌘", "K"], ...o }, i) => /* @__PURE__ */ d(
234
235
  "button",
235
236
  {
236
237
  ref: i,
@@ -244,8 +245,8 @@ const ae = /* @__PURE__ */ t.forwardRef(({ className: r, onOpenChange: e, shortc
244
245
  ...o
245
246
  }
246
247
  ));
247
- ae.displayName = "SidebarSearchTrigger";
248
- const te = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
248
+ te.displayName = "SidebarSearchTrigger";
249
+ const oe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
249
250
  "div",
250
251
  {
251
252
  ref: a,
@@ -254,8 +255,8 @@ const te = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
254
255
  ...e
255
256
  }
256
257
  ));
257
- te.displayName = "SidebarHeader";
258
- const oe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
258
+ oe.displayName = "SidebarHeader";
259
+ const de = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
259
260
  "div",
260
261
  {
261
262
  ref: a,
@@ -264,8 +265,8 @@ const oe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
264
265
  ...e
265
266
  }
266
267
  ));
267
- oe.displayName = "SidebarFooter";
268
- const de = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
268
+ de.displayName = "SidebarFooter";
269
+ const se = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
269
270
  F,
270
271
  {
271
272
  ref: a,
@@ -274,8 +275,8 @@ const de = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
274
275
  ...e
275
276
  }
276
277
  ));
277
- de.displayName = "SidebarSeparator";
278
- const se = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
278
+ se.displayName = "SidebarSeparator";
279
+ const le = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
279
280
  "div",
280
281
  {
281
282
  ref: a,
@@ -287,8 +288,8 @@ const se = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
287
288
  ...e
288
289
  }
289
290
  ));
290
- se.displayName = "SidebarContent";
291
- const le = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
291
+ le.displayName = "SidebarContent";
292
+ const ie = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
292
293
  "div",
293
294
  {
294
295
  ref: a,
@@ -297,8 +298,8 @@ const le = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
297
298
  ...e
298
299
  }
299
300
  ));
300
- le.displayName = "SidebarGroup";
301
- const ie = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
301
+ ie.displayName = "SidebarGroup";
302
+ const ne = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
302
303
  "div",
303
304
  {
304
305
  ref: o,
@@ -311,8 +312,8 @@ const ie = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }
311
312
  ...a
312
313
  }
313
314
  ));
314
- ie.displayName = "SidebarGroupLabel";
315
- const ne = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
315
+ ne.displayName = "SidebarGroupLabel";
316
+ const ce = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
316
317
  "button",
317
318
  {
318
319
  ref: o,
@@ -326,8 +327,8 @@ const ne = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }
326
327
  ...a
327
328
  }
328
329
  ));
329
- ne.displayName = "SidebarGroupAction";
330
- const ce = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
330
+ ce.displayName = "SidebarGroupAction";
331
+ const ue = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
331
332
  "div",
332
333
  {
333
334
  ref: a,
@@ -336,8 +337,8 @@ const ce = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
336
337
  ...e
337
338
  }
338
339
  ));
339
- ce.displayName = "SidebarGroupContent";
340
- const ue = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
340
+ ue.displayName = "SidebarGroupContent";
341
+ const be = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
341
342
  "ul",
342
343
  {
343
344
  ref: a,
@@ -346,8 +347,8 @@ const ue = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
346
347
  ...e
347
348
  }
348
349
  ));
349
- ue.displayName = "SidebarMenu";
350
- const be = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
350
+ be.displayName = "SidebarMenu";
351
+ const pe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
351
352
  "li",
352
353
  {
353
354
  ref: a,
@@ -356,8 +357,8 @@ const be = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
356
357
  ...e
357
358
  }
358
359
  ));
359
- be.displayName = "SidebarMenuItem";
360
- const pe = P(
360
+ pe.displayName = "SidebarMenuItem";
361
+ const ve = P(
361
362
  "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-m px-2 py-1.5 text-left text-body-medium-md outline-none ring-[var(--color-border-focused)] transition-all duration-150 ease-in-out focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-[var(--color-background-blue-subtle-selected)] data-[active=true]:text-[var(--color-text-brand-bold-selected)] data-[state=open]:bg-[var(--color-surface-secondary)] group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:justify-center [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 data-[active=true]:[&>svg]:text-[var(--color-text-brand-bold-selected)] cursor-pointer",
362
363
  {
363
364
  variants: {
@@ -376,7 +377,7 @@ const pe = P(
376
377
  size: "default"
377
378
  }
378
379
  }
379
- ), ve = /* @__PURE__ */ t.forwardRef(
380
+ ), fe = /* @__PURE__ */ t.forwardRef(
380
381
  ({
381
382
  asChild: r = !1,
382
383
  isActive: e = !1,
@@ -418,7 +419,7 @@ const pe = P(
418
419
  l && z(!1), h?.(k);
419
420
  },
420
421
  [l, h]
421
- ), L = t.useMemo(() => a !== "enhanced" ? pe({ variant: "default", size: o }) : s(
422
+ ), L = t.useMemo(() => a !== "enhanced" ? ve({ variant: "default", size: o }) : s(
422
423
  // Base button styles
423
424
  "relative peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-m px-2 py-1.5 text-left text-body-medium-md outline-none ring-[var(--color-border-focused)] transition-all duration-150 ease-in-out focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 cursor-pointer z-2",
424
425
  // Size variants
@@ -488,8 +489,8 @@ const pe = P(
488
489
  ] })) : T;
489
490
  }
490
491
  );
491
- ve.displayName = "SidebarMenuButton";
492
- const fe = /* @__PURE__ */ t.forwardRef(({ className: r, showOnHover: e = !1, size: a = "m", ...o }, i) => /* @__PURE__ */ d(
492
+ fe.displayName = "SidebarMenuButton";
493
+ const me = /* @__PURE__ */ t.forwardRef(({ className: r, showOnHover: e = !1, size: a = "m", ...o }, i) => /* @__PURE__ */ d(
493
494
  O,
494
495
  {
495
496
  ref: i,
@@ -529,8 +530,8 @@ const fe = /* @__PURE__ */ t.forwardRef(({ className: r, showOnHover: e = !1, si
529
530
  ...o
530
531
  }
531
532
  ));
532
- fe.displayName = "SidebarMenuAction";
533
- const me = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
533
+ me.displayName = "SidebarMenuAction";
534
+ const ge = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
534
535
  "div",
535
536
  {
536
537
  ref: a,
@@ -547,8 +548,8 @@ const me = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
547
548
  ...e
548
549
  }
549
550
  ));
550
- me.displayName = "SidebarMenuBadge";
551
- const ge = /* @__PURE__ */ t.forwardRef(({ className: r, showIcon: e = !1, ...a }, o) => {
551
+ ge.displayName = "SidebarMenuBadge";
552
+ const xe = /* @__PURE__ */ t.forwardRef(({ className: r, showIcon: e = !1, ...a }, o) => {
552
553
  const i = t.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
553
554
  return /* @__PURE__ */ C(
554
555
  "div",
@@ -572,8 +573,8 @@ const ge = /* @__PURE__ */ t.forwardRef(({ className: r, showIcon: e = !1, ...a
572
573
  }
573
574
  );
574
575
  });
575
- ge.displayName = "SidebarMenuSkeleton";
576
- const xe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
576
+ xe.displayName = "SidebarMenuSkeleton";
577
+ const he = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
577
578
  "ul",
578
579
  {
579
580
  ref: a,
@@ -586,10 +587,10 @@ const xe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PUR
586
587
  ...e
587
588
  }
588
589
  ));
589
- xe.displayName = "SidebarMenuSub";
590
- const he = /* @__PURE__ */ t.forwardRef(({ ...r }, e) => /* @__PURE__ */ d("li", { ref: e, ...r }));
591
- he.displayName = "SidebarMenuSubItem";
592
- const ye = /* @__PURE__ */ t.forwardRef(({
590
+ he.displayName = "SidebarMenuSub";
591
+ const ye = /* @__PURE__ */ t.forwardRef(({ ...r }, e) => /* @__PURE__ */ d("li", { ref: e, ...r }));
592
+ ye.displayName = "SidebarMenuSubItem";
593
+ const we = /* @__PURE__ */ t.forwardRef(({
593
594
  asChild: r = !1,
594
595
  size: e = "m",
595
596
  isActive: a = !1,
@@ -678,32 +679,32 @@ const ye = /* @__PURE__ */ t.forwardRef(({
678
679
  }
679
680
  );
680
681
  });
681
- ye.displayName = "SidebarMenuSubButton";
682
+ we.displayName = "SidebarMenuSubButton";
682
683
  export {
683
- J as Sidebar,
684
- se as SidebarContent,
685
- oe as SidebarFooter,
686
- le as SidebarGroup,
687
- ne as SidebarGroupAction,
688
- ce as SidebarGroupContent,
689
- ie as SidebarGroupLabel,
690
- te as SidebarHeader,
691
- ee as SidebarInput,
692
- H as SidebarInset,
693
- ue as SidebarMenu,
694
- fe as SidebarMenuAction,
695
- me as SidebarMenuBadge,
696
- ve as SidebarMenuButton,
697
- be as SidebarMenuItem,
698
- ge as SidebarMenuSkeleton,
699
- xe as SidebarMenuSub,
700
- ye as SidebarMenuSubButton,
701
- he as SidebarMenuSubItem,
702
- A as SidebarProvider,
703
- Z as SidebarRail,
704
- re as SidebarSearchButton,
705
- ae as SidebarSearchTrigger,
706
- de as SidebarSeparator,
707
- Q as SidebarTrigger,
684
+ Q as Sidebar,
685
+ le as SidebarContent,
686
+ de as SidebarFooter,
687
+ ie as SidebarGroup,
688
+ ce as SidebarGroupAction,
689
+ ue as SidebarGroupContent,
690
+ ne as SidebarGroupLabel,
691
+ oe as SidebarHeader,
692
+ re as SidebarInput,
693
+ ee as SidebarInset,
694
+ be as SidebarMenu,
695
+ me as SidebarMenuAction,
696
+ ge as SidebarMenuBadge,
697
+ fe as SidebarMenuButton,
698
+ pe as SidebarMenuItem,
699
+ xe as SidebarMenuSkeleton,
700
+ he as SidebarMenuSub,
701
+ we as SidebarMenuSubButton,
702
+ ye as SidebarMenuSubItem,
703
+ J as SidebarProvider,
704
+ H as SidebarRail,
705
+ ae as SidebarSearchButton,
706
+ te as SidebarSearchTrigger,
707
+ se as SidebarSeparator,
708
+ Z as SidebarTrigger,
708
709
  E as useSidebar
709
710
  };
@@ -1,9 +1,10 @@
1
1
  import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
2
  import { Toaster as s } from "sonner";
3
- import { toast as f } from "sonner";
3
+ import { toast as C } from "sonner";
4
4
  import { cn as r } from "../../lib/utils.js";
5
5
  import { Spinner as n } from "./spinner.js";
6
6
  import { Icon as i } from "./icon.js";
7
+ import { CircleAlert as d, TriangleAlert as m, CircleCheck as v } from "lucide-react";
7
8
  const a = ({ name: e, color: t, blurColor: c }) => /* @__PURE__ */ l("div", { className: "relative", children: [
8
9
  c && /* @__PURE__ */ o(
9
10
  "div",
@@ -16,15 +17,15 @@ const a = ({ name: e, color: t, blurColor: c }) => /* @__PURE__ */ l("div", { cl
16
17
  }
17
18
  ),
18
19
  /* @__PURE__ */ o(i, { name: e, size: "m", className: t })
19
- ] }), x = ({ className: e, ...t }) => /* @__PURE__ */ o(
20
+ ] }), h = ({ className: e, ...t }) => /* @__PURE__ */ o(
20
21
  s,
21
22
  {
22
23
  className: r("toaster group", e),
23
24
  icons: {
24
25
  loading: /* @__PURE__ */ o(n, { size: "m", variant: "primary", className: "mt-1" }),
25
- success: /* @__PURE__ */ o(a, { name: "circle-check", color: "text-[var(--color-icon-success-bold)]", blurColor: "#1C741F" }),
26
- error: /* @__PURE__ */ o(a, { name: "triangle-alert", color: "text-[var(--color-icon-error-bold)]", blurColor: "#D9493E" }),
27
- warning: /* @__PURE__ */ o(a, { name: "circle-alert", color: "text-[var(--color-icon-warning-bold)]", blurColor: "#E57F19" }),
26
+ success: /* @__PURE__ */ o(a, { name: v, color: "text-[var(--color-icon-success-bold)]", blurColor: "#1C741F" }),
27
+ error: /* @__PURE__ */ o(a, { name: m, color: "text-[var(--color-icon-error-bold)]", blurColor: "#D9493E" }),
28
+ warning: /* @__PURE__ */ o(a, { name: d, color: "text-[var(--color-icon-warning-bold)]", blurColor: "#E57F19" }),
28
29
  info: null
29
30
  },
30
31
  toastOptions: {
@@ -103,6 +104,6 @@ const a = ({ name: e, color: t, blurColor: c }) => /* @__PURE__ */ l("div", { cl
103
104
  }
104
105
  );
105
106
  export {
106
- x as Toaster,
107
- f as toast
107
+ h as Toaster,
108
+ C as toast
108
109
  };