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