@recursica/mantine-adapter 0.10.0 → 0.12.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 (79) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +6 -28
  3. package/dist/mantine-adapter.cjs +1 -1
  4. package/dist/mantine-adapter.cjs.map +1 -1
  5. package/dist/mantine-adapter.css +1 -1
  6. package/dist/mantine-adapter.js +1650 -1344
  7. package/dist/mantine-adapter.js.map +1 -1
  8. package/dist/src/components/Checkbox/Checkbox.d.ts +3 -1
  9. package/dist/src/components/FormControlLayout/FormControlLayout.d.ts +21 -0
  10. package/dist/src/components/FormControlWrapper/FormControlWrapper.d.ts +2 -0
  11. package/dist/src/components/Label/Label.d.ts +1 -3
  12. package/dist/src/components/Menu/Menu.d.ts +85 -3
  13. package/dist/src/components/Radio/Radio.d.ts +3 -1
  14. package/dist/src/components/ReadOnlyField/ReadOnlyBooleanField.d.ts +5 -0
  15. package/dist/src/components/ReadOnlyField/ReadOnlyField.d.ts +6 -6
  16. package/dist/src/components/ReadOnlyField/ReadOnlySwitchField.d.ts +5 -0
  17. package/dist/src/components/ReadOnlyField/WithReadOnlyWrapper.d.ts +7 -1
  18. package/dist/src/components/ReadOnlyField/index.d.ts +2 -0
  19. package/dist/src/components/Switch/Switch.d.ts +3 -1
  20. package/dist/src/components/index.d.ts +1 -0
  21. package/dist/src/utils/RequireAccessibleLabel.d.ts +18 -0
  22. package/package.json +1 -1
  23. package/src/components/AssistiveElement/AssistiveElement.stories.tsx +6 -4
  24. package/src/components/Avatar/Avatar.stories.tsx +10 -5
  25. package/src/components/Badge/Badge.stories.tsx +2 -1
  26. package/src/components/Button/Button.stories.tsx +2 -4
  27. package/src/components/Checkbox/Checkbox.module.css +1 -1
  28. package/src/components/Checkbox/Checkbox.stories.tsx +24 -3
  29. package/src/components/Checkbox/Checkbox.tsx +72 -15
  30. package/src/components/Checkbox/CheckboxGroup.stories.tsx +26 -25
  31. package/src/components/Checkbox/CheckboxGroup.tsx +38 -58
  32. package/src/components/Container/Container.stories.tsx +6 -3
  33. package/src/components/DatePicker/DatePicker.stories.tsx +1 -5
  34. package/src/components/Dropdown/Dropdown.stories.tsx +0 -3
  35. package/src/components/Dropdown/Dropdown.tsx +6 -5
  36. package/src/components/FileInput/FileInput.stories.tsx +1 -5
  37. package/src/components/FileUpload/FileUpload.stories.tsx +1 -5
  38. package/src/components/Flex/Flex.stories.tsx +6 -3
  39. package/src/components/FormControlLayout/FormControlLayout.module.css +80 -0
  40. package/src/components/FormControlLayout/FormControlLayout.stories.tsx +82 -0
  41. package/src/components/FormControlLayout/FormControlLayout.tsx +78 -0
  42. package/src/components/FormControlWrapper/FormControlWrapper.module.css +3 -41
  43. package/src/components/FormControlWrapper/FormControlWrapper.stories.tsx +18 -5
  44. package/src/components/FormControlWrapper/FormControlWrapper.tsx +28 -41
  45. package/src/components/Group/Group.stories.tsx +6 -3
  46. package/src/components/Label/Label.module.css +0 -37
  47. package/src/components/Label/Label.stories.tsx +8 -9
  48. package/src/components/Label/Label.tsx +2 -7
  49. package/src/components/Loader/Loader.stories.tsx +10 -5
  50. package/src/components/Menu/MENU_IMPLEMENTATION_NOTES.md +78 -0
  51. package/src/components/Menu/Menu.module.css +244 -0
  52. package/src/components/Menu/Menu.stories.tsx +309 -5
  53. package/src/components/Menu/Menu.tsx +317 -4
  54. package/src/components/NumberInput/NumberInput.stories.tsx +1 -5
  55. package/src/components/Radio/Radio.stories.tsx +22 -8
  56. package/src/components/Radio/Radio.tsx +134 -75
  57. package/src/components/Radio/RadioGroup.stories.tsx +26 -7
  58. package/src/components/Radio/RadioGroup.tsx +37 -57
  59. package/src/components/ReadOnlyField/ReadOnlyBooleanField.tsx +21 -0
  60. package/src/components/ReadOnlyField/ReadOnlyField.stories.tsx +43 -0
  61. package/src/components/ReadOnlyField/ReadOnlyField.tsx +30 -3
  62. package/src/components/ReadOnlyField/ReadOnlySwitchField.tsx +21 -0
  63. package/src/components/ReadOnlyField/ReadOnlyTextField.tsx +3 -1
  64. package/src/components/ReadOnlyField/WithReadOnlyWrapper.tsx +10 -2
  65. package/src/components/ReadOnlyField/index.ts +2 -0
  66. package/src/components/SegmentedControl/SegmentedControl.stories.tsx +1 -5
  67. package/src/components/Slider/Slider.stories.tsx +1 -5
  68. package/src/components/Stack/Stack.stories.tsx +6 -3
  69. package/src/components/Switch/Switch.module.css +2 -10
  70. package/src/components/Switch/Switch.stories.tsx +42 -27
  71. package/src/components/Switch/Switch.tsx +138 -89
  72. package/src/components/Switch/SwitchGroup.stories.tsx +28 -8
  73. package/src/components/Switch/SwitchGroup.tsx +37 -57
  74. package/src/components/TextArea/TextArea.stories.tsx +0 -3
  75. package/src/components/TextArea/TextArea.tsx +6 -5
  76. package/src/components/TextField/TextField.tsx +6 -5
  77. package/src/components/TimePicker/TimePicker.stories.tsx +1 -5
  78. package/src/components/index.ts +1 -0
  79. package/src/utils/RequireAccessibleLabel.ts +12 -0
