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