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