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
@@ -0,0 +1,57 @@
1
+ import { useScrollFade } from './chunk-O2LG3PNI.js';
2
+ import { cn } from './chunk-ZSNJ6UA3.js';
3
+ import { ScrollArea } from '@base-ui/react/scroll-area';
4
+ import * as React from 'react';
5
+ import { jsxs, jsx } from 'react/jsx-runtime';
6
+
7
+ var ROOT = "flex flex-col";
8
+ var VIEWPORT = "min-h-0 flex-1 overscroll-contain outline-none";
9
+ var BAR = "z-10 flex touch-none opacity-0 transition-opacity duration-150 select-none data-[hovering]:opacity-100 data-[scrolling]:opacity-100";
10
+ var BAR_V = cn(BAR, "w-1.5 px-px py-2");
11
+ var BAR_H = cn(BAR, "h-1.5 flex-col px-2 py-px");
12
+ var THUMB = "flex-1 rounded-full bg-border-primary";
13
+ function ScrollView(props) {
14
+ const { axis = "vertical", fade, composite = false, className, style, viewportClassName, viewportRef, viewportStyle, children } = props;
15
+ const showV = axis === "vertical" || axis === "both";
16
+ const showH = axis === "horizontal" || axis === "both";
17
+ const fadeAxis = fade === void 0 ? axis === "both" ? false : axis : fade;
18
+ const innerRef = React.useRef(null);
19
+ const { maskImage } = useScrollFade(innerRef, { axis: fadeAxis === false ? "vertical" : fadeAxis, enabled: fadeAxis !== false });
20
+ const setViewport = React.useCallback(
21
+ (node) => {
22
+ innerRef.current = node;
23
+ if (typeof viewportRef === "function") viewportRef(node);
24
+ else if (viewportRef != null) viewportRef.current = node;
25
+ },
26
+ [viewportRef]
27
+ );
28
+ return (
29
+ // `role={undefined}` on both boxes, deliberately. Base UI stamps `role="presentation"` to say
30
+ // "I am a wrapper" — but a scroll region is frequently wrapped AROUND something with a required
31
+ // child list, and `presentation` is the one wrapper role that BREAKS that: axe's
32
+ // `aria-required-children` reports "Element has children which are not allowed:
33
+ // [role=presentation]" for a `role="menu"` whose rows now sit two presentational divs down. A
34
+ // div with no role is generic — transparent to that traversal and identical to AT — which is
35
+ // exactly what every scroller in this library was before it came through here.
36
+ /* @__PURE__ */ jsxs(ScrollArea.Root, { role: void 0, className: cn(ROOT, className), style, children: [
37
+ /* @__PURE__ */ jsx(
38
+ ScrollArea.Viewport,
39
+ {
40
+ role: void 0,
41
+ ...composite ? { tabIndex: void 0 } : {},
42
+ ref: setViewport,
43
+ className: cn(VIEWPORT, viewportClassName),
44
+ style: { ...viewportStyle, ...maskImage != null && { maskImage, WebkitMaskImage: maskImage } },
45
+ children
46
+ }
47
+ ),
48
+ showV ? /* @__PURE__ */ jsx(ScrollArea.Scrollbar, { orientation: "vertical", className: BAR_V, children: /* @__PURE__ */ jsx(ScrollArea.Thumb, { className: THUMB }) }) : null,
49
+ showH ? /* @__PURE__ */ jsx(ScrollArea.Scrollbar, { orientation: "horizontal", className: BAR_H, children: /* @__PURE__ */ jsx(ScrollArea.Thumb, { className: THUMB }) }) : null,
50
+ showV && showH ? /* @__PURE__ */ jsx(ScrollArea.Corner, {}) : null
51
+ ] })
52
+ );
53
+ }
54
+
55
+ export { ScrollView };
56
+ //# sourceMappingURL=chunk-FKVPAEJ6.js.map
57
+ //# sourceMappingURL=chunk-FKVPAEJ6.js.map
@@ -1,4 +1,6 @@
1
1
  import { SURFACE_PADDING } from './chunk-MFJP5FA7.js';
2
+ import { ruleEdge } from './chunk-LCG34A5T.js';
3
+ import { ScrollView } from './chunk-FKVPAEJ6.js';
2
4
  import { Slot } from './chunk-52IFGFTL.js';
3
5
  import { cn } from './chunk-ZSNJ6UA3.js';
4
6
  import { mergeProps } from '@base-ui/react/merge-props';