@@ -1,7 +1,7 @@
1
- import { jsx as o, jsxs as D, Fragment as so } from "react/jsx-runtime";
2
- import j, { forwardRef as f, useId as qo, useEffect as Oo } from "react";
3
- import { Accordion as no, Avatar as Yo, Badge as Ho, Breadcrumbs as Ko, Button as Uo, Card as co, Input as vo, Box as Co, Checkbox as go, Chip as Zo, Container as Qo, Select as Xo, Flex as Jo, Group as oe, Loader as ee, Radio as xo, Stack as te, Switch as wo, CheckIcon as re, CloseIcon as se, Text as ae, Textarea as ne, Title as ce } from "@mantine/core";
4
- const ie = [
1
+ import { jsx as e, jsxs as E, Fragment as ie } from "react/jsx-runtime";
2
+ import B, { forwardRef as $, useId as no, useEffect as lo } from "react";
3
+ import { Accordion as ye, Avatar as co, Badge as io, Breadcrumbs as po, Button as mo, Card as he, Input as Ae, Box as Ce, Checkbox as Se, Chip as uo, Container as _o, Select as bo, Flex as yo, Group as ho, Loader as fo, Menu as q, Radio as Te, Stack as No, Switch as Ie, CheckIcon as $o, CloseIcon as vo, Text as Co, Textarea as go, Title as xo } from "@mantine/core";
4
+ const wo = [
5
5
  "className",
6
6
  "classNames",
7
7
  "style",
@@ -45,7 +45,7 @@ const ie = [
45
45
  "mih",
46
46
  "mah"
47
47
  // Dimensions
48
- ], le = /* @__PURE__ */ new Set([
48
+ ], Po = /* @__PURE__ */ new Set([
49
49
  "m",
50
50
  "my",
51
51
  "mx",
@@ -60,7 +60,7 @@ const ie = [
60
60
  "left",
61
61
  "bottom",
62
62
  "right"
63
- ]), fo = {
63
+ ]), Pe = {
64
64
  "rec-none": "var(--recursica_brand_dimensions_general_none)",
65
65
  "rec-sm": "var(--recursica_brand_dimensions_general_sm)",
66
66
  "rec-default": "var(--recursica_brand_dimensions_general_default)",
@@ -69,420 +69,418 @@ const ie = [
69
69
  "rec-xl": "var(--recursica_brand_dimensions_general_xl)",
70
70
  "rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
71
71
  };
72
- function N(e, t) {
73
- if (t)
74
- return e;
75
- const s = { ...e };
76
- for (const c of ie)
77
- c in s && delete s[c];
78
- for (const [c, a] of Object.entries(s))
79
- typeof a == "string" && a.startsWith("rec-") && le.has(c) && a in fo && (s[c] = fo[a]);
80
- return s;
72
+ function v(r, o) {
73
+ if (o)
74
+ return r;
75
+ const n = { ...r };
76
+ for (const s of wo)
77
+ s in n && delete n[s];
78
+ for (const [s, t] of Object.entries(n))
79
+ typeof t == "string" && t.startsWith("rec-") && Po.has(s) && t in Pe && (n[s] = Pe[t]);
80
+ return n;
81
81
  }
82
- const de = "Accordion-module__root___Dem6d", pe = "Accordion-module__item___7ryVk", _e = "Accordion-module__noDivider___Ni2tT", me = "Accordion-module__control___b4wgX", ue = "Accordion-module__label___Ss7uW", be = "Accordion-module__chevron___i-HVZ", he = "Accordion-module__iconLeftWrapper___5oLen", $e = "Accordion-module__panel___Wx50w", fe = "Accordion-module__content___PEM9t", Y = {
83
- root: de,
84
- item: pe,
85
- noDivider: _e,
86
- control: me,
87
- label: ue,
88
- chevron: be,
89
- iconLeftWrapper: he,
90
- panel: $e,
91
- content: fe
92
- }, Po = function({
93
- variant: t = "unstyled",
94
- overStyled: s = !1,
95
- ...c
82
+ const Wo = "Accordion-module__root___Dem6d", ko = "Accordion-module__item___7ryVk", Ao = "Accordion-module__noDivider___Ni2tT", So = "Accordion-module__control___b4wgX", To = "Accordion-module__label___Ss7uW", Io = "Accordion-module__chevron___i-HVZ", Lo = "Accordion-module__iconLeftWrapper___5oLen", Ro = "Accordion-module__panel___Wx50w", Oo = "Accordion-module__content___PEM9t", H = {
83
+ root: Wo,
84
+ item: ko,
85
+ noDivider: Ao,
86
+ control: So,
87
+ label: To,
88
+ chevron: Io,
89
+ iconLeftWrapper: Lo,
90
+ panel: Ro,
91
+ content: Oo
92
+ }, Le = function({
93
+ variant: o = "unstyled",
94
+ overStyled: n = !1,
95
+ ...s
96
96
  }) {
97
- const a = N(c, s), n = {
98
- root: Y.root,
99
- item: Y.item,
100
- control: Y.control,
101
- label: Y.label,
102
- chevron: Y.chevron,
103
- panel: Y.panel,
104
- content: Y.content
105
- }, l = a.classNames;
106
- if (l && typeof l == "object" && !Array.isArray(l)) {
107
- const i = l;
108
- Object.keys(i).forEach((r) => {
109
- n[r] ? n[r] = `${n[r]} ${i[r]}` : n[r] = i[r];
97
+ const t = v(s, n), a = {
98
+ root: H.root,
99
+ item: H.item,
100
+ control: H.control,
101
+ label: H.label,
102
+ chevron: H.chevron,
103
+ panel: H.panel,
104
+ content: H.content
105
+ }, c = t.classNames;
106
+ if (c && typeof c == "object" && !Array.isArray(c)) {
107
+ const d = c;
108
+ Object.keys(d).forEach((i) => {
109
+ a[i] ? a[i] = `${a[i]} ${d[i]}` : a[i] = d[i];
110
110
  });
111
111
  }
112
- const d = a.className;
113
- return /* @__PURE__ */ o(
114
- no,
112
+ const l = t.className;
113
+ return /* @__PURE__ */ e(
114
+ ye,
115
115
  {
116
- variant: t,
117
- className: d,
118
- classNames: n,
119
- ...a
116
+ variant: o,
117
+ className: l,
118
+ classNames: a,
119
+ ...t
120
120
  }
121
121
  );
122
122
  };
123
- Po.displayName = "Accordion";
124
- const Wo = f(function({ title: t, leftIcon: s, divider: c = !0, children: a, overStyled: n = !1, ...l }, d) {
125
- const i = N(l, n), r = i.className, p = [c ? void 0 : Y.noDivider, r].filter(Boolean).join(" ") || void 0;
126
- return /* @__PURE__ */ o(
127
- no.Item,
123
+ Le.displayName = "Accordion";
124
+ const Re = $(function({ title: o, leftIcon: n, divider: s = !0, children: t, overStyled: a = !1, ...c }, l) {
125
+ const d = v(c, a), i = d.className, p = [s ? void 0 : H.noDivider, i].filter(Boolean).join(" ") || void 0;
126
+ return /* @__PURE__ */ e(
127
+ ye.Item,
128
128
  {
129
- ref: d,
129
+ ref: l,
130
130
  className: p,
131
- ...i,
132
- children: t ? /* @__PURE__ */ D(so, { children: [
133
- /* @__PURE__ */ o(uo, { leftIcon: s, children: t }),
134
- /* @__PURE__ */ o(bo, { children: a })
135
- ] }) : a
131
+ ...d,
132
+ children: o ? /* @__PURE__ */ E(ie, { children: [
133
+ /* @__PURE__ */ e(ge, { leftIcon: n, children: o }),
134
+ /* @__PURE__ */ e(xe, { children: t })
135
+ ] }) : t
136
136
  }
137
137
  );
138
138
  });
139
- Wo.displayName = "AccordionItem";
140
- const uo = f(function({ leftIcon: t, children: s, overStyled: c = !1, ...a }, n) {
141
- const l = N(a, c), d = l.className;
142
- return /* @__PURE__ */ o(
143
- no.Control,
139
+ Re.displayName = "AccordionItem";
140
+ const ge = $(function({ leftIcon: o, children: n, overStyled: s = !1, ...t }, a) {
141
+ const c = v(t, s), l = c.className;
142
+ return /* @__PURE__ */ e(
143
+ ye.Control,
144
144
  {
145
- ref: n,
146
- className: d,
147
- icon: t ? /* @__PURE__ */ o("span", { className: Y.iconLeftWrapper, "aria-hidden": !0, children: t }) : void 0,
148
- ...l,
149
- children: s
145
+ ref: a,
146
+ className: l,
147
+ icon: o ? /* @__PURE__ */ e("span", { className: H.iconLeftWrapper, "aria-hidden": !0, children: o }) : void 0,
148
+ ...c,
149
+ children: n
150
150
  }
151
151
  );
152
152
  });
153
- uo.displayName = "AccordionControl";
154
- const bo = f(function({ overStyled: t = !1, ...s }, c) {
155
- const a = N(s, t), n = a.className;
156
- return /* @__PURE__ */ o(
157
- no.Panel,
153
+ ge.displayName = "AccordionControl";
154
+ const xe = $(function({ overStyled: o = !1, ...n }, s) {
155
+ const t = v(n, o), a = t.className;
156
+ return /* @__PURE__ */ e(
157
+ ye.Panel,
158
158
  {
159
- ref: c,
160
- className: n,
161
- ...a
159
+ ref: s,
160
+ className: a,
161
+ ...t
162
162
  }
163
163
  );
164
164
  });
165
- bo.displayName = "AccordionPanel";
166
- const ho = Po;
167
- ho.Item = Wo;
168
- ho.Control = uo;
169
- ho.Panel = bo;
170
- const Ne = "Avatar-module__root___fXu-J", ye = "Avatar-module__iconWrapper___ojly2", ve = "Avatar-module__textWrapper___zp-jD", Ce = "Avatar-module__image___ieqGp", ge = "Avatar-module__placeholder___IDW7-", G = {
171
- root: Ne,
172
- iconWrapper: ye,
173
- textWrapper: ve,
174
- image: Ce,
175
- placeholder: ge
176
- }, xe = f(function({
177
- size: t = "default",
178
- variant: s = "solid",
179
- icon: c,
180
- className: a,
181
- classNames: n,
182
- children: l,
183
- style: d,
184
- src: i,
185
- ...r
165
+ xe.displayName = "AccordionPanel";
166
+ const we = Le;
167
+ we.Item = Re;
168
+ we.Control = ge;
169
+ we.Panel = xe;
170
+ const zo = "Avatar-module__root___fXu-J", Mo = "Avatar-module__iconWrapper___ojly2", Fo = "Avatar-module__textWrapper___zp-jD", Eo = "Avatar-module__image___ieqGp", Bo = "Avatar-module__placeholder___IDW7-", V = {
171
+ root: zo,
172
+ iconWrapper: Mo,
173
+ textWrapper: Fo,
174
+ image: Eo,
175
+ placeholder: Bo
176
+ }, jo = $(function({
177
+ size: o = "default",
178
+ variant: n = "solid",
179
+ icon: s,
180
+ className: t,
181
+ classNames: a,
182
+ children: c,
183
+ style: l,
184
+ src: d,
185
+ ...i
186
186
  }, p) {
187
- const m = {
187
+ const u = {
188
188
  solid: "filled",
189
189
  outline: "outline",
190
190
  ghost: "transparent"
191
- }, u = {
191
+ }, y = {
192
192
  default: "md",
193
193
  small: "sm",
194
194
  large: "lg"
195
195
  };
196
- let _ = "text";
197
- i ? _ = "image" : c && (_ = "icon");
198
- const h = {
199
- root: G.root,
200
- image: G.image,
201
- placeholder: G.placeholder
196
+ let m = "text";
197
+ d ? m = "image" : s && (m = "icon");
198
+ const _ = {
199
+ root: V.root,
200
+ image: V.image,
201
+ placeholder: V.placeholder
202
202
  };
203
- if (n && typeof n == "object" && !Array.isArray(n)) {
204
- const b = n;
205
- h.root = b.root ? `${G.root} ${b.root}` : G.root, h.image = b.image ? `${G.image} ${b.image}` : G.image, h.placeholder = b.placeholder ? `${G.placeholder} ${b.placeholder}` : G.placeholder;
203
+ if (a && typeof a == "object" && !Array.isArray(a)) {
204
+ const h = a;
205
+ _.root = h.root ? `${V.root} ${h.root}` : V.root, _.image = h.image ? `${V.image} ${h.image}` : V.image, _.placeholder = h.placeholder ? `${V.placeholder} ${h.placeholder}` : V.placeholder;
206
206
  }
207
- return /* @__PURE__ */ o(
208
- Yo,
207
+ return /* @__PURE__ */ e(
208
+ co,
209
209
  {
210
210
  ref: p,
211
- className: a,
212
- classNames: h,
213
- variant: m[s],
214
- size: u[t],
215
- style: d,
216
- src: i,
217
- "data-variant": s,
218
- "data-size": t,
219
- "data-style": _,
220
- ...r,
221
- children: c != null ? /* @__PURE__ */ o("span", { className: G.iconWrapper, "aria-hidden": !0, children: c }) : l != null ? /* @__PURE__ */ o("span", { className: G.textWrapper, children: l }) : void 0
211
+ className: t,
212
+ classNames: _,
213
+ variant: u[n],
214
+ size: y[o],
215
+ style: l,
216
+ src: d,
217
+ "data-variant": n,
218
+ "data-size": o,
219
+ "data-style": m,
220
+ ...i,
221
+ children: s != null ? /* @__PURE__ */ e("span", { className: V.iconWrapper, "aria-hidden": !0, children: s }) : c != null ? /* @__PURE__ */ e("span", { className: V.textWrapper, children: c }) : void 0
222
222
  }
223
223
  );
224
224
  });
225
- xe.displayName = "Avatar";
226
- const we = "Badge-module__root___5osNT", q = {
227
- root: we
228
- }, Pe = f(function({ variant: t = "primary-color", overStyled: s = !1, ...c }, a) {
229
- const n = N(c, s), l = {
230
- root: q.root,
231
- section: q.section,
232
- label: q.label
233
- }, d = n.classNames;
234
- if (d && typeof d == "object" && !Array.isArray(d)) {
235
- const p = d;
236
- l.root = p.root ? `${q.root} ${p.root}` : q.root, l.section = p.section ?? q.section, l.label = p.label ?? q.label;
225
+ jo.displayName = "Avatar";
226
+ const Do = "Badge-module__root___5osNT", Y = {
227
+ root: Do
228
+ }, Vo = $(function({ variant: o = "primary-color", overStyled: n = !1, ...s }, t) {
229
+ const a = v(s, n), c = {
230
+ root: Y.root,
231
+ section: Y.section,
232
+ label: Y.label
233
+ }, l = a.classNames;
234
+ if (l && typeof l == "object" && !Array.isArray(l)) {
235
+ const p = l;
236
+ c.root = p.root ? `${Y.root} ${p.root}` : Y.root, c.section = p.section ?? Y.section, c.label = p.label ?? Y.label;
237
237
  }
238
- const i = n.className, r = i ? `${q.root} ${i}` : q.root;
239
- return /* @__PURE__ */ o(
240
- Ho,
238
+ const d = a.className, i = d ? `${Y.root} ${d}` : Y.root;
239
+ return /* @__PURE__ */ e(
240
+ io,
241
241
  {
242
- ref: a,
242
+ ref: t,
243
243
  variant: "filled",
244
- "data-variant": t,
245
- ...n,
246
- className: r,
247
- classNames: l
244
+ "data-variant": o,
245
+ ...a,
246
+ className: i,
247
+ classNames: c
248
248
  }
249
249
  );
250
250
  });
251
- Pe.displayName = "Badge";
252
- const We = "Breadcrumb-module__root___x-9ln", ke = "Breadcrumb-module__separator___qrUX-", K = {
253
- root: We,
254
- separator: ke
255
- }, Ae = f(
256
- function({ overStyled: t = !1, separator: s = ">", ...c }, a) {
257
- const n = N(
258
- { separator: s, ...c },
259
- t
260
- ), l = {
261
- root: K.root,
262
- separator: K.separator
263
- }, d = n.classNames;
264
- if (d && typeof d == "object" && !Array.isArray(d)) {
265
- const p = d;
266
- l.root = p.root ? `${K.root} ${p.root}` : K.root, l.separator = p.separator ? `${K.separator} ${p.separator}` : K.separator;
251
+ Vo.displayName = "Badge";
252
+ const Go = "Breadcrumb-module__root___x-9ln", qo = "Breadcrumb-module__separator___qrUX-", U = {
253
+ root: Go,
254
+ separator: qo
255
+ }, Yo = $(
256
+ function({ overStyled: o = !1, separator: n = ">", ...s }, t) {
257
+ const a = v(
258
+ { separator: n, ...s },
259
+ o
260
+ ), c = {
261
+ root: U.root,
262
+ separator: U.separator
263
+ }, l = a.classNames;
264
+ if (l && typeof l == "object" && !Array.isArray(l)) {
265
+ const p = l;
266
+ c.root = p.root ? `${U.root} ${p.root}` : U.root, c.separator = p.separator ? `${U.separator} ${p.separator}` : U.separator;
267
267
  }
268
- const i = n.className, r = i ? `${K.root} ${i}` : K.root;
269
- return /* @__PURE__ */ o(
270
- Ko,
268
+ const d = a.className, i = d ? `${U.root} ${d}` : U.root;
269
+ return /* @__PURE__ */ e(
270
+ po,
271
271
  {
272
- ref: a,
273
- ...n,
274
- className: r,
275
- classNames: l
272
+ ref: t,
273
+ ...a,
274
+ className: i,
275
+ classNames: c
276
276
  }
277
277
  );
278
278
  }
279
279
  );
280
- Ae.displayName = "Breadcrumb";
281
- const Re = "Button-module__root___Q2R8-", Se = "Button-module__label___UJ3Zt", Te = "Button-module__labelText___rFV5p", ze = "Button-module__iconWrapper___uEKPa", Ie = "Button-module__section___f2mKr", M = {
282
- root: Re,
283
- label: Se,
284
- labelText: Te,
285
- iconWrapper: ze,
286
- section: Ie
280
+ Yo.displayName = "Breadcrumb";
281
+ const Zo = "Button-module__root___Q2R8-", Ho = "Button-module__label___UJ3Zt", Ko = "Button-module__labelText___rFV5p", Uo = "Button-module__iconWrapper___uEKPa", Xo = "Button-module__section___f2mKr", G = {
282
+ root: Zo,
283
+ label: Ho,
284
+ labelText: Ko,
285
+ iconWrapper: Uo,
286
+ section: Xo
287
287
  };
288
- function Fe(e) {
289
- return e == null || e === "" ? !1 : typeof e == "string" ? e.trim() !== "" : !0;
288
+ function Qo(r) {
289
+ return r == null || r === "" ? !1 : typeof r == "string" ? r.trim() !== "" : !0;
290
290
  }
291
- const Le = f(
291
+ const Jo = $(
292
292
  function({
293
- variant: t = "solid",
294
- size: s = "default",
295
- icon: c,
296
- children: a,
297
- overStyled: n = !1,
298
- ...l
299
- }, d) {
300
- const i = {
293
+ variant: o = "solid",
294
+ size: n = "default",
295
+ icon: s,
296
+ children: t,
297
+ overStyled: a = !1,
298
+ ...c
299
+ }, l) {
300
+ const d = {
301
301
  solid: "filled",
302
302
  outline: "outline",
303
303
  text: "subtle"
304
- }, r = {
304
+ }, i = {
305
305
  default: "md",
306
306
  small: "sm"
307
- }, p = N(l, n), m = p;
308
- delete m.fullWidth;
309
- const u = !!c || !!m.leftSection, _ = !!m.rightSection, h = (u || _) && !Fe(a);
310
- typeof process < "u" && process.env.NODE_ENV !== "production" && h && !m["aria-label"] && console.warn(
307
+ }, p = v(c, a), u = p;
308
+ delete u.fullWidth;
309
+ const y = !!s || !!u.leftSection, m = !!u.rightSection, _ = (y || m) && !Qo(t);
310
+ typeof process < "u" && process.env.NODE_ENV !== "production" && _ && !u["aria-label"] && console.warn(
311
311
  '[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
312
312
  );
313
- const b = {
314
- root: M.root,
315
- section: M.section,
316
- label: M.label
317
- }, C = m.classNames;
313
+ const h = {
314
+ root: G.root,
315
+ section: G.section,
316
+ label: G.label
317
+ }, C = u.classNames;
318
318
  if (C && typeof C == "object" && !Array.isArray(C)) {
319
- const x = C;
320
- b.root = x.root ? `${M.root} ${x.root}` : M.root, b.section = x.section ?? M.section, b.label = x.label ?? M.label;
319
+ const b = C;
320
+ h.root = b.root ? `${G.root} ${b.root}` : G.root, h.section = b.section ?? G.section, h.label = b.label ?? G.label;
321
321
  }
322
- const $ = m.className, g = $ ? `${M.root} ${$}` : M.root;
323
- return /* @__PURE__ */ o(
324
- Uo,
322
+ const f = u.className, g = f ? `${G.root} ${f}` : G.root;
323
+ return /* @__PURE__ */ e(
324
+ mo,
325
325
  {
326
- ref: d,
326
+ ref: l,
327
327
  className: g,
328
- classNames: b,
329
- variant: i[t],
330
- size: r[s],
331
- leftSection: c != null ? /* @__PURE__ */ o("span", { className: M.iconWrapper, "aria-hidden": !0, children: c }) : void 0,
332
- "data-variant": t,
333
- "data-size": s,
334
- ...h ? { "data-icon-only": "" } : {},
328
+ classNames: h,
329
+ variant: d[o],
330
+ size: i[n],
331
+ leftSection: s != null ? /* @__PURE__ */ e("span", { className: G.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
332
+ "data-variant": o,
333
+ "data-size": n,
334
+ ..._ ? { "data-icon-only": "" } : {},
335
335
  ...p,
336
- children: /* @__PURE__ */ o("span", { className: M.labelText, children: a })
336
+ children: /* @__PURE__ */ e("span", { className: G.labelText, children: t })
337
337
  }
338
338
  );
339
339
  }
340
340
  );
341
- Le.displayName = "Button";
342
- const Be = "Card-module__root___c9KvZ", je = "Card-module__header___PTXf2", Ee = "Card-module__footer___Mu-JC", Ge = "Card-module__section___BRT8H", Me = "Card-module__content___oFIQa", H = {
343
- root: Be,
344
- header: je,
345
- footer: Ee,
346
- section: Ge,
347
- content: Me
348
- }, ko = f(function({ overStyled: t = !1, ...s }, c) {
349
- const a = N(s, t), n = {
350
- root: H.root
351
- }, l = a.classNames;
352
- if (l && typeof l == "object" && !Array.isArray(l)) {
353
- const i = l;
354
- Object.keys(i).forEach((r) => {
355
- n[r] ? n[r] = `${n[r]} ${i[r]}` : n[r] = i[r];
341
+ Jo.displayName = "Button";
342
+ const et = "Card-module__root___c9KvZ", ot = "Card-module__header___PTXf2", tt = "Card-module__footer___Mu-JC", rt = "Card-module__section___BRT8H", at = "Card-module__content___oFIQa", K = {
343
+ root: et,
344
+ header: ot,
345
+ footer: tt,
346
+ section: rt,
347
+ content: at
348
+ }, Oe = $(function({ overStyled: o = !1, ...n }, s) {
349
+ const t = v(n, o), a = {
350
+ root: K.root
351
+ }, c = t.classNames;
352
+ if (c && typeof c == "object" && !Array.isArray(c)) {
353
+ const d = c;
354
+ Object.keys(d).forEach((i) => {
355
+ a[i] ? a[i] = `${a[i]} ${d[i]}` : a[i] = d[i];
356
356
  });
357
357
  }
358
- const d = a.className;
359
- return /* @__PURE__ */ o(
360
- co,
358
+ const l = t.className;
359
+ return /* @__PURE__ */ e(
360
+ he,
361
361
  {
362
- ref: c,
363
- className: d,
364
- classNames: n,
365
- ...a
362
+ ref: s,
363
+ className: l,
364
+ classNames: a,
365
+ ...t
366
366
  }
367
367
  );
368
368
  });
369
- ko.displayName = "Card";
370
- const Ao = f(
371
- function({ overStyled: t = !1, ...s }, c) {
372
- const a = N(s, t), n = a.className;
373
- return /* @__PURE__ */ o(
374
- co.Section,
369
+ Oe.displayName = "Card";
370
+ const ze = $(
371
+ function({ overStyled: o = !1, ...n }, s) {
372
+ const t = v(n, o), a = t.className;
373
+ return /* @__PURE__ */ e(
374
+ he.Section,
375
375
  {
376
- ref: c,
377
- className: n ? `${H.section} ${n}` : H.section,
378
- ...a
376
+ ref: s,
377
+ className: a ? `${K.section} ${a}` : K.section,
378
+ ...t
379
379
  }
380
380
  );
381
381
  }
382
382
  );
383
- Ao.displayName = "CardSection";
384
- const Ro = f(
385
- function({ overStyled: t = !1, ...s }, c) {
386
- const a = N(s, t), n = a.className;
387
- return /* @__PURE__ */ o(
388
- co.Section,
383
+ ze.displayName = "CardSection";
384
+ const Me = $(
385
+ function({ overStyled: o = !1, ...n }, s) {
386
+ const t = v(n, o), a = t.className;
387
+ return /* @__PURE__ */ e(
388
+ he.Section,
389
389
  {
390
- ref: c,
391
- className: n ? `${H.header} ${n}` : H.header,
392
- ...a
390
+ ref: s,
391
+ className: a ? `${K.header} ${a}` : K.header,
392
+ ...t
393
393
  }
394
394
  );
395
395
  }
396
396
  );
397
- Ro.displayName = "CardHeader";
398
- const So = f(
399
- function({ overStyled: t = !1, ...s }, c) {
400
- const a = N(s, t), n = a.className;
401
- return /* @__PURE__ */ o(
402
- co.Section,
397
+ Me.displayName = "CardHeader";
398
+ const Fe = $(
399
+ function({ overStyled: o = !1, ...n }, s) {
400
+ const t = v(n, o), a = t.className;
401
+ return /* @__PURE__ */ e(
402
+ he.Section,
403
403
  {
404
- ref: c,
405
- className: n ? `${H.footer} ${n}` : H.footer,
406
- ...a
404
+ ref: s,
405
+ className: a ? `${K.footer} ${a}` : K.footer,
406
+ ...t
407
407
  }
408
408
  );
409
409
  }
410
410
  );
411
- So.displayName = "CardFooter";
412
- const To = f(
413
- function({ overStyled: t = !1, ...s }, c) {
414
- const a = N(s, t), n = a.className;
415
- return /* @__PURE__ */ o(
411
+ Fe.displayName = "CardFooter";
412
+ const Ee = $(
413
+ function({ overStyled: o = !1, ...n }, s) {
414
+ const t = v(n, o), a = t.className;
415
+ return /* @__PURE__ */ e(
416
416
  "div",
417
417
  {
418
- ref: c,
419
- className: n ? `${H.content} ${n}` : H.content,
420
- ...a
418
+ ref: s,
419
+ className: a ? `${K.content} ${a}` : K.content,
420
+ ...t
421
421
  }
422
422
  );
423
423
  }
424
424
  );
425
- To.displayName = "CardContent";
426
- const io = ko;
427
- io.Section = Ao;
428
- io.Header = Ro;
429
- io.Footer = So;
430
- io.Content = To;
431
- const De = "Label-module__root___e6HXZ", Ve = "Label-module__labelText___rieFR", qe = "Label-module__required___Ggrzc", Oe = "Label-module__optionalText___Y2yun", Ye = "Label-module__actionAreaWrapper___ELoZK", He = "Label-module__editIconWrapper___NG2xW", E = {
432
- root: De,
433
- labelText: Ve,
434
- required: qe,
435
- optionalText: Oe,
436
- actionAreaWrapper: Ye,
437
- editIconWrapper: He
438
- }, zo = f(function({
439
- formLayout: t = "stacked",
440
- labelSize: s = "default",
441
- labelAlignment: c,
442
- required: a = !1,
443
- labelOptionalText: n,
444
- labelWithEditIcon: l,
445
- labelActionArea: d,
446
- onLabelEditClick: i,
447
- children: r,
448
- overStyled: p = !1,
449
- ...m
425
+ Ee.displayName = "CardContent";
426
+ const fe = Oe;
427
+ fe.Section = ze;
428
+ fe.Header = Me;
429
+ fe.Footer = Fe;
430
+ fe.Content = Ee;
431
+ const st = "Label-module__root___e6HXZ", nt = "Label-module__labelText___rieFR", lt = "Label-module__required___Ggrzc", ct = "Label-module__optionalText___Y2yun", it = "Label-module__actionAreaWrapper___ELoZK", dt = "Label-module__editIconWrapper___NG2xW", D = {
432
+ root: st,
433
+ labelText: nt,
434
+ required: lt,
435
+ optionalText: ct,
436
+ actionAreaWrapper: it,
437
+ editIconWrapper: dt
438
+ }, Be = $(function({
439
+ labelSize: o = "default",
440
+ labelAlignment: n,
441
+ required: s = !1,
442
+ labelOptionalText: t,
443
+ labelWithEditIcon: a,
444
+ labelActionArea: c,
445
+ onLabelEditClick: l,
446
+ children: d,
447
+ overStyled: i = !1,
448
+ ...p
450
449
  }, u) {
451
- const _ = c || (t === "side-by-side" ? "right" : "left");
452
- let h;
453
- a || (n === !0 ? h = "optional" : n && (h = n));
454
- const b = N(m, p), C = b, $ = {
455
- label: E.root,
456
- required: E.required
457
- }, g = C.classNames;
458
- if (g && typeof g == "object" && !Array.isArray(g)) {
459
- const k = g;
460
- $.label = k.label ? `${E.root} ${k.label}` : E.root, $.required = k.required ? `${E.required} ${k.required}` : E.required;
450
+ const y = n || "left";
451
+ let m;
452
+ s || (t === !0 ? m = "optional" : t && (m = t));
453
+ const _ = v(p, i), h = _, C = {
454
+ label: D.root,
455
+ required: D.required
456
+ }, f = h.classNames;
457
+ if (f && typeof f == "object" && !Array.isArray(f)) {
458
+ const P = f;
459
+ C.label = P.label ? `${D.root} ${P.label}` : D.root, C.required = P.required ? `${D.required} ${P.required}` : D.required;
461
460
  }
462
- const x = C.className, W = x ? `${E.root} ${x}` : E.root;
463
- return /* @__PURE__ */ D(
464
- vo.Label,
461
+ const g = h.className, b = g ? `${D.root} ${g}` : D.root;
462
+ return /* @__PURE__ */ E(
463
+ Ae.Label,
465
464
  {
466
465
  ref: u,
467
- className: W,
468
- classNames: $,
469
- "data-layout": t,
470
- "data-size": s,
471
- "data-alignment": _,
472
- required: a && !l,
473
- ...b,
466
+ className: b,
467
+ classNames: C,
468
+ "data-size": o,
469
+ "data-alignment": y,
470
+ required: s && !a,
471
+ ..._,
474
472
  children: [
475
- /* @__PURE__ */ o("span", { className: E.labelText, children: r }),
476
- h && /* @__PURE__ */ o("span", { className: E.optionalText, children: typeof h == "string" ? `(${h})` : h }),
477
- d ? /* @__PURE__ */ o("span", { className: E.actionAreaWrapper, children: d }) : l ? /* @__PURE__ */ o(
473
+ /* @__PURE__ */ e("span", { className: D.labelText, children: d }),
474
+ m && /* @__PURE__ */ e("span", { className: D.optionalText, children: typeof m == "string" ? `(${m})` : m }),
475
+ c ? /* @__PURE__ */ e("span", { className: D.actionAreaWrapper, children: c }) : a ? /* @__PURE__ */ e(
478
476
  "button",
479
477
  {
480
478
  type: "button",
481
- className: E.editIconWrapper,
482
- "data-replaces-asterisk": a ? "true" : void 0,
483
- onClick: i,
479
+ className: D.editIconWrapper,
480
+ "data-replaces-asterisk": s ? "true" : void 0,
481
+ onClick: l,
484
482
  "aria-label": "Edit",
485
- children: /* @__PURE__ */ o(
483
+ children: /* @__PURE__ */ e(
486
484
  "svg",
487
485
  {
488
486
  width: "16",
@@ -490,7 +488,7 @@ const De = "Label-module__root___e6HXZ", Ve = "Label-module__labelText___rieFR",
490
488
  viewBox: "0 0 16 16",
491
489
  fill: "none",
492
490
  xmlns: "http://www.w3.org/2000/svg",
493
- children: /* @__PURE__ */ o(
491
+ children: /* @__PURE__ */ e(
494
492
  "path",
495
493
  {
496
494
  d: "M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",
@@ -507,12 +505,48 @@ const De = "Label-module__root___e6HXZ", Ve = "Label-module__labelText___rieFR",
507
505
  }
508
506
  );
509
507
  });
510
- zo.displayName = "Label";
511
- const Ke = "AssistiveElement-module__root___WhQ43", Ue = "AssistiveElement-module__textWrapper___sfy5E", Ze = "AssistiveElement-module__iconWrapper___gObRF", po = {
512
- root: Ke,
513
- textWrapper: Ue,
514
- iconWrapper: Ze
515
- }, Qe = () => /* @__PURE__ */ D(
508
+ Be.displayName = "Label";
509
+ const pt = "FormControlLayout-module__root___yNDhZ", mt = "FormControlLayout-module__leftSection___GBM1r", ut = "FormControlLayout-module__rightSection___bcL4v", pe = {
510
+ root: pt,
511
+ leftSection: mt,
512
+ rightSection: ut
513
+ }, X = $(function({
514
+ formLayout: o = "stacked",
515
+ labelSize: n = "default",
516
+ controlMaxWidth: s,
517
+ controlMinWidth: t,
518
+ leftSection: a,
519
+ children: c,
520
+ className: l,
521
+ style: d,
522
+ ...i
523
+ }, p) {
524
+ const u = l ? `${pe.root} ${l}` : pe.root, m = a != null || o === "side-by-side";
525
+ return /* @__PURE__ */ E(
526
+ "div",
527
+ {
528
+ ref: p,
529
+ className: u,
530
+ "data-form-layout": o,
531
+ style: {
532
+ ...d,
533
+ ...s ? { "--form-control-max-width": s } : {},
534
+ ...t ? { "--form-control-min-width": t } : {}
535
+ },
536
+ ...i,
537
+ children: [
538
+ m && /* @__PURE__ */ e("div", { className: pe.leftSection, "data-size": n, children: a }),
539
+ /* @__PURE__ */ e("div", { className: pe.rightSection, children: c })
540
+ ]
541
+ }
542
+ );
543
+ });
544
+ X.displayName = "FormControlLayout";
545
+ const _t = "AssistiveElement-module__root___WhQ43", bt = "AssistiveElement-module__textWrapper___sfy5E", yt = "AssistiveElement-module__iconWrapper___gObRF", $e = {
546
+ root: _t,
547
+ textWrapper: bt,
548
+ iconWrapper: yt
549
+ }, ht = () => /* @__PURE__ */ E(
516
550
  "svg",
517
551
  {
518
552
  xmlns: "http://www.w3.org/2000/svg",
@@ -523,12 +557,12 @@ const Ke = "AssistiveElement-module__root___WhQ43", Ue = "AssistiveElement-modul
523
557
  strokeLinecap: "round",
524
558
  strokeLinejoin: "round",
525
559
  children: [
526
- /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
527
- /* @__PURE__ */ o("path", { d: "M12 16v-4" }),
528
- /* @__PURE__ */ o("path", { d: "M12 8h.01" })
560
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
561
+ /* @__PURE__ */ e("path", { d: "M12 16v-4" }),
562
+ /* @__PURE__ */ e("path", { d: "M12 8h.01" })
529
563
  ]
530
564
  }
531
- ), Xe = () => /* @__PURE__ */ D(
565
+ ), ft = () => /* @__PURE__ */ E(
532
566
  "svg",
533
567
  {
534
568
  xmlns: "http://www.w3.org/2000/svg",
@@ -539,271 +573,430 @@ const Ke = "AssistiveElement-module__root___WhQ43", Ue = "AssistiveElement-modul
539
573
  strokeLinecap: "round",
540
574
  strokeLinejoin: "round",
541
575
  children: [
542
- /* @__PURE__ */ o("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
543
- /* @__PURE__ */ o("path", { d: "M12 9v4" }),
544
- /* @__PURE__ */ o("path", { d: "M12 17h.01" })
576
+ /* @__PURE__ */ e("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
577
+ /* @__PURE__ */ e("path", { d: "M12 9v4" }),
578
+ /* @__PURE__ */ e("path", { d: "M12 17h.01" })
545
579
  ]
546
580
  }
547
- ), mo = f(function({
548
- assistiveVariant: t = "help",
549
- assistiveWithIcon: s = !0,
550
- children: c,
551
- className: a,
552
- overStyled: n = !1,
553
- ...l
554
- }, d) {
555
- const r = N(l, n), p = po.root, m = a ? `${p} ${a}` : p, u = t === "error" ? Xe : Qe;
556
- return /* @__PURE__ */ D(
581
+ ), ve = $(function({
582
+ assistiveVariant: o = "help",
583
+ assistiveWithIcon: n = !0,
584
+ children: s,
585
+ className: t,
586
+ overStyled: a = !1,
587
+ ...c
588
+ }, l) {
589
+ const i = v(c, a), p = $e.root, u = t ? `${p} ${t}` : p, y = o === "error" ? ft : ht;
590
+ return /* @__PURE__ */ E(
557
591
  "div",
558
592
  {
559
- ref: d,
560
- className: m,
561
- "data-variant": t,
562
- style: r.style,
563
- ...r,
593
+ ref: l,
594
+ className: u,
595
+ "data-variant": o,
596
+ style: i.style,
597
+ ...i,
564
598
  children: [
565
- s && /* @__PURE__ */ o("span", { className: po.iconWrapper, children: /* @__PURE__ */ o(u, {}) }),
566
- /* @__PURE__ */ o("span", { className: po.textWrapper, children: c })
599
+ n && /* @__PURE__ */ e("span", { className: $e.iconWrapper, children: /* @__PURE__ */ e(y, {}) }),
600
+ /* @__PURE__ */ e("span", { className: $e.textWrapper, children: s })
567
601
  ]
568
602
  }
569
603
  );
570
604
  });
571
- mo.displayName = "AssistiveElement";
572
- const Je = "FormControlWrapper-module__root___c-UHo", ot = "FormControlWrapper-module__labelSection___hxSY4", et = "FormControlWrapper-module__inputSection___HenXk", _o = {
573
- root: Je,
574
- labelSection: ot,
575
- inputSection: et
576
- }, V = f(function({
577
- formLayout: t,
578
- labelSize: s,
579
- labelAlignment: c,
580
- labelOptionalText: a,
581
- labelWithEditIcon: n,
582
- labelActionArea: l,
583
- onLabelEditClick: d,
584
- label: i,
585
- description: r,
605
+ ve.displayName = "AssistiveElement";
606
+ const Nt = "FormControlWrapper-module__inputSection___HenXk", We = {
607
+ inputSection: Nt
608
+ }, ue = $(function({
609
+ formLayout: o,
610
+ labelSize: n,
611
+ labelAlignment: s,
612
+ labelOptionalText: t,
613
+ labelWithEditIcon: a,
614
+ labelActionArea: c,
615
+ onLabelEditClick: l,
616
+ label: d,
617
+ description: i,
586
618
  assistiveText: p,
587
- assistiveWithIcon: m = !0,
588
- controlMaxWidth: u,
589
- controlMinWidth: _,
590
- error: h,
591
- required: b,
619
+ assistiveWithIcon: u = !0,
620
+ controlMaxWidth: y,
621
+ controlMinWidth: m,
622
+ error: _,
623
+ required: h,
592
624
  withAsterisk: C,
593
- id: $,
625
+ id: f,
594
626
  children: g,
595
- className: x,
596
- overStyled: W = !1,
597
- labelElement: k,
627
+ className: b,
628
+ overStyled: P = !1,
629
+ labelElement: N,
598
630
  // Extracted safely preventing bleeding into HTML domains
599
631
  ...z
600
- }, S) {
601
- const I = qo(), y = $ || `recursica-fc-${I}`, T = p || r, R = T ? `${y}-assistive` : void 0, A = h ? `${y}-error` : void 0, X = N(z, W), B = x || X.className, $o = _o.root, Do = B ? `${$o} ${B}` : $o, Vo = j.isValidElement(g) ? j.cloneElement(
632
+ }, L) {
633
+ const A = no(), R = f || `recursica-fc-${A}`, O = p || i, S = O ? `${R}-assistive` : void 0, T = _ ? `${R}-error` : void 0, I = v(z, P), Q = b || I.className, de = We.root, j = Q ? `${de} ${Q}` : de, ao = B.isValidElement(g) ? B.cloneElement(
602
634
  g,
603
635
  {
604
- ...T && !g.props["aria-describedby"] ? { "aria-describedby": R } : {},
605
- ...h && !g.props["aria-errormessage"] ? { "aria-errormessage": A } : {}
636
+ ...O && !g.props["aria-describedby"] ? { "aria-describedby": S } : {},
637
+ ..._ && !g.props["aria-errormessage"] ? { "aria-errormessage": T } : {}
606
638
  }
607
- ) : g;
608
- return /* @__PURE__ */ D(
609
- Co,
639
+ ) : g, so = d ? /* @__PURE__ */ e(
640
+ Be,
610
641
  {
611
- ref: S,
612
- className: Do,
613
- "data-form-layout": t || "stacked",
614
- "data-form-alignment": c || "left",
615
- style: {
616
- ...X.style || {},
617
- ...u ? { "--form-control-max-width": u } : {},
618
- ..._ ? { "--form-control-min-width": _ } : {}
619
- },
620
- ...X,
621
- children: [
622
- i && /* @__PURE__ */ o("div", { className: _o.labelSection, children: /* @__PURE__ */ o(
623
- zo,
642
+ id: R,
643
+ labelAlignment: s,
644
+ labelOptionalText: t,
645
+ labelWithEditIcon: a,
646
+ labelActionArea: c,
647
+ onLabelEditClick: l,
648
+ required: C ?? h,
649
+ ...N === "div" ? { as: "div" } : {},
650
+ children: d
651
+ }
652
+ ) : void 0;
653
+ return /* @__PURE__ */ e(
654
+ X,
655
+ {
656
+ ref: L,
657
+ className: j,
658
+ formLayout: o,
659
+ labelSize: n,
660
+ controlMaxWidth: y,
661
+ controlMinWidth: m,
662
+ leftSection: so,
663
+ ...I,
664
+ children: /* @__PURE__ */ E("div", { className: We.inputSection, children: [
665
+ ao,
666
+ _ && /* @__PURE__ */ e(
667
+ ve,
624
668
  {
625
- id: y,
626
- formLayout: t,
627
- labelSize: s,
628
- labelAlignment: c,
629
- labelOptionalText: a,
630
- labelWithEditIcon: n,
631
- labelActionArea: l,
632
- onLabelEditClick: d,
633
- required: C ?? b,
634
- ...k === "div" ? { as: "div" } : {},
635
- children: i
669
+ id: T,
670
+ assistiveVariant: "error",
671
+ assistiveWithIcon: u,
672
+ children: _
636
673
  }
637
- ) }),
638
- /* @__PURE__ */ D("div", { className: _o.inputSection, children: [
639
- Vo,
640
- h && /* @__PURE__ */ o(
641
- mo,
642
- {
643
- id: A,
644
- assistiveVariant: "error",
645
- assistiveWithIcon: m,
646
- children: h
647
- }
648
- ),
649
- !h && T && /* @__PURE__ */ o(
650
- mo,
651
- {
652
- id: R,
653
- assistiveVariant: "help",
654
- assistiveWithIcon: m,
655
- children: T
656
- }
657
- )
658
- ] })
659
- ]
674
+ ),
675
+ !_ && O && /* @__PURE__ */ e(
676
+ ve,
677
+ {
678
+ id: S,
679
+ assistiveVariant: "help",
680
+ assistiveWithIcon: u,
681
+ children: O
682
+ }
683
+ )
684
+ ] })
660
685
  }
661
686
  );
662
687
  });
663
- V.displayName = "FormControlWrapper";
664
- const tt = "Checkbox-module__groupRoot___cBS0o", rt = "Checkbox-module__root___mY3qk", st = "Checkbox-module__body___5yC7q", at = "Checkbox-module__inner___rTke4", nt = "Checkbox-module__input___2kt-h", ct = "Checkbox-module__icon___-O7i6", it = "Checkbox-module__labelWrapper___GpZkr", lt = "Checkbox-module__label___cwRtI", w = {
665
- groupRoot: tt,
666
- root: rt,
667
- body: st,
668
- inner: at,
669
- input: nt,
670
- icon: ct,
671
- labelWrapper: it,
672
- label: lt
673
- }, Io = f(
674
- function({
675
- overStyled: t = !1,
676
- formLayout: s = "stacked",
677
- // Label Wrappers
678
- labelSize: c,
679
- labelAlignment: a,
680
- labelOptionalText: n,
681
- labelWithEditIcon: l,
682
- onLabelEditClick: d,
683
- // Base Mantine Extracted Attributes
684
- label: i,
685
- description: r,
686
- assistiveText: p,
687
- assistiveWithIcon: m,
688
- error: u,
689
- required: _,
690
- withAsterisk: h,
691
- id: b,
692
- className: C,
693
- style: $,
694
- children: g,
695
- readOnly: x,
696
- readOnlyComponent: W,
697
- ...k
698
- }, z) {
699
- const S = N(k, t), I = S;
700
- return delete I.size, x && W ? /* @__PURE__ */ o(
701
- V,
688
+ ue.displayName = "FormControlWrapper";
689
+ const $t = "_root_1qhn7_3", vt = "_contents_1qhn7_18", oe = {
690
+ root: $t,
691
+ contents: vt
692
+ }, Ct = $(function({ layer: r, contentsOnly: o, children: n, className: s, style: t, ...a }, c) {
693
+ const l = o ? s ? `${oe.root} ${oe.contents} ${s}` : `${oe.root} ${oe.contents}` : s ? `${oe.root} ${s}` : oe.root;
694
+ return /* @__PURE__ */ e(
695
+ "div",
696
+ {
697
+ ref: c,
698
+ className: l,
699
+ style: t,
700
+ ...o ? {} : { "data-recursica-layer": String(r) },
701
+ ...a,
702
+ children: n
703
+ }
704
+ );
705
+ });
706
+ Ct.displayName = "Layer";
707
+ const _e = ({ emptyText: r = "N/A" }) => /* @__PURE__ */ e(B.Fragment, { children: r });
708
+ _e.displayName = "EmptyValueRenderer";
709
+ _e.check = (r) => r == null || r === "" || Array.isArray(r) && r.length === 0;
710
+ const ke = "data-recursica-theme";
711
+ function Vr({
712
+ children: r,
713
+ theme: o = "light"
714
+ }) {
715
+ return lo(() => {
716
+ const n = document.documentElement;
717
+ return n.setAttribute(ke, o), () => {
718
+ n.removeAttribute(ke);
719
+ };
720
+ }, [o]), /* @__PURE__ */ e(ie, { children: r });
721
+ }
722
+ const gt = "ReadOnlyField-module__textField___qKn25", be = {
723
+ textField: gt
724
+ }, me = ({
725
+ value: r,
726
+ overStyled: o = !1,
727
+ ...n
728
+ }) => {
729
+ const s = v(n, o), t = s.className;
730
+ return /* @__PURE__ */ e(
731
+ Ce,
732
+ {
733
+ component: "p",
734
+ className: t ? `${be.textField} ${t}` : be.textField,
735
+ ...s,
736
+ children: r != null ? B.isValidElement(r) ? r : Array.isArray(r) ? r.join(", ") : String(r) : ""
737
+ }
738
+ );
739
+ };
740
+ me.displayName = "ReadOnlyTextField";
741
+ const je = $(
742
+ function({ value: o, type: n = "text", emptyValueComponent: s, overStyled: t = !1, ...a }, c) {
743
+ let l = null;
744
+ const d = v(a, t), i = s || _e, u = (i.check ? i.check(o) : _e.check(o)) ? /* @__PURE__ */ e(i, { value: o }) : o;
745
+ switch (n) {
746
+ case "boolean":
747
+ l = /* @__PURE__ */ e(
748
+ me,
749
+ {
750
+ value: o === !0 ? "True" : o === !1 ? "False" : u,
751
+ overStyled: t
752
+ }
753
+ );
754
+ break;
755
+ case "switch":
756
+ l = /* @__PURE__ */ e(
757
+ me,
758
+ {
759
+ value: o === !0 ? "On" : o === !1 ? "Off" : u,
760
+ overStyled: t
761
+ }
762
+ );
763
+ break;
764
+ case "text":
765
+ default:
766
+ l = /* @__PURE__ */ e(
767
+ me,
768
+ {
769
+ value: u,
770
+ overStyled: t
771
+ }
772
+ );
773
+ break;
774
+ }
775
+ return /* @__PURE__ */ e(
776
+ ue,
702
777
  {
703
- className: C,
704
- style: $,
705
- controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
706
- controlMinWidth: void 0,
778
+ ref: c,
707
779
  overStyled: t,
708
- labelElement: "div",
709
- formLayout: s,
710
- labelSize: c,
711
- labelAlignment: a,
712
- labelOptionalText: n,
713
- labelWithEditIcon: l,
714
- onLabelEditClick: d,
715
- label: i,
716
- description: r,
717
- assistiveText: p,
718
- assistiveWithIcon: m,
719
- error: u,
720
- required: _,
721
- withAsterisk: h,
722
- id: b,
723
- children: W
780
+ ...d,
781
+ children: l
724
782
  }
725
- ) : /* @__PURE__ */ o(
726
- V,
783
+ );
784
+ }
785
+ );
786
+ je.displayName = "ReadOnlyField";
787
+ const ee = $(function({
788
+ readOnly: o,
789
+ readOnlyComponent: n,
790
+ readOnlyType: s = "text",
791
+ readOnlyValue: t,
792
+ readOnlyNativeProps: a,
793
+ emptyValueComponent: c,
794
+ activeComponent: l,
795
+ overStyled: d,
796
+ onLabelEditClick: i,
797
+ ...p
798
+ }, u) {
799
+ return o ? n ? /* @__PURE__ */ e(
800
+ ue,
801
+ {
802
+ ref: u,
803
+ ...p,
804
+ onLabelEditClick: i,
805
+ overStyled: d,
806
+ children: /* @__PURE__ */ e(n, { ...a })
807
+ }
808
+ ) : /* @__PURE__ */ e(
809
+ je,
810
+ {
811
+ ref: u,
812
+ type: s,
813
+ value: t,
814
+ emptyValueComponent: c,
815
+ onLabelEditClick: i,
816
+ overStyled: d,
817
+ ...p
818
+ }
819
+ ) : /* @__PURE__ */ e(
820
+ ue,
821
+ {
822
+ ref: u,
823
+ ...p,
824
+ onLabelEditClick: i,
825
+ overStyled: d,
826
+ children: l
827
+ }
828
+ );
829
+ });
830
+ ee.displayName = "WithReadOnlyWrapper";
831
+ const xt = "Checkbox-module__groupRoot___cBS0o", wt = "Checkbox-module__root___mY3qk", Pt = "Checkbox-module__body___5yC7q", Wt = "Checkbox-module__inner___rTke4", kt = "Checkbox-module__input___2kt-h", At = "Checkbox-module__icon___-O7i6", St = "Checkbox-module__labelWrapper___GpZkr", Tt = "Checkbox-module__label___cwRtI", W = {
832
+ groupRoot: xt,
833
+ root: wt,
834
+ body: Pt,
835
+ inner: Wt,
836
+ input: kt,
837
+ icon: At,
838
+ labelWrapper: St,
839
+ label: Tt
840
+ }, De = $(
841
+ function(o, n) {
842
+ const {
843
+ overStyled: s = !1,
844
+ formLayout: t = "stacked",
845
+ // Label Wrappers
846
+ labelSize: a,
847
+ labelAlignment: c,
848
+ labelOptionalText: l,
849
+ labelWithEditIcon: d,
850
+ onLabelEditClick: i,
851
+ // Base Mantine Extracted Attributes
852
+ label: p,
853
+ description: u,
854
+ assistiveText: y,
855
+ assistiveWithIcon: m,
856
+ error: _,
857
+ required: h,
858
+ withAsterisk: C,
859
+ id: f,
860
+ className: g,
861
+ style: b,
862
+ children: P,
863
+ readOnly: N,
864
+ readOnlyComponent: z,
865
+ emptyValueComponent: L,
866
+ value: A,
867
+ defaultValue: R,
868
+ ...O
869
+ } = o, S = v(O, s), T = S;
870
+ return delete T.size, /* @__PURE__ */ e(
871
+ ee,
727
872
  {
728
- className: C,
729
- style: $,
873
+ className: g,
874
+ style: b,
730
875
  controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
731
876
  controlMinWidth: void 0,
732
- overStyled: t,
877
+ overStyled: s,
733
878
  labelElement: "div",
734
- formLayout: s,
735
- labelSize: c,
736
- labelAlignment: a,
737
- labelOptionalText: n,
738
- labelWithEditIcon: l,
739
- onLabelEditClick: d,
740
- label: i,
741
- description: r,
742
- assistiveText: p,
879
+ formLayout: t,
880
+ labelSize: a,
881
+ labelAlignment: c,
882
+ labelOptionalText: l,
883
+ labelWithEditIcon: d,
884
+ onLabelEditClick: i,
885
+ label: p,
886
+ description: u,
887
+ assistiveText: y,
743
888
  assistiveWithIcon: m,
744
- error: u,
745
- required: _,
746
- withAsterisk: h,
747
- id: b,
748
- children: /* @__PURE__ */ o(
749
- go.Group,
889
+ error: _,
890
+ required: h,
891
+ withAsterisk: C,
892
+ id: f,
893
+ readOnly: N && !!z,
894
+ readOnlyComponent: z,
895
+ emptyValueComponent: L,
896
+ readOnlyType: "text",
897
+ readOnlyValue: A !== void 0 ? A : R,
898
+ readOnlyNativeProps: o,
899
+ activeComponent: /* @__PURE__ */ e(
900
+ Se.Group,
750
901
  {
751
- ref: z,
902
+ ref: n,
752
903
  ...S,
753
- children: /* @__PURE__ */ o("div", { className: w.groupRoot, "data-layout": s, children: j.Children.map(g, (y) => j.isValidElement(y) ? j.cloneElement(y, {
754
- disabled: x || y.props.disabled
755
- }) : y) })
904
+ disabled: N || T.disabled,
905
+ value: A,
906
+ defaultValue: R,
907
+ children: /* @__PURE__ */ e("div", { className: W.groupRoot, "data-layout": t, children: B.Children.map(P, (x) => B.isValidElement(x) ? B.cloneElement(x, {
908
+ disabled: N || x.props.disabled
909
+ }) : x) })
756
910
  }
757
911
  )
758
912
  }
759
913
  );
760
914
  }
761
915
  );
762
- Io.displayName = "CheckboxGroup";
763
- const Fo = f(
764
- function({ overStyled: t = !1, readOnly: s, readOnlyComponent: c, disabled: a, ...n }, l) {
765
- const d = N(n, t), i = d;
766
- if (delete i.size, delete i.color, delete i.radius, delete i.variant, delete i.iconColor, s && c)
767
- return /* @__PURE__ */ o(so, { children: c });
768
- const r = {
769
- root: w.root,
770
- body: w.body,
771
- inner: w.inner,
772
- input: w.input,
773
- icon: w.icon,
774
- labelWrapper: w.labelWrapper,
775
- label: w.label
776
- }, p = i.classNames;
777
- if (p && typeof p == "object" && !Array.isArray(p)) {
778
- const _ = p;
779
- r.root = _.root ? `${w.root} ${_.root}` : w.root, r.body = _.body ? `${w.body} ${_.body}` : w.body, r.inner = _.inner ? `${w.inner} ${_.inner}` : w.inner, r.input = _.input ? `${w.input} ${_.input}` : w.input, r.icon = _.icon ? `${w.icon} ${_.icon}` : w.icon, r.labelWrapper = _.labelWrapper ? `${w.labelWrapper} ${_.labelWrapper}` : w.labelWrapper, r.label = _.label ? `${w.label} ${_.label}` : w.label;
916
+ De.displayName = "CheckboxGroup";
917
+ const Ve = $(
918
+ function(o, n) {
919
+ const {
920
+ overStyled: s = !1,
921
+ readOnly: t,
922
+ readOnlyComponent: a,
923
+ disabled: c,
924
+ formLayout: l,
925
+ labelSize: d,
926
+ controlMaxWidth: i,
927
+ controlMinWidth: p,
928
+ ...u
929
+ } = o, y = v(u, s), m = y;
930
+ delete m.size, delete m.color, delete m.radius, delete m.variant, delete m.iconColor;
931
+ const _ = {
932
+ root: W.root,
933
+ body: W.body,
934
+ inner: W.inner,
935
+ input: W.input,
936
+ icon: W.icon,
937
+ labelWrapper: W.labelWrapper,
938
+ label: W.label
939
+ }, h = m.classNames;
940
+ if (h && typeof h == "object" && !Array.isArray(h)) {
941
+ const b = h;
942
+ _.root = b.root ? `${W.root} ${b.root}` : W.root, _.body = b.body ? `${W.body} ${b.body}` : W.body, _.inner = b.inner ? `${W.inner} ${b.inner}` : W.inner, _.input = b.input ? `${W.input} ${b.input}` : W.input, _.icon = b.icon ? `${W.icon} ${b.icon}` : W.icon, _.labelWrapper = b.labelWrapper ? `${W.labelWrapper} ${b.labelWrapper}` : W.labelWrapper, _.label = b.label ? `${W.label} ${b.label}` : W.label;
943
+ }
944
+ const C = m.className, f = C ? `${W.root} ${C}` : W.root;
945
+ if (t && a) {
946
+ const b = !!(m.checked ?? m.defaultChecked), N = /* @__PURE__ */ e(
947
+ a,
948
+ {
949
+ ...o,
950
+ checked: b,
951
+ label: m.label
952
+ }
953
+ );
954
+ return l ? /* @__PURE__ */ e(
955
+ X,
956
+ {
957
+ formLayout: l,
958
+ labelSize: d,
959
+ controlMaxWidth: i,
960
+ controlMinWidth: p,
961
+ children: N
962
+ }
963
+ ) : /* @__PURE__ */ e(ie, { children: N });
780
964
  }
781
- const m = i.className, u = m ? `${w.root} ${m}` : w.root;
782
- return /* @__PURE__ */ o(
783
- go,
965
+ const g = /* @__PURE__ */ e(
966
+ Se,
784
967
  {
785
- ref: l,
786
- className: u,
787
- classNames: r,
788
- disabled: s || a,
789
- ...d
968
+ ref: n,
969
+ className: f,
970
+ classNames: _,
971
+ disabled: t || c,
972
+ ...y
790
973
  }
791
974
  );
975
+ return l ? /* @__PURE__ */ e(
976
+ X,
977
+ {
978
+ formLayout: l,
979
+ labelSize: d,
980
+ controlMaxWidth: i,
981
+ controlMinWidth: p,
982
+ children: g
983
+ }
984
+ ) : g;
792
985
  }
793
986
  );
794
- Fo.displayName = "Checkbox";
795
- Fo.Group = Io;
796
- const dt = "Chip-module__root___f5pFk", pt = "Chip-module__label___Ov9pg", _t = "Chip-module__mantineIconWrapper___KLSz6", mt = "Chip-module__innerWrapper___EnrTF", ut = "Chip-module__children___zbRAR", bt = "Chip-module__leadingIcon___JBtjQ", ht = "Chip-module__removeIcon___pVju-", F = {
797
- root: dt,
798
- label: pt,
799
- mantineIconWrapper: _t,
800
- innerWrapper: mt,
801
- children: ut,
802
- leadingIcon: bt,
803
- removeIcon: ht
987
+ Ve.displayName = "Checkbox";
988
+ Ve.Group = De;
989
+ const It = "Chip-module__root___f5pFk", Lt = "Chip-module__label___Ov9pg", Rt = "Chip-module__mantineIconWrapper___KLSz6", Ot = "Chip-module__innerWrapper___EnrTF", zt = "Chip-module__children___zbRAR", Mt = "Chip-module__leadingIcon___JBtjQ", Ft = "Chip-module__removeIcon___pVju-", M = {
990
+ root: It,
991
+ label: Lt,
992
+ mantineIconWrapper: Rt,
993
+ innerWrapper: Ot,
994
+ children: zt,
995
+ leadingIcon: Mt,
996
+ removeIcon: Ft
804
997
  };
805
- function $t(e) {
806
- return /* @__PURE__ */ D(
998
+ function Et(r) {
999
+ return /* @__PURE__ */ E(
807
1000
  "svg",
808
1001
  {
809
1002
  xmlns: "http://www.w3.org/2000/svg",
@@ -815,320 +1008,202 @@ function $t(e) {
815
1008
  strokeWidth: "2",
816
1009
  strokeLinecap: "round",
817
1010
  strokeLinejoin: "round",
818
- ...e,
1011
+ ...r,
819
1012
  children: [
820
- /* @__PURE__ */ o("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
821
- /* @__PURE__ */ o("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
1013
+ /* @__PURE__ */ e("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
1014
+ /* @__PURE__ */ e("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
822
1015
  ]
823
1016
  }
824
1017
  );
825
1018
  }
826
- const ft = f(function({
827
- error: t = !1,
828
- icon: s,
829
- onRemove: c,
830
- removeLabel: a = "Remove",
831
- children: n,
832
- overStyled: l = !1,
833
- ...d
834
- }, i) {
835
- const r = N(d, l), p = r, m = {
836
- root: F.root,
837
- label: F.label,
838
- input: F.input,
839
- iconWrapper: F.mantineIconWrapper,
840
- checkIcon: F.checkIcon
841
- }, u = p.classNames;
842
- if (u && typeof u == "object" && !Array.isArray(u)) {
843
- const $ = u;
844
- m.root = $.root ? `${F.root} ${$.root}` : F.root, m.label = $.label ? `${F.label} ${$.label}` : F.label;
1019
+ const Bt = $(function({
1020
+ error: o = !1,
1021
+ icon: n,
1022
+ onRemove: s,
1023
+ removeLabel: t = "Remove",
1024
+ children: a,
1025
+ overStyled: c = !1,
1026
+ ...l
1027
+ }, d) {
1028
+ const i = v(l, c), p = i, u = {
1029
+ root: M.root,
1030
+ label: M.label,
1031
+ input: M.input,
1032
+ iconWrapper: M.mantineIconWrapper,
1033
+ checkIcon: M.checkIcon
1034
+ }, y = p.classNames;
1035
+ if (y && typeof y == "object" && !Array.isArray(y)) {
1036
+ const f = y;
1037
+ u.root = f.root ? `${M.root} ${f.root}` : M.root, u.label = f.label ? `${M.label} ${f.label}` : M.label;
845
1038
  }
846
- const _ = p.className, h = _ ? `${F.root} ${_}` : F.root;
847
- return /* @__PURE__ */ o(
848
- Zo,
1039
+ const m = p.className, _ = m ? `${M.root} ${m}` : M.root;
1040
+ return /* @__PURE__ */ e(
1041
+ uo,
849
1042
  {
850
- ref: i,
851
- className: h,
852
- classNames: m,
853
- ...(t ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
854
- ...!n && (!!s || !!c) ? { "data-icon-only": "" } : {},
855
- ...r,
856
- children: /* @__PURE__ */ D("span", { className: F.innerWrapper, children: [
857
- s && /* @__PURE__ */ o("span", { className: F.leadingIcon, "aria-hidden": !0, children: s }),
858
- /* @__PURE__ */ o("span", { className: F.children, children: n }),
859
- c && /* @__PURE__ */ o(
1043
+ ref: d,
1044
+ className: _,
1045
+ classNames: u,
1046
+ ...(o ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
1047
+ ...!a && (!!n || !!s) ? { "data-icon-only": "" } : {},
1048
+ ...i,
1049
+ children: /* @__PURE__ */ E("span", { className: M.innerWrapper, children: [
1050
+ n && /* @__PURE__ */ e("span", { className: M.leadingIcon, "aria-hidden": !0, children: n }),
1051
+ /* @__PURE__ */ e("span", { className: M.children, children: a }),
1052
+ s && /* @__PURE__ */ e(
860
1053
  "span",
861
1054
  {
862
1055
  role: "button",
863
- className: F.removeIcon,
864
- onClick: ($) => {
865
- $.preventDefault(), $.stopPropagation(), c($);
1056
+ className: M.removeIcon,
1057
+ onClick: (f) => {
1058
+ f.preventDefault(), f.stopPropagation(), s(f);
866
1059
  },
867
- "aria-label": a,
868
- onKeyDown: ($) => {
869
- ($.key === "Enter" || $.key === " ") && ($.preventDefault(), $.stopPropagation(), c(
870
- $
1060
+ "aria-label": t,
1061
+ onKeyDown: (f) => {
1062
+ (f.key === "Enter" || f.key === " ") && (f.preventDefault(), f.stopPropagation(), s(
1063
+ f
871
1064
  ));
872
1065
  },
873
1066
  tabIndex: 0,
874
- children: /* @__PURE__ */ o($t, {})
1067
+ children: /* @__PURE__ */ e(Et, {})
875
1068
  }
876
1069
  )
877
1070
  ] })
878
1071
  }
879
1072
  );
880
1073
  });
881
- ft.displayName = "Chip";
882
- const Nt = "Container-module__root___UVssr", J = {
883
- root: Nt
884
- }, yt = f(
885
- function({ children: t, size: s, overStyled: c = !1, ...a }, n) {
886
- const l = N(a, c), d = l, i = {
1074
+ Bt.displayName = "Chip";
1075
+ const jt = "Container-module__root___UVssr", ae = {
1076
+ root: jt
1077
+ }, Dt = $(
1078
+ function({ children: o, size: n, overStyled: s = !1, ...t }, a) {
1079
+ const c = v(t, s), l = c, d = {
887
1080
  "rec-sm": "sm",
888
1081
  "rec-default": "md",
889
1082
  "rec-md": "md",
890
1083
  "rec-lg": "lg",
891
1084
  "rec-xl": "xl",
892
1085
  "rec-2xl": "xl"
893
- }, r = typeof s == "string" && i[s] ? i[s] : s, p = {
894
- root: J.root
895
- }, m = d.classNames;
896
- if (m && typeof m == "object" && !Array.isArray(m)) {
897
- const h = m;
898
- p.root = h.root ? `${J.root} ${h.root}` : J.root;
1086
+ }, i = typeof n == "string" && d[n] ? d[n] : n, p = {
1087
+ root: ae.root
1088
+ }, u = l.classNames;
1089
+ if (u && typeof u == "object" && !Array.isArray(u)) {
1090
+ const _ = u;
1091
+ p.root = _.root ? `${ae.root} ${_.root}` : ae.root;
899
1092
  }
900
- const u = d.className, _ = u ? `${J.root} ${u}` : J.root;
901
- return /* @__PURE__ */ o(
902
- Qo,
1093
+ const y = l.className, m = y ? `${ae.root} ${y}` : ae.root;
1094
+ return /* @__PURE__ */ e(
1095
+ _o,
903
1096
  {
904
- ref: n,
905
- size: r,
906
- className: _,
1097
+ ref: a,
1098
+ size: i,
1099
+ className: m,
907
1100
  classNames: p,
908
- ...l,
909
- children: t
1101
+ ...c,
1102
+ children: o
910
1103
  }
911
1104
  );
912
1105
  }
913
1106
  );
914
- yt.displayName = "Container";
915
- const hr = (e) => /* @__PURE__ */ o("div", { ...e, children: "DatePicker" }), vt = "_root_1qhn7_3", Ct = "_contents_1qhn7_18", U = {
916
- root: vt,
917
- contents: Ct
918
- }, gt = f(function({ layer: e, contentsOnly: t, children: s, className: c, style: a, ...n }, l) {
919
- const d = t ? c ? `${U.root} ${U.contents} ${c}` : `${U.root} ${U.contents}` : c ? `${U.root} ${c}` : U.root;
920
- return /* @__PURE__ */ o(
921
- "div",
922
- {
923
- ref: l,
924
- className: d,
925
- style: a,
926
- ...t ? {} : { "data-recursica-layer": String(e) },
927
- ...n,
928
- children: s
929
- }
930
- );
931
- });
932
- gt.displayName = "Layer";
933
- const ao = ({ emptyText: e = "N/A" }) => /* @__PURE__ */ o(j.Fragment, { children: e });
934
- ao.displayName = "EmptyValueRenderer";
935
- ao.check = (e) => e == null || e === "" || Array.isArray(e) && e.length === 0;
936
- const No = "data-recursica-theme";
937
- function $r({
938
- children: e,
939
- theme: t = "light"
940
- }) {
941
- return Oo(() => {
942
- const s = document.documentElement;
943
- return s.setAttribute(No, t), () => {
944
- s.removeAttribute(No);
945
- };
946
- }, [t]), /* @__PURE__ */ o(so, { children: e });
947
- }
948
- const xt = "ReadOnlyField-module__textField___qKn25", yo = {
949
- textField: xt
950
- }, Lo = ({
951
- value: e,
952
- overStyled: t = !1,
953
- ...s
954
- }) => {
955
- const c = N(s, t), a = c.className;
956
- return /* @__PURE__ */ o(
957
- Co,
958
- {
959
- component: "p",
960
- className: a ? `${yo.textField} ${a}` : yo.textField,
961
- ...c,
962
- children: e != null ? j.isValidElement(e) ? e : String(e) : ""
963
- }
964
- );
965
- };
966
- Lo.displayName = "ReadOnlyTextField";
967
- const Bo = f(
968
- function({ value: t, type: s = "text", emptyValueComponent: c, overStyled: a = !1, ...n }, l) {
969
- let d = null;
970
- const i = N(n, a), r = c || ao, m = (r.check ? r.check(t) : ao.check(t)) ? /* @__PURE__ */ o(r, { value: t }) : t;
971
- switch (s) {
972
- case "text":
973
- default:
974
- d = /* @__PURE__ */ o(
975
- Lo,
976
- {
977
- value: m,
978
- overStyled: a
979
- }
980
- );
981
- break;
982
- }
983
- return /* @__PURE__ */ o(
984
- V,
985
- {
986
- ref: l,
987
- overStyled: a,
988
- ...i,
989
- children: d
990
- }
991
- );
992
- }
993
- );
994
- Bo.displayName = "ReadOnlyField";
995
- const lo = f(function({
996
- readOnly: t,
997
- readOnlyComponent: s,
998
- readOnlyType: c = "text",
999
- readOnlyValue: a,
1000
- activeComponent: n,
1001
- overStyled: l,
1002
- onLabelEditClick: d,
1003
- ...i
1004
- }, r) {
1005
- return t ? s ? /* @__PURE__ */ o(
1006
- V,
1007
- {
1008
- ref: r,
1009
- ...i,
1010
- onLabelEditClick: d,
1011
- overStyled: l,
1012
- children: s
1013
- }
1014
- ) : /* @__PURE__ */ o(
1015
- Bo,
1016
- {
1017
- ref: r,
1018
- type: c,
1019
- value: a,
1020
- onLabelEditClick: d,
1021
- overStyled: l,
1022
- ...i
1023
- }
1024
- ) : /* @__PURE__ */ o(
1025
- V,
1026
- {
1027
- ref: r,
1028
- ...i,
1029
- onLabelEditClick: d,
1030
- overStyled: l,
1031
- children: n
1032
- }
1033
- );
1034
- });
1035
- lo.displayName = "WithReadOnlyWrapper";
1036
- const wt = "Dropdown-module__root___uVyL0", Pt = "Dropdown-module__input___dK4dN", Wt = "Dropdown-module__section___j3MRB", kt = "Dropdown-module__dropdown___gG-Sw", At = "Dropdown-module__option___nAGU-", L = {
1037
- root: wt,
1038
- input: Pt,
1039
- section: Wt,
1040
- dropdown: kt,
1041
- option: At
1042
- }, Rt = f(
1043
- function({
1044
- overStyled: t = !1,
1045
- formLayout: s = "stacked",
1046
- containerWidth: c,
1047
- // Label & Wrapper Maps
1048
- labelSize: a,
1049
- labelAlignment: n,
1050
- labelOptionalText: l,
1051
- labelWithEditIcon: d,
1052
- onLabelEditClick: i,
1053
- label: r,
1054
- assistiveText: p,
1055
- assistiveWithIcon: m,
1056
- error: u,
1057
- required: _,
1058
- withAsterisk: h,
1059
- id: b,
1060
- className: C,
1061
- style: $,
1062
- disabled: g,
1063
- readOnly: x,
1064
- readOnlyComponent: W,
1065
- value: k,
1066
- defaultValue: z,
1067
- data: S,
1068
- ...I
1069
- }, y) {
1070
- const T = N(I, t), R = T;
1071
- delete R.size, delete R.variant, delete R.radius;
1072
- const A = {
1073
- wrapper: L.root,
1107
+ Dt.displayName = "Container";
1108
+ const Gr = (r) => /* @__PURE__ */ e("div", { ...r, children: "DatePicker" }), Vt = "Dropdown-module__root___uVyL0", Gt = "Dropdown-module__input___dK4dN", qt = "Dropdown-module__section___j3MRB", Yt = "Dropdown-module__dropdown___gG-Sw", Zt = "Dropdown-module__option___nAGU-", F = {
1109
+ root: Vt,
1110
+ input: Gt,
1111
+ section: qt,
1112
+ dropdown: Yt,
1113
+ option: Zt
1114
+ }, Ht = $(
1115
+ function(o, n) {
1116
+ const {
1117
+ overStyled: s = !1,
1118
+ formLayout: t = "stacked",
1119
+ containerWidth: a,
1120
+ // Label & Wrapper Maps
1121
+ labelSize: c,
1122
+ labelAlignment: l,
1123
+ labelOptionalText: d,
1124
+ labelWithEditIcon: i,
1125
+ onLabelEditClick: p,
1126
+ label: u,
1127
+ assistiveText: y,
1128
+ assistiveWithIcon: m,
1129
+ error: _,
1130
+ required: h,
1131
+ withAsterisk: C,
1132
+ id: f,
1133
+ className: g,
1134
+ style: b,
1135
+ disabled: P,
1136
+ readOnly: N,
1137
+ readOnlyComponent: z,
1138
+ emptyValueComponent: L,
1139
+ value: A,
1140
+ defaultValue: R,
1141
+ data: O,
1142
+ ...S
1143
+ } = o, T = v(S, s), x = T;
1144
+ delete x.size, delete x.variant, delete x.radius;
1145
+ const I = {
1146
+ wrapper: F.root,
1074
1147
  // The nested Input internal relative wrapper bounding box
1075
- input: L.input,
1076
- section: L.section,
1077
- dropdown: L.dropdown,
1078
- option: L.option
1079
- }, Q = R.classNames;
1148
+ input: F.input,
1149
+ section: F.section,
1150
+ dropdown: F.dropdown,
1151
+ option: F.option
1152
+ }, Q = x.classNames;
1080
1153
  if (Q && typeof Q == "object" && !Array.isArray(Q)) {
1081
- const B = Q;
1082
- A.wrapper = B.wrapper ? `${L.root} ${B.wrapper}` : L.root, A.input = B.input ? `${L.input} ${B.input}` : L.input, A.section = B.section ? `${L.section} ${B.section}` : L.section, A.dropdown = B.dropdown ? `${L.dropdown} ${B.dropdown}` : L.dropdown, A.option = B.option ? `${L.option} ${B.option}` : L.option;
1154
+ const j = Q;
1155
+ I.wrapper = j.wrapper ? `${F.root} ${j.wrapper}` : F.root, I.input = j.input ? `${F.input} ${j.input}` : F.input, I.section = j.section ? `${F.section} ${j.section}` : F.section, I.dropdown = j.dropdown ? `${F.dropdown} ${j.dropdown}` : F.dropdown, I.option = j.option ? `${F.option} ${j.option}` : F.option;
1083
1156
  }
1084
- const X = {
1085
- ...$ || {},
1086
- width: c || "100%"
1157
+ const de = {
1158
+ ...b || {},
1159
+ width: a || "100%"
1087
1160
  };
1088
- return /* @__PURE__ */ o(
1089
- lo,
1161
+ return /* @__PURE__ */ e(
1162
+ ee,
1090
1163
  {
1091
- className: C,
1092
- style: X,
1164
+ className: g,
1165
+ style: de,
1093
1166
  controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
1094
1167
  controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
1095
- overStyled: t,
1096
- formLayout: s,
1097
- labelSize: a,
1098
- labelAlignment: n,
1099
- labelOptionalText: l,
1100
- labelWithEditIcon: d,
1101
- onLabelEditClick: i,
1102
- label: r,
1103
- assistiveText: p,
1168
+ overStyled: s,
1169
+ formLayout: t,
1170
+ labelSize: c,
1171
+ labelAlignment: l,
1172
+ labelOptionalText: d,
1173
+ labelWithEditIcon: i,
1174
+ onLabelEditClick: p,
1175
+ label: u,
1176
+ assistiveText: y,
1104
1177
  assistiveWithIcon: m,
1105
- error: u,
1106
- required: _,
1107
- withAsterisk: h,
1108
- id: b,
1109
- readOnly: x,
1110
- readOnlyComponent: W,
1178
+ error: _,
1179
+ required: h,
1180
+ withAsterisk: C,
1181
+ id: f,
1182
+ readOnly: N,
1183
+ readOnlyComponent: z,
1184
+ emptyValueComponent: L,
1111
1185
  readOnlyType: "text",
1112
- readOnlyValue: k !== void 0 ? String(k) : z ? String(z) : void 0,
1186
+ readOnlyValue: A !== void 0 ? String(A) : R ? String(R) : void 0,
1187
+ readOnlyNativeProps: o,
1113
1188
  activeComponent: (
1114
1189
  /* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1115
- /* @__PURE__ */ o(
1116
- Xo,
1190
+ /* @__PURE__ */ e(
1191
+ bo,
1117
1192
  {
1118
- ref: y,
1119
- classNames: A,
1120
- disabled: g,
1121
- value: k,
1122
- defaultValue: z,
1123
- data: S || [],
1193
+ ref: n,
1194
+ classNames: I,
1195
+ disabled: P,
1196
+ value: A,
1197
+ defaultValue: R,
1198
+ data: O || [],
1124
1199
  label: void 0,
1125
1200
  description: void 0,
1126
1201
  error: void 0,
1127
1202
  required: void 0,
1128
1203
  withAsterisk: void 0,
1129
1204
  wrapperProps: {
1130
- "data-disabled": g ? "true" : void 0,
1131
- "data-error": u ? "true" : void 0
1205
+ "data-disabled": P ? "true" : void 0,
1206
+ "data-error": _ ? "true" : void 0
1132
1207
  },
1133
1208
  ...T
1134
1209
  }
@@ -1138,489 +1213,714 @@ const wt = "Dropdown-module__root___uVyL0", Pt = "Dropdown-module__input___dK4dN
1138
1213
  );
1139
1214
  }
1140
1215
  );
1141
- Rt.displayName = "Dropdown";
1142
- const fr = (e) => /* @__PURE__ */ o("div", { ...e, children: "FileInput" }), Nr = (e) => /* @__PURE__ */ o("div", { ...e, children: "FileUpload" }), St = "Flex-module__root___yYser", oo = {
1143
- root: St
1144
- }, Tt = f(function({ children: t, overStyled: s = !1, gap: c = "rec-default", ...a }, n) {
1145
- const l = N({ ...a, gap: c }, s), d = l, i = {
1146
- root: oo.root
1147
- }, r = d.classNames;
1148
- if (r && typeof r == "object" && !Array.isArray(r)) {
1149
- const u = r;
1150
- i.root = u.root ? `${oo.root} ${u.root}` : oo.root;
1216
+ Ht.displayName = "Dropdown";
1217
+ const qr = (r) => /* @__PURE__ */ e("div", { ...r, children: "FileInput" }), Yr = (r) => /* @__PURE__ */ e("div", { ...r, children: "FileUpload" }), Kt = "Flex-module__root___yYser", se = {
1218
+ root: Kt
1219
+ }, Ut = $(function({ children: o, overStyled: n = !1, gap: s = "rec-default", ...t }, a) {
1220
+ const c = v({ ...t, gap: s }, n), l = c, d = {
1221
+ root: se.root
1222
+ }, i = l.classNames;
1223
+ if (i && typeof i == "object" && !Array.isArray(i)) {
1224
+ const y = i;
1225
+ d.root = y.root ? `${se.root} ${y.root}` : se.root;
1151
1226
  }
1152
- const p = d.className, m = p ? `${oo.root} ${p}` : oo.root;
1153
- return /* @__PURE__ */ o(
1154
- Jo,
1227
+ const p = l.className, u = p ? `${se.root} ${p}` : se.root;
1228
+ return /* @__PURE__ */ e(
1229
+ yo,
1155
1230
  {
1156
- ref: n,
1157
- className: m,
1158
- classNames: i,
1159
- ...l,
1160
- children: t
1231
+ ref: a,
1232
+ className: u,
1233
+ classNames: d,
1234
+ ...c,
1235
+ children: o
1161
1236
  }
1162
1237
  );
1163
1238
  });
1164
- Tt.displayName = "Flex";
1165
- const zt = "Group-module__root___ftO64", eo = {
1166
- root: zt
1167
- }, It = f(function({ children: t, overStyled: s = !1, gap: c = "rec-default", ...a }, n) {
1168
- const l = N({ ...a, gap: c }, s), d = l, i = {
1169
- root: eo.root
1170
- }, r = d.classNames;
1171
- if (r && typeof r == "object" && !Array.isArray(r)) {
1172
- const u = r;
1173
- i.root = u.root ? `${eo.root} ${u.root}` : eo.root;
1239
+ Ut.displayName = "Flex";
1240
+ const Xt = "Group-module__root___ftO64", ne = {
1241
+ root: Xt
1242
+ }, Qt = $(function({ children: o, overStyled: n = !1, gap: s = "rec-default", ...t }, a) {
1243
+ const c = v({ ...t, gap: s }, n), l = c, d = {
1244
+ root: ne.root
1245
+ }, i = l.classNames;
1246
+ if (i && typeof i == "object" && !Array.isArray(i)) {
1247
+ const y = i;
1248
+ d.root = y.root ? `${ne.root} ${y.root}` : ne.root;
1174
1249
  }
1175
- const p = d.className, m = p ? `${eo.root} ${p}` : eo.root;
1176
- return /* @__PURE__ */ o(
1177
- oe,
1250
+ const p = l.className, u = p ? `${ne.root} ${p}` : ne.root;
1251
+ return /* @__PURE__ */ e(
1252
+ ho,
1178
1253
  {
1179
- ref: n,
1180
- className: m,
1181
- classNames: i,
1182
- ...l,
1183
- children: t
1254
+ ref: a,
1255
+ className: u,
1256
+ classNames: d,
1257
+ ...c,
1258
+ children: o
1184
1259
  }
1185
1260
  );
1186
1261
  });
1187
- It.displayName = "Group";
1188
- const yr = (e) => /* @__PURE__ */ o("div", { ...e, children: "HoverCard" }), vr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Link" }), Ft = "Loader-module__root___6iYOP", to = {
1189
- root: Ft
1190
- }, Lt = f(function({ variant: t = "oval", size: s = "default", overStyled: c = !1, ...a }, n) {
1191
- const d = {
1262
+ Qt.displayName = "Group";
1263
+ const Zr = (r) => /* @__PURE__ */ e("div", { ...r, children: "HoverCard" }), Hr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Link" }), Jt = "Loader-module__root___6iYOP", le = {
1264
+ root: Jt
1265
+ }, er = $(function({ variant: o = "oval", size: n = "default", overStyled: s = !1, ...t }, a) {
1266
+ const l = {
1192
1267
  sm: "small",
1193
1268
  md: "default",
1194
1269
  lg: "large",
1195
1270
  small: "small",
1196
1271
  default: "default",
1197
1272
  large: "large"
1198
- }[s] || "default", i = N(a, c), r = {
1199
- root: to.root
1200
- }, p = i.classNames;
1273
+ }[n] || "default", d = v(t, s), i = {
1274
+ root: le.root
1275
+ }, p = d.classNames;
1201
1276
  if (p && typeof p == "object" && !Array.isArray(p)) {
1202
- const _ = p;
1203
- r.root = _.root ? `${to.root} ${_.root}` : to.root;
1277
+ const m = p;
1278
+ i.root = m.root ? `${le.root} ${m.root}` : le.root;
1204
1279
  }
1205
- const m = i.className, u = m ? `${to.root} ${m}` : to.root;
1206
- return /* @__PURE__ */ o(
1207
- ee,
1280
+ const u = d.className, y = u ? `${le.root} ${u}` : le.root;
1281
+ return /* @__PURE__ */ e(
1282
+ fo,
1208
1283
  {
1209
- ref: n,
1210
- type: t,
1211
- "data-variant": t,
1212
- "data-size": d,
1213
- ...i,
1214
- className: u,
1215
- classNames: r
1284
+ ref: a,
1285
+ type: o,
1286
+ "data-variant": o,
1287
+ "data-size": l,
1288
+ ...d,
1289
+ className: y,
1290
+ classNames: i
1216
1291
  }
1217
1292
  );
1218
1293
  });
1219
- Lt.displayName = "Loader";
1220
- const Cr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Menu" }), gr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Modal" }), xr = (e) => /* @__PURE__ */ o("div", { ...e, children: "NumberInput" }), wr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Pagination" }), Pr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Panel" }), Wr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Popover" }), Bt = "Radio-module__groupRoot___bfUii", jt = "Radio-module__root___kAjTD", Et = "Radio-module__body___q2Wpj", Gt = "Radio-module__inner___QaTBB", Mt = "Radio-module__radio___MfgN-", Dt = "Radio-module__icon___DWznm", Vt = "Radio-module__labelWrapper___dB0Gi", qt = "Radio-module__label___vAFIP", P = {
1221
- groupRoot: Bt,
1222
- root: jt,
1223
- body: Et,
1224
- inner: Gt,
1225
- radio: Mt,
1226
- icon: Dt,
1227
- labelWrapper: Vt,
1228
- label: qt
1229
- }, jo = f(
1230
- function({
1231
- overStyled: t = !1,
1232
- formLayout: s = "stacked",
1233
- // Label Wrappers
1234
- labelSize: c,
1235
- labelAlignment: a,
1236
- labelOptionalText: n,
1237
- labelWithEditIcon: l,
1238
- onLabelEditClick: d,
1239
- // Base Mantine Extracted Attributes
1240
- label: i,
1241
- description: r,
1242
- assistiveText: p,
1243
- assistiveWithIcon: m,
1244
- error: u,
1245
- required: _,
1246
- withAsterisk: h,
1247
- id: b,
1248
- className: C,
1249
- style: $,
1250
- children: g,
1251
- readOnly: x,
1252
- readOnlyComponent: W,
1253
- ...k
1254
- }, z) {
1255
- const S = N(k, t), I = S;
1256
- return delete I.size, x && W ? /* @__PURE__ */ o(
1257
- V,
1294
+ er.displayName = "Loader";
1295
+ const or = "Menu-module__dropdown___j4xuA", tr = "Menu-module__item___NMXha", rr = "Menu-module__itemLabel___zvcqC", ar = "Menu-module__itemSection___pRIcn", sr = "Menu-module__divider___wPiNq", nr = "Menu-module__label___4FBGa", lr = "Menu-module__chevron___hEEiy", J = {
1296
+ dropdown: or,
1297
+ item: tr,
1298
+ itemLabel: rr,
1299
+ itemSection: ar,
1300
+ divider: sr,
1301
+ label: nr,
1302
+ chevron: lr
1303
+ }, Ge = function({ overStyled: o = !1, ...n }) {
1304
+ const s = v(n, o), t = {
1305
+ dropdown: J.dropdown,
1306
+ item: J.item,
1307
+ itemLabel: J.itemLabel,
1308
+ itemSection: J.itemSection,
1309
+ divider: J.divider,
1310
+ label: J.label,
1311
+ chevron: J.chevron
1312
+ }, a = s.classNames;
1313
+ if (a && typeof a == "object" && !Array.isArray(a)) {
1314
+ const c = a;
1315
+ Object.keys(c).forEach((l) => {
1316
+ t[l] ? t[l] = `${t[l]} ${c[l]}` : t[l] = c[l];
1317
+ });
1318
+ }
1319
+ return /* @__PURE__ */ e(
1320
+ q,
1321
+ {
1322
+ classNames: t,
1323
+ ...s
1324
+ }
1325
+ );
1326
+ };
1327
+ Ge.displayName = "Menu";
1328
+ const qe = function(o) {
1329
+ return /* @__PURE__ */ e(q.Target, { ...o });
1330
+ };
1331
+ qe.displayName = "MenuTarget";
1332
+ const Ye = $(
1333
+ function({ overStyled: o = !1, ...n }, s) {
1334
+ const t = v(n, o), a = t.className;
1335
+ return /* @__PURE__ */ e(
1336
+ q.Dropdown,
1258
1337
  {
1259
- className: C,
1260
- style: $,
1261
- controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
1262
- controlMinWidth: void 0,
1263
- overStyled: t,
1264
- labelElement: "div",
1265
- formLayout: s,
1266
- labelSize: c,
1267
- labelAlignment: a,
1268
- labelOptionalText: n,
1269
- labelWithEditIcon: l,
1270
- onLabelEditClick: d,
1271
- label: i,
1272
- description: r,
1273
- assistiveText: p,
1274
- assistiveWithIcon: m,
1275
- error: u,
1276
- required: _,
1277
- withAsterisk: h,
1278
- id: b,
1279
- children: W
1338
+ ref: s,
1339
+ className: a,
1340
+ ...t
1341
+ }
1342
+ );
1343
+ }
1344
+ );
1345
+ Ye.displayName = "MenuDropdown";
1346
+ const Ze = $(function({ overStyled: o = !1, ...n }, s) {
1347
+ const t = v(n, o), a = t;
1348
+ o || delete a.color;
1349
+ const c = a.className;
1350
+ return /* @__PURE__ */ e(
1351
+ q.Item,
1352
+ {
1353
+ ref: s,
1354
+ className: c,
1355
+ ...t
1356
+ }
1357
+ );
1358
+ });
1359
+ Ze.displayName = "MenuItem";
1360
+ const He = $(
1361
+ function({ overStyled: o = !1, ...n }, s) {
1362
+ const t = v(n, o), a = t.className;
1363
+ return /* @__PURE__ */ e(
1364
+ q.Divider,
1365
+ {
1366
+ ref: s,
1367
+ className: a,
1368
+ ...t
1369
+ }
1370
+ );
1371
+ }
1372
+ );
1373
+ He.displayName = "MenuDivider";
1374
+ const Ke = $(function({ overStyled: o = !1, ...n }, s) {
1375
+ const t = v(n, o), a = t.className;
1376
+ return /* @__PURE__ */ e(
1377
+ q.Label,
1378
+ {
1379
+ ref: s,
1380
+ className: a,
1381
+ ...t
1382
+ }
1383
+ );
1384
+ });
1385
+ Ke.displayName = "MenuLabel";
1386
+ const Ue = function(o) {
1387
+ return /* @__PURE__ */ e(q.Sub, { ...o });
1388
+ };
1389
+ Ue.displayName = "MenuSub";
1390
+ const Xe = function(o) {
1391
+ return /* @__PURE__ */ e(q.Sub.Target, { ...o });
1392
+ };
1393
+ Xe.displayName = "MenuSubTarget";
1394
+ const Qe = $(
1395
+ function({ overStyled: o = !1, ...n }, s) {
1396
+ const t = v(n, o), a = t;
1397
+ o || delete a.color;
1398
+ const c = a.className;
1399
+ return /* @__PURE__ */ e(
1400
+ q.Sub.Item,
1401
+ {
1402
+ ref: s,
1403
+ className: c,
1404
+ ...t
1280
1405
  }
1281
- ) : /* @__PURE__ */ o(
1282
- V,
1406
+ );
1407
+ }
1408
+ );
1409
+ Qe.displayName = "MenuSubItem";
1410
+ const Je = $(
1411
+ function({ overStyled: o = !1, ...n }, s) {
1412
+ const t = v(n, o), a = t.className;
1413
+ return /* @__PURE__ */ e(
1414
+ q.Sub.Dropdown,
1283
1415
  {
1284
- className: C,
1285
- style: $,
1416
+ ref: s,
1417
+ className: a,
1418
+ ...t
1419
+ }
1420
+ );
1421
+ }
1422
+ );
1423
+ Je.displayName = "MenuSubDropdown";
1424
+ const Ne = Ue;
1425
+ Ne.Target = Xe;
1426
+ Ne.Item = Qe;
1427
+ Ne.Dropdown = Je;
1428
+ const re = Ge;
1429
+ re.Target = qe;
1430
+ re.Dropdown = Ye;
1431
+ re.Item = Ze;
1432
+ re.Divider = He;
1433
+ re.Label = Ke;
1434
+ re.Sub = Ne;
1435
+ const Kr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Modal" }), Ur = (r) => /* @__PURE__ */ e("div", { ...r, children: "NumberInput" }), Xr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Pagination" }), Qr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Panel" }), Jr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Popover" }), cr = "Radio-module__groupRoot___bfUii", ir = "Radio-module__root___kAjTD", dr = "Radio-module__body___q2Wpj", pr = "Radio-module__inner___QaTBB", mr = "Radio-module__radio___MfgN-", ur = "Radio-module__icon___DWznm", _r = "Radio-module__labelWrapper___dB0Gi", br = "Radio-module__label___vAFIP", k = {
1436
+ groupRoot: cr,
1437
+ root: ir,
1438
+ body: dr,
1439
+ inner: pr,
1440
+ radio: mr,
1441
+ icon: ur,
1442
+ labelWrapper: _r,
1443
+ label: br
1444
+ }, eo = $(
1445
+ function(o, n) {
1446
+ const {
1447
+ overStyled: s = !1,
1448
+ formLayout: t = "stacked",
1449
+ // Label Wrappers
1450
+ labelSize: a,
1451
+ labelAlignment: c,
1452
+ labelOptionalText: l,
1453
+ labelWithEditIcon: d,
1454
+ onLabelEditClick: i,
1455
+ // Base Mantine Extracted Attributes
1456
+ label: p,
1457
+ description: u,
1458
+ assistiveText: y,
1459
+ assistiveWithIcon: m,
1460
+ error: _,
1461
+ required: h,
1462
+ withAsterisk: C,
1463
+ id: f,
1464
+ className: g,
1465
+ style: b,
1466
+ children: P,
1467
+ readOnly: N,
1468
+ readOnlyComponent: z,
1469
+ emptyValueComponent: L,
1470
+ value: A,
1471
+ defaultValue: R,
1472
+ ...O
1473
+ } = o, S = v(O, s), T = S;
1474
+ return delete T.size, /* @__PURE__ */ e(
1475
+ ee,
1476
+ {
1477
+ className: g,
1478
+ style: b,
1286
1479
  controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
1287
1480
  controlMinWidth: void 0,
1288
- overStyled: t,
1481
+ overStyled: s,
1289
1482
  labelElement: "div",
1290
- formLayout: s,
1291
- labelSize: c,
1292
- labelAlignment: a,
1293
- labelOptionalText: n,
1294
- labelWithEditIcon: l,
1295
- onLabelEditClick: d,
1296
- label: i,
1297
- description: r,
1298
- assistiveText: p,
1483
+ formLayout: t,
1484
+ labelSize: a,
1485
+ labelAlignment: c,
1486
+ labelOptionalText: l,
1487
+ labelWithEditIcon: d,
1488
+ onLabelEditClick: i,
1489
+ label: p,
1490
+ description: u,
1491
+ assistiveText: y,
1299
1492
  assistiveWithIcon: m,
1300
- error: u,
1301
- required: _,
1302
- withAsterisk: h,
1303
- id: b,
1304
- children: /* @__PURE__ */ o(
1305
- xo.Group,
1493
+ error: _,
1494
+ required: h,
1495
+ withAsterisk: C,
1496
+ id: f,
1497
+ readOnly: N && !!z,
1498
+ readOnlyComponent: z,
1499
+ emptyValueComponent: L,
1500
+ readOnlyType: "text",
1501
+ readOnlyValue: A !== void 0 ? A : R,
1502
+ readOnlyNativeProps: o,
1503
+ activeComponent: /* @__PURE__ */ e(
1504
+ Te.Group,
1306
1505
  {
1307
- ref: z,
1506
+ ref: n,
1308
1507
  ...S,
1309
- children: /* @__PURE__ */ o("div", { className: P.groupRoot, "data-layout": s, children: j.Children.map(g, (y) => j.isValidElement(y) ? j.cloneElement(y, {
1310
- disabled: x || y.props.disabled
1311
- }) : y) })
1508
+ disabled: N || T.disabled,
1509
+ value: A,
1510
+ defaultValue: R,
1511
+ children: /* @__PURE__ */ e("div", { className: k.groupRoot, "data-layout": t, children: B.Children.map(P, (x) => B.isValidElement(x) ? B.cloneElement(x, {
1512
+ disabled: N || x.props.disabled
1513
+ }) : x) })
1312
1514
  }
1313
1515
  )
1314
1516
  }
1315
1517
  );
1316
1518
  }
1317
1519
  );
1318
- jo.displayName = "RadioGroup";
1319
- const Ot = ({ className: e, style: t }) => /* @__PURE__ */ o(
1520
+ eo.displayName = "RadioGroup";
1521
+ const yr = ({ className: r, style: o }) => /* @__PURE__ */ e(
1320
1522
  "svg",
1321
1523
  {
1322
1524
  xmlns: "http://www.w3.org/2000/svg",
1323
1525
  viewBox: "0 0 16 16",
1324
1526
  fill: "currentColor",
1325
- className: e,
1326
- style: t,
1327
- children: /* @__PURE__ */ o("circle", { cx: "8", cy: "8", r: "5" })
1527
+ className: r,
1528
+ style: o,
1529
+ children: /* @__PURE__ */ e("circle", { cx: "8", cy: "8", r: "5" })
1328
1530
  }
1329
- ), Eo = f(function({ overStyled: t = !1, readOnly: s, readOnlyComponent: c, disabled: a, ...n }, l) {
1330
- const d = N(n, t), i = d;
1331
- if (delete i.size, delete i.color, delete i.radius, delete i.variant, delete i.iconColor, s && c)
1332
- return /* @__PURE__ */ o(so, { children: c });
1333
- const r = {
1334
- root: P.root,
1335
- body: P.body,
1336
- inner: P.inner,
1337
- radio: P.radio,
1338
- icon: P.icon,
1339
- labelWrapper: P.labelWrapper,
1340
- label: P.label
1341
- }, p = i.classNames;
1342
- if (p && typeof p == "object" && !Array.isArray(p)) {
1343
- const _ = p;
1344
- r.root = _.root ? `${P.root} ${_.root}` : P.root, r.body = _.body ? `${P.body} ${_.body}` : P.body, r.inner = _.inner ? `${P.inner} ${_.inner}` : P.inner, r.radio = _.radio ? `${P.radio} ${_.radio}` : P.radio, r.icon = _.icon ? `${P.icon} ${_.icon}` : P.icon, r.labelWrapper = _.labelWrapper ? `${P.labelWrapper} ${_.labelWrapper}` : P.labelWrapper, r.label = _.label ? `${P.label} ${_.label}` : P.label;
1345
- }
1346
- const m = i.className, u = m ? `${P.root} ${m}` : P.root;
1347
- return /* @__PURE__ */ o(
1348
- xo,
1349
- {
1350
- ref: l,
1351
- icon: Ot,
1352
- className: u,
1353
- classNames: r,
1354
- disabled: s || a,
1355
- ...d
1531
+ ), oo = $(
1532
+ function(o, n) {
1533
+ const {
1534
+ overStyled: s = !1,
1535
+ readOnly: t,
1536
+ readOnlyComponent: a,
1537
+ disabled: c,
1538
+ formLayout: l,
1539
+ labelSize: d,
1540
+ controlMaxWidth: i,
1541
+ controlMinWidth: p,
1542
+ ...u
1543
+ } = o, y = v(u, s), m = y;
1544
+ delete m.size, delete m.color, delete m.radius, delete m.variant, delete m.iconColor;
1545
+ const _ = {
1546
+ root: k.root,
1547
+ body: k.body,
1548
+ inner: k.inner,
1549
+ radio: k.radio,
1550
+ icon: k.icon,
1551
+ labelWrapper: k.labelWrapper,
1552
+ label: k.label
1553
+ }, h = m.classNames;
1554
+ if (h && typeof h == "object" && !Array.isArray(h)) {
1555
+ const b = h;
1556
+ _.root = b.root ? `${k.root} ${b.root}` : k.root, _.body = b.body ? `${k.body} ${b.body}` : k.body, _.inner = b.inner ? `${k.inner} ${b.inner}` : k.inner, _.radio = b.radio ? `${k.radio} ${b.radio}` : k.radio, _.icon = b.icon ? `${k.icon} ${b.icon}` : k.icon, _.labelWrapper = b.labelWrapper ? `${k.labelWrapper} ${b.labelWrapper}` : k.labelWrapper, _.label = b.label ? `${k.label} ${b.label}` : k.label;
1356
1557
  }
1357
- );
1358
- });
1359
- Eo.displayName = "Radio";
1360
- Eo.Group = jo;
1361
- const kr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Search" }), Ar = (e) => /* @__PURE__ */ o("div", { ...e, children: "SegmentedControl" }), Rr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Slider" }), Yt = "Stack-module__root___NUN-x", ro = {
1362
- root: Yt
1363
- }, Ht = f(function({ children: t, overStyled: s = !1, gap: c = "rec-default", ...a }, n) {
1364
- const l = N({ ...a, gap: c }, s), d = l, i = {
1365
- root: ro.root
1366
- }, r = d.classNames;
1367
- if (r && typeof r == "object" && !Array.isArray(r)) {
1368
- const u = r;
1369
- i.root = u.root ? `${ro.root} ${u.root}` : ro.root;
1558
+ const C = m.className, f = C ? `${k.root} ${C}` : k.root;
1559
+ if (t && a) {
1560
+ const b = !!(m.checked ?? m.defaultChecked), N = /* @__PURE__ */ e(
1561
+ a,
1562
+ {
1563
+ ...o,
1564
+ checked: b,
1565
+ label: m.label
1566
+ }
1567
+ );
1568
+ return l ? /* @__PURE__ */ e(
1569
+ X,
1570
+ {
1571
+ formLayout: l,
1572
+ labelSize: d,
1573
+ controlMaxWidth: i,
1574
+ controlMinWidth: p,
1575
+ children: N
1576
+ }
1577
+ ) : /* @__PURE__ */ e(ie, { children: N });
1578
+ }
1579
+ const g = /* @__PURE__ */ e(
1580
+ Te,
1581
+ {
1582
+ ref: n,
1583
+ icon: yr,
1584
+ className: f,
1585
+ classNames: _,
1586
+ disabled: t || c,
1587
+ ...y
1588
+ }
1589
+ );
1590
+ return l ? /* @__PURE__ */ e(
1591
+ X,
1592
+ {
1593
+ formLayout: l,
1594
+ labelSize: d,
1595
+ controlMaxWidth: i,
1596
+ controlMinWidth: p,
1597
+ children: g
1598
+ }
1599
+ ) : g;
1370
1600
  }
1371
- const p = d.className, m = p ? `${ro.root} ${p}` : ro.root;
1372
- return /* @__PURE__ */ o(
1373
- te,
1601
+ );
1602
+ oo.displayName = "Radio";
1603
+ oo.Group = eo;
1604
+ const hr = ({ checked: r, label: o }) => /* @__PURE__ */ E(
1605
+ Ce,
1606
+ {
1607
+ component: "span",
1608
+ className: be.textField,
1609
+ style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
1610
+ children: [
1611
+ o && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
1612
+ o,
1613
+ ":"
1614
+ ] }),
1615
+ /* @__PURE__ */ e("span", { children: r ? "On" : "Off" })
1616
+ ]
1617
+ }
1618
+ );
1619
+ hr.displayName = "ReadOnlySwitchField";
1620
+ const fr = ({ checked: r, label: o }) => /* @__PURE__ */ E(
1621
+ Ce,
1622
+ {
1623
+ component: "span",
1624
+ className: be.textField,
1625
+ style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
1626
+ children: [
1627
+ o && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
1628
+ o,
1629
+ ":"
1630
+ ] }),
1631
+ /* @__PURE__ */ e("span", { children: r ? "True" : "False" })
1632
+ ]
1633
+ }
1634
+ );
1635
+ fr.displayName = "ReadOnlyBooleanField";
1636
+ const ea = (r) => /* @__PURE__ */ e("div", { ...r, children: "Search" }), oa = (r) => /* @__PURE__ */ e("div", { ...r, children: "SegmentedControl" }), ta = (r) => /* @__PURE__ */ e("div", { ...r, children: "Slider" }), Nr = "Stack-module__root___NUN-x", ce = {
1637
+ root: Nr
1638
+ }, $r = $(function({ children: o, overStyled: n = !1, gap: s = "rec-default", ...t }, a) {
1639
+ const c = v({ ...t, gap: s }, n), l = c, d = {
1640
+ root: ce.root
1641
+ }, i = l.classNames;
1642
+ if (i && typeof i == "object" && !Array.isArray(i)) {
1643
+ const y = i;
1644
+ d.root = y.root ? `${ce.root} ${y.root}` : ce.root;
1645
+ }
1646
+ const p = l.className, u = p ? `${ce.root} ${p}` : ce.root;
1647
+ return /* @__PURE__ */ e(
1648
+ No,
1374
1649
  {
1375
- ref: n,
1376
- className: m,
1377
- classNames: i,
1378
- ...l,
1379
- children: t
1650
+ ref: a,
1651
+ className: u,
1652
+ classNames: d,
1653
+ ...c,
1654
+ children: o
1380
1655
  }
1381
1656
  );
1382
1657
  });
1383
- Ht.displayName = "Stack";
1384
- const Sr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Stepper" }), Kt = "Switch-module__root___Y5Ydi", Ut = "Switch-module__body___Sw9Wr", Zt = "Switch-module__track___7ObdZ", Qt = "Switch-module__thumb___-FTeK", Xt = "Switch-module__labelWrapper___YSOwx", Jt = "Switch-module__label___LrH7V", or = "Switch-module__thumbIconWrapper___sCY-1", er = "Switch-module__checkIcon___ZBAQN", tr = "Switch-module__closeIcon___bLLGw", rr = "Switch-module__groupRoot___-Uepi", v = {
1385
- root: Kt,
1386
- body: Ut,
1387
- track: Zt,
1388
- thumb: Qt,
1389
- labelWrapper: Xt,
1390
- label: Jt,
1391
- thumbIconWrapper: or,
1392
- checkIcon: er,
1393
- closeIcon: tr,
1394
- groupRoot: rr
1395
- }, Go = f(
1396
- function({
1397
- overStyled: t = !1,
1398
- formLayout: s = "stacked",
1399
- // Label Wrappers
1400
- labelSize: c,
1401
- labelAlignment: a,
1402
- labelOptionalText: n,
1403
- labelWithEditIcon: l,
1404
- onLabelEditClick: d,
1405
- // Base Mantine Extracted Attributes
1406
- label: i,
1407
- description: r,
1408
- assistiveText: p,
1409
- assistiveWithIcon: m,
1410
- error: u,
1411
- required: _,
1412
- withAsterisk: h,
1413
- id: b,
1414
- className: C,
1415
- style: $,
1416
- children: g,
1417
- readOnly: x,
1418
- readOnlyComponent: W,
1419
- ...k
1420
- }, z) {
1421
- const S = N(k, t), I = S;
1422
- return delete I.size, x && W ? /* @__PURE__ */ o(
1423
- V,
1658
+ $r.displayName = "Stack";
1659
+ const ra = (r) => /* @__PURE__ */ e("div", { ...r, children: "Stepper" }), vr = "Switch-module__root___Y5Ydi", Cr = "Switch-module__body___Sw9Wr", gr = "Switch-module__track___7ObdZ", xr = "Switch-module__thumb___-FTeK", wr = "Switch-module__labelWrapper___YSOwx", Pr = "Switch-module__label___LrH7V", Wr = "Switch-module__thumbIconWrapper___sCY-1", kr = "Switch-module__checkIcon___ZBAQN", Ar = "Switch-module__closeIcon___bLLGw", Sr = "Switch-module__groupRoot___-Uepi", w = {
1660
+ root: vr,
1661
+ body: Cr,
1662
+ track: gr,
1663
+ thumb: xr,
1664
+ labelWrapper: wr,
1665
+ label: Pr,
1666
+ thumbIconWrapper: Wr,
1667
+ checkIcon: kr,
1668
+ closeIcon: Ar,
1669
+ groupRoot: Sr
1670
+ }, to = $(
1671
+ function(o, n) {
1672
+ const {
1673
+ overStyled: s = !1,
1674
+ formLayout: t = "stacked",
1675
+ // Label Wrappers
1676
+ labelSize: a,
1677
+ labelAlignment: c,
1678
+ labelOptionalText: l,
1679
+ labelWithEditIcon: d,
1680
+ onLabelEditClick: i,
1681
+ // Base Mantine Extracted Attributes
1682
+ label: p,
1683
+ description: u,
1684
+ assistiveText: y,
1685
+ assistiveWithIcon: m,
1686
+ error: _,
1687
+ required: h,
1688
+ withAsterisk: C,
1689
+ id: f,
1690
+ className: g,
1691
+ style: b,
1692
+ children: P,
1693
+ readOnly: N,
1694
+ readOnlyComponent: z,
1695
+ emptyValueComponent: L,
1696
+ value: A,
1697
+ defaultValue: R,
1698
+ ...O
1699
+ } = o, S = v(O, s), T = S;
1700
+ return delete T.size, /* @__PURE__ */ e(
1701
+ ee,
1424
1702
  {
1425
- className: C,
1426
- style: $,
1427
- controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
1428
- controlMinWidth: void 0,
1429
- overStyled: t,
1430
- labelElement: "div",
1431
- formLayout: s,
1432
- labelSize: c,
1433
- labelAlignment: a,
1434
- labelOptionalText: n,
1435
- labelWithEditIcon: l,
1436
- onLabelEditClick: d,
1437
- label: i,
1438
- description: r,
1439
- assistiveText: p,
1440
- assistiveWithIcon: m,
1441
- error: u,
1442
- required: _,
1443
- withAsterisk: h,
1444
- id: b,
1445
- children: W
1446
- }
1447
- ) : /* @__PURE__ */ o(
1448
- V,
1449
- {
1450
- className: C,
1451
- style: $,
1703
+ className: g,
1704
+ style: b,
1452
1705
  controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
1453
1706
  controlMinWidth: void 0,
1454
- overStyled: t,
1707
+ overStyled: s,
1455
1708
  labelElement: "div",
1456
- formLayout: s,
1457
- labelSize: c,
1458
- labelAlignment: a,
1459
- labelOptionalText: n,
1460
- labelWithEditIcon: l,
1461
- onLabelEditClick: d,
1462
- label: i,
1463
- description: r,
1464
- assistiveText: p,
1709
+ formLayout: t,
1710
+ labelSize: a,
1711
+ labelAlignment: c,
1712
+ labelOptionalText: l,
1713
+ labelWithEditIcon: d,
1714
+ onLabelEditClick: i,
1715
+ label: p,
1716
+ description: u,
1717
+ assistiveText: y,
1465
1718
  assistiveWithIcon: m,
1466
- error: u,
1467
- required: _,
1468
- withAsterisk: h,
1469
- id: b,
1470
- children: /* @__PURE__ */ o(
1471
- wo.Group,
1719
+ error: _,
1720
+ required: h,
1721
+ withAsterisk: C,
1722
+ id: f,
1723
+ readOnly: N && !!z,
1724
+ readOnlyComponent: z,
1725
+ emptyValueComponent: L,
1726
+ readOnlyType: "text",
1727
+ readOnlyValue: A !== void 0 ? A : R,
1728
+ readOnlyNativeProps: o,
1729
+ activeComponent: /* @__PURE__ */ e(
1730
+ Ie.Group,
1472
1731
  {
1473
- ref: z,
1732
+ ref: n,
1474
1733
  ...S,
1475
- children: /* @__PURE__ */ o("div", { className: v.groupRoot, "data-layout": s, children: j.Children.map(g, (y) => j.isValidElement(y) ? j.cloneElement(y, {
1476
- disabled: x || y.props.disabled
1477
- }) : y) })
1734
+ disabled: N || T.disabled,
1735
+ value: A,
1736
+ defaultValue: R,
1737
+ children: /* @__PURE__ */ e("div", { className: w.groupRoot, children: B.Children.map(P, (x) => B.isValidElement(x) ? B.cloneElement(x, {
1738
+ disabled: N || x.props.disabled
1739
+ }) : x) })
1478
1740
  }
1479
1741
  )
1480
1742
  }
1481
1743
  );
1482
1744
  }
1483
1745
  );
1484
- Go.displayName = "SwitchGroup";
1485
- const Mo = f(function({
1486
- overStyled: t = !1,
1487
- readOnly: s,
1488
- readOnlyComponent: c,
1489
- disabled: a,
1490
- thumbIcon: n,
1491
- ...l
1492
- }, d) {
1493
- const i = N(l, t), r = i;
1494
- if (delete r.size, delete r.color, delete r.radius, delete r.variant, s && c)
1495
- return /* @__PURE__ */ o(so, { children: c });
1496
- const p = {
1497
- root: v.root,
1498
- body: v.body,
1499
- track: v.track,
1500
- thumb: v.thumb,
1501
- trackLabel: v.trackLabel,
1502
- labelWrapper: v.labelWrapper,
1503
- label: v.label
1504
- }, m = r.classNames;
1505
- if (m && typeof m == "object" && !Array.isArray(m)) {
1506
- const b = m;
1507
- p.root = b.root ? `${v.root} ${b.root}` : v.root, p.body = b.body ? `${v.body} ${b.body}` : v.body, p.track = b.track ? `${v.track} ${b.track}` : v.track, p.thumb = b.thumb ? `${v.thumb} ${b.thumb}` : v.thumb, p.trackLabel = b.trackLabel ? `${v.trackLabel} ${b.trackLabel}` : v.trackLabel, p.labelWrapper = b.labelWrapper ? `${v.labelWrapper} ${b.labelWrapper}` : v.labelWrapper, p.label = b.label ? `${v.label} ${b.label}` : v.label;
1508
- }
1509
- const u = r.className, _ = u ? `${v.root} ${u}` : v.root, h = /* @__PURE__ */ D("div", { className: v.thumbIconWrapper, children: [
1510
- /* @__PURE__ */ o(re, { className: v.checkIcon }),
1511
- /* @__PURE__ */ o(se, { className: v.closeIcon })
1512
- ] });
1513
- return /* @__PURE__ */ o(
1514
- wo,
1515
- {
1516
- ref: d,
1517
- className: _,
1518
- classNames: p,
1519
- disabled: s || a,
1520
- thumbIcon: n ?? h,
1521
- ...i
1746
+ to.displayName = "SwitchGroup";
1747
+ const ro = $(
1748
+ function(o, n) {
1749
+ const {
1750
+ overStyled: s = !1,
1751
+ readOnly: t,
1752
+ readOnlyComponent: a,
1753
+ disabled: c,
1754
+ thumbIcon: l,
1755
+ formLayout: d,
1756
+ labelSize: i,
1757
+ controlMaxWidth: p,
1758
+ controlMinWidth: u,
1759
+ ...y
1760
+ } = o, m = v(y, s), _ = m;
1761
+ delete _.size, delete _.color, delete _.radius, delete _.variant;
1762
+ const h = {
1763
+ root: w.root,
1764
+ body: w.body,
1765
+ track: w.track,
1766
+ thumb: w.thumb,
1767
+ trackLabel: w.trackLabel,
1768
+ labelWrapper: w.labelWrapper,
1769
+ label: w.label
1770
+ }, C = _.classNames;
1771
+ if (C && typeof C == "object" && !Array.isArray(C)) {
1772
+ const N = C;
1773
+ h.root = N.root ? `${w.root} ${N.root}` : w.root, h.body = N.body ? `${w.body} ${N.body}` : w.body, h.track = N.track ? `${w.track} ${N.track}` : w.track, h.thumb = N.thumb ? `${w.thumb} ${N.thumb}` : w.thumb, h.trackLabel = N.trackLabel ? `${w.trackLabel} ${N.trackLabel}` : w.trackLabel, h.labelWrapper = N.labelWrapper ? `${w.labelWrapper} ${N.labelWrapper}` : w.labelWrapper, h.label = N.label ? `${w.label} ${N.label}` : w.label;
1522
1774
  }
1523
- );
1524
- });
1525
- Mo.displayName = "Switch";
1526
- Mo.Group = Go;
1527
- const Tr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Table" }), zr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Tabs" }), sr = f(function({ overStyled: t = !1, variant: s = "body", ...c }, a) {
1528
- const n = N(c, t), l = n.className, d = `recursica_brand_typography_${s}`, i = l ? `${d} ${l}` : d;
1529
- return /* @__PURE__ */ o(
1530
- ae,
1775
+ const f = _.className, g = f ? `${w.root} ${f}` : w.root;
1776
+ if (t && a) {
1777
+ const N = !!(_.checked ?? _.defaultChecked), L = /* @__PURE__ */ e(
1778
+ a,
1779
+ {
1780
+ ...o,
1781
+ checked: N,
1782
+ label: _.label
1783
+ }
1784
+ );
1785
+ return d ? /* @__PURE__ */ e(
1786
+ X,
1787
+ {
1788
+ formLayout: d,
1789
+ labelSize: i,
1790
+ controlMaxWidth: p,
1791
+ controlMinWidth: u,
1792
+ children: L
1793
+ }
1794
+ ) : /* @__PURE__ */ e(ie, { children: L });
1795
+ }
1796
+ const b = /* @__PURE__ */ E("div", { className: w.thumbIconWrapper, children: [
1797
+ /* @__PURE__ */ e($o, { className: w.checkIcon }),
1798
+ /* @__PURE__ */ e(vo, { className: w.closeIcon })
1799
+ ] }), P = /* @__PURE__ */ e(
1800
+ Ie,
1801
+ {
1802
+ ref: n,
1803
+ className: g,
1804
+ classNames: h,
1805
+ disabled: t || c,
1806
+ thumbIcon: l ?? b,
1807
+ ...m
1808
+ }
1809
+ );
1810
+ return d ? /* @__PURE__ */ e(
1811
+ X,
1812
+ {
1813
+ formLayout: d,
1814
+ labelSize: i,
1815
+ controlMaxWidth: p,
1816
+ controlMinWidth: u,
1817
+ children: P
1818
+ }
1819
+ ) : P;
1820
+ }
1821
+ );
1822
+ ro.displayName = "Switch";
1823
+ ro.Group = to;
1824
+ const aa = (r) => /* @__PURE__ */ e("div", { ...r, children: "Table" }), sa = (r) => /* @__PURE__ */ e("div", { ...r, children: "Tabs" }), Tr = $(function({ overStyled: o = !1, variant: n = "body", ...s }, t) {
1825
+ const a = v(s, o), c = a.className, l = `recursica_brand_typography_${n}`, d = c ? `${l} ${c}` : l;
1826
+ return /* @__PURE__ */ e(
1827
+ Co,
1531
1828
  {
1532
- ref: a,
1533
- className: i,
1534
- ...n
1829
+ ref: t,
1830
+ className: d,
1831
+ ...a
1535
1832
  }
1536
1833
  );
1537
1834
  });
1538
- sr.displayName = "Text";
1539
- const ar = "TextArea-module__root___3dyeu", nr = "TextArea-module__input___8l36v", Z = {
1540
- root: ar,
1541
- input: nr
1542
- }, cr = f(
1543
- function({
1544
- overStyled: t = !1,
1545
- formLayout: s = "stacked",
1546
- // Label & Wrapper Maps
1547
- labelSize: c,
1548
- labelAlignment: a,
1549
- labelOptionalText: n,
1550
- labelWithEditIcon: l,
1551
- onLabelEditClick: d,
1552
- label: i,
1553
- assistiveText: r,
1554
- assistiveWithIcon: p,
1555
- error: m,
1556
- required: u,
1557
- withAsterisk: _,
1558
- id: h,
1559
- className: b,
1560
- style: C,
1561
- disabled: $,
1562
- readOnly: g,
1563
- readOnlyComponent: x,
1564
- value: W,
1565
- defaultValue: k,
1566
- ...z
1567
- }, S) {
1568
- const I = N(z, t), y = I;
1569
- delete y.size, delete y.variant, delete y.radius;
1835
+ Tr.displayName = "Text";
1836
+ const Ir = "TextArea-module__root___3dyeu", Lr = "TextArea-module__input___8l36v", te = {
1837
+ root: Ir,
1838
+ input: Lr
1839
+ }, Rr = $(
1840
+ function(o, n) {
1841
+ const {
1842
+ overStyled: s = !1,
1843
+ formLayout: t = "stacked",
1844
+ // Label & Wrapper Maps
1845
+ labelSize: a,
1846
+ labelAlignment: c,
1847
+ labelOptionalText: l,
1848
+ labelWithEditIcon: d,
1849
+ onLabelEditClick: i,
1850
+ label: p,
1851
+ assistiveText: u,
1852
+ assistiveWithIcon: y,
1853
+ error: m,
1854
+ required: _,
1855
+ withAsterisk: h,
1856
+ id: C,
1857
+ className: f,
1858
+ style: g,
1859
+ disabled: b,
1860
+ readOnly: P,
1861
+ readOnlyComponent: N,
1862
+ emptyValueComponent: z,
1863
+ value: L,
1864
+ defaultValue: A,
1865
+ ...R
1866
+ } = o, O = v(R, s), S = O;
1867
+ delete S.size, delete S.variant, delete S.radius;
1570
1868
  const T = {
1571
- wrapper: Z.root,
1869
+ wrapper: te.root,
1572
1870
  // The nested Input internal relative wrapper bounding box
1573
- input: Z.input
1574
- }, R = y.classNames;
1575
- if (R && typeof R == "object" && !Array.isArray(R)) {
1576
- const A = R;
1577
- T.wrapper = A.wrapper ? `${Z.root} ${A.wrapper}` : Z.root, T.input = A.input ? `${Z.input} ${A.input}` : Z.input;
1871
+ input: te.input
1872
+ }, x = S.classNames;
1873
+ if (x && typeof x == "object" && !Array.isArray(x)) {
1874
+ const I = x;
1875
+ T.wrapper = I.wrapper ? `${te.root} ${I.wrapper}` : te.root, T.input = I.input ? `${te.input} ${I.input}` : te.input;
1578
1876
  }
1579
- return /* @__PURE__ */ o(
1580
- lo,
1877
+ return /* @__PURE__ */ e(
1878
+ ee,
1581
1879
  {
1582
- className: b,
1583
- style: C,
1880
+ className: f,
1881
+ style: g,
1584
1882
  controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
1585
1883
  controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
1586
- overStyled: t,
1587
- formLayout: s,
1588
- labelSize: c,
1589
- labelAlignment: a,
1590
- labelOptionalText: n,
1591
- labelWithEditIcon: l,
1592
- onLabelEditClick: d,
1593
- label: i,
1594
- assistiveText: r,
1595
- assistiveWithIcon: p,
1884
+ overStyled: s,
1885
+ formLayout: t,
1886
+ labelSize: a,
1887
+ labelAlignment: c,
1888
+ labelOptionalText: l,
1889
+ labelWithEditIcon: d,
1890
+ onLabelEditClick: i,
1891
+ label: p,
1892
+ assistiveText: u,
1893
+ assistiveWithIcon: y,
1596
1894
  error: m,
1597
- required: u,
1598
- withAsterisk: _,
1599
- id: h,
1600
- readOnly: g,
1601
- readOnlyComponent: x,
1895
+ required: _,
1896
+ withAsterisk: h,
1897
+ id: C,
1898
+ readOnly: P,
1899
+ readOnlyComponent: N,
1900
+ emptyValueComponent: z,
1602
1901
  readOnlyType: "text",
1603
- readOnlyValue: W !== void 0 ? W : k,
1902
+ readOnlyValue: L !== void 0 ? L : A,
1903
+ readOnlyNativeProps: o,
1604
1904
  activeComponent: (
1605
1905
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1606
- /* @__PURE__ */ o(
1607
- ne,
1906
+ /* @__PURE__ */ e(
1907
+ go,
1608
1908
  {
1609
- ref: S,
1909
+ ref: n,
1610
1910
  classNames: T,
1611
- disabled: $,
1612
- value: W,
1613
- defaultValue: k,
1911
+ disabled: b,
1912
+ value: L,
1913
+ defaultValue: A,
1614
1914
  label: void 0,
1615
1915
  description: void 0,
1616
1916
  error: void 0,
1617
1917
  required: void 0,
1618
1918
  withAsterisk: void 0,
1619
1919
  wrapperProps: {
1620
- "data-disabled": $ ? "true" : void 0,
1920
+ "data-disabled": b ? "true" : void 0,
1621
1921
  "data-error": m ? "true" : void 0
1622
1922
  },
1623
- ...I
1923
+ ...O
1624
1924
  }
1625
1925
  )
1626
1926
  )
@@ -1628,89 +1928,92 @@ const ar = "TextArea-module__root___3dyeu", nr = "TextArea-module__input___8l36v
1628
1928
  );
1629
1929
  }
1630
1930
  );
1631
- cr.displayName = "TextArea";
1632
- const ir = "TextField-module__root___2ZYkG", lr = "TextField-module__input___RL-My", dr = "TextField-module__section___bCIJ0", O = {
1633
- root: ir,
1634
- input: lr,
1635
- section: dr
1636
- }, pr = f(
1637
- function({
1638
- overStyled: t = !1,
1639
- formLayout: s = "stacked",
1640
- // Label & Wrapper Maps
1641
- labelSize: c,
1642
- labelAlignment: a,
1643
- labelOptionalText: n,
1644
- labelWithEditIcon: l,
1645
- onLabelEditClick: d,
1646
- label: i,
1647
- assistiveText: r,
1648
- assistiveWithIcon: p,
1649
- error: m,
1650
- required: u,
1651
- withAsterisk: _,
1652
- id: h,
1653
- className: b,
1654
- style: C,
1655
- disabled: $,
1656
- readOnly: g,
1657
- readOnlyComponent: x,
1658
- value: W,
1659
- defaultValue: k,
1660
- ...z
1661
- }, S) {
1662
- const I = N(z, t), y = I;
1663
- delete y.size, delete y.variant, delete y.radius;
1931
+ Rr.displayName = "TextArea";
1932
+ const Or = "TextField-module__root___2ZYkG", zr = "TextField-module__input___RL-My", Mr = "TextField-module__section___bCIJ0", Z = {
1933
+ root: Or,
1934
+ input: zr,
1935
+ section: Mr
1936
+ }, Fr = $(
1937
+ function(o, n) {
1938
+ const {
1939
+ overStyled: s = !1,
1940
+ formLayout: t = "stacked",
1941
+ // Label & Wrapper Maps
1942
+ labelSize: a,
1943
+ labelAlignment: c,
1944
+ labelOptionalText: l,
1945
+ labelWithEditIcon: d,
1946
+ onLabelEditClick: i,
1947
+ label: p,
1948
+ assistiveText: u,
1949
+ assistiveWithIcon: y,
1950
+ error: m,
1951
+ required: _,
1952
+ withAsterisk: h,
1953
+ id: C,
1954
+ className: f,
1955
+ style: g,
1956
+ disabled: b,
1957
+ readOnly: P,
1958
+ readOnlyComponent: N,
1959
+ emptyValueComponent: z,
1960
+ value: L,
1961
+ defaultValue: A,
1962
+ ...R
1963
+ } = o, O = v(R, s), S = O;
1964
+ delete S.size, delete S.variant, delete S.radius;
1664
1965
  const T = {
1665
- wrapper: O.root,
1966
+ wrapper: Z.root,
1666
1967
  // The nested Input internal relative wrapper bounding box
1667
- input: O.input,
1668
- section: O.section
1669
- }, R = y.classNames;
1670
- if (R && typeof R == "object" && !Array.isArray(R)) {
1671
- const A = R;
1672
- T.wrapper = A.wrapper ? `${O.root} ${A.wrapper}` : O.root, T.input = A.input ? `${O.input} ${A.input}` : O.input, T.section = A.section ? `${O.section} ${A.section}` : O.section;
1968
+ input: Z.input,
1969
+ section: Z.section
1970
+ }, x = S.classNames;
1971
+ if (x && typeof x == "object" && !Array.isArray(x)) {
1972
+ const I = x;
1973
+ T.wrapper = I.wrapper ? `${Z.root} ${I.wrapper}` : Z.root, T.input = I.input ? `${Z.input} ${I.input}` : Z.input, T.section = I.section ? `${Z.section} ${I.section}` : Z.section;
1673
1974
  }
1674
- return /* @__PURE__ */ o(
1675
- lo,
1975
+ return /* @__PURE__ */ e(
1976
+ ee,
1676
1977
  {
1677
- className: b,
1678
- style: C,
1978
+ className: f,
1979
+ style: g,
1679
1980
  controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
1680
1981
  controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
1681
- overStyled: t,
1682
- formLayout: s,
1683
- labelSize: c,
1684
- labelAlignment: a,
1685
- labelOptionalText: n,
1686
- labelWithEditIcon: l,
1687
- onLabelEditClick: d,
1688
- label: i,
1689
- assistiveText: r,
1690
- assistiveWithIcon: p,
1982
+ overStyled: s,
1983
+ formLayout: t,
1984
+ labelSize: a,
1985
+ labelAlignment: c,
1986
+ labelOptionalText: l,
1987
+ labelWithEditIcon: d,
1988
+ onLabelEditClick: i,
1989
+ label: p,
1990
+ assistiveText: u,
1991
+ assistiveWithIcon: y,
1691
1992
  error: m,
1692
- required: u,
1693
- withAsterisk: _,
1694
- id: h,
1695
- readOnly: g,
1696
- readOnlyComponent: x,
1993
+ required: _,
1994
+ withAsterisk: h,
1995
+ id: C,
1996
+ readOnly: P,
1997
+ readOnlyComponent: N,
1998
+ emptyValueComponent: z,
1697
1999
  readOnlyType: "text",
1698
- readOnlyValue: W !== void 0 ? W : k,
2000
+ readOnlyValue: L !== void 0 ? L : A,
2001
+ readOnlyNativeProps: o,
1699
2002
  activeComponent: (
1700
2003
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1701
- /* @__PURE__ */ o(
1702
- vo,
2004
+ /* @__PURE__ */ e(
2005
+ Ae,
1703
2006
  {
1704
- ref: S,
2007
+ ref: n,
1705
2008
  classNames: T,
1706
- disabled: $,
1707
- value: W,
1708
- defaultValue: k,
2009
+ disabled: b,
2010
+ value: L,
2011
+ defaultValue: A,
1709
2012
  wrapperProps: {
1710
- "data-disabled": $ ? "true" : void 0,
2013
+ "data-disabled": b ? "true" : void 0,
1711
2014
  "data-error": m ? "true" : void 0
1712
2015
  },
1713
- ...I
2016
+ ...O
1714
2017
  }
1715
2018
  )
1716
2019
  )
@@ -1718,80 +2021,83 @@ const ir = "TextField-module__root___2ZYkG", lr = "TextField-module__input___RL-
1718
2021
  );
1719
2022
  }
1720
2023
  );
1721
- pr.displayName = "TextField";
1722
- const Ir = (e) => /* @__PURE__ */ o("div", { ...e, children: "TimePicker" }), Fr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Timeline" }), _r = f(function({ overStyled: t = !1, order: s = 1, ...c }, a) {
1723
- const n = N(c, t), l = n.className, d = `recursica_brand_typography_h${s}`, i = l ? `${d} ${l}` : d;
1724
- return /* @__PURE__ */ o(
1725
- ce,
2024
+ Fr.displayName = "TextField";
2025
+ const na = (r) => /* @__PURE__ */ e("div", { ...r, children: "TimePicker" }), la = (r) => /* @__PURE__ */ e("div", { ...r, children: "Timeline" }), Er = $(function({ overStyled: o = !1, order: n = 1, ...s }, t) {
2026
+ const a = v(s, o), c = a.className, l = `recursica_brand_typography_h${n}`, d = c ? `${l} ${c}` : l;
2027
+ return /* @__PURE__ */ e(
2028
+ xo,
1726
2029
  {
1727
- ref: a,
1728
- order: s,
1729
- className: i,
1730
- ...n
2030
+ ref: t,
2031
+ order: n,
2032
+ className: d,
2033
+ ...a
1731
2034
  }
1732
2035
  );
1733
2036
  });
1734
- _r.displayName = "Title";
1735
- const Lr = (e) => /* @__PURE__ */ o("div", { ...e, children: "Toast" }), Br = (e) => /* @__PURE__ */ o("div", { ...e, children: "Tooltip" }), jr = (e) => /* @__PURE__ */ o("div", { ...e, children: "TransferList" });
2037
+ Er.displayName = "Title";
2038
+ const ca = (r) => /* @__PURE__ */ e("div", { ...r, children: "Toast" }), ia = (r) => /* @__PURE__ */ e("div", { ...r, children: "Tooltip" }), da = (r) => /* @__PURE__ */ e("div", { ...r, children: "TransferList" });
1736
2039
  export {
1737
- ho as Accordion,
1738
- uo as AccordionControl,
1739
- Wo as AccordionItem,
1740
- bo as AccordionPanel,
1741
- xe as Avatar,
1742
- Pe as Badge,
1743
- Ae as Breadcrumb,
1744
- Le as Button,
1745
- io as Card,
1746
- To as CardContent,
1747
- So as CardFooter,
1748
- Ro as CardHeader,
1749
- Ao as CardSection,
1750
- Fo as Checkbox,
1751
- Io as CheckboxGroup,
1752
- ft as Chip,
1753
- yt as Container,
1754
- hr as DatePicker,
1755
- Rt as Dropdown,
1756
- ao as EmptyValueRenderer,
1757
- fr as FileInput,
1758
- Nr as FileUpload,
1759
- Tt as Flex,
1760
- It as Group,
1761
- yr as HoverCard,
1762
- zo as Label,
1763
- gt as Layer,
1764
- vr as Link,
1765
- Lt as Loader,
1766
- Cr as Menu,
1767
- gr as Modal,
1768
- xr as NumberInput,
1769
- wr as Pagination,
1770
- Pr as Panel,
1771
- Wr as Popover,
1772
- Eo as Radio,
1773
- jo as RadioGroup,
1774
- Bo as ReadOnlyField,
1775
- Lo as ReadOnlyTextField,
1776
- $r as RecursicaThemeProvider,
1777
- kr as Search,
1778
- Ar as SegmentedControl,
1779
- Rr as Slider,
1780
- Ht as Stack,
1781
- Sr as Stepper,
1782
- Mo as Switch,
1783
- Go as SwitchGroup,
1784
- Tr as Table,
1785
- zr as Tabs,
1786
- sr as Text,
1787
- cr as TextArea,
1788
- pr as TextField,
1789
- Ir as TimePicker,
1790
- Fr as Timeline,
1791
- _r as Title,
1792
- Lr as Toast,
1793
- Br as Tooltip,
1794
- jr as TransferList,
1795
- lo as WithReadOnlyWrapper
2040
+ we as Accordion,
2041
+ ge as AccordionControl,
2042
+ Re as AccordionItem,
2043
+ xe as AccordionPanel,
2044
+ jo as Avatar,
2045
+ Vo as Badge,
2046
+ Yo as Breadcrumb,
2047
+ Jo as Button,
2048
+ fe as Card,
2049
+ Ee as CardContent,
2050
+ Fe as CardFooter,
2051
+ Me as CardHeader,
2052
+ ze as CardSection,
2053
+ Ve as Checkbox,
2054
+ De as CheckboxGroup,
2055
+ Bt as Chip,
2056
+ Dt as Container,
2057
+ Gr as DatePicker,
2058
+ Ht as Dropdown,
2059
+ _e as EmptyValueRenderer,
2060
+ qr as FileInput,
2061
+ Yr as FileUpload,
2062
+ Ut as Flex,
2063
+ X as FormControlLayout,
2064
+ Qt as Group,
2065
+ Zr as HoverCard,
2066
+ Be as Label,
2067
+ Ct as Layer,
2068
+ Hr as Link,
2069
+ er as Loader,
2070
+ re as Menu,
2071
+ Kr as Modal,
2072
+ Ur as NumberInput,
2073
+ Xr as Pagination,
2074
+ Qr as Panel,
2075
+ Jr as Popover,
2076
+ oo as Radio,
2077
+ eo as RadioGroup,
2078
+ fr as ReadOnlyBooleanField,
2079
+ je as ReadOnlyField,
2080
+ hr as ReadOnlySwitchField,
2081
+ me as ReadOnlyTextField,
2082
+ Vr as RecursicaThemeProvider,
2083
+ ea as Search,
2084
+ oa as SegmentedControl,
2085
+ ta as Slider,
2086
+ $r as Stack,
2087
+ ra as Stepper,
2088
+ ro as Switch,
2089
+ to as SwitchGroup,
2090
+ aa as Table,
2091
+ sa as Tabs,
2092
+ Tr as Text,
2093
+ Rr as TextArea,
2094
+ Fr as TextField,
2095
+ na as TimePicker,
2096
+ la as Timeline,
2097
+ Er as Title,
2098
+ ca as Toast,
2099
+ ia as Tooltip,
2100
+ da as TransferList,
2101
+ ee as WithReadOnlyWrapper
1796
2102
  };
1797
2103
  //# sourceMappingURL=mantine-adapter.js.map