jenosize-ui 0.1.0 → 0.2.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 (169) hide show
  1. package/README.md +10 -7
  2. package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
  3. package/dist/area-chart.d.ts +53 -0
  4. package/dist/area-chart.js +8 -0
  5. package/dist/avatar.d.ts +19 -0
  6. package/dist/avatar.js +12 -7
  7. package/dist/badge.js +5 -5
  8. package/dist/bar-chart.d.ts +31 -0
  9. package/dist/bar-chart.js +8 -0
  10. package/dist/breadcrumb.js +3 -3
  11. package/dist/button.d.ts +11 -1
  12. package/dist/button.js +9 -8
  13. package/dist/calendar.js +14 -12
  14. package/dist/callout.js +10 -9
  15. package/dist/card.d.ts +52 -2
  16. package/dist/card.js +6 -2
  17. package/dist/checkbox.js +6 -5
  18. package/dist/chunk-34J5AANZ.js +605 -0
  19. package/dist/{chunk-D6TPWNRK.js → chunk-3GT43XPK.js} +5 -5
  20. package/dist/{chunk-3Y5X7B5C.js → chunk-3Z3SDKIA.js} +6 -11
  21. package/dist/{chunk-MQGD2OUF.js → chunk-42FCPC77.js} +3 -3
  22. package/dist/{chunk-Z3ETJN5G.js → chunk-4BRMM3I5.js} +6 -11
  23. package/dist/{chunk-WZQFC7ZN.js → chunk-4HKDD3PR.js} +55 -16
  24. package/dist/chunk-4K6V6NNK.js +169 -0
  25. package/dist/{chunk-ZZA2LUTL.js → chunk-4R7WDDCW.js} +41 -16
  26. package/dist/{chunk-BJUZVYQC.js → chunk-4W6AYGLR.js} +12 -12
  27. package/dist/{chunk-4OLULPQG.js → chunk-54S5CUY6.js} +8 -5
  28. package/dist/{chunk-GRLSUQQE.js → chunk-5JRM3OES.js} +4 -4
  29. package/dist/chunk-5ZPUAGOP.js +19 -0
  30. package/dist/{chunk-W5GGOUUI.js → chunk-6HJA7NPL.js} +3 -3
  31. package/dist/{chunk-CME4DIML.js → chunk-6IUTVDNI.js} +22 -3
  32. package/dist/chunk-6UBYHSBX.js +147 -0
  33. package/dist/{chunk-HMUZE6EK.js → chunk-74HPBSVY.js} +3 -3
  34. package/dist/chunk-75M43ELV.js +366 -0
  35. package/dist/chunk-763VS2FY.js +10 -0
  36. package/dist/chunk-7HV6EIGZ.js +26 -0
  37. package/dist/chunk-7VLYQR4D.js +44 -0
  38. package/dist/{chunk-D5BTFSL7.js → chunk-A46ED5JQ.js} +3 -3
  39. package/dist/{chunk-W46K56XU.js → chunk-A5WQLN4B.js} +8 -24
  40. package/dist/chunk-AC6ZWKRN.js +23 -0
  41. package/dist/{chunk-E7ZSWBAK.js → chunk-BD5YKFRA.js} +4 -4
  42. package/dist/chunk-BLIZ3CL3.js +49 -0
  43. package/dist/{chunk-DRZCJCBO.js → chunk-BNIWT6CW.js} +4 -4
  44. package/dist/{chunk-JVJRHBTD.js → chunk-C6OTOTKI.js} +21 -8
  45. package/dist/chunk-CTENRS34.js +60 -0
  46. package/dist/{chunk-7IU5TMFL.js → chunk-CWMFEF6R.js} +75 -27
  47. package/dist/{chunk-JTNFJLIY.js → chunk-DCGTB7P7.js} +13 -13
  48. package/dist/{chunk-GFOAJVW5.js → chunk-DJYWPJZ3.js} +3 -3
  49. package/dist/{chunk-MUFHLP4S.js → chunk-DTMYD63D.js} +11 -22
  50. package/dist/{chunk-KDLPXXD2.js → chunk-EDOUI2BG.js} +4 -4
  51. package/dist/{chunk-R6RGJF4L.js → chunk-EDT5J5WK.js} +4 -4
  52. package/dist/{chunk-PWKWNDBS.js → chunk-EX374YWB.js} +6 -6
  53. package/dist/{chunk-F2K7VJUV.js → chunk-FFTRB2UU.js} +4 -4
  54. package/dist/chunk-FIGBJGH2.js +1474 -0
  55. package/dist/chunk-FKVPAEJ6.js +57 -0
  56. package/dist/{chunk-J7ZQQFPT.js → chunk-FZBZGA3P.js} +17 -17
  57. package/dist/{chunk-T7FCG7XV.js → chunk-GAFGIT4Q.js} +10 -10
  58. package/dist/chunk-HSVBTIP2.js +482 -0
  59. package/dist/{chunk-FHHAPGCR.js → chunk-ILICYNK7.js} +3 -3
  60. package/dist/{chunk-WFY7DKQD.js → chunk-JAVNGTOE.js} +9 -14
  61. package/dist/{chunk-7HOIZ3UO.js → chunk-JMWYCT63.js} +6 -6
  62. package/dist/{chunk-QA74ITR4.js → chunk-JUWDRRD6.js} +45 -17
  63. package/dist/{chunk-BVJWBYIG.js → chunk-JXHZHUB3.js} +4 -4
  64. package/dist/{chunk-VWC72TR3.js → chunk-JYBGO6GY.js} +7 -7
  65. package/dist/{chunk-J36M3KRX.js → chunk-L53Y7KUV.js} +13 -11
  66. package/dist/chunk-LBYCCLVI.js +33 -0
  67. package/dist/chunk-LCG34A5T.js +98 -0
  68. package/dist/chunk-M5TVCASC.js +75 -0
  69. package/dist/chunk-MCUASLZH.js +10 -0
  70. package/dist/{chunk-5RAPA22E.js → chunk-MD4AR43X.js} +4 -4
  71. package/dist/{chunk-JP26LPCY.js → chunk-MYQ3FD4Y.js} +25 -11
  72. package/dist/chunk-NA35YZRD.js +252 -0
  73. package/dist/chunk-NKDW6C7K.js +10 -0
  74. package/dist/{chunk-5NOBSXJN.js → chunk-NMERLWT7.js} +6 -6
  75. package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
  76. package/dist/{chunk-LME57Z6J.js → chunk-P7DH62UY.js} +6 -6
  77. package/dist/chunk-PO2TYK3C.js +17 -0
  78. package/dist/{chunk-5FATN5YD.js → chunk-PXEJ5RKO.js} +4 -4
  79. package/dist/{chunk-JYGR44ZC.js → chunk-QBHQOX23.js} +6 -6
  80. package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
  81. package/dist/{chunk-J2BCKBHC.js → chunk-QKDEQFOQ.js} +4 -4
  82. package/dist/{chunk-ZOOX3TUB.js → chunk-RIXEUAPY.js} +5 -5
  83. package/dist/{chunk-THC2ISYP.js → chunk-RNXRZGXN.js} +4 -4
  84. package/dist/{chunk-7EWQKTNQ.js → chunk-T2WAD4QP.js} +15 -13
  85. package/dist/{chunk-KNYKWUYX.js → chunk-TBN644IN.js} +3 -3
  86. package/dist/{chunk-MKC5HNA7.js → chunk-USL3TDZM.js} +101 -90
  87. package/dist/{chunk-CYPPEUX5.js → chunk-VEOYCAJP.js} +4 -9
  88. package/dist/{chunk-WEUJYDCV.js → chunk-VH35QHD4.js} +6 -6
  89. package/dist/chunk-VWGAMOSE.js +188 -0
  90. package/dist/{chunk-SV56BSUQ.js → chunk-WKWAUU64.js} +4 -4
  91. package/dist/chunk-X2X7Q7NW.js +17 -0
  92. package/dist/{chunk-I7WU4GTY.js → chunk-YLEHYDXC.js} +5 -5
  93. package/dist/combobox.js +12 -10
  94. package/dist/control-size-CaxQhkKh.d.ts +3 -0
  95. package/dist/date-input.js +9 -8
  96. package/dist/date-picker.js +20 -17
  97. package/dist/dialog.d.ts +16 -4
  98. package/dist/dialog.js +8 -6
  99. package/dist/drawer.d.ts +9 -2
  100. package/dist/drawer.js +7 -5
  101. package/dist/dropdown-menu.d.ts +14 -2
  102. package/dist/dropdown-menu.js +7 -3
  103. package/dist/dropzone.d.ts +34 -0
  104. package/dist/dropzone.js +22 -0
  105. package/dist/form.d.ts +78 -0
  106. package/dist/form.js +176 -32
  107. package/dist/header-navigation.d.ts +15 -4
  108. package/dist/header-navigation.js +19 -14
  109. package/dist/index.d.ts +26 -4
  110. package/dist/index.js +76 -56
  111. package/dist/indicator.js +4 -4
  112. package/dist/input.js +8 -7
  113. package/dist/kanban-board.d.ts +549 -0
  114. package/dist/kanban-board.js +23 -0
  115. package/dist/line-chart.d.ts +35 -0
  116. package/dist/line-chart.js +8 -0
  117. package/dist/{nav-Bla0o_-1.d.ts → nav-DcCyt00p.d.ts} +8 -11
  118. package/dist/number-input.js +8 -7
  119. package/dist/pagination.js +12 -9
  120. package/dist/panel-El4oI68p.d.ts +9 -0
  121. package/dist/payment-input.js +8 -7
  122. package/dist/pie-chart.d.ts +60 -0
  123. package/dist/pie-chart.js +8 -0
  124. package/dist/popover.d.ts +9 -3
  125. package/dist/popover.js +7 -5
  126. package/dist/progress-steps.d.ts +275 -0
  127. package/dist/progress-steps.js +8 -0
  128. package/dist/progress.js +2 -2
  129. package/dist/radar-chart.d.ts +73 -0
  130. package/dist/radar-chart.js +8 -0
  131. package/dist/radial-chart.d.ts +69 -0
  132. package/dist/radial-chart.js +8 -0
  133. package/dist/radio.js +6 -5
  134. package/dist/rule-BqzaIwJy.d.ts +80 -0
  135. package/dist/scroll-area.d.ts +62 -0
  136. package/dist/scroll-area.js +7 -0
  137. package/dist/select.d.ts +1 -2
  138. package/dist/select.js +15 -13
  139. package/dist/separator.d.ts +114 -0
  140. package/dist/separator.js +5 -0
  141. package/dist/sidebar-navigation.d.ts +54 -7
  142. package/dist/sidebar-navigation.js +15 -8
  143. package/dist/skeleton.d.ts +61 -0
  144. package/dist/skeleton.js +5 -0
  145. package/dist/styles.css +1 -1
  146. package/dist/surface-DFyDnrTJ.d.ts +34 -0
  147. package/dist/switch.js +2 -2
  148. package/dist/table.d.ts +94 -38
  149. package/dist/table.js +32 -28
  150. package/dist/tabs.js +2 -2
  151. package/dist/tag-input.js +11 -10
  152. package/dist/tag.js +3 -3
  153. package/dist/textarea.js +6 -5
  154. package/dist/theme.css +82 -0
  155. package/dist/theme.js +10 -9
  156. package/dist/toast.js +10 -9
  157. package/dist/tooltip-surface-Dmvb8v5K.d.ts +35 -0
  158. package/dist/tooltip.d.ts +15 -1
  159. package/dist/tooltip.js +3 -2
  160. package/dist/tree.js +6 -5
  161. package/dist/types-6kvYwtRH.d.ts +156 -0
  162. package/dist/use-uploads-ButS4dGe.d.ts +473 -0
  163. package/dist/verification-code-input.d.ts +84 -0
  164. package/dist/verification-code-input.js +13 -0
  165. package/package.json +59 -9
  166. package/dist/card-nWicloNi.d.ts +0 -80
  167. package/dist/chunk-24TO7E32.js +0 -42
  168. package/dist/chunk-FXIBGTS5.js +0 -14
  169. package/dist/chunk-ZZT2E5VT.js +0 -24
