@recursica/mantine-adapter 0.15.0 → 0.17.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 (58) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/mantine-adapter.cjs +1 -1
  3. package/dist/mantine-adapter.cjs.map +1 -1
  4. package/dist/mantine-adapter.css +1 -1
  5. package/dist/mantine-adapter.js +1688 -1330
  6. package/dist/mantine-adapter.js.map +1 -1
  7. package/dist/src/components/Button/Button.d.ts +7 -1
  8. package/dist/src/components/Container/Container.d.ts +8 -5
  9. package/dist/src/components/Flex/Flex.d.ts +10 -7
  10. package/dist/src/components/Group/Group.d.ts +8 -5
  11. package/dist/src/components/Link/Link.d.ts +32 -2
  12. package/dist/src/components/Link/index.d.ts +1 -0
  13. package/dist/src/components/Pagination/Pagination.d.ts +50 -2
  14. package/dist/src/components/Pagination/Pagination.icons.d.ts +8 -0
  15. package/dist/src/components/Pagination/index.d.ts +1 -0
  16. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +16 -3
  17. package/dist/src/components/Stack/Stack.d.ts +8 -5
  18. package/dist/src/components/Stepper/Stepper.d.ts +12 -2
  19. package/dist/src/components/Tabs/Tabs.d.ts +19 -3
  20. package/dist/src/components/index.d.ts +0 -2
  21. package/package.json +1 -1
  22. package/src/OverStyling.stories.tsx +22 -0
  23. package/src/components/Button/Button.stories.tsx +11 -0
  24. package/src/components/Button/Button.tsx +7 -1
  25. package/src/components/Card/Card.tsx +1 -1
  26. package/src/components/Container/Container.tsx +13 -17
  27. package/src/components/Flex/Flex.tsx +13 -17
  28. package/src/components/Group/Group.tsx +13 -17
  29. package/src/components/Link/IMPLEMENTATION_NOTES.md +26 -0
  30. package/src/components/Link/Link.module.css +133 -0
  31. package/src/components/Link/Link.stories.tsx +46 -4
  32. package/src/components/Link/Link.tsx +82 -5
  33. package/src/components/Link/index.ts +1 -0
  34. package/src/components/Pagination/IMPLEMENTATION_NOTES.md +16 -0
  35. package/src/components/Pagination/Pagination.icons.tsx +66 -0
  36. package/src/components/Pagination/Pagination.module.css +225 -0
  37. package/src/components/Pagination/Pagination.stories.tsx +43 -4
  38. package/src/components/Pagination/Pagination.tsx +214 -4
  39. package/src/components/Pagination/index.ts +5 -0
  40. package/src/components/Panel/Panel.stories.tsx +1 -1
  41. package/src/components/SegmentedControl/IMPLEMENTATION_NOTES.md +17 -0
  42. package/src/components/SegmentedControl/SegmentedControl.module.css +138 -0
  43. package/src/components/SegmentedControl/SegmentedControl.stories.tsx +108 -6
  44. package/src/components/SegmentedControl/SegmentedControl.tsx +96 -5
  45. package/src/components/Stack/Stack.tsx +13 -17
  46. package/src/components/Stepper/Stepper.module.css +353 -0
  47. package/src/components/Stepper/Stepper.stories.tsx +135 -4
  48. package/src/components/Stepper/Stepper.tsx +68 -5
  49. package/src/components/Tabs/Tabs.module.css +401 -0
  50. package/src/components/Tabs/Tabs.stories.tsx +141 -4
  51. package/src/components/Tabs/Tabs.tsx +107 -5
  52. package/src/components/index.ts +0 -2
  53. package/dist/src/components/Popover/Popover.d.ts +0 -3
  54. package/dist/src/components/Search/Search.d.ts +0 -3
  55. package/src/components/Popover/Popover.stories.tsx +0 -17
  56. package/src/components/Popover/Popover.tsx +0 -7
  57. package/src/components/Search/Search.stories.tsx +0 -17
  58. package/src/components/Search/Search.tsx +0 -7