@@ -47,9 +49,7 @@ function PanelChrome(props) {
47
49
  titleScale = "md",
48
50
  footerAlign = "start",
49
51
  scrollBody = false,
50
- bodyMask,
51
- bodyRef,
52
- dividers = false,
52
+ dividers = "none",
53
53
  title,
54
54
  description,
55
55
  leading,
@@ -64,18 +64,19 @@ function PanelChrome(props) {
64
64
  const hasText = title != null || description != null;
65
65
  const rootClassName = cn("flex flex-col", SURFACE_PADDING[padding], GAP[padding], paddingMd && cn(ROOT_PAD_MD[paddingMd], GAP_MD[paddingMd]), className);
66
66
  const closeClassName = cn("absolute shrink-0", CLOSE_INSET[padding], paddingMd && CLOSE_INSET_MD[paddingMd]);
67
+ const hasDividers = dividers !== "none";
67
68
  const headerClassName = cn(
68
69
  "flex shrink-0 gap-3",
69
70
  // A lone title centers against its leading/trailing nodes; once a description makes the text
70
71
  // column two lines tall, centering would float the avatar into the gap between them.
71
72
  description != null ? "items-start" : "items-center",
72
- dividers && cn("border-b border-secondary", BLEED[padding], HEADER_GUTTER[padding], paddingMd && cn(BLEED_MD[paddingMd], HEADER_GUTTER_MD[paddingMd])),
73
- closeSlot && (dividers ? cn(CLOSE_GUTTER_BLEED[padding], paddingMd && CLOSE_GUTTER_BLEED_MD[paddingMd]) : CLOSE_GUTTER)
73
+ hasDividers && cn(ruleEdge(dividers, "bottom"), BLEED[padding], HEADER_GUTTER[padding], paddingMd && cn(BLEED_MD[paddingMd], HEADER_GUTTER_MD[paddingMd])),
74
+ closeSlot && (hasDividers ? cn(CLOSE_GUTTER_BLEED[padding], paddingMd && CLOSE_GUTTER_BLEED_MD[paddingMd]) : CLOSE_GUTTER)
74
75
  );
75
76
  const footerClassName = cn(
76
77
  "flex shrink-0 flex-wrap items-center gap-3",
77
78
  footerAlign === "end" && "justify-end",
78
- dividers && cn("border-t border-secondary", BLEED[padding], FOOTER_GUTTER[padding], paddingMd && cn(BLEED_MD[paddingMd], FOOTER_GUTTER_MD[paddingMd]))
79
+ hasDividers && cn(ruleEdge(dividers, "top"), BLEED[padding], FOOTER_GUTTER[padding], paddingMd && cn(BLEED_MD[paddingMd], FOOTER_GUTTER_MD[paddingMd]))
79
80
  );
80
81
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
81
82
  closeSlot ? closeSlot(closeClassName) : null,
@@ -90,15 +91,14 @@ function PanelChrome(props) {
90
91
  ) : /* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1" }),
91
92
  trailing != null ? /* @__PURE__ */ jsx(Slot, { className: "[&>svg]:size-5", children: trailing }) : null
92
93
  ] }) : null,
93
- children != null ? /* @__PURE__ */ jsx(
94
- "div",
95
- {
96
- ref: bodyRef,
97
- className: cn("min-w-0", BODY, scrollBody && "min-h-0 flex-1 overflow-y-auto"),
98
- style: bodyMask ? { maskImage: bodyMask, WebkitMaskImage: bodyMask } : void 0,
99
- children
100
- }
101
- ) : null,
94
+ children != null ? scrollBody ? (
95
+ // `ScrollView` owns the overflow, the house overlay bar AND the edge-fade mask, so the
96
+ // three overlays that render this scaffold (Dialog, Drawer, Popover) no longer each
97
+ // hand-wire a ref + a `useScrollFade` + a `maskImage` style — the mask is still on the
98
+ // element that scrolls, which is the whole reason it lives here and not on the Popup
99
+ // (a masked box fades its own ring, and rides the open/close translate).
100
+ /* @__PURE__ */ jsx(ScrollView, { className: cn("min-h-0 min-w-0 flex-1", BODY), viewportClassName: "min-w-0", children })
101
+ ) : /* @__PURE__ */ jsx("div", { className: cn("min-w-0", BODY), children }) : null,
102
102
  footer != null ? /* @__PURE__ */ jsx("div", { className: footerClassName, children: footer }) : null
103
103
  ] });