@@ -1,21 +1,23 @@
1
- import { Pagination } from './chunk-WFY7DKQD.js';
2
- import { Callout } from './chunk-BVJWBYIG.js';
3
- import { Badge } from './chunk-PWKWNDBS.js';
4
- import { AlertDialog } from './chunk-THC2ISYP.js';
5
- import { SkeletonBar, skeletonWidth } from './chunk-FXIBGTS5.js';
6
- import { DropdownMenu } from './chunk-JP26LPCY.js';
1
+ import { Callout } from './chunk-JXHZHUB3.js';
2
+ import { Pagination } from './chunk-JAVNGTOE.js';
3
+ import { Badge } from './chunk-EX374YWB.js';
4
+ import { AlertDialog } from './chunk-RNXRZGXN.js';
5
+ import { DropdownMenu } from './chunk-MYQ3FD4Y.js';
6
+ import { Skeleton, skeletonWidth } from './chunk-7HV6EIGZ.js';
7
7
  import { useDebounced } from './chunk-F6NLE6XJ.js';
8
- import { Checkbox } from './chunk-ZOOX3TUB.js';
8
+ import { Checkbox } from './chunk-RIXEUAPY.js';
9
9
  import { SURFACE_BASE, SURFACE_VARIANT, SURFACE_EDGE_OVERLAY } from './chunk-MFJP5FA7.js';