@@ -1,7 +1,7 @@
1
- import { jsx as r, jsxs as E, Fragment as _e } from "react/jsx-runtime";
2
- import B, { forwardRef as v, useId as ko, useEffect as To } from "react";
3
- import { Accordion as ve, Avatar as Oo, createPolymorphicComponent as oe, Badge as Io, Breadcrumbs as zo, Button as Ro, Card as Ce, Input as Fe, Box as Ae, Checkbox as Ee, Chip as Lo, Container as Mo, Select as Fo, Flex as Eo, Group as Bo, HoverCard as We, Loader as jo, Menu as q, NumberInput as Do, Drawer as K, Radio as Be, Stack as Vo, Switch as je, CheckIcon as Go, CloseIcon as qo, Text as Ho, Textarea as Uo, Title as Yo, Tooltip as Se } from "@mantine/core";
4
- const Zo = [
1
+ import { jsx as n, jsxs as M, Fragment as $e } from "react/jsx-runtime";
2
+ import V, { forwardRef as y, useId as at, useEffect as nt } from "react";
3
+ import { Accordion as We, Avatar as rt, createPolymorphicComponent as X, Badge as lt, Breadcrumbs as ct, Button as it, Card as Le, Input as Ue, Box as Me, Checkbox as Ye, Chip as dt, Container as pt, Select as mt, Flex as _t, Group as ut, HoverCard as Fe, Anchor as bt, Loader as yt, Menu as U, NumberInput as Nt, Pagination as ee, Drawer as oe, Radio as Ke, SegmentedControl as ht, Stack as ft, Stepper as ze, Switch as Qe, CheckIcon as $t, CloseIcon as vt, Tabs as Te, Text as Ct, Textarea as gt, Title as Pt, Tooltip as Be } from "@mantine/core";
4
+ const wt = [
5
5
  "className",
6
6
  "classNames",
7
7
  "style",
@@ -45,7 +45,7 @@ const Zo = [
45
45
  "mih",
46
46
  "mah"
47
47
  // Dimensions
48
- ], Ko = /* @__PURE__ */ new Set([
48
+ ], xt = /* @__PURE__ */ new Set([
49
49
  "m",
50
50
  "my",
51
51
  "mx",
@@ -60,7 +60,7 @@ const Zo = [
60
60
  "left",
61
61
  "bottom",
62
62
  "right"
63
- ]), Ie = {
63
+ ]), Ve = {
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,120 +69,120 @@ const Zo = [
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(a, e) {
72
+ function N(r, e) {
73
73
  if (e)
74
- return a;
75
- const n = { ...a };
76
- for (const s of Zo)
77
- s in n && delete n[s];
78
- for (const [s, o] of Object.entries(n))
79
- typeof o == "string" && o.startsWith("rec-") && Ko.has(s) && o in Ie && (n[s] = Ie[o]);
80
- return n;
74
+ return r;
75
+ const a = { ...r };
76
+ for (const s of wt)
77
+ s in a && delete a[s];
78
+ for (const [s, t] of Object.entries(a))
79
+ typeof t == "string" && t.startsWith("rec-") && xt.has(s) && t in Ve && (a[s] = Ve[t]);
80
+ return a;
81
81
  }
82
- const Qo = "Accordion-module__root___Dem6d", Xo = "Accordion-module__item___7ryVk", Jo = "Accordion-module__noDivider___Ni2tT", et = "Accordion-module__control___b4wgX", ot = "Accordion-module__label___Ss7uW", tt = "Accordion-module__chevron___i-HVZ", rt = "Accordion-module__iconLeftWrapper___5oLen", st = "Accordion-module__panel___Wx50w", at = "Accordion-module__content___PEM9t", Y = {
83
- root: Qo,
84
- item: Xo,
85
- noDivider: Jo,
86
- control: et,
87
- label: ot,
88
- chevron: tt,
89
- iconLeftWrapper: rt,
90
- panel: st,
91
- content: at
92
- }, De = function({
82
+ const St = "Accordion-module__root___Dem6d", At = "Accordion-module__item___7ryVk", Wt = "Accordion-module__noDivider___Ni2tT", Lt = "Accordion-module__control___b4wgX", Tt = "Accordion-module__label___Ss7uW", It = "Accordion-module__chevron___i-HVZ", kt = "Accordion-module__iconLeftWrapper___5oLen", Ot = "Accordion-module__panel___Wx50w", zt = "Accordion-module__content___PEM9t", Q = {
83
+ root: St,
84
+ item: At,
85
+ noDivider: Wt,
86
+ control: Lt,
87
+ label: Tt,
88
+ chevron: It,
89
+ iconLeftWrapper: kt,
90
+ panel: Ot,
91
+ content: zt
92
+ }, Je = function({
93
93
  variant: e = "unstyled",
94
- overStyled: n = !1,
94
+ overStyled: a = !1,
95
95
  ...s
96
96
  }) {
97
- const o = N(s, n), t = {
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 = o.classNames;
97
+ const t = N(s, a), o = {
98
+ root: Q.root,
99
+ item: Q.item,
100
+ control: Q.control,
101
+ label: Q.label,
102
+ chevron: Q.chevron,
103
+ panel: Q.panel,
104
+ content: Q.content
105
+ }, l = t.classNames;
106
106
  if (l && typeof l == "object" && !Array.isArray(l)) {
107
- const d = l;
108
- Object.keys(d).forEach((i) => {
109
- t[i] ? t[i] = `${t[i]} ${d[i]}` : t[i] = d[i];
107
+ const i = l;
108
+ Object.keys(i).forEach((d) => {
109
+ o[d] ? o[d] = `${o[d]} ${i[d]}` : o[d] = i[d];
110
110
  });
111
111
  }
112
- const c = o.className;
113
- return /* @__PURE__ */ r(
114
- ve,
112
+ const c = t.className;
113
+ return /* @__PURE__ */ n(
114
+ We,
115
115
  {
116
116
  variant: e,
117
117
  className: c,
118
- classNames: t,
119
- ...o
118
+ classNames: o,
119
+ ...t
120
120
  }
121
121
  );
122
122
  };
123
- De.displayName = "Accordion";
124
- const Ve = v(function({ title: e, leftIcon: n, divider: s = !0, children: o, overStyled: t = !1, ...l }, c) {
125
- const d = N(l, t), i = d.className, p = [s ? void 0 : Y.noDivider, i].filter(Boolean).join(" ") || void 0;
126
- return /* @__PURE__ */ r(
127
- ve.Item,
123
+ Je.displayName = "Accordion";
124
+ const Xe = y(function({ title: e, leftIcon: a, divider: s = !0, children: t, overStyled: o = !1, ...l }, c) {
125
+ const i = N(l, o), d = i.className, p = [s ? void 0 : Q.noDivider, d].filter(Boolean).join(" ") || void 0;
126
+ return /* @__PURE__ */ n(
127
+ We.Item,
128
128
  {
129
129
  ref: c,
130
130
  className: p,
131
- ...d,
132
- children: e ? /* @__PURE__ */ E(_e, { children: [
133
- /* @__PURE__ */ r(ke, { leftIcon: n, children: e }),
134
- /* @__PURE__ */ r(Te, { children: o })
135
- ] }) : o
131
+ ...i,
132
+ children: e ? /* @__PURE__ */ M($e, { children: [
133
+ /* @__PURE__ */ n(Ee, { leftIcon: a, children: e }),
134
+ /* @__PURE__ */ n(je, { children: t })
135
+ ] }) : t
136
136
  }
137
137
  );
138
138
  });
139
- Ve.displayName = "AccordionItem";
140
- const ke = v(function({ leftIcon: e, children: n, overStyled: s = !1, ...o }, t) {
141
- const l = N(o, s), c = l.className;
142
- return /* @__PURE__ */ r(
143
- ve.Control,
139
+ Xe.displayName = "AccordionItem";
140
+ const Ee = y(function({ leftIcon: e, children: a, overStyled: s = !1, ...t }, o) {
141
+ const l = N(t, s), c = l.className;
142
+ return /* @__PURE__ */ n(
143
+ We.Control,
144
144
  {
145
- ref: t,
145
+ ref: o,
146
146
  className: c,
147
- icon: e ? /* @__PURE__ */ r("span", { className: Y.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
147
+ icon: e ? /* @__PURE__ */ n("span", { className: Q.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
148
148
  ...l,
149
- children: n
149
+ children: a
150
150
  }
151
151
  );
152
152
  });
153
- ke.displayName = "AccordionControl";
154
- const Te = v(function({ overStyled: e = !1, ...n }, s) {
155
- const o = N(n, e), t = o.className;
156
- return /* @__PURE__ */ r(
157
- ve.Panel,
153
+ Ee.displayName = "AccordionControl";
154
+ const je = y(function({ overStyled: e = !1, ...a }, s) {
155
+ const t = N(a, e), o = t.className;
156
+ return /* @__PURE__ */ n(
157
+ We.Panel,
158
158
  {
159
159
  ref: s,
160
- className: t,
161
- ...o
160
+ className: o,
161
+ ...t
162
162
  }
163
163
  );
164
164
  });
165
- Te.displayName = "AccordionPanel";
166
- const Oe = De;
167
- Oe.Item = Ve;
168
- Oe.Control = ke;
169
- Oe.Panel = Te;
170
- const nt = "Avatar-module__root___fXu-J", lt = "Avatar-module__iconWrapper___ojly2", ct = "Avatar-module__textWrapper___zp-jD", it = "Avatar-module__image___ieqGp", dt = "Avatar-module__placeholder___IDW7-", V = {
171
- root: nt,
172
- iconWrapper: lt,
173
- textWrapper: ct,
174
- image: it,
175
- placeholder: dt
176
- }, Ge = v(function({
165
+ je.displayName = "AccordionPanel";
166
+ const De = Je;
167
+ De.Item = Xe;
168
+ De.Control = Ee;
169
+ De.Panel = je;
170
+ const Rt = "Avatar-module__root___fXu-J", Mt = "Avatar-module__iconWrapper___ojly2", Ft = "Avatar-module__textWrapper___zp-jD", Bt = "Avatar-module__image___ieqGp", Et = "Avatar-module__placeholder___IDW7-", H = {
171
+ root: Rt,
172
+ iconWrapper: Mt,
173
+ textWrapper: Ft,
174
+ image: Bt,
175
+ placeholder: Et
176
+ }, eo = y(function({
177
177
  size: e = "default",
178
- variant: n = "solid",
178
+ variant: a = "solid",
179
179
  icon: s,
180
- children: o,
181
- src: t,
180
+ children: t,
181
+ src: o,
182
182
  overStyled: l = !1,
183
183
  ...c
184
- }, d) {
185
- const i = {
184
+ }, i) {
185
+ const d = {
186
186
  solid: "filled",
187
187
  outline: "outline",
188
188
  ghost: "transparent"
@@ -190,295 +190,295 @@ const nt = "Avatar-module__root___fXu-J", lt = "Avatar-module__iconWrapper___ojl
190
190
  default: "md",
191
191
  small: "sm",
192
192
  large: "lg"
193
- }, m = N(c, l), y = m;
194
- let u = "text";
195
- t ? u = "image" : s && (u = "icon");
196
- const _ = {
197
- root: V.root,
198
- image: V.image,
199
- placeholder: V.placeholder
200
- }, f = y.classNames;
193
+ }, m = N(c, l), $ = m;
194
+ let _ = "text";
195
+ o ? _ = "image" : s && (_ = "icon");
196
+ const u = {
197
+ root: H.root,
198
+ image: H.image,
199
+ placeholder: H.placeholder
200
+ }, f = $.classNames;
201
201
  if (f && typeof f == "object" && !Array.isArray(f)) {
202
202
  const h = f;
203
- _.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;
203
+ u.root = h.root ? `${H.root} ${h.root}` : H.root, u.image = h.image ? `${H.image} ${h.image}` : H.image, u.placeholder = h.placeholder ? `${H.placeholder} ${h.placeholder}` : H.placeholder;
204
204
  }
205
- const C = y.className;
206
- return /* @__PURE__ */ r(
207
- Oo,
205
+ const C = $.className;
206
+ return /* @__PURE__ */ n(
207
+ rt,
208
208
  {
209
- ref: d,
209
+ ref: i,
210
210
  className: C,
211
- classNames: _,
212
- variant: i[n],
211
+ classNames: u,
212
+ variant: d[a],
213
213
  size: p[e],
214
- src: t,
215
- "data-variant": n,
214
+ src: o,
215
+ "data-variant": a,
216
216
  "data-size": e,
217
- "data-style": u,
217
+ "data-style": _,
218
218
  ...m,
219
- children: s != null ? /* @__PURE__ */ r("span", { className: V.iconWrapper, "aria-hidden": !0, children: s }) : o != null ? /* @__PURE__ */ r("span", { className: V.textWrapper, children: o }) : void 0
219
+ children: s != null ? /* @__PURE__ */ n("span", { className: H.iconWrapper, "aria-hidden": !0, children: s }) : t != null ? /* @__PURE__ */ n("span", { className: H.textWrapper, children: t }) : void 0
220
220
  }
221
221
  );
222
222
  });
223
- Ge.displayName = "Avatar";
224
- const As = oe(Ge), pt = "Badge-module__root___5osNT", H = {
225
- root: pt
226
- }, qe = v(function({ variant: e = "primary-color", overStyled: n = !1, ...s }, o) {
227
- const t = N(s, n), l = {
228
- root: H.root,
229
- section: H.section,
230
- label: H.label
231
- }, c = t.classNames;
223
+ eo.displayName = "Avatar";
224
+ const jn = X(eo), jt = "Badge-module__root___5osNT", Y = {
225
+ root: jt
226
+ }, oo = y(function({ variant: e = "primary-color", overStyled: a = !1, ...s }, t) {
227
+ const o = N(s, a), l = {
228
+ root: Y.root,
229
+ section: Y.section,
230
+ label: Y.label
231
+ }, c = o.classNames;
232
232
  if (c && typeof c == "object" && !Array.isArray(c)) {
233
233
  const p = c;
234
- l.root = p.root ? `${H.root} ${p.root}` : H.root, l.section = p.section ?? H.section, l.label = p.label ?? H.label;
234
+ l.root = p.root ? `${Y.root} ${p.root}` : Y.root, l.section = p.section ?? Y.section, l.label = p.label ?? Y.label;
235
235
  }
236
- const d = t.className, i = d ? `${H.root} ${d}` : H.root;
237
- return /* @__PURE__ */ r(
238
- Io,
236
+ const i = o.className, d = i ? `${Y.root} ${i}` : Y.root;
237
+ return /* @__PURE__ */ n(
238
+ lt,
239
239
  {
240
- ref: o,
240
+ ref: t,
241
241
  variant: "filled",
242
242
  "data-variant": e,
243
- ...t,
244
- className: i,
243
+ ...o,
244
+ className: d,
245
245
  classNames: l
246
246
  }
247
247
  );
248
248
  });
249
- qe.displayName = "Badge";
250
- const Ws = oe(qe), mt = "Breadcrumb-module__root___x-9ln", ut = "Breadcrumb-module__separator___qrUX-", X = {
251
- root: mt,
252
- separator: ut
253
- }, _t = v(
254
- function({ overStyled: e = !1, separator: n = ">", ...s }, o) {
255
- const t = N(
256
- { separator: n, ...s },
249
+ oo.displayName = "Badge";
250
+ const Dn = X(oo), Dt = "Breadcrumb-module__root___x-9ln", Vt = "Breadcrumb-module__separator___qrUX-", ae = {
251
+ root: Dt,
252
+ separator: Vt
253
+ }, Gt = y(
254
+ function({ overStyled: e = !1, separator: a = ">", ...s }, t) {
255
+ const o = N(
256
+ { separator: a, ...s },
257
257
  e
258
258
  ), l = {
259
- root: X.root,
260
- separator: X.separator
261
- }, c = t.classNames;
259
+ root: ae.root,
260
+ separator: ae.separator
261
+ }, c = o.classNames;
262
262
  if (c && typeof c == "object" && !Array.isArray(c)) {
263
263
  const p = c;
264
- l.root = p.root ? `${X.root} ${p.root}` : X.root, l.separator = p.separator ? `${X.separator} ${p.separator}` : X.separator;
264
+ l.root = p.root ? `${ae.root} ${p.root}` : ae.root, l.separator = p.separator ? `${ae.separator} ${p.separator}` : ae.separator;
265
265
  }
266
- const d = t.className, i = d ? `${X.root} ${d}` : X.root;
267
- return /* @__PURE__ */ r(
268
- zo,
266
+ const i = o.className, d = i ? `${ae.root} ${i}` : ae.root;
267
+ return /* @__PURE__ */ n(
268
+ ct,
269
269
  {
270
- ref: o,
271
- ...t,
272
- className: i,
270
+ ref: t,
271
+ ...o,
272
+ className: d,
273
273
  classNames: l
274
274
  }
275
275
  );
276
276
  }
277
277
  );
278
- _t.displayName = "Breadcrumb";
279
- const bt = "Button-module__root___Q2R8-", yt = "Button-module__label___UJ3Zt", ht = "Button-module__labelText___rFV5p", ft = "Button-module__iconWrapper___uEKPa", Nt = "Button-module__section___f2mKr", G = {
280
- root: bt,
281
- label: yt,
282
- labelText: ht,
283
- iconWrapper: ft,
284
- section: Nt
278
+ Gt.displayName = "Breadcrumb";
279
+ const qt = "Button-module__root___Q2R8-", Ht = "Button-module__label___UJ3Zt", Zt = "Button-module__labelText___rFV5p", Ut = "Button-module__iconWrapper___uEKPa", Yt = "Button-module__section___f2mKr", Z = {
280
+ root: qt,
281
+ label: Ht,
282
+ labelText: Zt,
283
+ iconWrapper: Ut,
284
+ section: Yt
285
285
  };
286
- function $t(a) {
287
- return a == null || a === "" ? !1 : typeof a == "string" ? a.trim() !== "" : !0;
286
+ function Kt(r) {
287
+ return r == null || r === "" ? !1 : typeof r == "string" ? r.trim() !== "" : !0;
288
288
  }
289
- const He = v(function({
289
+ const to = y(function({
290
290
  variant: e = "solid",
291
- size: n = "default",
291
+ size: a = "default",
292
292
  icon: s,
293
- children: o,
294
- overStyled: t = !1,
293
+ children: t,
294
+ overStyled: o = !1,
295
295
  ...l
296
296
  }, c) {
297
- const d = {
297
+ const i = {
298
298
  solid: "filled",
299
299
  outline: "outline",
300
300
  text: "subtle"
301
- }, i = {
301
+ }, d = {
302
302
  default: "md",
303
303
  small: "sm"
304
- }, p = N(l, t), m = p;
304
+ }, p = N(l, o), m = p;
305
305
  delete m.fullWidth;
306
- const y = !!s || !!m.leftSection, u = !!m.rightSection, _ = (y || u) && !$t(o);
307
- typeof process < "u" && process.env.NODE_ENV !== "production" && _ && !m["aria-label"] && console.warn(
306
+ const $ = !!s || !!m.leftSection, _ = !!m.rightSection, u = ($ || _) && !Kt(t);
307
+ typeof process < "u" && process.env.NODE_ENV !== "production" && u && !m["aria-label"] && console.warn(
308
308
  '[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
309
309
  );
310
310
  const f = {
311
- root: G.root,
312
- section: G.section,
313
- label: G.label
311
+ root: Z.root,
312
+ section: Z.section,
313
+ label: Z.label
314
314
  }, C = m.classNames;
315
315
  if (C && typeof C == "object" && !Array.isArray(C)) {
316
316
  const b = C;
317
- f.root = b.root ? `${G.root} ${b.root}` : G.root, f.section = b.section ?? G.section, f.label = b.label ?? G.label;
317
+ f.root = b.root ? `${Z.root} ${b.root}` : Z.root, f.section = b.section ?? Z.section, f.label = b.label ?? Z.label;
318
318
  }
319
- const h = m.className, w = h ? `${G.root} ${h}` : G.root;
320
- return /* @__PURE__ */ r(
321
- Ro,
319
+ const h = m.className, g = h ? `${Z.root} ${h}` : Z.root;
320
+ return /* @__PURE__ */ n(
321
+ it,
322
322
  {
323
323
  ref: c,
324
- className: w,
324
+ className: g,
325
325
  classNames: f,
326
- variant: d[e],
327
- size: i[n],
328
- leftSection: s != null ? /* @__PURE__ */ r("span", { className: G.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
326
+ variant: i[e],
327
+ size: d[a],
328
+ leftSection: s != null ? /* @__PURE__ */ n("span", { className: Z.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
329
329
  "data-variant": e,
330
- "data-size": n,
331
- ..._ ? { "data-icon-only": "" } : {},
330
+ "data-size": a,
331
+ ...u ? { "data-icon-only": "" } : {},
332
332
  ...p,
333
- children: /* @__PURE__ */ r("span", { className: G.labelText, children: o })
333
+ children: /* @__PURE__ */ n("span", { className: Z.labelText, children: t })
334
334
  }
335
335
  );
336
336
  });
337
- He.displayName = "Button";
338
- const Ss = oe(
339
- He
340
- ), vt = "Card-module__root___c9KvZ", Ct = "Card-module__header___PTXf2 recursica_brand_typography_h3", wt = "Card-module__footer___Mu-JC", gt = "Card-module__section___BRT8H", Pt = "Card-module__content___oFIQa", Z = {
341
- root: vt,
342
- header: Ct,
343
- footer: wt,
344
- section: gt,
345
- content: Pt
346
- }, Ue = v(function({ overStyled: e = !1, ...n }, s) {
347
- const o = N(n, e), t = {
348
- root: Z.root
349
- }, l = o.classNames;
337
+ to.displayName = "Button";
338
+ const Vn = X(
339
+ to
340
+ ), Qt = "Card-module__root___c9KvZ", Jt = "Card-module__header___PTXf2 recursica_brand_typography_h3", Xt = "Card-module__footer___Mu-JC", es = "Card-module__section___BRT8H", os = "Card-module__content___oFIQa", J = {
341
+ root: Qt,
342
+ header: Jt,
343
+ footer: Xt,
344
+ section: es,
345
+ content: os
346
+ }, so = y(function({ overStyled: e = !1, ...a }, s) {
347
+ const t = N(a, e), o = {
348
+ root: J.root
349
+ }, l = t.classNames;
350
350
  if (l && typeof l == "object" && !Array.isArray(l)) {
351
- const d = l;
352
- Object.keys(d).forEach((i) => {
353
- t[i] ? t[i] = `${t[i]} ${d[i]}` : t[i] = d[i];
351
+ const i = l;
352
+ Object.keys(i).forEach((d) => {
353
+ o[d] ? o[d] = `${o[d]} ${i[d]}` : o[d] = i[d];
354
354
  });
355
355
  }
356
- const c = o.className;
357
- return /* @__PURE__ */ r(
358
- Ce,
356
+ const c = t.className;
357
+ return /* @__PURE__ */ n(
358
+ Le,
359
359
  {
360
360
  ref: s,
361
361
  className: c,
362
- classNames: t,
363
- ...o
362
+ classNames: o,
363
+ ...t
364
364
  }
365
365
  );
366
366
  });
367
- Ue.displayName = "Card";
368
- const Ye = v(
369
- function({ overStyled: e = !1, ...n }, s) {
370
- const o = N(n, e), t = o.className;
371
- return /* @__PURE__ */ r(
372
- Ce.Section,
367
+ so.displayName = "Card";
368
+ const ao = y(
369
+ function({ overStyled: e = !1, ...a }, s) {
370
+ const t = N(a, e), o = t.className;
371
+ return /* @__PURE__ */ n(
372
+ Le.Section,
373
373
  {
374
374
  ref: s,
375
- className: t ? `${Z.section} ${t}` : Z.section,
376
- ...o
375
+ className: o ? `${J.section} ${o}` : J.section,
376
+ ...t
377
377
  }
378
378
  );
379
379
  }
380
380
  );
381
- Ye.displayName = "CardSection";
382
- const Ze = v(
383
- function({ overStyled: e = !1, ...n }, s) {
384
- const o = N(n, e), t = o.className;
385
- return /* @__PURE__ */ r(
386
- Ce.Section,
381
+ ao.displayName = "CardSection";
382
+ const no = y(
383
+ function({ overStyled: e = !1, ...a }, s) {
384
+ const t = N(a, e), o = t.className;
385
+ return /* @__PURE__ */ n(
386
+ Le.Section,
387
387
  {
388
388
  ref: s,
389
- className: t ? `${Z.header} ${t}` : Z.header,
390
- ...o
389
+ className: o ? `${J.header} ${o}` : J.header,
390
+ ...t
391
391
  }
392
392
  );
393
393
  }
394
394
  );
395
- Ze.displayName = "CardHeader";
396
- const Ke = v(
397
- function({ overStyled: e = !1, ...n }, s) {
398
- const o = N(n, e), t = o.className;
399
- return /* @__PURE__ */ r(
400
- Ce.Section,
395
+ no.displayName = "CardHeader";
396
+ const ro = y(
397
+ function({ overStyled: e = !1, ...a }, s) {
398
+ const t = N(a, e), o = t.className;
399
+ return /* @__PURE__ */ n(
400
+ Le.Section,
401
401
  {
402
402
  ref: s,
403
- className: t ? `${Z.footer} ${t}` : Z.footer,
404
- ...o
403
+ className: o ? `${J.footer} ${o}` : J.footer,
404
+ ...t
405
405
  }
406
406
  );
407
407
  }
408
408
  );
409
- Ke.displayName = "CardFooter";
410
- const Qe = v(
411
- function({ overStyled: e = !1, ...n }, s) {
412
- const o = N(n, e), t = o.className;
413
- return /* @__PURE__ */ r(
409
+ ro.displayName = "CardFooter";
410
+ const lo = y(
411
+ function({ overStyled: e = !1, ...a }, s) {
412
+ const t = N(a, e), o = t.className;
413
+ return /* @__PURE__ */ n(
414
414
  "div",
415
415
  {
416
416
  ref: s,
417
- className: t ? `${Z.content} ${t}` : Z.content,
418
- ...o
417
+ className: o ? `${J.content} ${o}` : J.content,
418
+ ...t
419
419
  }
420
420
  );
421
421
  }
422
422
  );
423
- Qe.displayName = "CardContent";
424
- const Xe = oe(Ue), we = Xe;
425
- we.Section = Ye;
426
- we.Header = Ze;
427
- we.Footer = Ke;
428
- we.Content = Qe;
429
- const ks = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText___rieFR", Wt = "Label-module__required___Ggrzc", St = "Label-module__optionalText___Y2yun", kt = "Label-module__actionAreaWrapper___ELoZK", Tt = "Label-module__editIconWrapper___NG2xW", D = {
430
- root: xt,
431
- labelText: At,
432
- required: Wt,
433
- optionalText: St,
434
- actionAreaWrapper: kt,
435
- editIconWrapper: Tt
436
- }, Je = v(function({
423
+ lo.displayName = "CardContent";
424
+ const co = X(so), Ie = co;
425
+ Ie.Section = ao;
426
+ Ie.Header = no;
427
+ Ie.Footer = ro;
428
+ Ie.Content = lo;
429
+ const Gn = co, ts = "Label-module__root___e6HXZ", ss = "Label-module__labelText___rieFR", as = "Label-module__required___Ggrzc", ns = "Label-module__optionalText___Y2yun", rs = "Label-module__actionAreaWrapper___ELoZK", ls = "Label-module__editIconWrapper___NG2xW", q = {
430
+ root: ts,
431
+ labelText: ss,
432
+ required: as,
433
+ optionalText: ns,
434
+ actionAreaWrapper: rs,
435
+ editIconWrapper: ls
436
+ }, io = y(function({
437
437
  labelSize: e = "default",
438
- labelAlignment: n,
438
+ labelAlignment: a,
439
439
  required: s = !1,
440
- labelOptionalText: o,
441
- labelWithEditIcon: t,
440
+ labelOptionalText: t,
441
+ labelWithEditIcon: o,
442
442
  labelActionArea: l,
443
443
  onLabelEditClick: c,
444
- children: d,
445
- overStyled: i = !1,
444
+ children: i,
445
+ overStyled: d = !1,
446
446
  ...p
447
447
  }, m) {
448
- const y = n || "left";
449
- let u;
450
- s || (o === !0 ? u = "optional" : o && (u = o));
451
- const _ = N(p, i), f = _, C = {
452
- label: D.root,
453
- required: D.required
448
+ const $ = a || "left";
449
+ let _;
450
+ s || (t === !0 ? _ = "optional" : t && (_ = t));
451
+ const u = N(p, d), f = u, C = {
452
+ label: q.root,
453
+ required: q.required
454
454
  }, h = f.classNames;
455
455
  if (h && typeof h == "object" && !Array.isArray(h)) {
456
- const W = h;
457
- C.label = W.label ? `${D.root} ${W.label}` : D.root, C.required = W.required ? `${D.required} ${W.required}` : D.required;
456
+ const A = h;
457
+ C.label = A.label ? `${q.root} ${A.label}` : q.root, C.required = A.required ? `${q.required} ${A.required}` : q.required;
458
458
  }
459
- const w = f.className, b = w ? `${D.root} ${w}` : D.root;
460
- return /* @__PURE__ */ E(
461
- Fe.Label,
459
+ const g = f.className, b = g ? `${q.root} ${g}` : q.root;
460
+ return /* @__PURE__ */ M(
461
+ Ue.Label,
462
462
  {
463
463
  ref: m,
464
464
  className: b,
465
465
  classNames: C,
466
466
  "data-size": e,
467
- "data-alignment": y,
468
- required: s && !t,
469
- ..._,
467
+ "data-alignment": $,
468
+ required: s && !o,
469
+ ...u,
470
470
  children: [
471
- /* @__PURE__ */ r("span", { className: D.labelText, children: d }),
472
- u && /* @__PURE__ */ r("span", { className: D.optionalText, children: typeof u == "string" ? `(${u})` : u }),
473
- l ? /* @__PURE__ */ r("span", { className: D.actionAreaWrapper, children: l }) : t ? /* @__PURE__ */ r(
471
+ /* @__PURE__ */ n("span", { className: q.labelText, children: i }),
472
+ _ && /* @__PURE__ */ n("span", { className: q.optionalText, children: typeof _ == "string" ? `(${_})` : _ }),
473
+ l ? /* @__PURE__ */ n("span", { className: q.actionAreaWrapper, children: l }) : o ? /* @__PURE__ */ n(
474
474
  "button",
475
475
  {
476
476
  type: "button",
477
- className: D.editIconWrapper,
477
+ className: q.editIconWrapper,
478
478
  "data-replaces-asterisk": s ? "true" : void 0,
479
479
  onClick: c,
480
480
  "aria-label": "Edit",
481
- children: /* @__PURE__ */ r(
481
+ children: /* @__PURE__ */ n(
482
482
  "svg",
483
483
  {
484
484
  width: "16",
@@ -486,7 +486,7 @@ const ks = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText_
486
486
  viewBox: "0 0 16 16",
487
487
  fill: "none",
488
488
  xmlns: "http://www.w3.org/2000/svg",
489
- children: /* @__PURE__ */ r(
489
+ children: /* @__PURE__ */ n(
490
490
  "path",
491
491
  {
492
492
  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",
@@ -503,48 +503,48 @@ const ks = Xe, xt = "Label-module__root___e6HXZ", At = "Label-module__labelText_
503
503
  }
504
504
  );
505
505
  });
506
- Je.displayName = "Label";
507
- const Ot = "FormControlLayout-module__root___yNDhZ", It = "FormControlLayout-module__leftSection___GBM1r", zt = "FormControlLayout-module__rightSection___bcL4v", ye = {
508
- root: Ot,
509
- leftSection: It,
510
- rightSection: zt
511
- }, ee = v(function({
506
+ io.displayName = "Label";
507
+ const cs = "FormControlLayout-module__root___yNDhZ", is = "FormControlLayout-module__leftSection___GBM1r", ds = "FormControlLayout-module__rightSection___bcL4v", ge = {
508
+ root: cs,
509
+ leftSection: is,
510
+ rightSection: ds
511
+ }, re = y(function({
512
512
  formLayout: e = "stacked",
513
- labelSize: n = "default",
513
+ labelSize: a = "default",
514
514
  controlMaxWidth: s,
515
- controlMinWidth: o,
516
- leftSection: t,
515
+ controlMinWidth: t,
516
+ leftSection: o,
517
517
  children: l,
518
518
  className: c,
519
- style: d,
520
- ...i
519
+ style: i,
520
+ ...d
521
521
  }, p) {
522
- const m = c ? `${ye.root} ${c}` : ye.root, u = t != null || e === "side-by-side";
523
- return /* @__PURE__ */ E(
522
+ const m = c ? `${ge.root} ${c}` : ge.root, _ = o != null || e === "side-by-side";
523
+ return /* @__PURE__ */ M(
524
524
  "div",
525
525
  {
526
526
  ref: p,
527
527
  className: m,
528
528
  "data-form-layout": e,
529
529
  style: {
530
- ...d,
530
+ ...i,
531
531
  ...s ? { "--form-control-max-width": s } : {},
532
- ...o ? { "--form-control-min-width": o } : {}
532
+ ...t ? { "--form-control-min-width": t } : {}
533
533
  },
534
- ...i,
534
+ ...d,
535
535
  children: [
536
- u && /* @__PURE__ */ r("div", { className: ye.leftSection, "data-size": n, children: t }),
537
- /* @__PURE__ */ r("div", { className: ye.rightSection, children: l })
536
+ _ && /* @__PURE__ */ n("div", { className: ge.leftSection, "data-size": a, children: o }),
537
+ /* @__PURE__ */ n("div", { className: ge.rightSection, children: l })
538
538
  ]
539
539
  }
540
540
  );
541
541
  });
542
- ee.displayName = "FormControlLayout";
543
- const Rt = "AssistiveElement-module__root___WhQ43", Lt = "AssistiveElement-module__textWrapper___sfy5E", Mt = "AssistiveElement-module__iconWrapper___gObRF", Pe = {
544
- root: Rt,
545
- textWrapper: Lt,
546
- iconWrapper: Mt
547
- }, Ft = () => /* @__PURE__ */ E(
542
+ re.displayName = "FormControlLayout";
543
+ const ps = "AssistiveElement-module__root___WhQ43", ms = "AssistiveElement-module__textWrapper___sfy5E", _s = "AssistiveElement-module__iconWrapper___gObRF", Oe = {
544
+ root: ps,
545
+ textWrapper: ms,
546
+ iconWrapper: _s
547
+ }, us = () => /* @__PURE__ */ M(
548
548
  "svg",
549
549
  {
550
550
  xmlns: "http://www.w3.org/2000/svg",
@@ -555,12 +555,12 @@ const Rt = "AssistiveElement-module__root___WhQ43", Lt = "AssistiveElement-modul
555
555
  strokeLinecap: "round",
556
556
  strokeLinejoin: "round",
557
557
  children: [
558
- /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
559
- /* @__PURE__ */ r("path", { d: "M12 16v-4" }),
560
- /* @__PURE__ */ r("path", { d: "M12 8h.01" })
558
+ /* @__PURE__ */ n("circle", { cx: "12", cy: "12", r: "10" }),
559
+ /* @__PURE__ */ n("path", { d: "M12 16v-4" }),
560
+ /* @__PURE__ */ n("path", { d: "M12 8h.01" })
561
561
  ]
562
562
  }
563
- ), Et = () => /* @__PURE__ */ E(
563
+ ), bs = () => /* @__PURE__ */ M(
564
564
  "svg",
565
565
  {
566
566
  xmlns: "http://www.w3.org/2000/svg",
@@ -571,362 +571,362 @@ const Rt = "AssistiveElement-module__root___WhQ43", Lt = "AssistiveElement-modul
571
571
  strokeLinecap: "round",
572
572
  strokeLinejoin: "round",
573
573
  children: [
574
- /* @__PURE__ */ r("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" }),
575
- /* @__PURE__ */ r("path", { d: "M12 9v4" }),
576
- /* @__PURE__ */ r("path", { d: "M12 17h.01" })
574
+ /* @__PURE__ */ n("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" }),
575
+ /* @__PURE__ */ n("path", { d: "M12 9v4" }),
576
+ /* @__PURE__ */ n("path", { d: "M12 17h.01" })
577
577
  ]
578
578
  }
579
- ), xe = v(function({
579
+ ), Re = y(function({
580
580
  assistiveVariant: e = "help",
581
- assistiveWithIcon: n = !0,
581
+ assistiveWithIcon: a = !0,
582
582
  children: s,
583
- className: o,
584
- overStyled: t = !1,
583
+ className: t,
584
+ overStyled: o = !1,
585
585
  ...l
586
586
  }, c) {
587
- const i = N(l, t), p = Pe.root, m = o ? `${p} ${o}` : p, y = e === "error" ? Et : Ft;
588
- return /* @__PURE__ */ E(
587
+ const d = N(l, o), p = Oe.root, m = t ? `${p} ${t}` : p, $ = e === "error" ? bs : us;
588
+ return /* @__PURE__ */ M(
589
589
  "div",
590
590
  {
591
591
  ref: c,
592
592
  className: m,
593
593
  "data-variant": e,
594
- style: i.style,
595
- ...i,
594
+ style: d.style,
595
+ ...d,
596
596
  children: [
597
- n && /* @__PURE__ */ r("span", { className: Pe.iconWrapper, children: /* @__PURE__ */ r(y, {}) }),
598
- /* @__PURE__ */ r("span", { className: Pe.textWrapper, children: s })
597
+ a && /* @__PURE__ */ n("span", { className: Oe.iconWrapper, children: /* @__PURE__ */ n($, {}) }),
598
+ /* @__PURE__ */ n("span", { className: Oe.textWrapper, children: s })
599
599
  ]
600
600
  }
601
601
  );
602
602
  });
603
- xe.displayName = "AssistiveElement";
604
- const Bt = "FormControlWrapper-module__inputSection___HenXk", ze = {
605
- inputSection: Bt
606
- }, fe = v(function({
603
+ Re.displayName = "AssistiveElement";
604
+ const ys = "FormControlWrapper-module__inputSection___HenXk", Ge = {
605
+ inputSection: ys
606
+ }, xe = y(function({
607
607
  formLayout: e,
608
- labelSize: n,
608
+ labelSize: a,
609
609
  labelAlignment: s,
610
- labelOptionalText: o,
611
- labelWithEditIcon: t,
610
+ labelOptionalText: t,
611
+ labelWithEditIcon: o,
612
612
  labelActionArea: l,
613
613
  onLabelEditClick: c,
614
- label: d,
615
- description: i,
614
+ label: i,
615
+ description: d,
616
616
  assistiveText: p,
617
617
  assistiveWithIcon: m = !0,
618
- controlMaxWidth: y,
619
- controlMinWidth: u,
620
- error: _,
618
+ controlMaxWidth: $,
619
+ controlMinWidth: _,
620
+ error: u,
621
621
  required: f,
622
622
  withAsterisk: C,
623
623
  id: h,
624
- children: w,
624
+ children: g,
625
625
  className: b,
626
- overStyled: W = !1,
627
- labelElement: $,
626
+ overStyled: A = !1,
627
+ labelElement: v,
628
628
  // Extracted safely preventing bleeding into HTML domains
629
- ...L
630
- }, S) {
631
- const x = ko(), I = h || `recursica-fc-${x}`, R = p || i, k = R ? `${I}-assistive` : void 0, P = _ ? `${I}-error` : void 0, z = N(L, W), re = b || z.className, be = ze.root, j = re ? `${be} ${re}` : be, Wo = B.isValidElement(w) ? B.cloneElement(
632
- w,
629
+ ...R
630
+ }, W) {
631
+ const x = at(), k = h || `recursica-fc-${x}`, z = p || d, L = z ? `${k}-assistive` : void 0, w = u ? `${k}-error` : void 0, O = N(R, A), ce = b || O.className, Ce = Ge.root, G = ce ? `${Ce} ${ce}` : Ce, tt = V.isValidElement(g) ? V.cloneElement(
632
+ g,
633
633
  {
634
- ...R && !w.props["aria-describedby"] ? { "aria-describedby": k } : {},
635
- ..._ && !w.props["aria-errormessage"] ? { "aria-errormessage": P } : {}
634
+ ...z && !g.props["aria-describedby"] ? { "aria-describedby": L } : {},
635
+ ...u && !g.props["aria-errormessage"] ? { "aria-errormessage": w } : {}
636
636
  }
637
- ) : w, So = d ? /* @__PURE__ */ r(
638
- Je,
637
+ ) : g, st = i ? /* @__PURE__ */ n(
638
+ io,
639
639
  {
640
- id: I,
640
+ id: k,
641
641
  labelAlignment: s,
642
- labelOptionalText: o,
643
- labelWithEditIcon: t,
642
+ labelOptionalText: t,
643
+ labelWithEditIcon: o,
644
644
  labelActionArea: l,
645
645
  onLabelEditClick: c,
646
646
  required: C ?? f,
647
- ...$ === "div" ? { as: "div" } : {},
648
- children: d
647
+ ...v === "div" ? { as: "div" } : {},
648
+ children: i
649
649
  }
650
650
  ) : void 0;
651
- return /* @__PURE__ */ r(
652
- ee,
651
+ return /* @__PURE__ */ n(
652
+ re,
653
653
  {
654
- ref: S,
655
- className: j,
654
+ ref: W,
655
+ className: G,
656
656
  formLayout: e,
657
- labelSize: n,
658
- controlMaxWidth: y,
659
- controlMinWidth: u,
660
- leftSection: So,
661
- ...z,
662
- children: /* @__PURE__ */ E("div", { className: ze.inputSection, children: [
663
- Wo,
664
- _ && /* @__PURE__ */ r(
665
- xe,
657
+ labelSize: a,
658
+ controlMaxWidth: $,
659
+ controlMinWidth: _,
660
+ leftSection: st,
661
+ ...O,
662
+ children: /* @__PURE__ */ M("div", { className: Ge.inputSection, children: [
663
+ tt,
664
+ u && /* @__PURE__ */ n(
665
+ Re,
666
666
  {
667
- id: P,
667
+ id: w,
668
668
  assistiveVariant: "error",
669
669
  assistiveWithIcon: m,
670
- children: _
670
+ children: u
671
671
  }
672
672
  ),
673
- !_ && R && /* @__PURE__ */ r(
674
- xe,
673
+ !u && z && /* @__PURE__ */ n(
674
+ Re,
675
675
  {
676
- id: k,
676
+ id: L,
677
677
  assistiveVariant: "help",
678
678
  assistiveWithIcon: m,
679
- children: R
679
+ children: z
680
680
  }
681
681
  )
682
682
  ] })
683
683
  }
684
684
  );
685
685
  });
686
- fe.displayName = "FormControlWrapper";
687
- const jt = "_root_1qhn7_3", Dt = "_contents_1qhn7_18", ae = {
688
- root: jt,
689
- contents: Dt
690
- }, Vt = v(function({ layer: a, contentsOnly: e, children: n, className: s, style: o, ...t }, l) {
691
- const c = e ? s ? `${ae.root} ${ae.contents} ${s}` : `${ae.root} ${ae.contents}` : s ? `${ae.root} ${s}` : ae.root;
692
- return /* @__PURE__ */ r(
686
+ xe.displayName = "FormControlWrapper";
687
+ const Ns = "_root_1qhn7_3", hs = "_contents_1qhn7_18", pe = {
688
+ root: Ns,
689
+ contents: hs
690
+ }, fs = y(function({ layer: r, contentsOnly: e, children: a, className: s, style: t, ...o }, l) {
691
+ const c = e ? s ? `${pe.root} ${pe.contents} ${s}` : `${pe.root} ${pe.contents}` : s ? `${pe.root} ${s}` : pe.root;
692
+ return /* @__PURE__ */ n(
693
693
  "div",
694
694
  {
695
695
  ref: l,
696
696
  className: c,
697
- style: o,
698
- ...e ? {} : { "data-recursica-layer": String(a) },
699
- ...t,
700
- children: n
697
+ style: t,
698
+ ...e ? {} : { "data-recursica-layer": String(r) },
699
+ ...o,
700
+ children: a
701
701
  }
702
702
  );
703
703
  });
704
- Vt.displayName = "Layer";
705
- const Ne = ({ emptyText: a = "N/A" }) => /* @__PURE__ */ r(B.Fragment, { children: a });
706
- Ne.displayName = "EmptyValueRenderer";
707
- Ne.check = (a) => a == null || a === "" || Array.isArray(a) && a.length === 0;
708
- const Re = "data-recursica-theme";
709
- function Ts({
710
- children: a,
704
+ fs.displayName = "Layer";
705
+ const Se = ({ emptyText: r = "N/A" }) => /* @__PURE__ */ n(V.Fragment, { children: r });
706
+ Se.displayName = "EmptyValueRenderer";
707
+ Se.check = (r) => r == null || r === "" || Array.isArray(r) && r.length === 0;
708
+ const qe = "data-recursica-theme";
709
+ function qn({
710
+ children: r,
711
711
  theme: e = "light"
712
712
  }) {
713
- return To(() => {
714
- const n = document.documentElement;
715
- return n.setAttribute(Re, e), () => {
716
- n.removeAttribute(Re);
713
+ return nt(() => {
714
+ const a = document.documentElement;
715
+ return a.setAttribute(qe, e), () => {
716
+ a.removeAttribute(qe);
717
717
  };
718
- }, [e]), /* @__PURE__ */ r(_e, { children: a });
718
+ }, [e]), /* @__PURE__ */ n($e, { children: r });
719
719
  }
720
- const Gt = "ReadOnlyField-module__textField___qKn25", $e = {
721
- textField: Gt
722
- }, he = ({
723
- value: a,
720
+ const $s = "ReadOnlyField-module__textField___qKn25", Ae = {
721
+ textField: $s
722
+ }, we = ({
723
+ value: r,
724
724
  overStyled: e = !1,
725
- ...n
725
+ ...a
726
726
  }) => {
727
- const s = N(n, e), o = s.className;
728
- return /* @__PURE__ */ r(
729
- Ae,
727
+ const s = N(a, e), t = s.className;
728
+ return /* @__PURE__ */ n(
729
+ Me,
730
730
  {
731
731
  component: "p",
732
- className: o ? `${$e.textField} ${o}` : $e.textField,
732
+ className: t ? `${Ae.textField} ${t}` : Ae.textField,
733
733
  ...s,
734
- children: a != null ? B.isValidElement(a) ? a : Array.isArray(a) ? a.join(", ") : String(a) : ""
734
+ children: r != null ? V.isValidElement(r) ? r : Array.isArray(r) ? r.join(", ") : String(r) : ""
735
735
  }
736
736
  );
737
737
  };
738
- he.displayName = "ReadOnlyTextField";
739
- const eo = v(
740
- function({ value: e, type: n = "text", emptyValueComponent: s, overStyled: o = !1, ...t }, l) {
738
+ we.displayName = "ReadOnlyTextField";
739
+ const po = y(
740
+ function({ value: e, type: a = "text", emptyValueComponent: s, overStyled: t = !1, ...o }, l) {
741
741
  let c = null;
742
- const d = N(t, o), i = s || Ne, m = (i.check ? i.check(e) : Ne.check(e)) ? /* @__PURE__ */ r(i, { value: e }) : e;
743
- switch (n) {
742
+ const i = N(o, t), d = s || Se, m = (d.check ? d.check(e) : Se.check(e)) ? /* @__PURE__ */ n(d, { value: e }) : e;
743
+ switch (a) {
744
744
  case "boolean":
745
- c = /* @__PURE__ */ r(
746
- he,
745
+ c = /* @__PURE__ */ n(
746
+ we,
747
747
  {
748
748
  value: e === !0 ? "True" : e === !1 ? "False" : m,
749
- overStyled: o
749
+ overStyled: t
750
750
  }
751
751
  );
752
752
  break;
753
753
  case "switch":
754
- c = /* @__PURE__ */ r(
755
- he,
754
+ c = /* @__PURE__ */ n(
755
+ we,
756
756
  {
757
757
  value: e === !0 ? "On" : e === !1 ? "Off" : m,
758
- overStyled: o
758
+ overStyled: t
759
759
  }
760
760
  );
761
761
  break;
762
762
  case "text":
763
763
  default:
764
- c = /* @__PURE__ */ r(
765
- he,
764
+ c = /* @__PURE__ */ n(
765
+ we,
766
766
  {
767
767
  value: m,
768
- overStyled: o
768
+ overStyled: t
769
769
  }
770
770
  );
771
771
  break;
772
772
  }
773
- return /* @__PURE__ */ r(
774
- fe,
773
+ return /* @__PURE__ */ n(
774
+ xe,
775
775
  {
776
776
  ref: l,
777
- overStyled: o,
778
- ...d,
777
+ overStyled: t,
778
+ ...i,
779
779
  children: c
780
780
  }
781
781
  );
782
782
  }
783
783
  );
784
- eo.displayName = "ReadOnlyField";
785
- const te = v(function({
784
+ po.displayName = "ReadOnlyField";
785
+ const le = y(function({
786
786
  readOnly: e,
787
- readOnlyComponent: n,
787
+ readOnlyComponent: a,
788
788
  readOnlyType: s = "text",
789
- readOnlyValue: o,
790
- readOnlyNativeProps: t,
789
+ readOnlyValue: t,
790
+ readOnlyNativeProps: o,
791
791
  emptyValueComponent: l,
792
792
  activeComponent: c,
793
- overStyled: d,
794
- onLabelEditClick: i,
793
+ overStyled: i,
794
+ onLabelEditClick: d,
795
795
  ...p
796
796
  }, m) {
797
- return e ? n ? /* @__PURE__ */ r(
798
- fe,
797
+ return e ? a ? /* @__PURE__ */ n(
798
+ xe,
799
799
  {
800
800
  ref: m,
801
801
  ...p,
802
- onLabelEditClick: i,
803
- overStyled: d,
804
- children: /* @__PURE__ */ r(n, { ...t })
802
+ onLabelEditClick: d,
803
+ overStyled: i,
804
+ children: /* @__PURE__ */ n(a, { ...o })
805
805
  }
806
- ) : /* @__PURE__ */ r(
807
- eo,
806
+ ) : /* @__PURE__ */ n(
807
+ po,
808
808
  {
809
809
  ref: m,
810
810
  type: s,
811
- value: o,
811
+ value: t,
812
812
  emptyValueComponent: l,
813
- onLabelEditClick: i,
814
- overStyled: d,
813
+ onLabelEditClick: d,
814
+ overStyled: i,
815
815
  ...p
816
816
  }
817
- ) : /* @__PURE__ */ r(
818
- fe,
817
+ ) : /* @__PURE__ */ n(
818
+ xe,
819
819
  {
820
820
  ref: m,
821
821
  ...p,
822
- onLabelEditClick: i,
823
- overStyled: d,
822
+ onLabelEditClick: d,
823
+ overStyled: i,
824
824
  children: c
825
825
  }
826
826
  );
827
827
  });
828
- te.displayName = "WithReadOnlyWrapper";
829
- const qt = "Checkbox-module__groupRoot___cBS0o", Ht = "Checkbox-module__root___mY3qk", Ut = "Checkbox-module__body___5yC7q", Yt = "Checkbox-module__inner___rTke4", Zt = "Checkbox-module__input___2kt-h", Kt = "Checkbox-module__icon___-O7i6", Qt = "Checkbox-module__labelWrapper___GpZkr", Xt = "Checkbox-module__label___cwRtI", T = {
830
- groupRoot: qt,
831
- root: Ht,
832
- body: Ut,
833
- inner: Yt,
834
- input: Zt,
835
- icon: Kt,
836
- labelWrapper: Qt,
837
- label: Xt
838
- }, oo = v(
839
- function(e, n) {
828
+ le.displayName = "WithReadOnlyWrapper";
829
+ const vs = "Checkbox-module__groupRoot___cBS0o", Cs = "Checkbox-module__root___mY3qk", gs = "Checkbox-module__body___5yC7q", Ps = "Checkbox-module__inner___rTke4", ws = "Checkbox-module__input___2kt-h", xs = "Checkbox-module__icon___-O7i6", Ss = "Checkbox-module__labelWrapper___GpZkr", As = "Checkbox-module__label___cwRtI", T = {
830
+ groupRoot: vs,
831
+ root: Cs,
832
+ body: gs,
833
+ inner: Ps,
834
+ input: ws,
835
+ icon: xs,
836
+ labelWrapper: Ss,
837
+ label: As
838
+ }, mo = y(
839
+ function(e, a) {
840
840
  const {
841
841
  overStyled: s = !1,
842
- formLayout: o = "stacked",
842
+ formLayout: t = "stacked",
843
843
  // Label Wrappers
844
- labelSize: t,
844
+ labelSize: o,
845
845
  labelAlignment: l,
846
846
  labelOptionalText: c,
847
- labelWithEditIcon: d,
848
- onLabelEditClick: i,
847
+ labelWithEditIcon: i,
848
+ onLabelEditClick: d,
849
849
  // Base Mantine Extracted Attributes
850
850
  label: p,
851
851
  description: m,
852
- assistiveText: y,
853
- assistiveWithIcon: u,
854
- error: _,
852
+ assistiveText: $,
853
+ assistiveWithIcon: _,
854
+ error: u,
855
855
  required: f,
856
856
  withAsterisk: C,
857
857
  id: h,
858
- className: w,
858
+ className: g,
859
859
  style: b,
860
- children: W,
861
- readOnly: $,
862
- readOnlyComponent: L,
863
- emptyValueComponent: S,
860
+ children: A,
861
+ readOnly: v,
862
+ readOnlyComponent: R,
863
+ emptyValueComponent: W,
864
864
  value: x,
865
- defaultValue: I,
866
- ...R
867
- } = e, k = N(R, s), P = k;
868
- return delete P.size, /* @__PURE__ */ r(
869
- te,
865
+ defaultValue: k,
866
+ ...z
867
+ } = e, L = N(z, s), w = L;
868
+ return delete w.size, /* @__PURE__ */ n(
869
+ le,
870
870
  {
871
- className: w,
871
+ className: g,
872
872
  style: b,
873
873
  controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
874
874
  controlMinWidth: void 0,
875
875
  overStyled: s,
876
876
  labelElement: "div",
877
- formLayout: o,
878
- labelSize: t,
877
+ formLayout: t,
878
+ labelSize: o,
879
879
  labelAlignment: l,
880
880
  labelOptionalText: c,
881
- labelWithEditIcon: d,
882
- onLabelEditClick: i,
881
+ labelWithEditIcon: i,
882
+ onLabelEditClick: d,
883
883
  label: p,
884
884
  description: m,
885
- assistiveText: y,
886
- assistiveWithIcon: u,
887
- error: _,
885
+ assistiveText: $,
886
+ assistiveWithIcon: _,
887
+ error: u,
888
888
  required: f,
889
889
  withAsterisk: C,
890
890
  id: h,
891
- readOnly: $ && !!L,
892
- readOnlyComponent: L,
893
- emptyValueComponent: S,
891
+ readOnly: v && !!R,
892
+ readOnlyComponent: R,
893
+ emptyValueComponent: W,
894
894
  readOnlyType: "text",
895
- readOnlyValue: x !== void 0 ? x : I,
895
+ readOnlyValue: x !== void 0 ? x : k,
896
896
  readOnlyNativeProps: e,
897
- activeComponent: /* @__PURE__ */ r(
898
- Ee.Group,
897
+ activeComponent: /* @__PURE__ */ n(
898
+ Ye.Group,
899
899
  {
900
- ref: n,
901
- ...k,
902
- disabled: $ || P.disabled,
900
+ ref: a,
901
+ ...L,
902
+ disabled: v || w.disabled,
903
903
  value: x,
904
- defaultValue: I,
905
- children: /* @__PURE__ */ r("div", { className: T.groupRoot, "data-layout": o, children: B.Children.map(W, (g) => B.isValidElement(g) ? B.cloneElement(g, {
906
- disabled: $ || g.props.disabled
907
- }) : g) })
904
+ defaultValue: k,
905
+ children: /* @__PURE__ */ n("div", { className: T.groupRoot, "data-layout": t, children: V.Children.map(A, (P) => V.isValidElement(P) ? V.cloneElement(P, {
906
+ disabled: v || P.props.disabled
907
+ }) : P) })
908
908
  }
909
909
  )
910
910
  }
911
911
  );
912
912
  }
913
913
  );
914
- oo.displayName = "CheckboxGroup";
915
- const to = v(
916
- function(e, n) {
914
+ mo.displayName = "CheckboxGroup";
915
+ const _o = y(
916
+ function(e, a) {
917
917
  const {
918
918
  overStyled: s = !1,
919
- readOnly: o,
920
- readOnlyComponent: t,
919
+ readOnly: t,
920
+ readOnlyComponent: o,
921
921
  disabled: l,
922
922
  formLayout: c,
923
- labelSize: d,
924
- controlMaxWidth: i,
923
+ labelSize: i,
924
+ controlMaxWidth: d,
925
925
  controlMinWidth: p,
926
926
  ...m
927
- } = e, y = N(m, s), u = y;
928
- delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
929
- const _ = {
927
+ } = e, $ = N(m, s), _ = $;
928
+ delete _.size, delete _.color, delete _.radius, delete _.variant, delete _.iconColor;
929
+ const u = {
930
930
  root: T.root,
931
931
  body: T.body,
932
932
  inner: T.inner,
@@ -934,67 +934,67 @@ const to = v(
934
934
  icon: T.icon,
935
935
  labelWrapper: T.labelWrapper,
936
936
  label: T.label
937
- }, f = u.classNames;
937
+ }, f = _.classNames;
938
938
  if (f && typeof f == "object" && !Array.isArray(f)) {
939
939
  const b = f;
940
- _.root = b.root ? `${T.root} ${b.root}` : T.root, _.body = b.body ? `${T.body} ${b.body}` : T.body, _.inner = b.inner ? `${T.inner} ${b.inner}` : T.inner, _.input = b.input ? `${T.input} ${b.input}` : T.input, _.icon = b.icon ? `${T.icon} ${b.icon}` : T.icon, _.labelWrapper = b.labelWrapper ? `${T.labelWrapper} ${b.labelWrapper}` : T.labelWrapper, _.label = b.label ? `${T.label} ${b.label}` : T.label;
940
+ u.root = b.root ? `${T.root} ${b.root}` : T.root, u.body = b.body ? `${T.body} ${b.body}` : T.body, u.inner = b.inner ? `${T.inner} ${b.inner}` : T.inner, u.input = b.input ? `${T.input} ${b.input}` : T.input, u.icon = b.icon ? `${T.icon} ${b.icon}` : T.icon, u.labelWrapper = b.labelWrapper ? `${T.labelWrapper} ${b.labelWrapper}` : T.labelWrapper, u.label = b.label ? `${T.label} ${b.label}` : T.label;
941
941
  }
942
- const C = u.className, h = C ? `${T.root} ${C}` : T.root;
943
- if (o && t) {
944
- const b = !!(u.checked ?? u.defaultChecked), $ = /* @__PURE__ */ r(
945
- t,
942
+ const C = _.className, h = C ? `${T.root} ${C}` : T.root;
943
+ if (t && o) {
944
+ const b = !!(_.checked ?? _.defaultChecked), v = /* @__PURE__ */ n(
945
+ o,
946
946
  {
947
947
  ...e,
948
948
  checked: b,
949
- label: u.label
949
+ label: _.label
950
950
  }
951
951
  );
952
- return c ? /* @__PURE__ */ r(
953
- ee,
952
+ return c ? /* @__PURE__ */ n(
953
+ re,
954
954
  {
955
955
  formLayout: c,
956
- labelSize: d,
957
- controlMaxWidth: i,
956
+ labelSize: i,
957
+ controlMaxWidth: d,
958
958
  controlMinWidth: p,
959
- children: $
959
+ children: v
960
960
  }
961
- ) : /* @__PURE__ */ r(_e, { children: $ });
961
+ ) : /* @__PURE__ */ n($e, { children: v });
962
962
  }
963
- const w = /* @__PURE__ */ r(
964
- Ee,
963
+ const g = /* @__PURE__ */ n(
964
+ Ye,
965
965
  {
966
- ref: n,
966
+ ref: a,
967
967
  className: h,
968
- classNames: _,
969
- disabled: o || l,
970
- ...y
968
+ classNames: u,
969
+ disabled: t || l,
970
+ ...$
971
971
  }
972
972
  );
973
- return c ? /* @__PURE__ */ r(
974
- ee,
973
+ return c ? /* @__PURE__ */ n(
974
+ re,
975
975
  {
976
976
  formLayout: c,
977
- labelSize: d,
978
- controlMaxWidth: i,
977
+ labelSize: i,
978
+ controlMaxWidth: d,
979
979
  controlMinWidth: p,
980
- children: w
980
+ children: g
981
981
  }
982
- ) : w;
982
+ ) : g;
983
983
  }
984
984
  );
985
- to.displayName = "Checkbox";
986
- to.Group = oo;
987
- const Jt = "Chip-module__root___f5pFk", er = "Chip-module__label___Ov9pg", or = "Chip-module__mantineIconWrapper___KLSz6", tr = "Chip-module__innerWrapper___EnrTF", rr = "Chip-module__children___zbRAR", sr = "Chip-module__leadingIcon___JBtjQ", ar = "Chip-module__removeIcon___pVju-", M = {
988
- root: Jt,
989
- label: er,
990
- mantineIconWrapper: or,
991
- innerWrapper: tr,
992
- children: rr,
993
- leadingIcon: sr,
994
- removeIcon: ar
985
+ _o.displayName = "Checkbox";
986
+ _o.Group = mo;
987
+ const Ws = "Chip-module__root___f5pFk", Ls = "Chip-module__label___Ov9pg", Ts = "Chip-module__mantineIconWrapper___KLSz6", Is = "Chip-module__innerWrapper___EnrTF", ks = "Chip-module__children___zbRAR", Os = "Chip-module__leadingIcon___JBtjQ", zs = "Chip-module__removeIcon___pVju-", B = {
988
+ root: Ws,
989
+ label: Ls,
990
+ mantineIconWrapper: Ts,
991
+ innerWrapper: Is,
992
+ children: ks,
993
+ leadingIcon: Os,
994
+ removeIcon: zs
995
995
  };
996
- function nr(a) {
997
- return /* @__PURE__ */ E(
996
+ function Rs(r) {
997
+ return /* @__PURE__ */ M(
998
998
  "svg",
999
999
  {
1000
1000
  xmlns: "http://www.w3.org/2000/svg",
@@ -1006,204 +1006,204 @@ function nr(a) {
1006
1006
  strokeWidth: "2",
1007
1007
  strokeLinecap: "round",
1008
1008
  strokeLinejoin: "round",
1009
- ...a,
1009
+ ...r,
1010
1010
  children: [
1011
- /* @__PURE__ */ r("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
1012
- /* @__PURE__ */ r("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
1011
+ /* @__PURE__ */ n("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
1012
+ /* @__PURE__ */ n("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
1013
1013
  ]
1014
1014
  }
1015
1015
  );
1016
1016
  }
1017
- const lr = v(function({
1017
+ const Ms = y(function({
1018
1018
  error: e = !1,
1019
- icon: n,
1019
+ icon: a,
1020
1020
  onRemove: s,
1021
- removeLabel: o = "Remove",
1022
- children: t,
1021
+ removeLabel: t = "Remove",
1022
+ children: o,
1023
1023
  overStyled: l = !1,
1024
1024
  ...c
1025
- }, d) {
1026
- const i = N(c, l), p = i, m = {
1027
- root: M.root,
1028
- label: M.label,
1029
- input: M.input,
1030
- iconWrapper: M.mantineIconWrapper,
1031
- checkIcon: M.checkIcon
1032
- }, y = p.classNames;
1033
- if (y && typeof y == "object" && !Array.isArray(y)) {
1034
- const h = y;
1035
- m.root = h.root ? `${M.root} ${h.root}` : M.root, m.label = h.label ? `${M.label} ${h.label}` : M.label;
1025
+ }, i) {
1026
+ const d = N(c, l), p = d, m = {
1027
+ root: B.root,
1028
+ label: B.label,
1029
+ input: B.input,
1030
+ iconWrapper: B.mantineIconWrapper,
1031
+ checkIcon: B.checkIcon
1032
+ }, $ = p.classNames;
1033
+ if ($ && typeof $ == "object" && !Array.isArray($)) {
1034
+ const h = $;
1035
+ m.root = h.root ? `${B.root} ${h.root}` : B.root, m.label = h.label ? `${B.label} ${h.label}` : B.label;
1036
1036
  }
1037
- const u = p.className, _ = u ? `${M.root} ${u}` : M.root;
1038
- return /* @__PURE__ */ r(
1039
- Lo,
1037
+ const _ = p.className, u = _ ? `${B.root} ${_}` : B.root;
1038
+ return /* @__PURE__ */ n(
1039
+ dt,
1040
1040
  {
1041
- ref: d,
1042
- className: _,
1041
+ ref: i,
1042
+ className: u,
1043
1043
  classNames: m,
1044
1044
  ...(e ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
1045
- ...!t && (!!n || !!s) ? { "data-icon-only": "" } : {},
1046
- ...i,
1047
- children: /* @__PURE__ */ E("span", { className: M.innerWrapper, children: [
1048
- n && /* @__PURE__ */ r("span", { className: M.leadingIcon, "aria-hidden": !0, children: n }),
1049
- /* @__PURE__ */ r("span", { className: M.children, children: t }),
1050
- s && /* @__PURE__ */ r(
1045
+ ...!o && (!!a || !!s) ? { "data-icon-only": "" } : {},
1046
+ ...d,
1047
+ children: /* @__PURE__ */ M("span", { className: B.innerWrapper, children: [
1048
+ a && /* @__PURE__ */ n("span", { className: B.leadingIcon, "aria-hidden": !0, children: a }),
1049
+ /* @__PURE__ */ n("span", { className: B.children, children: o }),
1050
+ s && /* @__PURE__ */ n(
1051
1051
  "span",
1052
1052
  {
1053
1053
  role: "button",
1054
- className: M.removeIcon,
1054
+ className: B.removeIcon,
1055
1055
  onClick: (h) => {
1056
1056
  h.preventDefault(), h.stopPropagation(), s(h);
1057
1057
  },
1058
- "aria-label": o,
1058
+ "aria-label": t,
1059
1059
  onKeyDown: (h) => {
1060
1060
  (h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), s(
1061
1061
  h
1062
1062
  ));
1063
1063
  },
1064
1064
  tabIndex: 0,
1065
- children: /* @__PURE__ */ r(nr, {})
1065
+ children: /* @__PURE__ */ n(Rs, {})
1066
1066
  }
1067
1067
  )
1068
1068
  ] })
1069
1069
  }
1070
1070
  );
1071
1071
  });
1072
- lr.displayName = "Chip";
1073
- const cr = "Container-module__root___UVssr", ce = {
1074
- root: cr
1075
- }, ir = v(
1076
- function({ children: e, size: n, overStyled: s = !1, ...o }, t) {
1077
- const l = N(o, s), c = l, d = {
1072
+ Ms.displayName = "Chip";
1073
+ const Fs = "Container-module__root___UVssr", ue = {
1074
+ root: Fs
1075
+ }, Bs = y(
1076
+ function({ children: e, size: a, ...s }, t) {
1077
+ const o = {
1078
1078
  "rec-sm": "sm",
1079
1079
  "rec-default": "md",
1080
1080
  "rec-md": "md",
1081
1081
  "rec-lg": "lg",
1082
1082
  "rec-xl": "xl",
1083
1083
  "rec-2xl": "xl"
1084
- }, i = typeof n == "string" && d[n] ? d[n] : n, p = {
1085
- root: ce.root
1086
- }, m = c.classNames;
1087
- if (m && typeof m == "object" && !Array.isArray(m)) {
1088
- const _ = m;
1089
- p.root = _.root ? `${ce.root} ${_.root}` : ce.root;
1084
+ }, l = typeof a == "string" && o[a] ? o[a] : a, c = {
1085
+ root: ue.root
1086
+ }, i = s.classNames;
1087
+ if (i && typeof i == "object" && !Array.isArray(i)) {
1088
+ const m = i;
1089
+ c.root = m.root ? `${ue.root} ${m.root}` : ue.root;
1090
1090
  }
1091
- const y = c.className, u = y ? `${ce.root} ${y}` : ce.root;
1092
- return /* @__PURE__ */ r(
1093
- Mo,
1091
+ const d = s.className, p = d ? `${ue.root} ${d}` : ue.root;
1092
+ return /* @__PURE__ */ n(
1093
+ pt,
1094
1094
  {
1095
1095
  ref: t,
1096
- size: i,
1097
- className: u,
1098
- classNames: p,
1099
- ...l,
1096
+ size: l,
1097
+ className: p,
1098
+ classNames: c,
1099
+ ...s,
1100
1100
  children: e
1101
1101
  }
1102
1102
  );
1103
1103
  }
1104
1104
  );
1105
- ir.displayName = "Container";
1106
- const Os = (a) => /* @__PURE__ */ r("div", { ...a, children: "DatePicker" }), dr = "Dropdown-module__root___uVyL0", pr = "Dropdown-module__input___dK4dN", mr = "Dropdown-module__section___j3MRB", ur = "Dropdown-module__dropdown___gG-Sw", _r = "Dropdown-module__option___nAGU-", F = {
1107
- root: dr,
1108
- input: pr,
1109
- section: mr,
1110
- dropdown: ur,
1111
- option: _r
1112
- }, br = v(
1113
- function(e, n) {
1105
+ Bs.displayName = "Container";
1106
+ const Hn = (r) => /* @__PURE__ */ n("div", { ...r, children: "DatePicker" }), Es = "Dropdown-module__root___uVyL0", js = "Dropdown-module__input___dK4dN", Ds = "Dropdown-module__section___j3MRB", Vs = "Dropdown-module__dropdown___gG-Sw", Gs = "Dropdown-module__option___nAGU-", E = {
1107
+ root: Es,
1108
+ input: js,
1109
+ section: Ds,
1110
+ dropdown: Vs,
1111
+ option: Gs
1112
+ }, qs = y(
1113
+ function(e, a) {
1114
1114
  const {
1115
1115
  overStyled: s = !1,
1116
- formLayout: o = "stacked",
1117
- containerWidth: t,
1116
+ formLayout: t = "stacked",
1117
+ containerWidth: o,
1118
1118
  // Label & Wrapper Maps
1119
1119
  labelSize: l,
1120
1120
  labelAlignment: c,
1121
- labelOptionalText: d,
1122
- labelWithEditIcon: i,
1121
+ labelOptionalText: i,
1122
+ labelWithEditIcon: d,
1123
1123
  onLabelEditClick: p,
1124
1124
  label: m,
1125
- assistiveText: y,
1126
- assistiveWithIcon: u,
1127
- error: _,
1125
+ assistiveText: $,
1126
+ assistiveWithIcon: _,
1127
+ error: u,
1128
1128
  required: f,
1129
1129
  withAsterisk: C,
1130
1130
  id: h,
1131
- className: w,
1131
+ className: g,
1132
1132
  style: b,
1133
- disabled: W,
1134
- readOnly: $,
1135
- readOnlyComponent: L,
1136
- emptyValueComponent: S,
1133
+ disabled: A,
1134
+ readOnly: v,
1135
+ readOnlyComponent: R,
1136
+ emptyValueComponent: W,
1137
1137
  value: x,
1138
- defaultValue: I,
1139
- data: R,
1140
- ...k
1141
- } = e, P = N(k, s), g = P;
1142
- delete g.size, delete g.variant, delete g.radius;
1143
- const z = {
1144
- wrapper: F.root,
1138
+ defaultValue: k,
1139
+ data: z,
1140
+ ...L
1141
+ } = e, w = N(L, s), P = w;
1142
+ delete P.size, delete P.variant, delete P.radius;
1143
+ const O = {
1144
+ wrapper: E.root,
1145
1145
  // The nested Input internal relative wrapper bounding box
1146
- input: F.input,
1147
- section: F.section,
1148
- dropdown: F.dropdown,
1149
- option: F.option
1150
- }, re = g.classNames;
1151
- if (re && typeof re == "object" && !Array.isArray(re)) {
1152
- const j = re;
1153
- z.wrapper = j.wrapper ? `${F.root} ${j.wrapper}` : F.root, z.input = j.input ? `${F.input} ${j.input}` : F.input, z.section = j.section ? `${F.section} ${j.section}` : F.section, z.dropdown = j.dropdown ? `${F.dropdown} ${j.dropdown}` : F.dropdown, z.option = j.option ? `${F.option} ${j.option}` : F.option;
1146
+ input: E.input,
1147
+ section: E.section,
1148
+ dropdown: E.dropdown,
1149
+ option: E.option
1150
+ }, ce = P.classNames;
1151
+ if (ce && typeof ce == "object" && !Array.isArray(ce)) {
1152
+ const G = ce;
1153
+ O.wrapper = G.wrapper ? `${E.root} ${G.wrapper}` : E.root, O.input = G.input ? `${E.input} ${G.input}` : E.input, O.section = G.section ? `${E.section} ${G.section}` : E.section, O.dropdown = G.dropdown ? `${E.dropdown} ${G.dropdown}` : E.dropdown, O.option = G.option ? `${E.option} ${G.option}` : E.option;
1154
1154
  }
1155
- const be = {
1155
+ const Ce = {
1156
1156
  ...b || {},
1157
- width: t || "100%"
1157
+ width: o || "100%"
1158
1158
  };
1159
- return /* @__PURE__ */ r(
1160
- te,
1159
+ return /* @__PURE__ */ n(
1160
+ le,
1161
1161
  {
1162
- className: w,
1163
- style: be,
1162
+ className: g,
1163
+ style: Ce,
1164
1164
  controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
1165
1165
  controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
1166
1166
  overStyled: s,
1167
- formLayout: o,
1167
+ formLayout: t,
1168
1168
  labelSize: l,
1169
1169
  labelAlignment: c,
1170
- labelOptionalText: d,
1171
- labelWithEditIcon: i,
1170
+ labelOptionalText: i,
1171
+ labelWithEditIcon: d,
1172
1172
  onLabelEditClick: p,
1173
1173
  label: m,
1174
- assistiveText: y,
1175
- assistiveWithIcon: u,
1176
- error: _,
1174
+ assistiveText: $,
1175
+ assistiveWithIcon: _,
1176
+ error: u,
1177
1177
  required: f,
1178
1178
  withAsterisk: C,
1179
1179
  id: h,
1180
- readOnly: $,
1181
- readOnlyComponent: L,
1182
- emptyValueComponent: S,
1180
+ readOnly: v,
1181
+ readOnlyComponent: R,
1182
+ emptyValueComponent: W,
1183
1183
  readOnlyType: "text",
1184
- readOnlyValue: x !== void 0 ? String(x) : I ? String(I) : void 0,
1184
+ readOnlyValue: x !== void 0 ? String(x) : k ? String(k) : void 0,
1185
1185
  readOnlyNativeProps: e,
1186
1186
  activeComponent: (
1187
1187
  /* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1188
- /* @__PURE__ */ r(
1189
- Fo,
1188
+ /* @__PURE__ */ n(
1189
+ mt,
1190
1190
  {
1191
- ref: n,
1192
- classNames: z,
1193
- disabled: W,
1191
+ ref: a,
1192
+ classNames: O,
1193
+ disabled: A,
1194
1194
  value: x,
1195
- defaultValue: I,
1196
- data: R || [],
1195
+ defaultValue: k,
1196
+ data: z || [],
1197
1197
  label: void 0,
1198
1198
  description: void 0,
1199
1199
  error: void 0,
1200
1200
  required: void 0,
1201
1201
  withAsterisk: void 0,
1202
1202
  wrapperProps: {
1203
- "data-disabled": W ? "true" : void 0,
1204
- "data-error": _ ? "true" : void 0
1203
+ "data-disabled": A ? "true" : void 0,
1204
+ "data-error": u ? "true" : void 0
1205
1205
  },
1206
- ...P
1206
+ ...w
1207
1207
  }
1208
1208
  )
1209
1209
  )
@@ -1211,108 +1211,140 @@ const Os = (a) => /* @__PURE__ */ r("div", { ...a, children: "DatePicker" }), dr
1211
1211
  );
1212
1212
  }
1213
1213
  );
1214
- br.displayName = "Dropdown";
1215
- const Is = (a) => /* @__PURE__ */ r("div", { ...a, children: "FileInput" }), zs = (a) => /* @__PURE__ */ r("div", { ...a, children: "FileUpload" }), yr = "Flex-module__root___yYser", ie = {
1216
- root: yr
1217
- }, ro = v(function({ children: e, overStyled: n = !1, gap: s = "rec-default", ...o }, t) {
1218
- const l = N({ ...o, gap: s }, n), c = l, d = {
1219
- root: ie.root
1220
- }, i = c.classNames;
1221
- if (i && typeof i == "object" && !Array.isArray(i)) {
1222
- const y = i;
1223
- d.root = y.root ? `${ie.root} ${y.root}` : ie.root;
1214
+ qs.displayName = "Dropdown";
1215
+ const Zn = (r) => /* @__PURE__ */ n("div", { ...r, children: "FileInput" }), Un = (r) => /* @__PURE__ */ n("div", { ...r, children: "FileUpload" }), Hs = "Flex-module__root___yYser", be = {
1216
+ root: Hs
1217
+ }, uo = y(function({ children: e, gap: a = "rec-default", ...s }, t) {
1218
+ const o = {
1219
+ root: be.root
1220
+ }, l = s.classNames;
1221
+ if (l && typeof l == "object" && !Array.isArray(l)) {
1222
+ const d = l;
1223
+ o.root = d.root ? `${be.root} ${d.root}` : be.root;
1224
1224
  }
1225
- const p = c.className, m = p ? `${ie.root} ${p}` : ie.root;
1226
- return /* @__PURE__ */ r(
1227
- Eo,
1225
+ const c = s.className, i = c ? `${be.root} ${c}` : be.root;
1226
+ return /* @__PURE__ */ n(
1227
+ _t,
1228
1228
  {
1229
1229
  ref: t,
1230
- className: m,
1231
- classNames: d,
1232
- ...l,
1230
+ className: i,
1231
+ classNames: o,
1232
+ gap: a,
1233
+ ...s,
1233
1234
  children: e
1234
1235
  }
1235
1236
  );
1236
1237
  });
1237
- ro.displayName = "Flex";
1238
- const Rs = oe(ro), hr = "Group-module__root___ftO64", de = {
1239
- root: hr
1240
- }, fr = v(function({ children: e, overStyled: n = !1, gap: s = "rec-default", ...o }, t) {
1241
- const l = N({ ...o, gap: s }, n), c = l, d = {
1242
- root: de.root
1243
- }, i = c.classNames;
1244
- if (i && typeof i == "object" && !Array.isArray(i)) {
1245
- const y = i;
1246
- d.root = y.root ? `${de.root} ${y.root}` : de.root;
1238
+ uo.displayName = "Flex";
1239
+ const Yn = X(uo), Zs = "Group-module__root___ftO64", ye = {
1240
+ root: Zs
1241
+ }, Us = y(function({ children: e, gap: a = "rec-default", ...s }, t) {
1242
+ const o = {
1243
+ root: ye.root
1244
+ }, l = s.classNames;
1245
+ if (l && typeof l == "object" && !Array.isArray(l)) {
1246
+ const d = l;
1247
+ o.root = d.root ? `${ye.root} ${d.root}` : ye.root;
1247
1248
  }
1248
- const p = c.className, m = p ? `${de.root} ${p}` : de.root;
1249
- return /* @__PURE__ */ r(
1250
- Bo,
1249
+ const c = s.className, i = c ? `${ye.root} ${c}` : ye.root;
1250
+ return /* @__PURE__ */ n(
1251
+ ut,
1251
1252
  {
1252
1253
  ref: t,
1253
- className: m,
1254
- classNames: d,
1255
- ...l,
1254
+ className: i,
1255
+ classNames: o,
1256
+ gap: a,
1257
+ ...s,
1256
1258
  children: e
1257
1259
  }
1258
1260
  );
1259
1261
  });
1260
- fr.displayName = "Group";
1261
- const Nr = "HoverCard-module__dropdown___FBPFW", $r = "HoverCard-module__arrow___S9AkE", Le = {
1262
- dropdown: Nr,
1263
- arrow: $r
1264
- }, so = function({
1262
+ Us.displayName = "Group";
1263
+ const Ys = "HoverCard-module__dropdown___FBPFW", Ks = "HoverCard-module__arrow___S9AkE", He = {
1264
+ dropdown: Ys,
1265
+ arrow: Ks
1266
+ }, bo = function({
1265
1267
  overStyled: e = !1,
1266
- withBeak: n = !0,
1268
+ withBeak: a = !0,
1267
1269
  ...s
1268
1270
  }) {
1269
- const o = N(s, e), t = {
1270
- dropdown: Le.dropdown,
1271
- arrow: Le.arrow
1272
- }, l = o.classNames;
1271
+ const t = N(s, e), o = {
1272
+ dropdown: He.dropdown,
1273
+ arrow: He.arrow
1274
+ }, l = t.classNames;
1273
1275
  if (l && typeof l == "object" && !Array.isArray(l)) {
1274
1276
  const p = l;
1275
1277
  Object.keys(p).forEach((m) => {
1276
- t[m] ? t[m] = `${t[m]} ${p[m]}` : t[m] = p[m];
1278
+ o[m] ? o[m] = `${o[m]} ${p[m]}` : o[m] = p[m];
1277
1279
  });
1278
1280
  }
1279
- const c = o.arrowSize ?? 16, d = o.withArrow;
1280
- return /* @__PURE__ */ r(
1281
- We,
1281
+ const c = t.arrowSize ?? 16, i = t.withArrow;
1282
+ return /* @__PURE__ */ n(
1283
+ Fe,
1282
1284
  {
1283
1285
  position: "top",
1284
1286
  arrowSize: c,
1285
- withArrow: n ?? d,
1286
- classNames: t,
1287
- ...o
1287
+ withArrow: a ?? i,
1288
+ classNames: o,
1289
+ ...t
1288
1290
  }
1289
1291
  );
1290
1292
  };
1291
- so.displayName = "HoverCard";
1292
- const ao = function(e) {
1293
- return /* @__PURE__ */ r(We.Target, { ...e });
1293
+ bo.displayName = "HoverCard";
1294
+ const yo = function(e) {
1295
+ return /* @__PURE__ */ n(Fe.Target, { ...e });
1294
1296
  };
1295
- ao.displayName = "HoverCardTarget";
1296
- const no = function({
1297
+ yo.displayName = "HoverCardTarget";
1298
+ const No = function({
1297
1299
  overStyled: e = !1,
1298
- ...n
1300
+ ...a
1299
1301
  }) {
1300
- const s = N(n, e), o = s.className;
1301
- return /* @__PURE__ */ r(
1302
- We.Dropdown,
1302
+ const s = N(a, e), t = s.className;
1303
+ return /* @__PURE__ */ n(
1304
+ Fe.Dropdown,
1303
1305
  {
1304
- className: o,
1306
+ className: t,
1305
1307
  ...s
1306
1308
  }
1307
1309
  );
1308
1310
  };
1309
- no.displayName = "HoverCardDropdown";
1310
- const lo = so;
1311
- lo.Target = ao;
1312
- lo.Dropdown = no;
1313
- const Ls = (a) => /* @__PURE__ */ r("div", { ...a, children: "Link" }), vr = "Loader-module__root___6iYOP", pe = {
1314
- root: vr
1315
- }, Cr = v(function({ variant: e = "oval", size: n = "default", overStyled: s = !1, ...o }, t) {
1311
+ No.displayName = "HoverCardDropdown";
1312
+ const ho = bo;
1313
+ ho.Target = yo;
1314
+ ho.Dropdown = No;
1315
+ const Qs = "Link-module__root___I0VGE", Js = "Link-module__iconWrapper___W-LlF", Xs = "Link-module__labelText___wSvUy", ie = {
1316
+ root: Qs,
1317
+ iconWrapper: Js,
1318
+ labelText: Xs
1319
+ }, fo = y(function({ icon: e, children: a, overStyled: s = !1, ...t }, o) {
1320
+ const l = N(t, s), c = l, i = {
1321
+ root: ie.root
1322
+ }, d = c.classNames;
1323
+ if (d && typeof d == "object" && !Array.isArray(d)) {
1324
+ const $ = d;
1325
+ i.root = $.root ? `${ie.root} ${$.root}` : ie.root;
1326
+ }
1327
+ const p = c.className, m = p ? `${ie.root} ${p}` : ie.root;
1328
+ return /* @__PURE__ */ M(
1329
+ bt,
1330
+ {
1331
+ ref: o,
1332
+ className: m,
1333
+ classNames: i,
1334
+ underline: "never",
1335
+ ...e ? { "data-has-icon": "" } : {},
1336
+ ...l,
1337
+ children: [
1338
+ e && /* @__PURE__ */ n("span", { className: ie.iconWrapper, "aria-hidden": !0, children: e }),
1339
+ /* @__PURE__ */ n("span", { className: ie.labelText, children: a })
1340
+ ]
1341
+ }
1342
+ );
1343
+ });
1344
+ fo.displayName = "Link";
1345
+ const Kn = X(fo), ea = "Loader-module__root___6iYOP", Ne = {
1346
+ root: ea
1347
+ }, oa = y(function({ variant: e = "oval", size: a = "default", overStyled: s = !1, ...t }, o) {
1316
1348
  const c = {
1317
1349
  sm: "small",
1318
1350
  md: "default",
@@ -1320,254 +1352,254 @@ const Ls = (a) => /* @__PURE__ */ r("div", { ...a, children: "Link" }), vr = "Lo
1320
1352
  small: "small",
1321
1353
  default: "default",
1322
1354
  large: "large"
1323
- }[n] || "default", d = N(o, s), i = {
1324
- root: pe.root
1325
- }, p = d.classNames;
1355
+ }[a] || "default", i = N(t, s), d = {
1356
+ root: Ne.root
1357
+ }, p = i.classNames;
1326
1358
  if (p && typeof p == "object" && !Array.isArray(p)) {
1327
- const u = p;
1328
- i.root = u.root ? `${pe.root} ${u.root}` : pe.root;
1359
+ const _ = p;
1360
+ d.root = _.root ? `${Ne.root} ${_.root}` : Ne.root;
1329
1361
  }
1330
- const m = d.className, y = m ? `${pe.root} ${m}` : pe.root;
1331
- return /* @__PURE__ */ r(
1332
- jo,
1362
+ const m = i.className, $ = m ? `${Ne.root} ${m}` : Ne.root;
1363
+ return /* @__PURE__ */ n(
1364
+ yt,
1333
1365
  {
1334
- ref: t,
1366
+ ref: o,
1335
1367
  type: e,
1336
1368
  "data-variant": e,
1337
1369
  "data-size": c,
1338
- ...d,
1339
- className: y,
1340
- classNames: i
1370
+ ...i,
1371
+ className: $,
1372
+ classNames: d
1341
1373
  }
1342
1374
  );
1343
1375
  });
1344
- Cr.displayName = "Loader";
1345
- const wr = "Menu-module__dropdown___j4xuA", gr = "Menu-module__item___NMXha", Pr = "Menu-module__itemLabel___zvcqC", xr = "Menu-module__itemSection___pRIcn", Ar = "Menu-module__divider___wPiNq", Wr = "Menu-module__label___4FBGa", Sr = "Menu-module__chevron___hEEiy", se = {
1346
- dropdown: wr,
1347
- item: gr,
1348
- itemLabel: Pr,
1349
- itemSection: xr,
1350
- divider: Ar,
1351
- label: Wr,
1352
- chevron: Sr
1353
- }, co = function({ overStyled: e = !1, ...n }) {
1354
- const s = N(n, e), o = {
1355
- dropdown: se.dropdown,
1356
- item: se.item,
1357
- itemLabel: se.itemLabel,
1358
- itemSection: se.itemSection,
1359
- divider: se.divider,
1360
- label: se.label,
1361
- chevron: se.chevron
1362
- }, t = s.classNames;
1363
- if (t && typeof t == "object" && !Array.isArray(t)) {
1364
- const l = t;
1376
+ oa.displayName = "Loader";
1377
+ const ta = "Menu-module__dropdown___j4xuA", sa = "Menu-module__item___NMXha", aa = "Menu-module__itemLabel___zvcqC", na = "Menu-module__itemSection___pRIcn", ra = "Menu-module__divider___wPiNq", la = "Menu-module__label___4FBGa", ca = "Menu-module__chevron___hEEiy", de = {
1378
+ dropdown: ta,
1379
+ item: sa,
1380
+ itemLabel: aa,
1381
+ itemSection: na,
1382
+ divider: ra,
1383
+ label: la,
1384
+ chevron: ca
1385
+ }, $o = function({ overStyled: e = !1, ...a }) {
1386
+ const s = N(a, e), t = {
1387
+ dropdown: de.dropdown,
1388
+ item: de.item,
1389
+ itemLabel: de.itemLabel,
1390
+ itemSection: de.itemSection,
1391
+ divider: de.divider,
1392
+ label: de.label,
1393
+ chevron: de.chevron
1394
+ }, o = s.classNames;
1395
+ if (o && typeof o == "object" && !Array.isArray(o)) {
1396
+ const l = o;
1365
1397
  Object.keys(l).forEach((c) => {
1366
- o[c] ? o[c] = `${o[c]} ${l[c]}` : o[c] = l[c];
1398
+ t[c] ? t[c] = `${t[c]} ${l[c]}` : t[c] = l[c];
1367
1399
  });
1368
1400
  }
1369
- return /* @__PURE__ */ r(
1370
- q,
1401
+ return /* @__PURE__ */ n(
1402
+ U,
1371
1403
  {
1372
- classNames: o,
1404
+ classNames: t,
1373
1405
  ...s
1374
1406
  }
1375
1407
  );
1376
1408
  };
1377
- co.displayName = "Menu";
1378
- const io = function(e) {
1379
- return /* @__PURE__ */ r(q.Target, { ...e });
1409
+ $o.displayName = "Menu";
1410
+ const vo = function(e) {
1411
+ return /* @__PURE__ */ n(U.Target, { ...e });
1380
1412
  };
1381
- io.displayName = "MenuTarget";
1382
- const po = v(
1383
- function({ overStyled: e = !1, ...n }, s) {
1384
- const o = N(n, e), t = o.className;
1385
- return /* @__PURE__ */ r(
1386
- q.Dropdown,
1413
+ vo.displayName = "MenuTarget";
1414
+ const Co = y(
1415
+ function({ overStyled: e = !1, ...a }, s) {
1416
+ const t = N(a, e), o = t.className;
1417
+ return /* @__PURE__ */ n(
1418
+ U.Dropdown,
1387
1419
  {
1388
1420
  ref: s,
1389
- className: t,
1390
- ...o
1421
+ className: o,
1422
+ ...t
1391
1423
  }
1392
1424
  );
1393
1425
  }
1394
1426
  );
1395
- po.displayName = "MenuDropdown";
1396
- const mo = v(
1397
- function({ overStyled: e = !1, ...n }, s) {
1398
- const o = N(n, e), t = o;
1399
- e || delete t.color;
1400
- const l = t.className;
1401
- return /* @__PURE__ */ r(
1402
- q.Item,
1427
+ Co.displayName = "MenuDropdown";
1428
+ const go = y(
1429
+ function({ overStyled: e = !1, ...a }, s) {
1430
+ const t = N(a, e), o = t;
1431
+ e || delete o.color;
1432
+ const l = o.className;
1433
+ return /* @__PURE__ */ n(
1434
+ U.Item,
1403
1435
  {
1404
1436
  ref: s,
1405
1437
  className: l,
1406
- ...o
1438
+ ...t
1407
1439
  }
1408
1440
  );
1409
1441
  }
1410
1442
  );
1411
- mo.displayName = "MenuItem";
1412
- const kr = oe(mo), uo = v(
1413
- function({ overStyled: e = !1, ...n }, s) {
1414
- const o = N(n, e), t = o.className;
1415
- return /* @__PURE__ */ r(
1416
- q.Divider,
1443
+ go.displayName = "MenuItem";
1444
+ const ia = X(go), Po = y(
1445
+ function({ overStyled: e = !1, ...a }, s) {
1446
+ const t = N(a, e), o = t.className;
1447
+ return /* @__PURE__ */ n(
1448
+ U.Divider,
1417
1449
  {
1418
1450
  ref: s,
1419
- className: t,
1420
- ...o
1451
+ className: o,
1452
+ ...t
1421
1453
  }
1422
1454
  );
1423
1455
  }
1424
1456
  );
1425
- uo.displayName = "MenuDivider";
1426
- const _o = v(function({ overStyled: e = !1, ...n }, s) {
1427
- const o = N(n, e), t = o.className;
1428
- return /* @__PURE__ */ r(
1429
- q.Label,
1457
+ Po.displayName = "MenuDivider";
1458
+ const wo = y(function({ overStyled: e = !1, ...a }, s) {
1459
+ const t = N(a, e), o = t.className;
1460
+ return /* @__PURE__ */ n(
1461
+ U.Label,
1430
1462
  {
1431
1463
  ref: s,
1432
- className: t,
1433
- ...o
1464
+ className: o,
1465
+ ...t
1434
1466
  }
1435
1467
  );
1436
1468
  });
1437
- _o.displayName = "MenuLabel";
1438
- const bo = function(e) {
1439
- return /* @__PURE__ */ r(q.Sub, { ...e });
1469
+ wo.displayName = "MenuLabel";
1470
+ const xo = function(e) {
1471
+ return /* @__PURE__ */ n(U.Sub, { ...e });
1440
1472
  };
1441
- bo.displayName = "MenuSub";
1442
- const yo = function(e) {
1443
- return /* @__PURE__ */ r(q.Sub.Target, { ...e });
1473
+ xo.displayName = "MenuSub";
1474
+ const So = function(e) {
1475
+ return /* @__PURE__ */ n(U.Sub.Target, { ...e });
1444
1476
  };
1445
- yo.displayName = "MenuSubTarget";
1446
- const ho = v(
1447
- function({ overStyled: e = !1, ...n }, s) {
1448
- const o = N(n, e), t = o;
1449
- e || delete t.color;
1450
- const l = t.className;
1451
- return /* @__PURE__ */ r(
1452
- q.Sub.Item,
1477
+ So.displayName = "MenuSubTarget";
1478
+ const Ao = y(
1479
+ function({ overStyled: e = !1, ...a }, s) {
1480
+ const t = N(a, e), o = t;
1481
+ e || delete o.color;
1482
+ const l = o.className;
1483
+ return /* @__PURE__ */ n(
1484
+ U.Sub.Item,
1453
1485
  {
1454
1486
  ref: s,
1455
1487
  className: l,
1456
- ...o
1488
+ ...t
1457
1489
  }
1458
1490
  );
1459
1491
  }
1460
1492
  );
1461
- ho.displayName = "MenuSubItem";
1462
- const Tr = oe(
1463
- ho
1464
- ), fo = v(
1465
- function({ overStyled: e = !1, ...n }, s) {
1466
- const o = N(n, e), t = o.className;
1467
- return /* @__PURE__ */ r(
1468
- q.Sub.Dropdown,
1493
+ Ao.displayName = "MenuSubItem";
1494
+ const da = X(
1495
+ Ao
1496
+ ), Wo = y(
1497
+ function({ overStyled: e = !1, ...a }, s) {
1498
+ const t = N(a, e), o = t.className;
1499
+ return /* @__PURE__ */ n(
1500
+ U.Sub.Dropdown,
1469
1501
  {
1470
1502
  ref: s,
1471
- className: t,
1472
- ...o
1503
+ className: o,
1504
+ ...t
1473
1505
  }
1474
1506
  );
1475
1507
  }
1476
1508
  );
1477
- fo.displayName = "MenuSubDropdown";
1478
- const ge = bo;
1479
- ge.Target = yo;
1480
- ge.Item = Tr;
1481
- ge.Dropdown = fo;
1482
- const le = co;
1483
- le.Target = io;
1484
- le.Dropdown = po;
1485
- le.Item = kr;
1486
- le.Divider = uo;
1487
- le.Label = _o;
1488
- le.Sub = ge;
1489
- const Ms = (a) => /* @__PURE__ */ r("div", { ...a, children: "Modal" }), Or = "NumberInput-module__root___C6rAn", Ir = "NumberInput-module__input___Ss8p7", zr = "NumberInput-module__section___MijP0", Rr = "NumberInput-module__controls___8UfQ2", Lr = "NumberInput-module__control___Qre9-", me = {
1490
- root: Or,
1491
- input: Ir,
1492
- section: zr,
1493
- controls: Rr,
1494
- control: Lr
1495
- }, Mr = v(
1496
- function(e, n) {
1509
+ Wo.displayName = "MenuSubDropdown";
1510
+ const ke = xo;
1511
+ ke.Target = So;
1512
+ ke.Item = da;
1513
+ ke.Dropdown = Wo;
1514
+ const _e = $o;
1515
+ _e.Target = vo;
1516
+ _e.Dropdown = Co;
1517
+ _e.Item = ia;
1518
+ _e.Divider = Po;
1519
+ _e.Label = wo;
1520
+ _e.Sub = ke;
1521
+ const Qn = (r) => /* @__PURE__ */ n("div", { ...r, children: "Modal" }), pa = "NumberInput-module__root___C6rAn", ma = "NumberInput-module__input___Ss8p7", _a = "NumberInput-module__section___MijP0", ua = "NumberInput-module__controls___8UfQ2", ba = "NumberInput-module__control___Qre9-", he = {
1522
+ root: pa,
1523
+ input: ma,
1524
+ section: _a,
1525
+ controls: ua,
1526
+ control: ba
1527
+ }, ya = y(
1528
+ function(e, a) {
1497
1529
  const {
1498
1530
  overStyled: s = !1,
1499
- formLayout: o = "stacked",
1531
+ formLayout: t = "stacked",
1500
1532
  // Label & Wrapper Maps
1501
- labelSize: t,
1533
+ labelSize: o,
1502
1534
  labelAlignment: l,
1503
1535
  labelOptionalText: c,
1504
- labelWithEditIcon: d,
1505
- onLabelEditClick: i,
1536
+ labelWithEditIcon: i,
1537
+ onLabelEditClick: d,
1506
1538
  label: p,
1507
1539
  assistiveText: m,
1508
- assistiveWithIcon: y,
1509
- error: u,
1510
- required: _,
1540
+ assistiveWithIcon: $,
1541
+ error: _,
1542
+ required: u,
1511
1543
  withAsterisk: f,
1512
1544
  id: C,
1513
1545
  className: h,
1514
- style: w,
1546
+ style: g,
1515
1547
  disabled: b,
1516
- readOnly: W,
1517
- readOnlyComponent: $,
1518
- emptyValueComponent: L,
1519
- value: S,
1548
+ readOnly: A,
1549
+ readOnlyComponent: v,
1550
+ emptyValueComponent: R,
1551
+ value: W,
1520
1552
  defaultValue: x,
1521
- hideControls: I = !1,
1522
- ...R
1523
- } = e, k = N(R, s), P = k;
1524
- delete P.size, delete P.variant, delete P.radius;
1525
- const g = {
1526
- wrapper: me.root,
1553
+ hideControls: k = !1,
1554
+ ...z
1555
+ } = e, L = N(z, s), w = L;
1556
+ delete w.size, delete w.variant, delete w.radius;
1557
+ const P = {
1558
+ wrapper: he.root,
1527
1559
  // The nested Input internal relative wrapper bounding box
1528
- input: me.input,
1529
- section: me.section,
1530
- controls: me.controls,
1531
- control: me.control
1560
+ input: he.input,
1561
+ section: he.section,
1562
+ controls: he.controls,
1563
+ control: he.control
1532
1564
  };
1533
- return /* @__PURE__ */ r(
1534
- te,
1565
+ return /* @__PURE__ */ n(
1566
+ le,
1535
1567
  {
1536
1568
  className: h,
1537
- style: w,
1569
+ style: g,
1538
1570
  controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
1539
1571
  controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
1540
1572
  overStyled: s,
1541
- formLayout: o,
1542
- labelSize: t,
1573
+ formLayout: t,
1574
+ labelSize: o,
1543
1575
  labelAlignment: l,
1544
1576
  labelOptionalText: c,
1545
- labelWithEditIcon: d,
1546
- onLabelEditClick: i,
1577
+ labelWithEditIcon: i,
1578
+ onLabelEditClick: d,
1547
1579
  label: p,
1548
1580
  assistiveText: m,
1549
- assistiveWithIcon: y,
1550
- error: u,
1551
- required: _,
1581
+ assistiveWithIcon: $,
1582
+ error: _,
1583
+ required: u,
1552
1584
  withAsterisk: f,
1553
1585
  id: C,
1554
- readOnly: W,
1555
- readOnlyComponent: $,
1556
- emptyValueComponent: L,
1586
+ readOnly: A,
1587
+ readOnlyComponent: v,
1588
+ emptyValueComponent: R,
1557
1589
  readOnlyType: "text",
1558
- readOnlyValue: S !== void 0 ? S == null ? void 0 : S.toString() : x == null ? void 0 : x.toString(),
1590
+ readOnlyValue: W !== void 0 ? W == null ? void 0 : W.toString() : x == null ? void 0 : x.toString(),
1559
1591
  readOnlyNativeProps: e,
1560
1592
  activeComponent: (
1561
1593
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1562
- /* @__PURE__ */ r(
1563
- Do,
1594
+ /* @__PURE__ */ n(
1595
+ Nt,
1564
1596
  {
1565
- ref: n,
1566
- classNames: g,
1597
+ ref: a,
1598
+ classNames: P,
1567
1599
  disabled: b,
1568
- value: S,
1600
+ value: W,
1569
1601
  defaultValue: x,
1570
- hideControls: I,
1602
+ hideControls: k,
1571
1603
  label: void 0,
1572
1604
  description: void 0,
1573
1605
  error: void 0,
@@ -1575,11 +1607,11 @@ const Ms = (a) => /* @__PURE__ */ r("div", { ...a, children: "Modal" }), Or = "N
1575
1607
  withAsterisk: void 0,
1576
1608
  wrapperProps: {
1577
1609
  "data-disabled": b ? "true" : void 0,
1578
- "data-error": u ? "true" : void 0,
1579
- "data-with-left-section": P.leftSection ? "true" : void 0,
1580
- "data-with-right-section": P.rightSection || !I ? "true" : void 0
1610
+ "data-error": _ ? "true" : void 0,
1611
+ "data-with-left-section": w.leftSection ? "true" : void 0,
1612
+ "data-with-right-section": w.rightSection || !k ? "true" : void 0
1581
1613
  },
1582
- ...k
1614
+ ...L
1583
1615
  }
1584
1616
  )
1585
1617
  )
@@ -1587,542 +1619,870 @@ const Ms = (a) => /* @__PURE__ */ r("div", { ...a, children: "Modal" }), Or = "N
1587
1619
  );
1588
1620
  }
1589
1621
  );
1590
- Mr.displayName = "NumberInput";
1591
- const Fs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Pagination" }), Fr = "Panel-module__content___wdGo-", Er = "Panel-module__inner___ruA2b", Br = "Panel-module__header___o7SiC", jr = "Panel-module__title___181OP recursica_brand_typography_h3", Dr = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP recursica_brand_typography_h3", Vr = "Panel-module__body___SEC3T", Gr = "Panel-module__footer___t6-hz", J = {
1592
- content: Fr,
1593
- inner: Er,
1594
- header: Br,
1595
- title: jr,
1596
- titleTruncate: Dr,
1597
- body: Vr,
1598
- footer: Gr
1599
- }, No = function({
1622
+ ya.displayName = "NumberInput";
1623
+ const Na = "Pagination-module__root___ITRjt", ha = "Pagination-module__control___40yNT", fa = "Pagination-module__dots___Yl9da", $a = "Pagination-module__iconWithLabel___pLM4O", va = "Pagination-module__baseIcon___Qw3bJ", F = {
1624
+ root: Na,
1625
+ control: ha,
1626
+ dots: fa,
1627
+ iconWithLabel: $a,
1628
+ baseIcon: va
1629
+ }, Ca = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", ga = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Pa = "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", wa = "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", xa = {
1630
+ next: Ca,
1631
+ prev: ga,
1632
+ first: Pa,
1633
+ last: wa
1634
+ }, ve = ({
1635
+ type: r,
1636
+ className: e,
1637
+ ...a
1638
+ }) => /* @__PURE__ */ n(
1639
+ "svg",
1640
+ {
1641
+ viewBox: "0 0 16 16",
1642
+ xmlns: "http://www.w3.org/2000/svg",
1643
+ className: `${F.baseIcon} ${e || ""}`.trim(),
1644
+ ...a,
1645
+ children: /* @__PURE__ */ n("path", { d: xa[r], fill: "currentColor" })
1646
+ }
1647
+ ), Lo = (r) => /* @__PURE__ */ M("div", { className: F.iconWithLabel, children: [
1648
+ /* @__PURE__ */ n("span", { children: "Next" }),
1649
+ /* @__PURE__ */ n(ve, { type: "next", ...r })
1650
+ ] }), To = (r) => /* @__PURE__ */ M("div", { className: F.iconWithLabel, children: [
1651
+ /* @__PURE__ */ n(ve, { type: "prev", ...r }),
1652
+ /* @__PURE__ */ n("span", { children: "Prev" })
1653
+ ] }), Io = (r) => /* @__PURE__ */ M("div", { className: F.iconWithLabel, children: [
1654
+ /* @__PURE__ */ n(ve, { type: "first", ...r }),
1655
+ /* @__PURE__ */ n("span", { children: "First" })
1656
+ ] }), ko = (r) => /* @__PURE__ */ M("div", { className: F.iconWithLabel, children: [
1657
+ /* @__PURE__ */ n("span", { children: "Last" }),
1658
+ /* @__PURE__ */ n(ve, { type: "last", ...r })
1659
+ ] });
1660
+ function Oo(r) {
1661
+ const e = {
1662
+ root: F.root,
1663
+ control: F.control,
1664
+ dots: F.dots
1665
+ }, a = r.classNames;
1666
+ if (a && typeof a == "object" && !Array.isArray(a)) {
1667
+ const o = a;
1668
+ e.root = o.root ? `${F.root} ${o.root}` : F.root, e.control = o.control ? `${F.control} ${o.control}` : F.control, e.dots = o.dots ? `${F.dots} ${o.dots}` : F.dots;
1669
+ }
1670
+ const s = r.className;
1671
+ return { className: s ? `${F.root} ${s}` : F.root, classNames: e };
1672
+ }
1673
+ const zo = y(
1674
+ function({ overStyled: e = !1, ...a }, s) {
1675
+ const t = N(a, e), o = Oo(
1676
+ t
1677
+ );
1678
+ return /* @__PURE__ */ n(
1679
+ ee.Root,
1680
+ {
1681
+ ref: s,
1682
+ className: o.className,
1683
+ classNames: o.classNames,
1684
+ ...t
1685
+ }
1686
+ );
1687
+ }
1688
+ );
1689
+ zo.displayName = "Pagination.Root";
1690
+ const Ro = y(function({ withLabel: e, icon: a, ...s }, t) {
1691
+ const o = a || (e ? Lo : void 0);
1692
+ return /* @__PURE__ */ n(
1693
+ ee.Next,
1694
+ {
1695
+ ref: t,
1696
+ "data-variant": "text",
1697
+ icon: o,
1698
+ ...s
1699
+ }
1700
+ );
1701
+ });
1702
+ Ro.displayName = "Pagination.Next";
1703
+ const Mo = y(function({ withLabel: e, icon: a, ...s }, t) {
1704
+ const o = a || (e ? To : void 0);
1705
+ return /* @__PURE__ */ n(
1706
+ ee.Previous,
1707
+ {
1708
+ ref: t,
1709
+ "data-variant": "text",
1710
+ icon: o,
1711
+ ...s
1712
+ }
1713
+ );
1714
+ });
1715
+ Mo.displayName = "Pagination.Previous";
1716
+ const Fo = y(function({ withLabel: e, icon: a, ...s }, t) {
1717
+ const o = a || (e ? Io : void 0);
1718
+ return /* @__PURE__ */ n(
1719
+ ee.First,
1720
+ {
1721
+ ref: t,
1722
+ "data-variant": "text",
1723
+ icon: o,
1724
+ ...s
1725
+ }
1726
+ );
1727
+ });
1728
+ Fo.displayName = "Pagination.First";
1729
+ const Bo = y(function({ withLabel: e, icon: a, ...s }, t) {
1730
+ const o = a || (e ? ko : void 0);
1731
+ return /* @__PURE__ */ n(
1732
+ ee.Last,
1733
+ {
1734
+ ref: t,
1735
+ "data-variant": "text",
1736
+ icon: o,
1737
+ ...s
1738
+ }
1739
+ );
1740
+ });
1741
+ Bo.displayName = "Pagination.Last";
1742
+ const Eo = y(
1743
+ function({ overStyled: e = !1, getControlProps: a, withLabels: s, ...t }, o) {
1744
+ const l = N(t, e), c = Oo(
1745
+ l
1746
+ ), i = (p) => {
1747
+ const m = { "data-variant": "text" };
1748
+ return a ? { ...m, ...a(p) } : m;
1749
+ }, d = s ? {
1750
+ nextIcon: Lo,
1751
+ previousIcon: To,
1752
+ firstIcon: Io,
1753
+ lastIcon: ko
1754
+ } : {};
1755
+ return /* @__PURE__ */ n(
1756
+ ee,
1757
+ {
1758
+ ref: o,
1759
+ className: c.className,
1760
+ classNames: c.classNames,
1761
+ getControlProps: i,
1762
+ ...d,
1763
+ ...l
1764
+ }
1765
+ );
1766
+ }
1767
+ );
1768
+ Eo.displayName = "Pagination";
1769
+ const te = Eo;
1770
+ te.Root = zo;
1771
+ te.Items = ee.Items;
1772
+ te.Control = ee.Control;
1773
+ te.Dots = ee.Dots;
1774
+ te.Next = Ro;
1775
+ te.Previous = Mo;
1776
+ te.First = Fo;
1777
+ te.Last = Bo;
1778
+ te.Icon = ve;
1779
+ const Sa = "Panel-module__content___wdGo-", Aa = "Panel-module__inner___ruA2b", Wa = "Panel-module__header___o7SiC", La = "Panel-module__title___181OP recursica_brand_typography_h3", Ta = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP recursica_brand_typography_h3", Ia = "Panel-module__body___SEC3T", ka = "Panel-module__footer___t6-hz", ne = {
1780
+ content: Sa,
1781
+ inner: Aa,
1782
+ header: Wa,
1783
+ title: La,
1784
+ titleTruncate: Ta,
1785
+ body: Ia,
1786
+ footer: ka
1787
+ }, jo = function({
1600
1788
  overStyled: e = !1,
1601
- position: n = "right",
1789
+ position: a = "right",
1602
1790
  keepMounted: s = !0,
1603
- wrapHeaderText: o = !1,
1604
- ...t
1791
+ wrapHeaderText: t = !1,
1792
+ ...o
1605
1793
  }) {
1606
- const l = N(t, e), c = {
1607
- content: J.content,
1608
- header: J.header,
1609
- title: o ? J.titleTruncate : J.title,
1610
- body: J.body,
1611
- inner: J.inner
1612
- }, d = l.classNames;
1613
- if (d && typeof d == "object" && !Array.isArray(d)) {
1614
- const i = d;
1615
- Object.keys(i).forEach((p) => {
1616
- c[p] ? c[p] = `${c[p]} ${i[p]}` : c[p] = i[p];
1794
+ const l = N(o, e), c = {
1795
+ content: ne.content,
1796
+ header: ne.header,
1797
+ title: t ? ne.titleTruncate : ne.title,
1798
+ body: ne.body,
1799
+ inner: ne.inner
1800
+ }, i = l.classNames;
1801
+ if (i && typeof i == "object" && !Array.isArray(i)) {
1802
+ const d = i;
1803
+ Object.keys(d).forEach((p) => {
1804
+ c[p] ? c[p] = `${c[p]} ${d[p]}` : c[p] = d[p];
1617
1805
  });
1618
1806
  }
1619
- return /* @__PURE__ */ r(
1620
- K,
1807
+ return /* @__PURE__ */ n(
1808
+ oe,
1621
1809
  {
1622
- position: n,
1810
+ position: a,
1623
1811
  keepMounted: s,
1624
- closeOnClickOutside: t.closeOnClickOutside ?? !!t.opened,
1812
+ closeOnClickOutside: o.closeOnClickOutside ?? !!o.opened,
1625
1813
  ...l,
1626
1814
  classNames: c
1627
1815
  }
1628
1816
  );
1629
1817
  };
1630
- No.displayName = "Panel";
1631
- const $o = v(
1632
- function({ overStyled: e = !1, ...n }, s) {
1633
- const o = N(n, e), t = o.className, l = t ? `${J.footer} ${t}` : J.footer;
1634
- return /* @__PURE__ */ r("div", { ref: s, className: l, ...o });
1818
+ jo.displayName = "Panel";
1819
+ const Do = y(
1820
+ function({ overStyled: e = !1, ...a }, s) {
1821
+ const t = N(a, e), o = t.className, l = o ? `${ne.footer} ${o}` : ne.footer;
1822
+ return /* @__PURE__ */ n("div", { ref: s, className: l, ...t });
1635
1823
  }
1636
1824
  );
1637
- $o.displayName = "PanelFooter";
1638
- const Q = No;
1639
- Q.Root = K.Root;
1640
- Q.Overlay = K.Overlay;
1641
- Q.Content = K.Content;
1642
- Q.Header = K.Header;
1643
- Q.Title = K.Title;
1644
- Q.CloseButton = K.CloseButton;
1645
- Q.Body = K.Body;
1646
- Q.Stack = K.Stack;
1647
- Q.Footer = $o;
1648
- const Es = (a) => /* @__PURE__ */ r("div", { ...a, children: "Popover" }), qr = "Radio-module__groupRoot___bfUii", Hr = "Radio-module__root___kAjTD", Ur = "Radio-module__body___q2Wpj", Yr = "Radio-module__inner___QaTBB", Zr = "Radio-module__radio___MfgN-", Kr = "Radio-module__icon___DWznm", Qr = "Radio-module__labelWrapper___dB0Gi", Xr = "Radio-module__label___vAFIP", O = {
1649
- groupRoot: qr,
1650
- root: Hr,
1651
- body: Ur,
1652
- inner: Yr,
1653
- radio: Zr,
1654
- icon: Kr,
1655
- labelWrapper: Qr,
1656
- label: Xr
1657
- }, vo = v(
1658
- function(e, n) {
1825
+ Do.displayName = "PanelFooter";
1826
+ const se = jo;
1827
+ se.Root = oe.Root;
1828
+ se.Overlay = oe.Overlay;
1829
+ se.Content = oe.Content;
1830
+ se.Header = oe.Header;
1831
+ se.Title = oe.Title;
1832
+ se.CloseButton = oe.CloseButton;
1833
+ se.Body = oe.Body;
1834
+ se.Stack = oe.Stack;
1835
+ se.Footer = Do;
1836
+ const Oa = "Radio-module__groupRoot___bfUii", za = "Radio-module__root___kAjTD", Ra = "Radio-module__body___q2Wpj", Ma = "Radio-module__inner___QaTBB", Fa = "Radio-module__radio___MfgN-", Ba = "Radio-module__icon___DWznm", Ea = "Radio-module__labelWrapper___dB0Gi", ja = "Radio-module__label___vAFIP", I = {
1837
+ groupRoot: Oa,
1838
+ root: za,
1839
+ body: Ra,
1840
+ inner: Ma,
1841
+ radio: Fa,
1842
+ icon: Ba,
1843
+ labelWrapper: Ea,
1844
+ label: ja
1845
+ }, Vo = y(
1846
+ function(e, a) {
1659
1847
  const {
1660
1848
  overStyled: s = !1,
1661
- formLayout: o = "stacked",
1849
+ formLayout: t = "stacked",
1662
1850
  // Label Wrappers
1663
- labelSize: t,
1851
+ labelSize: o,
1664
1852
  labelAlignment: l,
1665
1853
  labelOptionalText: c,
1666
- labelWithEditIcon: d,
1667
- onLabelEditClick: i,
1854
+ labelWithEditIcon: i,
1855
+ onLabelEditClick: d,
1668
1856
  // Base Mantine Extracted Attributes
1669
1857
  label: p,
1670
1858
  description: m,
1671
- assistiveText: y,
1672
- assistiveWithIcon: u,
1673
- error: _,
1859
+ assistiveText: $,
1860
+ assistiveWithIcon: _,
1861
+ error: u,
1674
1862
  required: f,
1675
1863
  withAsterisk: C,
1676
1864
  id: h,
1677
- className: w,
1865
+ className: g,
1678
1866
  style: b,
1679
- children: W,
1680
- readOnly: $,
1681
- readOnlyComponent: L,
1682
- emptyValueComponent: S,
1867
+ children: A,
1868
+ readOnly: v,
1869
+ readOnlyComponent: R,
1870
+ emptyValueComponent: W,
1683
1871
  value: x,
1684
- defaultValue: I,
1685
- ...R
1686
- } = e, k = N(R, s), P = k;
1687
- return delete P.size, /* @__PURE__ */ r(
1688
- te,
1872
+ defaultValue: k,
1873
+ ...z
1874
+ } = e, L = N(z, s), w = L;
1875
+ return delete w.size, /* @__PURE__ */ n(
1876
+ le,
1689
1877
  {
1690
- className: w,
1878
+ className: g,
1691
1879
  style: b,
1692
1880
  controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
1693
1881
  controlMinWidth: void 0,
1694
1882
  overStyled: s,
1695
1883
  labelElement: "div",
1696
- formLayout: o,
1697
- labelSize: t,
1884
+ formLayout: t,
1885
+ labelSize: o,
1698
1886
  labelAlignment: l,
1699
1887
  labelOptionalText: c,
1700
- labelWithEditIcon: d,
1701
- onLabelEditClick: i,
1888
+ labelWithEditIcon: i,
1889
+ onLabelEditClick: d,
1702
1890
  label: p,
1703
1891
  description: m,
1704
- assistiveText: y,
1705
- assistiveWithIcon: u,
1706
- error: _,
1892
+ assistiveText: $,
1893
+ assistiveWithIcon: _,
1894
+ error: u,
1707
1895
  required: f,
1708
1896
  withAsterisk: C,
1709
1897
  id: h,
1710
- readOnly: $ && !!L,
1711
- readOnlyComponent: L,
1712
- emptyValueComponent: S,
1898
+ readOnly: v && !!R,
1899
+ readOnlyComponent: R,
1900
+ emptyValueComponent: W,
1713
1901
  readOnlyType: "text",
1714
- readOnlyValue: x !== void 0 ? x : I,
1902
+ readOnlyValue: x !== void 0 ? x : k,
1715
1903
  readOnlyNativeProps: e,
1716
- activeComponent: /* @__PURE__ */ r(
1717
- Be.Group,
1904
+ activeComponent: /* @__PURE__ */ n(
1905
+ Ke.Group,
1718
1906
  {
1719
- ref: n,
1720
- ...k,
1721
- disabled: $ || P.disabled,
1907
+ ref: a,
1908
+ ...L,
1909
+ disabled: v || w.disabled,
1722
1910
  value: x,
1723
- defaultValue: I,
1724
- children: /* @__PURE__ */ r("div", { className: O.groupRoot, "data-layout": o, children: B.Children.map(W, (g) => B.isValidElement(g) ? B.cloneElement(g, {
1725
- disabled: $ || g.props.disabled
1726
- }) : g) })
1911
+ defaultValue: k,
1912
+ children: /* @__PURE__ */ n("div", { className: I.groupRoot, "data-layout": t, children: V.Children.map(A, (P) => V.isValidElement(P) ? V.cloneElement(P, {
1913
+ disabled: v || P.props.disabled
1914
+ }) : P) })
1727
1915
  }
1728
1916
  )
1729
1917
  }
1730
1918
  );
1731
1919
  }
1732
1920
  );
1733
- vo.displayName = "RadioGroup";
1734
- const Jr = ({ className: a, style: e }) => /* @__PURE__ */ r(
1921
+ Vo.displayName = "RadioGroup";
1922
+ const Da = ({ className: r, style: e }) => /* @__PURE__ */ n(
1735
1923
  "svg",
1736
1924
  {
1737
1925
  xmlns: "http://www.w3.org/2000/svg",
1738
1926
  viewBox: "0 0 16 16",
1739
1927
  fill: "currentColor",
1740
- className: a,
1928
+ className: r,
1741
1929
  style: e,
1742
- children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
1930
+ children: /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "5" })
1743
1931
  }
1744
- ), Co = v(
1745
- function(e, n) {
1932
+ ), Go = y(
1933
+ function(e, a) {
1746
1934
  const {
1747
1935
  overStyled: s = !1,
1748
- readOnly: o,
1749
- readOnlyComponent: t,
1936
+ readOnly: t,
1937
+ readOnlyComponent: o,
1750
1938
  disabled: l,
1751
1939
  formLayout: c,
1752
- labelSize: d,
1753
- controlMaxWidth: i,
1940
+ labelSize: i,
1941
+ controlMaxWidth: d,
1754
1942
  controlMinWidth: p,
1755
1943
  ...m
1756
- } = e, y = N(m, s), u = y;
1757
- delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
1758
- const _ = {
1759
- root: O.root,
1760
- body: O.body,
1761
- inner: O.inner,
1762
- radio: O.radio,
1763
- icon: O.icon,
1764
- labelWrapper: O.labelWrapper,
1765
- label: O.label
1766
- }, f = u.classNames;
1944
+ } = e, $ = N(m, s), _ = $;
1945
+ delete _.size, delete _.color, delete _.radius, delete _.variant, delete _.iconColor;
1946
+ const u = {
1947
+ root: I.root,
1948
+ body: I.body,
1949
+ inner: I.inner,
1950
+ radio: I.radio,
1951
+ icon: I.icon,
1952
+ labelWrapper: I.labelWrapper,
1953
+ label: I.label
1954
+ }, f = _.classNames;
1767
1955
  if (f && typeof f == "object" && !Array.isArray(f)) {
1768
1956
  const b = f;
1769
- _.root = b.root ? `${O.root} ${b.root}` : O.root, _.body = b.body ? `${O.body} ${b.body}` : O.body, _.inner = b.inner ? `${O.inner} ${b.inner}` : O.inner, _.radio = b.radio ? `${O.radio} ${b.radio}` : O.radio, _.icon = b.icon ? `${O.icon} ${b.icon}` : O.icon, _.labelWrapper = b.labelWrapper ? `${O.labelWrapper} ${b.labelWrapper}` : O.labelWrapper, _.label = b.label ? `${O.label} ${b.label}` : O.label;
1957
+ u.root = b.root ? `${I.root} ${b.root}` : I.root, u.body = b.body ? `${I.body} ${b.body}` : I.body, u.inner = b.inner ? `${I.inner} ${b.inner}` : I.inner, u.radio = b.radio ? `${I.radio} ${b.radio}` : I.radio, u.icon = b.icon ? `${I.icon} ${b.icon}` : I.icon, u.labelWrapper = b.labelWrapper ? `${I.labelWrapper} ${b.labelWrapper}` : I.labelWrapper, u.label = b.label ? `${I.label} ${b.label}` : I.label;
1770
1958
  }
1771
- const C = u.className, h = C ? `${O.root} ${C}` : O.root;
1772
- if (o && t) {
1773
- const b = !!(u.checked ?? u.defaultChecked), $ = /* @__PURE__ */ r(
1774
- t,
1959
+ const C = _.className, h = C ? `${I.root} ${C}` : I.root;
1960
+ if (t && o) {
1961
+ const b = !!(_.checked ?? _.defaultChecked), v = /* @__PURE__ */ n(
1962
+ o,
1775
1963
  {
1776
1964
  ...e,
1777
1965
  checked: b,
1778
- label: u.label
1966
+ label: _.label
1779
1967
  }
1780
1968
  );
1781
- return c ? /* @__PURE__ */ r(
1782
- ee,
1969
+ return c ? /* @__PURE__ */ n(
1970
+ re,
1783
1971
  {
1784
1972
  formLayout: c,
1785
- labelSize: d,
1786
- controlMaxWidth: i,
1973
+ labelSize: i,
1974
+ controlMaxWidth: d,
1787
1975
  controlMinWidth: p,
1788
- children: $
1976
+ children: v
1789
1977
  }
1790
- ) : /* @__PURE__ */ r(_e, { children: $ });
1978
+ ) : /* @__PURE__ */ n($e, { children: v });
1791
1979
  }
1792
- const w = /* @__PURE__ */ r(
1793
- Be,
1980
+ const g = /* @__PURE__ */ n(
1981
+ Ke,
1794
1982
  {
1795
- ref: n,
1796
- icon: Jr,
1983
+ ref: a,
1984
+ icon: Da,
1797
1985
  className: h,
1798
- classNames: _,
1799
- disabled: o || l,
1800
- ...y
1986
+ classNames: u,
1987
+ disabled: t || l,
1988
+ ...$
1801
1989
  }
1802
1990
  );
1803
- return c ? /* @__PURE__ */ r(
1804
- ee,
1991
+ return c ? /* @__PURE__ */ n(
1992
+ re,
1805
1993
  {
1806
1994
  formLayout: c,
1807
- labelSize: d,
1808
- controlMaxWidth: i,
1995
+ labelSize: i,
1996
+ controlMaxWidth: d,
1809
1997
  controlMinWidth: p,
1810
- children: w
1998
+ children: g
1811
1999
  }
1812
- ) : w;
2000
+ ) : g;
1813
2001
  }
1814
2002
  );
1815
- Co.displayName = "Radio";
1816
- Co.Group = vo;
1817
- const es = ({ checked: a, label: e }) => /* @__PURE__ */ E(
1818
- Ae,
2003
+ Go.displayName = "Radio";
2004
+ Go.Group = Vo;
2005
+ const Va = ({ checked: r, label: e }) => /* @__PURE__ */ M(
2006
+ Me,
1819
2007
  {
1820
2008
  component: "span",
1821
- className: $e.textField,
2009
+ className: Ae.textField,
1822
2010
  style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
1823
2011
  children: [
1824
- e && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
2012
+ e && /* @__PURE__ */ M("span", { style: { fontWeight: 500 }, children: [
1825
2013
  e,
1826
2014
  ":"
1827
2015
  ] }),
1828
- /* @__PURE__ */ r("span", { children: a ? "On" : "Off" })
2016
+ /* @__PURE__ */ n("span", { children: r ? "On" : "Off" })
1829
2017
  ]
1830
2018
  }
1831
2019
  );
1832
- es.displayName = "ReadOnlySwitchField";
1833
- const os = ({ checked: a, label: e }) => /* @__PURE__ */ E(
1834
- Ae,
2020
+ Va.displayName = "ReadOnlySwitchField";
2021
+ const Ga = ({ checked: r, label: e }) => /* @__PURE__ */ M(
2022
+ Me,
1835
2023
  {
1836
2024
  component: "span",
1837
- className: $e.textField,
2025
+ className: Ae.textField,
1838
2026
  style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
1839
2027
  children: [
1840
- e && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
2028
+ e && /* @__PURE__ */ M("span", { style: { fontWeight: 500 }, children: [
1841
2029
  e,
1842
2030
  ":"
1843
2031
  ] }),
1844
- /* @__PURE__ */ r("span", { children: a ? "True" : "False" })
2032
+ /* @__PURE__ */ n("span", { children: r ? "True" : "False" })
1845
2033
  ]
1846
2034
  }
1847
2035
  );
1848
- os.displayName = "ReadOnlyBooleanField";
1849
- const Bs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Search" }), js = (a) => /* @__PURE__ */ r("div", { ...a, children: "SegmentedControl" }), Ds = (a) => /* @__PURE__ */ r("div", { ...a, children: "Slider" }), ts = "Stack-module__root___NUN-x", ue = {
1850
- root: ts
1851
- }, rs = v(function({ children: e, overStyled: n = !1, gap: s = "rec-default", ...o }, t) {
1852
- const l = N({ ...o, gap: s }, n), c = l, d = {
1853
- root: ue.root
1854
- }, i = c.classNames;
1855
- if (i && typeof i == "object" && !Array.isArray(i)) {
1856
- const y = i;
1857
- d.root = y.root ? `${ue.root} ${y.root}` : ue.root;
2036
+ Ga.displayName = "ReadOnlyBooleanField";
2037
+ const qa = "SegmentedControl-module__root___JFRhg", Ha = "SegmentedControl-module__label___mS17q", Za = "SegmentedControl-module__control___znOdQ", Ua = "SegmentedControl-module__indicator___ZMcJy", D = {
2038
+ root: qa,
2039
+ label: Ha,
2040
+ control: Za,
2041
+ indicator: Ua
2042
+ };
2043
+ function Ya(r) {
2044
+ const e = {
2045
+ root: D.root,
2046
+ control: D.control,
2047
+ label: D.label,
2048
+ indicator: D.indicator
2049
+ }, a = r.classNames;
2050
+ if (a && typeof a == "object" && !Array.isArray(a)) {
2051
+ const o = a;
2052
+ e.root = o.root ? `${D.root} ${o.root}` : D.root, e.control = o.control ? `${D.control} ${o.control}` : D.control, e.label = o.label ? `${D.label} ${o.label}` : D.label, e.indicator = o.indicator ? `${D.indicator} ${o.indicator}` : D.indicator;
2053
+ }
2054
+ const s = r.className;
2055
+ return { className: s ? `${D.root} ${s}` : D.root, classNames: e };
2056
+ }
2057
+ const qo = y(
2058
+ function({ overStyled: e = !1, orientation: a = "horizontal", fullWidth: s, ...t }, o) {
2059
+ const l = N(t, e), c = Ya(
2060
+ l
2061
+ );
2062
+ return /* @__PURE__ */ n(
2063
+ ht,
2064
+ {
2065
+ ref: o,
2066
+ className: c.className,
2067
+ classNames: c.classNames,
2068
+ orientation: a,
2069
+ fullWidth: s,
2070
+ "data-orientation": a,
2071
+ ...l
2072
+ }
2073
+ );
1858
2074
  }
1859
- const p = c.className, m = p ? `${ue.root} ${p}` : ue.root;
1860
- return /* @__PURE__ */ r(
1861
- Vo,
2075
+ );
2076
+ qo.displayName = "SegmentedControl";
2077
+ const Jn = qo, Xn = (r) => /* @__PURE__ */ n("div", { ...r, children: "Slider" }), Ka = "Stack-module__root___NUN-x", fe = {
2078
+ root: Ka
2079
+ }, Qa = y(function({ children: e, gap: a = "rec-default", ...s }, t) {
2080
+ const o = {
2081
+ root: fe.root
2082
+ }, l = s.classNames;
2083
+ if (l && typeof l == "object" && !Array.isArray(l)) {
2084
+ const d = l;
2085
+ o.root = d.root ? `${fe.root} ${d.root}` : fe.root;
2086
+ }
2087
+ const c = s.className, i = c ? `${fe.root} ${c}` : fe.root;
2088
+ return /* @__PURE__ */ n(
2089
+ ft,
1862
2090
  {
1863
2091
  ref: t,
1864
- className: m,
1865
- classNames: d,
1866
- ...l,
2092
+ className: i,
2093
+ classNames: o,
2094
+ gap: a,
2095
+ ...s,
1867
2096
  children: e
1868
2097
  }
1869
2098
  );
1870
2099
  });
1871
- rs.displayName = "Stack";
1872
- const Vs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Stepper" }), ss = "Switch-module__root___Y5Ydi", as = "Switch-module__body___Sw9Wr", ns = "Switch-module__track___7ObdZ", ls = "Switch-module__thumb___-FTeK", cs = "Switch-module__labelWrapper___YSOwx", is = "Switch-module__label___LrH7V", ds = "Switch-module__thumbIconWrapper___sCY-1", ps = "Switch-module__checkIcon___ZBAQN", ms = "Switch-module__closeIcon___bLLGw", us = "Switch-module__groupRoot___-Uepi", A = {
1873
- root: ss,
1874
- body: as,
1875
- track: ns,
1876
- thumb: ls,
1877
- labelWrapper: cs,
1878
- label: is,
1879
- thumbIconWrapper: ds,
1880
- checkIcon: ps,
1881
- closeIcon: ms,
1882
- groupRoot: us
1883
- }, wo = v(
1884
- function(e, n) {
2100
+ Qa.displayName = "Stack";
2101
+ const Ja = "Stepper-module__root___jbSYO", Xa = "Stepper-module__horizontal___USHT1", en = "Stepper-module__steps___4HPO6", on = "Stepper-module__step___s2nqL", tn = "Stepper-module__stepBody___TBvys", sn = "Stepper-module__stepLabel___N6nuy", an = "Stepper-module__stepDescription___DnDAy", nn = "Stepper-module__separator___pU0No", rn = "Stepper-module__vertical___d4mOs", ln = "Stepper-module__large___J18-y", cn = "Stepper-module__small___Ub-zb", dn = "Stepper-module__stepIcon___YQHNq", pn = "Stepper-module__stepCompletedIcon___B9MeL", mn = "Stepper-module__verticalSeparator___frWc1", _n = "Stepper-module__content___J-h8X", j = {
2102
+ root: Ja,
2103
+ horizontal: Xa,
2104
+ steps: en,
2105
+ step: on,
2106
+ stepBody: tn,
2107
+ stepLabel: sn,
2108
+ stepDescription: an,
2109
+ separator: nn,
2110
+ vertical: rn,
2111
+ large: ln,
2112
+ small: cn,
2113
+ stepIcon: dn,
2114
+ stepCompletedIcon: pn,
2115
+ verticalSeparator: mn,
2116
+ content: _n
2117
+ }, Ho = y(
2118
+ function(e, a) {
1885
2119
  const {
1886
2120
  overStyled: s = !1,
1887
- formLayout: o = "stacked",
2121
+ size: t = "large",
2122
+ orientation: o = "horizontal",
2123
+ className: l,
2124
+ style: c,
2125
+ ...i
2126
+ } = e, d = N(i, s);
2127
+ return /* @__PURE__ */ n(
2128
+ ze,
2129
+ {
2130
+ ref: a,
2131
+ orientation: o,
2132
+ className: `${j.root} ${o === "horizontal" ? j.horizontal : j.vertical} ${t === "large" ? j.large : j.small} ${l || ""}`,
2133
+ style: c,
2134
+ "data-size": t,
2135
+ "data-orientation": o,
2136
+ classNames: {
2137
+ steps: j.steps,
2138
+ step: j.step,
2139
+ stepIcon: j.stepIcon,
2140
+ stepCompletedIcon: j.stepCompletedIcon,
2141
+ stepBody: j.stepBody,
2142
+ stepLabel: j.stepLabel,
2143
+ stepDescription: j.stepDescription,
2144
+ separator: j.separator,
2145
+ verticalSeparator: j.verticalSeparator,
2146
+ content: j.content
2147
+ },
2148
+ ...d
2149
+ }
2150
+ );
2151
+ }
2152
+ ), er = Object.assign(Ho, {
2153
+ Step: ze.Step,
2154
+ Completed: ze.Completed
2155
+ });
2156
+ Ho.displayName = "Stepper";
2157
+ const un = "Switch-module__root___Y5Ydi", bn = "Switch-module__body___Sw9Wr", yn = "Switch-module__track___7ObdZ", Nn = "Switch-module__thumb___-FTeK", hn = "Switch-module__labelWrapper___YSOwx", fn = "Switch-module__label___LrH7V", $n = "Switch-module__thumbIconWrapper___sCY-1", vn = "Switch-module__checkIcon___ZBAQN", Cn = "Switch-module__closeIcon___bLLGw", gn = "Switch-module__groupRoot___-Uepi", S = {
2158
+ root: un,
2159
+ body: bn,
2160
+ track: yn,
2161
+ thumb: Nn,
2162
+ labelWrapper: hn,
2163
+ label: fn,
2164
+ thumbIconWrapper: $n,
2165
+ checkIcon: vn,
2166
+ closeIcon: Cn,
2167
+ groupRoot: gn
2168
+ }, Zo = y(
2169
+ function(e, a) {
2170
+ const {
2171
+ overStyled: s = !1,
2172
+ formLayout: t = "stacked",
1888
2173
  // Label Wrappers
1889
- labelSize: t,
2174
+ labelSize: o,
1890
2175
  labelAlignment: l,
1891
2176
  labelOptionalText: c,
1892
- labelWithEditIcon: d,
1893
- onLabelEditClick: i,
2177
+ labelWithEditIcon: i,
2178
+ onLabelEditClick: d,
1894
2179
  // Base Mantine Extracted Attributes
1895
2180
  label: p,
1896
2181
  description: m,
1897
- assistiveText: y,
1898
- assistiveWithIcon: u,
1899
- error: _,
2182
+ assistiveText: $,
2183
+ assistiveWithIcon: _,
2184
+ error: u,
1900
2185
  required: f,
1901
2186
  withAsterisk: C,
1902
2187
  id: h,
1903
- className: w,
2188
+ className: g,
1904
2189
  style: b,
1905
- children: W,
1906
- readOnly: $,
1907
- readOnlyComponent: L,
1908
- emptyValueComponent: S,
2190
+ children: A,
2191
+ readOnly: v,
2192
+ readOnlyComponent: R,
2193
+ emptyValueComponent: W,
1909
2194
  value: x,
1910
- defaultValue: I,
1911
- ...R
1912
- } = e, k = N(R, s), P = k;
1913
- return delete P.size, /* @__PURE__ */ r(
1914
- te,
2195
+ defaultValue: k,
2196
+ ...z
2197
+ } = e, L = N(z, s), w = L;
2198
+ return delete w.size, /* @__PURE__ */ n(
2199
+ le,
1915
2200
  {
1916
- className: w,
2201
+ className: g,
1917
2202
  style: b,
1918
2203
  controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
1919
2204
  controlMinWidth: void 0,
1920
2205
  overStyled: s,
1921
2206
  labelElement: "div",
1922
- formLayout: o,
1923
- labelSize: t,
2207
+ formLayout: t,
2208
+ labelSize: o,
1924
2209
  labelAlignment: l,
1925
2210
  labelOptionalText: c,
1926
- labelWithEditIcon: d,
1927
- onLabelEditClick: i,
2211
+ labelWithEditIcon: i,
2212
+ onLabelEditClick: d,
1928
2213
  label: p,
1929
2214
  description: m,
1930
- assistiveText: y,
1931
- assistiveWithIcon: u,
1932
- error: _,
2215
+ assistiveText: $,
2216
+ assistiveWithIcon: _,
2217
+ error: u,
1933
2218
  required: f,
1934
2219
  withAsterisk: C,
1935
2220
  id: h,
1936
- readOnly: $ && !!L,
1937
- readOnlyComponent: L,
1938
- emptyValueComponent: S,
2221
+ readOnly: v && !!R,
2222
+ readOnlyComponent: R,
2223
+ emptyValueComponent: W,
1939
2224
  readOnlyType: "text",
1940
- readOnlyValue: x !== void 0 ? x : I,
2225
+ readOnlyValue: x !== void 0 ? x : k,
1941
2226
  readOnlyNativeProps: e,
1942
- activeComponent: /* @__PURE__ */ r(
1943
- je.Group,
2227
+ activeComponent: /* @__PURE__ */ n(
2228
+ Qe.Group,
1944
2229
  {
1945
- ref: n,
1946
- ...k,
1947
- disabled: $ || P.disabled,
2230
+ ref: a,
2231
+ ...L,
2232
+ disabled: v || w.disabled,
1948
2233
  value: x,
1949
- defaultValue: I,
1950
- children: /* @__PURE__ */ r("div", { className: A.groupRoot, children: B.Children.map(W, (g) => B.isValidElement(g) ? B.cloneElement(g, {
1951
- disabled: $ || g.props.disabled
1952
- }) : g) })
2234
+ defaultValue: k,
2235
+ children: /* @__PURE__ */ n("div", { className: S.groupRoot, children: V.Children.map(A, (P) => V.isValidElement(P) ? V.cloneElement(P, {
2236
+ disabled: v || P.props.disabled
2237
+ }) : P) })
1953
2238
  }
1954
2239
  )
1955
2240
  }
1956
2241
  );
1957
2242
  }
1958
2243
  );
1959
- wo.displayName = "SwitchGroup";
1960
- const go = v(
1961
- function(e, n) {
2244
+ Zo.displayName = "SwitchGroup";
2245
+ const Uo = y(
2246
+ function(e, a) {
1962
2247
  const {
1963
2248
  overStyled: s = !1,
1964
- readOnly: o,
1965
- readOnlyComponent: t,
2249
+ readOnly: t,
2250
+ readOnlyComponent: o,
1966
2251
  disabled: l,
1967
2252
  thumbIcon: c,
1968
- formLayout: d,
1969
- labelSize: i,
2253
+ formLayout: i,
2254
+ labelSize: d,
1970
2255
  controlMaxWidth: p,
1971
2256
  controlMinWidth: m,
1972
- ...y
1973
- } = e, u = N(y, s), _ = u;
1974
- delete _.size, delete _.color, delete _.radius, delete _.variant;
2257
+ ...$
2258
+ } = e, _ = N($, s), u = _;
2259
+ delete u.size, delete u.color, delete u.radius, delete u.variant;
1975
2260
  const f = {
1976
- root: A.root,
1977
- body: A.body,
1978
- track: A.track,
1979
- thumb: A.thumb,
1980
- trackLabel: A.trackLabel,
1981
- labelWrapper: A.labelWrapper,
1982
- label: A.label
1983
- }, C = _.classNames;
2261
+ root: S.root,
2262
+ body: S.body,
2263
+ track: S.track,
2264
+ thumb: S.thumb,
2265
+ trackLabel: S.trackLabel,
2266
+ labelWrapper: S.labelWrapper,
2267
+ label: S.label
2268
+ }, C = u.classNames;
1984
2269
  if (C && typeof C == "object" && !Array.isArray(C)) {
1985
- const $ = C;
1986
- f.root = $.root ? `${A.root} ${$.root}` : A.root, f.body = $.body ? `${A.body} ${$.body}` : A.body, f.track = $.track ? `${A.track} ${$.track}` : A.track, f.thumb = $.thumb ? `${A.thumb} ${$.thumb}` : A.thumb, f.trackLabel = $.trackLabel ? `${A.trackLabel} ${$.trackLabel}` : A.trackLabel, f.labelWrapper = $.labelWrapper ? `${A.labelWrapper} ${$.labelWrapper}` : A.labelWrapper, f.label = $.label ? `${A.label} ${$.label}` : A.label;
2270
+ const v = C;
2271
+ f.root = v.root ? `${S.root} ${v.root}` : S.root, f.body = v.body ? `${S.body} ${v.body}` : S.body, f.track = v.track ? `${S.track} ${v.track}` : S.track, f.thumb = v.thumb ? `${S.thumb} ${v.thumb}` : S.thumb, f.trackLabel = v.trackLabel ? `${S.trackLabel} ${v.trackLabel}` : S.trackLabel, f.labelWrapper = v.labelWrapper ? `${S.labelWrapper} ${v.labelWrapper}` : S.labelWrapper, f.label = v.label ? `${S.label} ${v.label}` : S.label;
1987
2272
  }
1988
- const h = _.className, w = h ? `${A.root} ${h}` : A.root;
1989
- if (o && t) {
1990
- const $ = !!(_.checked ?? _.defaultChecked), S = /* @__PURE__ */ r(
1991
- t,
2273
+ const h = u.className, g = h ? `${S.root} ${h}` : S.root;
2274
+ if (t && o) {
2275
+ const v = !!(u.checked ?? u.defaultChecked), W = /* @__PURE__ */ n(
2276
+ o,
1992
2277
  {
1993
2278
  ...e,
1994
- checked: $,
1995
- label: _.label
2279
+ checked: v,
2280
+ label: u.label
1996
2281
  }
1997
2282
  );
1998
- return d ? /* @__PURE__ */ r(
1999
- ee,
2283
+ return i ? /* @__PURE__ */ n(
2284
+ re,
2000
2285
  {
2001
- formLayout: d,
2002
- labelSize: i,
2286
+ formLayout: i,
2287
+ labelSize: d,
2003
2288
  controlMaxWidth: p,
2004
2289
  controlMinWidth: m,
2005
- children: S
2290
+ children: W
2006
2291
  }
2007
- ) : /* @__PURE__ */ r(_e, { children: S });
2292
+ ) : /* @__PURE__ */ n($e, { children: W });
2008
2293
  }
2009
- const b = /* @__PURE__ */ E("div", { className: A.thumbIconWrapper, children: [
2010
- /* @__PURE__ */ r(Go, { className: A.checkIcon }),
2011
- /* @__PURE__ */ r(qo, { className: A.closeIcon })
2012
- ] }), W = /* @__PURE__ */ r(
2013
- je,
2294
+ const b = /* @__PURE__ */ M("div", { className: S.thumbIconWrapper, children: [
2295
+ /* @__PURE__ */ n($t, { className: S.checkIcon }),
2296
+ /* @__PURE__ */ n(vt, { className: S.closeIcon })
2297
+ ] }), A = /* @__PURE__ */ n(
2298
+ Qe,
2014
2299
  {
2015
- ref: n,
2016
- className: w,
2300
+ ref: a,
2301
+ className: g,
2017
2302
  classNames: f,
2018
- disabled: o || l,
2303
+ disabled: t || l,
2019
2304
  thumbIcon: c ?? b,
2020
- ...u
2305
+ ..._
2021
2306
  }
2022
2307
  );
2023
- return d ? /* @__PURE__ */ r(
2024
- ee,
2308
+ return i ? /* @__PURE__ */ n(
2309
+ re,
2025
2310
  {
2026
- formLayout: d,
2027
- labelSize: i,
2311
+ formLayout: i,
2312
+ labelSize: d,
2028
2313
  controlMaxWidth: p,
2029
2314
  controlMinWidth: m,
2030
- children: W
2315
+ children: A
2031
2316
  }
2032
- ) : W;
2317
+ ) : A;
2033
2318
  }
2034
2319
  );
2035
- go.displayName = "Switch";
2036
- go.Group = wo;
2037
- const Gs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Table" }), qs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Tabs" }), Po = v(function({ overStyled: e = !1, variant: n = "body", ...s }, o) {
2038
- const t = N(s, e), l = t.className, c = `recursica_brand_typography_${n}`, d = l ? `${c} ${l}` : c;
2039
- return /* @__PURE__ */ r(
2040
- Ho,
2320
+ Uo.displayName = "Switch";
2321
+ Uo.Group = Zo;
2322
+ const or = (r) => /* @__PURE__ */ n("div", { ...r, children: "Table" }), Pn = "Tabs-module__root___-VKVI", wn = "Tabs-module__list___qRVME", xn = "Tabs-module__tab___IdDYc", Sn = "Tabs-module__panel___08i9c", Pe = {
2323
+ root: Pn,
2324
+ list: wn,
2325
+ tab: xn,
2326
+ panel: Sn
2327
+ }, Yo = y(function(e, a) {
2328
+ const {
2329
+ variant: s = "default",
2330
+ orientation: t = "horizontal",
2331
+ overStyled: o = !1,
2332
+ className: l,
2333
+ ...c
2334
+ } = e, i = N(c, o);
2335
+ return /* @__PURE__ */ n(
2336
+ Te,
2041
2337
  {
2042
- ref: o,
2043
- className: d,
2044
- ...t
2338
+ ref: a,
2339
+ variant: s,
2340
+ orientation: t,
2341
+ className: `${Pe.root} ${l || ""}`,
2342
+ "data-variant": s,
2343
+ "data-orientation": t,
2344
+ classNames: {
2345
+ list: Pe.list,
2346
+ tab: Pe.tab,
2347
+ panel: Pe.panel
2348
+ },
2349
+ ...i
2045
2350
  }
2046
2351
  );
2047
2352
  });
2048
- Po.displayName = "Text";
2049
- const Hs = oe(Po), _s = "TextArea-module__root___3dyeu", bs = "TextArea-module__input___8l36v", ne = {
2050
- root: _s,
2051
- input: bs
2052
- }, ys = v(
2053
- function(e, n) {
2353
+ Yo.displayName = "Tabs";
2354
+ const Ko = y(
2355
+ function(e, a) {
2356
+ const { overStyled: s = !1, ...t } = e;
2357
+ return /* @__PURE__ */ n(
2358
+ Te.List,
2359
+ {
2360
+ ref: a,
2361
+ ...N(t, s)
2362
+ }
2363
+ );
2364
+ }
2365
+ );
2366
+ Ko.displayName = "Tabs.List";
2367
+ const Qo = y(
2368
+ function(e, a) {
2369
+ const { overStyled: s = !1, ...t } = e;
2370
+ return /* @__PURE__ */ n(
2371
+ Te.Tab,
2372
+ {
2373
+ ref: a,
2374
+ ...N(t, s)
2375
+ }
2376
+ );
2377
+ }
2378
+ );
2379
+ Qo.displayName = "Tabs.Tab";
2380
+ const Jo = y(
2381
+ function(e, a) {
2382
+ const { overStyled: s = !1, ...t } = e;
2383
+ return /* @__PURE__ */ n(
2384
+ Te.Panel,
2385
+ {
2386
+ ref: a,
2387
+ ...N(t, s)
2388
+ }
2389
+ );
2390
+ }
2391
+ );
2392
+ Jo.displayName = "Tabs.Panel";
2393
+ const tr = Object.assign(Yo, {
2394
+ List: Ko,
2395
+ Tab: Qo,
2396
+ Panel: Jo
2397
+ }), Xo = y(function({ overStyled: e = !1, variant: a = "body", ...s }, t) {
2398
+ const o = N(s, e), l = o.className, c = `recursica_brand_typography_${a}`, i = l ? `${c} ${l}` : c;
2399
+ return /* @__PURE__ */ n(
2400
+ Ct,
2401
+ {
2402
+ ref: t,
2403
+ className: i,
2404
+ ...o
2405
+ }
2406
+ );
2407
+ });
2408
+ Xo.displayName = "Text";
2409
+ const sr = X(Xo), An = "TextArea-module__root___3dyeu", Wn = "TextArea-module__input___8l36v", me = {
2410
+ root: An,
2411
+ input: Wn
2412
+ }, Ln = y(
2413
+ function(e, a) {
2054
2414
  const {
2055
2415
  overStyled: s = !1,
2056
- formLayout: o = "stacked",
2416
+ formLayout: t = "stacked",
2057
2417
  // Label & Wrapper Maps
2058
- labelSize: t,
2418
+ labelSize: o,
2059
2419
  labelAlignment: l,
2060
2420
  labelOptionalText: c,
2061
- labelWithEditIcon: d,
2062
- onLabelEditClick: i,
2421
+ labelWithEditIcon: i,
2422
+ onLabelEditClick: d,
2063
2423
  label: p,
2064
2424
  assistiveText: m,
2065
- assistiveWithIcon: y,
2066
- error: u,
2067
- required: _,
2425
+ assistiveWithIcon: $,
2426
+ error: _,
2427
+ required: u,
2068
2428
  withAsterisk: f,
2069
2429
  id: C,
2070
2430
  className: h,
2071
- style: w,
2431
+ style: g,
2072
2432
  disabled: b,
2073
- readOnly: W,
2074
- readOnlyComponent: $,
2075
- emptyValueComponent: L,
2076
- value: S,
2433
+ readOnly: A,
2434
+ readOnlyComponent: v,
2435
+ emptyValueComponent: R,
2436
+ value: W,
2077
2437
  defaultValue: x,
2078
- ...I
2079
- } = e, R = N(I, s), k = R;
2080
- delete k.size, delete k.variant, delete k.radius;
2081
- const P = {
2082
- wrapper: ne.root,
2438
+ ...k
2439
+ } = e, z = N(k, s), L = z;
2440
+ delete L.size, delete L.variant, delete L.radius;
2441
+ const w = {
2442
+ wrapper: me.root,
2083
2443
  // The nested Input internal relative wrapper bounding box
2084
- input: ne.input
2085
- }, g = k.classNames;
2086
- if (g && typeof g == "object" && !Array.isArray(g)) {
2087
- const z = g;
2088
- P.wrapper = z.wrapper ? `${ne.root} ${z.wrapper}` : ne.root, P.input = z.input ? `${ne.input} ${z.input}` : ne.input;
2444
+ input: me.input
2445
+ }, P = L.classNames;
2446
+ if (P && typeof P == "object" && !Array.isArray(P)) {
2447
+ const O = P;
2448
+ w.wrapper = O.wrapper ? `${me.root} ${O.wrapper}` : me.root, w.input = O.input ? `${me.input} ${O.input}` : me.input;
2089
2449
  }
2090
- return /* @__PURE__ */ r(
2091
- te,
2450
+ return /* @__PURE__ */ n(
2451
+ le,
2092
2452
  {
2093
2453
  className: h,
2094
- style: w,
2454
+ style: g,
2095
2455
  controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
2096
2456
  controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
2097
2457
  overStyled: s,
2098
- formLayout: o,
2099
- labelSize: t,
2458
+ formLayout: t,
2459
+ labelSize: o,
2100
2460
  labelAlignment: l,
2101
2461
  labelOptionalText: c,
2102
- labelWithEditIcon: d,
2103
- onLabelEditClick: i,
2462
+ labelWithEditIcon: i,
2463
+ onLabelEditClick: d,
2104
2464
  label: p,
2105
2465
  assistiveText: m,
2106
- assistiveWithIcon: y,
2107
- error: u,
2108
- required: _,
2466
+ assistiveWithIcon: $,
2467
+ error: _,
2468
+ required: u,
2109
2469
  withAsterisk: f,
2110
2470
  id: C,
2111
- readOnly: W,
2112
- readOnlyComponent: $,
2113
- emptyValueComponent: L,
2471
+ readOnly: A,
2472
+ readOnlyComponent: v,
2473
+ emptyValueComponent: R,
2114
2474
  readOnlyType: "text",
2115
- readOnlyValue: S !== void 0 ? S : x,
2475
+ readOnlyValue: W !== void 0 ? W : x,
2116
2476
  readOnlyNativeProps: e,
2117
2477
  activeComponent: (
2118
2478
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
2119
- /* @__PURE__ */ r(
2120
- Uo,
2479
+ /* @__PURE__ */ n(
2480
+ gt,
2121
2481
  {
2122
- ref: n,
2123
- classNames: P,
2482
+ ref: a,
2483
+ classNames: w,
2124
2484
  disabled: b,
2125
- value: S,
2485
+ value: W,
2126
2486
  defaultValue: x,
2127
2487
  label: void 0,
2128
2488
  description: void 0,
@@ -2131,9 +2491,9 @@ const Hs = oe(Po), _s = "TextArea-module__root___3dyeu", bs = "TextArea-module__
2131
2491
  withAsterisk: void 0,
2132
2492
  wrapperProps: {
2133
2493
  "data-disabled": b ? "true" : void 0,
2134
- "data-error": u ? "true" : void 0
2494
+ "data-error": _ ? "true" : void 0
2135
2495
  },
2136
- ...R
2496
+ ...z
2137
2497
  }
2138
2498
  )
2139
2499
  )
@@ -2141,92 +2501,92 @@ const Hs = oe(Po), _s = "TextArea-module__root___3dyeu", bs = "TextArea-module__
2141
2501
  );
2142
2502
  }
2143
2503
  );
2144
- ys.displayName = "TextArea";
2145
- const hs = "TextField-module__root___2ZYkG", fs = "TextField-module__input___RL-My", Ns = "TextField-module__section___bCIJ0", U = {
2146
- root: hs,
2147
- input: fs,
2148
- section: Ns
2149
- }, $s = v(
2150
- function(e, n) {
2504
+ Ln.displayName = "TextArea";
2505
+ const Tn = "TextField-module__root___2ZYkG", In = "TextField-module__input___RL-My", kn = "TextField-module__section___bCIJ0", K = {
2506
+ root: Tn,
2507
+ input: In,
2508
+ section: kn
2509
+ }, On = y(
2510
+ function(e, a) {
2151
2511
  const {
2152
2512
  overStyled: s = !1,
2153
- formLayout: o = "stacked",
2513
+ formLayout: t = "stacked",
2154
2514
  // Label & Wrapper Maps
2155
- labelSize: t,
2515
+ labelSize: o,
2156
2516
  labelAlignment: l,
2157
2517
  labelOptionalText: c,
2158
- labelWithEditIcon: d,
2159
- onLabelEditClick: i,
2518
+ labelWithEditIcon: i,
2519
+ onLabelEditClick: d,
2160
2520
  label: p,
2161
2521
  assistiveText: m,
2162
- assistiveWithIcon: y,
2163
- error: u,
2164
- required: _,
2522
+ assistiveWithIcon: $,
2523
+ error: _,
2524
+ required: u,
2165
2525
  withAsterisk: f,
2166
2526
  id: C,
2167
2527
  className: h,
2168
- style: w,
2528
+ style: g,
2169
2529
  disabled: b,
2170
- readOnly: W,
2171
- readOnlyComponent: $,
2172
- emptyValueComponent: L,
2173
- value: S,
2530
+ readOnly: A,
2531
+ readOnlyComponent: v,
2532
+ emptyValueComponent: R,
2533
+ value: W,
2174
2534
  defaultValue: x,
2175
- ...I
2176
- } = e, R = N(I, s), k = R;
2177
- delete k.size, delete k.variant, delete k.radius;
2178
- const P = {
2179
- wrapper: U.root,
2535
+ ...k
2536
+ } = e, z = N(k, s), L = z;
2537
+ delete L.size, delete L.variant, delete L.radius;
2538
+ const w = {
2539
+ wrapper: K.root,
2180
2540
  // The nested Input internal relative wrapper bounding box
2181
- input: U.input,
2182
- section: U.section
2183
- }, g = k.classNames;
2184
- if (g && typeof g == "object" && !Array.isArray(g)) {
2185
- const z = g;
2186
- P.wrapper = z.wrapper ? `${U.root} ${z.wrapper}` : U.root, P.input = z.input ? `${U.input} ${z.input}` : U.input, P.section = z.section ? `${U.section} ${z.section}` : U.section;
2541
+ input: K.input,
2542
+ section: K.section
2543
+ }, P = L.classNames;
2544
+ if (P && typeof P == "object" && !Array.isArray(P)) {
2545
+ const O = P;
2546
+ w.wrapper = O.wrapper ? `${K.root} ${O.wrapper}` : K.root, w.input = O.input ? `${K.input} ${O.input}` : K.input, w.section = O.section ? `${K.section} ${O.section}` : K.section;
2187
2547
  }
2188
- return /* @__PURE__ */ r(
2189
- te,
2548
+ return /* @__PURE__ */ n(
2549
+ le,
2190
2550
  {
2191
2551
  className: h,
2192
- style: w,
2552
+ style: g,
2193
2553
  controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
2194
2554
  controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
2195
2555
  overStyled: s,
2196
- formLayout: o,
2197
- labelSize: t,
2556
+ formLayout: t,
2557
+ labelSize: o,
2198
2558
  labelAlignment: l,
2199
2559
  labelOptionalText: c,
2200
- labelWithEditIcon: d,
2201
- onLabelEditClick: i,
2560
+ labelWithEditIcon: i,
2561
+ onLabelEditClick: d,
2202
2562
  label: p,
2203
2563
  assistiveText: m,
2204
- assistiveWithIcon: y,
2205
- error: u,
2206
- required: _,
2564
+ assistiveWithIcon: $,
2565
+ error: _,
2566
+ required: u,
2207
2567
  withAsterisk: f,
2208
2568
  id: C,
2209
- readOnly: W,
2210
- readOnlyComponent: $,
2211
- emptyValueComponent: L,
2569
+ readOnly: A,
2570
+ readOnlyComponent: v,
2571
+ emptyValueComponent: R,
2212
2572
  readOnlyType: "text",
2213
- readOnlyValue: S !== void 0 ? S : x,
2573
+ readOnlyValue: W !== void 0 ? W : x,
2214
2574
  readOnlyNativeProps: e,
2215
2575
  activeComponent: (
2216
2576
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
2217
- /* @__PURE__ */ r(
2218
- Fe,
2577
+ /* @__PURE__ */ n(
2578
+ Ue,
2219
2579
  {
2220
- ref: n,
2221
- classNames: P,
2580
+ ref: a,
2581
+ classNames: w,
2222
2582
  disabled: b,
2223
- value: S,
2583
+ value: W,
2224
2584
  defaultValue: x,
2225
2585
  wrapperProps: {
2226
2586
  "data-disabled": b ? "true" : void 0,
2227
- "data-error": u ? "true" : void 0
2587
+ "data-error": _ ? "true" : void 0
2228
2588
  },
2229
- ...R
2589
+ ...z
2230
2590
  }
2231
2591
  )
2232
2592
  )
@@ -2234,119 +2594,117 @@ const hs = "TextField-module__root___2ZYkG", fs = "TextField-module__input___RL-
2234
2594
  );
2235
2595
  }
2236
2596
  );
2237
- $s.displayName = "TextField";
2238
- const Us = (a) => /* @__PURE__ */ r("div", { ...a, children: "TimePicker" }), Ys = (a) => /* @__PURE__ */ r("div", { ...a, children: "Timeline" }), vs = v(function({ overStyled: e = !1, order: n = 1, ...s }, o) {
2239
- const t = N(s, e), l = t.className, c = `recursica_brand_typography_h${n}`, d = l ? `${c} ${l}` : c;
2240
- return /* @__PURE__ */ r(
2241
- Yo,
2597
+ On.displayName = "TextField";
2598
+ const ar = (r) => /* @__PURE__ */ n("div", { ...r, children: "TimePicker" }), nr = (r) => /* @__PURE__ */ n("div", { ...r, children: "Timeline" }), zn = y(function({ overStyled: e = !1, order: a = 1, ...s }, t) {
2599
+ const o = N(s, e), l = o.className, c = `recursica_brand_typography_h${a}`, i = l ? `${c} ${l}` : c;
2600
+ return /* @__PURE__ */ n(
2601
+ Pt,
2242
2602
  {
2243
- ref: o,
2244
- order: n,
2245
- className: d,
2246
- ...t
2603
+ ref: t,
2604
+ order: a,
2605
+ className: i,
2606
+ ...o
2247
2607
  }
2248
2608
  );
2249
2609
  });
2250
- vs.displayName = "Title";
2251
- const Zs = (a) => /* @__PURE__ */ r("div", { ...a, children: "Toast" }), Cs = "Tooltip-module__tooltip___UA7H9", ws = "Tooltip-module__arrow___4zROk", Me = {
2252
- tooltip: Cs,
2253
- arrow: ws
2254
- }, xo = function({
2610
+ zn.displayName = "Title";
2611
+ const rr = (r) => /* @__PURE__ */ n("div", { ...r, children: "Toast" }), Rn = "Tooltip-module__tooltip___UA7H9", Mn = "Tooltip-module__arrow___4zROk", Ze = {
2612
+ tooltip: Rn,
2613
+ arrow: Mn
2614
+ }, et = function({
2255
2615
  overStyled: e = !1,
2256
- withBeak: n = !0,
2616
+ withBeak: a = !0,
2257
2617
  ...s
2258
2618
  }) {
2259
- const o = N(s, e), t = {
2260
- tooltip: Me.tooltip,
2261
- arrow: Me.arrow
2262
- }, l = o.classNames;
2619
+ const t = N(s, e), o = {
2620
+ tooltip: Ze.tooltip,
2621
+ arrow: Ze.arrow
2622
+ }, l = t.classNames;
2263
2623
  if (l && typeof l == "object" && !Array.isArray(l)) {
2264
2624
  const p = l;
2265
2625
  Object.keys(p).forEach((m) => {
2266
- t[m] ? t[m] = `${t[m]} ${p[m]}` : t[m] = p[m];
2626
+ o[m] ? o[m] = `${o[m]} ${p[m]}` : o[m] = p[m];
2267
2627
  });
2268
2628
  }
2269
- const c = o.arrowSize ?? 16, d = o.withArrow;
2270
- return /* @__PURE__ */ r(
2271
- Se,
2629
+ const c = t.arrowSize ?? 16, i = t.withArrow;
2630
+ return /* @__PURE__ */ n(
2631
+ Be,
2272
2632
  {
2273
2633
  position: "top",
2274
2634
  multiline: !0,
2275
2635
  arrowSize: c,
2276
- withArrow: n ?? d,
2277
- classNames: t,
2278
- ...o
2636
+ withArrow: a ?? i,
2637
+ classNames: o,
2638
+ ...t
2279
2639
  }
2280
2640
  );
2281
2641
  };
2282
- xo.displayName = "Tooltip";
2283
- const Ao = xo;
2284
- Ao.Floating = Se.Floating;
2285
- Ao.Group = Se.Group;
2286
- const Ks = (a) => /* @__PURE__ */ r("div", { ...a, children: "TransferList" });
2642
+ et.displayName = "Tooltip";
2643
+ const ot = et;
2644
+ ot.Floating = Be.Floating;
2645
+ ot.Group = Be.Group;
2646
+ const lr = (r) => /* @__PURE__ */ n("div", { ...r, children: "TransferList" });
2287
2647
  export {
2288
- Oe as Accordion,
2289
- ke as AccordionControl,
2290
- Ve as AccordionItem,
2291
- Te as AccordionPanel,
2292
- As as Avatar,
2293
- Ws as Badge,
2294
- _t as Breadcrumb,
2295
- Ss as Button,
2296
- ks as Card,
2297
- Qe as CardContent,
2298
- Ke as CardFooter,
2299
- Ze as CardHeader,
2300
- Ye as CardSection,
2301
- to as Checkbox,
2302
- oo as CheckboxGroup,
2303
- lr as Chip,
2304
- ir as Container,
2305
- Os as DatePicker,
2306
- br as Dropdown,
2307
- Ne as EmptyValueRenderer,
2308
- Is as FileInput,
2309
- zs as FileUpload,
2310
- Rs as Flex,
2311
- ee as FormControlLayout,
2312
- fr as Group,
2313
- lo as HoverCard,
2314
- Je as Label,
2315
- Vt as Layer,
2316
- Ls as Link,
2317
- Cr as Loader,
2318
- le as Menu,
2319
- Ms as Modal,
2320
- Mr as NumberInput,
2321
- Fs as Pagination,
2322
- Q as Panel,
2323
- $o as PanelFooter,
2324
- Es as Popover,
2325
- Co as Radio,
2326
- vo as RadioGroup,
2327
- os as ReadOnlyBooleanField,
2328
- eo as ReadOnlyField,
2329
- es as ReadOnlySwitchField,
2330
- he as ReadOnlyTextField,
2331
- Ts as RecursicaThemeProvider,
2332
- Bs as Search,
2333
- js as SegmentedControl,
2334
- Ds as Slider,
2335
- rs as Stack,
2336
- Vs as Stepper,
2337
- go as Switch,
2338
- wo as SwitchGroup,
2339
- Gs as Table,
2340
- qs as Tabs,
2341
- Hs as Text,
2342
- ys as TextArea,
2343
- $s as TextField,
2344
- Us as TimePicker,
2345
- Ys as Timeline,
2346
- vs as Title,
2347
- Zs as Toast,
2348
- Ao as Tooltip,
2349
- Ks as TransferList,
2350
- te as WithReadOnlyWrapper
2648
+ De as Accordion,
2649
+ Ee as AccordionControl,
2650
+ Xe as AccordionItem,
2651
+ je as AccordionPanel,
2652
+ jn as Avatar,
2653
+ Dn as Badge,
2654
+ Gt as Breadcrumb,
2655
+ Vn as Button,
2656
+ Gn as Card,
2657
+ lo as CardContent,
2658
+ ro as CardFooter,
2659
+ no as CardHeader,
2660
+ ao as CardSection,
2661
+ _o as Checkbox,
2662
+ mo as CheckboxGroup,
2663
+ Ms as Chip,
2664
+ Bs as Container,
2665
+ Hn as DatePicker,
2666
+ qs as Dropdown,
2667
+ Se as EmptyValueRenderer,
2668
+ Zn as FileInput,
2669
+ Un as FileUpload,
2670
+ Yn as Flex,
2671
+ re as FormControlLayout,
2672
+ Us as Group,
2673
+ ho as HoverCard,
2674
+ io as Label,
2675
+ fs as Layer,
2676
+ Kn as Link,
2677
+ oa as Loader,
2678
+ _e as Menu,
2679
+ Qn as Modal,
2680
+ ya as NumberInput,
2681
+ te as Pagination,
2682
+ se as Panel,
2683
+ Do as PanelFooter,
2684
+ Go as Radio,
2685
+ Vo as RadioGroup,
2686
+ Ga as ReadOnlyBooleanField,
2687
+ po as ReadOnlyField,
2688
+ Va as ReadOnlySwitchField,
2689
+ we as ReadOnlyTextField,
2690
+ qn as RecursicaThemeProvider,
2691
+ Jn as SegmentedControl,
2692
+ Xn as Slider,
2693
+ Qa as Stack,
2694
+ er as Stepper,
2695
+ Uo as Switch,
2696
+ Zo as SwitchGroup,
2697
+ or as Table,
2698
+ tr as Tabs,
2699
+ sr as Text,
2700
+ Ln as TextArea,
2701
+ On as TextField,
2702
+ ar as TimePicker,
2703
+ nr as Timeline,
2704
+ zn as Title,
2705
+ rr as Toast,
2706
+ ot as Tooltip,
2707
+ lr as TransferList,
2708
+ le as WithReadOnlyWrapper
2351
2709
  };
2352
2710
  //# sourceMappingURL=mantine-adapter.js.map