104
104
  return useRender({
@@ -109,5 +109,5 @@ function PanelChrome(props) {
109
109
  }
110
110
 
111
111
  export { PanelChrome };
112
- //# sourceMappingURL=chunk-J7ZQQFPT.js.map
113
- //# sourceMappingURL=chunk-J7ZQQFPT.js.map
112
+ //# sourceMappingURL=chunk-FZBZGA3P.js.map
113
+ //# sourceMappingURL=chunk-FZBZGA3P.js.map
@@ -1,16 +1,16 @@
1
1
  import { INTRINSIC_CELL, INTRINSIC_STACK, IntrinsicWidth } from './chunk-7S2TBALK.js';
2
+ import { Tag } from './chunk-EDT5J5WK.js';
2
3
  import { NO_RETURN_FOCUS } from './chunk-S7NNXWIN.js';
3
- import { PopupScrollViewport } from './chunk-ZZT2E5VT.js';
4
- import { ListboxFooter, MultiValueCount } from './chunk-FHHAPGCR.js';
4
+ import { PopupScrollViewport } from './chunk-PO2TYK3C.js';
5
+ import { ListboxFooter, MultiValueCount } from './chunk-ILICYNK7.js';
6
+ import { useTagRow } from './chunk-6HJA7NPL.js';
5
7
  import { buildOptionMap, mapOptions } from './chunk-7JBNLEJ7.js';
6
- import { Tag } from './chunk-R6RGJF4L.js';
7
- import { useTagRow } from './chunk-W5GGOUUI.js';
8
- import { FieldShell } from './chunk-QA74ITR4.js';
9
- import { warnSeamlessFieldChrome, useSeamlessSlot, SEAMLESS_CONTROL } from './chunk-KNYKWUYX.js';
8
+ import { FieldShell } from './chunk-JUWDRRD6.js';
9
+ import { warnSeamlessFieldChrome, useSeamlessSlot, SEAMLESS_CONTROL } from './chunk-TBN644IN.js';
10
10
  import { Slot } from './chunk-52IFGFTL.js';
11
- import { useFieldValidity, FieldFrame, SHELL_SIZE, BAR_SIZE, LISTBOX_PX_SM, CONTROL_ICON, SLOT_ICON } from './chunk-J2BCKBHC.js';
12
- import { ChevronDownIcon, CheckIcon } from './chunk-24TO7E32.js';
11
+ import { useFieldValidity, FieldFrame, SHELL_SIZE, BAR_SIZE, LISTBOX_PX_SM, CONTROL_ICON, SLOT_ICON } from './chunk-QKDEQFOQ.js';
13
12
  import { POPUP_MOTION } from './chunk-O4GRKO3I.js';
13
+ import { ChevronDownIcon, CheckIcon } from './chunk-BLIZ3CL3.js';
14
14
  import { cn } from './chunk-ZSNJ6UA3.js';
15
15
  import { Select as Select$1 } from '@base-ui/react/select';
16
16
  import * as React from 'react';
@@ -431,5 +431,5 @@ SelectGroupLabel.displayName = "SelectGroupLabel";
431
431
  var Select = SelectFlat;
432
432
 
433
433
  export { Select };
434
- //# sourceMappingURL=chunk-T7FCG7XV.js.map
435
- //# sourceMappingURL=chunk-T7FCG7XV.js.map
434
+ //# sourceMappingURL=chunk-GAFGIT4Q.js.map
435
+ //# sourceMappingURL=chunk-GAFGIT4Q.js.map
@@ -0,0 +1,482 @@
1
+ import { Progress } from './chunk-A46ED5JQ.js';
2
+ import { Separator } from './chunk-7VLYQR4D.js';
3
+ import { FileTrigger } from './chunk-DJSXIAFH.js';
4
+ import { Button } from './chunk-A5WQLN4B.js';
5
+ import { ButtonUtility } from './chunk-C6OTOTKI.js';
6
+ import { SOLID } from './chunk-6IUTVDNI.js';
7
+ import { useFieldValidity, FieldFrame } from './chunk-QKDEQFOQ.js';
8
+ import { UploadCloudIcon, FileIcon, CircleXIcon, CircleCheckIcon, Trash2Icon, XIcon } from './chunk-BLIZ3CL3.js';
9
+ import { warnNonNegativeInt, devWarn, warnRange } from './chunk-QDYE5LVT.js';
10
+ import { cn } from './chunk-ZSNJ6UA3.js';
11
+ import { mergeProps } from '@base-ui/react/merge-props';
12
+ import { useRender } from '@base-ui/react/use-render';
13
+ import * as React from 'react';
14
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
15
+
16
+ // src/components/dropzone/shared.ts
17
+ var SIZE_SUFFIX = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
18
+ function formatFileSize(bytes) {
19
+ if (!Number.isFinite(bytes) || bytes <= 0) return "0 B";
20
+ const exponent = Math.min(Math.floor(Math.log(bytes) / Math.log(1024)), SIZE_SUFFIX.length - 1);
21
+ const value = bytes / 1024 ** exponent;
22
+ const rounded = exponent >= 2 ? Math.round(value * 10) / 10 : Math.round(value);
23
+ return `${rounded} ${SIZE_SUFFIX[exponent]}`;
24
+ }
25
+ var idCounter = 0;
26
+ function toUploadFile(file) {
27
+ const uuid = typeof crypto !== "undefined" && typeof crypto.randomUUID === "function" ? crypto.randomUUID() : `file-${++idCounter}`;
28
+ return {
29
+ id: uuid,
30
+ name: file.name,
31
+ size: file.size,
32
+ status: "uploading",
33
+ progress: 0,
34
+ type: file.type || void 0
35
+ };
36
+ }
37
+ function isFileTypeAccepted(file, accept) {
38
+ if (!accept || !accept.trim()) return true;
39
+ const patterns = accept.split(",").map((entry) => entry.trim().toLowerCase()).filter(Boolean);
40
+ if (patterns.length === 0) return true;
41
+ const name = file.name.toLowerCase();
42
+ const mime = (file.type || "").toLowerCase();
43
+ return patterns.some((pattern) => {
44
+ if (pattern.startsWith(".")) return name.endsWith(pattern);
45
+ if (pattern.endsWith("/*")) return mime.startsWith(pattern.slice(0, -1));
46
+ return mime === pattern;
47
+ });
48
+ }
49
+ function invalidAcceptEntries(accept) {
50
+ return accept.split(",").map((entry) => entry.trim()).filter((entry) => entry.length > 0 && !entry.startsWith(".") && !entry.includes("/"));
51
+ }
52
+ function bucketFiles(files, rules = {}) {
53
+ const { accept, multiple = true, maxSize, maxFiles, existingCount = 0 } = rules;
54
+ const accepted = [];
55
+ const rejections = [];
56
+ const ceiling = multiple ? maxFiles ?? Infinity : 1;
57
+ let room = Math.max(0, ceiling - (multiple ? existingCount : 0));
58
+ for (const file of files) {
59
+ if (room <= 0) {
60
+ rejections.push({ file, reason: "count" });
61
+ continue;
62
+ }
63
+ if (maxSize !== void 0 && file.size > maxSize) {
64
+ rejections.push({ file, reason: "size" });
65
+ continue;
66
+ }
67
+ if (!isFileTypeAccepted(file, accept)) {
68
+ rejections.push({ file, reason: "type" });
69
+ continue;
70
+ }
71
+ accepted.push(file);
72
+ room -= 1;
73
+ }
74
+ return { accepted, rejections };
75
+ }
76
+ function fileExtension(nameOrType) {
77
+ const raw = nameOrType.trim().toLowerCase();
78
+ if (!raw) return "";
79
+ if (raw.includes("/")) {
80
+ const subtype = raw.slice(raw.lastIndexOf("/") + 1);
81
+ const base = subtype.split("+", 1)[0] ?? "";
82
+ if (base === "octet-stream" || base === "*" || base.includes(".")) return "";
83
+ return base;
84
+ }
85
+ const dot = raw.lastIndexOf(".");
86
+ if (dot === -1) return raw;
87
+ return dot === 0 || dot === raw.length - 1 ? "" : raw.slice(dot + 1);
88
+ }
89
+ var FILE_TONE = {
90
+ // Documents
91
+ pdf: "error",
92
+ doc: "info",
93
+ docx: "info",
94
+ txt: "info",
95
+ rtf: "info",
96
+ md: "info",
97
+ pages: "info",
98
+ // Sheets
99
+ xls: "success",
100
+ xlsx: "success",
101
+ csv: "success",
102
+ numbers: "success",
103
+ // Images
104
+ png: "brand",
105
+ jpg: "brand",
106
+ jpeg: "brand",
107
+ gif: "brand",
108
+ svg: "brand",
109
+ webp: "brand",
110
+ avif: "brand",
111
+ heic: "brand",
112
+ // Archives
113
+ zip: "warning",
114
+ rar: "warning",
115
+ "7z": "warning",
116
+ tar: "warning",
117
+ gz: "warning"
118
+ };
119
+ function extensionTone(extension) {
120
+ return FILE_TONE[extension] ?? "neutral";
121
+ }
122
+ var FILE_TONE_BUCKETS = [
123
+ { tone: "error", label: "Documents", extensions: ["pdf"] },
124
+ { tone: "info", label: "Text", extensions: ["doc", "docx", "txt", "rtf", "md", "pages"] },
125
+ { tone: "success", label: "Sheets", extensions: ["xls", "xlsx", "csv", "numbers"] },
126
+ { tone: "brand", label: "Images", extensions: ["png", "jpg", "jpeg", "gif", "svg", "webp", "avif", "heic"] },
127
+ { tone: "warning", label: "Archives", extensions: ["zip", "rar", "7z", "tar", "gz"] },
128
+ { tone: "neutral", label: "Everything else", extensions: ["exe", "bin", "unknown"] }
129
+ ];
130
+ function fileTone(nameOrType) {
131
+ if (!nameOrType) return "neutral";
132
+ return extensionTone(fileExtension(nameOrType));
133
+ }
134
+ function fileGlyphSource(file) {
135
+ return file.type && fileExtension(file.type) ? file.type : file.name;
136
+ }
137
+ var GLYPH_BOX = "relative size-10 shrink-0";
138
+
139
+ // src/components/dropzone/entries.ts
140
+ var readEntryFromItem = (item) => {
141
+ const get = item.webkitGetAsEntry;
142
+ if (typeof get !== "function") return null;
143
+ try {
144
+ return get.call(item) ?? null;
145
+ } catch {
146
+ return null;
147
+ }
148
+ };
149
+ function entryFile(entry) {
150
+ return new Promise((resolve) => {
151
+ try {
152
+ entry.file(
153
+ (file) => resolve(file),
154
+ () => resolve(null)
155
+ );
156
+ } catch {
157
+ resolve(null);
158
+ }
159
+ });
160
+ }
161
+ function readBatch(reader) {
162
+ return new Promise((resolve) => {
163
+ try {
164
+ reader.readEntries(
165
+ (entries) => resolve(entries),
166
+ () => resolve([])
167
+ );
168
+ } catch {
169
+ resolve([]);
170
+ }
171
+ });
172
+ }
173
+ var MAX_DEPTH = 32;
174
+ async function walkDirectory(entry, depth) {
175
+ if (depth > MAX_DEPTH) return [];
176
+ const reader = entry.createReader();
177
+ const out = [];
178
+ for (; ; ) {
179
+ const batch = await readBatch(reader);
180
+ if (batch.length === 0) break;
181
+ for (const child of batch) {
182
+ if (child.isDirectory) {
183
+ out.push(...await walkDirectory(child, depth + 1));
184
+ } else {
185
+ const file = await entryFile(child);
186
+ if (file) out.push(file);
187
+ }
188
+ }
189
+ }
190
+ return out;
191
+ }
192
+ async function readDropContents(dt, recursive, readEntry = readEntryFromItem) {
193
+ const items = dt.items ? [...dt.items] : [];
194
+ const entries = items.filter((item) => item.kind === "file").map((item) => readEntry(item));
195
+ if (entries.every((entry) => entry === null)) {
196
+ return { files: dt.files ? [...dt.files] : [], directories: [] };
197
+ }
198
+ const files = [];
199
+ const directories = [];
200
+ for (const [index, entry] of entries.entries()) {
201
+ if (!entry) {
202
+ const fallback = items[index]?.getAsFile();
203
+ if (fallback) files.push(fallback);
204
+ continue;
205
+ }
206
+ if (entry.isDirectory) {
207
+ if (recursive) files.push(...await walkDirectory(entry, 1));
208
+ else directories.push(entry.name);
209
+ continue;
210
+ }
211
+ const file = await entryFile(entry);
212
+ if (file) files.push(file);
213
+ }
214
+ return { files, directories };
215
+ }
216
+ var SURFACE = "group flex w-full cursor-pointer flex-col items-center gap-3 rounded-xl bg-primary px-6 py-4 text-center ring-1 ring-secondary ring-inset transition duration-100 ease-linear outline-focus-ring focus-visible:outline-2 focus-visible:outline-offset-2";
217
+ var SURFACE_IDLE = "hover:bg-secondary";
218
+ var SURFACE_DRAGGING = "bg-brand-primary ring-2 ring-brand";
219
+ var SURFACE_INVALID = "ring-error_subtle";
220
+ var SURFACE_DISABLED = "cursor-not-allowed bg-secondary";
221
+ var HERO_TILE = "flex items-center justify-center rounded-lg bg-primary ring-1 ring-primary ring-inset";
222
+ function Dropzone(props) {
223
+ const {
224
+ accept,
225
+ multiple = true,
226
+ maxSize,
227
+ maxFiles,
228
+ fileCount = 0,
229
+ acceptDirectory = false,
230
+ onFilesChange,
231
+ onReject,
232
+ label,
233
+ tooltip,
234
+ tooltipDescription,
235
+ hint,
236
+ required = false,
237
+ hideRequiredIndicator = false,
238
+ invalid = false,
239
+ error,
240
+ disabled = false,
241
+ fullWidth = true,
242
+ className,
243
+ render,
244
+ _readEntry,
245
+ ...rest
246
+ } = props;
247
+ const { isInvalid, showError } = useFieldValidity(invalid, error);
248
+ const [dragging, setDragging] = React.useState(false);
249
+ const labelId = React.useId();
250
+ const textId = React.useId();
251
+ const hintId = React.useId();
252
+ const errorId = React.useId();
253
+ const depth = React.useRef(0);
254
+ warnNonNegativeInt("Dropzone", "fileCount", fileCount);
255
+ React.useEffect(() => {
256
+ if (!accept) return;
257
+ const bad = invalidAcceptEntries(accept);
258
+ if (bad.length > 0) {
259
+ devWarn(
260
+ `<Dropzone> \`accept\` entr${bad.length === 1 ? "y" : "ies"} ${bad.map((e) => `\`${e}\``).join(", ")} match nothing \u2014 an extension needs a leading dot (\`.pdf\`) and a MIME type needs a slash (\`application/pdf\`).`
261
+ );
262
+ }
263
+ }, [accept]);
264
+ const commit = React.useCallback(
265
+ (files, directories = []) => {
266
+ const { accepted, rejections } = bucketFiles(files, { accept, multiple, maxSize, maxFiles, existingCount: fileCount });
267
+ const all = [...directories.map((name) => ({ file: new File([], name), reason: "directory" })), ...rejections];
268
+ if (accepted.length > 0) onFilesChange?.(accepted);
269
+ if (all.length > 0) onReject?.(all);
270
+ },
271
+ [accept, multiple, maxSize, maxFiles, fileCount, onFilesChange, onReject]
272
+ );
273
+ const endDrag = React.useCallback(() => {
274
+ depth.current = 0;
275
+ setDragging(false);
276
+ }, []);
277
+ const handleDragEnter = (event) => {
278
+ if (disabled) return;
279
+ event.preventDefault();
280
+ depth.current += 1;
281
+ setDragging(true);
282
+ };
283
+ const handleDragOver = (event) => {
284
+ if (disabled) return;
285
+ event.preventDefault();
286
+ if (event.dataTransfer) event.dataTransfer.dropEffect = "copy";
287
+ };
288
+ const handleDragLeave = (event) => {
289
+ if (disabled) return;
290
+ event.preventDefault();
291
+ depth.current = Math.max(0, depth.current - 1);
292
+ if (depth.current === 0) setDragging(false);
293
+ };
294
+ const handleDrop = (event) => {
295
+ if (disabled) return;
296
+ event.preventDefault();
297
+ endDrag();
298
+ const dt = event.dataTransfer;
299
+ if (!dt) return;
300
+ void readDropContents(dt, acceptDirectory, _readEntry).then(({ files, directories }) => commit(files, directories));
301
+ };
302
+ const surfaceClass = cn(
303
+ SURFACE,
304
+ !disabled && !dragging && SURFACE_IDLE,
305
+ dragging && SURFACE_DRAGGING,
306
+ isInvalid && !dragging && SURFACE_INVALID,
307
+ disabled && SURFACE_DISABLED
308
+ );
309
+ return /* @__PURE__ */ jsx(
310
+ FieldFrame,
311
+ {
312
+ label,
313
+ labelId,
314
+ messageId: { hint: hintId, error: errorId },
315
+ tooltip,
316
+ tooltipDescription,
317
+ hint,
318
+ required,
319
+ hideRequiredIndicator,
320
+ error,
321
+ isInvalid,
322
+ showError,
323
+ disabled,
324
+ fullWidth,
325
+ className,
326
+ children: /* @__PURE__ */ jsx(FileTrigger, { accept, multiple, acceptDirectory, onFilesChange: (files) => commit(files), children: ({ open }) => /* @__PURE__ */ jsx(
327
+ DropSurface,
328
+ {
329
+ render,
330
+ ...mergeProps(
331
+ {
332
+ type: "button",
333
+ className: surfaceClass,
334
+ disabled,
335
+ // Spread rather than written inline: an excess `data-*` key fails mergeProps'
336
+ // prop type, which is the same reason `Button` spells `data-loading` this way.
337
+ ...dragging && { "data-dragging": "" },
338
+ // The label names the surface ALONGSIDE its own text ("Attachments — Click to
339
+ // upload…"); `aria-labelledby` alone would replace the content name with the label.
340
+ "aria-labelledby": label ? `${labelId} ${textId}` : void 0,
341
+ "aria-describedby": showError ? errorId : hint ? hintId : void 0,
342
+ "aria-invalid": isInvalid || void 0,
343
+ onClick: open,
344
+ onDragEnter: handleDragEnter,
345
+ onDragOver: handleDragOver,
346
+ onDragLeave: handleDragLeave,
347
+ onDrop: handleDrop,
348
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
349
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: cn(GLYPH_BOX, HERO_TILE, disabled && "opacity-50"), children: /* @__PURE__ */ jsx(UploadCloudIcon, { className: "size-5 text-fg-secondary" }) }),
350
+ /* @__PURE__ */ jsxs("span", { id: textId, className: cn("flex flex-col gap-1", disabled && "opacity-50"), children: [
351
+ /* @__PURE__ */ jsxs("span", { className: "text-sm text-tertiary", children: [
352
+ /* @__PURE__ */ jsx("span", { className: "font-semibold text-brand-secondary group-hover:underline", children: "Click to upload" }),
353
+ " or drag and drop"
354
+ ] }),
355
+ required ? /* @__PURE__ */ jsx("span", { className: "sr-only", children: ", required" }) : null
356
+ ] })
357
+ ] })
358
+ },
359
+ rest
360
+ )
361
+ }
362
+ ) })
363
+ }
364
+ );
365
+ }
366
+ function DropSurface({ render, ...props }) {
367
+ return useRender({ defaultTagName: "button", render, props });
368
+ }
369
+ var CHIP = "absolute bottom-1.5 left-0.5 rounded-sm px-0.75 text-[8px] leading-[12px] font-bold tracking-tight uppercase";
370
+ var MAX_CHIP_LENGTH = 4;
371
+ function FileTypeGlyph({ extension, className }) {
372
+ const tone = extensionTone(extension);
373
+ return /* @__PURE__ */ jsxs("div", { "aria-hidden": "true", className: cn(GLYPH_BOX, className), children: [
374
+ /* @__PURE__ */ jsx(FileIcon, { className: "absolute inset-0 size-10 fill-bg-secondary text-border-primary", strokeWidth: 0.6 }),
375
+ extension ? /* @__PURE__ */ jsx("span", { className: cn(CHIP, SOLID[tone]), children: extension.slice(0, MAX_CHIP_LENGTH) }) : null
376
+ ] });
377
+ }
378
+ var LIST = "flex flex-col gap-3";
379
+ var ROW = "relative flex gap-3 rounded-xl bg-primary p-4 ring-inset transition-shadow duration-100 ease-linear";
380
+ var ROW_RING = "ring-1 ring-secondary";
381
+ var ROW_RING_FAILED = "ring-2 ring-error_subtle";
382
+ var FILL_ROW = "relative flex gap-3 overflow-hidden rounded-xl bg-primary p-4";
383
+ var FILL_RING = "pointer-events-none absolute inset-0 size-full rounded-[inherit] ring-inset transition duration-100 ease-linear";
384
+ var FILL_WASH = "pointer-events-none absolute inset-0 size-full bg-secondary transition duration-75 ease-linear";
385
+ var NAME = "truncate text-sm font-medium text-secondary";
386
+ var META_ROW = "mt-0.5 flex items-center gap-2";
387
+ var META_TEXT = "text-sm text-tertiary";
388
+ var SIZE_TEXT = `${META_TEXT} truncate whitespace-nowrap`;
389
+ var ERROR_TEXT = `${META_TEXT} break-words`;
390
+ var STATUS = {
391
+ uploading: { word: "Uploading\u2026", glyph: UploadCloudIcon, glyphClass: "text-fg-quaternary", wordClass: "text-quaternary", action: "cancel" },
392
+ complete: { word: "Complete", glyph: CircleCheckIcon, glyphClass: "text-fg-success-primary", wordClass: "text-success-primary", action: "remove" },
393
+ failed: { word: "Failed", glyph: CircleXIcon, glyphClass: "text-fg-error-primary", wordClass: "text-error-primary", action: "remove" }
394
+ };
395
+ var ACTION = {
396
+ cancel: { verb: "Cancel", glyph: XIcon },
397
+ remove: { verb: "Remove", glyph: Trash2Icon }
398
+ };
399
+ function Row({ file, treatment, onRemove, onCancel, onRetry, fileIcon }) {
400
+ const status = STATUS[file.status];
401
+ const action = ACTION[status.action];
402
+ const StatusGlyph = status.glyph;
403
+ const ActionGlyph = action.glyph;
404
+ const handler = status.action === "cancel" ? onCancel : onRemove;
405
+ warnRange("FileList", "progress", file.progress, 0, 100);
406
+ const progress = file.status === "complete" ? 100 : Math.min(100, Math.max(0, file.progress ?? 0));
407
+ const failed = file.status === "failed";
408
+ const fill = treatment === "fill";
409
+ const affordance = handler ? /* @__PURE__ */ jsx(
410
+ ButtonUtility,
411
+ {
412
+ variant: "tertiary",
413
+ size: "xs",
414
+ icon: /* @__PURE__ */ jsx(ActionGlyph, {}),
415
+ tooltip: action.verb,
416
+ "aria-label": `${action.verb} ${file.name}`,
417
+ className: "-mt-2 -mr-2 self-start",
418
+ onClick: () => handler(file)
419
+ }
420
+ ) : null;
421
+ const retry = failed && onRetry ? /* @__PURE__ */ jsx(Button, { variant: "link", color: "error", size: "sm", className: "mt-1.5", onClick: () => onRetry(file), children: "Try again" }) : null;
422
+ const glyph = fileIcon ? fileIcon(file) : /* @__PURE__ */ jsx(FileTypeGlyph, { extension: fileExtension(fileGlyphSource(file)) });
423
+ const meta = /* @__PURE__ */ jsxs("div", { className: META_ROW, children: [
424
+ /* @__PURE__ */ jsx("p", { className: failed ? ERROR_TEXT : SIZE_TEXT, children: failed ? file.error ?? "Upload failed" : formatFileSize(file.size) }),
425
+ fill && failed ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
426
+ /* @__PURE__ */ jsx(Separator, { orientation: "vertical", length: "sm", tone: "strong", decorative: true }),
427
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
428
+ /* @__PURE__ */ jsx(StatusGlyph, { "aria-hidden": "true", className: cn("size-4", status.glyphClass) }),
429
+ fill ? (
430
+ // No `<Progress>` in this treatment, so the readout is the wash's only number.
431
+ /* @__PURE__ */ jsx("p", { className: cn("text-sm tabular-nums", failed ? status.wordClass : "text-tertiary"), children: failed ? status.word : `${progress}%` })
432
+ ) : /* @__PURE__ */ jsx("p", { className: cn("text-sm font-medium", status.wordClass), children: status.word })
433
+ ] })
434
+ ] })
435
+ ] });
436
+ const body = /* @__PURE__ */ jsxs("div", { className: "relative flex min-w-0 flex-1 flex-col items-start", children: [
437
+ /* @__PURE__ */ jsxs("div", { className: "flex w-full min-w-0 flex-1", children: [
438
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
439
+ /* @__PURE__ */ jsx("p", { className: NAME, children: file.name }),
440
+ meta
441
+ ] }),
442
+ affordance
443
+ ] }),
444
+ !fill && file.status === "uploading" ? /* @__PURE__ */ jsx("div", { className: "mt-1 w-full", children: /* @__PURE__ */ jsx(Progress, { value: progress, valuePosition: "right", "aria-label": `Uploading ${file.name}` }) }) : null,
445
+ retry
446
+ ] });
447
+ if (!fill) {
448
+ return /* @__PURE__ */ jsxs("li", { className: cn(ROW, failed ? ROW_RING_FAILED : ROW_RING), children: [
449
+ glyph,
450
+ body
451
+ ] });
452
+ }
453
+ return /* @__PURE__ */ jsxs("li", { className: FILL_ROW, children: [
454
+ /* @__PURE__ */ jsx(
455
+ "div",
456
+ {
457
+ role: "progressbar",
458
+ "aria-valuenow": progress,
459
+ "aria-valuemin": 0,
460
+ "aria-valuemax": 100,
461
+ "aria-label": `Uploading ${file.name}`,
462
+ style: { transform: `translateX(-${100 - progress}%)` },
463
+ className: cn(FILL_WASH, file.status === "complete" && "opacity-0")
464
+ }
465
+ ),
466
+ /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: cn(FILL_RING, failed ? ROW_RING_FAILED : ROW_RING) }),
467
+ /* @__PURE__ */ jsx("div", { className: "relative", children: glyph }),
468
+ body
469
+ ] });
470
+ }
471
+ function FileList(props) {
472
+ const { files, treatment = "bar", onRemove, onCancel, onRetry, fileIcon, className, ...rest } = props;
473
+ if (files.length === 0) return null;
474
+ return /* @__PURE__ */ jsx("ul", { ...rest, className: cn(LIST, className), children: files.map((file) => (
475
+ // Keyed on `id`, never the index — reordering must move a row, not remount it.
476
+ /* @__PURE__ */ jsx(Row, { file, treatment, onRemove, onCancel, onRetry, fileIcon }, file.id)
477
+ )) });
478
+ }
479
+
480
+ export { Dropzone, FILE_TONE, FILE_TONE_BUCKETS, FileList, FileTypeGlyph, GLYPH_BOX, bucketFiles, extensionTone, fileExtension, fileGlyphSource, fileTone, formatFileSize, invalidAcceptEntries, isFileTypeAccepted, toUploadFile };
481
+ //# sourceMappingURL=chunk-HSVBTIP2.js.map
482
+ //# sourceMappingURL=chunk-HSVBTIP2.js.map
@@ -1,5 +1,5 @@
1
1
  import { Slot } from './chunk-52IFGFTL.js';
2
- import { CONTROL_ICON } from './chunk-J2BCKBHC.js';
2
+ import { CONTROL_ICON } from './chunk-QKDEQFOQ.js';
3
3
  import { cn } from './chunk-ZSNJ6UA3.js';
4
4
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
5
5
  import 'react';
@@ -28,5 +28,5 @@ function MultiValueCount({ count, supportingText }) {
28
28
  }
29
29
 
30
30
  export { ListboxFooter, MultiValueCount };
31
- //# sourceMappingURL=chunk-FHHAPGCR.js.map
32
- //# sourceMappingURL=chunk-FHHAPGCR.js.map
31
+ //# sourceMappingURL=chunk-ILICYNK7.js.map
32
+ //# sourceMappingURL=chunk-ILICYNK7.js.map