10
- import { Button } from './chunk-W46K56XU.js';
11
- import { ButtonUtility } from './chunk-JVJRHBTD.js';
12
- import { Input } from './chunk-7HOIZ3UO.js';
13
- import { Select } from './chunk-T7FCG7XV.js';
14
- import { Tag } from './chunk-R6RGJF4L.js';
10
+ import { ruleEdge } from './chunk-LCG34A5T.js';
11
+ import { Button } from './chunk-A5WQLN4B.js';
12
+ import { ButtonUtility } from './chunk-C6OTOTKI.js';
13
+ import { Input } from './chunk-JMWYCT63.js';
14
+ import { Select } from './chunk-GAFGIT4Q.js';
15
+ import { Tag } from './chunk-EDT5J5WK.js';
16
+ import { ScrollView } from './chunk-FKVPAEJ6.js';
15
17
  import { overflowClasses } from './chunk-DWKILXHE.js';
16
- import { ChevronRightIcon, ArrowDownIcon, ChevronsUpDownIcon, CircleAlertIcon, InboxIcon, EllipsisVerticalIcon, SearchIcon, Columns3Icon } from './chunk-24TO7E32.js';
17
- import { TooltipExport } from './chunk-ZZA2LUTL.js';
18
- import { warnPositiveInt, warnNonNegativeInt, devWarn } from './chunk-GCVA3OIV.js';
18
+ import { TooltipExport } from './chunk-4R7WDDCW.js';
19
+ import { ChevronRightIcon, ArrowDownIcon, ChevronsUpDownIcon, CircleAlertIcon, InboxIcon, EllipsisVerticalIcon, SearchIcon, Columns3Icon } from './chunk-BLIZ3CL3.js';
20
+ import { warnPositiveInt, warnNonNegativeInt, devWarn } from './chunk-QDYE5LVT.js';
19
21
  import { cn } from './chunk-ZSNJ6UA3.js';
20
22
  import { useReactTable, getPaginationRowModel, getExpandedRowModel, getFacetedUniqueValues, getFacetedRowModel, getFilteredRowModel, getSortedRowModel, getCoreRowModel } from '@tanstack/react-table';
21
23
  import * as React from 'react';
@@ -601,68 +603,68 @@ function toMenuItems(items, run) {
601
603
  function linkRender(action) {
602
604
  return action.href && !action.disabled ? /* @__PURE__ */ jsx("a", { href: action.href }) : void 0;
603
605
  }
604
- function RowActionsCell({ row, config, size, onConfirm }) {
606
+ var LINK_SIZE = { sm: "sm", md: "md" };
607
+ function RowActionsCell({ row, actions, size, onConfirm }) {
605
608
  const run = (action) => {
606
609
  if (action.disabled) return;
607
610
  const fire = () => action.onClick?.();
608
611
  if (action.confirm) onConfirm({ label: action.label, tone: action.tone, confirm: action.confirm, run: fire });
609
612
  else fire();
610
613
  };
611
- if (config.variant === "menu") {
612
- const items = config.items(row);
613
- if (items.length === 0) return null;
614
- return /* @__PURE__ */ jsx(
615
- DropdownMenu,
616
- {
617
- trigger: /* @__PURE__ */ jsx(ButtonUtility, { size: "sm", variant: "tertiary", icon: /* @__PURE__ */ jsx(EllipsisVerticalIcon, {}), "aria-label": "Row actions" }),
618
- items: toMenuItems(items, run),
619
- align: "end"
620
- }
621
- );
622
- }
623
- const { variant = "icons", max = 3 } = config;
624
- const actions = config.items(row);
625
- if (actions.length === 0) return null;
626
- const inline = actions.length > max ? actions.slice(0, max - 1) : actions;
627
- const overflow = actions.length > max ? actions.slice(max - 1) : [];
628
- return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center", variant === "links" ? "gap-3" : "gap-0.5"), children: [
629
- inline.map(
630
- (action) => variant === "links" ? /* @__PURE__ */ jsx(
631
- Button,
614
+ const slots = actions(row);
615
+ if (slots.length === 0) return null;
616
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-0.5", children: slots.map((slot, index) => {
617
+ if (slot.display === "menu") {
618
+ if (slot.items.length === 0) return null;
619
+ const name = slot.label ?? "Row actions";
620
+ return /* @__PURE__ */ jsx(
621
+ DropdownMenu,
632
622
  {
633
- render: linkRender(action),
634
- variant: "link",
635
- color: action.tone ?? "neutral",
636
- size: size === "sm" ? "sm" : "md",
637
- disabled: action.disabled,
638
- onClick: () => run(action),
639
- children: action.label
623
+ trigger: (
624
+ // A bare `aria-label`, NOT `tooltip` — `ButtonUtility` wraps a tooltipped button in
625
+ // `<Tooltip>`, and a wrapper between `Menu.Trigger` and the button ABSORBS the
626
+ // `aria-haspopup`/`aria-expanded` the trigger needs to announce itself as a menu.
627
+ // (SidebarNavigation hit the same edge and splits its trigger the same way.)
628
+ /* @__PURE__ */ jsx(ButtonUtility, { size: "sm", variant: "tertiary", icon: /* @__PURE__ */ jsx(EllipsisVerticalIcon, {}), "aria-label": name, disabled: slot.disabled })
629
+ ),
630
+ items: toMenuItems(slot.items, run),
631
+ align: "end"
640
632
  },
641
- action.label
642
- ) : /* @__PURE__ */ jsx(
643
- ButtonUtility,
633
+ index
634
+ );
635
+ }
636
+ if (slot.display === "link") {
637
+ return /* @__PURE__ */ jsx(
638
+ Button,
644
639
  {
645
- render: linkRender(action),
646
- size: "sm",
647
- variant: "tertiary",
648
- icon: action.icon,
649
- "aria-label": action.label,
650
- tooltip: action.label,
651
- disabled: action.disabled,
652
- onClick: () => run(action)
640
+ render: linkRender(slot),
641
+ variant: "link",
642
+ color: slot.tone ?? "neutral",
643
+ size: LINK_SIZE[size],
644
+ leading: slot.icon,
645
+ disabled: slot.disabled,
646
+ className: "px-1.5",
647
+ onClick: () => run(slot),
648
+ children: slot.label
653
649
  },
654
- action.label
655
- )
656
- ),
657
- overflow.length > 0 ? /* @__PURE__ */ jsx(
658
- DropdownMenu,
650
+ index
651
+ );
652
+ }
653
+ return /* @__PURE__ */ jsx(
654
+ ButtonUtility,
659
655
  {
660
- trigger: /* @__PURE__ */ jsx(ButtonUtility, { size: "sm", variant: "tertiary", icon: /* @__PURE__ */ jsx(EllipsisVerticalIcon, {}), "aria-label": "More actions" }),
661
- items: toMenuItems(overflow, run),
662
- align: "end"
663
- }
664
- ) : null
665
- ] });
656
+ render: linkRender(slot),
657
+ size: "sm",
658
+ variant: "tertiary",
659
+ icon: slot.icon,
660
+ color: slot.tone,
661
+ tooltip: slot.label,
662
+ disabled: slot.disabled,
663
+ onClick: () => run(slot)
664
+ },
665
+ index
666
+ );
667
+ }) });
666
668
  }
