@pismo/marola 2.1.64 → 2.1.66

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 (114) hide show
  1. package/dist/Button-CJaBSdv1.js +135 -0
  2. package/dist/ClassNameConfigurator-CVRWfyIa.js +847 -0
  3. package/dist/{ClickAwayListener-Z08peX_P.js → ClickAwayListener-BnYMO5Ki.js} +26 -33
  4. package/dist/Popup-D267EI4e.js +1338 -0
  5. package/dist/{Portal-DJapUCn6.js → Portal-BrGvxB96.js} +32 -36
  6. package/dist/RadioOption-DyRY8xlF.js +1094 -0
  7. package/dist/{Toggle-DcZTfLrC.js → Toggle-nnDfpqI1.js} +31 -31
  8. package/dist/assets/Checkbox.css +1 -1
  9. package/dist/assets/DropdownMenu.css +1 -1
  10. package/dist/assets/ToastCard.css +1 -1
  11. package/dist/assets/Toggle2.css +1 -1
  12. package/dist/combineHooksSlotProps-j-8UVeYo.js +86 -0
  13. package/dist/components/Alert/Alert.stories.d.ts +6 -6
  14. package/dist/components/Autocomplete/Autocomplete.d.ts +1 -1
  15. package/dist/components/Autocomplete/Autocomplete.js +311 -320
  16. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +1 -1
  17. package/dist/components/Avatar/Avatar.stories.d.ts +4 -4
  18. package/dist/components/BankingCard/BankingCard.d.ts +0 -1
  19. package/dist/components/Button/Button.js +1 -1
  20. package/dist/components/Checkbox/Checkbox.js +56 -56
  21. package/dist/components/Checkbox/Checkbox.stories.d.ts +8 -8
  22. package/dist/components/Chip/Chip.js +3 -3
  23. package/dist/components/DatePicker/DatePicker.js +742 -639
  24. package/dist/components/DatePicker/DatePicker.stories.d.ts +8 -8
  25. package/dist/components/DatePicker/dateUtils.d.ts +2 -2
  26. package/dist/components/DatePicker/dateUtils.js +1 -1
  27. package/dist/components/DatePicker/keyboardNavigation.d.ts +1 -1
  28. package/dist/components/DatePicker/renderCalendarDays.js +1 -1
  29. package/dist/components/DatePicker/renderPeriodSelection.js +1 -1
  30. package/dist/components/Dialog/CloseIconButton.js +1 -1
  31. package/dist/components/Dialog/Dialog.js +372 -352
  32. package/dist/components/Dialog/Dialog.stories.d.ts +96 -135
  33. package/dist/components/DoubleAutocomplete/DoubleAutocomplete.d.ts +1 -1
  34. package/dist/components/DoubleAutocomplete/DoubleAutocomplete.js +2 -2
  35. package/dist/components/DoubleAutocomplete/DoubleAutocomplete.stories.d.ts +1 -1
  36. package/dist/components/DoubleInput/DoubleInput.stories.d.ts +1 -1
  37. package/dist/components/Draggable/Draggable.d.ts +0 -1
  38. package/dist/components/Draggable/Draggable.js +1 -1
  39. package/dist/components/Draggable/Draggable.stories.d.ts +2 -3
  40. package/dist/components/Draggable/useDraggable.js +1 -1
  41. package/dist/components/DropdownMenu/DropdownMenu.d.ts +3 -1
  42. package/dist/components/DropdownMenu/DropdownMenu.js +39 -34
  43. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +6 -4
  44. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +4 -4
  45. package/dist/components/Icon/types.d.ts +1 -1
  46. package/dist/components/IconButton/IconButton.js +1 -1
  47. package/dist/components/Input/Input.js +335 -320
  48. package/dist/components/InputSearch/InputSearch.d.ts +31 -31
  49. package/dist/components/InputSearch/InputSearch.stories.d.ts +31 -31
  50. package/dist/components/Popover/Popover.d.ts +3 -3
  51. package/dist/components/Popover/Popover.js +2 -2
  52. package/dist/components/Popover/Popover.stories.d.ts +3 -3
  53. package/dist/components/Popover/PopoverBody.d.ts +0 -1
  54. package/dist/components/Popover/PopoverFooter.d.ts +0 -1
  55. package/dist/components/Popover/PopoverHeader.d.ts +0 -1
  56. package/dist/components/RadioButton/RadioButton.d.ts +0 -1
  57. package/dist/components/RadioButton/RadioButton.js +684 -769
  58. package/dist/components/RadioButton/RadioOption.d.ts +0 -1
  59. package/dist/components/RadioButton/RadioOption.js +3 -3
  60. package/dist/components/ResultContainer/ResultContainer.d.ts +0 -1
  61. package/dist/components/ResultContainer/ResultContainer.stories.d.ts +9 -9
  62. package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
  63. package/dist/components/ResultWithChips/ResultWithChips.stories.d.ts +9 -9
  64. package/dist/components/RowItem/RowItem.js +2 -2
  65. package/dist/components/Select/Select.js +625 -591
  66. package/dist/components/Skeleton/Skeleton.d.ts +0 -1
  67. package/dist/components/Snackbar/Snackbar.js +295 -239
  68. package/dist/components/Snackbar/Snackbar.stories.d.ts +113 -113
  69. package/dist/components/StepperNavigator/StepperNavigator.d.ts +0 -1
  70. package/dist/components/Table/Table.stories.d.ts +5 -5
  71. package/dist/components/Tabs/Tab.js +107 -98
  72. package/dist/components/Tabs/TabPanel.js +58 -55
  73. package/dist/components/Tabs/Tabs.js +246 -231
  74. package/dist/components/ToastCard/ToastCard.js +31 -31
  75. package/dist/components/Toggle/Toggle.js +147 -137
  76. package/dist/components/Toggle/Toggle.stories.d.ts +5 -5
  77. package/dist/components/ToggleGroup/Toggle.d.ts +0 -1
  78. package/dist/components/ToggleGroup/Toggle.js +2 -2
  79. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  80. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -1
  81. package/dist/components/Tooltip/Tooltip.js +266 -325
  82. package/dist/components/Tooltip/Tooltip.stories.d.ts +4 -4
  83. package/dist/components/TransactionRow/TransactionRow.stories.d.ts +21 -21
  84. package/dist/contexts/DraggableProvider/DraggableProvider.d.ts +0 -1
  85. package/dist/contexts/DraggableProvider/DraggableProvider.js +1 -1
  86. package/dist/contexts/SnackbarProvider/SnackbarProvider.js +1 -1
  87. package/dist/{dayjs.min-ClQKmc--.js → dayjs.min-BtgZiFZY.js} +14 -14
  88. package/dist/getReactElementRef-iorwYm2A.js +19 -0
  89. package/dist/{index-1UpBa69h.js → index-ew-96uBP.js} +2129 -2128
  90. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  91. package/dist/main.js +2 -2
  92. package/dist/{ownerDocument-By592Iy6.js → ownerDocument-CU-LCrtd.js} +1 -1
  93. package/dist/react-BTbo_5A3.js +526 -0
  94. package/dist/setRef-Bo0HEdBB.js +6 -0
  95. package/dist/useButton-C2E_LFJp.js +90 -0
  96. package/dist/useControlled-BYdyS7Pn.js +31 -0
  97. package/dist/useId-CK6Kn3Tn.js +21 -0
  98. package/dist/useList-BLW78Lq7.js +446 -0
  99. package/dist/utils/draggable.d.ts +2 -2
  100. package/dist/utils/iconsList.js +118 -112
  101. package/package.json +1 -1
  102. package/dist/Button-BrEDdtHO.js +0 -130
  103. package/dist/Popup-Dffqo7wT.js +0 -1246
  104. package/dist/RadioOption-DYovqiwF.js +0 -720
  105. package/dist/combineHooksSlotProps-BhQ14uyD.js +0 -79
  106. package/dist/exactProp-SYjL19cU.js +0 -13
  107. package/dist/react-BvI-Sw9b.js +0 -509
  108. package/dist/useButton-CezPDte8.js +0 -105
  109. package/dist/useControlled-CCMYYdCM.js +0 -31
  110. package/dist/useId-BW-oWmul.js +0 -19
  111. package/dist/useIsFocusVisible-BH4IAdcw.js +0 -69
  112. package/dist/useList-nqLfZem8.js +0 -435
  113. package/dist/useSlotProps-CYHDC4TN.js +0 -834
  114. package/dist/useTimeout-DxF9kiZL.js +0 -36
