@recursica/mantine-adapter 0.29.0 → 0.30.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.
- package/CHANGELOG.md +12 -0
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.js +440 -432
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +1 -1
package/dist/mantine-adapter.js
CHANGED
|
@@ -72,18 +72,18 @@ const Gr = [
|
|
|
72
72
|
};
|
|
73
73
|
function yo(n) {
|
|
74
74
|
const e = { ...n };
|
|
75
|
-
for (const [a,
|
|
76
|
-
typeof
|
|
75
|
+
for (const [a, t] of Object.entries(e))
|
|
76
|
+
typeof t == "string" && t.startsWith("rec-") && Uo.has(a) && t in qe && (e[a] = qe[t]);
|
|
77
77
|
return e;
|
|
78
78
|
}
|
|
79
79
|
function N(n, e) {
|
|
80
80
|
if (e)
|
|
81
81
|
return n;
|
|
82
82
|
const a = { ...n };
|
|
83
|
-
for (const
|
|
84
|
-
|
|
85
|
-
for (const [
|
|
86
|
-
typeof o == "string" && o.startsWith("rec-") && Uo.has(
|
|
83
|
+
for (const t of Gr)
|
|
84
|
+
t in a && delete a[t];
|
|
85
|
+
for (const [t, o] of Object.entries(a))
|
|
86
|
+
typeof o == "string" && o.startsWith("rec-") && Uo.has(t) && o in qe && (a[t] = qe[o]);
|
|
87
87
|
return a;
|
|
88
88
|
}
|
|
89
89
|
const Hr = "Accordion-module__root___Dem6d", qr = "Accordion-module__item___7ryVk", Ur = "Accordion-module__noDivider___Ni2tT", Yr = "Accordion-module__control___b4wgX", Zr = "Accordion-module__label___Ss7uW", Kr = "Accordion-module__chevron___i-HVZ", Xr = "Accordion-module__iconLeftWrapper___5oLen", Qr = "Accordion-module__panel___Wx50w", Jr = "Accordion-module__content___PEM9t", ie = {
|
|
@@ -99,9 +99,9 @@ const Hr = "Accordion-module__root___Dem6d", qr = "Accordion-module__item___7ryV
|
|
|
99
99
|
}, Yo = function({
|
|
100
100
|
variant: e = "unstyled",
|
|
101
101
|
overStyled: a = !1,
|
|
102
|
-
...
|
|
102
|
+
...t
|
|
103
103
|
}) {
|
|
104
|
-
const o = N(
|
|
104
|
+
const o = N(t, a), r = {
|
|
105
105
|
root: ie.root,
|
|
106
106
|
item: ie.item,
|
|
107
107
|
control: ie.control,
|
|
@@ -113,7 +113,7 @@ const Hr = "Accordion-module__root___Dem6d", qr = "Accordion-module__item___7ryV
|
|
|
113
113
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
114
114
|
const c = l;
|
|
115
115
|
Object.keys(c).forEach((d) => {
|
|
116
|
-
|
|
116
|
+
r[d] ? r[d] = `${r[d]} ${c[d]}` : r[d] = c[d];
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
const i = o.className;
|
|
@@ -122,14 +122,14 @@ const Hr = "Accordion-module__root___Dem6d", qr = "Accordion-module__item___7ryV
|
|
|
122
122
|
{
|
|
123
123
|
variant: e,
|
|
124
124
|
className: i,
|
|
125
|
-
classNames:
|
|
125
|
+
classNames: r,
|
|
126
126
|
...o
|
|
127
127
|
}
|
|
128
128
|
);
|
|
129
129
|
};
|
|
130
130
|
Yo.displayName = "Accordion";
|
|
131
|
-
const bo = h(function({ title: e, leftIcon: a, divider:
|
|
132
|
-
const c = N(l,
|
|
131
|
+
const bo = h(function({ title: e, leftIcon: a, divider: t = !0, children: o, overStyled: r = !1, ...l }, i) {
|
|
132
|
+
const c = N(l, r), d = c.className, p = [t ? void 0 : ie.noDivider, d].filter(Boolean).join(" ") || void 0;
|
|
133
133
|
return /* @__PURE__ */ s(
|
|
134
134
|
Ke.Item,
|
|
135
135
|
{
|
|
@@ -144,12 +144,12 @@ const bo = h(function({ title: e, leftIcon: a, divider: r = !0, children: o, ove
|
|
|
144
144
|
);
|
|
145
145
|
});
|
|
146
146
|
bo.displayName = "AccordionItem";
|
|
147
|
-
const Je = h(function({ leftIcon: e, children: a, overStyled:
|
|
148
|
-
const l = N(o,
|
|
147
|
+
const Je = h(function({ leftIcon: e, children: a, overStyled: t = !1, ...o }, r) {
|
|
148
|
+
const l = N(o, t), i = l.className;
|
|
149
149
|
return /* @__PURE__ */ s(
|
|
150
150
|
Ke.Control,
|
|
151
151
|
{
|
|
152
|
-
ref:
|
|
152
|
+
ref: r,
|
|
153
153
|
className: i,
|
|
154
154
|
icon: e ? /* @__PURE__ */ s("span", { className: ie.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
155
155
|
...l,
|
|
@@ -158,13 +158,13 @@ const Je = h(function({ leftIcon: e, children: a, overStyled: r = !1, ...o }, t)
|
|
|
158
158
|
);
|
|
159
159
|
});
|
|
160
160
|
Je.displayName = "AccordionControl";
|
|
161
|
-
const eo = h(function({ overStyled: e = !1, ...a },
|
|
162
|
-
const o = N(a, e),
|
|
161
|
+
const eo = h(function({ overStyled: e = !1, ...a }, t) {
|
|
162
|
+
const o = N(a, e), r = o.className;
|
|
163
163
|
return /* @__PURE__ */ s(
|
|
164
164
|
Ke.Panel,
|
|
165
165
|
{
|
|
166
|
-
ref:
|
|
167
|
-
className:
|
|
166
|
+
ref: t,
|
|
167
|
+
className: r,
|
|
168
168
|
...o
|
|
169
169
|
}
|
|
170
170
|
);
|
|
@@ -184,9 +184,9 @@ const ea = "Label-module__root___e6HXZ", oa = "Label-module__labelText___rieFR",
|
|
|
184
184
|
}, fo = h(function({
|
|
185
185
|
labelSize: e = "default",
|
|
186
186
|
labelAlignment: a,
|
|
187
|
-
required:
|
|
187
|
+
required: t = !1,
|
|
188
188
|
labelOptionalText: o,
|
|
189
|
-
labelWithEditIcon:
|
|
189
|
+
labelWithEditIcon: r,
|
|
190
190
|
labelActionArea: l,
|
|
191
191
|
onLabelEditClick: i,
|
|
192
192
|
children: c,
|
|
@@ -195,14 +195,14 @@ const ea = "Label-module__root___e6HXZ", oa = "Label-module__labelText___rieFR",
|
|
|
195
195
|
}, m) {
|
|
196
196
|
const f = a || "left";
|
|
197
197
|
let u;
|
|
198
|
-
|
|
199
|
-
const _ = N(p, d), y = _,
|
|
198
|
+
t || (o === !0 ? u = "optional" : o && (u = o));
|
|
199
|
+
const _ = N(p, d), y = _, P = {
|
|
200
200
|
label: Q.root,
|
|
201
201
|
required: Q.required
|
|
202
202
|
}, C = y.classNames;
|
|
203
203
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
204
204
|
const O = C;
|
|
205
|
-
|
|
205
|
+
P.label = O.label ? `${Q.root} ${O.label}` : Q.root, P.required = O.required ? `${Q.required} ${O.required}` : Q.required;
|
|
206
206
|
}
|
|
207
207
|
const $ = y.className, b = $ ? `${Q.root} ${$}` : Q.root;
|
|
208
208
|
return /* @__PURE__ */ F(
|
|
@@ -210,20 +210,20 @@ const ea = "Label-module__root___e6HXZ", oa = "Label-module__labelText___rieFR",
|
|
|
210
210
|
{
|
|
211
211
|
ref: m,
|
|
212
212
|
className: b,
|
|
213
|
-
classNames:
|
|
213
|
+
classNames: P,
|
|
214
214
|
"data-size": e,
|
|
215
215
|
"data-alignment": f,
|
|
216
|
-
required:
|
|
216
|
+
required: t && !r,
|
|
217
217
|
..._,
|
|
218
218
|
children: [
|
|
219
219
|
/* @__PURE__ */ s("span", { className: Q.labelText, children: c }),
|
|
220
220
|
u && /* @__PURE__ */ s("span", { className: Q.optionalText, children: typeof u == "string" ? `(${u})` : u }),
|
|
221
|
-
l ? /* @__PURE__ */ s("span", { className: Q.actionAreaWrapper, children: l }) :
|
|
221
|
+
l ? /* @__PURE__ */ s("span", { className: Q.actionAreaWrapper, children: l }) : r ? /* @__PURE__ */ s(
|
|
222
222
|
"button",
|
|
223
223
|
{
|
|
224
224
|
type: "button",
|
|
225
225
|
className: Q.editIconWrapper,
|
|
226
|
-
"data-replaces-asterisk":
|
|
226
|
+
"data-replaces-asterisk": t ? "true" : void 0,
|
|
227
227
|
onClick: i,
|
|
228
228
|
"aria-label": "Edit",
|
|
229
229
|
children: /* @__PURE__ */ s(
|
|
@@ -259,15 +259,15 @@ const na = "FormControlLayout-module__root___yNDhZ", la = "FormControlLayout-mod
|
|
|
259
259
|
}, de = h(function({
|
|
260
260
|
formLayout: e = "stacked",
|
|
261
261
|
labelSize: a = "default",
|
|
262
|
-
controlMaxWidth:
|
|
262
|
+
controlMaxWidth: t,
|
|
263
263
|
controlMinWidth: o,
|
|
264
|
-
leftSection:
|
|
264
|
+
leftSection: r,
|
|
265
265
|
children: l,
|
|
266
266
|
className: i,
|
|
267
267
|
style: c,
|
|
268
268
|
...d
|
|
269
269
|
}, p) {
|
|
270
|
-
const m = i ? `${De.root} ${i}` : De.root, u =
|
|
270
|
+
const m = i ? `${De.root} ${i}` : De.root, u = r != null || e === "side-by-side";
|
|
271
271
|
return /* @__PURE__ */ F(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
@@ -276,12 +276,12 @@ const na = "FormControlLayout-module__root___yNDhZ", la = "FormControlLayout-mod
|
|
|
276
276
|
"data-form-layout": e,
|
|
277
277
|
style: {
|
|
278
278
|
...c,
|
|
279
|
-
...
|
|
279
|
+
...t ? { "--form-control-max-width": t } : {},
|
|
280
280
|
...o ? { "--form-control-min-width": o } : {}
|
|
281
281
|
},
|
|
282
282
|
...d,
|
|
283
283
|
children: [
|
|
284
|
-
u && /* @__PURE__ */ s("div", { className: De.leftSection, "data-size": a, children:
|
|
284
|
+
u && /* @__PURE__ */ s("div", { className: De.leftSection, "data-size": a, children: r }),
|
|
285
285
|
/* @__PURE__ */ s("div", { className: De.rightSection, children: l })
|
|
286
286
|
]
|
|
287
287
|
}
|
|
@@ -327,12 +327,12 @@ const ca = "AssistiveElement-module__root___WhQ43", da = "AssistiveElement-modul
|
|
|
327
327
|
), co = h(function({
|
|
328
328
|
assistiveVariant: e = "help",
|
|
329
329
|
assistiveWithIcon: a = !0,
|
|
330
|
-
children:
|
|
330
|
+
children: t,
|
|
331
331
|
className: o,
|
|
332
|
-
overStyled:
|
|
332
|
+
overStyled: r = !1,
|
|
333
333
|
...l
|
|
334
334
|
}, i) {
|
|
335
|
-
const d = N(l,
|
|
335
|
+
const d = N(l, r), p = no.root, m = o ? `${p} ${o}` : p, f = e === "error" ? _a : ma;
|
|
336
336
|
return /* @__PURE__ */ F(
|
|
337
337
|
"div",
|
|
338
338
|
{
|
|
@@ -343,7 +343,7 @@ const ca = "AssistiveElement-module__root___WhQ43", da = "AssistiveElement-modul
|
|
|
343
343
|
...d,
|
|
344
344
|
children: [
|
|
345
345
|
a && /* @__PURE__ */ s("span", { className: no.iconWrapper, children: /* @__PURE__ */ s(f, {}) }),
|
|
346
|
-
/* @__PURE__ */ s("span", { className: no.textWrapper, children:
|
|
346
|
+
/* @__PURE__ */ s("span", { className: no.textWrapper, children: t })
|
|
347
347
|
]
|
|
348
348
|
}
|
|
349
349
|
);
|
|
@@ -355,9 +355,9 @@ const ua = "FormControlWrapper-module__root___c-UHo", ya = "FormControlWrapper-m
|
|
|
355
355
|
}, Ue = h(function({
|
|
356
356
|
formLayout: e,
|
|
357
357
|
labelSize: a,
|
|
358
|
-
labelAlignment:
|
|
358
|
+
labelAlignment: t,
|
|
359
359
|
labelOptionalText: o,
|
|
360
|
-
labelWithEditIcon:
|
|
360
|
+
labelWithEditIcon: r,
|
|
361
361
|
labelActionArea: l,
|
|
362
362
|
onLabelEditClick: i,
|
|
363
363
|
label: c,
|
|
@@ -368,7 +368,7 @@ const ua = "FormControlWrapper-module__root___c-UHo", ya = "FormControlWrapper-m
|
|
|
368
368
|
controlMinWidth: u,
|
|
369
369
|
error: _,
|
|
370
370
|
required: y,
|
|
371
|
-
withAsterisk:
|
|
371
|
+
withAsterisk: P,
|
|
372
372
|
id: C,
|
|
373
373
|
children: $,
|
|
374
374
|
className: b,
|
|
@@ -387,12 +387,12 @@ const ua = "FormControlWrapper-module__root___c-UHo", ya = "FormControlWrapper-m
|
|
|
387
387
|
fo,
|
|
388
388
|
{
|
|
389
389
|
id: L,
|
|
390
|
-
labelAlignment:
|
|
390
|
+
labelAlignment: t,
|
|
391
391
|
labelOptionalText: o,
|
|
392
|
-
labelWithEditIcon:
|
|
392
|
+
labelWithEditIcon: r,
|
|
393
393
|
labelActionArea: l,
|
|
394
394
|
onLabelEditClick: i,
|
|
395
|
-
required:
|
|
395
|
+
required: P ?? y,
|
|
396
396
|
...v === "div" ? { as: "div" } : {},
|
|
397
397
|
children: c
|
|
398
398
|
}
|
|
@@ -436,8 +436,8 @@ Ue.displayName = "FormControlWrapper";
|
|
|
436
436
|
const ba = "_root_1qhn7_3", fa = "_contents_1qhn7_18", We = {
|
|
437
437
|
root: ba,
|
|
438
438
|
contents: fa
|
|
439
|
-
}, Na = h(function({ layer: n, contentsOnly: e, children: a, className:
|
|
440
|
-
const i = e ?
|
|
439
|
+
}, Na = h(function({ layer: n, contentsOnly: e, children: a, className: t, style: o, ...r }, l) {
|
|
440
|
+
const i = e ? t ? `${We.root} ${We.contents} ${t}` : `${We.root} ${We.contents}` : t ? `${We.root} ${t}` : We.root;
|
|
441
441
|
return /* @__PURE__ */ s(
|
|
442
442
|
"div",
|
|
443
443
|
{
|
|
@@ -445,7 +445,7 @@ const ba = "_root_1qhn7_3", fa = "_contents_1qhn7_18", We = {
|
|
|
445
445
|
className: i,
|
|
446
446
|
style: o,
|
|
447
447
|
...e ? {} : { "data-recursica-layer": String(n) },
|
|
448
|
-
...
|
|
448
|
+
...r,
|
|
449
449
|
children: a
|
|
450
450
|
}
|
|
451
451
|
);
|
|
@@ -602,27 +602,35 @@ const wi = [
|
|
|
602
602
|
"TransferList"
|
|
603
603
|
], Pi = (n, e) => {
|
|
604
604
|
const a = document.activeElement;
|
|
605
|
-
return new Promise((
|
|
605
|
+
return new Promise((t, o) => {
|
|
606
606
|
if (e && e.current) {
|
|
607
|
-
const
|
|
608
|
-
|
|
607
|
+
const r = document.createElement("textarea");
|
|
608
|
+
r.readOnly = !0, r.defaultValue = n, e.current.appendChild(r), r.select();
|
|
609
609
|
const l = document.execCommand("copy");
|
|
610
|
-
e.current.removeChild(
|
|
610
|
+
e.current.removeChild(r), a && a.focus(), l ? t() : o(new Error("Failed to copy"));
|
|
611
611
|
} else
|
|
612
612
|
o(new Error("Copy area reference is not defined"));
|
|
613
613
|
});
|
|
614
614
|
};
|
|
615
|
-
function
|
|
615
|
+
function w(n) {
|
|
616
616
|
if (!Oe || typeof n != "function" && !(n && n.$$typeof))
|
|
617
617
|
return n;
|
|
618
|
-
const e = V.forwardRef((
|
|
619
|
-
const { overStyled:
|
|
618
|
+
const e = V.forwardRef((t, o) => {
|
|
619
|
+
const { overStyled: r } = t, l = va(), i = V.createElement(
|
|
620
620
|
n,
|
|
621
|
-
{ ...
|
|
621
|
+
{ ...t, ref: o }
|
|
622
622
|
);
|
|
623
|
-
return
|
|
623
|
+
return r && l ? /* @__PURE__ */ s("div", { className: "recursica-over-styled", children: i }) : i;
|
|
624
624
|
});
|
|
625
|
-
|
|
625
|
+
e.displayName = n.displayName || n.name || "Component";
|
|
626
|
+
const a = Object.keys(n);
|
|
627
|
+
for (const t of a) {
|
|
628
|
+
if (t === "render" || t === "$$typeof")
|
|
629
|
+
continue;
|
|
630
|
+
const o = n[t];
|
|
631
|
+
(typeof o == "function" || o && o.$$typeof) && t[0] === t[0].toUpperCase() ? e[t] = w(o) : e[t] = o;
|
|
632
|
+
}
|
|
633
|
+
return e;
|
|
626
634
|
}
|
|
627
635
|
const Ca = "ReadOnlyField-module__layoutOverride___9fSsG", wa = "ReadOnlyField-module__textField___qKn25", Ze = {
|
|
628
636
|
layoutOverride: Ca,
|
|
@@ -632,13 +640,13 @@ const Ca = "ReadOnlyField-module__layoutOverride___9fSsG", wa = "ReadOnlyField-m
|
|
|
632
640
|
overStyled: e = !1,
|
|
633
641
|
...a
|
|
634
642
|
}) => {
|
|
635
|
-
const
|
|
643
|
+
const t = N(a, e), o = t.className;
|
|
636
644
|
return /* @__PURE__ */ s(
|
|
637
645
|
Nr,
|
|
638
646
|
{
|
|
639
647
|
component: "p",
|
|
640
648
|
className: o ? `${Ze.textField} ${o}` : Ze.textField,
|
|
641
|
-
...
|
|
649
|
+
...t,
|
|
642
650
|
children: n != null ? V.isValidElement(n) ? n : Array.isArray(n) ? n.join(", ") : String(n) : ""
|
|
643
651
|
}
|
|
644
652
|
);
|
|
@@ -648,14 +656,14 @@ const No = h(
|
|
|
648
656
|
function({
|
|
649
657
|
value: e,
|
|
650
658
|
type: a = "text",
|
|
651
|
-
emptyValueComponent:
|
|
659
|
+
emptyValueComponent: t,
|
|
652
660
|
overStyled: o = !1,
|
|
653
|
-
className:
|
|
661
|
+
className: r,
|
|
654
662
|
style: l,
|
|
655
663
|
...i
|
|
656
664
|
}, c) {
|
|
657
665
|
let d = null;
|
|
658
|
-
const p = N(i, o), m =
|
|
666
|
+
const p = N(i, o), m = t || Ye, u = (m.check ? m.check(e) : Ye.check(e)) ? /* @__PURE__ */ s(m, { value: e }) : e;
|
|
659
667
|
switch (a) {
|
|
660
668
|
case "boolean":
|
|
661
669
|
d = /* @__PURE__ */ s(
|
|
@@ -686,7 +694,7 @@ const No = h(
|
|
|
686
694
|
);
|
|
687
695
|
break;
|
|
688
696
|
}
|
|
689
|
-
const _ =
|
|
697
|
+
const _ = r ? `${Ze.layoutOverride} ${r}` : Ze.layoutOverride;
|
|
690
698
|
return /* @__PURE__ */ s(
|
|
691
699
|
Ue,
|
|
692
700
|
{
|
|
@@ -704,9 +712,9 @@ No.displayName = "ReadOnlyField";
|
|
|
704
712
|
const te = h(function({
|
|
705
713
|
readOnly: e,
|
|
706
714
|
readOnlyComponent: a,
|
|
707
|
-
readOnlyType:
|
|
715
|
+
readOnlyType: t = "text",
|
|
708
716
|
readOnlyValue: o,
|
|
709
|
-
readOnlyNativeProps:
|
|
717
|
+
readOnlyNativeProps: r,
|
|
710
718
|
emptyValueComponent: l,
|
|
711
719
|
activeComponent: i,
|
|
712
720
|
overStyled: c,
|
|
@@ -720,13 +728,13 @@ const te = h(function({
|
|
|
720
728
|
...p,
|
|
721
729
|
onLabelEditClick: d,
|
|
722
730
|
overStyled: c,
|
|
723
|
-
children: /* @__PURE__ */ s(a, { ...
|
|
731
|
+
children: /* @__PURE__ */ s(a, { ...r })
|
|
724
732
|
}
|
|
725
733
|
) : /* @__PURE__ */ s(
|
|
726
734
|
No,
|
|
727
735
|
{
|
|
728
736
|
ref: m,
|
|
729
|
-
type:
|
|
737
|
+
type: t,
|
|
730
738
|
value: o,
|
|
731
739
|
emptyValueComponent: l,
|
|
732
740
|
onLabelEditClick: d,
|
|
@@ -755,10 +763,10 @@ const Pa = "AutoComplete-module__layoutOverride___-K9WL", ga = "AutoComplete-mod
|
|
|
755
763
|
}, Xo = h(
|
|
756
764
|
function(e, a) {
|
|
757
765
|
const {
|
|
758
|
-
overStyled:
|
|
766
|
+
overStyled: t = !1,
|
|
759
767
|
formLayout: o = "stacked",
|
|
760
768
|
// Label & Wrapper Maps
|
|
761
|
-
labelSize:
|
|
769
|
+
labelSize: r,
|
|
762
770
|
labelAlignment: l,
|
|
763
771
|
labelOptionalText: i,
|
|
764
772
|
labelWithEditIcon: c,
|
|
@@ -769,7 +777,7 @@ const Pa = "AutoComplete-module__layoutOverride___-K9WL", ga = "AutoComplete-mod
|
|
|
769
777
|
error: u,
|
|
770
778
|
required: _,
|
|
771
779
|
withAsterisk: y,
|
|
772
|
-
id:
|
|
780
|
+
id: P,
|
|
773
781
|
className: C,
|
|
774
782
|
style: $,
|
|
775
783
|
disabled: b,
|
|
@@ -779,7 +787,7 @@ const Pa = "AutoComplete-module__layoutOverride___-K9WL", ga = "AutoComplete-mod
|
|
|
779
787
|
value: x,
|
|
780
788
|
defaultValue: A,
|
|
781
789
|
...L
|
|
782
|
-
} = e, W = N(L,
|
|
790
|
+
} = e, W = N(L, t), g = W;
|
|
783
791
|
delete g.size, delete g.variant, delete g.radius;
|
|
784
792
|
const T = {
|
|
785
793
|
wrapper: j.root,
|
|
@@ -801,9 +809,9 @@ const Pa = "AutoComplete-module__layoutOverride___-K9WL", ga = "AutoComplete-mod
|
|
|
801
809
|
style: $,
|
|
802
810
|
controlMaxWidth: "var(--recursica_ui-kit_components_autocomplete_properties_max-width)",
|
|
803
811
|
controlMinWidth: "var(--recursica_ui-kit_components_autocomplete_properties_min-width)",
|
|
804
|
-
overStyled:
|
|
812
|
+
overStyled: t,
|
|
805
813
|
formLayout: o,
|
|
806
|
-
labelSize:
|
|
814
|
+
labelSize: r,
|
|
807
815
|
labelAlignment: l,
|
|
808
816
|
labelOptionalText: i,
|
|
809
817
|
labelWithEditIcon: c,
|
|
@@ -814,7 +822,7 @@ const Pa = "AutoComplete-module__layoutOverride___-K9WL", ga = "AutoComplete-mod
|
|
|
814
822
|
error: u,
|
|
815
823
|
required: _,
|
|
816
824
|
withAsterisk: y,
|
|
817
|
-
id:
|
|
825
|
+
id: P,
|
|
818
826
|
readOnly: O,
|
|
819
827
|
readOnlyComponent: v,
|
|
820
828
|
emptyValueComponent: R,
|
|
@@ -853,9 +861,9 @@ const Oa = "Avatar-module__root___fXu-J", La = "Avatar-module__iconWrapper___ojl
|
|
|
853
861
|
}, Qo = h(function({
|
|
854
862
|
size: e = "default",
|
|
855
863
|
variant: a = "solid",
|
|
856
|
-
icon:
|
|
864
|
+
icon: t,
|
|
857
865
|
children: o,
|
|
858
|
-
src:
|
|
866
|
+
src: r,
|
|
859
867
|
overStyled: l = !1,
|
|
860
868
|
...i
|
|
861
869
|
}, c) {
|
|
@@ -869,7 +877,7 @@ const Oa = "Avatar-module__root___fXu-J", La = "Avatar-module__iconWrapper___ojl
|
|
|
869
877
|
large: "lg"
|
|
870
878
|
}, m = N(i, l), f = m;
|
|
871
879
|
let u = "text";
|
|
872
|
-
|
|
880
|
+
r ? u = "image" : t && (u = "icon");
|
|
873
881
|
const _ = {
|
|
874
882
|
root: ee.root,
|
|
875
883
|
image: ee.image,
|
|
@@ -879,45 +887,45 @@ const Oa = "Avatar-module__root___fXu-J", La = "Avatar-module__iconWrapper___ojl
|
|
|
879
887
|
const C = y;
|
|
880
888
|
_.root = C.root ? `${ee.root} ${C.root}` : ee.root, _.image = C.image ? `${ee.image} ${C.image}` : ee.image, _.placeholder = C.placeholder ? `${ee.placeholder} ${C.placeholder}` : ee.placeholder;
|
|
881
889
|
}
|
|
882
|
-
const
|
|
890
|
+
const P = f.className;
|
|
883
891
|
return /* @__PURE__ */ s(
|
|
884
892
|
$r,
|
|
885
893
|
{
|
|
886
894
|
ref: c,
|
|
887
|
-
className:
|
|
895
|
+
className: P,
|
|
888
896
|
classNames: _,
|
|
889
897
|
variant: d[a],
|
|
890
898
|
size: p[e],
|
|
891
|
-
src:
|
|
899
|
+
src: r,
|
|
892
900
|
"data-variant": a,
|
|
893
901
|
"data-size": e,
|
|
894
902
|
"data-style": u,
|
|
895
903
|
...m,
|
|
896
|
-
children:
|
|
904
|
+
children: t != null ? /* @__PURE__ */ s("span", { className: ee.iconWrapper, "aria-hidden": !0, children: t }) : o != null ? /* @__PURE__ */ s("span", { className: ee.textWrapper, children: o }) : void 0
|
|
897
905
|
}
|
|
898
906
|
);
|
|
899
907
|
});
|
|
900
908
|
Qo.displayName = "Avatar";
|
|
901
909
|
const Ra = re(Qo), Ma = "Badge-module__root___5osNT", le = {
|
|
902
910
|
root: Ma
|
|
903
|
-
}, Jo = h(function({ variant: e = "primary-color", overStyled: a = !1, ...
|
|
904
|
-
const
|
|
911
|
+
}, Jo = h(function({ variant: e = "primary-color", overStyled: a = !1, ...t }, o) {
|
|
912
|
+
const r = N(t, a), l = {
|
|
905
913
|
root: le.root,
|
|
906
914
|
section: le.section,
|
|
907
915
|
label: le.label
|
|
908
|
-
}, i =
|
|
916
|
+
}, i = r.classNames;
|
|
909
917
|
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
910
918
|
const p = i;
|
|
911
919
|
l.root = p.root ? `${le.root} ${p.root}` : le.root, l.section = p.section ?? le.section, l.label = p.label ?? le.label;
|
|
912
920
|
}
|
|
913
|
-
const c =
|
|
921
|
+
const c = r.className, d = c ? `${le.root} ${c}` : le.root;
|
|
914
922
|
return /* @__PURE__ */ s(
|
|
915
923
|
vr,
|
|
916
924
|
{
|
|
917
925
|
ref: o,
|
|
918
926
|
variant: "filled",
|
|
919
927
|
"data-variant": e,
|
|
920
|
-
...
|
|
928
|
+
...r,
|
|
921
929
|
className: d,
|
|
922
930
|
classNames: l
|
|
923
931
|
}
|
|
@@ -928,24 +936,24 @@ const za = re(Jo), Ea = "Breadcrumb-module__root___x-9ln", Ba = "Breadcrumb-modu
|
|
|
928
936
|
root: Ea,
|
|
929
937
|
separator: Ba
|
|
930
938
|
}, et = h(
|
|
931
|
-
function({ overStyled: e = !1, separator: a = ">", ...
|
|
932
|
-
const
|
|
933
|
-
{ separator: a, ...
|
|
939
|
+
function({ overStyled: e = !1, separator: a = ">", ...t }, o) {
|
|
940
|
+
const r = N(
|
|
941
|
+
{ separator: a, ...t },
|
|
934
942
|
e
|
|
935
943
|
), l = {
|
|
936
944
|
root: Ne.root,
|
|
937
945
|
separator: Ne.separator
|
|
938
|
-
}, i =
|
|
946
|
+
}, i = r.classNames;
|
|
939
947
|
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
940
948
|
const p = i;
|
|
941
949
|
l.root = p.root ? `${Ne.root} ${p.root}` : Ne.root, l.separator = p.separator ? `${Ne.separator} ${p.separator}` : Ne.separator;
|
|
942
950
|
}
|
|
943
|
-
const c =
|
|
951
|
+
const c = r.className, d = c ? `${Ne.root} ${c}` : Ne.root;
|
|
944
952
|
return /* @__PURE__ */ s(
|
|
945
953
|
Cr,
|
|
946
954
|
{
|
|
947
955
|
ref: o,
|
|
948
|
-
...
|
|
956
|
+
...r,
|
|
949
957
|
className: d,
|
|
950
958
|
classNames: l
|
|
951
959
|
}
|
|
@@ -955,7 +963,7 @@ const za = re(Jo), Ea = "Breadcrumb-module__root___x-9ln", Ba = "Breadcrumb-modu
|
|
|
955
963
|
et.displayName = "Breadcrumb";
|
|
956
964
|
const Fa = "Loader-module__root___6iYOP", Re = {
|
|
957
965
|
root: Fa
|
|
958
|
-
}, ho = h(function({ variant: e = "oval", size: a = "default", overStyled:
|
|
966
|
+
}, ho = h(function({ variant: e = "oval", size: a = "default", overStyled: t = !1, ...o }, r) {
|
|
959
967
|
const i = {
|
|
960
968
|
sm: "small",
|
|
961
969
|
md: "default",
|
|
@@ -963,7 +971,7 @@ const Fa = "Loader-module__root___6iYOP", Re = {
|
|
|
963
971
|
small: "small",
|
|
964
972
|
default: "default",
|
|
965
973
|
large: "large"
|
|
966
|
-
}[a] || "default", c = N(o,
|
|
974
|
+
}[a] || "default", c = N(o, t), d = {
|
|
967
975
|
root: Re.root
|
|
968
976
|
}, p = c.classNames;
|
|
969
977
|
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
@@ -974,7 +982,7 @@ const Fa = "Loader-module__root___6iYOP", Re = {
|
|
|
974
982
|
return /* @__PURE__ */ s(
|
|
975
983
|
wr,
|
|
976
984
|
{
|
|
977
|
-
ref:
|
|
985
|
+
ref: r,
|
|
978
986
|
type: e,
|
|
979
987
|
"data-variant": e,
|
|
980
988
|
"data-size": i,
|
|
@@ -999,9 +1007,9 @@ function Ua(n) {
|
|
|
999
1007
|
const ot = h(function({
|
|
1000
1008
|
variant: e = "solid",
|
|
1001
1009
|
size: a = "default",
|
|
1002
|
-
icon:
|
|
1010
|
+
icon: t,
|
|
1003
1011
|
children: o,
|
|
1004
|
-
overStyled:
|
|
1012
|
+
overStyled: r = !1,
|
|
1005
1013
|
loaderVariant: l = "oval",
|
|
1006
1014
|
loaderSize: i,
|
|
1007
1015
|
useRecursicaLoader: c = !0,
|
|
@@ -1014,11 +1022,11 @@ const ot = h(function({
|
|
|
1014
1022
|
}, f = {
|
|
1015
1023
|
default: "md",
|
|
1016
1024
|
small: "sm"
|
|
1017
|
-
}, u = N(d,
|
|
1025
|
+
}, u = N(d, r), _ = u;
|
|
1018
1026
|
delete _.fullWidth;
|
|
1019
|
-
const y = !!
|
|
1027
|
+
const y = !!t || !!_.leftSection, P = !!_.rightSection, C = Ua(o), $ = (y || P) && !C;
|
|
1020
1028
|
let b = "label";
|
|
1021
|
-
$ ? b = "icon-only" : (y ||
|
|
1029
|
+
$ ? b = "icon-only" : (y || P) && (b = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !_["aria-label"] && console.warn(
|
|
1022
1030
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1023
1031
|
);
|
|
1024
1032
|
const O = {
|
|
@@ -1045,7 +1053,7 @@ const ot = h(function({
|
|
|
1045
1053
|
variant: m[e],
|
|
1046
1054
|
size: f[a],
|
|
1047
1055
|
loaderProps: W,
|
|
1048
|
-
leftSection:
|
|
1056
|
+
leftSection: t != null ? /* @__PURE__ */ s("span", { className: J.iconWrapper, "aria-hidden": !0, children: t }) : void 0,
|
|
1049
1057
|
"data-variant": e,
|
|
1050
1058
|
"data-size": a,
|
|
1051
1059
|
"data-content": b,
|
|
@@ -1064,7 +1072,7 @@ const Ya = re(
|
|
|
1064
1072
|
footer: Xa,
|
|
1065
1073
|
section: Qa,
|
|
1066
1074
|
content: Ja
|
|
1067
|
-
}, tt = h(function({ overStyled: e = !1, ...a },
|
|
1075
|
+
}, tt = h(function({ overStyled: e = !1, ...a }, t) {
|
|
1068
1076
|
const o = N(a, e);
|
|
1069
1077
|
[
|
|
1070
1078
|
"flex",
|
|
@@ -1090,7 +1098,7 @@ const Ya = re(
|
|
|
1090
1098
|
return /* @__PURE__ */ s(
|
|
1091
1099
|
Xe,
|
|
1092
1100
|
{
|
|
1093
|
-
ref:
|
|
1101
|
+
ref: t,
|
|
1094
1102
|
className: c,
|
|
1095
1103
|
classNames: l,
|
|
1096
1104
|
...o
|
|
@@ -1099,13 +1107,13 @@ const Ya = re(
|
|
|
1099
1107
|
});
|
|
1100
1108
|
tt.displayName = "Card";
|
|
1101
1109
|
const rt = h(
|
|
1102
|
-
function({ overStyled: e = !1, ...a },
|
|
1103
|
-
const o = N(a, e),
|
|
1110
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1111
|
+
const o = N(a, e), r = o.className;
|
|
1104
1112
|
return /* @__PURE__ */ s(
|
|
1105
1113
|
Xe.Section,
|
|
1106
1114
|
{
|
|
1107
|
-
ref:
|
|
1108
|
-
className:
|
|
1115
|
+
ref: t,
|
|
1116
|
+
className: r ? `${pe.section} ${r}` : pe.section,
|
|
1109
1117
|
...o
|
|
1110
1118
|
}
|
|
1111
1119
|
);
|
|
@@ -1113,13 +1121,13 @@ const rt = h(
|
|
|
1113
1121
|
);
|
|
1114
1122
|
rt.displayName = "CardSection";
|
|
1115
1123
|
const at = h(
|
|
1116
|
-
function({ overStyled: e = !1, ...a },
|
|
1117
|
-
const o = N(a, e),
|
|
1124
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1125
|
+
const o = N(a, e), r = o.className;
|
|
1118
1126
|
return /* @__PURE__ */ s(
|
|
1119
1127
|
Xe.Section,
|
|
1120
1128
|
{
|
|
1121
|
-
ref:
|
|
1122
|
-
className:
|
|
1129
|
+
ref: t,
|
|
1130
|
+
className: r ? `${pe.header} ${r}` : pe.header,
|
|
1123
1131
|
...o
|
|
1124
1132
|
}
|
|
1125
1133
|
);
|
|
@@ -1127,13 +1135,13 @@ const at = h(
|
|
|
1127
1135
|
);
|
|
1128
1136
|
at.displayName = "CardHeader";
|
|
1129
1137
|
const st = h(
|
|
1130
|
-
function({ overStyled: e = !1, ...a },
|
|
1131
|
-
const o = N(a, e),
|
|
1138
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1139
|
+
const o = N(a, e), r = o.className;
|
|
1132
1140
|
return /* @__PURE__ */ s(
|
|
1133
1141
|
Xe.Section,
|
|
1134
1142
|
{
|
|
1135
|
-
ref:
|
|
1136
|
-
className:
|
|
1143
|
+
ref: t,
|
|
1144
|
+
className: r ? `${pe.footer} ${r}` : pe.footer,
|
|
1137
1145
|
...o
|
|
1138
1146
|
}
|
|
1139
1147
|
);
|
|
@@ -1141,13 +1149,13 @@ const st = h(
|
|
|
1141
1149
|
);
|
|
1142
1150
|
st.displayName = "CardFooter";
|
|
1143
1151
|
const nt = h(
|
|
1144
|
-
function({ overStyled: e = !1, ...a },
|
|
1145
|
-
const o = N(a, e),
|
|
1152
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1153
|
+
const o = N(a, e), r = o.className;
|
|
1146
1154
|
return /* @__PURE__ */ s(
|
|
1147
1155
|
"div",
|
|
1148
1156
|
{
|
|
1149
|
-
ref:
|
|
1150
|
-
className:
|
|
1157
|
+
ref: t,
|
|
1158
|
+
className: r ? `${pe.content} ${r}` : pe.content,
|
|
1151
1159
|
...o
|
|
1152
1160
|
}
|
|
1153
1161
|
);
|
|
@@ -1171,10 +1179,10 @@ const es = lt, os = "Checkbox-module__groupRoot___cBS0o", ts = "Checkbox-module_
|
|
|
1171
1179
|
}, $o = h(
|
|
1172
1180
|
function(e, a) {
|
|
1173
1181
|
const {
|
|
1174
|
-
overStyled:
|
|
1182
|
+
overStyled: t = !1,
|
|
1175
1183
|
formLayout: o = "stacked",
|
|
1176
1184
|
// Label Wrappers
|
|
1177
|
-
labelSize:
|
|
1185
|
+
labelSize: r,
|
|
1178
1186
|
labelAlignment: l,
|
|
1179
1187
|
labelOptionalText: i,
|
|
1180
1188
|
labelWithEditIcon: c,
|
|
@@ -1186,7 +1194,7 @@ const es = lt, os = "Checkbox-module__groupRoot___cBS0o", ts = "Checkbox-module_
|
|
|
1186
1194
|
assistiveWithIcon: u,
|
|
1187
1195
|
error: _,
|
|
1188
1196
|
required: y,
|
|
1189
|
-
withAsterisk:
|
|
1197
|
+
withAsterisk: P,
|
|
1190
1198
|
id: C,
|
|
1191
1199
|
className: $,
|
|
1192
1200
|
style: b,
|
|
@@ -1197,7 +1205,7 @@ const es = lt, os = "Checkbox-module__groupRoot___cBS0o", ts = "Checkbox-module_
|
|
|
1197
1205
|
value: A,
|
|
1198
1206
|
defaultValue: L,
|
|
1199
1207
|
...W
|
|
1200
|
-
} = e, g = N(W,
|
|
1208
|
+
} = e, g = N(W, t), T = g;
|
|
1201
1209
|
return delete T.size, /* @__PURE__ */ s(
|
|
1202
1210
|
te,
|
|
1203
1211
|
{
|
|
@@ -1205,10 +1213,10 @@ const es = lt, os = "Checkbox-module__groupRoot___cBS0o", ts = "Checkbox-module_
|
|
|
1205
1213
|
style: b,
|
|
1206
1214
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
1207
1215
|
controlMinWidth: void 0,
|
|
1208
|
-
overStyled:
|
|
1216
|
+
overStyled: t,
|
|
1209
1217
|
labelElement: "div",
|
|
1210
1218
|
formLayout: o,
|
|
1211
|
-
labelSize:
|
|
1219
|
+
labelSize: r,
|
|
1212
1220
|
labelAlignment: l,
|
|
1213
1221
|
labelOptionalText: i,
|
|
1214
1222
|
labelWithEditIcon: c,
|
|
@@ -1219,7 +1227,7 @@ const es = lt, os = "Checkbox-module__groupRoot___cBS0o", ts = "Checkbox-module_
|
|
|
1219
1227
|
assistiveWithIcon: u,
|
|
1220
1228
|
error: _,
|
|
1221
1229
|
required: y,
|
|
1222
|
-
withAsterisk:
|
|
1230
|
+
withAsterisk: P,
|
|
1223
1231
|
id: C,
|
|
1224
1232
|
readOnly: v && !!R,
|
|
1225
1233
|
readOnlyComponent: R,
|
|
@@ -1246,16 +1254,16 @@ $o.displayName = "CheckboxGroup";
|
|
|
1246
1254
|
const vo = h(
|
|
1247
1255
|
function(e, a) {
|
|
1248
1256
|
const {
|
|
1249
|
-
overStyled:
|
|
1257
|
+
overStyled: t = !1,
|
|
1250
1258
|
readOnly: o,
|
|
1251
|
-
readOnlyComponent:
|
|
1259
|
+
readOnlyComponent: r,
|
|
1252
1260
|
disabled: l,
|
|
1253
1261
|
formLayout: i,
|
|
1254
1262
|
labelSize: c,
|
|
1255
1263
|
controlMaxWidth: d,
|
|
1256
1264
|
controlMinWidth: p,
|
|
1257
1265
|
...m
|
|
1258
|
-
} = e, f = N(m,
|
|
1266
|
+
} = e, f = N(m, t), u = f;
|
|
1259
1267
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
1260
1268
|
const _ = {
|
|
1261
1269
|
root: E.root,
|
|
@@ -1270,10 +1278,10 @@ const vo = h(
|
|
|
1270
1278
|
const b = y;
|
|
1271
1279
|
_.root = b.root ? `${E.root} ${b.root}` : E.root, _.body = b.body ? `${E.body} ${b.body}` : E.body, _.inner = b.inner ? `${E.inner} ${b.inner}` : E.inner, _.input = b.input ? `${E.input} ${b.input}` : E.input, _.icon = b.icon ? `${E.icon} ${b.icon}` : E.icon, _.labelWrapper = b.labelWrapper ? `${E.labelWrapper} ${b.labelWrapper}` : E.labelWrapper, _.label = b.label ? `${E.label} ${b.label}` : E.label;
|
|
1272
1280
|
}
|
|
1273
|
-
const
|
|
1274
|
-
if (o &&
|
|
1281
|
+
const P = u.className, C = P ? `${E.root} ${P}` : E.root;
|
|
1282
|
+
if (o && r) {
|
|
1275
1283
|
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ s(
|
|
1276
|
-
|
|
1284
|
+
r,
|
|
1277
1285
|
{
|
|
1278
1286
|
...e,
|
|
1279
1287
|
checked: b,
|
|
@@ -1348,9 +1356,9 @@ function bs(n) {
|
|
|
1348
1356
|
const it = h(function({
|
|
1349
1357
|
error: e = !1,
|
|
1350
1358
|
icon: a,
|
|
1351
|
-
onRemove:
|
|
1359
|
+
onRemove: t,
|
|
1352
1360
|
removeLabel: o = "Remove",
|
|
1353
|
-
children:
|
|
1361
|
+
children: r,
|
|
1354
1362
|
overStyled: l = !1,
|
|
1355
1363
|
...i
|
|
1356
1364
|
}, c) {
|
|
@@ -1365,7 +1373,7 @@ const it = h(function({
|
|
|
1365
1373
|
const $ = f;
|
|
1366
1374
|
m.root = $.root ? `${q.root} ${$.root}` : q.root, m.label = $.label ? `${q.label} ${$.label}` : q.label;
|
|
1367
1375
|
}
|
|
1368
|
-
const u = p.className, _ = u ? `${q.root} ${u}` : q.root, y = e ? "" : void 0,
|
|
1376
|
+
const u = p.className, _ = u ? `${q.root} ${u}` : q.root, y = e ? "" : void 0, P = !r && (!!a || !!t), C = p.checked !== void 0 || p.defaultChecked !== void 0 || t !== void 0 || p.onClick !== void 0;
|
|
1369
1377
|
return /* @__PURE__ */ s(
|
|
1370
1378
|
gr,
|
|
1371
1379
|
{
|
|
@@ -1373,23 +1381,23 @@ const it = h(function({
|
|
|
1373
1381
|
className: _,
|
|
1374
1382
|
classNames: m,
|
|
1375
1383
|
wrapperProps: y !== void 0 ? { "data-error": "" } : void 0,
|
|
1376
|
-
...
|
|
1384
|
+
...P ? { "data-icon-only": "" } : {},
|
|
1377
1385
|
...C ? {} : { tabIndex: -1, "aria-hidden": !0 },
|
|
1378
1386
|
...d,
|
|
1379
1387
|
children: /* @__PURE__ */ F("span", { className: q.innerWrapper, children: [
|
|
1380
1388
|
a && /* @__PURE__ */ s("span", { className: q.leadingIcon, "aria-hidden": !0, children: a }),
|
|
1381
|
-
/* @__PURE__ */ s("span", { className: q.children, children:
|
|
1382
|
-
|
|
1389
|
+
/* @__PURE__ */ s("span", { className: q.children, children: r }),
|
|
1390
|
+
t && /* @__PURE__ */ s(
|
|
1383
1391
|
"span",
|
|
1384
1392
|
{
|
|
1385
1393
|
role: "button",
|
|
1386
1394
|
className: q.removeIcon,
|
|
1387
1395
|
onClick: ($) => {
|
|
1388
|
-
$.preventDefault(), $.stopPropagation(),
|
|
1396
|
+
$.preventDefault(), $.stopPropagation(), t($);
|
|
1389
1397
|
},
|
|
1390
1398
|
"aria-label": o,
|
|
1391
1399
|
onKeyDown: ($) => {
|
|
1392
|
-
($.key === "Enter" || $.key === " ") && ($.preventDefault(), $.stopPropagation(),
|
|
1400
|
+
($.key === "Enter" || $.key === " ") && ($.preventDefault(), $.stopPropagation(), t(
|
|
1393
1401
|
$
|
|
1394
1402
|
));
|
|
1395
1403
|
},
|
|
@@ -1405,22 +1413,22 @@ it.displayName = "Chip";
|
|
|
1405
1413
|
const fs = "Container-module__root___UVssr", Me = {
|
|
1406
1414
|
root: fs
|
|
1407
1415
|
}, ct = h(
|
|
1408
|
-
function({ children: e, size: a, ...
|
|
1409
|
-
const
|
|
1416
|
+
function({ children: e, size: a, ...t }, o) {
|
|
1417
|
+
const r = {
|
|
1410
1418
|
"rec-sm": "sm",
|
|
1411
1419
|
"rec-default": "md",
|
|
1412
1420
|
"rec-md": "md",
|
|
1413
1421
|
"rec-lg": "lg",
|
|
1414
1422
|
"rec-xl": "xl",
|
|
1415
1423
|
"rec-2xl": "xl"
|
|
1416
|
-
}, l = typeof a == "string" &&
|
|
1424
|
+
}, l = typeof a == "string" && r[a] ? r[a] : a, i = {
|
|
1417
1425
|
root: Me.root
|
|
1418
|
-
}, c =
|
|
1426
|
+
}, c = t.classNames;
|
|
1419
1427
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1420
1428
|
const m = c;
|
|
1421
1429
|
i.root = m.root ? `${Me.root} ${m.root}` : Me.root;
|
|
1422
1430
|
}
|
|
1423
|
-
const d =
|
|
1431
|
+
const d = t.className, p = d ? `${Me.root} ${d}` : Me.root;
|
|
1424
1432
|
return /* @__PURE__ */ s(
|
|
1425
1433
|
Tr,
|
|
1426
1434
|
{
|
|
@@ -1428,7 +1436,7 @@ const fs = "Container-module__root___UVssr", Me = {
|
|
|
1428
1436
|
size: l,
|
|
1429
1437
|
className: p,
|
|
1430
1438
|
classNames: i,
|
|
1431
|
-
...
|
|
1439
|
+
...t,
|
|
1432
1440
|
children: e
|
|
1433
1441
|
}
|
|
1434
1442
|
);
|
|
@@ -1446,10 +1454,10 @@ const Ns = "DatePicker-module__layoutOverride___X9yaM", hs = "DatePicker-module_
|
|
|
1446
1454
|
}, dt = h(
|
|
1447
1455
|
function(e, a) {
|
|
1448
1456
|
const {
|
|
1449
|
-
overStyled:
|
|
1457
|
+
overStyled: t = !1,
|
|
1450
1458
|
formLayout: o = "stacked",
|
|
1451
1459
|
// Label & Wrapper Maps
|
|
1452
|
-
labelSize:
|
|
1460
|
+
labelSize: r,
|
|
1453
1461
|
labelAlignment: l,
|
|
1454
1462
|
labelOptionalText: i,
|
|
1455
1463
|
labelWithEditIcon: c,
|
|
@@ -1460,7 +1468,7 @@ const Ns = "DatePicker-module__layoutOverride___X9yaM", hs = "DatePicker-module_
|
|
|
1460
1468
|
error: u,
|
|
1461
1469
|
required: _,
|
|
1462
1470
|
withAsterisk: y,
|
|
1463
|
-
id:
|
|
1471
|
+
id: P,
|
|
1464
1472
|
className: C,
|
|
1465
1473
|
style: $,
|
|
1466
1474
|
disabled: b,
|
|
@@ -1470,7 +1478,7 @@ const Ns = "DatePicker-module__layoutOverride___X9yaM", hs = "DatePicker-module_
|
|
|
1470
1478
|
value: x,
|
|
1471
1479
|
defaultValue: A,
|
|
1472
1480
|
...L
|
|
1473
|
-
} = e, W = N(L,
|
|
1481
|
+
} = e, W = N(L, t), g = W;
|
|
1474
1482
|
delete g.size, delete g.variant, delete g.radius, delete g.description;
|
|
1475
1483
|
const T = {
|
|
1476
1484
|
wrapper: Z.root,
|
|
@@ -1493,9 +1501,9 @@ const Ns = "DatePicker-module__layoutOverride___X9yaM", hs = "DatePicker-module_
|
|
|
1493
1501
|
style: $,
|
|
1494
1502
|
controlMaxWidth: void 0,
|
|
1495
1503
|
controlMinWidth: void 0,
|
|
1496
|
-
overStyled:
|
|
1504
|
+
overStyled: t,
|
|
1497
1505
|
formLayout: o,
|
|
1498
|
-
labelSize:
|
|
1506
|
+
labelSize: r,
|
|
1499
1507
|
labelAlignment: l,
|
|
1500
1508
|
labelOptionalText: i,
|
|
1501
1509
|
labelWithEditIcon: c,
|
|
@@ -1506,7 +1514,7 @@ const Ns = "DatePicker-module__layoutOverride___X9yaM", hs = "DatePicker-module_
|
|
|
1506
1514
|
error: u,
|
|
1507
1515
|
required: _,
|
|
1508
1516
|
withAsterisk: y,
|
|
1509
|
-
id:
|
|
1517
|
+
id: P,
|
|
1510
1518
|
readOnly: O,
|
|
1511
1519
|
readOnlyComponent: v,
|
|
1512
1520
|
emptyValueComponent: R,
|
|
@@ -1550,9 +1558,9 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1550
1558
|
}, pt = h(
|
|
1551
1559
|
function(e, a) {
|
|
1552
1560
|
const {
|
|
1553
|
-
overStyled:
|
|
1561
|
+
overStyled: t = !1,
|
|
1554
1562
|
formLayout: o = "stacked",
|
|
1555
|
-
containerWidth:
|
|
1563
|
+
containerWidth: r,
|
|
1556
1564
|
// Label & Wrapper Maps
|
|
1557
1565
|
labelSize: l,
|
|
1558
1566
|
labelAlignment: i,
|
|
@@ -1564,7 +1572,7 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1564
1572
|
assistiveWithIcon: u,
|
|
1565
1573
|
error: _,
|
|
1566
1574
|
required: y,
|
|
1567
|
-
withAsterisk:
|
|
1575
|
+
withAsterisk: P,
|
|
1568
1576
|
id: C,
|
|
1569
1577
|
className: $,
|
|
1570
1578
|
style: b,
|
|
@@ -1576,7 +1584,7 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1576
1584
|
defaultValue: L,
|
|
1577
1585
|
data: W,
|
|
1578
1586
|
...g
|
|
1579
|
-
} = e, T = N(g,
|
|
1587
|
+
} = e, T = N(g, t), I = T;
|
|
1580
1588
|
delete I.size, delete I.variant, delete I.radius;
|
|
1581
1589
|
const z = {
|
|
1582
1590
|
wrapper: G.root,
|
|
@@ -1592,7 +1600,7 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1592
1600
|
}
|
|
1593
1601
|
const we = {
|
|
1594
1602
|
...b || {},
|
|
1595
|
-
width:
|
|
1603
|
+
width: r || "100%"
|
|
1596
1604
|
}, Pe = $ ? `${G.layoutOverride} ${$}` : G.layoutOverride;
|
|
1597
1605
|
return /* @__PURE__ */ s(
|
|
1598
1606
|
te,
|
|
@@ -1601,7 +1609,7 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1601
1609
|
style: we,
|
|
1602
1610
|
controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
|
|
1603
1611
|
controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
|
|
1604
|
-
overStyled:
|
|
1612
|
+
overStyled: t,
|
|
1605
1613
|
formLayout: o,
|
|
1606
1614
|
labelSize: l,
|
|
1607
1615
|
labelAlignment: i,
|
|
@@ -1613,7 +1621,7 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1613
1621
|
assistiveWithIcon: u,
|
|
1614
1622
|
error: _,
|
|
1615
1623
|
required: y,
|
|
1616
|
-
withAsterisk:
|
|
1624
|
+
withAsterisk: P,
|
|
1617
1625
|
id: C,
|
|
1618
1626
|
readOnly: v,
|
|
1619
1627
|
readOnlyComponent: R,
|
|
@@ -1652,22 +1660,22 @@ const gs = "Dropdown-module__layoutOverride___FNcvP", Ts = "Dropdown-module__roo
|
|
|
1652
1660
|
pt.displayName = "Dropdown";
|
|
1653
1661
|
const Ls = (n) => /* @__PURE__ */ s("div", { ...n, children: "FileInput" }), Ws = (n) => /* @__PURE__ */ s("div", { ...n, children: "FileUpload" }), Is = "Flex-module__root___yYser", ze = {
|
|
1654
1662
|
root: Is
|
|
1655
|
-
}, mt = h(function({ children: e, gap: a = "rec-default", rowGap:
|
|
1663
|
+
}, mt = h(function({ children: e, gap: a = "rec-default", rowGap: t, columnGap: o, ...r }, l) {
|
|
1656
1664
|
const i = {
|
|
1657
1665
|
root: ze.root
|
|
1658
|
-
}, c =
|
|
1666
|
+
}, c = r.classNames;
|
|
1659
1667
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1660
1668
|
const m = c;
|
|
1661
1669
|
i.root = m.root ? `${ze.root} ${m.root}` : ze.root;
|
|
1662
1670
|
}
|
|
1663
|
-
const d =
|
|
1671
|
+
const d = r.className, p = d ? `${ze.root} ${d}` : ze.root;
|
|
1664
1672
|
return /* @__PURE__ */ s(
|
|
1665
1673
|
Ar,
|
|
1666
1674
|
{
|
|
1667
1675
|
ref: l,
|
|
1668
1676
|
className: p,
|
|
1669
1677
|
classNames: i,
|
|
1670
|
-
...yo({ gap: a, rowGap:
|
|
1678
|
+
...yo({ gap: a, rowGap: t, columnGap: o, ...r }),
|
|
1671
1679
|
children: e
|
|
1672
1680
|
}
|
|
1673
1681
|
);
|
|
@@ -1675,22 +1683,22 @@ const Ls = (n) => /* @__PURE__ */ s("div", { ...n, children: "FileInput" }), Ws
|
|
|
1675
1683
|
mt.displayName = "Flex";
|
|
1676
1684
|
const ks = re(mt), Rs = "Group-module__root___ftO64", Ee = {
|
|
1677
1685
|
root: Rs
|
|
1678
|
-
}, _t = h(function({ children: e, gap: a = "rec-default", ...
|
|
1679
|
-
const
|
|
1686
|
+
}, _t = h(function({ children: e, gap: a = "rec-default", ...t }, o) {
|
|
1687
|
+
const r = {
|
|
1680
1688
|
root: Ee.root
|
|
1681
|
-
}, l =
|
|
1689
|
+
}, l = t.classNames;
|
|
1682
1690
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
1683
1691
|
const d = l;
|
|
1684
|
-
|
|
1692
|
+
r.root = d.root ? `${Ee.root} ${d.root}` : Ee.root;
|
|
1685
1693
|
}
|
|
1686
|
-
const i =
|
|
1694
|
+
const i = t.className, c = i ? `${Ee.root} ${i}` : Ee.root;
|
|
1687
1695
|
return /* @__PURE__ */ s(
|
|
1688
1696
|
xr,
|
|
1689
1697
|
{
|
|
1690
1698
|
ref: o,
|
|
1691
1699
|
className: c,
|
|
1692
|
-
classNames:
|
|
1693
|
-
...yo({ gap: a, ...
|
|
1700
|
+
classNames: r,
|
|
1701
|
+
...yo({ gap: a, ...t }),
|
|
1694
1702
|
children: e
|
|
1695
1703
|
}
|
|
1696
1704
|
);
|
|
@@ -1702,16 +1710,16 @@ const Ms = "HoverCard-module__dropdown___FBPFW", zs = "HoverCard-module__arrow__
|
|
|
1702
1710
|
}, ut = function({
|
|
1703
1711
|
overStyled: e = !1,
|
|
1704
1712
|
withBeak: a = !0,
|
|
1705
|
-
...
|
|
1713
|
+
...t
|
|
1706
1714
|
}) {
|
|
1707
|
-
const o = N(
|
|
1715
|
+
const o = N(t, e), r = {
|
|
1708
1716
|
dropdown: Bo.dropdown,
|
|
1709
1717
|
arrow: Bo.arrow
|
|
1710
1718
|
}, l = o.classNames;
|
|
1711
1719
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
1712
1720
|
const p = l;
|
|
1713
1721
|
Object.keys(p).forEach((m) => {
|
|
1714
|
-
|
|
1722
|
+
r[m] ? r[m] = `${r[m]} ${p[m]}` : r[m] = p[m];
|
|
1715
1723
|
});
|
|
1716
1724
|
}
|
|
1717
1725
|
const i = o.arrowSize ?? 16, c = o.withArrow;
|
|
@@ -1721,7 +1729,7 @@ const Ms = "HoverCard-module__dropdown___FBPFW", zs = "HoverCard-module__arrow__
|
|
|
1721
1729
|
position: "top",
|
|
1722
1730
|
arrowSize: i,
|
|
1723
1731
|
withArrow: a ?? c,
|
|
1724
|
-
classNames:
|
|
1732
|
+
classNames: r,
|
|
1725
1733
|
...o
|
|
1726
1734
|
}
|
|
1727
1735
|
);
|
|
@@ -1735,12 +1743,12 @@ const bt = function({
|
|
|
1735
1743
|
overStyled: e = !1,
|
|
1736
1744
|
...a
|
|
1737
1745
|
}) {
|
|
1738
|
-
const
|
|
1746
|
+
const t = N(a, e), o = t.className;
|
|
1739
1747
|
return /* @__PURE__ */ s(
|
|
1740
1748
|
mo.Dropdown,
|
|
1741
1749
|
{
|
|
1742
1750
|
className: o,
|
|
1743
|
-
...
|
|
1751
|
+
...t
|
|
1744
1752
|
}
|
|
1745
1753
|
);
|
|
1746
1754
|
};
|
|
@@ -1752,8 +1760,8 @@ const Es = "Link-module__root___I0VGE", Bs = "Link-module__iconWrapper___W-LlF",
|
|
|
1752
1760
|
root: Es,
|
|
1753
1761
|
iconWrapper: Bs,
|
|
1754
1762
|
labelText: Fs
|
|
1755
|
-
}, ft = h(function({ icon: e, children: a, overStyled:
|
|
1756
|
-
const l = N(o,
|
|
1763
|
+
}, ft = h(function({ icon: e, children: a, overStyled: t = !1, ...o }, r) {
|
|
1764
|
+
const l = N(o, t), i = l, c = {
|
|
1757
1765
|
root: Te.root
|
|
1758
1766
|
}, d = i.classNames;
|
|
1759
1767
|
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
@@ -1764,7 +1772,7 @@ const Es = "Link-module__root___I0VGE", Bs = "Link-module__iconWrapper___W-LlF",
|
|
|
1764
1772
|
return /* @__PURE__ */ F(
|
|
1765
1773
|
Or,
|
|
1766
1774
|
{
|
|
1767
|
-
ref:
|
|
1775
|
+
ref: r,
|
|
1768
1776
|
className: m,
|
|
1769
1777
|
classNames: c,
|
|
1770
1778
|
underline: "never",
|
|
@@ -1787,7 +1795,7 @@ const Vs = re(ft), Ds = "Menu-module__dropdown___j4xuA", js = "Menu-module__item
|
|
|
1787
1795
|
label: Us,
|
|
1788
1796
|
chevron: Ys
|
|
1789
1797
|
}, Nt = function({ overStyled: e = !1, ...a }) {
|
|
1790
|
-
const
|
|
1798
|
+
const t = N(a, e), o = {
|
|
1791
1799
|
dropdown: Se.dropdown,
|
|
1792
1800
|
item: Se.item,
|
|
1793
1801
|
itemLabel: Se.itemLabel,
|
|
@@ -1795,9 +1803,9 @@ const Vs = re(ft), Ds = "Menu-module__dropdown___j4xuA", js = "Menu-module__item
|
|
|
1795
1803
|
divider: Se.divider,
|
|
1796
1804
|
label: Se.label,
|
|
1797
1805
|
chevron: Se.chevron
|
|
1798
|
-
},
|
|
1799
|
-
if (
|
|
1800
|
-
const l =
|
|
1806
|
+
}, r = t.classNames;
|
|
1807
|
+
if (r && typeof r == "object" && !Array.isArray(r)) {
|
|
1808
|
+
const l = r;
|
|
1801
1809
|
Object.keys(l).forEach((i) => {
|
|
1802
1810
|
o[i] ? o[i] = `${o[i]} ${l[i]}` : o[i] = l[i];
|
|
1803
1811
|
});
|
|
@@ -1806,7 +1814,7 @@ const Vs = re(ft), Ds = "Menu-module__dropdown___j4xuA", js = "Menu-module__item
|
|
|
1806
1814
|
ae,
|
|
1807
1815
|
{
|
|
1808
1816
|
classNames: o,
|
|
1809
|
-
...
|
|
1817
|
+
...t
|
|
1810
1818
|
}
|
|
1811
1819
|
);
|
|
1812
1820
|
};
|
|
@@ -1816,13 +1824,13 @@ const ht = function(e) {
|
|
|
1816
1824
|
};
|
|
1817
1825
|
ht.displayName = "MenuTarget";
|
|
1818
1826
|
const $t = h(
|
|
1819
|
-
function({ overStyled: e = !1, ...a },
|
|
1820
|
-
const o = N(a, e),
|
|
1827
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1828
|
+
const o = N(a, e), r = o.className;
|
|
1821
1829
|
return /* @__PURE__ */ s(
|
|
1822
1830
|
ae.Dropdown,
|
|
1823
1831
|
{
|
|
1824
|
-
ref:
|
|
1825
|
-
className:
|
|
1832
|
+
ref: t,
|
|
1833
|
+
className: r,
|
|
1826
1834
|
...o
|
|
1827
1835
|
}
|
|
1828
1836
|
);
|
|
@@ -1830,14 +1838,14 @@ const $t = h(
|
|
|
1830
1838
|
);
|
|
1831
1839
|
$t.displayName = "MenuDropdown";
|
|
1832
1840
|
const vt = h(
|
|
1833
|
-
function({ overStyled: e = !1, ...a },
|
|
1834
|
-
const o = N(a, e),
|
|
1835
|
-
e || delete
|
|
1836
|
-
const l =
|
|
1841
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1842
|
+
const o = N(a, e), r = o;
|
|
1843
|
+
e || delete r.color;
|
|
1844
|
+
const l = r.className;
|
|
1837
1845
|
return /* @__PURE__ */ s(
|
|
1838
1846
|
ae.Item,
|
|
1839
1847
|
{
|
|
1840
|
-
ref:
|
|
1848
|
+
ref: t,
|
|
1841
1849
|
className: l,
|
|
1842
1850
|
...o
|
|
1843
1851
|
}
|
|
@@ -1846,26 +1854,26 @@ const vt = h(
|
|
|
1846
1854
|
);
|
|
1847
1855
|
vt.displayName = "MenuItem";
|
|
1848
1856
|
const Zs = re(vt), Ct = h(
|
|
1849
|
-
function({ overStyled: e = !1, ...a },
|
|
1850
|
-
const o = N(a, e),
|
|
1857
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1858
|
+
const o = N(a, e), r = o.className;
|
|
1851
1859
|
return /* @__PURE__ */ s(
|
|
1852
1860
|
ae.Divider,
|
|
1853
1861
|
{
|
|
1854
|
-
ref:
|
|
1855
|
-
className:
|
|
1862
|
+
ref: t,
|
|
1863
|
+
className: r,
|
|
1856
1864
|
...o
|
|
1857
1865
|
}
|
|
1858
1866
|
);
|
|
1859
1867
|
}
|
|
1860
1868
|
);
|
|
1861
1869
|
Ct.displayName = "MenuDivider";
|
|
1862
|
-
const wt = h(function({ overStyled: e = !1, ...a },
|
|
1863
|
-
const o = N(a, e),
|
|
1870
|
+
const wt = h(function({ overStyled: e = !1, ...a }, t) {
|
|
1871
|
+
const o = N(a, e), r = o.className;
|
|
1864
1872
|
return /* @__PURE__ */ s(
|
|
1865
1873
|
ae.Label,
|
|
1866
1874
|
{
|
|
1867
|
-
ref:
|
|
1868
|
-
className:
|
|
1875
|
+
ref: t,
|
|
1876
|
+
className: r,
|
|
1869
1877
|
...o
|
|
1870
1878
|
}
|
|
1871
1879
|
);
|
|
@@ -1880,14 +1888,14 @@ const gt = function(e) {
|
|
|
1880
1888
|
};
|
|
1881
1889
|
gt.displayName = "MenuSubTarget";
|
|
1882
1890
|
const Tt = h(
|
|
1883
|
-
function({ overStyled: e = !1, ...a },
|
|
1884
|
-
const o = N(a, e),
|
|
1885
|
-
e || delete
|
|
1886
|
-
const l =
|
|
1891
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1892
|
+
const o = N(a, e), r = o;
|
|
1893
|
+
e || delete r.color;
|
|
1894
|
+
const l = r.className;
|
|
1887
1895
|
return /* @__PURE__ */ s(
|
|
1888
1896
|
ae.Sub.Item,
|
|
1889
1897
|
{
|
|
1890
|
-
ref:
|
|
1898
|
+
ref: t,
|
|
1891
1899
|
className: l,
|
|
1892
1900
|
...o
|
|
1893
1901
|
}
|
|
@@ -1898,13 +1906,13 @@ Tt.displayName = "MenuSubItem";
|
|
|
1898
1906
|
const Ks = re(
|
|
1899
1907
|
Tt
|
|
1900
1908
|
), St = h(
|
|
1901
|
-
function({ overStyled: e = !1, ...a },
|
|
1902
|
-
const o = N(a, e),
|
|
1909
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
1910
|
+
const o = N(a, e), r = o.className;
|
|
1903
1911
|
return /* @__PURE__ */ s(
|
|
1904
1912
|
ae.Sub.Dropdown,
|
|
1905
1913
|
{
|
|
1906
|
-
ref:
|
|
1907
|
-
className:
|
|
1914
|
+
ref: t,
|
|
1915
|
+
className: r,
|
|
1908
1916
|
...o
|
|
1909
1917
|
}
|
|
1910
1918
|
);
|
|
@@ -1935,9 +1943,9 @@ const Xs = "Modal-module__root___ytPLl", Qs = "Modal-module__inner___SSUJE", Js
|
|
|
1935
1943
|
}, At = V.forwardRef(function({
|
|
1936
1944
|
overStyled: e = !1,
|
|
1937
1945
|
children: a,
|
|
1938
|
-
title:
|
|
1946
|
+
title: t,
|
|
1939
1947
|
withCloseButton: o = !0,
|
|
1940
|
-
overlayProps:
|
|
1948
|
+
overlayProps: r,
|
|
1941
1949
|
withOverlay: l = !0,
|
|
1942
1950
|
closeButtonProps: i,
|
|
1943
1951
|
...c
|
|
@@ -1963,10 +1971,10 @@ const Xs = "Modal-module__root___ytPLl", Qs = "Modal-module__inner___SSUJE", Js
|
|
|
1963
1971
|
classNames: m,
|
|
1964
1972
|
...p,
|
|
1965
1973
|
children: [
|
|
1966
|
-
l && /* @__PURE__ */ s(X.Overlay, { ...
|
|
1974
|
+
l && /* @__PURE__ */ s(X.Overlay, { ...r }),
|
|
1967
1975
|
/* @__PURE__ */ F(X.Content, { children: [
|
|
1968
|
-
(
|
|
1969
|
-
|
|
1976
|
+
(t || o) && /* @__PURE__ */ F(X.Header, { children: [
|
|
1977
|
+
t && /* @__PURE__ */ s(X.Title, { children: t }),
|
|
1970
1978
|
o && /* @__PURE__ */ s(X.CloseButton, { ...i })
|
|
1971
1979
|
] }),
|
|
1972
1980
|
/* @__PURE__ */ s(Po, { children: a })
|
|
@@ -1976,39 +1984,39 @@ const Xs = "Modal-module__root___ytPLl", Qs = "Modal-module__inner___SSUJE", Js
|
|
|
1976
1984
|
);
|
|
1977
1985
|
});
|
|
1978
1986
|
At.displayName = "Modal";
|
|
1979
|
-
const wo = V.forwardRef(function({ className: e, ...a },
|
|
1987
|
+
const wo = V.forwardRef(function({ className: e, ...a }, t) {
|
|
1980
1988
|
return /* @__PURE__ */ s(
|
|
1981
1989
|
"div",
|
|
1982
1990
|
{
|
|
1983
|
-
ref:
|
|
1991
|
+
ref: t,
|
|
1984
1992
|
className: `${ce.footer} ${e || ""}`,
|
|
1985
1993
|
...a
|
|
1986
1994
|
}
|
|
1987
1995
|
);
|
|
1988
1996
|
});
|
|
1989
1997
|
wo.displayName = "Modal.Footer";
|
|
1990
|
-
const Po = V.forwardRef(function({ className: e, onScroll: a, children:
|
|
1998
|
+
const Po = V.forwardRef(function({ className: e, onScroll: a, children: t, ...o }, r) {
|
|
1991
1999
|
const l = V.useRef(null), [i, c] = V.useState(!1), [d, p] = V.useState(!1), m = V.useCallback(() => {
|
|
1992
2000
|
if (l.current) {
|
|
1993
|
-
const { scrollTop: y, scrollHeight:
|
|
1994
|
-
c(y > 0), p(Math.ceil(y + C) <
|
|
2001
|
+
const { scrollTop: y, scrollHeight: P, clientHeight: C } = l.current;
|
|
2002
|
+
c(y > 0), p(Math.ceil(y + C) < P);
|
|
1995
2003
|
}
|
|
1996
2004
|
}, []);
|
|
1997
|
-
V.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), [m,
|
|
2005
|
+
V.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), [m, t]);
|
|
1998
2006
|
const f = (y) => {
|
|
1999
2007
|
m(), a == null || a(y);
|
|
2000
2008
|
};
|
|
2001
2009
|
let u = null;
|
|
2002
2010
|
const _ = [];
|
|
2003
|
-
return V.Children.forEach(
|
|
2004
|
-
var
|
|
2005
|
-
V.isValidElement(y) && (y.type === wo || ((
|
|
2011
|
+
return V.Children.forEach(t, (y) => {
|
|
2012
|
+
var P;
|
|
2013
|
+
V.isValidElement(y) && (y.type === wo || ((P = y.type) == null ? void 0 : P.displayName) === "Modal.Footer") ? u = y : _.push(y);
|
|
2006
2014
|
}), /* @__PURE__ */ F(
|
|
2007
2015
|
X.Body,
|
|
2008
2016
|
{
|
|
2009
2017
|
...o,
|
|
2010
2018
|
ref: (y) => {
|
|
2011
|
-
typeof
|
|
2019
|
+
typeof r == "function" ? r(y) : r && (r.current = y);
|
|
2012
2020
|
},
|
|
2013
2021
|
className: `${ce.bodyWrapper} ${e || ""}`,
|
|
2014
2022
|
children: [
|
|
@@ -2048,10 +2056,10 @@ const nn = "NumberInput-module__layoutOverride___5-9T4", ln = "NumberInput-modul
|
|
|
2048
2056
|
}, xt = h(
|
|
2049
2057
|
function(e, a) {
|
|
2050
2058
|
const {
|
|
2051
|
-
overStyled:
|
|
2059
|
+
overStyled: t = !1,
|
|
2052
2060
|
formLayout: o = "stacked",
|
|
2053
2061
|
// Label & Wrapper Maps
|
|
2054
|
-
labelSize:
|
|
2062
|
+
labelSize: r,
|
|
2055
2063
|
labelAlignment: l,
|
|
2056
2064
|
labelOptionalText: i,
|
|
2057
2065
|
labelWithEditIcon: c,
|
|
@@ -2062,7 +2070,7 @@ const nn = "NumberInput-module__layoutOverride___5-9T4", ln = "NumberInput-modul
|
|
|
2062
2070
|
error: u,
|
|
2063
2071
|
required: _,
|
|
2064
2072
|
withAsterisk: y,
|
|
2065
|
-
id:
|
|
2073
|
+
id: P,
|
|
2066
2074
|
className: C,
|
|
2067
2075
|
style: $,
|
|
2068
2076
|
disabled: b,
|
|
@@ -2073,7 +2081,7 @@ const nn = "NumberInput-module__layoutOverride___5-9T4", ln = "NumberInput-modul
|
|
|
2073
2081
|
defaultValue: A,
|
|
2074
2082
|
hideControls: L = !1,
|
|
2075
2083
|
...W
|
|
2076
|
-
} = e, g = N(W,
|
|
2084
|
+
} = e, g = N(W, t), T = g;
|
|
2077
2085
|
delete T.size, delete T.variant, delete T.radius;
|
|
2078
2086
|
const I = {
|
|
2079
2087
|
wrapper: Ae.root,
|
|
@@ -2090,9 +2098,9 @@ const nn = "NumberInput-module__layoutOverride___5-9T4", ln = "NumberInput-modul
|
|
|
2090
2098
|
style: $,
|
|
2091
2099
|
controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
|
|
2092
2100
|
controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
|
|
2093
|
-
overStyled:
|
|
2101
|
+
overStyled: t,
|
|
2094
2102
|
formLayout: o,
|
|
2095
|
-
labelSize:
|
|
2103
|
+
labelSize: r,
|
|
2096
2104
|
labelAlignment: l,
|
|
2097
2105
|
labelOptionalText: i,
|
|
2098
2106
|
labelWithEditIcon: c,
|
|
@@ -2103,7 +2111,7 @@ const nn = "NumberInput-module__layoutOverride___5-9T4", ln = "NumberInput-modul
|
|
|
2103
2111
|
error: u,
|
|
2104
2112
|
required: _,
|
|
2105
2113
|
withAsterisk: y,
|
|
2106
|
-
id:
|
|
2114
|
+
id: P,
|
|
2107
2115
|
readOnly: O,
|
|
2108
2116
|
readOnlyComponent: v,
|
|
2109
2117
|
emptyValueComponent: R,
|
|
@@ -2185,89 +2193,89 @@ function kt(n) {
|
|
|
2185
2193
|
dots: H.dots
|
|
2186
2194
|
}, a = n.classNames;
|
|
2187
2195
|
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
2188
|
-
const
|
|
2189
|
-
e.root =
|
|
2196
|
+
const r = a;
|
|
2197
|
+
e.root = r.root ? `${H.root} ${r.root}` : H.root, e.control = r.control ? `${H.control} ${r.control}` : H.control, e.dots = r.dots ? `${H.dots} ${r.dots}` : H.dots;
|
|
2190
2198
|
}
|
|
2191
|
-
const
|
|
2192
|
-
return { className:
|
|
2199
|
+
const t = n.className;
|
|
2200
|
+
return { className: t ? `${H.root} ${t}` : H.root, classNames: e };
|
|
2193
2201
|
}
|
|
2194
2202
|
const Rt = h(
|
|
2195
|
-
function({ overStyled: e = !1, ...a },
|
|
2196
|
-
const o = N(a, e),
|
|
2203
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
2204
|
+
const o = N(a, e), r = kt(
|
|
2197
2205
|
o
|
|
2198
2206
|
);
|
|
2199
2207
|
return /* @__PURE__ */ s(
|
|
2200
2208
|
me.Root,
|
|
2201
2209
|
{
|
|
2202
|
-
ref:
|
|
2203
|
-
className:
|
|
2204
|
-
classNames:
|
|
2210
|
+
ref: t,
|
|
2211
|
+
className: r.className,
|
|
2212
|
+
classNames: r.classNames,
|
|
2205
2213
|
...o
|
|
2206
2214
|
}
|
|
2207
2215
|
);
|
|
2208
2216
|
}
|
|
2209
2217
|
);
|
|
2210
2218
|
Rt.displayName = "Pagination.Root";
|
|
2211
|
-
const Mt = h(function({ withLabel: e, icon: a, ...
|
|
2212
|
-
const
|
|
2219
|
+
const Mt = h(function({ withLabel: e, icon: a, ...t }, o) {
|
|
2220
|
+
const r = a || (e ? Ot : void 0);
|
|
2213
2221
|
return /* @__PURE__ */ s(
|
|
2214
2222
|
me.Next,
|
|
2215
2223
|
{
|
|
2216
2224
|
ref: o,
|
|
2217
2225
|
"data-variant": "text",
|
|
2218
|
-
icon:
|
|
2219
|
-
...
|
|
2226
|
+
icon: r,
|
|
2227
|
+
...t
|
|
2220
2228
|
}
|
|
2221
2229
|
);
|
|
2222
2230
|
});
|
|
2223
2231
|
Mt.displayName = "Pagination.Next";
|
|
2224
|
-
const zt = h(function({ withLabel: e, icon: a, ...
|
|
2225
|
-
const
|
|
2232
|
+
const zt = h(function({ withLabel: e, icon: a, ...t }, o) {
|
|
2233
|
+
const r = a || (e ? Lt : void 0);
|
|
2226
2234
|
return /* @__PURE__ */ s(
|
|
2227
2235
|
me.Previous,
|
|
2228
2236
|
{
|
|
2229
2237
|
ref: o,
|
|
2230
2238
|
"data-variant": "text",
|
|
2231
|
-
icon:
|
|
2232
|
-
...
|
|
2239
|
+
icon: r,
|
|
2240
|
+
...t
|
|
2233
2241
|
}
|
|
2234
2242
|
);
|
|
2235
2243
|
});
|
|
2236
2244
|
zt.displayName = "Pagination.Previous";
|
|
2237
|
-
const Et = h(function({ withLabel: e, icon: a, ...
|
|
2238
|
-
const
|
|
2245
|
+
const Et = h(function({ withLabel: e, icon: a, ...t }, o) {
|
|
2246
|
+
const r = a || (e ? Wt : void 0);
|
|
2239
2247
|
return /* @__PURE__ */ s(
|
|
2240
2248
|
me.First,
|
|
2241
2249
|
{
|
|
2242
2250
|
ref: o,
|
|
2243
2251
|
"data-variant": "text",
|
|
2244
|
-
icon:
|
|
2245
|
-
...
|
|
2252
|
+
icon: r,
|
|
2253
|
+
...t
|
|
2246
2254
|
}
|
|
2247
2255
|
);
|
|
2248
2256
|
});
|
|
2249
2257
|
Et.displayName = "Pagination.First";
|
|
2250
|
-
const Bt = h(function({ withLabel: e, icon: a, ...
|
|
2251
|
-
const
|
|
2258
|
+
const Bt = h(function({ withLabel: e, icon: a, ...t }, o) {
|
|
2259
|
+
const r = a || (e ? It : void 0);
|
|
2252
2260
|
return /* @__PURE__ */ s(
|
|
2253
2261
|
me.Last,
|
|
2254
2262
|
{
|
|
2255
2263
|
ref: o,
|
|
2256
2264
|
"data-variant": "text",
|
|
2257
|
-
icon:
|
|
2258
|
-
...
|
|
2265
|
+
icon: r,
|
|
2266
|
+
...t
|
|
2259
2267
|
}
|
|
2260
2268
|
);
|
|
2261
2269
|
});
|
|
2262
2270
|
Bt.displayName = "Pagination.Last";
|
|
2263
2271
|
const Ft = h(
|
|
2264
|
-
function({ overStyled: e = !1, getControlProps: a, withLabels:
|
|
2272
|
+
function({ overStyled: e = !1, getControlProps: a, withLabels: t, ...o }, r) {
|
|
2265
2273
|
const l = N(o, e), i = kt(
|
|
2266
2274
|
l
|
|
2267
2275
|
), c = (p) => {
|
|
2268
2276
|
const m = { "data-variant": "text" };
|
|
2269
2277
|
return a ? { ...m, ...a(p) } : m;
|
|
2270
|
-
}, d =
|
|
2278
|
+
}, d = t ? {
|
|
2271
2279
|
nextIcon: Ot,
|
|
2272
2280
|
previousIcon: Lt,
|
|
2273
2281
|
firstIcon: Wt,
|
|
@@ -2276,7 +2284,7 @@ const Ft = h(
|
|
|
2276
2284
|
return /* @__PURE__ */ s(
|
|
2277
2285
|
me,
|
|
2278
2286
|
{
|
|
2279
|
-
ref:
|
|
2287
|
+
ref: r,
|
|
2280
2288
|
className: i.className,
|
|
2281
2289
|
classNames: i.classNames,
|
|
2282
2290
|
getControlProps: c,
|
|
@@ -2308,11 +2316,11 @@ const wn = "Panel-module__content___wdGo-", Pn = "Panel-module__inner___ruA2b",
|
|
|
2308
2316
|
}, Vt = function({
|
|
2309
2317
|
overStyled: e = !1,
|
|
2310
2318
|
placement: a = "right",
|
|
2311
|
-
keepMounted:
|
|
2319
|
+
keepMounted: t = !0,
|
|
2312
2320
|
wrapHeaderText: o = !1,
|
|
2313
|
-
...
|
|
2321
|
+
...r
|
|
2314
2322
|
}) {
|
|
2315
|
-
const l = N(
|
|
2323
|
+
const l = N(r, e), i = {
|
|
2316
2324
|
content: ve.content,
|
|
2317
2325
|
header: ve.header,
|
|
2318
2326
|
title: o ? ve.titleTruncate : ve.title,
|
|
@@ -2329,8 +2337,8 @@ const wn = "Panel-module__content___wdGo-", Pn = "Panel-module__inner___ruA2b",
|
|
|
2329
2337
|
_e,
|
|
2330
2338
|
{
|
|
2331
2339
|
position: a,
|
|
2332
|
-
keepMounted:
|
|
2333
|
-
closeOnClickOutside:
|
|
2340
|
+
keepMounted: t,
|
|
2341
|
+
closeOnClickOutside: r.closeOnClickOutside ?? !!r.opened,
|
|
2334
2342
|
...l,
|
|
2335
2343
|
classNames: i
|
|
2336
2344
|
}
|
|
@@ -2338,9 +2346,9 @@ const wn = "Panel-module__content___wdGo-", Pn = "Panel-module__inner___ruA2b",
|
|
|
2338
2346
|
};
|
|
2339
2347
|
Vt.displayName = "Panel";
|
|
2340
2348
|
const go = h(
|
|
2341
|
-
function({ overStyled: e = !1, ...a },
|
|
2342
|
-
const o = N(a, e),
|
|
2343
|
-
return /* @__PURE__ */ s("div", { ref:
|
|
2349
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
2350
|
+
const o = N(a, e), r = o.className, l = r ? `${ve.footer} ${r}` : ve.footer;
|
|
2351
|
+
return /* @__PURE__ */ s("div", { ref: t, className: l, ...o });
|
|
2344
2352
|
}
|
|
2345
2353
|
);
|
|
2346
2354
|
go.displayName = "PanelFooter";
|
|
@@ -2360,16 +2368,16 @@ const On = "Popover-module__dropdown___svhS6", Ln = "Popover-module__arrow___5A-
|
|
|
2360
2368
|
}, Dt = function({
|
|
2361
2369
|
overStyled: e = !1,
|
|
2362
2370
|
withBeak: a = !0,
|
|
2363
|
-
...
|
|
2371
|
+
...t
|
|
2364
2372
|
}) {
|
|
2365
|
-
const o = N(
|
|
2373
|
+
const o = N(t, e), r = {
|
|
2366
2374
|
dropdown: Fo.dropdown,
|
|
2367
2375
|
arrow: Fo.arrow
|
|
2368
2376
|
}, l = o.classNames;
|
|
2369
2377
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2370
2378
|
const p = l;
|
|
2371
2379
|
Object.keys(p).forEach((m) => {
|
|
2372
|
-
|
|
2380
|
+
r[m] ? r[m] = `${r[m]} ${p[m]}` : r[m] = p[m];
|
|
2373
2381
|
});
|
|
2374
2382
|
}
|
|
2375
2383
|
const i = o.arrowSize ?? 16, c = o.withArrow;
|
|
@@ -2379,7 +2387,7 @@ const On = "Popover-module__dropdown___svhS6", Ln = "Popover-module__arrow___5A-
|
|
|
2379
2387
|
position: "top",
|
|
2380
2388
|
arrowSize: i,
|
|
2381
2389
|
withArrow: a ?? c,
|
|
2382
|
-
classNames:
|
|
2390
|
+
classNames: r,
|
|
2383
2391
|
...o
|
|
2384
2392
|
}
|
|
2385
2393
|
);
|
|
@@ -2393,12 +2401,12 @@ const Gt = function({
|
|
|
2393
2401
|
overStyled: e = !1,
|
|
2394
2402
|
...a
|
|
2395
2403
|
}) {
|
|
2396
|
-
const
|
|
2404
|
+
const t = N(a, e), o = t.className;
|
|
2397
2405
|
return /* @__PURE__ */ s(
|
|
2398
2406
|
_o.Dropdown,
|
|
2399
2407
|
{
|
|
2400
2408
|
className: o,
|
|
2401
|
-
...
|
|
2409
|
+
...t
|
|
2402
2410
|
}
|
|
2403
2411
|
);
|
|
2404
2412
|
};
|
|
@@ -2418,10 +2426,10 @@ const Wn = "Radio-module__groupRoot___bfUii", In = "Radio-module__root___kAjTD",
|
|
|
2418
2426
|
}, So = h(
|
|
2419
2427
|
function(e, a) {
|
|
2420
2428
|
const {
|
|
2421
|
-
overStyled:
|
|
2429
|
+
overStyled: t = !1,
|
|
2422
2430
|
formLayout: o = "stacked",
|
|
2423
2431
|
// Label Wrappers
|
|
2424
|
-
labelSize:
|
|
2432
|
+
labelSize: r,
|
|
2425
2433
|
labelAlignment: l,
|
|
2426
2434
|
labelOptionalText: i,
|
|
2427
2435
|
labelWithEditIcon: c,
|
|
@@ -2433,7 +2441,7 @@ const Wn = "Radio-module__groupRoot___bfUii", In = "Radio-module__root___kAjTD",
|
|
|
2433
2441
|
assistiveWithIcon: u,
|
|
2434
2442
|
error: _,
|
|
2435
2443
|
required: y,
|
|
2436
|
-
withAsterisk:
|
|
2444
|
+
withAsterisk: P,
|
|
2437
2445
|
id: C,
|
|
2438
2446
|
className: $,
|
|
2439
2447
|
style: b,
|
|
@@ -2444,7 +2452,7 @@ const Wn = "Radio-module__groupRoot___bfUii", In = "Radio-module__root___kAjTD",
|
|
|
2444
2452
|
value: A,
|
|
2445
2453
|
defaultValue: L,
|
|
2446
2454
|
...W
|
|
2447
|
-
} = e, g = N(W,
|
|
2455
|
+
} = e, g = N(W, t), T = g;
|
|
2448
2456
|
return delete T.size, /* @__PURE__ */ s(
|
|
2449
2457
|
te,
|
|
2450
2458
|
{
|
|
@@ -2452,10 +2460,10 @@ const Wn = "Radio-module__groupRoot___bfUii", In = "Radio-module__root___kAjTD",
|
|
|
2452
2460
|
style: b,
|
|
2453
2461
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
2454
2462
|
controlMinWidth: void 0,
|
|
2455
|
-
overStyled:
|
|
2463
|
+
overStyled: t,
|
|
2456
2464
|
labelElement: "div",
|
|
2457
2465
|
formLayout: o,
|
|
2458
|
-
labelSize:
|
|
2466
|
+
labelSize: r,
|
|
2459
2467
|
labelAlignment: l,
|
|
2460
2468
|
labelOptionalText: i,
|
|
2461
2469
|
labelWithEditIcon: c,
|
|
@@ -2466,7 +2474,7 @@ const Wn = "Radio-module__groupRoot___bfUii", In = "Radio-module__root___kAjTD",
|
|
|
2466
2474
|
assistiveWithIcon: u,
|
|
2467
2475
|
error: _,
|
|
2468
2476
|
required: y,
|
|
2469
|
-
withAsterisk:
|
|
2477
|
+
withAsterisk: P,
|
|
2470
2478
|
id: C,
|
|
2471
2479
|
readOnly: v && !!R,
|
|
2472
2480
|
readOnlyComponent: R,
|
|
@@ -2503,16 +2511,16 @@ const Fn = ({ className: n, style: e }) => /* @__PURE__ */ s(
|
|
|
2503
2511
|
), Ao = h(
|
|
2504
2512
|
function(e, a) {
|
|
2505
2513
|
const {
|
|
2506
|
-
overStyled:
|
|
2514
|
+
overStyled: t = !1,
|
|
2507
2515
|
readOnly: o,
|
|
2508
|
-
readOnlyComponent:
|
|
2516
|
+
readOnlyComponent: r,
|
|
2509
2517
|
disabled: l,
|
|
2510
2518
|
formLayout: i,
|
|
2511
2519
|
labelSize: c,
|
|
2512
2520
|
controlMaxWidth: d,
|
|
2513
2521
|
controlMinWidth: p,
|
|
2514
2522
|
...m
|
|
2515
|
-
} = e, f = N(m,
|
|
2523
|
+
} = e, f = N(m, t), u = f;
|
|
2516
2524
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
2517
2525
|
const _ = {
|
|
2518
2526
|
root: B.root,
|
|
@@ -2527,10 +2535,10 @@ const Fn = ({ className: n, style: e }) => /* @__PURE__ */ s(
|
|
|
2527
2535
|
const b = y;
|
|
2528
2536
|
_.root = b.root ? `${B.root} ${b.root}` : B.root, _.body = b.body ? `${B.body} ${b.body}` : B.body, _.inner = b.inner ? `${B.inner} ${b.inner}` : B.inner, _.radio = b.radio ? `${B.radio} ${b.radio}` : B.radio, _.icon = b.icon ? `${B.icon} ${b.icon}` : B.icon, _.labelWrapper = b.labelWrapper ? `${B.labelWrapper} ${b.labelWrapper}` : B.labelWrapper, _.label = b.label ? `${B.label} ${b.label}` : B.label;
|
|
2529
2537
|
}
|
|
2530
|
-
const
|
|
2531
|
-
if (o &&
|
|
2538
|
+
const P = u.className, C = P ? `${B.root} ${P}` : B.root;
|
|
2539
|
+
if (o && r) {
|
|
2532
2540
|
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ s(
|
|
2533
|
-
|
|
2541
|
+
r,
|
|
2534
2542
|
{
|
|
2535
2543
|
...e,
|
|
2536
2544
|
checked: b,
|
|
@@ -2587,25 +2595,25 @@ function Hn(n) {
|
|
|
2587
2595
|
indicator: K.indicator
|
|
2588
2596
|
}, a = n.classNames;
|
|
2589
2597
|
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
2590
|
-
const
|
|
2591
|
-
e.root =
|
|
2598
|
+
const r = a;
|
|
2599
|
+
e.root = r.root ? `${K.root} ${r.root}` : K.root, e.control = r.control ? `${K.control} ${r.control}` : K.control, e.label = r.label ? `${K.label} ${r.label}` : K.label, e.indicator = r.indicator ? `${K.indicator} ${r.indicator}` : K.indicator;
|
|
2592
2600
|
}
|
|
2593
|
-
const
|
|
2594
|
-
return { className:
|
|
2601
|
+
const t = n.className;
|
|
2602
|
+
return { className: t ? `${K.root} ${t}` : K.root, classNames: e };
|
|
2595
2603
|
}
|
|
2596
2604
|
const Ht = h(
|
|
2597
|
-
function({ overStyled: e = !1, orientation: a = "horizontal", fullWidth:
|
|
2605
|
+
function({ overStyled: e = !1, orientation: a = "horizontal", fullWidth: t, ...o }, r) {
|
|
2598
2606
|
const l = N(o, e), i = l;
|
|
2599
2607
|
delete i.disabled;
|
|
2600
2608
|
const c = Hn(i);
|
|
2601
2609
|
return /* @__PURE__ */ s(
|
|
2602
2610
|
Wr,
|
|
2603
2611
|
{
|
|
2604
|
-
ref:
|
|
2612
|
+
ref: r,
|
|
2605
2613
|
className: c.className,
|
|
2606
2614
|
classNames: c.classNames,
|
|
2607
2615
|
orientation: a,
|
|
2608
|
-
fullWidth:
|
|
2616
|
+
fullWidth: t,
|
|
2609
2617
|
"data-orientation": a,
|
|
2610
2618
|
...l
|
|
2611
2619
|
}
|
|
@@ -2631,10 +2639,10 @@ const qn = Ht, Un = "Slider-module__layoutOverride___zYPun", Yn = "Slider-module
|
|
|
2631
2639
|
}, ll = ({ value: n }) => /* @__PURE__ */ s("div", { className: k.readOnlyValue, children: n }), qt = h(
|
|
2632
2640
|
function(e, a) {
|
|
2633
2641
|
const {
|
|
2634
|
-
overStyled:
|
|
2642
|
+
overStyled: t = !1,
|
|
2635
2643
|
formLayout: o = "stacked",
|
|
2636
2644
|
// Label & Wrapper Maps
|
|
2637
|
-
labelSize:
|
|
2645
|
+
labelSize: r,
|
|
2638
2646
|
labelAlignment: l,
|
|
2639
2647
|
labelOptionalText: i,
|
|
2640
2648
|
labelWithEditIcon: c,
|
|
@@ -2645,7 +2653,7 @@ const qn = Ht, Un = "Slider-module__layoutOverride___zYPun", Yn = "Slider-module
|
|
|
2645
2653
|
assistiveText: u,
|
|
2646
2654
|
assistiveWithIcon: _,
|
|
2647
2655
|
error: y,
|
|
2648
|
-
required:
|
|
2656
|
+
required: P,
|
|
2649
2657
|
withAsterisk: C,
|
|
2650
2658
|
id: $,
|
|
2651
2659
|
className: b,
|
|
@@ -2683,7 +2691,7 @@ const qn = Ht, Un = "Slider-module__layoutOverride___zYPun", Yn = "Slider-module
|
|
|
2683
2691
|
}
|
|
2684
2692
|
}, _r = () => {
|
|
2685
2693
|
so(fe.toString());
|
|
2686
|
-
}, ko = N(ao,
|
|
2694
|
+
}, ko = N(ao, t), ke = ko;
|
|
2687
2695
|
delete ke.size, delete ke.variant, delete ke.radius, delete ke.wrapperProps;
|
|
2688
2696
|
const ge = {
|
|
2689
2697
|
root: k.sliderRoot,
|
|
@@ -2706,9 +2714,9 @@ const qn = Ht, Un = "Slider-module__layoutOverride___zYPun", Yn = "Slider-module
|
|
|
2706
2714
|
style: O,
|
|
2707
2715
|
controlMaxWidth: void 0,
|
|
2708
2716
|
controlMinWidth: void 0,
|
|
2709
|
-
overStyled:
|
|
2717
|
+
overStyled: t,
|
|
2710
2718
|
formLayout: o,
|
|
2711
|
-
labelSize:
|
|
2719
|
+
labelSize: r,
|
|
2712
2720
|
labelAlignment: l,
|
|
2713
2721
|
labelOptionalText: i,
|
|
2714
2722
|
labelWithEditIcon: c,
|
|
@@ -2718,7 +2726,7 @@ const qn = Ht, Un = "Slider-module__layoutOverride___zYPun", Yn = "Slider-module
|
|
|
2718
2726
|
assistiveText: u,
|
|
2719
2727
|
assistiveWithIcon: _,
|
|
2720
2728
|
error: y,
|
|
2721
|
-
required:
|
|
2729
|
+
required: P,
|
|
2722
2730
|
withAsterisk: C,
|
|
2723
2731
|
id: $,
|
|
2724
2732
|
readOnly: R,
|
|
@@ -2781,22 +2789,22 @@ const qn = Ht, Un = "Slider-module__layoutOverride___zYPun", Yn = "Slider-module
|
|
|
2781
2789
|
qt.displayName = "Slider";
|
|
2782
2790
|
const il = "Stack-module__root___NUN-x", Be = {
|
|
2783
2791
|
root: il
|
|
2784
|
-
}, Ut = h(function({ children: e, gap: a = "rec-default", ...
|
|
2785
|
-
const
|
|
2792
|
+
}, Ut = h(function({ children: e, gap: a = "rec-default", ...t }, o) {
|
|
2793
|
+
const r = {
|
|
2786
2794
|
root: Be.root
|
|
2787
|
-
}, l =
|
|
2795
|
+
}, l = t.classNames;
|
|
2788
2796
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2789
2797
|
const d = l;
|
|
2790
|
-
|
|
2798
|
+
r.root = d.root ? `${Be.root} ${d.root}` : Be.root;
|
|
2791
2799
|
}
|
|
2792
|
-
const i =
|
|
2800
|
+
const i = t.className, c = i ? `${Be.root} ${i}` : Be.root;
|
|
2793
2801
|
return /* @__PURE__ */ s(
|
|
2794
2802
|
kr,
|
|
2795
2803
|
{
|
|
2796
2804
|
ref: o,
|
|
2797
2805
|
className: c,
|
|
2798
|
-
classNames:
|
|
2799
|
-
...yo({ gap: a, ...
|
|
2806
|
+
classNames: r,
|
|
2807
|
+
...yo({ gap: a, ...t }),
|
|
2800
2808
|
children: e
|
|
2801
2809
|
}
|
|
2802
2810
|
);
|
|
@@ -2821,22 +2829,22 @@ const cl = re(Ut), dl = "Stepper-module__root___jbSYO", pl = "Stepper-module__ho
|
|
|
2821
2829
|
}, Yt = h(
|
|
2822
2830
|
function(e, a) {
|
|
2823
2831
|
const {
|
|
2824
|
-
overStyled:
|
|
2832
|
+
overStyled: t = !1,
|
|
2825
2833
|
size: o = "large",
|
|
2826
|
-
orientation:
|
|
2834
|
+
orientation: r = "horizontal",
|
|
2827
2835
|
className: l,
|
|
2828
2836
|
style: i,
|
|
2829
2837
|
...c
|
|
2830
|
-
} = e, d = N(c,
|
|
2838
|
+
} = e, d = N(c, t);
|
|
2831
2839
|
return /* @__PURE__ */ s(
|
|
2832
2840
|
io,
|
|
2833
2841
|
{
|
|
2834
2842
|
ref: a,
|
|
2835
|
-
orientation:
|
|
2836
|
-
className: `${U.root} ${
|
|
2843
|
+
orientation: r,
|
|
2844
|
+
className: `${U.root} ${r === "horizontal" ? U.horizontal : U.vertical} ${o === "large" ? U.large : U.small} ${l || ""}`,
|
|
2837
2845
|
style: i,
|
|
2838
2846
|
"data-size": o,
|
|
2839
|
-
"data-orientation":
|
|
2847
|
+
"data-orientation": r,
|
|
2840
2848
|
classNames: {
|
|
2841
2849
|
steps: U.steps,
|
|
2842
2850
|
step: U.step,
|
|
@@ -2872,10 +2880,10 @@ const Tl = "Switch-module__root___Y5Ydi", Sl = "Switch-module__body___Sw9Wr", Al
|
|
|
2872
2880
|
}, xo = h(
|
|
2873
2881
|
function(e, a) {
|
|
2874
2882
|
const {
|
|
2875
|
-
overStyled:
|
|
2883
|
+
overStyled: t = !1,
|
|
2876
2884
|
formLayout: o = "stacked",
|
|
2877
2885
|
// Label Wrappers
|
|
2878
|
-
labelSize:
|
|
2886
|
+
labelSize: r,
|
|
2879
2887
|
labelAlignment: l,
|
|
2880
2888
|
labelOptionalText: i,
|
|
2881
2889
|
labelWithEditIcon: c,
|
|
@@ -2887,7 +2895,7 @@ const Tl = "Switch-module__root___Y5Ydi", Sl = "Switch-module__body___Sw9Wr", Al
|
|
|
2887
2895
|
assistiveWithIcon: u,
|
|
2888
2896
|
error: _,
|
|
2889
2897
|
required: y,
|
|
2890
|
-
withAsterisk:
|
|
2898
|
+
withAsterisk: P,
|
|
2891
2899
|
id: C,
|
|
2892
2900
|
className: $,
|
|
2893
2901
|
style: b,
|
|
@@ -2898,7 +2906,7 @@ const Tl = "Switch-module__root___Y5Ydi", Sl = "Switch-module__body___Sw9Wr", Al
|
|
|
2898
2906
|
value: A,
|
|
2899
2907
|
defaultValue: L,
|
|
2900
2908
|
...W
|
|
2901
|
-
} = e, g = N(W,
|
|
2909
|
+
} = e, g = N(W, t), T = g;
|
|
2902
2910
|
return delete T.size, /* @__PURE__ */ s(
|
|
2903
2911
|
te,
|
|
2904
2912
|
{
|
|
@@ -2906,10 +2914,10 @@ const Tl = "Switch-module__root___Y5Ydi", Sl = "Switch-module__body___Sw9Wr", Al
|
|
|
2906
2914
|
style: b,
|
|
2907
2915
|
controlMaxWidth: "var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",
|
|
2908
2916
|
controlMinWidth: void 0,
|
|
2909
|
-
overStyled:
|
|
2917
|
+
overStyled: t,
|
|
2910
2918
|
labelElement: "div",
|
|
2911
2919
|
formLayout: o,
|
|
2912
|
-
labelSize:
|
|
2920
|
+
labelSize: r,
|
|
2913
2921
|
labelAlignment: l,
|
|
2914
2922
|
labelOptionalText: i,
|
|
2915
2923
|
labelWithEditIcon: c,
|
|
@@ -2920,7 +2928,7 @@ const Tl = "Switch-module__root___Y5Ydi", Sl = "Switch-module__body___Sw9Wr", Al
|
|
|
2920
2928
|
assistiveWithIcon: u,
|
|
2921
2929
|
error: _,
|
|
2922
2930
|
required: y,
|
|
2923
|
-
withAsterisk:
|
|
2931
|
+
withAsterisk: P,
|
|
2924
2932
|
id: C,
|
|
2925
2933
|
readOnly: v && !!R,
|
|
2926
2934
|
readOnlyComponent: R,
|
|
@@ -2947,9 +2955,9 @@ xo.displayName = "SwitchGroup";
|
|
|
2947
2955
|
const Oo = h(
|
|
2948
2956
|
function(e, a) {
|
|
2949
2957
|
const {
|
|
2950
|
-
overStyled:
|
|
2958
|
+
overStyled: t = !1,
|
|
2951
2959
|
readOnly: o,
|
|
2952
|
-
readOnlyComponent:
|
|
2960
|
+
readOnlyComponent: r,
|
|
2953
2961
|
disabled: l,
|
|
2954
2962
|
thumbIcon: i,
|
|
2955
2963
|
formLayout: c,
|
|
@@ -2957,7 +2965,7 @@ const Oo = h(
|
|
|
2957
2965
|
controlMaxWidth: p,
|
|
2958
2966
|
controlMinWidth: m,
|
|
2959
2967
|
...f
|
|
2960
|
-
} = e, u = N(f,
|
|
2968
|
+
} = e, u = N(f, t), _ = u;
|
|
2961
2969
|
delete _.size, delete _.color, delete _.radius, delete _.variant;
|
|
2962
2970
|
const y = {
|
|
2963
2971
|
root: M.root,
|
|
@@ -2967,15 +2975,15 @@ const Oo = h(
|
|
|
2967
2975
|
trackLabel: M.trackLabel,
|
|
2968
2976
|
labelWrapper: M.labelWrapper,
|
|
2969
2977
|
label: M.label
|
|
2970
|
-
},
|
|
2971
|
-
if (
|
|
2972
|
-
const v =
|
|
2978
|
+
}, P = _.classNames;
|
|
2979
|
+
if (P && typeof P == "object" && !Array.isArray(P)) {
|
|
2980
|
+
const v = P;
|
|
2973
2981
|
y.root = v.root ? `${M.root} ${v.root}` : M.root, y.body = v.body ? `${M.body} ${v.body}` : M.body, y.track = v.track ? `${M.track} ${v.track}` : M.track, y.thumb = v.thumb ? `${M.thumb} ${v.thumb}` : M.thumb, y.trackLabel = v.trackLabel ? `${M.trackLabel} ${v.trackLabel}` : M.trackLabel, y.labelWrapper = v.labelWrapper ? `${M.labelWrapper} ${v.labelWrapper}` : M.labelWrapper, y.label = v.label ? `${M.label} ${v.label}` : M.label;
|
|
2974
2982
|
}
|
|
2975
2983
|
const C = _.className, $ = C ? `${M.root} ${C}` : M.root;
|
|
2976
|
-
if (o &&
|
|
2984
|
+
if (o && r) {
|
|
2977
2985
|
const v = !!(_.checked ?? _.defaultChecked), x = /* @__PURE__ */ s(
|
|
2978
|
-
|
|
2986
|
+
r,
|
|
2979
2987
|
{
|
|
2980
2988
|
...e,
|
|
2981
2989
|
checked: v,
|
|
@@ -3024,12 +3032,12 @@ Oo.displayName = "Switch";
|
|
|
3024
3032
|
Oo.Group = xo;
|
|
3025
3033
|
const Ml = "Table-module__root___aMWWS", zl = {
|
|
3026
3034
|
root: Ml
|
|
3027
|
-
}, Zt = h(function({ overStyled: e = !1, ...a },
|
|
3028
|
-
const o = N(a, e),
|
|
3035
|
+
}, Zt = h(function({ overStyled: e = !1, ...a }, t) {
|
|
3036
|
+
const o = N(a, e), r = o.className, l = zl.root, i = r ? `${l} ${r}` : l;
|
|
3029
3037
|
return /* @__PURE__ */ s(
|
|
3030
3038
|
ue,
|
|
3031
3039
|
{
|
|
3032
|
-
ref:
|
|
3040
|
+
ref: t,
|
|
3033
3041
|
className: i,
|
|
3034
3042
|
...o
|
|
3035
3043
|
}
|
|
@@ -3052,20 +3060,20 @@ const El = "Tabs-module__root___-VKVI", Bl = "Tabs-module__list___qRVME", Fl = "
|
|
|
3052
3060
|
panel: Vl
|
|
3053
3061
|
}, Kt = h(function(e, a) {
|
|
3054
3062
|
const {
|
|
3055
|
-
variant:
|
|
3063
|
+
variant: t = "default",
|
|
3056
3064
|
orientation: o = "horizontal",
|
|
3057
|
-
overStyled:
|
|
3065
|
+
overStyled: r = !1,
|
|
3058
3066
|
className: l,
|
|
3059
3067
|
...i
|
|
3060
|
-
} = e, c = N(i,
|
|
3068
|
+
} = e, c = N(i, r);
|
|
3061
3069
|
return /* @__PURE__ */ s(
|
|
3062
3070
|
Qe,
|
|
3063
3071
|
{
|
|
3064
3072
|
ref: a,
|
|
3065
|
-
variant:
|
|
3073
|
+
variant: t,
|
|
3066
3074
|
orientation: o,
|
|
3067
3075
|
className: `${je.root} ${l || ""}`,
|
|
3068
|
-
"data-variant":
|
|
3076
|
+
"data-variant": t,
|
|
3069
3077
|
"data-orientation": o,
|
|
3070
3078
|
classNames: {
|
|
3071
3079
|
list: je.list,
|
|
@@ -3079,12 +3087,12 @@ const El = "Tabs-module__root___-VKVI", Bl = "Tabs-module__list___qRVME", Fl = "
|
|
|
3079
3087
|
Kt.displayName = "Tabs";
|
|
3080
3088
|
const Xt = h(
|
|
3081
3089
|
function(e, a) {
|
|
3082
|
-
const { overStyled:
|
|
3090
|
+
const { overStyled: t = !1, ...o } = e;
|
|
3083
3091
|
return /* @__PURE__ */ s(
|
|
3084
3092
|
Qe.List,
|
|
3085
3093
|
{
|
|
3086
3094
|
ref: a,
|
|
3087
|
-
...N(o,
|
|
3095
|
+
...N(o, t)
|
|
3088
3096
|
}
|
|
3089
3097
|
);
|
|
3090
3098
|
}
|
|
@@ -3092,12 +3100,12 @@ const Xt = h(
|
|
|
3092
3100
|
Xt.displayName = "Tabs.List";
|
|
3093
3101
|
const Qt = h(
|
|
3094
3102
|
function(e, a) {
|
|
3095
|
-
const { overStyled:
|
|
3103
|
+
const { overStyled: t = !1, ...o } = e;
|
|
3096
3104
|
return /* @__PURE__ */ s(
|
|
3097
3105
|
Qe.Tab,
|
|
3098
3106
|
{
|
|
3099
3107
|
ref: a,
|
|
3100
|
-
...N(o,
|
|
3108
|
+
...N(o, t)
|
|
3101
3109
|
}
|
|
3102
3110
|
);
|
|
3103
3111
|
}
|
|
@@ -3105,12 +3113,12 @@ const Qt = h(
|
|
|
3105
3113
|
Qt.displayName = "Tabs.Tab";
|
|
3106
3114
|
const Jt = h(
|
|
3107
3115
|
function(e, a) {
|
|
3108
|
-
const { overStyled:
|
|
3116
|
+
const { overStyled: t = !1, ...o } = e;
|
|
3109
3117
|
return /* @__PURE__ */ s(
|
|
3110
3118
|
Qe.Panel,
|
|
3111
3119
|
{
|
|
3112
3120
|
ref: a,
|
|
3113
|
-
...N(o,
|
|
3121
|
+
...N(o, t)
|
|
3114
3122
|
}
|
|
3115
3123
|
);
|
|
3116
3124
|
}
|
|
@@ -3120,14 +3128,14 @@ const Dl = Object.assign(Kt, {
|
|
|
3120
3128
|
List: Xt,
|
|
3121
3129
|
Tab: Qt,
|
|
3122
3130
|
Panel: Jt
|
|
3123
|
-
}), er = h(function({ overStyled: e = !1, variant: a = "body", ...
|
|
3124
|
-
const
|
|
3131
|
+
}), er = h(function({ overStyled: e = !1, variant: a = "body", ...t }, o) {
|
|
3132
|
+
const r = N(t, e), l = r.className, i = `recursica_brand_typography_${a}`, c = l ? `${i} ${l}` : i;
|
|
3125
3133
|
return /* @__PURE__ */ s(
|
|
3126
3134
|
zr,
|
|
3127
3135
|
{
|
|
3128
3136
|
ref: o,
|
|
3129
3137
|
className: c,
|
|
3130
|
-
...
|
|
3138
|
+
...r
|
|
3131
3139
|
}
|
|
3132
3140
|
);
|
|
3133
3141
|
});
|
|
@@ -3139,10 +3147,10 @@ const jl = re(er), Gl = "TextArea-module__layoutOverride___4MCdm", Hl = "TextAre
|
|
|
3139
3147
|
}, or = h(
|
|
3140
3148
|
function(e, a) {
|
|
3141
3149
|
const {
|
|
3142
|
-
overStyled:
|
|
3150
|
+
overStyled: t = !1,
|
|
3143
3151
|
formLayout: o = "stacked",
|
|
3144
3152
|
// Label & Wrapper Maps
|
|
3145
|
-
labelSize:
|
|
3153
|
+
labelSize: r,
|
|
3146
3154
|
labelAlignment: l,
|
|
3147
3155
|
labelOptionalText: i,
|
|
3148
3156
|
labelWithEditIcon: c,
|
|
@@ -3153,7 +3161,7 @@ const jl = re(er), Gl = "TextArea-module__layoutOverride___4MCdm", Hl = "TextAre
|
|
|
3153
3161
|
error: u,
|
|
3154
3162
|
required: _,
|
|
3155
3163
|
withAsterisk: y,
|
|
3156
|
-
id:
|
|
3164
|
+
id: P,
|
|
3157
3165
|
className: C,
|
|
3158
3166
|
style: $,
|
|
3159
3167
|
disabled: b,
|
|
@@ -3163,7 +3171,7 @@ const jl = re(er), Gl = "TextArea-module__layoutOverride___4MCdm", Hl = "TextAre
|
|
|
3163
3171
|
value: x,
|
|
3164
3172
|
defaultValue: A,
|
|
3165
3173
|
...L
|
|
3166
|
-
} = e, W = N(L,
|
|
3174
|
+
} = e, W = N(L, t), g = W;
|
|
3167
3175
|
delete g.size, delete g.variant, delete g.radius;
|
|
3168
3176
|
const T = {
|
|
3169
3177
|
wrapper: he.root,
|
|
@@ -3182,9 +3190,9 @@ const jl = re(er), Gl = "TextArea-module__layoutOverride___4MCdm", Hl = "TextAre
|
|
|
3182
3190
|
style: $,
|
|
3183
3191
|
controlMaxWidth: "var(--recursica_ui-kit_components_textarea_properties_max-width)",
|
|
3184
3192
|
controlMinWidth: "var(--recursica_ui-kit_components_textarea_properties_min-width)",
|
|
3185
|
-
overStyled:
|
|
3193
|
+
overStyled: t,
|
|
3186
3194
|
formLayout: o,
|
|
3187
|
-
labelSize:
|
|
3195
|
+
labelSize: r,
|
|
3188
3196
|
labelAlignment: l,
|
|
3189
3197
|
labelOptionalText: i,
|
|
3190
3198
|
labelWithEditIcon: c,
|
|
@@ -3195,7 +3203,7 @@ const jl = re(er), Gl = "TextArea-module__layoutOverride___4MCdm", Hl = "TextAre
|
|
|
3195
3203
|
error: u,
|
|
3196
3204
|
required: _,
|
|
3197
3205
|
withAsterisk: y,
|
|
3198
|
-
id:
|
|
3206
|
+
id: P,
|
|
3199
3207
|
readOnly: O,
|
|
3200
3208
|
readOnlyComponent: v,
|
|
3201
3209
|
emptyValueComponent: R,
|
|
@@ -3238,10 +3246,10 @@ const Ul = "TextField-module__layoutOverride___SNZqc", Yl = "TextField-module__r
|
|
|
3238
3246
|
}, tr = h(
|
|
3239
3247
|
function(e, a) {
|
|
3240
3248
|
const {
|
|
3241
|
-
overStyled:
|
|
3249
|
+
overStyled: t = !1,
|
|
3242
3250
|
formLayout: o = "stacked",
|
|
3243
3251
|
// Label & Wrapper Maps
|
|
3244
|
-
labelSize:
|
|
3252
|
+
labelSize: r,
|
|
3245
3253
|
labelAlignment: l,
|
|
3246
3254
|
labelOptionalText: i,
|
|
3247
3255
|
labelWithEditIcon: c,
|
|
@@ -3252,7 +3260,7 @@ const Ul = "TextField-module__layoutOverride___SNZqc", Yl = "TextField-module__r
|
|
|
3252
3260
|
error: u,
|
|
3253
3261
|
required: _,
|
|
3254
3262
|
withAsterisk: y,
|
|
3255
|
-
id:
|
|
3263
|
+
id: P,
|
|
3256
3264
|
className: C,
|
|
3257
3265
|
style: $,
|
|
3258
3266
|
disabled: b,
|
|
@@ -3262,7 +3270,7 @@ const Ul = "TextField-module__layoutOverride___SNZqc", Yl = "TextField-module__r
|
|
|
3262
3270
|
value: x,
|
|
3263
3271
|
defaultValue: A,
|
|
3264
3272
|
...L
|
|
3265
|
-
} = e, W = N(L,
|
|
3273
|
+
} = e, W = N(L, t), g = W;
|
|
3266
3274
|
delete g.size, delete g.variant, delete g.radius;
|
|
3267
3275
|
const T = {
|
|
3268
3276
|
wrapper: oe.root,
|
|
@@ -3282,9 +3290,9 @@ const Ul = "TextField-module__layoutOverride___SNZqc", Yl = "TextField-module__r
|
|
|
3282
3290
|
style: $,
|
|
3283
3291
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
3284
3292
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
3285
|
-
overStyled:
|
|
3293
|
+
overStyled: t,
|
|
3286
3294
|
formLayout: o,
|
|
3287
|
-
labelSize:
|
|
3295
|
+
labelSize: r,
|
|
3288
3296
|
labelAlignment: l,
|
|
3289
3297
|
labelOptionalText: i,
|
|
3290
3298
|
labelWithEditIcon: c,
|
|
@@ -3295,7 +3303,7 @@ const Ul = "TextField-module__layoutOverride___SNZqc", Yl = "TextField-module__r
|
|
|
3295
3303
|
error: u,
|
|
3296
3304
|
required: _,
|
|
3297
3305
|
withAsterisk: y,
|
|
3298
|
-
id:
|
|
3306
|
+
id: P,
|
|
3299
3307
|
readOnly: O,
|
|
3300
3308
|
readOnlyComponent: v,
|
|
3301
3309
|
emptyValueComponent: R,
|
|
@@ -3338,11 +3346,11 @@ const Xl = (n) => /* @__PURE__ */ s("div", { ...n, children: "TimePicker" }), Ql
|
|
|
3338
3346
|
function({
|
|
3339
3347
|
overStyled: e = !1,
|
|
3340
3348
|
timestamp: a,
|
|
3341
|
-
bulletVariant:
|
|
3349
|
+
bulletVariant: t = "default",
|
|
3342
3350
|
children: o,
|
|
3343
|
-
...
|
|
3351
|
+
...r
|
|
3344
3352
|
}, l) {
|
|
3345
|
-
const i = N(
|
|
3353
|
+
const i = N(r, e), c = {
|
|
3346
3354
|
item: $e.item,
|
|
3347
3355
|
itemBody: $e.itemBody,
|
|
3348
3356
|
itemContent: $e.itemContent,
|
|
@@ -3364,7 +3372,7 @@ const Xl = (n) => /* @__PURE__ */ s("div", { ...n, children: "TimePicker" }), Ql
|
|
|
3364
3372
|
{
|
|
3365
3373
|
ref: l,
|
|
3366
3374
|
classNames: c,
|
|
3367
|
-
"data-variant":
|
|
3375
|
+
"data-variant": t,
|
|
3368
3376
|
...i,
|
|
3369
3377
|
children: p
|
|
3370
3378
|
}
|
|
@@ -3373,21 +3381,21 @@ const Xl = (n) => /* @__PURE__ */ s("div", { ...n, children: "TimePicker" }), Ql
|
|
|
3373
3381
|
);
|
|
3374
3382
|
Lo.displayName = "TimelineItem";
|
|
3375
3383
|
const rr = V.forwardRef(
|
|
3376
|
-
function({ overStyled: e = !1, ...a },
|
|
3377
|
-
const o = N(a, e),
|
|
3384
|
+
function({ overStyled: e = !1, ...a }, t) {
|
|
3385
|
+
const o = N(a, e), r = {
|
|
3378
3386
|
root: $e.root
|
|
3379
3387
|
}, l = o.classNames;
|
|
3380
3388
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
3381
3389
|
const i = l;
|
|
3382
3390
|
Object.keys(i).forEach((c) => {
|
|
3383
|
-
|
|
3391
|
+
r[c] ? r[c] = `${r[c]} ${i[c]}` : r[c] = i[c];
|
|
3384
3392
|
});
|
|
3385
3393
|
}
|
|
3386
3394
|
return /* @__PURE__ */ s(
|
|
3387
3395
|
Fr,
|
|
3388
3396
|
{
|
|
3389
|
-
ref:
|
|
3390
|
-
classNames:
|
|
3397
|
+
ref: t,
|
|
3398
|
+
classNames: r,
|
|
3391
3399
|
...o
|
|
3392
3400
|
}
|
|
3393
3401
|
);
|
|
@@ -3396,15 +3404,15 @@ const rr = V.forwardRef(
|
|
|
3396
3404
|
rr.displayName = "Timeline";
|
|
3397
3405
|
const ar = rr;
|
|
3398
3406
|
ar.Item = Lo;
|
|
3399
|
-
const sr = h(function({ overStyled: e = !1, order: a = 1, ...
|
|
3400
|
-
const
|
|
3407
|
+
const sr = h(function({ overStyled: e = !1, order: a = 1, ...t }, o) {
|
|
3408
|
+
const r = N(t, e), l = r.className, i = `recursica_brand_typography_h${a}`, c = l ? `${i} ${l}` : i;
|
|
3401
3409
|
return /* @__PURE__ */ s(
|
|
3402
3410
|
Vr,
|
|
3403
3411
|
{
|
|
3404
3412
|
ref: o,
|
|
3405
3413
|
order: a,
|
|
3406
3414
|
className: c,
|
|
3407
|
-
...
|
|
3415
|
+
...r
|
|
3408
3416
|
}
|
|
3409
3417
|
);
|
|
3410
3418
|
});
|
|
@@ -3421,9 +3429,9 @@ const ni = "Toast-module__root___MUvfI", li = "Toast-module__icon___VwvE1", ii =
|
|
|
3421
3429
|
function({
|
|
3422
3430
|
overStyled: e = !1,
|
|
3423
3431
|
variant: a = "default",
|
|
3424
|
-
withCloseButton:
|
|
3432
|
+
withCloseButton: t = !0,
|
|
3425
3433
|
...o
|
|
3426
|
-
},
|
|
3434
|
+
}, r) {
|
|
3427
3435
|
const l = N(o, e), i = {
|
|
3428
3436
|
root: xe.root,
|
|
3429
3437
|
body: xe.body,
|
|
@@ -3442,8 +3450,8 @@ const ni = "Toast-module__root___MUvfI", li = "Toast-module__icon___VwvE1", ii =
|
|
|
3442
3450
|
return /* @__PURE__ */ s(
|
|
3443
3451
|
Dr,
|
|
3444
3452
|
{
|
|
3445
|
-
ref:
|
|
3446
|
-
withCloseButton:
|
|
3453
|
+
ref: r,
|
|
3454
|
+
withCloseButton: t,
|
|
3447
3455
|
withBorder: !1,
|
|
3448
3456
|
"data-variant": a,
|
|
3449
3457
|
classNames: i,
|
|
@@ -3460,16 +3468,16 @@ const _i = "Tooltip-module__tooltip___UA7H9", ui = "Tooltip-module__arrow___4zRO
|
|
|
3460
3468
|
}, lr = function({
|
|
3461
3469
|
overStyled: e = !1,
|
|
3462
3470
|
withBeak: a = !0,
|
|
3463
|
-
...
|
|
3471
|
+
...t
|
|
3464
3472
|
}) {
|
|
3465
|
-
const o = N(
|
|
3473
|
+
const o = N(t, e), r = {
|
|
3466
3474
|
tooltip: Vo.tooltip,
|
|
3467
3475
|
arrow: Vo.arrow
|
|
3468
3476
|
}, l = o.classNames;
|
|
3469
3477
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
3470
3478
|
const p = l;
|
|
3471
3479
|
Object.keys(p).forEach((m) => {
|
|
3472
|
-
|
|
3480
|
+
r[m] ? r[m] = `${r[m]} ${p[m]}` : r[m] = p[m];
|
|
3473
3481
|
});
|
|
3474
3482
|
}
|
|
3475
3483
|
const i = o.arrowSize ?? 16, c = o.withArrow;
|
|
@@ -3480,7 +3488,7 @@ const _i = "Tooltip-module__tooltip___UA7H9", ui = "Tooltip-module__arrow___4zRO
|
|
|
3480
3488
|
multiline: !0,
|
|
3481
3489
|
arrowSize: i,
|
|
3482
3490
|
withArrow: a ?? c,
|
|
3483
|
-
classNames:
|
|
3491
|
+
classNames: r,
|
|
3484
3492
|
...o
|
|
3485
3493
|
}
|
|
3486
3494
|
);
|
|
@@ -3492,107 +3500,107 @@ Wo.Group = uo.Group;
|
|
|
3492
3500
|
const yi = (n) => /* @__PURE__ */ s("div", { ...n, children: "TransferList" }), bi = "Tree-module__root___ANcH3", Do = {
|
|
3493
3501
|
root: bi
|
|
3494
3502
|
}, ir = h(
|
|
3495
|
-
function({ overStyled: e = !1, className: a, ...
|
|
3496
|
-
const
|
|
3497
|
-
return /* @__PURE__ */ s("div", { ref: o, className:
|
|
3503
|
+
function({ overStyled: e = !1, className: a, ...t }, o) {
|
|
3504
|
+
const r = a ? `${Do.root} ${a}` : Do.root;
|
|
3505
|
+
return /* @__PURE__ */ s("div", { ref: o, className: r, ...t, children: "Tree (Coming Soon)" });
|
|
3498
3506
|
}
|
|
3499
3507
|
);
|
|
3500
3508
|
ir.displayName = "Tree";
|
|
3501
|
-
const gi = ks, Ti = _t, Si = cl, Ai = ct, xi = Vs, Oi = jl, Li =
|
|
3509
|
+
const gi = ks, Ti = _t, Si = cl, Ai = ct, xi = Vs, Oi = jl, Li = w(
|
|
3502
3510
|
oo
|
|
3503
|
-
), Wi =
|
|
3511
|
+
), Wi = w(
|
|
3504
3512
|
bo
|
|
3505
|
-
), Ii =
|
|
3513
|
+
), Ii = w(
|
|
3506
3514
|
Je
|
|
3507
|
-
), ki =
|
|
3515
|
+
), ki = w(
|
|
3508
3516
|
eo
|
|
3509
|
-
), Ri =
|
|
3517
|
+
), Ri = w(
|
|
3510
3518
|
Xo
|
|
3511
|
-
), Mi =
|
|
3519
|
+
), Mi = w(
|
|
3512
3520
|
Ra
|
|
3513
|
-
), zi =
|
|
3521
|
+
), zi = w(
|
|
3514
3522
|
za
|
|
3515
|
-
), Ei =
|
|
3523
|
+
), Ei = w(
|
|
3516
3524
|
et
|
|
3517
|
-
), Bi =
|
|
3525
|
+
), Bi = w(
|
|
3518
3526
|
Ya
|
|
3519
|
-
), Fi =
|
|
3527
|
+
), Fi = w(
|
|
3520
3528
|
es
|
|
3521
|
-
), Vi =
|
|
3529
|
+
), Vi = w(
|
|
3522
3530
|
vo
|
|
3523
|
-
), Di =
|
|
3531
|
+
), Di = w(
|
|
3524
3532
|
$o
|
|
3525
|
-
), ji =
|
|
3533
|
+
), ji = w(
|
|
3526
3534
|
it
|
|
3527
|
-
), Gi =
|
|
3535
|
+
), Gi = w(
|
|
3528
3536
|
dt
|
|
3529
|
-
), Hi =
|
|
3537
|
+
), Hi = w(
|
|
3530
3538
|
pt
|
|
3531
|
-
), qi =
|
|
3539
|
+
), qi = w(
|
|
3532
3540
|
Ls
|
|
3533
|
-
), Ui =
|
|
3541
|
+
), Ui = w(
|
|
3534
3542
|
Ws
|
|
3535
|
-
), Yi =
|
|
3543
|
+
), Yi = w(
|
|
3536
3544
|
de
|
|
3537
|
-
), Zi =
|
|
3545
|
+
), Zi = w(
|
|
3538
3546
|
Co
|
|
3539
|
-
), Ki =
|
|
3547
|
+
), Ki = w(
|
|
3540
3548
|
ho
|
|
3541
|
-
), Xi =
|
|
3549
|
+
), Xi = w(
|
|
3542
3550
|
fo
|
|
3543
|
-
), Qi =
|
|
3551
|
+
), Qi = w(
|
|
3544
3552
|
Le
|
|
3545
|
-
), Ji =
|
|
3553
|
+
), Ji = w(
|
|
3546
3554
|
ye
|
|
3547
|
-
), ec =
|
|
3555
|
+
), ec = w(
|
|
3548
3556
|
xt
|
|
3549
|
-
), oc =
|
|
3557
|
+
), oc = w(
|
|
3550
3558
|
se
|
|
3551
|
-
), tc =
|
|
3559
|
+
), tc = w(
|
|
3552
3560
|
ne
|
|
3553
|
-
), rc =
|
|
3561
|
+
), rc = w(
|
|
3554
3562
|
go
|
|
3555
|
-
), ac =
|
|
3563
|
+
), ac = w(
|
|
3556
3564
|
To
|
|
3557
|
-
), sc =
|
|
3565
|
+
), sc = w(
|
|
3558
3566
|
Ao
|
|
3559
|
-
), nc =
|
|
3567
|
+
), nc = w(
|
|
3560
3568
|
So
|
|
3561
|
-
), lc =
|
|
3569
|
+
), lc = w(
|
|
3562
3570
|
No
|
|
3563
|
-
), ic =
|
|
3571
|
+
), ic = w(
|
|
3564
3572
|
qn
|
|
3565
|
-
), cc =
|
|
3573
|
+
), cc = w(
|
|
3566
3574
|
qt
|
|
3567
|
-
), dc =
|
|
3575
|
+
), dc = w(
|
|
3568
3576
|
gl
|
|
3569
|
-
), pc =
|
|
3577
|
+
), pc = w(
|
|
3570
3578
|
Oo
|
|
3571
|
-
), mc =
|
|
3579
|
+
), mc = w(
|
|
3572
3580
|
xo
|
|
3573
|
-
), _c =
|
|
3581
|
+
), _c = w(
|
|
3574
3582
|
be
|
|
3575
|
-
), uc =
|
|
3583
|
+
), uc = w(
|
|
3576
3584
|
Dl
|
|
3577
|
-
), yc =
|
|
3585
|
+
), yc = w(
|
|
3578
3586
|
or
|
|
3579
|
-
), bc =
|
|
3587
|
+
), bc = w(
|
|
3580
3588
|
tr
|
|
3581
|
-
), fc =
|
|
3589
|
+
), fc = w(
|
|
3582
3590
|
Xl
|
|
3583
|
-
), Nc =
|
|
3591
|
+
), Nc = w(
|
|
3584
3592
|
ar
|
|
3585
|
-
), hc =
|
|
3593
|
+
), hc = w(
|
|
3586
3594
|
Lo
|
|
3587
|
-
), $c =
|
|
3595
|
+
), $c = w(
|
|
3588
3596
|
sr
|
|
3589
|
-
), vc =
|
|
3597
|
+
), vc = w(
|
|
3590
3598
|
nr
|
|
3591
|
-
), Cc =
|
|
3599
|
+
), Cc = w(
|
|
3592
3600
|
Wo
|
|
3593
|
-
), wc =
|
|
3601
|
+
), wc = w(
|
|
3594
3602
|
yi
|
|
3595
|
-
), Pc =
|
|
3603
|
+
), Pc = w(
|
|
3596
3604
|
ir
|
|
3597
3605
|
);
|
|
3598
3606
|
export {
|
|
@@ -3661,6 +3669,6 @@ export {
|
|
|
3661
3669
|
Ko as registerOverStyledConsoleCommand,
|
|
3662
3670
|
$a as toggleGlobalOverStyled,
|
|
3663
3671
|
va as useGlobalOverStyled,
|
|
3664
|
-
|
|
3672
|
+
w as wrapComponent
|
|
3665
3673
|
};
|
|
3666
3674
|
//# sourceMappingURL=mantine-adapter.js.map
|