@duro-app/ui 5.0.0 → 5.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 (139) hide show
  1. package/dist/Table-C70zdSkM.js +1419 -0
  2. package/dist/Table-C70zdSkM.js.map +1 -0
  3. package/dist/components/Button/Button.d.ts +11 -2
  4. package/dist/components/Button/Button.d.ts.map +1 -1
  5. package/dist/components/Button/Button.stories.d.ts +1 -0
  6. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  7. package/dist/components/Card/Card.stories.d.ts.map +1 -1
  8. package/dist/components/Combobox/Combobox.d.ts +1 -1
  9. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  10. package/dist/components/Combobox/styles.css.d.ts +0 -64
  11. package/dist/components/Combobox/styles.css.d.ts.map +1 -1
  12. package/dist/components/Dialog/Dialog.d.ts +11 -3
  13. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  14. package/dist/components/Dialog/Dialog.stories.d.ts +4 -0
  15. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  16. package/dist/components/Dialog/styles.css.d.ts +1 -0
  17. package/dist/components/Dialog/styles.css.d.ts.map +1 -1
  18. package/dist/components/DragDrop/styles.css.d.ts +10 -2
  19. package/dist/components/DragDrop/styles.css.d.ts.map +1 -1
  20. package/dist/components/Grid/Grid.d.ts +11 -2
  21. package/dist/components/Grid/Grid.d.ts.map +1 -1
  22. package/dist/components/Grid/Grid.stories.d.ts +2 -0
  23. package/dist/components/Grid/Grid.stories.d.ts.map +1 -1
  24. package/dist/components/Grid/styles.css.d.ts +2 -2
  25. package/dist/components/Grid/styles.css.d.ts.map +1 -1
  26. package/dist/components/Input/Input.d.ts +6 -1
  27. package/dist/components/Input/Input.d.ts.map +1 -1
  28. package/dist/components/Input/Input.meta.d.ts.map +1 -1
  29. package/dist/components/Input/Input.stories.d.ts +1 -0
  30. package/dist/components/Input/Input.stories.d.ts.map +1 -1
  31. package/dist/components/Input/styles.css.d.ts +18 -0
  32. package/dist/components/Input/styles.css.d.ts.map +1 -1
  33. package/dist/components/InputGroup/InputGroup.d.ts +6 -1
  34. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
  35. package/dist/components/InputGroup/InputGroup.stories.d.ts +1 -0
  36. package/dist/components/InputGroup/InputGroup.stories.d.ts.map +1 -1
  37. package/dist/components/Listbox/Listbox.d.ts +75 -0
  38. package/dist/components/Listbox/Listbox.d.ts.map +1 -0
  39. package/dist/components/Listbox/Listbox.meta.d.ts +3 -0
  40. package/dist/components/Listbox/Listbox.meta.d.ts.map +1 -0
  41. package/dist/components/Listbox/Listbox.stories.d.ts +7 -0
  42. package/dist/components/Listbox/Listbox.stories.d.ts.map +1 -0
  43. package/dist/components/Listbox/styles.css.d.ts +75 -0
  44. package/dist/components/Listbox/styles.css.d.ts.map +1 -0
  45. package/dist/components/Menu/Menu.d.ts +18 -5
  46. package/dist/components/Menu/Menu.d.ts.map +1 -1
  47. package/dist/components/Menu/Menu.meta.d.ts.map +1 -1
  48. package/dist/components/Menu/Menu.stories.d.ts +7 -0
  49. package/dist/components/Menu/Menu.stories.d.ts.map +1 -1
  50. package/dist/components/Menu/MenuContext.d.ts +3 -0
  51. package/dist/components/Menu/MenuContext.d.ts.map +1 -1
  52. package/dist/components/Menu/styles.css.d.ts +24 -15
  53. package/dist/components/Menu/styles.css.d.ts.map +1 -1
  54. package/dist/components/Menu/useMenuRoot.d.ts +14 -1
  55. package/dist/components/Menu/useMenuRoot.d.ts.map +1 -1
  56. package/dist/components/StatusIcon/StatusIcon.stories.d.ts.map +1 -1
  57. package/dist/components/Table/Table.stories.d.ts +1 -0
  58. package/dist/components/Table/Table.stories.d.ts.map +1 -1
  59. package/dist/components/TextLink/TextLink.d.ts +24 -0
  60. package/dist/components/TextLink/TextLink.d.ts.map +1 -0
  61. package/dist/components/TextLink/TextLink.meta.d.ts +3 -0
  62. package/dist/components/TextLink/TextLink.meta.d.ts.map +1 -0
  63. package/dist/components/TextLink/TextLink.stories.d.ts +9 -0
  64. package/dist/components/TextLink/TextLink.stories.d.ts.map +1 -0
  65. package/dist/components/TextLink/styles.css.d.ts +28 -0
  66. package/dist/components/TextLink/styles.css.d.ts.map +1 -0
  67. package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts +1 -0
  68. package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
  69. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +14 -0
  70. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  71. package/dist/components/VisuallyHidden/VisuallyHidden.meta.d.ts +3 -0
  72. package/dist/components/VisuallyHidden/VisuallyHidden.meta.d.ts.map +1 -0
  73. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +7 -0
  74. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts.map +1 -0
  75. package/dist/docs/FlexGrow.stories.d.ts +7 -0
  76. package/dist/docs/FlexGrow.stories.d.ts.map +1 -0
  77. package/dist/index.css +1 -1
  78. package/dist/index.d.ts +5 -0
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +2986 -2821
  81. package/dist/index.js.map +1 -1
  82. package/dist/index.native.d.ts +1 -0
  83. package/dist/index.native.d.ts.map +1 -1
  84. package/dist/shared/length.d.ts +14 -9
  85. package/dist/shared/length.d.ts.map +1 -1
  86. package/dist/shared/length.typecheck.d.ts +3 -0
  87. package/dist/shared/length.typecheck.d.ts.map +1 -1
  88. package/dist/styles/visually-hidden.css.d.ts +6 -0
  89. package/dist/styles/visually-hidden.css.d.ts.map +1 -1
  90. package/dist/table.js +1 -1
  91. package/package.json +2 -2
  92. package/src/components/Button/Button.stories.tsx +41 -0
  93. package/src/components/Button/Button.tsx +16 -1
  94. package/src/components/Card/Card.stories.tsx +2 -1
  95. package/src/components/Combobox/Combobox.tsx +25 -79
  96. package/src/components/Combobox/styles.css.ts +0 -74
  97. package/src/components/Dialog/Dialog.meta.ts +1 -1
  98. package/src/components/Dialog/Dialog.stories.tsx +109 -3
  99. package/src/components/Dialog/Dialog.tsx +63 -9
  100. package/src/components/Dialog/styles.css.ts +2 -0
  101. package/src/components/DragDrop/styles.css.ts +16 -3
  102. package/src/components/Grid/Grid.meta.ts +1 -1
  103. package/src/components/Grid/Grid.stories.tsx +53 -1
  104. package/src/components/Grid/Grid.tsx +23 -11
  105. package/src/components/Grid/styles.css.ts +3 -2
  106. package/src/components/Input/Input.meta.ts +10 -3
  107. package/src/components/Input/Input.stories.tsx +52 -2
  108. package/src/components/Input/Input.tsx +12 -3
  109. package/src/components/Input/styles.css.ts +29 -0
  110. package/src/components/InputGroup/InputGroup.stories.tsx +20 -0
  111. package/src/components/InputGroup/InputGroup.tsx +20 -2
  112. package/src/components/Listbox/Listbox.meta.ts +52 -0
  113. package/src/components/Listbox/Listbox.stories.tsx +170 -0
  114. package/src/components/Listbox/Listbox.tsx +278 -0
  115. package/src/components/Listbox/styles.css.ts +89 -0
  116. package/src/components/Menu/Menu.meta.ts +2 -1
  117. package/src/components/Menu/Menu.stories.tsx +289 -8
  118. package/src/components/Menu/Menu.tsx +100 -29
  119. package/src/components/Menu/MenuContext.ts +3 -0
  120. package/src/components/Menu/styles.css.ts +31 -15
  121. package/src/components/Menu/useMenuRoot.ts +105 -48
  122. package/src/components/StatusIcon/StatusIcon.stories.tsx +2 -2
  123. package/src/components/Table/Table.stories.tsx +39 -0
  124. package/src/components/TextLink/TextLink.meta.ts +33 -0
  125. package/src/components/TextLink/TextLink.stories.tsx +63 -0
  126. package/src/components/TextLink/TextLink.tsx +46 -0
  127. package/src/components/TextLink/styles.css.ts +58 -0
  128. package/src/components/ThemeProvider/ThemeProvider.stories.tsx +50 -0
  129. package/src/components/VisuallyHidden/VisuallyHidden.meta.ts +19 -0
  130. package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +30 -0
  131. package/src/components/VisuallyHidden/VisuallyHidden.tsx +22 -0
  132. package/src/docs/FlexGrow.stories.tsx +83 -0
  133. package/src/index.native.ts +1 -0
  134. package/src/index.ts +5 -0
  135. package/src/shared/length.ts +29 -10
  136. package/src/shared/length.typecheck.tsx +9 -0
  137. package/src/styles/visually-hidden.css.ts +8 -0
  138. package/dist/Table-BKN_d-mp.js +0 -1192
  139. package/dist/Table-BKN_d-mp.js.map +0 -1
