@recursica/mantine-adapter 0.14.0 → 0.16.0

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