@@ -0,0 +1,1094 @@
1
+ import './assets/RadioOption.css';var He = Object.defineProperty;
2
+ var Qe = (e, t, n) => t in e ? He(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var N = (e, t, n) => Qe(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { jsxs as xe, jsx as T } from "react/jsx-runtime";
5
+ import { c as Xe } from "./clsx-OuTLNxxd.js";
6
+ import "./utils/iconsList.js";
7
+ import { Typography as et } from "./components/Typography/Typography.js";
8
+ import * as i from "react";
9
+ import { createElement as fe } from "react";
10
+ import "./components/Input/Input.js";
11
+ import "./components/Avatar/Avatar.js";
12
+ import "./components/Button/Button.js";
13
+ import "./Toggle-nnDfpqI1.js";
14
+ import "./components/Dialog/Dialog.js";
15
+ import "./components/DatePicker/DatePicker.js";
16
+ import { r as H } from "./index-ew-96uBP.js";
17
+ import "./components/Draggable/useDraggable.js";
18
+ import "./components/IconButton/IconButton.js";
19
+ import "./components/InputSearch/InputSearch.js";
20
+ import "./components/Select/Select.js";
21
+ import "./components/Popover/Popover.js";
22
+ import "./components/Table/Table.js";
23
+ import "./components/Tabs/Tabs.js";
24
+ import "./Group-DJz1rK2n.js";
25
+ import "./contexts/SnackbarProvider/SnackbarProvider.js";
26
+ import { b as tt, c as nt } from "./Popup-D267EI4e.js";
27
+ const pe = {};
28
+ function F(e, t) {
29
+ const n = i.useRef(pe);
30
+ return n.current === pe && (n.current = e(t)), n;
31
+ }
32
+ const Z = i[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0, -3)], rt = (
33
+ // React 17 doesn't have useInsertionEffect.
34
+ Z && // Preact replaces useInsertionEffect with useLayoutEffect and fires too late.
35
+ Z !== i.useLayoutEffect ? Z : (e) => e()
36
+ );
37
+ function K(e) {
38
+ const t = F(ot).current;
39
+ return t.next = e, rt(t.effect), t.trampoline;
40
+ }
41
+ function ot() {
42
+ const e = {
43
+ next: void 0,
44
+ callback: st,
45
+ trampoline: (...t) => {
46
+ var n;
47
+ return (n = e.callback) == null ? void 0 : n.call(e, ...t);
48
+ },
49
+ effect: () => {
50
+ e.callback = e.next;
51
+ }
52
+ };
53
+ return e;
54
+ }
55
+ function st() {
56
+ if (process.env.NODE_ENV !== "production")
57
+ throw new Error("Base UI: Cannot call an event handler while rendering.");
58
+ }
59
+ const it = () => {
60
+ }, R = typeof document < "u" ? i.useLayoutEffect : it, Ne = /* @__PURE__ */ i.createContext({
61
+ register: () => {
62
+ },
63
+ unregister: () => {
64
+ },
65
+ subscribeMapChange: () => () => {
66
+ },
67
+ elementsRef: {
68
+ current: []
69
+ },
70
+ nextIndexRef: {
71
+ current: 0
72
+ }
73
+ });
74
+ process.env.NODE_ENV !== "production" && (Ne.displayName = "CompositeListContext");
75
+ function at() {
76
+ return i.useContext(Ne);
77
+ }
78
+ function W(e, ...t) {
79
+ const n = new URL(`https://base-ui.com/production-error/${e}`);
80
+ return t.forEach((s) => n.searchParams.append("args[]", s)), `Base UI error #${e}; visit ${n} for the full message.`;
81
+ }
82
+ function Y(e, t, n, s) {
83
+ const o = F(_e).current;
84
+ return ut(o, e, t, n, s) && ve(o, [e, t, n, s]), o.callback;
85
+ }
86
+ function ct(e) {
87
+ const t = F(_e).current;
88
+ return lt(t, e) && ve(t, e), t.callback;
89
+ }
90
+ function _e() {
91
+ return {
92
+ callback: null,
93
+ cleanup: null,
94
+ refs: []
95
+ };
96
+ }
97
+ function ut(e, t, n, s, o) {
98
+ return e.refs[0] !== t || e.refs[1] !== n || e.refs[2] !== s || e.refs[3] !== o;
99
+ }
100
+ function lt(e, t) {
101
+ return e.refs.length !== t.length || e.refs.some((n, s) => n !== t[s]);
102
+ }
103
+ function ve(e, t) {
104
+ if (e.refs = t, t.every((n) => n == null)) {
105
+ e.callback = null;
106
+ return;
107
+ }
108
+ e.callback = (n) => {
109
+ if (e.cleanup && (e.cleanup(), e.cleanup = null), n != null) {
110
+ const s = Array(t.length).fill(null);
111
+ for (let o = 0; o < t.length; o += 1) {
112
+ const r = t[o];
113
+ if (r != null)
114
+ switch (typeof r) {
115
+ case "function": {
116
+ const a = r(n);
117
+ typeof a == "function" && (s[o] = a);
118
+ break;
119
+ }
120
+ case "object": {
121
+ r.current = n;
122
+ break;
123
+ }
124
+ }
125
+ }
126
+ e.cleanup = () => {
127
+ for (let o = 0; o < t.length; o += 1) {
128
+ const r = t[o];
129
+ if (r != null)
130
+ switch (typeof r) {
131
+ case "function": {
132
+ const a = s[o];
133
+ typeof a == "function" ? a() : r(null);
134
+ break;
135
+ }
136
+ case "object": {
137
+ r.current = null;
138
+ break;
139
+ }
140
+ }
141
+ }
142
+ };
143
+ }
144
+ };
145
+ }
146
+ const dt = parseInt(i.version, 10);
147
+ function ft(e) {
148
+ return dt >= e;
149
+ }
150
+ function me(e) {
151
+ if (!/* @__PURE__ */ i.isValidElement(e))
152
+ return null;
153
+ const t = e, n = t.props;
154
+ return (ft(19) ? n == null ? void 0 : n.ref : t.ref) ?? null;
155
+ }
156
+ function Q(e, t) {
157
+ if (e && !t)
158
+ return e;
159
+ if (!e && t)
160
+ return t;
161
+ if (e || t)
162
+ return {
163
+ ...e,
164
+ ...t
165
+ };
166
+ }
167
+ function pt(e, t) {
168
+ const n = {};
169
+ for (const s in e) {
170
+ const o = e[s];
171
+ if (t != null && t.hasOwnProperty(s)) {
172
+ const r = t[s](o);
173
+ r != null && Object.assign(n, r);
174
+ continue;
175
+ }
176
+ o === !0 ? n[`data-${s.toLowerCase()}`] = "" : o && (n[`data-${s.toLowerCase()}`] = o.toString());
177
+ }
178
+ return n;
179
+ }
180
+ function mt(e, t) {
181
+ return typeof e == "function" ? e(t) : e;
182
+ }
183
+ function ht(e, t) {
184
+ return typeof e == "function" ? e(t) : e;
185
+ }
186
+ const A = {};
187
+ function Re(e, t, n, s, o) {
188
+ let r = {
189
+ ...X(e, A)
190
+ };
191
+ return t && (r = $(r, t)), n && (r = $(r, n)), s && (r = $(r, s)), r;
192
+ }
193
+ function bt(e) {
194
+ if (e.length === 0)
195
+ return A;
196
+ if (e.length === 1)
197
+ return X(e[0], A);
198
+ let t = {
199
+ ...X(e[0], A)
200
+ };
201
+ for (let n = 1; n < e.length; n += 1)
202
+ t = $(t, e[n]);
203
+ return t;
204
+ }
205
+ function $(e, t) {
206
+ return ke(t) ? t(e) : yt(e, t);
207
+ }
208
+ function yt(e, t) {
209
+ if (!t)
210
+ return e;
211
+ for (const n in t) {
212
+ const s = t[n];
213
+ switch (n) {
214
+ case "style": {
215
+ e[n] = Q(e.style, s);
216
+ break;
217
+ }
218
+ case "className": {
219
+ e[n] = Pe(e.className, s);
220
+ break;
221
+ }
222
+ default:
223
+ gt(n, s) ? e[n] = Ct(e[n], s) : e[n] = s;
224
+ }
225
+ }
226
+ return e;
227
+ }
228
+ function gt(e, t) {
229
+ const n = e.charCodeAt(0), s = e.charCodeAt(1), o = e.charCodeAt(2);
230
+ return n === 111 && s === 110 && o >= 65 && o <= 90 && (typeof t == "function" || typeof t > "u");
231
+ }
232
+ function ke(e) {
233
+ return typeof e == "function";
234
+ }
235
+ function X(e, t) {
236
+ return ke(e) ? e(t) : e ?? A;
237
+ }
238
+ function Ct(e, t) {
239
+ return t ? e ? (n) => {
240
+ if (Et(n)) {
241
+ const o = n;
242
+ ee(o);
243
+ const r = t(o);
244
+ return o.baseUIHandlerPrevented || e == null || e(o), r;
245
+ }
246
+ const s = t(n);
247
+ return e == null || e(n), s;
248
+ } : t : e;
249
+ }
250
+ function ee(e) {
251
+ return e.preventBaseUIHandler = () => {
252
+ e.baseUIHandlerPrevented = !0;
253
+ }, e;
254
+ }
255
+ function Pe(e, t) {
256
+ return t ? e ? t + " " + e : t : e;
257
+ }
258
+ function Et(e) {
259
+ return e != null && typeof e == "object" && "nativeEvent" in e;
260
+ }
261
+ function g() {
262
+ }
263
+ const he = Object.freeze([]), C = Object.freeze({});
264
+ function re(e, t, n = {}) {
265
+ const s = t.render, o = It(t, n);
266
+ if (n.enabled === !1)
267
+ return null;
268
+ const r = n.state ?? C;
269
+ return xt(e, s, o, r);
270
+ }
271
+ function It(e, t = {}) {
272
+ const {
273
+ className: n,
274
+ style: s,
275
+ render: o
276
+ } = e, {
277
+ state: r = C,
278
+ ref: a,
279
+ props: c,
280
+ stateAttributesMapping: l,
281
+ enabled: p = !0
282
+ } = t, m = p ? mt(n, r) : void 0, y = p ? ht(s, r) : void 0, f = p ? pt(r, l) : C, u = p ? Q(f, Array.isArray(c) ? bt(c) : c) ?? C : C;
283
+ return typeof document < "u" && (p ? Array.isArray(a) ? u.ref = ct([u.ref, me(o), ...a]) : u.ref = Y(u.ref, me(o), a) : Y(null, null)), p ? (m !== void 0 && (u.className = Pe(u.className, m)), y !== void 0 && (u.style = Q(u.style, y)), u) : C;
284
+ }
285
+ function xt(e, t, n, s) {
286
+ if (t) {
287
+ if (typeof t == "function")
288
+ return t(n, s);
289
+ const o = Re(n, t.props);
290
+ return o.ref = n.ref, /* @__PURE__ */ i.cloneElement(t, o);
291
+ }
292
+ if (e && typeof e == "string")
293
+ return Nt(e, n);
294
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: Render element or function are not defined." : W(8));
295
+ }
296
+ function Nt(e, t) {
297
+ return e === "button" ? /* @__PURE__ */ fe("button", {
298
+ type: "button",
299
+ ...t,
300
+ key: t.key
301
+ }) : e === "img" ? /* @__PURE__ */ fe("img", {
302
+ alt: "",
303
+ ...t,
304
+ key: t.key
305
+ }) : /* @__PURE__ */ i.createElement(e, t);
306
+ }
307
+ const _t = "none";
308
+ function vt(e, t, n, s) {
309
+ let o = !1, r = !1;
310
+ const a = C;
311
+ return {
312
+ reason: e,
313
+ event: t ?? new Event("base-ui"),
314
+ cancel() {
315
+ o = !0;
316
+ },
317
+ allowPropagation() {
318
+ r = !0;
319
+ },
320
+ get isCanceled() {
321
+ return o;
322
+ },
323
+ get isPropagationAllowed() {
324
+ return r;
325
+ },
326
+ trigger: n,
327
+ ...a
328
+ };
329
+ }
330
+ const Rt = {
331
+ ...i
332
+ };
333
+ let be = 0;
334
+ function kt(e, t = "mui") {
335
+ const [n, s] = i.useState(e), o = e || n;
336
+ return i.useEffect(() => {
337
+ n == null && (be += 1, s(`${t}-${be}`));
338
+ }, [n, t]), o;
339
+ }
340
+ const ye = Rt.useId;
341
+ function Pt(e, t) {
342
+ if (ye !== void 0) {
343
+ const n = ye();
344
+ return e ?? `${t}-${n}`;
345
+ }
346
+ return kt(e, t);
347
+ }
348
+ function we(e) {
349
+ return Pt(e, "base-ui");
350
+ }
351
+ const wt = [];
352
+ function Ot(e) {
353
+ i.useEffect(e, wt);
354
+ }
355
+ const G = null;
356
+ let ge = globalThis.requestAnimationFrame;
357
+ class Vt {
358
+ constructor() {
359
+ /* This implementation uses an array as a backing data-structure for frame callbacks.
360
+ * It allows `O(1)` callback cancelling by inserting a `null` in the array, though it
361
+ * never calls the native `cancelAnimationFrame` if there are no frames left. This can
362
+ * be much more efficient if there is a call pattern that alterns as
363
+ * "request-cancel-request-cancel-…".
364
+ * But in the case of "request-request-…-cancel-cancel-…", it leaves the final animation
365
+ * frame to run anyway. We turn that frame into a `O(1)` no-op via `callbacksCount`. */
366
+ N(this, "callbacks", []);
367
+ N(this, "callbacksCount", 0);
368
+ N(this, "nextId", 1);
369
+ N(this, "startId", 1);
370
+ N(this, "isScheduled", !1);
371
+ N(this, "tick", (t) => {
372
+ var o;
373
+ this.isScheduled = !1;
374
+ const n = this.callbacks, s = this.callbacksCount;
375
+ if (this.callbacks = [], this.callbacksCount = 0, this.startId = this.nextId, s > 0)
376
+ for (let r = 0; r < n.length; r += 1)
377
+ (o = n[r]) == null || o.call(n, t);
378
+ });
379
+ }
380
+ request(t) {
381
+ const n = this.nextId;
382
+ this.nextId += 1, this.callbacks.push(t), this.callbacksCount += 1;
383
+ const s = process.env.NODE_ENV === "test" && ge !== requestAnimationFrame && (ge = requestAnimationFrame, !0);
384
+ return (!this.isScheduled || s) && (requestAnimationFrame(this.tick), this.isScheduled = !0), n;
385
+ }
386
+ cancel(t) {
387
+ const n = t - this.startId;
388
+ n < 0 || n >= this.callbacks.length || (this.callbacks[n] = null, this.callbacksCount -= 1);
389
+ }
390
+ }
391
+ const j = new Vt();
392
+ class v {
393
+ constructor() {
394
+ N(this, "currentId", G);
395
+ N(this, "cancel", () => {
396
+ this.currentId !== G && (j.cancel(this.currentId), this.currentId = G);
397
+ });
398
+ N(this, "disposeEffect", () => this.cancel);
399
+ }
400
+ static create() {
401
+ return new v();
402
+ }
403
+ static request(t) {
404
+ return j.request(t);
405
+ }
406
+ static cancel(t) {
407
+ return j.cancel(t);
408
+ }
409
+ /**
410
+ * Executes `fn` after `delay`, clearing any previously scheduled call.
411
+ */
412
+ request(t) {
413
+ this.cancel(), this.currentId = j.request(() => {
414
+ this.currentId = G, t();
415
+ });
416
+ }
417
+ }
418
+ function Dt() {
419
+ const e = F(v.create).current;
420
+ return Ot(e.disposeEffect), e;
421
+ }
422
+ function St(e) {
423
+ return e == null ? e : "current" in e ? e.current : e;
424
+ }
425
+ function Mt(e, t = !1, n = !0) {
426
+ const s = Dt();
427
+ return K((o, r = null) => {
428
+ s.cancel();
429
+ const a = St(e);
430
+ a != null && (typeof a.getAnimations != "function" || globalThis.BASE_UI_ANIMATIONS_DISABLED ? o() : s.request(() => {
431
+ function c() {
432
+ a && Promise.all(a.getAnimations().map((l) => l.finished)).then(() => {
433
+ r != null && r.aborted || H.flushSync(o);
434
+ }).catch(() => {
435
+ if (n) {
436
+ if (r != null && r.aborted)
437
+ return;
438
+ H.flushSync(o);
439
+ } else a.getAnimations().length > 0 && a.getAnimations().some((l) => l.pending || l.playState !== "finished") && c();
440
+ });
441
+ }
442
+ t ? s.request(c) : c();
443
+ }));
444
+ });
445
+ }
446
+ function Tt(e, t = !1, n = !1) {
447
+ const [s, o] = i.useState(e && t ? "idle" : void 0), [r, a] = i.useState(e);
448
+ return e && !r && (a(!0), o("starting")), !e && r && s !== "ending" && !n && o("ending"), !e && !r && s === "ending" && o(void 0), R(() => {
449
+ if (!e && r && s !== "ending" && n) {
450
+ const c = v.request(() => {
451
+ o("ending");
452
+ });
453
+ return () => {
454
+ v.cancel(c);
455
+ };
456
+ }
457
+ }, [e, r, s, n]), R(() => {
458
+ if (!e || t)
459
+ return;
460
+ const c = v.request(() => {
461
+ H.flushSync(() => {
462
+ o(void 0);
463
+ });
464
+ });
465
+ return () => {
466
+ v.cancel(c);
467
+ };
468
+ }, [t, e]), R(() => {
469
+ if (!e || !t)
470
+ return;
471
+ e && r && s !== "idle" && o("starting");
472
+ const c = v.request(() => {
473
+ o("idle");
474
+ });
475
+ return () => {
476
+ v.cancel(c);
477
+ };
478
+ }, [t, e, r, o, s]), i.useMemo(() => ({
479
+ mounted: r,
480
+ setMounted: a,
481
+ transitionStatus: s
482
+ }), [r, s]);
483
+ }
484
+ let At = /* @__PURE__ */ (function(e) {
485
+ return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
486
+ })({});
487
+ function Ft(e = {}) {
488
+ const {
489
+ label: t,
490
+ metadata: n,
491
+ textRef: s,
492
+ indexGuessBehavior: o,
493
+ index: r
494
+ } = e, {
495
+ register: a,
496
+ unregister: c,
497
+ subscribeMapChange: l,
498
+ elementsRef: p,
499
+ labelsRef: m,
500
+ nextIndexRef: y
501
+ } = at(), f = i.useRef(-1), [u, E] = i.useState(r ?? (o === At.GuessFromOrder ? () => {
502
+ if (f.current === -1) {
503
+ const h = y.current;
504
+ y.current += 1, f.current = h;
505
+ }
506
+ return f.current;
507
+ } : -1)), I = i.useRef(null), k = i.useCallback((h) => {
508
+ var _;
509
+ if (I.current = h, u !== -1 && h !== null && (p.current[u] = h, m)) {
510
+ const O = t !== void 0;
511
+ m.current[u] = O ? t : ((_ = s == null ? void 0 : s.current) == null ? void 0 : _.textContent) ?? h.textContent;
512
+ }
513
+ }, [u, p, m, t, s]);
514
+ return R(() => {
515
+ if (r != null)
516
+ return;
517
+ const h = I.current;
518
+ if (h)
519
+ return a(h, n), () => {
520
+ c(h);
521
+ };
522
+ }, [r, a, c, n]), R(() => {
523
+ if (r == null)
524
+ return l((h) => {
525
+ var O;
526
+ const _ = I.current ? (O = h.get(I.current)) == null ? void 0 : O.index : null;
527
+ _ != null && E(_);
528
+ });
529
+ }, [r, l, E]), i.useMemo(() => ({
530
+ ref: k,
531
+ index: u
532
+ }), [u, k]);
533
+ }
534
+ let Oe = /* @__PURE__ */ (function(e) {
535
+ return e.startingStyle = "data-starting-style", e.endingStyle = "data-ending-style", e;
536
+ })({});
537
+ const Lt = {
538
+ [Oe.startingStyle]: ""
539
+ }, qt = {
540
+ [Oe.endingStyle]: ""
541
+ }, Bt = {
542
+ transitionStatus(e) {
543
+ return e === "starting" ? Lt : e === "ending" ? qt : null;
544
+ }
545
+ };
546
+ let te;
547
+ process.env.NODE_ENV !== "production" && (te = /* @__PURE__ */ new Set());
548
+ function Ce(...e) {
549
+ if (process.env.NODE_ENV !== "production") {
550
+ const t = e.join(" ");
551
+ te.has(t) || (te.add(t), console.error(`Base UI: ${t}`));
552
+ }
553
+ }
554
+ const Ve = /* @__PURE__ */ i.createContext(void 0);
555
+ process.env.NODE_ENV !== "production" && (Ve.displayName = "CompositeRootContext");
556
+ function De(e = !1) {
557
+ const t = i.useContext(Ve);
558
+ if (t === void 0 && !e)
559
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>." : W(16));
560
+ return t;
561
+ }
562
+ function Ut(e) {
563
+ const {
564
+ focusableWhenDisabled: t,
565
+ disabled: n,
566
+ composite: s = !1,
567
+ tabIndex: o = 0,
568
+ isNativeButton: r
569
+ } = e, a = s && t !== !1, c = s && t === !1;
570
+ return {
571
+ props: i.useMemo(() => {
572
+ const p = {
573
+ // allow Tabbing away from focusableWhenDisabled elements
574
+ onKeyDown(m) {
575
+ n && t && m.key !== "Tab" && m.preventDefault();
576
+ }
577
+ };
578
+ return s || (p.tabIndex = o, !r && n && (p.tabIndex = t ? o : -1)), (r && (t || a) || !r && n) && (p["aria-disabled"] = n), r && (!t || c) && (p.disabled = n), p;
579
+ }, [s, n, t, a, c, r, o])
580
+ };
581
+ }
582
+ function Gt(e = {}) {
583
+ const {
584
+ disabled: t = !1,
585
+ focusableWhenDisabled: n,
586
+ tabIndex: s = 0,
587
+ native: o = !0
588
+ } = e, r = i.useRef(null), a = De(!0) !== void 0, c = K(() => {
589
+ const f = r.current;
590
+ return !!((f == null ? void 0 : f.tagName) === "A" && (f != null && f.href));
591
+ }), {
592
+ props: l
593
+ } = Ut({
594
+ focusableWhenDisabled: n,
595
+ disabled: t,
596
+ composite: a,
597
+ tabIndex: s,
598
+ isNativeButton: o
599
+ });
600
+ process.env.NODE_ENV !== "production" && i.useEffect(() => {
601
+ if (!r.current)
602
+ return;
603
+ const f = r.current.tagName === "BUTTON";
604
+ o ? f || Ce("A component that acts as a button was not rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is a real <button>, or set the `nativeButton` prop on the component to `false`.") : f && Ce("A component that acts as a button was rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is not a real <button>, or set the `nativeButton` prop on the component to `true`.");
605
+ }, [o]);
606
+ const p = i.useCallback(() => {
607
+ const f = r.current;
608
+ jt(f) && a && t && l.disabled === void 0 && f.disabled && (f.disabled = !1);
609
+ }, [t, l.disabled, a]);
610
+ R(p, [p]);
611
+ const m = i.useCallback((f = {}) => {
612
+ const {
613
+ onClick: u,
614
+ onMouseDown: E,
615
+ onKeyUp: I,
616
+ onKeyDown: k,
617
+ onPointerDown: h,
618
+ ..._
619
+ } = f;
620
+ return Re({
621
+ type: o ? "button" : void 0,
622
+ onClick(d) {
623
+ if (t) {
624
+ d.preventDefault();
625
+ return;
626
+ }
627
+ u == null || u(d);
628
+ },
629
+ onMouseDown(d) {
630
+ t || E == null || E(d);
631
+ },
632
+ onKeyDown(d) {
633
+ if (t || (ee(d), k == null || k(d)), d.baseUIHandlerPrevented)
634
+ return;
635
+ const z = d.target === d.currentTarget && !o && !c() && !t, D = d.key === "Enter", L = d.key === " ";
636
+ z && ((L || D) && d.preventDefault(), D && (u == null || u(d)));
637
+ },
638
+ onKeyUp(d) {
639
+ t || (ee(d), I == null || I(d)), !d.baseUIHandlerPrevented && d.target === d.currentTarget && !o && !t && d.key === " " && (u == null || u(d));
640
+ },
641
+ onPointerDown(d) {
642
+ if (t) {
643
+ d.preventDefault();
644
+ return;
645
+ }
646
+ h == null || h(d);
647
+ }
648
+ }, o ? void 0 : {
649
+ role: "button"
650
+ }, l, _);
651
+ }, [t, l, o, c]), y = K((f) => {
652
+ r.current = f, p();
653
+ });
654
+ return {
655
+ getButtonProps: m,
656
+ buttonRef: y
657
+ };
658
+ }
659
+ function jt(e) {
660
+ return tt(e) && e.tagName === "BUTTON";
661
+ }
662
+ function $t(e) {
663
+ const t = F(Kt, e).current;
664
+ return t.next = e, R(t.effect), t;
665
+ }
666
+ function Kt(e) {
667
+ const t = {
668
+ current: e,
669
+ next: e,
670
+ effect: () => {
671
+ t.current = t.next;
672
+ }
673
+ };
674
+ return t;
675
+ }
676
+ function Yt(e) {
677
+ const {
678
+ enabled: t = !0,
679
+ open: n,
680
+ ref: s,
681
+ onComplete: o
682
+ } = e, r = $t(n), a = K(o), c = Mt(s, n);
683
+ i.useEffect(() => {
684
+ t && c(() => {
685
+ n === r.current && a();
686
+ });
687
+ }, [t, n, a, c, r]);
688
+ }
689
+ const Wt = {
690
+ clip: "rect(0 0 0 0)",
691
+ overflow: "hidden",
692
+ whiteSpace: "nowrap",
693
+ position: "fixed",
694
+ top: 0,
695
+ left: 0,
696
+ border: 0,
697
+ padding: 0,
698
+ width: 1,
699
+ height: 1,
700
+ margin: -1
701
+ };
702
+ let Ee = /* @__PURE__ */ (function(e) {
703
+ return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
704
+ })({});
705
+ const zt = {
706
+ badInput: !1,
707
+ customError: !1,
708
+ patternMismatch: !1,
709
+ rangeOverflow: !1,
710
+ rangeUnderflow: !1,
711
+ stepMismatch: !1,
712
+ tooLong: !1,
713
+ tooShort: !1,
714
+ typeMismatch: !1,
715
+ valid: null,
716
+ valueMissing: !1
717
+ }, Jt = {
718
+ valid(e) {
719
+ return e === null ? null : e ? {
720
+ [Ee.valid]: ""
721
+ } : {
722
+ [Ee.invalid]: ""
723
+ };
724
+ }
725
+ }, Se = /* @__PURE__ */ i.createContext({
726
+ invalid: void 0,
727
+ name: void 0,
728
+ validityData: {
729
+ state: zt,
730
+ errors: [],
731
+ error: "",
732
+ value: "",
733
+ initialValue: null
734
+ },
735
+ setValidityData: g,
736
+ disabled: void 0,
737
+ touched: !1,
738
+ setTouched: g,
739
+ dirty: !1,
740
+ setDirty: g,
741
+ filled: !1,
742
+ setFilled: g,
743
+ focused: !1,
744
+ setFocused: g,
745
+ validate: () => null,
746
+ validationMode: "onSubmit",
747
+ validationDebounceTime: 0,
748
+ shouldValidateOnChange: () => !1,
749
+ state: {
750
+ disabled: !1,
751
+ valid: null,
752
+ touched: !1,
753
+ dirty: !1,
754
+ filled: !1,
755
+ focused: !1
756
+ },
757
+ markedDirtyRef: {
758
+ current: !1
759
+ },
760
+ validation: {
761
+ getValidationProps: (e = C) => e,
762
+ getInputValidationProps: (e = C) => e,
763
+ inputRef: {
764
+ current: null
765
+ },
766
+ commit: async () => {
767
+ }
768
+ }
769
+ });
770
+ process.env.NODE_ENV !== "production" && (Se.displayName = "FieldRootContext");
771
+ function Zt(e = !0) {
772
+ const t = i.useContext(Se);
773
+ if (t.setValidityData === g && !e)
774
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>." : W(28));
775
+ return t;
776
+ }
777
+ const Me = /* @__PURE__ */ i.createContext({
778
+ controlId: void 0,
779
+ setControlId: g,
780
+ labelId: void 0,
781
+ setLabelId: g,
782
+ messageIds: [],
783
+ setMessageIds: g,
784
+ getDescriptionProps: (e) => e
785
+ });
786
+ process.env.NODE_ENV !== "production" && (Me.displayName = "LabelableContext");
787
+ function Te() {
788
+ return i.useContext(Me);
789
+ }
790
+ function Ht(e = {}) {
791
+ const {
792
+ id: t,
793
+ implicit: n = !1,
794
+ controlRef: s
795
+ } = e, {
796
+ controlId: o,
797
+ setControlId: r
798
+ } = Te(), a = we(t);
799
+ return R(() => {
800
+ if (!(!n && !t || r === g)) {
801
+ if (n) {
802
+ const c = s == null ? void 0 : s.current;
803
+ nt(c) && c.closest("label") != null ? r(t ?? null) : r(o ?? a);
804
+ } else t && r(t);
805
+ return () => {
806
+ t && r(void 0);
807
+ };
808
+ }
809
+ }, [t, s, o, r, n, a]), o ?? a;
810
+ }
811
+ const Ae = /* @__PURE__ */ i.createContext({
812
+ disabled: !1
813
+ });
814
+ process.env.NODE_ENV !== "production" && (Ae.displayName = "FieldItemContext");
815
+ function Qt() {
816
+ return i.useContext(Ae);
817
+ }
818
+ function Xt(e = {}) {
819
+ const {
820
+ highlightItemOnHover: t,
821
+ highlightedIndex: n,
822
+ onHighlightedIndexChange: s
823
+ } = De(), {
824
+ ref: o,
825
+ index: r
826
+ } = Ft(e), a = n === r, c = i.useRef(null), l = Y(o, c);
827
+ return {
828
+ compositeProps: i.useMemo(() => ({
829
+ tabIndex: a ? 0 : -1,
830
+ onFocus() {
831
+ s(r);
832
+ },
833
+ onMouseMove() {
834
+ const m = c.current;
835
+ if (!t || !m)
836
+ return;
837
+ const y = m.hasAttribute("disabled") || m.ariaDisabled === "true";
838
+ !a && !y && m.focus();
839
+ }
840
+ }), [a, s, r, t]),
841
+ compositeRef: l,
842
+ index: r
843
+ };
844
+ }
845
+ function en(e) {
846
+ const {
847
+ render: t,
848
+ className: n,
849
+ state: s = C,
850
+ props: o = he,
851
+ refs: r = he,
852
+ metadata: a,
853
+ stateAttributesMapping: c,
854
+ tag: l = "div",
855
+ ...p
856
+ } = e, {
857
+ compositeProps: m,
858
+ compositeRef: y
859
+ } = Xt({
860
+ metadata: a
861
+ });
862
+ return re(l, e, {
863
+ state: s,
864
+ ref: [...r, y],
865
+ props: [m, ...o, p],
866
+ stateAttributesMapping: c
867
+ });
868
+ }
869
+ const tn = "data-composite-item-active";
870
+ let Ie = /* @__PURE__ */ (function(e) {
871
+ return e.checked = "data-checked", e.unchecked = "data-unchecked", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
872
+ })({});
873
+ const ne = {
874
+ checked(e) {
875
+ return e ? {
876
+ [Ie.checked]: ""
877
+ } : {
878
+ [Ie.unchecked]: ""
879
+ };
880
+ },
881
+ ...Bt,
882
+ ...Jt
883
+ }, Fe = /* @__PURE__ */ i.createContext({
884
+ disabled: void 0,
885
+ readOnly: void 0,
886
+ required: void 0,
887
+ name: void 0,
888
+ checkedValue: "",
889
+ setCheckedValue: g,
890
+ onValueChange: g,
891
+ touched: !1,
892
+ setTouched: g,
893
+ registerControlRef: g
894
+ });
895
+ process.env.NODE_ENV !== "production" && (Fe.displayName = "RadioGroupContext");
896
+ function nn() {
897
+ return i.useContext(Fe);
898
+ }
899
+ const oe = /* @__PURE__ */ i.createContext(void 0);
900
+ process.env.NODE_ENV !== "production" && (oe.displayName = "RadioRootContext");
901
+ function rn() {
902
+ const e = i.useContext(oe);
903
+ if (e === void 0)
904
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: RadioRootContext is missing. Radio parts must be placed within <Radio.Root>." : W(52));
905
+ return e;
906
+ }
907
+ const Le = /* @__PURE__ */ i.forwardRef(function(t, n) {
908
+ const {
909
+ render: s,
910
+ className: o,
911
+ disabled: r = !1,
912
+ readOnly: a = !1,
913
+ required: c = !1,
914
+ value: l,
915
+ inputRef: p,
916
+ nativeButton: m = !1,
917
+ id: y,
918
+ ...f
919
+ } = t, {
920
+ disabled: u,
921
+ readOnly: E,
922
+ required: I,
923
+ checkedValue: k,
924
+ setCheckedValue: h,
925
+ touched: _,
926
+ setTouched: O,
927
+ validation: d,
928
+ registerControlRef: z
929
+ } = nn(), {
930
+ setDirty: D,
931
+ validityData: L,
932
+ setTouched: se,
933
+ setFilled: q,
934
+ state: ie,
935
+ disabled: Be
936
+ } = Zt(), Ue = Qt(), {
937
+ labelId: Ge,
938
+ getDescriptionProps: je
939
+ } = Te(), x = Be || Ue.disabled || u || r, P = E || a, S = I || c, V = k === l, J = i.useRef(null), B = i.useRef(null), ae = Y(p, B);
940
+ R(() => {
941
+ var b;
942
+ (b = B.current) != null && b.checked && q(!0);
943
+ }, [q]);
944
+ const $e = we(), ce = Ht({
945
+ id: y,
946
+ implicit: !1,
947
+ controlRef: J
948
+ }), Ke = {
949
+ role: "radio",
950
+ "aria-checked": V,
951
+ "aria-required": S || void 0,
952
+ "aria-disabled": x || void 0,
953
+ "aria-readonly": P || void 0,
954
+ "aria-labelledby": Ge,
955
+ [tn]: V ? "" : void 0,
956
+ id: $e,
957
+ disabled: x,
958
+ onKeyDown(b) {
959
+ b.key === "Enter" && b.preventDefault();
960
+ },
961
+ onClick(b) {
962
+ var w;
963
+ b.defaultPrevented || x || P || (b.preventDefault(), (w = B.current) == null || w.click());
964
+ },
965
+ onFocus(b) {
966
+ var w;
967
+ b.defaultPrevented || x || P || !_ || ((w = B.current) == null || w.click(), O(!1));
968
+ }
969
+ }, {
970
+ getButtonProps: Ye,
971
+ buttonRef: We
972
+ } = Gt({
973
+ disabled: x,
974
+ native: m
975
+ }), ze = i.useMemo(() => ({
976
+ type: "radio",
977
+ ref: ae,
978
+ id: ce,
979
+ tabIndex: -1,
980
+ style: Wt,
981
+ "aria-hidden": !0,
982
+ disabled: x,
983
+ checked: V,
984
+ required: S,
985
+ readOnly: P,
986
+ onChange(b) {
987
+ if (b.nativeEvent.defaultPrevented || x || P || l === void 0)
988
+ return;
989
+ const w = vt(_t, b.nativeEvent);
990
+ w.isCanceled || (se(!0), D(l !== L.initialValue), q(!0), h(l, w));
991
+ },
992
+ onFocus() {
993
+ var b;
994
+ (b = J.current) == null || b.focus();
995
+ }
996
+ }), [V, x, ce, ae, P, S, h, D, se, q, L.initialValue, l]), U = i.useMemo(() => ({
997
+ ...ie,
998
+ required: S,
999
+ disabled: x,
1000
+ readOnly: P,
1001
+ checked: V
1002
+ }), [ie, x, P, V, S]), Je = i.useMemo(() => U, [U]), ue = h !== g, le = [n, z, J, We], de = [Ke, je, (d == null ? void 0 : d.getValidationProps) ?? C, f, Ye], Ze = re("span", t, {
1003
+ enabled: !ue,
1004
+ state: U,
1005
+ ref: le,
1006
+ props: de,
1007
+ stateAttributesMapping: ne
1008
+ });
1009
+ return /* @__PURE__ */ xe(oe.Provider, {
1010
+ value: Je,
1011
+ children: [ue ? /* @__PURE__ */ T(en, {
1012
+ tag: "span",
1013
+ render: s,
1014
+ className: o,
1015
+ state: U,
1016
+ refs: le,
1017
+ props: de,
1018
+ stateAttributesMapping: ne
1019
+ }) : Ze, /* @__PURE__ */ T("input", {
1020
+ ...ze
1021
+ })]
1022
+ });
1023
+ });
1024
+ process.env.NODE_ENV !== "production" && (Le.displayName = "RadioRoot");
1025
+ const qe = /* @__PURE__ */ i.forwardRef(function(t, n) {
1026
+ const {
1027
+ render: s,
1028
+ className: o,
1029
+ keepMounted: r = !1,
1030
+ ...a
1031
+ } = t, c = rn(), l = c.checked, {
1032
+ transitionStatus: p,
1033
+ setMounted: m
1034
+ } = Tt(l), y = i.useMemo(() => ({
1035
+ ...c,
1036
+ transitionStatus: p
1037
+ }), [c, p]), f = i.useRef(null), u = r || l, E = re("span", t, {
1038
+ enabled: u,
1039
+ ref: [n, f],
1040
+ state: y,
1041
+ props: a,
1042
+ stateAttributesMapping: ne
1043
+ });
1044
+ return Yt({
1045
+ open: l,
1046
+ ref: f,
1047
+ onComplete() {
1048
+ l || m(!1);
1049
+ }
1050
+ }), u ? E : null;
1051
+ });
1052
+ process.env.NODE_ENV !== "production" && (qe.displayName = "RadioIndicator");
1053
+ const on = "_option_1xyfv_9", sn = "_radio_1xyfv_1", an = "_indicator_1xyfv_43", M = {
1054
+ "radio-label": "_radio-label_1xyfv_1",
1055
+ "radio-label__disabled": "_radio-label__disabled_1xyfv_4",
1056
+ option: on,
1057
+ radio: sn,
1058
+ indicator: an,
1059
+ "legacy-radio": "_legacy-radio_1xyfv_59",
1060
+ "legacy-radio--label": "_legacy-radio--label_1xyfv_67",
1061
+ "legacy-radio--label__disabled": "_legacy-radio--label__disabled_1xyfv_70",
1062
+ "legacy-radio--input": "_legacy-radio--input_1xyfv_74",
1063
+ "legacy-radio--input__disabled": "_legacy-radio--input__disabled_1xyfv_84",
1064
+ "legacy-radio--disabled": "_legacy-radio--disabled_1xyfv_95"
1065
+ }, Vn = ({ label: e, value: t, disabled: n, "data-testid": s }) => {
1066
+ const o = Xe(M["radio-label"], n && M["radio-label__disabled"]);
1067
+ return /* @__PURE__ */ xe("label", { className: M.option, "data-testid": s, children: [
1068
+ /* @__PURE__ */ T(Le, { disabled: n, value: t, className: M.radio, children: /* @__PURE__ */ T(qe, { className: M.indicator }) }),
1069
+ /* @__PURE__ */ T(et, { color: "var(--colors-neutral-text-color-text)", className: o, variant: "base-lg", children: e })
1070
+ ] });
1071
+ };
1072
+ export {
1073
+ tn as A,
1074
+ Ne as C,
1075
+ he as E,
1076
+ g as N,
1077
+ Vn as R,
1078
+ F as a,
1079
+ R as b,
1080
+ Zt as c,
1081
+ Y as d,
1082
+ C as e,
1083
+ W as f,
1084
+ re as g,
1085
+ Ve as h,
1086
+ Te as i,
1087
+ we as j,
1088
+ Fe as k,
1089
+ Jt as l,
1090
+ Re as m,
1091
+ M as s,
1092
+ K as u,
1093
+ Wt as v
1094
+ };