@@ -1,1192 +0,0 @@
1
- import { jsx as $, jsxs as X, Fragment as se } from "react/jsx-runtime";
2
- import { c as j, m as S, d as M } from "./compiler-runtime-B2IcI8_O.js";
3
- import { useContext as A, createContext as V, useState as J, useId as Z, useRef as q, useEffect as P, Children as K, isValidElement as be } from "react";
4
- const Ho = {
5
- xs: 4,
6
- sm: 8,
7
- ms: 12,
8
- md: 16,
9
- lg: 24,
10
- xl: 32,
11
- xxl: 48,
12
- xxxl: 64
13
- }, Po = {
14
- instant: 0,
15
- minimal: 1,
16
- quick: 120,
17
- fast: 150,
18
- brisk: 160,
19
- base: 200,
20
- slow: 280
21
- }, ke = ["touchTarget", "controlSm", "controlMd", "controlLg", "indicator", "indicatorDot", "checkMarkW", "checkMarkH", "switchTrackW", "switchTrackH", "switchThumb", "iconButton", "iconButtonSm", "spinnerSm", "spinnerMd", "spinnerLg", "glyphXs", "glyphSm", "glyphMd", "iconSm", "iconMd", "iconLg", "iconXl", "iconXxl", "navMarkerW", "navMarkerH", "divider", "tabIndicator", "edgeFade", "scrollbar", "swatchW", "swatchH", "labelMinW", "popupMinW", "listMaxH", "listMaxHSm", "dialogSm", "dialogMd", "dialogLg", "panelSm", "panelMd", "panelLg", "toastMaxW", "gridColSm", "gridColMd", "pageSm", "pageMd", "pageLg"], G = {
22
- touchTarget: 44,
23
- iconSm: 16,
24
- iconMd: 18,
25
- iconLg: 24,
26
- iconXl: 36,
27
- iconXxl: 48
28
- }, Do = {
29
- sm: G.iconSm,
30
- md: G.iconMd,
31
- lg: G.iconLg,
32
- xl: G.iconXl,
33
- xxl: G.iconXxl
34
- }, le = {
35
- touchTarget: "var(--touchTarget-x1u5badx)",
36
- controlSm: "var(--controlSm-x6ymn93)",
37
- controlMd: "var(--controlMd-xkvaeme)",
38
- controlLg: "var(--controlLg-xf3drh3)",
39
- indicator: "var(--indicator-xce456j)",
40
- indicatorDot: "var(--indicatorDot-xqflvbi)",
41
- checkMarkW: "var(--checkMarkW-xvyirw7)",
42
- checkMarkH: "var(--checkMarkH-xz3lx6u)",
43
- switchTrackW: "var(--switchTrackW-xcah3tt)",
44
- switchTrackH: "var(--switchTrackH-x1h3icne)",
45
- switchThumb: "var(--switchThumb-x6qupft)",
46
- iconButton: "var(--iconButton-x16lr7a8)",
47
- iconButtonSm: "var(--iconButtonSm-xtjgrhy)",
48
- spinnerSm: "var(--spinnerSm-xoj3xel)",
49
- spinnerMd: "var(--spinnerMd-x11a4rba)",
50
- spinnerLg: "var(--spinnerLg-x1lgp9p9)",
51
- glyphXs: "var(--glyphXs-x7xktls)",
52
- glyphSm: "var(--glyphSm-x17geiot)",
53
- glyphMd: "var(--glyphMd-x1hz0jso)",
54
- iconSm: "var(--iconSm-x1k4bwrj)",
55
- iconMd: "var(--iconMd-x1oru5hg)",
56
- iconLg: "var(--iconLg-x1lsumnr)",
57
- iconXl: "var(--iconXl-x7w40q9)",
58
- iconXxl: "var(--iconXxl-xij55jf)",
59
- navMarkerW: "var(--navMarkerW-x1swbkx4)",
60
- navMarkerH: "var(--navMarkerH-xlc6r7a)",
61
- divider: "var(--divider-x34oj7m)",
62
- tabIndicator: "var(--tabIndicator-xeswvk3)",
63
- edgeFade: "var(--edgeFade-x1a8srg4)",
64
- scrollbar: "var(--scrollbar-xppi9bb)",
65
- swatchW: "var(--swatchW-x14v7170)",
66
- swatchH: "var(--swatchH-x5k3223)",
67
- labelMinW: "var(--labelMinW-x1tnvsg3)",
68
- popupMinW: "var(--popupMinW-xzyp04)",
69
- listMaxH: "var(--listMaxH-x1g3bmh3)",
70
- listMaxHSm: "var(--listMaxHSm-xhny4oa)",
71
- dialogSm: "var(--dialogSm-x16fibl1)",
72
- dialogMd: "var(--dialogMd-x1yjoj5l)",
73
- dialogLg: "var(--dialogLg-xsd9wl3)",
74
- panelSm: "var(--panelSm-x1ng1dcv)",
75
- panelMd: "var(--panelMd-x11x23mn)",
76
- panelLg: "var(--panelLg-x19cpfjm)",
77
- toastMaxW: "var(--toastMaxW-x1po6n0z)",
78
- gridColSm: "var(--gridColSm-xzwpy92)",
79
- gridColMd: "var(--gridColMd-x1cjqdt9)",
80
- pageSm: "var(--pageSm-x5j4ghi)",
81
- pageMd: "var(--pageMd-xloo57l)",
82
- pageLg: "var(--pageLg-x393fnm)",
83
- __varGroupHash__: "x1w57kmz"
84
- }, ae = new Set(ke);
85
- function me(t) {
86
- return typeof t == "string" && ae.has(t) ? le[t] : t;
87
- }
88
- function ne(t) {
89
- return typeof t == "string" && ae.has(t) ? le[t] : t;
90
- }
91
- const R = {
92
- root: {
93
- "position-kVAEAm": "position-x1n2onr6",
94
- "display-k1xSpc": "display-x3nfvp2",
95
- $$css: "Menu/styles.css.ts:11"
96
- },
97
- trigger: {
98
- "display-k1xSpc": "display-x3nfvp2",
99
- "alignItems-kGNEyG": "alignItems-x6s0dn4",
100
- "gap-kOIVth": "gap-x175yhtj",
101
- "paddingTop-kLKAdn": "paddingTop-xc2wovk",
102
- "paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
103
- "paddingLeft-kE3dHu": "paddingLeft-x2rk66v",
104
- "paddingRight-kpe85a": "paddingRight-x7huf2v",
105
- "fontFamily-kMv6JI": "fontFamily-xce2pww",
106
- "fontSize-kGuDYH": "fontSize-x1tzajr0",
107
- "color-kMwMTN": "color-x95150z",
108
- "backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-x14zl4n5",
109
- "borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
110
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
111
- "borderColor-kVAM5u": "borderColor-x15ykms2",
112
- "borderRadius-kaIpWk": "borderRadius-x17rit4p",
113
- "cursor-kkrTdU": "cursor-x1ypdohk",
114
- "transitionProperty-k1ekBW": "transitionProperty-xts7igz",
115
- "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
116
- $$css: "Menu/styles.css.ts:15"
117
- },
118
- backdrop: {
119
- "position-kVAEAm": "position-xixxii4",
120
- "top-k87sOh": "top-x13vifvy",
121
- "left-kbCHJM": "left-xu96u03",
122
- "right-kCIrl2": "right-x3m8u43",
123
- "bottom-krVfgx": "bottom-x1ey2m1c",
124
- "zIndex-kY2c9j": "zIndex-x1ygf0dq",
125
- $$css: "Menu/styles.css.ts:38"
126
- },
127
- popup: {
128
- "position-kVAEAm": "position-x10l6tqk",
129
- "top-k87sOh": "top-xdsb8wn",
130
- "left-kbCHJM": "left-xu96u03",
131
- "marginTop-keoZOQ": "marginTop-xuerg7n",
132
- "backgroundColor-kWkggS": "backgroundColor-xuw63hu",
133
- "borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
134
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
135
- "borderColor-kVAM5u": "borderColor-x15ykms2",
136
- "borderRadius-kaIpWk": "borderRadius-x17rit4p",
137
- "boxShadow-kGVxlE": "boxShadow-x1e78jka",
138
- "paddingTop-kLKAdn": "paddingTop-x1i738hq",
139
- "paddingBottom-kGO01o": "paddingBottom-x6sojwk",
140
- "minWidth-k7Eaqz": "minWidth-x9i2ahm",
141
- "zIndex-kY2c9j": "zIndex-xa9119d",
142
- $$css: "Menu/styles.css.ts:46"
143
- },
144
- popupEnd: {
145
- "left-kbCHJM": "left-x1t8mvi6",
146
- "right-kCIrl2": "right-x3m8u43",
147
- $$css: "Menu/styles.css.ts:62"
148
- },
149
- item: {
150
- "display-k1xSpc": "display-x78zum5",
151
- "alignItems-kGNEyG": "alignItems-x6s0dn4",
152
- "paddingTop-kLKAdn": "paddingTop-xc2wovk",
153
- "paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
154
- "paddingLeft-kE3dHu": "paddingLeft-x2rk66v",
155
- "paddingRight-kpe85a": "paddingRight-x7huf2v",
156
- "fontSize-kGuDYH": "fontSize-x1tzajr0",
157
- "fontFamily-kMv6JI": "fontFamily-xce2pww",
158
- "color-kMwMTN": "color-x95150z",
159
- "borderRadius-kaIpWk": "borderRadius-x17rit4p",
160
- "cursor-kkrTdU": "cursor-x1ypdohk",
161
- "backgroundColor-kWkggS": "backgroundColor-xjbqb8w",
162
- "transitionProperty-k1ekBW": "transitionProperty-x15406qy",
163
- "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
164
- $$css: "Menu/styles.css.ts:66"
165
- },
166
- itemHighlighted: {
167
- "backgroundColor-kWkggS": "backgroundColor-xlyqa1p",
168
- $$css: "Menu/styles.css.ts:82"
169
- },
170
- separator: {
171
- "height-kZKoxP": "height-xqtp20y",
172
- "marginTop-keoZOQ": "marginTop-xuerg7n",
173
- "marginBottom-k1K539": "marginBottom-xnccn3x",
174
- "borderTopWidth-kEafiO": "borderTopWidth-xljp14s",
175
- "borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
176
- "borderTopColor-kLZC3w": "borderTopColor-xvuocu",
177
- $$css: "Menu/styles.css.ts:85"
178
- },
179
- linkItem: {
180
- "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
181
- "color-kMwMTN": "color-x95150z color-xtolcfe",
182
- $$css: "Menu/styles.css.ts:93"
183
- }
184
- }, ce = V(null);
185
- function N() {
186
- const t = A(ce);
187
- if (!t)
188
- throw new Error("Menu compound components must be used within Menu.Root");
189
- return t;
190
- }
191
- function he() {
192
- const t = j.c(15), [e, i] = J(!1), [o, c] = J(null), p = Z(), d = q(null), l = q(null);
193
- let n;
194
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ new Map(), t[0] = n) : n = t[0];
195
- const r = q(n);
196
- let x;
197
- t[1] === Symbol.for("react.memo_cache_sentinel") ? (x = [], t[1] = x) : x = t[1];
198
- const s = q(x), a = q(!1);
199
- let u;
200
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = () => {
201
- i(!1), c(null), a.current = !1, l.current?.focus();
202
- }, t[2] = u) : u = t[2];
203
- const m = u;
204
- let k;
205
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (k = () => {
206
- i((C) => (C ? (c(null), a.current = !1) : a.current = !0, !C));
207
- }, t[3] = k) : k = t[3];
208
- const y = k;
209
- let w, f;
210
- t[4] !== e ? (w = () => {
211
- if (e && a.current) {
212
- a.current = !1;
213
- const C = s.current;
214
- C.length > 0 && c(C[0]);
215
- }
216
- }, f = [e], t[4] = e, t[5] = w, t[6] = f) : (w = t[5], f = t[6]), P(w, f);
217
- let T;
218
- t[7] === Symbol.for("react.memo_cache_sentinel") ? (T = (C, D) => {
219
- r.current.set(C, D);
220
- const _ = r.current, I = [..._.keys()];
221
- return I.sort((W, O) => {
222
- const L = _.get(W), Y = _.get(O);
223
- return !L || !Y ? 0 : L.compareDocumentPosition(Y) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
224
- }), s.current = I, () => {
225
- r.current.delete(C), s.current = s.current.filter((W) => W !== C);
226
- };
227
- }, t[7] = T) : T = t[7];
228
- const F = T;
229
- let H, z;
230
- t[8] !== e ? (H = () => {
231
- const C = d.current;
232
- if (!C || !e)
233
- return;
234
- const D = function(I) {
235
- const W = s.current;
236
- if (W.length !== 0)
237
- e: switch (I.key) {
238
- case "ArrowDown": {
239
- I.preventDefault(), c((O) => {
240
- const L = O ? W.indexOf(O) : -1;
241
- return W[(L + 1) % W.length];
242
- });
243
- break e;
244
- }
245
- case "ArrowUp": {
246
- I.preventDefault(), c((O) => {
247
- const L = O ? W.indexOf(O) : 0;
248
- return W[(L - 1 + W.length) % W.length];
249
- });
250
- break e;
251
- }
252
- case "Home": {
253
- I.preventDefault(), c(W[0]);
254
- break e;
255
- }
256
- case "End": {
257
- I.preventDefault(), c(W[W.length - 1]);
258
- break e;
259
- }
260
- case "Enter":
261
- case " ": {
262
- I.preventDefault();
263
- const O = r.current;
264
- c((L) => (L && O.get(L)?.click(), L));
265
- break e;
266
- }
267
- case "Escape": {
268
- I.preventDefault(), m();
269
- break e;
270
- }
271
- case "Tab":
272
- m();
273
- }
274
- };
275
- return C.addEventListener("keydown", D), () => C.removeEventListener("keydown", D);
276
- }, z = [e, m], t[8] = e, t[9] = H, t[10] = z) : (H = t[9], z = t[10]), P(H, z);
277
- let E;
278
- return t[11] !== o || t[12] !== p || t[13] !== e ? (E = {
279
- ctx: {
280
- open: e,
281
- toggle: y,
282
- close: m,
283
- menuId: p,
284
- highlightedId: o,
285
- setHighlightedId: c,
286
- registerItem: F,
287
- triggerRef: l
288
- },
289
- rootRef: d
290
- }, t[11] = o, t[12] = p, t[13] = e, t[14] = E) : E = t[14], E;
291
- }
292
- const fe = typeof process < "u" && process.env?.NODE_ENV === "production", re = /* @__PURE__ */ new Set();
293
- function de(t, e, i) {
294
- const o = `${t}:${e}`;
295
- fe || re.has(o) || (re.add(o), console.warn(`[duro-app/ui ${t}] ${i}`));
296
- }
297
- function ve(t) {
298
- const e = j.c(6), {
299
- children: i
300
- } = t, {
301
- ctx: o,
302
- rootRef: c
303
- } = he();
304
- let p;
305
- e[0] !== i || e[1] !== c ? (p = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:18", ref: c, ...S(M.div, R.root), children: i }), e[0] = i, e[1] = c, e[2] = p) : p = e[2];
306
- let d;
307
- return e[3] !== o || e[4] !== p ? (d = /* @__PURE__ */ $(ce.Provider, { value: o, children: p }), e[3] = o, e[4] = p, e[5] = d) : d = e[5], d;
308
- }
309
- const ye = 'button, a[href], input, select, textarea, [role="button"]';
310
- function we(t) {
311
- const e = j.c(9), {
312
- children: i
313
- } = t, {
314
- open: o,
315
- toggle: c,
316
- menuId: p,
317
- triggerRef: d
318
- } = N(), l = q(null);
319
- let n;
320
- e[0] !== d ? (n = () => {
321
- d.current = l.current;
322
- }, e[0] = d, e[1] = n) : n = e[1], P(n);
323
- let r, x;
324
- e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = () => {
325
- l.current?.querySelector(ye) && de("Menu", "trigger-nested-control", "Menu.Trigger is itself the button — give it the label (text, an Icon), not a Button, link or other control. A control inside a <button> is invalid HTML: it breaks hydration and hands assistive tech a button inside a button.");
326
- }, x = [], e[2] = r, e[3] = x) : (r = e[2], x = e[3]), P(r, x);
327
- const s = o ? p : void 0;
328
- let a;
329
- return e[4] !== i || e[5] !== o || e[6] !== s || e[7] !== c ? (a = /* @__PURE__ */ $("button", { "data-element-src": "Menu/Menu.tsx:52", ref: l, type: "button", onClick: c, "aria-expanded": o, "aria-haspopup": "menu", "aria-controls": s, ...S(M.button, R.trigger), children: i }), e[4] = i, e[5] = o, e[6] = s, e[7] = c, e[8] = a) : a = e[8], a;
330
- }
331
- function $e(t) {
332
- const e = j.c(12), {
333
- children: i,
334
- align: o
335
- } = t, c = o === void 0 ? "start" : o, {
336
- open: p,
337
- close: d,
338
- menuId: l,
339
- highlightedId: n
340
- } = N();
341
- if (!p)
342
- return null;
343
- let r;
344
- e[0] !== d ? (r = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:79", ...S(M.div, R.backdrop), onClick: d }), e[0] = d, e[1] = r) : r = e[1];
345
- const x = n ?? void 0, s = c === "end" && R.popupEnd;
346
- let a;
347
- e[2] !== s ? (a = [R.popup, s], e[2] = s, e[3] = a) : a = e[3];
348
- let u;
349
- e[4] !== i || e[5] !== l || e[6] !== x || e[7] !== a ? (u = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:80", id: l, role: "menu", "aria-activedescendant": x, ...S(M.div, a), children: i }), e[4] = i, e[5] = l, e[6] = x, e[7] = a, e[8] = u) : u = e[8];
350
- let m;
351
- return e[9] !== r || e[10] !== u ? (m = /* @__PURE__ */ X(se, { children: [
352
- r,
353
- u
354
- ] }), e[9] = r, e[10] = u, e[11] = m) : m = e[11], m;
355
- }
356
- function Te(t) {
357
- const e = j.c(18), {
358
- onClick: i,
359
- children: o
360
- } = t, {
361
- close: c,
362
- highlightedId: p,
363
- setHighlightedId: d,
364
- registerItem: l
365
- } = N(), n = Z(), r = q(null), x = p === n;
366
- let s, a;
367
- e[0] !== n || e[1] !== l ? (s = () => {
368
- const T = r.current;
369
- if (T)
370
- return l(n, T);
371
- }, a = [n, l], e[0] = n, e[1] = l, e[2] = s, e[3] = a) : (s = e[2], a = e[3]), P(s, a);
372
- let u;
373
- e[4] !== c || e[5] !== i ? (u = () => {
374
- i?.(), c();
375
- }, e[4] = c, e[5] = i, e[6] = u) : u = e[6];
376
- const m = u;
377
- let k;
378
- e[7] !== n || e[8] !== d ? (k = () => d(n), e[7] = n, e[8] = d, e[9] = k) : k = e[9];
379
- const y = x && R.itemHighlighted;
380
- let w;
381
- e[10] !== y ? (w = [R.item, y], e[10] = y, e[11] = w) : w = e[11];
382
- let f;
383
- return e[12] !== o || e[13] !== m || e[14] !== n || e[15] !== k || e[16] !== w ? (f = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:116", ref: r, id: n, role: "menuitem", onClick: m, onPointerEnter: k, ...S(M.div, w), children: o }), e[12] = o, e[13] = m, e[14] = n, e[15] = k, e[16] = w, e[17] = f) : f = e[17], f;
384
- }
385
- function Se(t) {
386
- const e = j.c(16), {
387
- href: i,
388
- children: o
389
- } = t, {
390
- close: c,
391
- highlightedId: p,
392
- setHighlightedId: d,
393
- registerItem: l
394
- } = N(), n = Z(), r = q(null), x = p === n;
395
- let s, a;
396
- e[0] !== n || e[1] !== l ? (s = () => {
397
- const w = r.current;
398
- if (w)
399
- return l(n, w);
400
- }, a = [n, l], e[0] = n, e[1] = l, e[2] = s, e[3] = a) : (s = e[2], a = e[3]), P(s, a);
401
- let u;
402
- e[4] !== n || e[5] !== d ? (u = () => d(n), e[4] = n, e[5] = d, e[6] = u) : u = e[6];
403
- const m = x && R.itemHighlighted;
404
- let k;
405
- e[7] !== m ? (k = [R.item, R.linkItem, m], e[7] = m, e[8] = k) : k = e[8];
406
- let y;
407
- return e[9] !== o || e[10] !== c || e[11] !== i || e[12] !== n || e[13] !== u || e[14] !== k ? (y = /* @__PURE__ */ $("a", { "data-element-src": "Menu/Menu.tsx:148", ref: r, id: n, href: i, onClick: c, role: "menuitem", onPointerEnter: u, ...S(M.a, k), children: o }), e[9] = o, e[10] = c, e[11] = i, e[12] = n, e[13] = u, e[14] = k, e[15] = y) : y = e[15], y;
408
- }
409
- function Me() {
410
- const t = j.c(1);
411
- let e;
412
- return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:167", role: "separator", "aria-orientation": "horizontal", ...S(M.div, R.separator) }), t[0] = e) : e = t[0], e;
413
- }
414
- const Bo = {
415
- Root: ve,
416
- Trigger: we,
417
- Popup: $e,
418
- Item: Te,
419
- LinkItem: Se,
420
- Separator: Me
421
- };
422
- /**
423
- * @license react-strict-dom
424
- * Copyright (c) Meta Platforms, Inc. and affiliates.
425
- *
426
- * This source code is licensed under the MIT license found in the
427
- * LICENSE file in the root directory of this source tree.
428
- */
429
- const ie = {};
430
- function Ce(t) {
431
- process.env.NODE_ENV !== "test" && ie[t] || (ie[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
432
- }
433
- const We = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
434
- function je(t) {
435
- return We.has(t) || t.indexOf("data-") > -1;
436
- }
437
- var Q = {};
438
- Object.defineProperty(Q, "__esModule", {
439
- value: !0
440
- });
441
- var ue = Q.styleq = void 0, Re = /* @__PURE__ */ new WeakMap(), ze = "$$css";
442
- function pe(t) {
443
- var e, i, o;
444
- return t != null && (e = t.disableCache === !0, i = t.disableMix === !0, o = t.transform), function() {
445
- for (var p = [], d = "", l = null, n = "", r = e ? null : Re, x = new Array(arguments.length), s = 0; s < arguments.length; s++)
446
- x[s] = arguments[s];
447
- for (; x.length > 0; ) {
448
- var a = x.pop();
449
- if (!(a == null || a === !1)) {
450
- if (Array.isArray(a)) {
451
- for (var u = 0; u < a.length; u++)
452
- x.push(a[u]);
453
- continue;
454
- }
455
- var m = o != null ? o(a) : a;
456
- if (m.$$css != null) {
457
- var k = "";
458
- if (r != null && r.has(m)) {
459
- var y = r.get(m);
460
- y != null && (k = y[0], n = y[2], p.push.apply(p, y[1]), r = y[3]);
461
- } else {
462
- var w = [];
463
- for (var f in m) {
464
- var T = m[f];
465
- if (f === ze) {
466
- var F = m[f];
467
- F !== !0 && (n = n ? F + "; " + n : F);
468
- continue;
469
- }
470
- typeof T == "string" || T === null ? p.includes(f) || (p.push(f), r != null && w.push(f), typeof T == "string" && (k += k ? " " + T : T)) : console.error("styleq: ".concat(f, " typeof ").concat(String(T), ' is not "string" or "null".'));
471
- }
472
- if (r != null) {
473
- var H = /* @__PURE__ */ new WeakMap();
474
- r.set(m, [k, w, n, H]), r = H;
475
- }
476
- }
477
- k && (d = d ? k + " " + d : k);
478
- } else if (i)
479
- l == null && (l = {}), l = Object.assign({}, m, l);
480
- else {
481
- var z = null;
482
- for (var E in m) {
483
- var C = m[E];
484
- C !== void 0 && (p.includes(E) || (C != null && (l == null && (l = {}), z == null && (z = {}), z[E] = C), p.push(E), r = null));
485
- }
486
- z != null && (l = Object.assign(z, l));
487
- }
488
- }
489
- }
490
- var D = [d, l, n];
491
- return D;
492
- };
493
- }
494
- var Ie = ue = Q.styleq = pe();
495
- Ie.factory = pe;
496
- const Le = ue.factory({
497
- disableMix: !0
498
- });
499
- function qe(...t) {
500
- const [e, i, o] = Le(t), c = {};
501
- if (e != null && e !== "" && (c.className = e), i != null && (c.style = i), o != null && o !== "") {
502
- const p = o.split(";"), d = {};
503
- for (const l of p) {
504
- const n = l.trim(), [r, x] = n.split(":");
505
- x != null && (d[r] = d[r] != null ? `${d[r]},${x}` : x);
506
- }
507
- c["data-style-src"] = Object.keys(d).map((l) => `${l}:${d[l]}`).join("; ");
508
- }
509
- return c;
510
- }
511
- function Ee(t) {
512
- Object.keys(t).forEach((e) => {
513
- je(e) || (Ce(`invalid prop "${e}"`), delete t[e]);
514
- });
515
- }
516
- function g(t, e) {
517
- const i = {
518
- $$css: !0,
519
- "debug::name": `html-${t}`
520
- };
521
- function o({
522
- ref: c,
523
- ...p
524
- }) {
525
- const {
526
- for: d,
527
- style: l,
528
- ...n
529
- } = p, r = n;
530
- Ee(r), d != null && (r.htmlFor = d), p.role != null && (r.role = p.role === "none" ? "presentation" : p.role), t === "button" ? r.type = r.type ? r.type : "button" : (t === "input" || t === "textarea") && (r.dir = r.dir ? r.dir : "auto");
531
- const x = qe([i, e, l]);
532
- return $(t, {
533
- ...r,
534
- ...x,
535
- ref: c
536
- });
537
- }
538
- return o.displayName = `html.${t}`, o;
539
- }
540
- const h = {
541
- block: {
542
- "margin-kogj98": "margin-x1ghz6dp",
543
- "padding-kmVPX3": "padding-x1717udv",
544
- $$css: ".pnpm:web/index.js:226"
545
- },
546
- inline: {
547
- "margin-kogj98": "margin-x1ghz6dp",
548
- "padding-kmVPX3": "padding-x1717udv",
549
- "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
550
- "textAlign-k9WMMc": "textAlign-x16tdsg8",
551
- "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
552
- $$css: ".pnpm:web/index.js:230"
553
- },
554
- inlineblock: {
555
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
556
- "margin-kogj98": "margin-x1ghz6dp",
557
- "padding-kmVPX3": "padding-x1717udv",
558
- $$css: ".pnpm:web/index.js:237"
559
- },
560
- button: {
561
- "borderWidth-kMzoRj": "borderWidth-xmkeg23",
562
- $$css: ".pnpm:web/index.js:242"
563
- },
564
- codePre: {
565
- "fontFamily-kMv6JI": "fontFamily-x1lxnp44",
566
- "fontSize-kGuDYH": "fontSize-xrv4cvt",
567
- "overflow-kVQacm": "overflow-xysyzu8",
568
- $$css: ".pnpm:web/index.js:245"
569
- },
570
- heading: {
571
- "fontSize-kGuDYH": "fontSize-xngnso2",
572
- "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
573
- $$css: ".pnpm:web/index.js:250"
574
- },
575
- hr: {
576
- "backgroundColor-kWkggS": "backgroundColor-x42x0ya",
577
- "borderStyle-ksu8eU": "borderStyle-xng3xce",
578
- "borderWidth-kMzoRj": "borderWidth-xc342km",
579
- "boxSizing-kB7OPa": "boxSizing-x9f619",
580
- "height-kZKoxP": "height-xjm9jq1",
581
- $$css: ".pnpm:web/index.js:254"
582
- },
583
- img: {
584
- "aspectRatio-kOBAk4": "aspectRatio-xuw900x",
585
- "height-kZKoxP": "height-xt7dq6l",
586
- "maxWidth-ks0D6T": "maxWidth-x193iq5w",
587
- $$css: ".pnpm:web/index.js:261"
588
- },
589
- input: {
590
- "borderWidth-kMzoRj": "borderWidth-xmkeg23",
591
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
592
- $$css: ".pnpm:web/index.js:266"
593
- },
594
- list: {
595
- "listStyle-kB88ic": "listStyle-xe8uvvx",
596
- $$css: ".pnpm:web/index.js:270"
597
- },
598
- strong: {
599
- "fontWeight-k63SB2": "fontWeight-x117nqv4",
600
- $$css: ".pnpm:web/index.js:273"
601
- },
602
- textarea: {
603
- "borderWidth-kMzoRj": "borderWidth-xmkeg23",
604
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
605
- "resize-kHenm0": "resize-x288g5",
606
- $$css: ".pnpm:web/index.js:276"
607
- }
608
- }, Oe = h.inline, He = h.block, Pe = h.block, De = h.inline, Be = h.inline, Ae = h.inline, Fe = h.block, Ge = null, Ve = [h.inlineblock, h.button], _e = [h.inline, h.codePre], Xe = null, Ke = h.block, Ne = h.inline, Ue = h.block, Ye = h.block, Je = h.block, B = [h.block, h.heading], Ze = h.block, Qe = [h.block, h.hr], et = h.inline, tt = h.img, ot = [h.inlineblock, h.input], nt = null, rt = null, it = h.inline, st = h.block, lt = h.block, at = h.inline, ct = h.block, dt = [h.list, h.block], ut = null, pt = null, xt = h.block, gt = [h.block, h.codePre], bt = null, kt = h.block, mt = h.inlineblock, ht = h.inline, ft = [h.inline, h.strong], vt = h.inline, yt = h.inline, wt = [h.inlineblock, h.textarea], $t = null, Tt = [h.list, h.block], b = {
609
- a: Oe,
610
- article: He,
611
- aside: Pe,
612
- b: De,
613
- bdi: Be,
614
- bdo: Ae,
615
- blockquote: Fe,
616
- br: Ge,
617
- button: Ve,
618
- code: _e,
619
- del: Xe,
620
- div: Ke,
621
- em: Ne,
622
- fieldset: Ue,
623
- footer: Ye,
624
- form: Je,
625
- h1: B,
626
- h2: B,
627
- h3: B,
628
- h4: B,
629
- h5: B,
630
- h6: B,
631
- header: Ze,
632
- hr: Qe,
633
- i: et,
634
- img: tt,
635
- input: ot,
636
- ins: nt,
637
- kbd: rt,
638
- label: it,
639
- li: st,
640
- main: lt,
641
- mark: at,
642
- nav: ct,
643
- ol: dt,
644
- optgroup: ut,
645
- option: pt,
646
- p: xt,
647
- pre: gt,
648
- s: bt,
649
- section: kt,
650
- select: mt,
651
- span: ht,
652
- strong: ft,
653
- sub: vt,
654
- sup: yt,
655
- textarea: wt,
656
- u: $t,
657
- ul: Tt
658
- }, St = g("a", b.a), Mt = g("article", b.article), Ct = g("aside", b.aside), Wt = g("b", b.b), jt = g("bdi", b.bdi), Rt = g("bdo", b.bdo), zt = g("blockquote", b.blockquote), It = g("br", b.br), Lt = g("button", b.button), qt = g("code", b.code), Et = g("del", b.del), Ot = g("div", b.div), Ht = g("em", b.em), Pt = g("fieldset", b.fieldset), Dt = g("footer", b.footer), Bt = g("form", b.form), At = g("h1", b.h1), Ft = g("h2", b.h2), Gt = g("h3", b.h3), Vt = g("h4", b.h4), _t = g("h5", b.h5), Xt = g("h6", b.h6), Kt = g("header", b.header), Nt = g("hr", b.hr), Ut = g("i", b.i), Yt = g("img", b.img), Jt = g("input", b.input), Zt = g("ins", b.ins), Qt = g("kbd", b.kbd), eo = g("label", b.label), to = g("li", b.li), oo = g("main", b.main), no = g("mark", b.mark), ro = g("nav", b.nav), io = g("ol", b.ol), so = g("optgroup", b.optgroup), lo = g("option", b.option), ao = g("p", b.p), co = g("pre", b.pre), uo = g("s", b.s), po = g("section", b.section), xo = g("select", b.select), go = g("span", b.span), bo = g("strong", b.strong), ko = g("sub", b.sub), mo = g("sup", b.sup), ho = g("textarea", b.textarea), fo = g("u", b.u), vo = g("ul", b.ul);
659
- var yo = /* @__PURE__ */ Object.freeze({
660
- __proto__: null,
661
- a: St,
662
- article: Mt,
663
- aside: Ct,
664
- b: Wt,
665
- bdi: jt,
666
- bdo: Rt,
667
- blockquote: zt,
668
- br: It,
669
- button: Lt,
670
- code: qt,
671
- del: Et,
672
- div: Ot,
673
- em: Ht,
674
- fieldset: Pt,
675
- footer: Dt,
676
- form: Bt,
677
- h1: At,
678
- h2: Ft,
679
- h3: Gt,
680
- h4: Vt,
681
- h5: _t,
682
- h6: Xt,
683
- header: Kt,
684
- hr: Nt,
685
- i: Ut,
686
- img: Yt,
687
- input: Jt,
688
- ins: Zt,
689
- kbd: Qt,
690
- label: eo,
691
- li: to,
692
- main: oo,
693
- mark: no,
694
- nav: ro,
695
- ol: io,
696
- optgroup: so,
697
- option: lo,
698
- p: ao,
699
- pre: co,
700
- s: uo,
701
- section: po,
702
- select: xo,
703
- span: go,
704
- strong: bo,
705
- sub: ko,
706
- sup: mo,
707
- textarea: ho,
708
- u: fo,
709
- ul: vo
710
- });
711
- const Ao = {
712
- xs: 480,
713
- sm: 640,
714
- md: 768,
715
- lg: 1024,
716
- xl: 1280
717
- }, v = {
718
- container: {
719
- "containerType-k9g6sI": "containerType-x12h1iku",
720
- "display-k1xSpc": "display-x78zum5",
721
- "flexDirection-kXwgrk": "flexDirection-xdt5ytf",
722
- "gap-kOIVth": "gap-x175yhtj",
723
- $$css: "Table/styles.css.ts:25"
724
- },
725
- rootContainer: {
726
- "containerType-k9g6sI": "containerType-x12h1iku",
727
- "display-k1xSpc": "display-x78zum5",
728
- "flexDirection-kXwgrk": "flexDirection-xdt5ytf",
729
- "gap-kOIVth": "gap-x175yhtj",
730
- $$css: "Table/styles.css.ts:34"
731
- },
732
- clickableRow: {
733
- "cursor-kkrTdU": "cursor-x1ypdohk",
734
- "outlineWidth-kMeerF": "outlineWidth-x1k57tk5 outlineWidth-x4u4vcp",
735
- "outlineStyle-k3XXqK": "outlineStyle-xaatb59",
736
- "outlineColor-kjBf7l": "outlineColor-x1e3ajik",
737
- "outlineOffset-kInvED": "outlineOffset-x1j8r21s",
738
- $$css: "Table/styles.css.ts:43"
739
- },
740
- root: {
741
- "display-k1xSpc": "display-xrvj5dj",
742
- "borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
743
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
744
- "borderColor-kVAM5u": "borderColor-x15ykms2",
745
- "borderRadius-kaIpWk": "borderRadius-xwbokb3",
746
- "overflow-kVQacm": "overflow-xb3r6kr",
747
- "backgroundColor-kWkggS": "backgroundColor-xuw63hu",
748
- "fontFamily-kMv6JI": "fontFamily-xce2pww",
749
- "color-kMwMTN": "color-x95150z",
750
- $$css: "Table/styles.css.ts:55"
751
- },
752
- rootResponsive: {
753
- "minWidth-k7Eaqz": "minWidth-x13qp9f6 minWidth-xym1sjy",
754
- "borderWidth-kMzoRj": "borderWidth-x1qc3l2q borderWidth-xtteep3",
755
- "backgroundColor-kWkggS": "backgroundColor-xuw63hu backgroundColor-x1i4f0qi",
756
- "overflow-kVQacm": "overflow-xb3r6kr overflow-x2v4zgh",
757
- "rowGap-khm7nJ": "rowGap-xxs79tx rowGap-xijoxap",
758
- $$css: "Table/styles.css.ts:74"
759
- },
760
- header: {
761
- "display-k1xSpc": "display-xrvj5dj display-xncg82s",
762
- "gridColumn-kBCFzs": "gridColumn-x1osaytk",
763
- "gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
764
- "backgroundColor-kWkggS": "backgroundColor-xuw63hu",
765
- $$css: "Table/styles.css.ts:106"
766
- },
767
- body: {
768
- "display-k1xSpc": "display-xrvj5dj",
769
- "gridColumn-kBCFzs": "gridColumn-x1osaytk",
770
- "gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
771
- $$css: "Table/styles.css.ts:117"
772
- },
773
- row: {
774
- "display-k1xSpc": "display-xrvj5dj",
775
- "gridColumn-kBCFzs": "gridColumn-x1osaytk",
776
- "gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx gridTemplateColumns-x1iukyyp",
777
- "borderBottomWidth-kt9PQ7": "borderBottomWidth-x12yxxv5 borderBottomWidth-xatuo0m",
778
- "borderBottomStyle-kfdmCh": "borderBottomStyle-x1q0q8m5",
779
- "borderBottomColor-kL6WhQ": "borderBottomColor-x19cyuh1",
780
- $$css: "Table/styles.css.ts:126"
781
- },
782
- bodyRow: {
783
- "backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-xp88rol backgroundColor-x14zl4n5",
784
- "transitionProperty-k1ekBW": "transitionProperty-x15406qy",
785
- "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
786
- "transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
787
- "padding-kmVPX3": "padding-x1717udv padding-x1s7rzzx",
788
- "borderRadius-kaIpWk": "borderRadius-x2u8bby borderRadius-x95x1h7",
789
- "borderWidth-kMzoRj": "borderWidth-xc342km borderWidth-xrp8l4a",
790
- "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
791
- "borderColor-kVAM5u": "borderColor-x15ykms2",
792
- $$css: "Table/styles.css.ts:140"
793
- },
794
- headerCell: {
795
- "fontWeight-k63SB2": "fontWeight-x1x12jc5",
796
- "color-kMwMTN": "color-x4opovt",
797
- "textAlign-k9WMMc": "textAlign-x1yc453h",
798
- "minWidth-k7Eaqz": "minWidth-xeuugli",
799
- "overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
800
- "whiteSpace-khDVqt": "whiteSpace-xeaf4i8 whiteSpace-x1348v4l",
801
- $$css: "Table/styles.css.ts:167"
802
- },
803
- cell: {
804
- "color-kMwMTN": "color-x95150z",
805
- "display-k1xSpc": "display-x78zum5 display-xs8gwy4",
806
- "alignItems-kGNEyG": "alignItems-x6s0dn4",
807
- "minWidth-k7Eaqz": "minWidth-xeuugli",
808
- "overflow-kVQacm": "overflow-x1rea2x4 overflow-x1axt6uq",
809
- "whiteSpace-khDVqt": "whiteSpace-xeaf4i8",
810
- "overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
811
- "gridTemplateColumns-kumcoG": "gridTemplateColumns-xzgtm8w",
812
- "gap-kOIVth": "gap-xxhr3t gap-xgrwfsz",
813
- $$css: "Table/styles.css.ts:190"
814
- },
815
- cellValue: {
816
- "minWidth-k7Eaqz": "minWidth-xeuugli",
817
- "flexGrow-kzQI83": "flexGrow-x1iyjqo2",
818
- "overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
819
- $$css: "Table/styles.css.ts:228"
820
- },
821
- cellLabel: {
822
- "display-k1xSpc": "display-x1s85apg display-x1sim00f",
823
- "color-kMwMTN": "color-x4opovt",
824
- "fontWeight-k63SB2": "fontWeight-x120ksxs",
825
- "fontSize-kGuDYH": "fontSize-x1f81oxx",
826
- $$css: "Table/styles.css.ts:237"
827
- },
828
- cellActions: {
829
- "gridTemplateColumns-kumcoG": "gridTemplateColumns-x1iukyyp",
830
- "justifyContent-kjj79g": "justifyContent-xalo3at",
831
- "marginTop-keoZOQ": "marginTop-xdj266r marginTop-x1mip588",
832
- "paddingTop-kLKAdn": "paddingTop-x1waenea",
833
- "borderTopWidth-kEafiO": "borderTopWidth-x972fbf borderTopWidth-x1ijfi2n",
834
- "borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
835
- "borderTopColor-kLZC3w": "borderTopColor-xvuocu",
836
- $$css: "Table/styles.css.ts:251"
837
- },
838
- cellSm: {
839
- "paddingTop-kLKAdn": "paddingTop-x1i738hq paddingTop-x81it4n",
840
- "paddingBottom-kGO01o": "paddingBottom-x6sojwk paddingBottom-x1jele16",
841
- "paddingLeft-kE3dHu": "paddingLeft-x6xq64o",
842
- "paddingRight-kpe85a": "paddingRight-xpkaq21",
843
- "fontSize-kGuDYH": "fontSize-x1f81oxx",
844
- $$css: "Table/styles.css.ts:277"
845
- },
846
- cellMd: {
847
- "paddingTop-kLKAdn": "paddingTop-xc2wovk",
848
- "paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
849
- "paddingLeft-kE3dHu": "paddingLeft-x2rk66v paddingLeft-x1u39w1b",
850
- "paddingRight-kpe85a": "paddingRight-x7huf2v paddingRight-x1cevoma",
851
- "fontSize-kGuDYH": "fontSize-x1tzajr0",
852
- $$css: "Table/styles.css.ts:291"
853
- },
854
- stripedEven: {
855
- "backgroundColor-kWkggS": "backgroundColor-xlyqa1p backgroundColor-xp88rol backgroundColor-x14zl4n5",
856
- $$css: "Table/styles.css.ts:307"
857
- },
858
- borderedCell: {
859
- "borderRightWidth-kWqL5O": "borderRightWidth-xnwp6cp borderRightWidth-xc5nm28",
860
- "borderRightStyle-kSWEuD": "borderRightStyle-x32b0ac",
861
- "borderRightColor-k26BEO": "borderRightColor-x9iiiab",
862
- $$css: "Table/styles.css.ts:316"
863
- },
864
- borderedCellLast: {
865
- "borderRightWidth-kWqL5O": "borderRightWidth-xgfja2r",
866
- $$css: "Table/styles.css.ts:324"
867
- },
868
- sortChip: {
869
- "display-k1xSpc": "display-x1s85apg display-x11cgw9t",
870
- "alignSelf-kSGwAc": "alignSelf-xqcrz7y",
871
- $$css: "Table/styles.css.ts:329"
872
- },
873
- scrollX: {
874
- "overflowX-kXHlph": "overflowX-xw2csxc",
875
- "overflowY-kORKVm": "overflowY-xryxfnj",
876
- "WebkitOverflowScrolling-kuHK5b": "WebkitOverflowScrolling-x5lxg6s",
877
- $$css: "Table/styles.css.ts:343"
878
- },
879
- scrollFrame: {
880
- "position-kVAEAm": "position-x1n2onr6",
881
- $$css: "Table/styles.css.ts:354"
882
- },
883
- edgeFade: {
884
- "position-kVAEAm": "position-x10l6tqk",
885
- "top-k87sOh": "top-xnfr1j",
886
- "bottom-krVfgx": "bottom-x19ip775",
887
- "width-kzqmXN": "width-x1xju080",
888
- "pointerEvents-kfzvcC": "pointerEvents-x47corl",
889
- "opacity-kSiTet": "opacity-xg01cxk",
890
- "transitionProperty-k1ekBW": "transitionProperty-x19991ni",
891
- "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
892
- "transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
893
- $$css: "Table/styles.css.ts:361"
894
- },
895
- edgeFadeLeft: {
896
- "left-kbCHJM": "left-xt9097p",
897
- "borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-xha5hpv",
898
- "borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-x1hsk2v7",
899
- "backgroundImage-kKwaWg": "backgroundImage-xvdn1ag",
900
- $$css: "Table/styles.css.ts:372"
901
- },
902
- edgeFadeRight: {
903
- "right-kCIrl2": "right-x1hp3iq1",
904
- "borderTopRightRadius-ksF3WI": "borderTopRightRadius-xbbsgyh",
905
- "borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xitffcu",
906
- "backgroundImage-kKwaWg": "backgroundImage-x1ykoi01",
907
- $$css: "Table/styles.css.ts:378"
908
- },
909
- edgeFadeVisible: {
910
- "opacity-kSiTet": "opacity-x1hc1fzr",
911
- $$css: "Table/styles.css.ts:384"
912
- },
913
- gridColumns: (t) => [{
914
- "gridTemplateColumns-kumcoG": t != null ? "gridTemplateColumns-xqketvx" : t,
915
- $$css: "Table/styles.css.ts:389"
916
- }, {
917
- "--x-gridTemplateColumns": t ?? void 0
918
- }],
919
- gridColumnsResponsive: (t, e) => [{
920
- "gridTemplateColumns-kumcoG": (t != null ? "gridTemplateColumns-x39pwss " : t) + (e != null ? "gridTemplateColumns-x17u3dsi " : e) + "gridTemplateColumns-x1iukyyp",
921
- $$css: "Table/styles.css.ts:408"
922
- }, {
923
- "--x-1pds3uo": t ?? void 0,
924
- "--x-1n5740v": e ?? void 0
925
- }]
926
- }, xe = V(null);
927
- function U() {
928
- const t = A(xe);
929
- if (!t)
930
- throw new Error("Table compound components must be used within Table.Root");
931
- return t;
932
- }
933
- const ee = V(!1);
934
- function wo(t) {
935
- const e = j.c(2), {
936
- children: i
937
- } = t;
938
- let o;
939
- return e[0] !== i ? (o = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:55", ...S(M.div, v.container), children: i }), e[0] = i, e[1] = o) : o = e[1], o;
940
- }
941
- function $o(t) {
942
- let e = "";
943
- return K.forEach(t, (i) => {
944
- (typeof i == "string" || typeof i == "number") && (e += String(i));
945
- }), e;
946
- }
947
- function To(t) {
948
- let e = t;
949
- for (let i = 0; i < 8 && e && typeof e == "object"; i++) {
950
- const o = e.type ?? e.render;
951
- if (o == null) break;
952
- e = o;
953
- }
954
- return e;
955
- }
956
- function So(t, e) {
957
- const i = [], o = [], c = [];
958
- function p(d) {
959
- K.forEach(d, (l) => {
960
- if (!be(l)) return;
961
- const n = l.props, r = To(l.type), x = r?.displayName || r?.name || "";
962
- if (r === oe || x === "HeaderCell") {
963
- const s = n.width ? String(ne(n.width)) : `minmax(${me(e)}, 1fr)`;
964
- i.push(s), o.push(n.compactWidth ? String(ne(n.compactWidth)) : s);
965
- const a = typeof n.label == "string" ? n.label : void 0, u = $o(n.children).trim(), m = a ?? u;
966
- !a && u === "" && n.children != null && de("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(m);
967
- } else n.children && p(n.children);
968
- });
969
- }
970
- return p(t), {
971
- template: i.join(" "),
972
- compactTemplate: o.join(" "),
973
- labels: c
974
- };
975
- }
976
- function Mo(t) {
977
- const e = j.c(13), {
978
- children: i
979
- } = t, o = q(null);
980
- let c;
981
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
982
- start: !1,
983
- end: !1
984
- }, e[0] = c) : c = e[0];
985
- const [p, d] = J(c);
986
- let l, n;
987
- e[1] === Symbol.for("react.memo_cache_sentinel") ? (l = () => {
988
- const k = o.current;
989
- if (!k)
990
- return;
991
- const y = () => {
992
- const f = k.scrollWidth - k.clientWidth > 1;
993
- d({
994
- start: f && k.scrollLeft > 1,
995
- end: f && k.scrollLeft + k.clientWidth < k.scrollWidth - 1
996
- });
997
- };
998
- y(), k.addEventListener("scroll", y, {
999
- passive: !0
1000
- });
1001
- const w = typeof ResizeObserver < "u" ? new ResizeObserver(y) : null;
1002
- return w?.observe(k), () => {
1003
- k.removeEventListener("scroll", y), w?.disconnect();
1004
- };
1005
- }, n = [], e[1] = l, e[2] = n) : (l = e[1], n = e[2]), P(l, n);
1006
- let r;
1007
- e[3] !== i ? (r = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:196", ref: o, ...S(M.div, v.scrollX), children: i }), e[3] = i, e[4] = r) : r = e[4];
1008
- const x = p.start && v.edgeFadeVisible;
1009
- let s;
1010
- e[5] !== x ? (s = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:199", "aria-hidden": !0, ...S(M.div, v.edgeFade, v.edgeFadeLeft, x) }), e[5] = x, e[6] = s) : s = e[6];
1011
- const a = p.end && v.edgeFadeVisible;
1012
- let u;
1013
- e[7] !== a ? (u = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:203", "aria-hidden": !0, ...S(M.div, v.edgeFade, v.edgeFadeRight, a) }), e[7] = a, e[8] = u) : u = e[8];
1014
- let m;
1015
- return e[9] !== r || e[10] !== s || e[11] !== u ? (m = /* @__PURE__ */ X("div", { "data-element-src": "Table/Table.tsx:195", ...S(M.div, v.scrollFrame), children: [
1016
- r,
1017
- s,
1018
- u
1019
- ] }), e[9] = r, e[10] = s, e[11] = u, e[12] = m) : m = e[12], m;
1020
- }
1021
- function Co({
1022
- children: t,
1023
- variant: e = "default",
1024
- size: i = "md",
1025
- responsive: o = !0,
1026
- minColumnWidth: c = "labelMinW",
1027
- sortChip: p,
1028
- pagination: d
1029
- }) {
1030
- const l = q(null), {
1031
- template: n,
1032
- compactTemplate: r,
1033
- labels: x
1034
- } = So(t, c);
1035
- n && (l.current = n);
1036
- const s = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:257", role: "table", ...S(
1037
- M.div,
1038
- v.root,
1039
- // When responsive, use gridColumnsResponsive so the explicit column
1040
- // template and the stack-mode @container override live in one StyleX
1041
- // style object. Splitting them across two styles (gridColumns +
1042
- // rootResponsive) causes StyleX conflict resolution to drop the
1043
- // column template because rootResponsive's gridTemplateColumns key
1044
- // always wins as the later entry in the array.
1045
- n ? o ? v.gridColumnsResponsive(n, r) : v.gridColumns(n) : void 0,
1046
- o && v.rootResponsive
1047
- ), children: t }), u = /* @__PURE__ */ X(se, { children: [
1048
- p,
1049
- o ? /* @__PURE__ */ $(Mo, { children: s }) : s,
1050
- d
1051
- ] });
1052
- return /* @__PURE__ */ $(xe.Provider, { value: {
1053
- variant: e,
1054
- size: i,
1055
- responsive: o,
1056
- labels: x,
1057
- inferredTemplateRef: l
1058
- }, children: o ? /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:299", ...S(M.div, v.rootContainer), children: u }) : u });
1059
- }
1060
- function Wo(t) {
1061
- const e = j.c(2), {
1062
- children: i
1063
- } = t;
1064
- let o;
1065
- return e[0] !== i ? (o = /* @__PURE__ */ $(ee.Provider, { value: !0, children: /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:309", role: "rowgroup", ...S(M.div, v.header), children: i }) }), e[0] = i, e[1] = o) : o = e[1], o;
1066
- }
1067
- function jo(t) {
1068
- const e = j.c(19), {
1069
- children: i
1070
- } = t, {
1071
- variant: o
1072
- } = U();
1073
- let c, p, d, l, n, r;
1074
- if (e[0] !== i || e[1] !== o) {
1075
- const a = K.toArray(i);
1076
- p = ee.Provider, r = !1, c = yo.div, d = "rowgroup", l = v.body;
1077
- let u;
1078
- e[8] !== o ? (u = (m, k) => o !== "striped" ? m : /* @__PURE__ */ $(ge.Provider, { value: k, children: m }, m.key ?? k), e[8] = o, e[9] = u) : u = e[9], n = a.map(u), e[0] = i, e[1] = o, e[2] = c, e[3] = p, e[4] = d, e[5] = l, e[6] = n, e[7] = r;
1079
- } else
1080
- c = e[2], p = e[3], d = e[4], l = e[5], n = e[6], r = e[7];
1081
- let x;
1082
- e[10] !== c || e[11] !== d || e[12] !== l || e[13] !== n ? (x = /* @__PURE__ */ $(c, { role: d, style: l, children: n }), e[10] = c, e[11] = d, e[12] = l, e[13] = n, e[14] = x) : x = e[14];
1083
- let s;
1084
- return e[15] !== p || e[16] !== r || e[17] !== x ? (s = /* @__PURE__ */ $(p, { value: r, children: x }), e[15] = p, e[16] = r, e[17] = x, e[18] = s) : s = e[18], s;
1085
- }
1086
- const ge = V(-1), Ro = 'button, a, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="switch"], [role="tab"], [contenteditable="true"]';
1087
- function zo(t) {
1088
- const e = j.c(17), {
1089
- children: i,
1090
- onClick: o,
1091
- "aria-label": c
1092
- } = t, {
1093
- variant: p
1094
- } = U(), d = A(ee), l = A(ge), n = l >= 0 && l % 2 === 1;
1095
- let r;
1096
- if (e[0] !== c || e[1] !== i || e[2] !== n || e[3] !== d || e[4] !== o || e[5] !== p) {
1097
- const x = K.toArray(i), s = o !== void 0 && !d;
1098
- let a;
1099
- e[7] !== s || e[8] !== o ? (a = s ? (f) => {
1100
- const T = f.target;
1101
- T instanceof Element && T.closest(Ro) || o();
1102
- } : void 0, e[7] = s, e[8] = o, e[9] = a) : a = e[9];
1103
- let u;
1104
- e[10] !== s || e[11] !== o ? (u = s ? (f) => {
1105
- (f.key === "Enter" || f.key === " ") && o();
1106
- } : void 0, e[10] = s, e[11] = o, e[12] = u) : u = e[12];
1107
- const m = !d && v.bodyRow, k = !d && p === "striped" && n && v.stripedEven, y = s && v.clickableRow;
1108
- let w;
1109
- e[13] !== m || e[14] !== k || e[15] !== y ? (w = [v.row, m, k, y], e[13] = m, e[14] = k, e[15] = y, e[16] = w) : w = e[16], r = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:381", role: "row", tabIndex: s ? 0 : void 0, "aria-label": s ? c : void 0, onClick: a, onKeyDown: u, ...S(M.div, w), children: x.map((f, T) => /* @__PURE__ */ $(te.Provider, { value: {
1110
- index: T,
1111
- total: x.length
1112
- }, children: f }, f.key ?? T)) }), e[0] = c, e[1] = i, e[2] = n, e[3] = d, e[4] = o, e[5] = p, e[6] = r;
1113
- } else
1114
- r = e[6];
1115
- return r;
1116
- }
1117
- const te = V({
1118
- index: 0,
1119
- total: 0
1120
- });
1121
- function oe(t) {
1122
- const e = j.c(8), {
1123
- children: i,
1124
- "aria-label": o
1125
- } = t, {
1126
- size: c,
1127
- variant: p
1128
- } = U(), {
1129
- index: d,
1130
- total: l
1131
- } = A(te), n = p === "bordered" && d === l - 1, r = c === "sm" ? v.cellSm : v.cellMd, x = p === "bordered" && v.borderedCell, s = n && v.borderedCellLast;
1132
- let a;
1133
- e[0] !== r || e[1] !== x || e[2] !== s ? (a = [v.headerCell, r, x, s], e[0] = r, e[1] = x, e[2] = s, e[3] = a) : a = e[3];
1134
- let u;
1135
- return e[4] !== o || e[5] !== i || e[6] !== a ? (u = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:467", role: "columnheader", "aria-label": o, ...S(M.div, a), children: i }), e[4] = o, e[5] = i, e[6] = a, e[7] = u) : u = e[7], u;
1136
- }
1137
- oe.displayName = "HeaderCell";
1138
- function Io(t) {
1139
- const e = j.c(16), {
1140
- children: i,
1141
- isActions: o
1142
- } = t, {
1143
- size: c,
1144
- variant: p,
1145
- labels: d,
1146
- responsive: l
1147
- } = U(), {
1148
- index: n,
1149
- total: r
1150
- } = A(te), x = p === "bordered" && n === r - 1, s = d[n] ?? "", a = c === "sm" ? v.cellSm : v.cellMd, u = p === "bordered" && v.borderedCell, m = x && v.borderedCellLast, k = o && v.cellActions;
1151
- let y;
1152
- e[0] !== a || e[1] !== u || e[2] !== m || e[3] !== k ? (y = [v.cell, a, u, m, k], e[0] = a, e[1] = u, e[2] = m, e[3] = k, e[4] = y) : y = e[4];
1153
- let w;
1154
- e[5] !== o || e[6] !== s || e[7] !== l ? (w = l && !o && s !== "" ? /* @__PURE__ */ $("span", { "data-element-src": "Table/Table.tsx:507", ...S(M.span, v.cellLabel), children: s }) : null, e[5] = o, e[6] = s, e[7] = l, e[8] = w) : w = e[8];
1155
- let f;
1156
- e[9] !== i || e[10] !== o ? (f = o ? i : /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:509", ...S(M.div, v.cellValue), children: i }), e[9] = i, e[10] = o, e[11] = f) : f = e[11];
1157
- let T;
1158
- return e[12] !== y || e[13] !== w || e[14] !== f ? (T = /* @__PURE__ */ X("div", { "data-element-src": "Table/Table.tsx:496", role: "cell", ...S(M.div, y), children: [
1159
- w,
1160
- f
1161
- ] }), e[12] = y, e[13] = w, e[14] = f, e[15] = T) : T = e[15], T;
1162
- }
1163
- const Lo = {
1164
- /** @deprecated Wrap behaviour is built into Table.Root. Drop this wrapper from new code. */
1165
- Container: wo,
1166
- Root: Co,
1167
- Header: Wo,
1168
- Body: jo,
1169
- Row: zo,
1170
- HeaderCell: oe,
1171
- Cell: Io
1172
- }, Fo = Lo;
1173
- export {
1174
- jo as B,
1175
- Io as C,
1176
- Po as D,
1177
- oe as H,
1178
- Do as I,
1179
- Bo as M,
1180
- zo as R,
1181
- Ho as S,
1182
- Fo as T,
1183
- v as a,
1184
- Ao as b,
1185
- Wo as c,
1186
- Co as d,
1187
- G as e,
1188
- Lo as f,
1189
- me as r,
1190
- le as s
1191
- };
1192
- //# sourceMappingURL=Table-BKN_d-mp.js.map