667
669
  function ConfirmAction({ action, onClose }) {
668
670
  return /* @__PURE__ */ jsx(
@@ -724,6 +726,7 @@ function TableCardStack(props) {
724
726
  const {
725
727
  table,
726
728
  columns,
729
+ dividers = "line",
727
730
  getRowId,
728
731
  size,
729
732
  selection,
@@ -750,16 +753,16 @@ function TableCardStack(props) {
750
753
  }
751
754
  if (loading) {
752
755
  return /* @__PURE__ */ jsx("ul", { "aria-busy": "true", className: "divide-y divide-border-secondary", children: Array.from({ length: loadingRows }, (_, index) => /* @__PURE__ */ jsxs("li", { className: cn("flex flex-col gap-3", pad), children: [
753
- /* @__PURE__ */ jsx(SkeletonBar, { className: "h-5 w-1/2" }),
754
- /* @__PURE__ */ jsx(SkeletonBar, { className: cn("h-4", skeletonWidth(index)) }),
755
- /* @__PURE__ */ jsx(SkeletonBar, { className: cn("h-4", skeletonWidth(index + 2)) })
756
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-1/2" }),
757
+ /* @__PURE__ */ jsx(Skeleton, { className: cn("h-4", skeletonWidth(index)) }),
758
+ /* @__PURE__ */ jsx(Skeleton, { className: cn("h-4", skeletonWidth(index + 2)) })
756
759
  ] }, index)) });
757
760
  }
758
761
  const rowClickSelects = rowClick === "select";
759
762
  const rowClickExpands = rowClick === "expand";
760
763
  const onRowClick = typeof rowClick === "function" ? rowClick : null;
761
764
  return /* @__PURE__ */ jsxs(Fragment, { children: [
762
- sortable.length > 0 ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 border-b border-secondary px-4 py-3", children: [
765
+ sortable.length > 0 ? /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2 px-4 py-3", ruleEdge(dividers, "bottom")), children: [
763
766
  /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-sm text-tertiary", children: [
764
767
  /* @__PURE__ */ jsx("span", { className: "whitespace-nowrap", children: "Sort by" }),
765
768
  /* @__PURE__ */ jsxs(
@@ -854,7 +857,7 @@ function TableCardStack(props) {
854
857
  /* @__PURE__ */ jsx("dd", { className: cn("min-w-0 text-right text-tertiary", column.align === "end" && "tabular-nums"), children: cellContent(column, row) })
855
858
  ] }, column.key)) }),
856
859
  detail && isOpen ? /* @__PURE__ */ jsx("div", { className: "rounded-lg bg-secondary p-3", children: detail }) : null,
857
- rowActions ? /* @__PURE__ */ jsx("div", { className: "flex justify-end border-t border-secondary pt-3", children: /* @__PURE__ */ jsx(RowActionsCell, { row, config: rowActions, size, onConfirm }) }) : null
860
+ rowActions ? /* @__PURE__ */ jsx("div", { className: cn("flex justify-end pt-3", ruleEdge(dividers, "top")), children: /* @__PURE__ */ jsx(RowActionsCell, { row, actions: rowActions, size, onConfirm }) }) : null
858
861
  ]
859
862
  },
860
863
  id
@@ -923,6 +926,7 @@ var ROW_CLICKABLE = (
923
926
  var ROW_DISABLED = "[&>td]:opacity-50 [&>td]:pointer-events-none";
924
927
  var CELL_FOCUS = "outline-focus-ring focus-visible:z-1 focus-visible:outline-2 focus-visible:-outline-offset-2";
925
928
  var SORT_ICON = "size-3 shrink-0 text-fg-quaternary";
929
+ var SCROLLER_VIEWPORT = "group/scroller relative";
926
930
  var PIN_BASE = "sticky z-2";
927
931
  var PIN_SHADOW_START = "before:pointer-events-none before:absolute before:inset-y-0 before:-right-2 before:w-2 before:opacity-0 before:transition-opacity before:shadow-[inset_8px_0_8px_-8px_rgb(0_0_0/0.15)] group-data-[overflowing]/scroller:before:opacity-100";
928
932
  var PIN_SHADOW_END = "before:pointer-events-none before:absolute before:inset-y-0 before:-left-2 before:w-2 before:opacity-0 before:transition-opacity before:shadow-[inset_-8px_0_8px_-8px_rgb(0_0_0/0.15)] group-data-[overflowing]/scroller:before:opacity-100";
@@ -934,7 +938,7 @@ var ALIGN_FLEX = {
934
938
  start: "justify-start",
935
939
  end: "justify-end"
936
940
  };
937
- var BAND = "flex flex-wrap items-center gap-3 border-b border-secondary px-4 py-3 md:px-6";
941
+ var BAND = "flex flex-wrap items-center gap-3 px-4 py-3 md:px-6";
938
942
  function SelectionAnnouncer({ count }) {
939
943
  const previouslyHad = React.useRef(false);
940
944
  if (count > 0) previouslyHad.current = true;
@@ -947,6 +951,7 @@ function TableToolbarBar({
947
951
  toolbar,
948
952
  bulkActions,
949
953
  size,
954
+ dividers = "line",
950
955
  disabled,
951
956
  onConfirm,
952
957
  rootRef
@@ -966,7 +971,7 @@ function TableToolbarBar({
966
971
  const hideable = columns.filter((column) => (column.hideable ?? true) && column.header);
967
972
  return /* @__PURE__ */ jsxs(Fragment, { children: [
968
973
  announcer,
969
- /* @__PURE__ */ jsxs("div", { className: BAND, children: [
974
+ /* @__PURE__ */ jsxs("div", { className: cn(BAND, ruleEdge(dividers, "bottom")), children: [
970
975
  search ? /* @__PURE__ */ jsx(
971
976
  Input,
972
977
  {
@@ -999,7 +1004,7 @@ function TableToolbarBar({
999
1004
  toolbar.actions
1000
1005
  ] })
1001
1006
  ] }),
1002
- table.activeFilters.length > 0 ? /* @__PURE__ */ jsxs("div", { className: cn(BAND, "gap-2 py-2"), children: [
1007
+ table.activeFilters.length > 0 ? /* @__PURE__ */ jsxs("div", { className: cn(BAND, "gap-2 py-2", ruleEdge(dividers, "bottom")), children: [
1003
1008
  table.activeFilters.map((filter) => /* @__PURE__ */ jsxs(Tag, { size: "sm", onRemove: filter.clear, removeLabel: `Remove ${filter.label} filter`, children: [
1004
1009
  filter.label,
1005
1010
  ": ",
@@ -1217,6 +1222,7 @@ function Table(props) {
1217
1222
  table,
1218
1223
  size = "md",
1219
1224
  treatment = "divided",
1225
+ dividers = "line",
1220
1226
  rowHover = "highlight",
1221
1227
  title,
1222
1228
  badge,
@@ -1451,7 +1457,7 @@ function Table(props) {
1451
1457
  {
1452
1458
  style: pinGutter ? { left: expanderWidth } : void 0,
1453
1459
  className: cn("relative", geometry.gutterPx, pinGutter && cn(PIN_BASE, "bg-inherit")),
1454
- children: /* @__PURE__ */ jsx(SkeletonBar, { className: "size-4" })
1460
+ children: /* @__PURE__ */ jsx(Skeleton, { className: "size-4" })
1455
1461
  }
1456
1462
  ) : null,
1457
1463
  visibleColumns.map((column, columnIndex) => /* @__PURE__ */ jsx(
@@ -1459,11 +1465,11 @@ function Table(props) {
1459
1465
  {
1460
1466
  style: isTree && columnIndex === 0 ? { paddingLeft: `calc(${geometry.pxValue} + ${TREE_LEAD}px)` } : void 0,
1461
1467
  className: cn("relative", geometry.px, geometry.cellPy),
1462
- children: /* @__PURE__ */ jsx(SkeletonBar, { className: cn("h-4", skeletonWidth(index + columnIndex)) })
1468
+ children: /* @__PURE__ */ jsx(Skeleton, { className: cn("h-4", skeletonWidth(index + columnIndex)) })
1463
1469
  },
1464
1470
  column.key
1465
1471
  )),
1466
- rowActions ? /* @__PURE__ */ jsx("td", { className: cn("relative", geometry.actionsPx), children: /* @__PURE__ */ jsx(SkeletonBar, { className: "ml-auto h-4 w-12" }) }) : null
1472
+ rowActions ? /* @__PURE__ */ jsx("td", { className: cn("relative", geometry.actionsPx), children: /* @__PURE__ */ jsx(Skeleton, { className: "ml-auto h-4 w-12" }) }) : null
1467
1473
  ] }, `skeleton-${index}`)) : error ? /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: columnSpan, children: /* @__PURE__ */ jsx(TableErrorState, { error, onRetry }) }) }) : showEmpty ? /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: columnSpan, children: empty ?? /* @__PURE__ */ jsx(TableEmptyState, { isFiltered: table.isFiltered, query: table.query, onClearFilters: table.clearFilters }) }) }) : table.rows.map((row, rowIndex) => {
1468
1474
  const id = getRowId(row);
1469
1475
  const depth = table.rowDepth.get(id) ?? 0;
@@ -1582,7 +1588,7 @@ function Table(props) {
1582
1588
  column.key
1583
1589
  );
1584
1590
  }),
1585
- rowActions ? /* @__PURE__ */ jsx("td", { className: cn("relative", geometry.actionsPx), onClick: (event) => event.stopPropagation(), children: /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsx(RowActionsCell, { row, config: rowActions, size, onConfirm: setPendingAction }) }) }) : null
1591
+ rowActions ? /* @__PURE__ */ jsx("td", { className: cn("relative", geometry.actionsPx), onClick: (event) => event.stopPropagation(), children: /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsx(RowActionsCell, { row, actions: rowActions, size, onConfirm: setPendingAction }) }) }) : null
1586
1592
  ]
1587
1593
  }
1588
1594
  ),
@@ -1600,7 +1606,8 @@ function Table(props) {
1600
1606
  "div",
1601
1607
  {
1602
1608
  className: cn(
1603
- "flex flex-col items-start gap-4 border-b border-secondary px-4 md:flex-row md:items-center",
1609
+ "flex flex-col items-start gap-4 px-4 md:flex-row md:items-center",
1610
+ ruleEdge(dividers, "bottom"),
1604
1611
  geometry.cardPy,
1605
1612
  size === "sm" ? "md:px-5" : "md:px-6"
1606
1613
  ),
@@ -1619,6 +1626,7 @@ function Table(props) {
1619
1626
  toolbar || bulkActions && bulkActions.length > 0 ? /* @__PURE__ */ jsx(
1620
1627
  TableToolbarBar,
1621
1628
  {
1629
+ dividers,
1622
1630
  table,
1623
1631
  columns: leafColumns,
1624
1632
  toolbar,
@@ -1631,11 +1639,12 @@ function Table(props) {
1631
1639
  ) : null,
1632
1640
  responsive === "cards" ? /* @__PURE__ */ jsxs(Fragment, { children: [
1633
1641
  /* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx(
1634
- "div",
1642
+ ScrollView,
1635
1643
  {
1636
- ref: scrollerRef,
1637
- className: cn("group/scroller relative overflow-x-auto", stickyHeader && "overflow-y-auto"),
1638
- style: maxHeight ? { maxHeight } : void 0,
1644
+ axis: stickyHeader ? "both" : "horizontal",
1645
+ viewportRef: scrollerRef,
1646
+ viewportClassName: SCROLLER_VIEWPORT,
1647
+ viewportStyle: maxHeight ? { maxHeight } : void 0,
1639
1648
  children: body
1640
1649
  }
1641
1650
  ) }),
@@ -1643,6 +1652,7 @@ function Table(props) {
1643
1652
  TableCardStack,
1644
1653
  {
1645
1654
  table,
1655
+ dividers,
1646
1656
  columns: visibleColumns,
1647
1657
  getRowId,
1648
1658
  size,
@@ -1660,15 +1670,16 @@ function Table(props) {
1660
1670
  }
1661
1671
  ) })
1662
1672
  ] }) : /* @__PURE__ */ jsx(
1663
- "div",
1673
+ ScrollView,
1664
1674
  {
1665
- ref: scrollerRef,
1666
- className: cn("group/scroller relative overflow-x-auto", stickyHeader && "overflow-y-auto"),
1667
- style: maxHeight ? { maxHeight } : void 0,
1675
+ axis: stickyHeader ? "both" : "horizontal",
1676
+ viewportRef: scrollerRef,
1677
+ viewportClassName: SCROLLER_VIEWPORT,
1678
+ viewportStyle: maxHeight ? { maxHeight } : void 0,
1668
1679
  children: body
1669
1680
  }
1670
1681
  ),
1671
- showPagination ? /* @__PURE__ */ jsx("div", { className: cn("border-t border-secondary px-4 py-3", size === "sm" ? "md:px-5" : "md:px-6"), children: /* @__PURE__ */ jsx(
1682
+ showPagination ? /* @__PURE__ */ jsx("div", { className: cn("px-4 py-3", ruleEdge(dividers, "top"), size === "sm" ? "md:px-5" : "md:px-6"), children: /* @__PURE__ */ jsx(
1672
1683
  Pagination,
1673
1684
  {
1674
1685
  ...paginationOptions,
@@ -1688,5 +1699,5 @@ function Table(props) {
1688
1699
  }
1689
1700
 
1690
1701
  export { Table, expansionChildren, expansionDetail, flattenColumns, hasColumnGroups, isColumnGroup, useTable };
1691
- //# sourceMappingURL=chunk-MKC5HNA7.js.map
1692
- //# sourceMappingURL=chunk-MKC5HNA7.js.map
1702
+ //# sourceMappingURL=chunk-USL3TDZM.js.map
1703
+ //# sourceMappingURL=chunk-USL3TDZM.js.map
@@ -1,6 +1,5 @@
1
- import { PanelChrome } from './chunk-J7ZQQFPT.js';
2
- import { CloseButton } from './chunk-MQGD2OUF.js';
3
- import { useScrollFade } from './chunk-O2LG3PNI.js';
1
+ import { PanelChrome } from './chunk-FZBZGA3P.js';
2
+ import { CloseButton } from './chunk-42FCPC77.js';
4
3
  import { BACKDROP_MOTION, DIALOG_POPUP_MOTION } from './chunk-O4GRKO3I.js';
5
4
  import { cn } from './chunk-ZSNJ6UA3.js';
6
5
  import { Dialog } from '@base-ui/react/dialog';
@@ -28,8 +27,6 @@ function useControllableOpen(open, defaultOpen, onOpenChange) {
28
27
  function DialogSurface(props) {
29
28
  const { size = "md", showClose, dividers, keepMounted, title, description, leading, trailing, footer, className, children, close } = props;
30
29
  const ariaLabel = props["aria-label"];
31
- const bodyRef = React.useRef(null);
32
- const { maskImage } = useScrollFade(bodyRef, { axis: "vertical" });
33
30
  return /* @__PURE__ */ jsxs(Dialog.Portal, { keepMounted, children: [
34
31
  /* @__PURE__ */ jsx(Dialog.Backdrop, { className: cn("fixed inset-0 z-50 bg-overlay", BACKDROP_MOTION) }),
35
32
  /* @__PURE__ */ jsx("div", { className: "pointer-events-none fixed inset-0 z-50 flex items-center justify-center p-4", children: /* @__PURE__ */ jsx(
@@ -51,8 +48,6 @@ function DialogSurface(props) {
51
48
  titleScale: "lg",
52
49
  footerAlign: "end",
53
50
  scrollBody: true,
54
- bodyRef,
55
- bodyMask: maskImage,
56
51
  dividers,
57
52
  title,
58
53
  description,
@@ -69,5 +64,5 @@ function DialogSurface(props) {
69
64
  }
70
65
 
71
66
  export { DialogSurface, useControllableOpen };
72
- //# sourceMappingURL=chunk-CYPPEUX5.js.map
73
- //# sourceMappingURL=chunk-CYPPEUX5.js.map
67
+ //# sourceMappingURL=chunk-VEOYCAJP.js.map
68
+ //# sourceMappingURL=chunk-VEOYCAJP.js.map
@@ -1,8 +1,8 @@
1
- import { Tag } from './chunk-R6RGJF4L.js';
2
- import { useTagRow } from './chunk-W5GGOUUI.js';
3
- import { FieldShell } from './chunk-QA74ITR4.js';
1
+ import { Tag } from './chunk-EDT5J5WK.js';
2
+ import { useTagRow } from './chunk-6HJA7NPL.js';
3
+ import { FieldShell } from './chunk-JUWDRRD6.js';
4
4
  import { useIsomorphicLayoutEffect } from './chunk-EDSK6FEH.js';
5
- import { CONTROL_TEXT, CONTROL_RADIUS, useFieldValidity, FieldFrame } from './chunk-J2BCKBHC.js';
5
+ import { CONTROL_TEXT, CONTROL_RADIUS, useFieldValidity, FieldFrame } from './chunk-QKDEQFOQ.js';
6
6
  import { cn } from './chunk-ZSNJ6UA3.js';
7
7
  import { Field } from '@base-ui/react/field';
8
8
  import * as React from 'react';
@@ -265,5 +265,5 @@ function TagInput(props) {
265
265
  }
266
266
 
267
267
  export { TAG_PILL_FOCUS_RING, TagInput, useTagInput };
268
- //# sourceMappingURL=chunk-WEUJYDCV.js.map
269
- //# sourceMappingURL=chunk-WEUJYDCV.js.map
268
+ //# sourceMappingURL=chunk-VH35QHD4.js.map
269
+ //# sourceMappingURL=chunk-VH35QHD4.js.map
@@ -0,0 +1,188 @@
1
+ import { toUploadFile } from './chunk-HSVBTIP2.js';
2
+ import { warnPositiveInt, devWarn } from './chunk-QDYE5LVT.js';
3
+ import * as React from 'react';
4
+
5
+ function reduceUpload(rows, id, event) {
6
+ const index = rows.findIndex((row2) => row2.id === id);
7
+ if (index === -1) return rows;
8
+ const row = rows[index];
9
+ const next = applyEvent(row, event);
10
+ if (next === row) return rows;
11
+ const copy = [...rows];
12
+ copy[index] = next;
13
+ return copy;
14
+ }
15
+ function applyEvent(row, event) {
16
+ switch (event.type) {
17
+ case "progress": {
18
+ const percent = Math.max(0, Math.min(100, Math.round(event.percent)));
19
+ if (row.progress === percent && row.status === "uploading") return row;
20
+ return row.status === "uploading" ? { ...row, progress: percent } : row;
21
+ }
22
+ case "complete": {
23
+ return { ...row, status: "complete", progress: 100, error: void 0 };
24
+ }
25
+ case "failed": {
26
+ return { ...row, status: "failed", error: event.error };
27
+ }
28
+ case "retry": {
29
+ return { ...row, status: "uploading", progress: 0, error: void 0 };
30
+ }
31
+ }
32
+ }
33
+ function splitBatchProgress(sizes, loaded) {
34
+ let head = Math.max(0, loaded);
35
+ return sizes.map((size) => {
36
+ const bytes = Math.max(0, size);
37
+ if (bytes === 0) return 100;
38
+ const done = Math.min(head, bytes);
39
+ head -= done;
40
+ return Math.round(done / bytes * 100);
41
+ });
42
+ }
43
+ function useUploads({ transport, batchSize = 1, concurrency = 3 }) {
44
+ const [files, setFiles] = React.useState([]);
45
+ const [results, setResults] = React.useState(() => /* @__PURE__ */ new Map());
46
+ const blobs = React.useRef(/* @__PURE__ */ new Map());
47
+ const controllers = React.useRef(/* @__PURE__ */ new Map());
48
+ const queue = React.useRef([]);
49
+ const running = React.useRef(0);
50
+ const latest = React.useRef({ transport, batchSize, concurrency });
51
+ latest.current = { transport, batchSize, concurrency };
52
+ warnPositiveInt("useUploads", "batchSize", batchSize);
53
+ warnPositiveInt("useUploads", "concurrency", concurrency);
54
+ const emit = React.useCallback((id, event) => {
55
+ setFiles((rows) => reduceUpload(rows, id, event));
56
+ }, []);
57
+ const pump = React.useCallback(() => {
58
+ while (running.current < Math.max(1, latest.current.concurrency) && queue.current.length > 0) {
59
+ const job = queue.current.shift();
60
+ const ids = job.ids.filter((id) => blobs.current.has(id));
61
+ if (ids.length === 0) continue;
62
+ running.current += 1;
63
+ void run(ids);
64
+ }
65
+ async function run(ids) {
66
+ const batch = ids.map((id) => blobs.current.get(id));
67
+ const controller = new AbortController();
68
+ for (const id of ids) controllers.current.set(id, controller);
69
+ const sizes = batch.map((file) => file.size);
70
+ const onProgress = (percent, fileIndex) => {
71
+ if (fileIndex !== void 0) {
72
+ const id = ids[fileIndex];
73
+ if (id) emit(id, { type: "progress", percent });
74
+ return;
75
+ }
76
+ if (ids.length === 1) {
77
+ emit(ids[0], { type: "progress", percent });
78
+ return;
79
+ }
80
+ const total = sizes.reduce((sum, size) => sum + size, 0);
81
+ const split = splitBatchProgress(sizes, Math.max(0, Math.min(100, percent)) / 100 * total);
82
+ for (const [i, id] of ids.entries()) emit(id, { type: "progress", percent: split[i] ?? 0 });
83
+ };
84
+ try {
85
+ const settled = await latest.current.transport(batch, { signal: controller.signal, onProgress });
86
+ if (controller.signal.aborted) return;
87
+ setResults((prev) => {
88
+ const next = new Map(prev);
89
+ for (const [i, id] of ids.entries()) {
90
+ const value = settled[i];
91
+ if (value !== void 0) next.set(id, value);
92
+ }
93
+ return next;
94
+ });
95
+ for (const id of ids) emit(id, { type: "complete" });
96
+ } catch (error) {
97
+ if (controller.signal.aborted || error?.name === "AbortError") return;
98
+ const message = error instanceof Error && error.message ? error.message : "Upload failed.";
99
+ for (const id of ids) emit(id, { type: "failed", error: message });
100
+ } finally {
101
+ for (const id of ids) {
102
+ if (controllers.current.get(id) === controller) controllers.current.delete(id);
103
+ }
104
+ running.current -= 1;
105
+ pump();
106
+ }
107
+ }
108
+ }, [emit]);
109
+ const enqueue = React.useCallback(
110
+ (ids) => {
111
+ const size = Math.max(1, Math.floor(latest.current.batchSize));
112
+ for (let i = 0; i < ids.length; i += size) queue.current.push({ ids: ids.slice(i, i + size) });
113
+ pump();
114
+ },
115
+ [pump]
116
+ );
117
+ const add = React.useCallback(
118
+ (picked) => {
119
+ if (picked.length === 0) return;
120
+ const rows = picked.map(toUploadFile);
121
+ for (const [i, row] of rows.entries()) blobs.current.set(row.id, picked[i]);
122
+ setFiles((prev) => [...prev, ...rows]);
123
+ enqueue(rows.map((row) => row.id));
124
+ },
125
+ [enqueue]
126
+ );
127
+ const drop = React.useCallback((id) => {
128
+ controllers.current.get(id)?.abort();
129
+ controllers.current.delete(id);
130
+ blobs.current.delete(id);
131
+ setFiles((rows) => rows.filter((row) => row.id !== id));
132
+ setResults((prev) => {
133
+ if (!prev.has(id)) return prev;
134
+ const next = new Map(prev);
135
+ next.delete(id);
136
+ return next;
137
+ });
138
+ }, []);
139
+ const retry = React.useCallback(
140
+ (id) => {
141
+ if (!blobs.current.has(id)) {
142
+ devWarn(`useUploads cannot retry "${id}" \u2014 its File is gone. A row restored from an API has no blob to resend.`);
143
+ return;
144
+ }
145
+ emit(id, { type: "retry" });
146
+ queue.current.push({ ids: [id] });
147
+ pump();
148
+ },
149
+ [emit, pump]
150
+ );
151
+ const clear = React.useCallback(() => {
152
+ queue.current = [];
153
+ new Set(controllers.current.values()).forEach((controller) => controller.abort());
154
+ controllers.current.clear();
155
+ blobs.current.clear();
156
+ setFiles([]);
157
+ setResults(/* @__PURE__ */ new Map());
158
+ }, []);
159
+ React.useEffect(
160
+ () => () => {
161
+ new Set(controllers.current.values()).forEach((controller) => controller.abort());
162
+ },
163
+ []
164
+ );
165
+ const listProps = React.useMemo(
166
+ () => ({
167
+ files,
168
+ // Withheld above 1: one request cannot cancel one of its files, and `<FileList>` renders no
169
+ // affordance at all for an absent callback — never a disabled ghost.
170
+ onCancel: batchSize > 1 ? void 0 : (file) => drop(file.id),
171
+ onRemove: (file) => drop(file.id),
172
+ onRetry: (file) => retry(file.id)
173
+ }),
174
+ [files, batchSize, drop, retry]
175
+ );
176
+ return {
177
+ files,
178
+ listProps,
179
+ add,
180
+ clear,
181
+ activeCount: files.reduce((count, row) => count + (row.status === "uploading" ? 1 : 0), 0),
182
+ results
183
+ };
184
+ }
185
+
186
+ export { reduceUpload, splitBatchProgress, useUploads };
187
+ //# sourceMappingURL=chunk-VWGAMOSE.js.map
188
+ //# sourceMappingURL=chunk-VWGAMOSE.js.map
@@ -1,7 +1,7 @@
1
1
  import { OptionRow } from './chunk-GTHJWR3Q.js';
2
2
  import { mapOptions } from './chunk-7JBNLEJ7.js';
3
- import { useFieldValidity, FieldGroupFrame } from './chunk-J2BCKBHC.js';
4
- import { warnNeedsName } from './chunk-GCVA3OIV.js';
3
+ import { useFieldValidity, FieldGroupFrame } from './chunk-QKDEQFOQ.js';
4
+ import { warnNeedsName } from './chunk-QDYE5LVT.js';
5
5
  import { cn } from './chunk-ZSNJ6UA3.js';
6
6
  import { Radio } from '@base-ui/react/radio';
7
7
  import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
@@ -158,5 +158,5 @@ RadioGroupRoot.displayName = "RadioGroup";
158
158
  var RadioGroup = RadioGroupRoot;
159
159
 
160
160
  export { RadioGroup };
161
- //# sourceMappingURL=chunk-SV56BSUQ.js.map
162
- //# sourceMappingURL=chunk-SV56BSUQ.js.map
161
+ //# sourceMappingURL=chunk-WKWAUU64.js.map
162
+ //# sourceMappingURL=chunk-WKWAUU64.js.map
@@ -0,0 +1,17 @@
1
+ import { ScrollView } from './chunk-FKVPAEJ6.js';
2
+ import 'react';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ // src/components/scroll-area/shared.ts
6
+ function maskAxis(axis, fade) {
7
+ if (fade === false) return false;
8
+ if (fade === void 0 && axis === "both") return false;
9
+ return axis === "both" ? "vertical" : axis;
10
+ }
11
+ function ScrollArea({ axis = "vertical", fade, composite = false, className, style, viewportRef, children }) {
12
+ return /* @__PURE__ */ jsx(ScrollView, { axis, fade: maskAxis(axis, fade), composite, className, style, viewportRef, children });
13
+ }
14
+
15
+ export { ScrollArea };
16
+ //# sourceMappingURL=chunk-X2X7Q7NW.js.map
17
+ //# sourceMappingURL=chunk-X2X7Q7NW.js.map
@@ -1,7 +1,7 @@
1
- import { Button } from './chunk-W46K56XU.js';
1
+ import { Button } from './chunk-A5WQLN4B.js';
2
2
  import { Slot } from './chunk-52IFGFTL.js';
3
- import { XIcon, CircleXIcon, TriangleAlertIcon, CircleCheckIcon, InfoIcon, BellIcon } from './chunk-24TO7E32.js';
4
- import { devWarn, warnPositiveInt } from './chunk-GCVA3OIV.js';
3
+ import { XIcon, CircleXIcon, TriangleAlertIcon, CircleCheckIcon, InfoIcon, BellIcon } from './chunk-BLIZ3CL3.js';
4
+ import { devWarn, warnPositiveInt } from './chunk-QDYE5LVT.js';
5
5
  import { cn } from './chunk-ZSNJ6UA3.js';
6
6
  import { Toast } from '@base-ui/react/toast';
7
7
  import * as React from 'react';
@@ -499,5 +499,5 @@ function ToastProvider(props) {
499
499
  }
500
500
 
501
501
  export { ToastProvider, toast };
502
- //# sourceMappingURL=chunk-I7WU4GTY.js.map
503
- //# sourceMappingURL=chunk-I7WU4GTY.js.map
502
+ //# sourceMappingURL=chunk-YLEHYDXC.js.map
503
+ //# sourceMappingURL=chunk-YLEHYDXC.js.map