@recursica/mantine-adapter 0.50.6 → 0.51.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 +11 -0
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +455 -451
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Accordion/ACCORDION_IMPLEMENTATION_NOTES.md +10 -0
- package/src/components/Accordion/Accordion.module.css +5 -1
- package/src/components/AutoComplete/AUTOCOMPLETE_IMPLEMENTATION_NOTES.md +6 -1
- package/src/components/AutoComplete/AutoComplete.module.css +4 -1
- package/src/components/Button/Button.module.css +4 -1
- package/src/components/Button/IMPLEMENTATION_NOTES.md +12 -0
- package/src/components/Dropdown/DROPDOWN_IMPLEMENTATION_NOTES.md +1 -1
- package/src/components/Dropdown/Dropdown.module.css +4 -1
- package/src/components/Modal/MODAL_IMPLEMENTATION_NOTES.md +6 -1
- package/src/components/Modal/Modal.module.css +4 -1
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +10 -0
- package/src/components/Panel/Panel.module.css +4 -1
- package/src/components/Text/TEXT_IMPLEMENTATION_NOTES.md +12 -0
- package/src/components/Text/Text.module.css +13 -0
- package/src/components/Text/Text.tsx +4 -3
- package/src/components/Title/TITLE_IMPLEMENTATION_NOTES.md +12 -0
- package/src/components/Title/Title.module.css +13 -0
- package/src/components/Title/Title.tsx +4 -3
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as a, Fragment as No, jsxs as
|
|
2
|
-
import K, { forwardRef as _, useState as ce, useEffect as ke, useId as
|
|
3
|
-
import { Accordion as qo, Input as
|
|
1
|
+
import { jsx as a, Fragment as No, jsxs as A } from "react/jsx-runtime";
|
|
2
|
+
import K, { forwardRef as _, useState as ce, useEffect as ke, useId as Bt, useRef as Ve, useCallback as _o, useMemo as It } from "react";
|
|
3
|
+
import { Accordion as qo, Input as Ft, Box as Ya, Autocomplete as Za, Avatar as Qa, createPolymorphicComponent as Te, Badge as Xa, Breadcrumbs as Ja, Loader as er, Button as or, Card as Ko, Checkbox as Ut, Chip as tr, Container as nr, Select as Vt, Flex as ar, Grid as Gt, Group as rr, HoverCard as st, Anchor as sr, Menu as We, Modal as he, NumberInput as lr, Pagination as je, Drawer as qe, Popover as lt, Radio as Ht, SegmentedControl as ir, RangeSlider as cr, Slider as dr, Stack as ur, Stepper as it, Switch as jt, CheckIcon as pr, CloseIcon as mr, Table as Ke, Tabs as Yo, Text as _r, Textarea as fr, TimelineItem as yr, Timeline as hr, Title as vr, Notification as Nr, Tooltip as ct, useTree as br, getTreeExpandedState as Cr, Tree as Pr } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as gr, TimePicker as Tr } from "@mantine/dates";
|
|
5
5
|
import { useMergedRef as $r } from "@mantine/hooks";
|
|
6
6
|
const wr = "_root_1qhn7_3", Sr = "_contents_1qhn7_18", Co = {
|
|
@@ -56,7 +56,7 @@ function Or(r) {
|
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
57
|
return at.forEach((e) => e()), io;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Ru() {
|
|
60
60
|
return vo && io;
|
|
61
61
|
}
|
|
62
62
|
function Ir() {
|
|
@@ -109,7 +109,7 @@ function Yt() {
|
|
|
109
109
|
r(window), window.parent && window.parent !== window && r(window.parent);
|
|
110
110
|
}
|
|
111
111
|
const kt = "data-recursica-theme";
|
|
112
|
-
function
|
|
112
|
+
function Lu({
|
|
113
113
|
children: r,
|
|
114
114
|
theme: e = "light",
|
|
115
115
|
initLayer0: n = !0
|
|
@@ -123,7 +123,7 @@ function Ou({
|
|
|
123
123
|
Kt(), Yt();
|
|
124
124
|
}, []), n ? /* @__PURE__ */ a(qt, { layer: 0, children: r }) : /* @__PURE__ */ a(No, { children: r });
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const Mu = [
|
|
127
127
|
"Accordion",
|
|
128
128
|
"AssistiveElement",
|
|
129
129
|
"Autocomplete",
|
|
@@ -178,7 +178,7 @@ const Iu = [
|
|
|
178
178
|
"TransferList",
|
|
179
179
|
"Tree",
|
|
180
180
|
"Typography"
|
|
181
|
-
],
|
|
181
|
+
], Au = (r, e) => {
|
|
182
182
|
const n = document.activeElement;
|
|
183
183
|
return new Promise((o, t) => {
|
|
184
184
|
if (e && e.current) {
|
|
@@ -196,7 +196,7 @@ function Zt(r, e) {
|
|
|
196
196
|
const o = r.name.toLowerCase(), t = r.type.toLowerCase();
|
|
197
197
|
return n.some((s) => s.startsWith(".") ? o.endsWith(s) : s.endsWith("/*") ? t.startsWith(s.slice(0, -1)) : t === s);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function B(r, e) {
|
|
200
200
|
if (!e) return r;
|
|
201
201
|
const n = { ...r }, o = /* @__PURE__ */ new Set([...Object.keys(r), ...Object.keys(e)]);
|
|
202
202
|
for (const t of o) {
|
|
@@ -317,7 +317,7 @@ const Rr = [
|
|
|
317
317
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
318
318
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
319
319
|
};
|
|
320
|
-
function
|
|
320
|
+
function Ao(r) {
|
|
321
321
|
const e = { ...r };
|
|
322
322
|
for (const [n, o] of Object.entries(e))
|
|
323
323
|
typeof o == "string" && o.startsWith("rec-") && Xt.has(n) && o in Go && (e[n] = Go[o]);
|
|
@@ -333,16 +333,16 @@ function u(r, e) {
|
|
|
333
333
|
typeof t == "string" && t.startsWith("rec-") && Xt.has(o) && t in Go && (n[o] = Go[t]);
|
|
334
334
|
return n;
|
|
335
335
|
}
|
|
336
|
-
const Lr = "Accordion-module__root___Dem6d",
|
|
336
|
+
const Lr = "Accordion-module__root___Dem6d", Mr = "Accordion-module__item___7ryVk", Ar = "Accordion-module__noDivider___Ni2tT", Wr = "Accordion-module__control___b4wgX", zr = "Accordion-module__label___Ss7uW", Dr = "Accordion-module__icon___xfHxX", Er = "Accordion-module__chevron___i-HVZ", Br = "Accordion-module__iconLeftWrapper___5oLen", Fr = "Accordion-module__panel___Wx50w", Ur = "Accordion-module__content___PEM9t", Le = {
|
|
337
337
|
root: Lr,
|
|
338
|
-
item:
|
|
339
|
-
noDivider:
|
|
338
|
+
item: Mr,
|
|
339
|
+
noDivider: Ar,
|
|
340
340
|
control: Wr,
|
|
341
341
|
label: zr,
|
|
342
342
|
icon: Dr,
|
|
343
343
|
chevron: Er,
|
|
344
|
-
iconLeftWrapper:
|
|
345
|
-
panel:
|
|
344
|
+
iconLeftWrapper: Br,
|
|
345
|
+
panel: Fr,
|
|
346
346
|
content: Ur
|
|
347
347
|
}, Rt = {
|
|
348
348
|
default: "unstyled"
|
|
@@ -351,7 +351,7 @@ const Lr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryV
|
|
|
351
351
|
overStyled: n = !1,
|
|
352
352
|
...o
|
|
353
353
|
}) {
|
|
354
|
-
const t = typeof e == "string" && Rt[e] ? Rt[e] : e, s = u(o, n), l = s, i =
|
|
354
|
+
const t = typeof e == "string" && Rt[e] ? Rt[e] : e, s = u(o, n), l = s, i = B(
|
|
355
355
|
{
|
|
356
356
|
root: Le.root,
|
|
357
357
|
item: Le.item,
|
|
@@ -392,7 +392,7 @@ const dt = _(function({
|
|
|
392
392
|
...d,
|
|
393
393
|
className: p,
|
|
394
394
|
"data-disabled": s || void 0,
|
|
395
|
-
children: e ? /* @__PURE__ */
|
|
395
|
+
children: e ? /* @__PURE__ */ A(No, { children: [
|
|
396
396
|
/* @__PURE__ */ a(Zo, { leftIcon: n, disabled: s, children: e }),
|
|
397
397
|
/* @__PURE__ */ a(Qo, { children: t })
|
|
398
398
|
] }) : t
|
|
@@ -441,7 +441,7 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
|
|
|
441
441
|
root: Gr,
|
|
442
442
|
textWrapper: Hr,
|
|
443
443
|
iconWrapper: jr
|
|
444
|
-
}, qr = () => /* @__PURE__ */
|
|
444
|
+
}, qr = () => /* @__PURE__ */ A(
|
|
445
445
|
"svg",
|
|
446
446
|
{
|
|
447
447
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -457,7 +457,7 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
|
|
|
457
457
|
/* @__PURE__ */ a("path", { d: "M12 8h.01" })
|
|
458
458
|
]
|
|
459
459
|
}
|
|
460
|
-
), Kr = () => /* @__PURE__ */
|
|
460
|
+
), Kr = () => /* @__PURE__ */ A(
|
|
461
461
|
"svg",
|
|
462
462
|
{
|
|
463
463
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -483,7 +483,7 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
|
|
|
483
483
|
...i
|
|
484
484
|
}, c) {
|
|
485
485
|
const m = u(i, l), p = tt.root, C = t ? `${p} ${t}` : p, y = e === "error" ? Kr : qr;
|
|
486
|
-
return /* @__PURE__ */
|
|
486
|
+
return /* @__PURE__ */ A(
|
|
487
487
|
"div",
|
|
488
488
|
{
|
|
489
489
|
ref: c,
|
|
@@ -528,15 +528,15 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
|
|
|
528
528
|
], v = G(
|
|
529
529
|
u(m, d),
|
|
530
530
|
N
|
|
531
|
-
), S = v, b =
|
|
531
|
+
), S = v, b = B(
|
|
532
532
|
{
|
|
533
533
|
label: to.root,
|
|
534
534
|
required: to.required
|
|
535
535
|
},
|
|
536
536
|
S.classNames
|
|
537
537
|
), T = S.className, $ = T ? `${to.root} ${T}` : to.root;
|
|
538
|
-
return /* @__PURE__ */
|
|
539
|
-
|
|
538
|
+
return /* @__PURE__ */ A(
|
|
539
|
+
Ft.Label,
|
|
540
540
|
{
|
|
541
541
|
ref: p,
|
|
542
542
|
...v,
|
|
@@ -598,7 +598,7 @@ const os = "FormControlLayout-module__root___yNDhZ", ts = "FormControlLayout-mod
|
|
|
598
598
|
...d
|
|
599
599
|
}, m) {
|
|
600
600
|
const p = i ? `${Do.root} ${i}` : Do.root, y = s != null || e === "side-by-side";
|
|
601
|
-
return /* @__PURE__ */
|
|
601
|
+
return /* @__PURE__ */ A(
|
|
602
602
|
"div",
|
|
603
603
|
{
|
|
604
604
|
ref: m,
|
|
@@ -646,18 +646,18 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
646
646
|
// Extracted safely preventing bleeding into HTML domains
|
|
647
647
|
...f
|
|
648
648
|
}, w) {
|
|
649
|
-
const h =
|
|
649
|
+
const h = Bt(), O = b || `recursica-fc-${h}`, M = `${O}-label`, E = m || d, W = E ? `${O}-assistive` : void 0, L = N ? `${O}-error` : void 0, j = u(f, g), q = $ || j.className, X = Lt.root, H = q ? `${X} ${q}` : X, Y = K.isValidElement(T) ? K.cloneElement(
|
|
650
650
|
T,
|
|
651
651
|
{
|
|
652
652
|
...T.props.id ? {} : { id: O },
|
|
653
|
-
"aria-labelledby":
|
|
653
|
+
"aria-labelledby": M,
|
|
654
654
|
...E && !T.props["aria-describedby"] ? { "aria-describedby": W } : {},
|
|
655
655
|
...N && !T.props["aria-errormessage"] ? { "aria-errormessage": L } : {}
|
|
656
656
|
}
|
|
657
657
|
) : T, ee = c ? /* @__PURE__ */ a(
|
|
658
658
|
ut,
|
|
659
659
|
{
|
|
660
|
-
id:
|
|
660
|
+
id: M,
|
|
661
661
|
htmlFor: O,
|
|
662
662
|
labelAlignment: o,
|
|
663
663
|
labelOptionalText: t,
|
|
@@ -680,7 +680,7 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
|
|
|
680
680
|
controlMinWidth: y,
|
|
681
681
|
leftSection: ee,
|
|
682
682
|
...j,
|
|
683
|
-
children: /* @__PURE__ */
|
|
683
|
+
children: /* @__PURE__ */ A("div", { className: Lt.inputSection, children: [
|
|
684
684
|
Y,
|
|
685
685
|
N && /* @__PURE__ */ a(
|
|
686
686
|
Ho,
|
|
@@ -831,9 +831,9 @@ function en({ option: r }, e, n = !1) {
|
|
|
831
831
|
if (!t && !s)
|
|
832
832
|
return l;
|
|
833
833
|
const i = n ? `${e.optionText} ${e.optionTextWrap}` : e.optionText;
|
|
834
|
-
return /* @__PURE__ */
|
|
834
|
+
return /* @__PURE__ */ A("span", { className: e.optionContent, children: [
|
|
835
835
|
t && /* @__PURE__ */ a("span", { className: e.optionIcon, children: t }),
|
|
836
|
-
/* @__PURE__ */
|
|
836
|
+
/* @__PURE__ */ A("span", { className: i, children: [
|
|
837
837
|
/* @__PURE__ */ a("span", { children: l }),
|
|
838
838
|
s && /* @__PURE__ */ a("span", { className: e.optionSupportingText, children: s })
|
|
839
839
|
] })
|
|
@@ -885,13 +885,13 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
885
885
|
value: w,
|
|
886
886
|
defaultValue: h,
|
|
887
887
|
data: O,
|
|
888
|
-
renderOption:
|
|
888
|
+
renderOption: M,
|
|
889
889
|
wrapItemText: E = !1,
|
|
890
890
|
...W
|
|
891
891
|
} = e, L = G(
|
|
892
892
|
u(W, o),
|
|
893
893
|
Ns
|
|
894
|
-
), Z = L, j = Qt(O), q =
|
|
894
|
+
), Z = L, j = Qt(O), q = B(
|
|
895
895
|
{
|
|
896
896
|
wrapper: Ce.root,
|
|
897
897
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -948,7 +948,7 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
|
|
|
948
948
|
defaultValue: h,
|
|
949
949
|
error: !!y,
|
|
950
950
|
data: j,
|
|
951
|
-
renderOption:
|
|
951
|
+
renderOption: M ?? ((Y) => en(Y, X, E))
|
|
952
952
|
}
|
|
953
953
|
)
|
|
954
954
|
)
|
|
@@ -991,7 +991,7 @@ const bs = "Avatar-module__root___fXu-J", Cs = "Avatar-module__iconWrapper___ojl
|
|
|
991
991
|
), y = C;
|
|
992
992
|
let N = "text";
|
|
993
993
|
s ? N = "image" : o && (N = "icon");
|
|
994
|
-
const v =
|
|
994
|
+
const v = B(
|
|
995
995
|
{
|
|
996
996
|
root: To.root,
|
|
997
997
|
image: To.image,
|
|
@@ -1020,7 +1020,7 @@ tn.displayName = "Avatar";
|
|
|
1020
1020
|
const $s = Te(tn), ws = "Badge-module__root___5osNT", $o = {
|
|
1021
1021
|
root: ws
|
|
1022
1022
|
}, nn = _(function({ variant: e = "primary-color", overStyled: n = !1, ...o }, t) {
|
|
1023
|
-
const s = u(o, n), l =
|
|
1023
|
+
const s = u(o, n), l = B(
|
|
1024
1024
|
{
|
|
1025
1025
|
root: $o.root,
|
|
1026
1026
|
section: $o.section,
|
|
@@ -1049,7 +1049,7 @@ const an = Te(nn), Ss = "Breadcrumb-module__root___x-9ln", xs = "Breadcrumb-modu
|
|
|
1049
1049
|
const s = u(
|
|
1050
1050
|
{ separator: n, ...o },
|
|
1051
1051
|
e
|
|
1052
|
-
), l =
|
|
1052
|
+
), l = B(
|
|
1053
1053
|
{
|
|
1054
1054
|
root: Eo.root,
|
|
1055
1055
|
separator: Eo.separator
|
|
@@ -1085,7 +1085,7 @@ const Os = "Loader-module__root___6iYOP", nt = {
|
|
|
1085
1085
|
small: "small",
|
|
1086
1086
|
default: "default",
|
|
1087
1087
|
large: "large"
|
|
1088
|
-
}[n] || "default", c = u(t, o), d = c, m =
|
|
1088
|
+
}[n] || "default", c = u(t, o), d = c, m = B(
|
|
1089
1089
|
{ root: nt.root },
|
|
1090
1090
|
d.classNames
|
|
1091
1091
|
), p = d.className, C = p ? `${nt.root} ${p}` : nt.root;
|
|
@@ -1103,13 +1103,13 @@ const Os = "Loader-module__root___6iYOP", nt = {
|
|
|
1103
1103
|
);
|
|
1104
1104
|
});
|
|
1105
1105
|
mt.displayName = "Loader";
|
|
1106
|
-
const Is = "Button-module__root___Q2R8-", ks = "Button-module__loader___X-9u-", Rs = "Button-module__label___UJ3Zt", Ls = "Button-module__labelText___rFV5p",
|
|
1106
|
+
const Is = "Button-module__root___Q2R8-", ks = "Button-module__loader___X-9u-", Rs = "Button-module__label___UJ3Zt", Ls = "Button-module__labelText___rFV5p", Ms = "Button-module__iconWrapper___uEKPa", As = "Button-module__section___f2mKr", no = {
|
|
1107
1107
|
root: Is,
|
|
1108
1108
|
loader: ks,
|
|
1109
1109
|
label: Rs,
|
|
1110
1110
|
labelText: Ls,
|
|
1111
|
-
iconWrapper:
|
|
1112
|
-
section:
|
|
1111
|
+
iconWrapper: Ms,
|
|
1112
|
+
section: As
|
|
1113
1113
|
};
|
|
1114
1114
|
function Ws(r) {
|
|
1115
1115
|
return r == null || r === "" ? !1 : typeof r == "string" ? r.trim() !== "" : !0;
|
|
@@ -1143,7 +1143,7 @@ const sn = _(function({
|
|
|
1143
1143
|
$ ? g = "icon-only" : (S || b) && (g = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !v["aria-label"] && console.warn(
|
|
1144
1144
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1145
1145
|
);
|
|
1146
|
-
const P =
|
|
1146
|
+
const P = B(
|
|
1147
1147
|
{
|
|
1148
1148
|
root: no.root,
|
|
1149
1149
|
section: no.section,
|
|
@@ -1155,8 +1155,8 @@ const sn = _(function({
|
|
|
1155
1155
|
n === "small" ? "small" : "default",
|
|
1156
1156
|
i
|
|
1157
1157
|
);
|
|
1158
|
-
let
|
|
1159
|
-
return c && (
|
|
1158
|
+
let M = h;
|
|
1159
|
+
return c && (M = {
|
|
1160
1160
|
children: /* @__PURE__ */ a(mt, { variant: l, size: O }),
|
|
1161
1161
|
...h
|
|
1162
1162
|
}), /* @__PURE__ */ a(
|
|
@@ -1168,7 +1168,7 @@ const sn = _(function({
|
|
|
1168
1168
|
classNames: P,
|
|
1169
1169
|
variant: p[e],
|
|
1170
1170
|
size: C[n],
|
|
1171
|
-
loaderProps:
|
|
1171
|
+
loaderProps: M,
|
|
1172
1172
|
leftSection: o != null ? /* @__PURE__ */ a("span", { className: no.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
1173
1173
|
"data-variant": e,
|
|
1174
1174
|
"data-size": n,
|
|
@@ -1181,12 +1181,12 @@ const sn = _(function({
|
|
|
1181
1181
|
sn.displayName = "Button";
|
|
1182
1182
|
const co = Te(
|
|
1183
1183
|
sn
|
|
1184
|
-
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC",
|
|
1184
|
+
), zs = "Card-module__root___c9KvZ", Ds = "Card-module__header___PTXf2", Es = "Card-module__footer___Mu-JC", Bs = "Card-module__section___BRT8H", Fs = "Card-module__content___oFIQa", He = {
|
|
1185
1185
|
root: zs,
|
|
1186
1186
|
header: Ds,
|
|
1187
1187
|
footer: Es,
|
|
1188
|
-
section:
|
|
1189
|
-
content:
|
|
1188
|
+
section: Bs,
|
|
1189
|
+
content: Fs
|
|
1190
1190
|
}, Us = [
|
|
1191
1191
|
"radius",
|
|
1192
1192
|
// Border radius is token-driven (`--recursica_..._borders_border-radius`), not caller-set.
|
|
@@ -1210,7 +1210,7 @@ const co = Te(
|
|
|
1210
1210
|
].forEach((c) => {
|
|
1211
1211
|
c in n && !(c in t) && (t[c] = n[c]);
|
|
1212
1212
|
});
|
|
1213
|
-
const l =
|
|
1213
|
+
const l = B(
|
|
1214
1214
|
{
|
|
1215
1215
|
root: He.root
|
|
1216
1216
|
},
|
|
@@ -1336,12 +1336,12 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
|
|
|
1336
1336
|
emptyValueComponent: w,
|
|
1337
1337
|
value: h,
|
|
1338
1338
|
defaultValue: O,
|
|
1339
|
-
...
|
|
1339
|
+
...M
|
|
1340
1340
|
} = e, E = [
|
|
1341
1341
|
"size"
|
|
1342
1342
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1343
1343
|
], W = G(
|
|
1344
|
-
u(
|
|
1344
|
+
u(M, o),
|
|
1345
1345
|
E
|
|
1346
1346
|
), L = W;
|
|
1347
1347
|
return /* @__PURE__ */ a(
|
|
@@ -1425,7 +1425,7 @@ const Lo = _(
|
|
|
1425
1425
|
], y = G(
|
|
1426
1426
|
u(p, o),
|
|
1427
1427
|
C
|
|
1428
|
-
), N = y, v =
|
|
1428
|
+
), N = y, v = B(
|
|
1429
1429
|
{
|
|
1430
1430
|
root: Ie.root,
|
|
1431
1431
|
body: Ie.body,
|
|
@@ -1491,7 +1491,7 @@ const Xs = "Chip-module__root___f5pFk", Js = "Chip-module__label___Ov9pg", el =
|
|
|
1491
1491
|
deleteIcon: al
|
|
1492
1492
|
};
|
|
1493
1493
|
function rl(r) {
|
|
1494
|
-
return /* @__PURE__ */
|
|
1494
|
+
return /* @__PURE__ */ A(
|
|
1495
1495
|
"svg",
|
|
1496
1496
|
{
|
|
1497
1497
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1511,7 +1511,7 @@ function rl(r) {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
);
|
|
1513
1513
|
}
|
|
1514
|
-
const
|
|
1514
|
+
const Mo = _(function({
|
|
1515
1515
|
error: e = !1,
|
|
1516
1516
|
icon: n,
|
|
1517
1517
|
onDelete: o,
|
|
@@ -1526,7 +1526,7 @@ const Ao = _(function({
|
|
|
1526
1526
|
"aria-hidden": C,
|
|
1527
1527
|
...y
|
|
1528
1528
|
}, N) {
|
|
1529
|
-
const v = u(y, d), S = v, b =
|
|
1529
|
+
const v = u(y, d), S = v, b = B(
|
|
1530
1530
|
{
|
|
1531
1531
|
root: Oe.root,
|
|
1532
1532
|
label: Oe.label,
|
|
@@ -1557,7 +1557,7 @@ const Ao = _(function({
|
|
|
1557
1557
|
f ? void 0 : !0,
|
|
1558
1558
|
C
|
|
1559
1559
|
),
|
|
1560
|
-
children: /* @__PURE__ */
|
|
1560
|
+
children: /* @__PURE__ */ A("span", { className: Oe.innerWrapper, children: [
|
|
1561
1561
|
n && !c && /* @__PURE__ */ a("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: n }),
|
|
1562
1562
|
/* @__PURE__ */ a("span", { className: Oe.children, children: i }),
|
|
1563
1563
|
o && /* @__PURE__ */ a(
|
|
@@ -1583,7 +1583,7 @@ const Ao = _(function({
|
|
|
1583
1583
|
}
|
|
1584
1584
|
);
|
|
1585
1585
|
});
|
|
1586
|
-
|
|
1586
|
+
Mo.displayName = "Chip";
|
|
1587
1587
|
const sl = "Container-module__root___UVssr", wo = {
|
|
1588
1588
|
root: sl
|
|
1589
1589
|
}, fn = _(
|
|
@@ -1618,7 +1618,7 @@ const sl = "Container-module__root___UVssr", wo = {
|
|
|
1618
1618
|
);
|
|
1619
1619
|
fn.displayName = "Container";
|
|
1620
1620
|
function ll(r) {
|
|
1621
|
-
return /* @__PURE__ */
|
|
1621
|
+
return /* @__PURE__ */ A(
|
|
1622
1622
|
"svg",
|
|
1623
1623
|
{
|
|
1624
1624
|
viewBox: "0 0 24 24",
|
|
@@ -1687,7 +1687,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1687
1687
|
defaultValue: h,
|
|
1688
1688
|
highlightToday: O = !0,
|
|
1689
1689
|
// Default on so today is visually marked; consumers can still override.
|
|
1690
|
-
valueFormat:
|
|
1690
|
+
valueFormat: M = "MM/DD/YY",
|
|
1691
1691
|
// Default display format; consumers can still override.
|
|
1692
1692
|
placeholder: E = "MM / DD / YY",
|
|
1693
1693
|
// Default placeholder; consumers can still override.
|
|
@@ -1697,7 +1697,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1697
1697
|
} = e, Z = G(
|
|
1698
1698
|
u(L, o),
|
|
1699
1699
|
Nl
|
|
1700
|
-
), j = Z, q =
|
|
1700
|
+
), j = Z, q = B(
|
|
1701
1701
|
{
|
|
1702
1702
|
wrapper: Pe.root,
|
|
1703
1703
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -1715,7 +1715,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1715
1715
|
delete j.popoverProps;
|
|
1716
1716
|
const ee = {
|
|
1717
1717
|
...H,
|
|
1718
|
-
classNames:
|
|
1718
|
+
classNames: B(
|
|
1719
1719
|
{ dropdown: Pe.dropdown },
|
|
1720
1720
|
Y
|
|
1721
1721
|
)
|
|
@@ -1763,7 +1763,7 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
|
|
|
1763
1763
|
error: void 0,
|
|
1764
1764
|
withAsterisk: !1,
|
|
1765
1765
|
highlightToday: O,
|
|
1766
|
-
valueFormat:
|
|
1766
|
+
valueFormat: M,
|
|
1767
1767
|
placeholder: E,
|
|
1768
1768
|
leftSection: me(
|
|
1769
1769
|
/* @__PURE__ */ a(ll, {}),
|
|
@@ -1829,7 +1829,7 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1829
1829
|
emptyValueComponent: w,
|
|
1830
1830
|
value: h,
|
|
1831
1831
|
defaultValue: O,
|
|
1832
|
-
data:
|
|
1832
|
+
data: M,
|
|
1833
1833
|
clearButtonProps: E,
|
|
1834
1834
|
renderOption: W,
|
|
1835
1835
|
wrapItemText: L = !1,
|
|
@@ -1837,10 +1837,10 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1837
1837
|
} = e, j = G(
|
|
1838
1838
|
u(Z, o),
|
|
1839
1839
|
Rl
|
|
1840
|
-
), q = j, X = Qt(
|
|
1840
|
+
), q = j, X = Qt(M), H = E, Y = {
|
|
1841
1841
|
...H,
|
|
1842
1842
|
className: H != null && H.className ? `${te.clearButton} ${H.className}` : te.clearButton
|
|
1843
|
-
}, ee =
|
|
1843
|
+
}, ee = B(
|
|
1844
1844
|
{
|
|
1845
1845
|
wrapper: te.root,
|
|
1846
1846
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -1920,18 +1920,18 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
|
|
|
1920
1920
|
}
|
|
1921
1921
|
);
|
|
1922
1922
|
hn.displayName = "Dropdown";
|
|
1923
|
-
const Ll = "FileInput-module__layoutOverride___HIOY6",
|
|
1923
|
+
const Ll = "FileInput-module__layoutOverride___HIOY6", Ml = "FileInput-module__root___UvQj-", Al = "FileInput-module__leadingIcon___z75c4", Wl = "FileInput-module__content___Udsvh", zl = "FileInput-module__value___RX33R", Dl = "FileInput-module__chipRow___My6TF", El = "FileInput-module__chipWrapper___q2CDy", Bl = "FileInput-module__trailingIcon___odGPm", Fe = {
|
|
1924
1924
|
layoutOverride: Ll,
|
|
1925
|
-
root:
|
|
1926
|
-
leadingIcon:
|
|
1925
|
+
root: Ml,
|
|
1926
|
+
leadingIcon: Al,
|
|
1927
1927
|
content: Wl,
|
|
1928
1928
|
value: zl,
|
|
1929
1929
|
chipRow: Dl,
|
|
1930
1930
|
chipWrapper: El,
|
|
1931
|
-
trailingIcon:
|
|
1931
|
+
trailingIcon: Bl
|
|
1932
1932
|
};
|
|
1933
|
-
function
|
|
1934
|
-
return /* @__PURE__ */
|
|
1933
|
+
function Fl() {
|
|
1934
|
+
return /* @__PURE__ */ A(
|
|
1935
1935
|
"svg",
|
|
1936
1936
|
{
|
|
1937
1937
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1951,7 +1951,7 @@ function Bl() {
|
|
|
1951
1951
|
);
|
|
1952
1952
|
}
|
|
1953
1953
|
function Ul() {
|
|
1954
|
-
return /* @__PURE__ */
|
|
1954
|
+
return /* @__PURE__ */ A(
|
|
1955
1955
|
"svg",
|
|
1956
1956
|
{
|
|
1957
1957
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1996,12 +1996,12 @@ const vn = _(
|
|
|
1996
1996
|
onFilesAdded: w,
|
|
1997
1997
|
onFileRemove: h,
|
|
1998
1998
|
accept: O,
|
|
1999
|
-
multiple:
|
|
1999
|
+
multiple: M = !1,
|
|
2000
2000
|
maxSize: E,
|
|
2001
2001
|
maxFiles: W,
|
|
2002
2002
|
onFilesRejected: L,
|
|
2003
2003
|
invalidFileTypeMessage: Z = "File type not accepted",
|
|
2004
|
-
maxFilesMessage: j =
|
|
2004
|
+
maxFilesMessage: j = M ? `Maximum of ${W} files allowed` : "Only one file is allowed",
|
|
2005
2005
|
icon: q,
|
|
2006
2006
|
clearIcon: X,
|
|
2007
2007
|
placeholder: H = "Select a file...",
|
|
@@ -2013,7 +2013,7 @@ const vn = _(
|
|
|
2013
2013
|
if (!I) return;
|
|
2014
2014
|
const ne = Array.from(x);
|
|
2015
2015
|
if (ne.length === 0) return;
|
|
2016
|
-
const ae =
|
|
2016
|
+
const ae = M ? W : 1, J = M ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], zo = [];
|
|
2017
2017
|
let wt = !1, St = !1;
|
|
2018
2018
|
for (const ot of ne) {
|
|
2019
2019
|
const xt = !Zt(ot, O);
|
|
@@ -2022,7 +2022,7 @@ const vn = _(
|
|
|
2022
2022
|
Ot && (St = !0), (xt || Ka || Ot ? zo : fe).push(ot);
|
|
2023
2023
|
}
|
|
2024
2024
|
ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (L == null || L(zo));
|
|
2025
|
-
}, we = Ve(0), [Xe, Ee] = ce(!1),
|
|
2025
|
+
}, we = Ve(0), [Xe, Ee] = ce(!1), Be = (x) => {
|
|
2026
2026
|
x.preventDefault(), we.current += 1, Ee(!0);
|
|
2027
2027
|
}, po = (x) => {
|
|
2028
2028
|
x.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
|
|
@@ -2037,7 +2037,7 @@ const vn = _(
|
|
|
2037
2037
|
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
|
|
2038
2038
|
}, V = (x) => {
|
|
2039
2039
|
x.target.files && Qe(x.target.files), x.target.value = "";
|
|
2040
|
-
},
|
|
2040
|
+
}, F = () => {
|
|
2041
2041
|
!I || !f || f.length === 0 || f.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
|
|
2042
2042
|
}, [z, k] = ce(0), U = Ve([]), Q = Ve((f == null ? void 0 : f.length) ?? 0);
|
|
2043
2043
|
ke(() => {
|
|
@@ -2055,7 +2055,7 @@ const vn = _(
|
|
|
2055
2055
|
if (ne === 0) return;
|
|
2056
2056
|
let ae;
|
|
2057
2057
|
x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (z + 1) % ne : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ae = (z - 1 + ne) % ne), ae !== void 0 && (x.preventDefault(), x.stopPropagation(), k(ae), (J = U.current[ae]) == null || J.focus());
|
|
2058
|
-
}, oo = N ?? (se ? Z : be ? j : void 0), mo = T ? `${
|
|
2058
|
+
}, oo = N ?? (se ? Z : be ? j : void 0), mo = T ? `${Fe.layoutOverride} ${T}` : Fe.layoutOverride;
|
|
2059
2059
|
return /* @__PURE__ */ a(
|
|
2060
2060
|
go,
|
|
2061
2061
|
{
|
|
@@ -2078,12 +2078,12 @@ const vn = _(
|
|
|
2078
2078
|
id: b,
|
|
2079
2079
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2080
2080
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
2081
|
-
children: /* @__PURE__ */
|
|
2081
|
+
children: /* @__PURE__ */ A(
|
|
2082
2082
|
"div",
|
|
2083
2083
|
{
|
|
2084
2084
|
ref: n,
|
|
2085
2085
|
...pe,
|
|
2086
|
-
className:
|
|
2086
|
+
className: Fe.root,
|
|
2087
2087
|
role: "button",
|
|
2088
2088
|
"aria-label": Y,
|
|
2089
2089
|
"aria-disabled": g ? "true" : void 0,
|
|
@@ -2094,28 +2094,28 @@ const vn = _(
|
|
|
2094
2094
|
"data-dragging": Xe ? "true" : void 0,
|
|
2095
2095
|
onClick: I ? xe : void 0,
|
|
2096
2096
|
onKeyDown: I ? eo : void 0,
|
|
2097
|
-
onDragEnter: I ?
|
|
2097
|
+
onDragEnter: I ? Be : void 0,
|
|
2098
2098
|
onDragLeave: I ? po : void 0,
|
|
2099
2099
|
onDragOver: I ? Se : void 0,
|
|
2100
2100
|
onDrop: I ? Je : void 0,
|
|
2101
2101
|
children: [
|
|
2102
|
-
/* @__PURE__ */ a("span", { className:
|
|
2103
|
-
/* @__PURE__ */
|
|
2104
|
-
!le && /* @__PURE__ */ a("span", { className:
|
|
2102
|
+
/* @__PURE__ */ a("span", { className: Fe.leadingIcon, "aria-hidden": !0, children: q ?? /* @__PURE__ */ a(Fl, {}) }),
|
|
2103
|
+
/* @__PURE__ */ A("div", { className: Fe.content, children: [
|
|
2104
|
+
!le && /* @__PURE__ */ a("span", { className: Fe.value, "data-placeholder": "true", children: H }),
|
|
2105
2105
|
le && /* @__PURE__ */ a(
|
|
2106
2106
|
"div",
|
|
2107
2107
|
{
|
|
2108
|
-
className:
|
|
2108
|
+
className: Fe.chipRow,
|
|
2109
2109
|
onKeyDown: P ? void 0 : _e,
|
|
2110
2110
|
children: f.map((x, ne) => {
|
|
2111
2111
|
const ae = x.id ?? x.file.name;
|
|
2112
2112
|
return /* @__PURE__ */ a(
|
|
2113
2113
|
"span",
|
|
2114
2114
|
{
|
|
2115
|
-
className:
|
|
2115
|
+
className: Fe.chipWrapper,
|
|
2116
2116
|
onClick: (J) => J.stopPropagation(),
|
|
2117
2117
|
children: /* @__PURE__ */ a(
|
|
2118
|
-
|
|
2118
|
+
Mo,
|
|
2119
2119
|
{
|
|
2120
2120
|
checked: !1,
|
|
2121
2121
|
tabIndex: -1,
|
|
@@ -2143,13 +2143,13 @@ const vn = _(
|
|
|
2143
2143
|
size: "small",
|
|
2144
2144
|
icon: X ?? /* @__PURE__ */ a(Ul, {}),
|
|
2145
2145
|
"aria-label": ue,
|
|
2146
|
-
className:
|
|
2146
|
+
className: Fe.trailingIcon,
|
|
2147
2147
|
disabled: g,
|
|
2148
2148
|
onClick: (x) => {
|
|
2149
|
-
x.preventDefault(), x.stopPropagation(),
|
|
2149
|
+
x.preventDefault(), x.stopPropagation(), F();
|
|
2150
2150
|
},
|
|
2151
2151
|
onKeyDown: (x) => {
|
|
2152
|
-
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(),
|
|
2152
|
+
x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(), F());
|
|
2153
2153
|
}
|
|
2154
2154
|
}
|
|
2155
2155
|
),
|
|
@@ -2160,7 +2160,7 @@ const vn = _(
|
|
|
2160
2160
|
type: "file",
|
|
2161
2161
|
hidden: !0,
|
|
2162
2162
|
accept: O,
|
|
2163
|
-
multiple:
|
|
2163
|
+
multiple: M,
|
|
2164
2164
|
disabled: !I,
|
|
2165
2165
|
onChange: V
|
|
2166
2166
|
}
|
|
@@ -2182,7 +2182,7 @@ const Vl = "FileUpload-module__layoutOverride___bPpi8", Gl = "FileUpload-module_
|
|
|
2182
2182
|
fileList: Kl
|
|
2183
2183
|
};
|
|
2184
2184
|
function Yl() {
|
|
2185
|
-
return /* @__PURE__ */
|
|
2185
|
+
return /* @__PURE__ */ A(
|
|
2186
2186
|
"svg",
|
|
2187
2187
|
{
|
|
2188
2188
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2228,7 +2228,7 @@ const Nn = _(
|
|
|
2228
2228
|
onFilesAdded: w,
|
|
2229
2229
|
onFileRemove: h,
|
|
2230
2230
|
accept: O,
|
|
2231
|
-
multiple:
|
|
2231
|
+
multiple: M = !0,
|
|
2232
2232
|
maxSize: E,
|
|
2233
2233
|
maxFiles: W,
|
|
2234
2234
|
onFilesRejected: L,
|
|
@@ -2260,7 +2260,7 @@ const Nn = _(
|
|
|
2260
2260
|
k.preventDefault();
|
|
2261
2261
|
}, Ee = (k) => {
|
|
2262
2262
|
k.preventDefault(), ie.current = 0, $e(!1), se(k.dataTransfer.files);
|
|
2263
|
-
},
|
|
2263
|
+
}, Be = () => {
|
|
2264
2264
|
var k;
|
|
2265
2265
|
g || (k = re.current) == null || k.click();
|
|
2266
2266
|
}, po = (k) => {
|
|
@@ -2281,7 +2281,7 @@ const Nn = _(
|
|
|
2281
2281
|
if (U === 0) return;
|
|
2282
2282
|
let Q;
|
|
2283
2283
|
k.key === "ArrowRight" || k.key === "ArrowDown" ? Q = (Se + 1) % U : (k.key === "ArrowLeft" || k.key === "ArrowUp") && (Q = (Se - 1 + U) % U), Q !== void 0 && (k.preventDefault(), Je(Q), (_e = xe.current[Q]) == null || _e.focus());
|
|
2284
|
-
},
|
|
2284
|
+
}, F = N ?? (pe ? Z : le ? j : void 0), z = T ? `${ao.layoutOverride} ${T}` : ao.layoutOverride;
|
|
2285
2285
|
return /* @__PURE__ */ a(
|
|
2286
2286
|
go,
|
|
2287
2287
|
{
|
|
@@ -2298,20 +2298,20 @@ const Nn = _(
|
|
|
2298
2298
|
label: p,
|
|
2299
2299
|
assistiveText: C,
|
|
2300
2300
|
assistiveWithIcon: y,
|
|
2301
|
-
error:
|
|
2301
|
+
error: F,
|
|
2302
2302
|
required: v,
|
|
2303
2303
|
withAsterisk: S,
|
|
2304
2304
|
id: b,
|
|
2305
|
-
children: /* @__PURE__ */
|
|
2305
|
+
children: /* @__PURE__ */ A(
|
|
2306
2306
|
"div",
|
|
2307
2307
|
{
|
|
2308
2308
|
ref: n,
|
|
2309
2309
|
...D,
|
|
2310
2310
|
className: ao.root,
|
|
2311
2311
|
"data-disabled": g ? "true" : void 0,
|
|
2312
|
-
"data-error":
|
|
2312
|
+
"data-error": F ? "true" : void 0,
|
|
2313
2313
|
children: [
|
|
2314
|
-
!P && /* @__PURE__ */
|
|
2314
|
+
!P && /* @__PURE__ */ A(
|
|
2315
2315
|
"div",
|
|
2316
2316
|
{
|
|
2317
2317
|
className: ao.dropzone,
|
|
@@ -2328,7 +2328,7 @@ const Nn = _(
|
|
|
2328
2328
|
{
|
|
2329
2329
|
variant: "outline",
|
|
2330
2330
|
disabled: g,
|
|
2331
|
-
onClick:
|
|
2331
|
+
onClick: Be,
|
|
2332
2332
|
children: H
|
|
2333
2333
|
}
|
|
2334
2334
|
),
|
|
@@ -2339,7 +2339,7 @@ const Nn = _(
|
|
|
2339
2339
|
type: "file",
|
|
2340
2340
|
hidden: !0,
|
|
2341
2341
|
accept: O,
|
|
2342
|
-
multiple:
|
|
2342
|
+
multiple: M,
|
|
2343
2343
|
disabled: g,
|
|
2344
2344
|
onChange: po
|
|
2345
2345
|
}
|
|
@@ -2349,7 +2349,7 @@ const Nn = _(
|
|
|
2349
2349
|
),
|
|
2350
2350
|
f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: ao.fileList, children: f.map((k) => {
|
|
2351
2351
|
const U = k.id ?? k.file.name;
|
|
2352
|
-
return /* @__PURE__ */ a(
|
|
2352
|
+
return /* @__PURE__ */ a(Mo, { checked: !1, tabIndex: -1, children: k.file.name }, U);
|
|
2353
2353
|
}) }) : /* @__PURE__ */ a(
|
|
2354
2354
|
"div",
|
|
2355
2355
|
{
|
|
@@ -2358,7 +2358,7 @@ const Nn = _(
|
|
|
2358
2358
|
children: f.map((k, U) => {
|
|
2359
2359
|
const Q = k.id ?? k.file.name;
|
|
2360
2360
|
return /* @__PURE__ */ a(
|
|
2361
|
-
|
|
2361
|
+
Mo,
|
|
2362
2362
|
{
|
|
2363
2363
|
checked: !1,
|
|
2364
2364
|
tabIndex: -1,
|
|
@@ -2400,24 +2400,24 @@ const Zl = "Flex-module__root___yYser", So = {
|
|
|
2400
2400
|
ref: l,
|
|
2401
2401
|
className: m,
|
|
2402
2402
|
classNames: i,
|
|
2403
|
-
...
|
|
2403
|
+
...Ao({ gap: n, rowGap: o, columnGap: t, ...s }),
|
|
2404
2404
|
children: e
|
|
2405
2405
|
}
|
|
2406
2406
|
);
|
|
2407
2407
|
});
|
|
2408
2408
|
bn.displayName = "Flex";
|
|
2409
|
-
const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tbuNg",
|
|
2409
|
+
const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tbuNg", Me = {
|
|
2410
2410
|
root: Xl,
|
|
2411
2411
|
col: Jl
|
|
2412
2412
|
}, Cn = _(function({ children: e, gutter: n = "rec-default", ...o }, t) {
|
|
2413
2413
|
const s = {
|
|
2414
|
-
root:
|
|
2414
|
+
root: Me.root
|
|
2415
2415
|
}, l = o.classNames;
|
|
2416
2416
|
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
2417
2417
|
const p = l;
|
|
2418
|
-
s.root = p.root ? `${
|
|
2418
|
+
s.root = p.root ? `${Me.root} ${p.root}` : Me.root;
|
|
2419
2419
|
}
|
|
2420
|
-
const i = o.className, c = i ? `${
|
|
2420
|
+
const i = o.className, c = i ? `${Me.root} ${i}` : Me.root, { gutter: d, ...m } = Ao({
|
|
2421
2421
|
gutter: n,
|
|
2422
2422
|
...o
|
|
2423
2423
|
});
|
|
@@ -2436,20 +2436,20 @@ const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tb
|
|
|
2436
2436
|
Cn.displayName = "Grid";
|
|
2437
2437
|
const ei = Te(Cn), Pn = _(function({ children: e, ...n }, o) {
|
|
2438
2438
|
const t = {
|
|
2439
|
-
col:
|
|
2439
|
+
col: Me.col
|
|
2440
2440
|
}, s = n.classNames;
|
|
2441
2441
|
if (s && typeof s == "object" && !Array.isArray(s)) {
|
|
2442
2442
|
const c = s;
|
|
2443
|
-
t.col = c.col ? `${
|
|
2443
|
+
t.col = c.col ? `${Me.col} ${c.col}` : Me.col;
|
|
2444
2444
|
}
|
|
2445
|
-
const l = n.className, i = l ? `${
|
|
2445
|
+
const l = n.className, i = l ? `${Me.col} ${l}` : Me.col;
|
|
2446
2446
|
return /* @__PURE__ */ a(
|
|
2447
2447
|
Gt.Col,
|
|
2448
2448
|
{
|
|
2449
2449
|
ref: o,
|
|
2450
2450
|
className: i,
|
|
2451
2451
|
classNames: t,
|
|
2452
|
-
...
|
|
2452
|
+
...Ao(
|
|
2453
2453
|
n
|
|
2454
2454
|
),
|
|
2455
2455
|
children: e
|
|
@@ -2478,13 +2478,13 @@ const oi = "Group-module__root___ftO64", xo = {
|
|
|
2478
2478
|
ref: t,
|
|
2479
2479
|
className: c,
|
|
2480
2480
|
classNames: s,
|
|
2481
|
-
...
|
|
2481
|
+
...Ao({ gap: n, ...o }),
|
|
2482
2482
|
children: e
|
|
2483
2483
|
}
|
|
2484
2484
|
);
|
|
2485
2485
|
});
|
|
2486
2486
|
$n.displayName = "Group";
|
|
2487
|
-
const ti = "HoverCard-module__dropdown___FBPFW", ni = "HoverCard-module__arrow___S9AkE",
|
|
2487
|
+
const ti = "HoverCard-module__dropdown___FBPFW", ni = "HoverCard-module__arrow___S9AkE", Mt = {
|
|
2488
2488
|
dropdown: ti,
|
|
2489
2489
|
arrow: ni
|
|
2490
2490
|
}, wn = function({
|
|
@@ -2499,10 +2499,10 @@ const ti = "HoverCard-module__dropdown___FBPFW", ni = "HoverCard-module__arrow__
|
|
|
2499
2499
|
withArrow: s,
|
|
2500
2500
|
...l
|
|
2501
2501
|
}) {
|
|
2502
|
-
const i = u(l, e), c = i, d =
|
|
2502
|
+
const i = u(l, e), c = i, d = B(
|
|
2503
2503
|
{
|
|
2504
|
-
dropdown:
|
|
2505
|
-
arrow:
|
|
2504
|
+
dropdown: Mt.dropdown,
|
|
2505
|
+
arrow: Mt.arrow
|
|
2506
2506
|
},
|
|
2507
2507
|
c.classNames
|
|
2508
2508
|
);
|
|
@@ -2544,11 +2544,11 @@ const ai = "Link-module__root___I0VGE", ri = "Link-module__iconWrapper___W-LlF",
|
|
|
2544
2544
|
iconWrapper: ri,
|
|
2545
2545
|
labelText: si
|
|
2546
2546
|
}, On = _(function({ icon: e, children: n, overStyled: o = !1, ...t }, s) {
|
|
2547
|
-
const l = u(t, o), i = l, c =
|
|
2547
|
+
const l = u(t, o), i = l, c = B(
|
|
2548
2548
|
{ root: Oo.root },
|
|
2549
2549
|
i.classNames
|
|
2550
2550
|
), d = i.className, m = d ? `${Oo.root} ${d}` : Oo.root;
|
|
2551
|
-
return /* @__PURE__ */
|
|
2551
|
+
return /* @__PURE__ */ A(
|
|
2552
2552
|
sr,
|
|
2553
2553
|
{
|
|
2554
2554
|
ref: s,
|
|
@@ -2574,7 +2574,7 @@ const li = Te(On), ii = "Menu-module__dropdown___j4xuA", ci = "Menu-module__item
|
|
|
2574
2574
|
label: mi,
|
|
2575
2575
|
chevron: _i
|
|
2576
2576
|
}, In = function({ overStyled: e = !1, ...n }) {
|
|
2577
|
-
const t = u(n, e), { maxHeight: s, ...l } = t, i =
|
|
2577
|
+
const t = u(n, e), { maxHeight: s, ...l } = t, i = B(
|
|
2578
2578
|
{
|
|
2579
2579
|
dropdown: fo.dropdown,
|
|
2580
2580
|
item: fo.item,
|
|
@@ -2650,7 +2650,7 @@ const Ln = _(
|
|
|
2650
2650
|
}
|
|
2651
2651
|
);
|
|
2652
2652
|
Ln.displayName = "MenuItem";
|
|
2653
|
-
const fi = Te(Ln),
|
|
2653
|
+
const fi = Te(Ln), Mn = _(
|
|
2654
2654
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2655
2655
|
const t = u(n, e), s = t.className;
|
|
2656
2656
|
return /* @__PURE__ */ a(
|
|
@@ -2663,8 +2663,8 @@ const fi = Te(Ln), An = _(
|
|
|
2663
2663
|
);
|
|
2664
2664
|
}
|
|
2665
2665
|
);
|
|
2666
|
-
|
|
2667
|
-
const
|
|
2666
|
+
Mn.displayName = "MenuDivider";
|
|
2667
|
+
const An = _(function({ overStyled: e = !1, ...n }, o) {
|
|
2668
2668
|
const t = u(n, e), s = t.className;
|
|
2669
2669
|
return /* @__PURE__ */ a(
|
|
2670
2670
|
We.Label,
|
|
@@ -2675,7 +2675,7 @@ const Mn = _(function({ overStyled: e = !1, ...n }, o) {
|
|
|
2675
2675
|
}
|
|
2676
2676
|
);
|
|
2677
2677
|
});
|
|
2678
|
-
|
|
2678
|
+
An.displayName = "MenuLabel";
|
|
2679
2679
|
const Wn = function(e) {
|
|
2680
2680
|
return /* @__PURE__ */ a(We.Sub, { ...e });
|
|
2681
2681
|
};
|
|
@@ -2728,8 +2728,8 @@ const bo = In;
|
|
|
2728
2728
|
bo.Target = kn;
|
|
2729
2729
|
bo.Dropdown = Rn;
|
|
2730
2730
|
bo.Item = fi;
|
|
2731
|
-
bo.Divider =
|
|
2732
|
-
bo.Label =
|
|
2731
|
+
bo.Divider = Mn;
|
|
2732
|
+
bo.Label = An;
|
|
2733
2733
|
bo.Sub = et;
|
|
2734
2734
|
const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni = "Modal-module__content___dWO-B", bi = "Modal-module__header___ILG9i", Ci = "Modal-module__title___A5OeE", Pi = "Modal-module__bodyWrapper___5CCL-", gi = "Modal-module__scrollArea___KD-hm", Ti = "Modal-module__footer___rro2w", $i = "Modal-module__close___-ER1C", Ue = {
|
|
2735
2735
|
root: hi,
|
|
@@ -2741,7 +2741,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2741
2741
|
scrollArea: gi,
|
|
2742
2742
|
footer: Ti,
|
|
2743
2743
|
close: $i
|
|
2744
|
-
},
|
|
2744
|
+
}, Bn = K.forwardRef(function({
|
|
2745
2745
|
overStyled: e = !1,
|
|
2746
2746
|
children: n,
|
|
2747
2747
|
title: o,
|
|
@@ -2759,7 +2759,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2759
2759
|
], p = G(
|
|
2760
2760
|
u(c, e),
|
|
2761
2761
|
m
|
|
2762
|
-
), C =
|
|
2762
|
+
), C = B(
|
|
2763
2763
|
{
|
|
2764
2764
|
root: Ue.root,
|
|
2765
2765
|
inner: Ue.inner,
|
|
@@ -2770,7 +2770,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2770
2770
|
},
|
|
2771
2771
|
p.classNames
|
|
2772
2772
|
);
|
|
2773
|
-
return /* @__PURE__ */
|
|
2773
|
+
return /* @__PURE__ */ A(
|
|
2774
2774
|
he.Root,
|
|
2775
2775
|
{
|
|
2776
2776
|
ref: d,
|
|
@@ -2778,8 +2778,8 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2778
2778
|
classNames: C,
|
|
2779
2779
|
children: [
|
|
2780
2780
|
l && /* @__PURE__ */ a(he.Overlay, { ...s }),
|
|
2781
|
-
/* @__PURE__ */
|
|
2782
|
-
(o || t) && /* @__PURE__ */
|
|
2781
|
+
/* @__PURE__ */ A(he.Content, { children: [
|
|
2782
|
+
(o || t) && /* @__PURE__ */ A(he.Header, { children: [
|
|
2783
2783
|
o && /* @__PURE__ */ a(he.Title, { children: o }),
|
|
2784
2784
|
t && /* @__PURE__ */ a(he.CloseButton, { ...i })
|
|
2785
2785
|
] }),
|
|
@@ -2789,7 +2789,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
|
|
|
2789
2789
|
}
|
|
2790
2790
|
);
|
|
2791
2791
|
});
|
|
2792
|
-
|
|
2792
|
+
Bn.displayName = "Modal";
|
|
2793
2793
|
const ft = K.forwardRef(
|
|
2794
2794
|
function({ overStyled: e = !1, className: n, ...o }, t) {
|
|
2795
2795
|
const s = u(o, e);
|
|
@@ -2821,7 +2821,7 @@ const yt = K.forwardRef(
|
|
|
2821
2821
|
return K.Children.forEach(t, (b) => {
|
|
2822
2822
|
var T;
|
|
2823
2823
|
K.isValidElement(b) && (b.type === ft || ((T = b.type) == null ? void 0 : T.displayName) === "Modal.Footer") ? v = b : S.push(b);
|
|
2824
|
-
}), /* @__PURE__ */
|
|
2824
|
+
}), /* @__PURE__ */ A(
|
|
2825
2825
|
he.Body,
|
|
2826
2826
|
{
|
|
2827
2827
|
...i,
|
|
@@ -2853,7 +2853,7 @@ const wi = [
|
|
|
2853
2853
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
2854
2854
|
"radius"
|
|
2855
2855
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
2856
|
-
],
|
|
2856
|
+
], Fn = K.forwardRef(
|
|
2857
2857
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2858
2858
|
const t = G(
|
|
2859
2859
|
u(n, e),
|
|
@@ -2868,7 +2868,7 @@ const wi = [
|
|
|
2868
2868
|
);
|
|
2869
2869
|
}
|
|
2870
2870
|
);
|
|
2871
|
-
|
|
2871
|
+
Fn.displayName = "Modal.Root";
|
|
2872
2872
|
const Un = K.forwardRef(
|
|
2873
2873
|
function({ overStyled: e = !1, ...n }, o) {
|
|
2874
2874
|
const t = u(n, e);
|
|
@@ -2943,8 +2943,8 @@ const xi = [
|
|
|
2943
2943
|
);
|
|
2944
2944
|
});
|
|
2945
2945
|
jn.displayName = "Modal.CloseButton";
|
|
2946
|
-
const Ye =
|
|
2947
|
-
Ye.Root =
|
|
2946
|
+
const Ye = Bn;
|
|
2947
|
+
Ye.Root = Fn;
|
|
2948
2948
|
Ye.Overlay = Un;
|
|
2949
2949
|
Ye.Content = Vn;
|
|
2950
2950
|
Ye.Header = Gn;
|
|
@@ -2952,14 +2952,14 @@ Ye.Title = Hn;
|
|
|
2952
2952
|
Ye.CloseButton = jn;
|
|
2953
2953
|
Ye.Body = yt;
|
|
2954
2954
|
Ye.Footer = ft;
|
|
2955
|
-
const Oi = "NumberInput-module__layoutOverride___5-9T4", Ii = "NumberInput-module__root___C6rAn", ki = "NumberInput-module__input___Ss8p7", Ri = "NumberInput-module__section___MijP0", Li = "NumberInput-module__controls___8UfQ2",
|
|
2955
|
+
const Oi = "NumberInput-module__layoutOverride___5-9T4", Ii = "NumberInput-module__root___C6rAn", ki = "NumberInput-module__input___Ss8p7", Ri = "NumberInput-module__section___MijP0", Li = "NumberInput-module__controls___8UfQ2", Mi = "NumberInput-module__control___Qre9-", yo = {
|
|
2956
2956
|
layoutOverride: Oi,
|
|
2957
2957
|
root: Ii,
|
|
2958
2958
|
input: ki,
|
|
2959
2959
|
section: Ri,
|
|
2960
2960
|
controls: Li,
|
|
2961
|
-
control:
|
|
2962
|
-
},
|
|
2961
|
+
control: Mi
|
|
2962
|
+
}, Ai = [
|
|
2963
2963
|
"size",
|
|
2964
2964
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
2965
2965
|
"variant",
|
|
@@ -2993,10 +2993,10 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", Ii = "NumberInput-modul
|
|
|
2993
2993
|
value: w,
|
|
2994
2994
|
defaultValue: h,
|
|
2995
2995
|
hideControls: O = !1,
|
|
2996
|
-
...
|
|
2996
|
+
...M
|
|
2997
2997
|
} = e, E = G(
|
|
2998
|
-
u(
|
|
2999
|
-
|
|
2998
|
+
u(M, o),
|
|
2999
|
+
Ai
|
|
3000
3000
|
), W = E, L = {
|
|
3001
3001
|
wrapper: yo.root,
|
|
3002
3002
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -3063,14 +3063,14 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", Ii = "NumberInput-modul
|
|
|
3063
3063
|
}
|
|
3064
3064
|
);
|
|
3065
3065
|
qn.displayName = "NumberInput";
|
|
3066
|
-
const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O",
|
|
3066
|
+
const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control___40yNT", Di = "Pagination-module__dots___Yl9da", Ei = "Pagination-module__iconWithLabel___pLM4O", Bi = "Pagination-module__baseIcon___Qw3bJ", Ae = {
|
|
3067
3067
|
root: Wi,
|
|
3068
3068
|
control: zi,
|
|
3069
3069
|
dots: Di,
|
|
3070
3070
|
iconWithLabel: Ei,
|
|
3071
|
-
baseIcon:
|
|
3072
|
-
},
|
|
3073
|
-
next:
|
|
3071
|
+
baseIcon: Bi
|
|
3072
|
+
}, Fi = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Ui = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Vi = "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", Gi = "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", Hi = {
|
|
3073
|
+
next: Fi,
|
|
3074
3074
|
prev: Ui,
|
|
3075
3075
|
first: Vi,
|
|
3076
3076
|
last: Gi
|
|
@@ -3083,33 +3083,33 @@ const Wi = "Pagination-module__root___ITRjt", zi = "Pagination-module__control__
|
|
|
3083
3083
|
{
|
|
3084
3084
|
viewBox: "0 0 16 16",
|
|
3085
3085
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3086
|
-
className: `${
|
|
3086
|
+
className: `${Ae.baseIcon} ${e || ""}`.trim(),
|
|
3087
3087
|
...n,
|
|
3088
3088
|
children: /* @__PURE__ */ a("path", { d: Hi[r], fill: "currentColor" })
|
|
3089
3089
|
}
|
|
3090
|
-
), Kn = (r) => /* @__PURE__ */
|
|
3090
|
+
), Kn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3091
3091
|
/* @__PURE__ */ a("span", { children: "Next" }),
|
|
3092
3092
|
/* @__PURE__ */ a(Wo, { type: "next", ...r })
|
|
3093
|
-
] }), Yn = (r) => /* @__PURE__ */
|
|
3093
|
+
] }), Yn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3094
3094
|
/* @__PURE__ */ a(Wo, { type: "prev", ...r }),
|
|
3095
3095
|
/* @__PURE__ */ a("span", { children: "Prev" })
|
|
3096
|
-
] }), Zn = (r) => /* @__PURE__ */
|
|
3096
|
+
] }), Zn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3097
3097
|
/* @__PURE__ */ a(Wo, { type: "first", ...r }),
|
|
3098
3098
|
/* @__PURE__ */ a("span", { children: "First" })
|
|
3099
|
-
] }), Qn = (r) => /* @__PURE__ */
|
|
3099
|
+
] }), Qn = (r) => /* @__PURE__ */ A("div", { className: Ae.iconWithLabel, children: [
|
|
3100
3100
|
/* @__PURE__ */ a("span", { children: "Last" }),
|
|
3101
3101
|
/* @__PURE__ */ a(Wo, { type: "last", ...r })
|
|
3102
3102
|
] });
|
|
3103
3103
|
function Xn(r) {
|
|
3104
|
-
const e =
|
|
3104
|
+
const e = B(
|
|
3105
3105
|
{
|
|
3106
|
-
root:
|
|
3107
|
-
control:
|
|
3108
|
-
dots:
|
|
3106
|
+
root: Ae.root,
|
|
3107
|
+
control: Ae.control,
|
|
3108
|
+
dots: Ae.dots
|
|
3109
3109
|
},
|
|
3110
3110
|
r.classNames
|
|
3111
3111
|
), n = r.className;
|
|
3112
|
-
return { className: n ? `${
|
|
3112
|
+
return { className: n ? `${Ae.root} ${n}` : Ae.root, classNames: e };
|
|
3113
3113
|
}
|
|
3114
3114
|
const Jn = _(
|
|
3115
3115
|
function({ overStyled: e = !1, ...n }, o) {
|
|
@@ -3256,7 +3256,7 @@ const ji = "Panel-module__content___wdGo-", qi = "Panel-module__inner___ruA2b",
|
|
|
3256
3256
|
wrapHeaderText: t = !1,
|
|
3257
3257
|
...s
|
|
3258
3258
|
}) {
|
|
3259
|
-
const l = u(s, e), i = l, c =
|
|
3259
|
+
const l = u(s, e), i = l, c = B(
|
|
3260
3260
|
{
|
|
3261
3261
|
content: lo.content,
|
|
3262
3262
|
header: lo.header,
|
|
@@ -3387,7 +3387,7 @@ De.CloseButton = ma;
|
|
|
3387
3387
|
De.Body = _a;
|
|
3388
3388
|
De.Stack = qe.Stack;
|
|
3389
3389
|
De.Footer = ht;
|
|
3390
|
-
const Ji = "Popover-module__dropdown___svhS6", ec = "Popover-module__arrow___5A-0e",
|
|
3390
|
+
const Ji = "Popover-module__dropdown___svhS6", ec = "Popover-module__arrow___5A-0e", At = {
|
|
3391
3391
|
dropdown: Ji,
|
|
3392
3392
|
arrow: ec
|
|
3393
3393
|
}, fa = function({
|
|
@@ -3397,8 +3397,8 @@ const Ji = "Popover-module__dropdown___svhS6", ec = "Popover-module__arrow___5A-
|
|
|
3397
3397
|
// Recursica default; Mantine defaults to "bottom"
|
|
3398
3398
|
...t
|
|
3399
3399
|
}) {
|
|
3400
|
-
const s = u(t, e), l = s, i =
|
|
3401
|
-
{ dropdown:
|
|
3400
|
+
const s = u(t, e), l = s, i = B(
|
|
3401
|
+
{ dropdown: At.dropdown, arrow: At.arrow },
|
|
3402
3402
|
l.classNames
|
|
3403
3403
|
), c = me(
|
|
3404
3404
|
16,
|
|
@@ -3477,12 +3477,12 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
|
|
|
3477
3477
|
emptyValueComponent: w,
|
|
3478
3478
|
value: h,
|
|
3479
3479
|
defaultValue: O,
|
|
3480
|
-
...
|
|
3480
|
+
...M
|
|
3481
3481
|
} = e, E = [
|
|
3482
3482
|
"size"
|
|
3483
3483
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
3484
3484
|
], W = G(
|
|
3485
|
-
u(
|
|
3485
|
+
u(M, o),
|
|
3486
3486
|
E
|
|
3487
3487
|
), L = W;
|
|
3488
3488
|
return /* @__PURE__ */ a(
|
|
@@ -3567,7 +3567,7 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
|
|
|
3567
3567
|
], N = G(
|
|
3568
3568
|
u(C, o),
|
|
3569
3569
|
y
|
|
3570
|
-
), v = N, S =
|
|
3570
|
+
), v = N, S = B(
|
|
3571
3571
|
{
|
|
3572
3572
|
root: Re.root,
|
|
3573
3573
|
body: Re.body,
|
|
@@ -3631,7 +3631,7 @@ const dc = "SegmentedControl-module__root___JFRhg", uc = "SegmentedControl-modul
|
|
|
3631
3631
|
indicator: mc
|
|
3632
3632
|
};
|
|
3633
3633
|
function _c(r) {
|
|
3634
|
-
const e =
|
|
3634
|
+
const e = B(
|
|
3635
3635
|
{
|
|
3636
3636
|
root: Po.root,
|
|
3637
3637
|
control: Po.control,
|
|
@@ -3653,7 +3653,7 @@ const va = _(
|
|
|
3653
3653
|
const i = u(s, e), d = _c(i), m = t.map(
|
|
3654
3654
|
(p) => typeof p == "string" || !p.icon ? p : {
|
|
3655
3655
|
...p,
|
|
3656
|
-
label: /* @__PURE__ */
|
|
3656
|
+
label: /* @__PURE__ */ A(No, { children: [
|
|
3657
3657
|
p.icon,
|
|
3658
3658
|
p.label
|
|
3659
3659
|
] })
|
|
@@ -3724,7 +3724,7 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3724
3724
|
readOnlyComponent: w,
|
|
3725
3725
|
emptyValueComponent: h,
|
|
3726
3726
|
value: O,
|
|
3727
|
-
defaultValue:
|
|
3727
|
+
defaultValue: M,
|
|
3728
3728
|
icon: E,
|
|
3729
3729
|
trailingIcon: W,
|
|
3730
3730
|
showInput: L = !1,
|
|
@@ -3737,7 +3737,7 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3737
3737
|
onChange: ee,
|
|
3738
3738
|
onChangeEnd: ue,
|
|
3739
3739
|
...D
|
|
3740
|
-
} = e, [re, pe] = ce(() => O !== void 0 ? O :
|
|
3740
|
+
} = e, [re, pe] = ce(() => O !== void 0 ? O : M !== void 0 ? M : j), I = O !== void 0 ? O : re, le = Array.isArray(I), [Ne, se] = ce(
|
|
3741
3741
|
() => Array.isArray(I) ? [I[0].toString(), I[1].toString()] : I.toString()
|
|
3742
3742
|
);
|
|
3743
3743
|
ke(() => {
|
|
@@ -3745,10 +3745,10 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3745
3745
|
Array.isArray(I) ? [I[0].toString(), I[1].toString()] : I.toString()
|
|
3746
3746
|
);
|
|
3747
3747
|
}, [I]);
|
|
3748
|
-
const ie = (
|
|
3749
|
-
O === void 0 && pe(
|
|
3750
|
-
}, be = (
|
|
3751
|
-
const z =
|
|
3748
|
+
const ie = (F) => {
|
|
3749
|
+
O === void 0 && pe(F), ee == null || ee(F);
|
|
3750
|
+
}, be = (F) => {
|
|
3751
|
+
const z = F.target.value;
|
|
3752
3752
|
se(z);
|
|
3753
3753
|
const k = parseFloat(z);
|
|
3754
3754
|
if (!isNaN(k)) {
|
|
@@ -3757,16 +3757,16 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3757
3757
|
}
|
|
3758
3758
|
}, $e = () => {
|
|
3759
3759
|
se(I.toString());
|
|
3760
|
-
}, Qe = (
|
|
3761
|
-
const z = I, k =
|
|
3760
|
+
}, Qe = (F) => {
|
|
3761
|
+
const z = I, k = F.target.value;
|
|
3762
3762
|
se([k, z[1].toString()]);
|
|
3763
3763
|
const U = parseFloat(k);
|
|
3764
3764
|
if (!isNaN(U)) {
|
|
3765
3765
|
const Q = Math.max(j, Math.min(z[1], U));
|
|
3766
3766
|
ie([Q, z[1]]);
|
|
3767
3767
|
}
|
|
3768
|
-
}, we = (
|
|
3769
|
-
const z = I, k =
|
|
3768
|
+
}, we = (F) => {
|
|
3769
|
+
const z = I, k = F.target.value;
|
|
3770
3770
|
se([z[0].toString(), k]);
|
|
3771
3771
|
const U = parseFloat(k);
|
|
3772
3772
|
if (!isNaN(U)) {
|
|
@@ -3774,8 +3774,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3774
3774
|
ie([z[0], Q]);
|
|
3775
3775
|
}
|
|
3776
3776
|
}, Xe = () => {
|
|
3777
|
-
const
|
|
3778
|
-
se([
|
|
3777
|
+
const F = I;
|
|
3778
|
+
se([F[0].toString(), F[1].toString()]);
|
|
3779
3779
|
}, Ee = [
|
|
3780
3780
|
"size",
|
|
3781
3781
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
@@ -3787,10 +3787,10 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3787
3787
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
3788
3788
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
3789
3789
|
"wrapperProps"
|
|
3790
|
-
],
|
|
3790
|
+
], Be = G(
|
|
3791
3791
|
u(D, o),
|
|
3792
3792
|
Ee
|
|
3793
|
-
), po =
|
|
3793
|
+
), po = Be, Se = B(
|
|
3794
3794
|
{
|
|
3795
3795
|
root: oe.sliderRoot,
|
|
3796
3796
|
track: oe.sliderTrack,
|
|
@@ -3831,7 +3831,7 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3831
3831
|
readOnlyType: "text",
|
|
3832
3832
|
readOnlyValue: I,
|
|
3833
3833
|
readOnlyNativeProps: { value: I },
|
|
3834
|
-
activeComponent: /* @__PURE__ */
|
|
3834
|
+
activeComponent: /* @__PURE__ */ A(
|
|
3835
3835
|
"div",
|
|
3836
3836
|
{
|
|
3837
3837
|
className: oe.sliderContainer,
|
|
@@ -3860,7 +3860,7 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3860
3860
|
/* @__PURE__ */ a("div", { className: oe.sliderTrackWrapper, children: le ? /* @__PURE__ */ a(
|
|
3861
3861
|
cr,
|
|
3862
3862
|
{
|
|
3863
|
-
...
|
|
3863
|
+
...Be,
|
|
3864
3864
|
classNames: Se,
|
|
3865
3865
|
disabled: P,
|
|
3866
3866
|
value: I,
|
|
@@ -3874,7 +3874,7 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3874
3874
|
) : /* @__PURE__ */ a(
|
|
3875
3875
|
dr,
|
|
3876
3876
|
{
|
|
3877
|
-
...
|
|
3877
|
+
...Be,
|
|
3878
3878
|
classNames: Se,
|
|
3879
3879
|
disabled: P,
|
|
3880
3880
|
value: I,
|
|
@@ -3886,7 +3886,7 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
|
|
|
3886
3886
|
label: C
|
|
3887
3887
|
}
|
|
3888
3888
|
) }),
|
|
3889
|
-
/* @__PURE__ */
|
|
3889
|
+
/* @__PURE__ */ A("div", { className: oe.rightGuideContainer, children: [
|
|
3890
3890
|
!L && /* @__PURE__ */ a("span", { className: oe.currentValue, children: V }),
|
|
3891
3891
|
Z && /* @__PURE__ */ a("span", { className: oe.minMaxGuide, children: H ?? q })
|
|
3892
3892
|
] }),
|
|
@@ -3946,20 +3946,20 @@ const Lc = "Stack-module__root___NUN-x", Io = {
|
|
|
3946
3946
|
ref: t,
|
|
3947
3947
|
className: c,
|
|
3948
3948
|
classNames: s,
|
|
3949
|
-
...
|
|
3949
|
+
...Ao({ gap: n, ...o }),
|
|
3950
3950
|
children: e
|
|
3951
3951
|
}
|
|
3952
3952
|
);
|
|
3953
3953
|
});
|
|
3954
3954
|
ba.displayName = "Stack";
|
|
3955
|
-
const
|
|
3956
|
-
root:
|
|
3955
|
+
const Mc = Te(ba), Ac = "Stepper-module__root___jbSYO", Wc = "Stepper-module__horizontal___USHT1", zc = "Stepper-module__steps___4HPO6", Dc = "Stepper-module__step___s2nqL", Ec = "Stepper-module__stepBody___TBvys", Bc = "Stepper-module__stepLabel___N6nuy", Fc = "Stepper-module__stepDescription___DnDAy", Uc = "Stepper-module__separator___pU0No", Vc = "Stepper-module__vertical___d4mOs", Gc = "Stepper-module__large___J18-y", Hc = "Stepper-module__small___Ub-zb", jc = "Stepper-module__stepIcon___YQHNq", qc = "Stepper-module__stepCompletedIcon___B9MeL", Kc = "Stepper-module__verticalSeparator___frWc1", Yc = "Stepper-module__content___J-h8X", de = {
|
|
3956
|
+
root: Ac,
|
|
3957
3957
|
horizontal: Wc,
|
|
3958
3958
|
steps: zc,
|
|
3959
3959
|
step: Dc,
|
|
3960
3960
|
stepBody: Ec,
|
|
3961
|
-
stepLabel:
|
|
3962
|
-
stepDescription:
|
|
3961
|
+
stepLabel: Bc,
|
|
3962
|
+
stepDescription: Fc,
|
|
3963
3963
|
separator: Uc,
|
|
3964
3964
|
vertical: Vc,
|
|
3965
3965
|
large: Gc,
|
|
@@ -3977,7 +3977,7 @@ const Ac = Te(ba), Mc = "Stepper-module__root___jbSYO", Wc = "Stepper-module__ho
|
|
|
3977
3977
|
className: l,
|
|
3978
3978
|
style: i,
|
|
3979
3979
|
...c
|
|
3980
|
-
} = e, d = u(c, o), m = d, p =
|
|
3980
|
+
} = e, d = u(c, o), m = d, p = B(
|
|
3981
3981
|
{
|
|
3982
3982
|
steps: de.steps,
|
|
3983
3983
|
step: de.step,
|
|
@@ -4065,12 +4065,12 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
|
|
|
4065
4065
|
emptyValueComponent: w,
|
|
4066
4066
|
value: h,
|
|
4067
4067
|
defaultValue: O,
|
|
4068
|
-
...
|
|
4068
|
+
...M
|
|
4069
4069
|
} = e, E = [
|
|
4070
4070
|
"size"
|
|
4071
4071
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
4072
4072
|
], W = G(
|
|
4073
|
-
u(
|
|
4073
|
+
u(M, o),
|
|
4074
4074
|
E
|
|
4075
4075
|
), L = W;
|
|
4076
4076
|
return /* @__PURE__ */ a(
|
|
@@ -4143,7 +4143,7 @@ const Pt = _(
|
|
|
4143
4143
|
], N = G(
|
|
4144
4144
|
u(C, o),
|
|
4145
4145
|
y
|
|
4146
|
-
), v = N, S =
|
|
4146
|
+
), v = N, S = B(
|
|
4147
4147
|
{
|
|
4148
4148
|
root: ye.root,
|
|
4149
4149
|
body: ye.body,
|
|
@@ -4178,7 +4178,7 @@ const Pt = _(
|
|
|
4178
4178
|
}
|
|
4179
4179
|
) : /* @__PURE__ */ a(No, { children: h });
|
|
4180
4180
|
}
|
|
4181
|
-
const g = /* @__PURE__ */
|
|
4181
|
+
const g = /* @__PURE__ */ A("div", { className: ye.thumbIconWrapper, children: [
|
|
4182
4182
|
/* @__PURE__ */ a(pr, { className: ye.checkIcon }),
|
|
4183
4183
|
/* @__PURE__ */ a(mr, { className: ye.closeIcon })
|
|
4184
4184
|
] }), P = /* @__PURE__ */ a(
|
|
@@ -4303,7 +4303,7 @@ wa.displayName = "TableTr";
|
|
|
4303
4303
|
const Sa = _(
|
|
4304
4304
|
function({ overStyled: e = !1, sorted: n = !1, disabled: o = !1, children: t, ...s }, l) {
|
|
4305
4305
|
const i = u(s, e);
|
|
4306
|
-
return /* @__PURE__ */
|
|
4306
|
+
return /* @__PURE__ */ A(
|
|
4307
4307
|
Ke.Th,
|
|
4308
4308
|
{
|
|
4309
4309
|
ref: l,
|
|
@@ -4380,7 +4380,7 @@ Ze.Td = xa;
|
|
|
4380
4380
|
Ze.Tfoot = Oa;
|
|
4381
4381
|
Ze.Caption = Ia;
|
|
4382
4382
|
Ze.ScrollContainer = ka;
|
|
4383
|
-
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c",
|
|
4383
|
+
const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "Tabs-module__tab___IdDYc", _d = "Tabs-module__panel___08i9c", Bo = {
|
|
4384
4384
|
root: ud,
|
|
4385
4385
|
list: pd,
|
|
4386
4386
|
tab: md,
|
|
@@ -4392,11 +4392,11 @@ const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "
|
|
|
4392
4392
|
overStyled: s = !1,
|
|
4393
4393
|
className: l,
|
|
4394
4394
|
...i
|
|
4395
|
-
} = e, c = u(i, s), d = c, m =
|
|
4395
|
+
} = e, c = u(i, s), d = c, m = B(
|
|
4396
4396
|
{
|
|
4397
|
-
list:
|
|
4398
|
-
tab:
|
|
4399
|
-
panel:
|
|
4397
|
+
list: Bo.list,
|
|
4398
|
+
tab: Bo.tab,
|
|
4399
|
+
panel: Bo.panel
|
|
4400
4400
|
},
|
|
4401
4401
|
d.classNames
|
|
4402
4402
|
);
|
|
@@ -4407,7 +4407,7 @@ const ud = "Tabs-module__root___-VKVI", pd = "Tabs-module__list___qRVME", md = "
|
|
|
4407
4407
|
...c,
|
|
4408
4408
|
variant: o,
|
|
4409
4409
|
orientation: t,
|
|
4410
|
-
className: `${
|
|
4410
|
+
className: `${Bo.root} ${l || ""}`,
|
|
4411
4411
|
"data-variant": o,
|
|
4412
4412
|
"data-orientation": t,
|
|
4413
4413
|
classNames: m
|
|
@@ -4428,7 +4428,7 @@ const La = _(
|
|
|
4428
4428
|
}
|
|
4429
4429
|
);
|
|
4430
4430
|
La.displayName = "Tabs.List";
|
|
4431
|
-
const
|
|
4431
|
+
const Ma = _(
|
|
4432
4432
|
function(e, n) {
|
|
4433
4433
|
const { overStyled: o = !1, ...t } = e;
|
|
4434
4434
|
return /* @__PURE__ */ a(
|
|
@@ -4440,8 +4440,8 @@ const Aa = _(
|
|
|
4440
4440
|
);
|
|
4441
4441
|
}
|
|
4442
4442
|
);
|
|
4443
|
-
|
|
4444
|
-
const
|
|
4443
|
+
Ma.displayName = "Tabs.Tab";
|
|
4444
|
+
const Aa = _(
|
|
4445
4445
|
function(e, n) {
|
|
4446
4446
|
const { overStyled: o = !1, ...t } = e;
|
|
4447
4447
|
return /* @__PURE__ */ a(
|
|
@@ -4453,13 +4453,15 @@ const Ma = _(
|
|
|
4453
4453
|
);
|
|
4454
4454
|
}
|
|
4455
4455
|
);
|
|
4456
|
-
|
|
4456
|
+
Aa.displayName = "Tabs.Panel";
|
|
4457
4457
|
const fd = Object.assign(Ra, {
|
|
4458
4458
|
List: La,
|
|
4459
|
-
Tab:
|
|
4460
|
-
Panel:
|
|
4461
|
-
}),
|
|
4462
|
-
|
|
4459
|
+
Tab: Ma,
|
|
4460
|
+
Panel: Aa
|
|
4461
|
+
}), yd = "Text-module__root___rsBo7", hd = {
|
|
4462
|
+
root: yd
|
|
4463
|
+
}, Wa = _(function({ overStyled: e = !1, variant: n = "body", ...o }, t) {
|
|
4464
|
+
const s = u(o, e), l = s.className, c = [`recursica_brand_typography_${n}`, hd.root, l].filter(Boolean).join(" ");
|
|
4463
4465
|
return /* @__PURE__ */ a(
|
|
4464
4466
|
_r,
|
|
4465
4467
|
{
|
|
@@ -4470,11 +4472,11 @@ const fd = Object.assign(Ra, {
|
|
|
4470
4472
|
);
|
|
4471
4473
|
});
|
|
4472
4474
|
Wa.displayName = "Text";
|
|
4473
|
-
const
|
|
4474
|
-
layoutOverride:
|
|
4475
|
-
root:
|
|
4476
|
-
input:
|
|
4477
|
-
},
|
|
4475
|
+
const vd = Te(Wa), Nd = "TextArea-module__layoutOverride___4MCdm", bd = "TextArea-module__root___3dyeu", Cd = "TextArea-module__input___8l36v", Fo = {
|
|
4476
|
+
layoutOverride: Nd,
|
|
4477
|
+
root: bd,
|
|
4478
|
+
input: Cd
|
|
4479
|
+
}, Pd = [
|
|
4478
4480
|
"size",
|
|
4479
4481
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4480
4482
|
"variant",
|
|
@@ -4508,17 +4510,17 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4508
4510
|
value: w,
|
|
4509
4511
|
defaultValue: h,
|
|
4510
4512
|
...O
|
|
4511
|
-
} = e,
|
|
4513
|
+
} = e, M = G(
|
|
4512
4514
|
u(O, o),
|
|
4513
|
-
|
|
4514
|
-
), E =
|
|
4515
|
+
Pd
|
|
4516
|
+
), E = M, W = B(
|
|
4515
4517
|
{
|
|
4516
|
-
wrapper:
|
|
4518
|
+
wrapper: Fo.root,
|
|
4517
4519
|
// The nested Input internal relative wrapper bounding box
|
|
4518
|
-
input:
|
|
4520
|
+
input: Fo.input
|
|
4519
4521
|
},
|
|
4520
4522
|
E.classNames
|
|
4521
|
-
), L = b ? `${
|
|
4523
|
+
), L = b ? `${Fo.layoutOverride} ${b}` : Fo.layoutOverride;
|
|
4522
4524
|
return /* @__PURE__ */ a(
|
|
4523
4525
|
ve,
|
|
4524
4526
|
{
|
|
@@ -4552,7 +4554,7 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4552
4554
|
fr,
|
|
4553
4555
|
{
|
|
4554
4556
|
ref: n,
|
|
4555
|
-
...
|
|
4557
|
+
...M,
|
|
4556
4558
|
classNames: W,
|
|
4557
4559
|
disabled: $,
|
|
4558
4560
|
value: w,
|
|
@@ -4570,12 +4572,12 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
|
|
|
4570
4572
|
}
|
|
4571
4573
|
);
|
|
4572
4574
|
za.displayName = "TextArea";
|
|
4573
|
-
const
|
|
4574
|
-
layoutOverride:
|
|
4575
|
-
root:
|
|
4576
|
-
input:
|
|
4577
|
-
section:
|
|
4578
|
-
},
|
|
4575
|
+
const gd = "TextField-module__layoutOverride___SNZqc", Td = "TextField-module__root___2ZYkG", $d = "TextField-module__input___RL-My", wd = "TextField-module__section___bCIJ0", ko = {
|
|
4576
|
+
layoutOverride: gd,
|
|
4577
|
+
root: Td,
|
|
4578
|
+
input: $d,
|
|
4579
|
+
section: wd
|
|
4580
|
+
}, Sd = [
|
|
4579
4581
|
"size",
|
|
4580
4582
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4581
4583
|
"variant",
|
|
@@ -4609,10 +4611,10 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4609
4611
|
value: w,
|
|
4610
4612
|
defaultValue: h,
|
|
4611
4613
|
...O
|
|
4612
|
-
} = e,
|
|
4614
|
+
} = e, M = G(
|
|
4613
4615
|
u(O, o),
|
|
4614
|
-
|
|
4615
|
-
), E =
|
|
4616
|
+
Sd
|
|
4617
|
+
), E = M, W = B(
|
|
4616
4618
|
{
|
|
4617
4619
|
wrapper: ko.root,
|
|
4618
4620
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -4651,10 +4653,10 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4651
4653
|
activeComponent: (
|
|
4652
4654
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
4653
4655
|
/* @__PURE__ */ a(
|
|
4654
|
-
|
|
4656
|
+
Ft,
|
|
4655
4657
|
{
|
|
4656
4658
|
ref: n,
|
|
4657
|
-
...
|
|
4659
|
+
...M,
|
|
4658
4660
|
classNames: W,
|
|
4659
4661
|
disabled: $,
|
|
4660
4662
|
value: w,
|
|
@@ -4671,7 +4673,7 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
|
|
|
4671
4673
|
}
|
|
4672
4674
|
);
|
|
4673
4675
|
gt.displayName = "TextField";
|
|
4674
|
-
const
|
|
4676
|
+
const xd = [
|
|
4675
4677
|
"size",
|
|
4676
4678
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4677
4679
|
"variant",
|
|
@@ -4681,8 +4683,8 @@ const wd = [
|
|
|
4681
4683
|
], Da = _(function(e, n) {
|
|
4682
4684
|
const { overStyled: o = !1, className: t, disabled: s, error: l, ...i } = e, c = G(
|
|
4683
4685
|
u(i, o),
|
|
4684
|
-
|
|
4685
|
-
), d = c, m =
|
|
4686
|
+
xd
|
|
4687
|
+
), d = c, m = B(
|
|
4686
4688
|
{
|
|
4687
4689
|
wrapper: t ? `${te.root} ${t}` : te.root,
|
|
4688
4690
|
input: te.input,
|
|
@@ -4712,15 +4714,15 @@ const wd = [
|
|
|
4712
4714
|
);
|
|
4713
4715
|
});
|
|
4714
4716
|
Da.displayName = "BareDropdown";
|
|
4715
|
-
const
|
|
4716
|
-
layoutOverride:
|
|
4717
|
-
root:
|
|
4718
|
-
timeWrapper:
|
|
4719
|
-
timeInput:
|
|
4720
|
-
fieldsGroup:
|
|
4721
|
-
timeField:
|
|
4722
|
-
amPmSelect:
|
|
4723
|
-
},
|
|
4717
|
+
const Od = "TimePicker-module__layoutOverride___zKo4Q", Id = "TimePicker-module__root___BcvRu", kd = "TimePicker-module__timeWrapper___hJVre", Rd = "TimePicker-module__timeInput___FQysn", Ld = "TimePicker-module__fieldsGroup___2yHhR", Md = "TimePicker-module__timeField___twRZd", Ad = "TimePicker-module__amPmSelect___mSdvt", ro = {
|
|
4718
|
+
layoutOverride: Od,
|
|
4719
|
+
root: Id,
|
|
4720
|
+
timeWrapper: kd,
|
|
4721
|
+
timeInput: Rd,
|
|
4722
|
+
fieldsGroup: Ld,
|
|
4723
|
+
timeField: Md,
|
|
4724
|
+
amPmSelect: Ad
|
|
4725
|
+
}, Wd = [
|
|
4724
4726
|
{ value: "AM", label: "AM" },
|
|
4725
4727
|
{ value: "PM", label: "PM" }
|
|
4726
4728
|
];
|
|
@@ -4729,17 +4731,17 @@ function Wt(r) {
|
|
|
4729
4731
|
const e = parseInt(r.slice(0, 2), 10);
|
|
4730
4732
|
return Number.isNaN(e) ? void 0 : e;
|
|
4731
4733
|
}
|
|
4732
|
-
function
|
|
4734
|
+
function zd(r, e) {
|
|
4733
4735
|
return `${String(e).padStart(2, "0")}${r.slice(2)}`;
|
|
4734
4736
|
}
|
|
4735
|
-
function
|
|
4737
|
+
function Dd(r) {
|
|
4736
4738
|
if (!r) return;
|
|
4737
4739
|
const [e, n, o] = r.split(":"), t = parseInt(e, 10);
|
|
4738
4740
|
if (Number.isNaN(t) || n === void 0) return r;
|
|
4739
4741
|
const s = t >= 12, l = t % 12 === 0 ? 12 : t % 12, i = o !== void 0 ? `${n}:${o}` : n;
|
|
4740
4742
|
return `${l}:${i} ${s ? "PM" : "AM"}`;
|
|
4741
4743
|
}
|
|
4742
|
-
function
|
|
4744
|
+
function Ed(r, e) {
|
|
4743
4745
|
var o;
|
|
4744
4746
|
const n = (o = Object.getOwnPropertyDescriptor(
|
|
4745
4747
|
window.HTMLSelectElement.prototype,
|
|
@@ -4747,7 +4749,7 @@ function zd(r, e) {
|
|
|
4747
4749
|
)) == null ? void 0 : o.set;
|
|
4748
4750
|
n == null || n.call(r, e), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
4749
4751
|
}
|
|
4750
|
-
const
|
|
4752
|
+
const Bd = [
|
|
4751
4753
|
"size",
|
|
4752
4754
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4753
4755
|
"variant",
|
|
@@ -4781,13 +4783,13 @@ const Dd = [
|
|
|
4781
4783
|
value: w,
|
|
4782
4784
|
defaultValue: h,
|
|
4783
4785
|
onChange: O,
|
|
4784
|
-
withSeconds:
|
|
4786
|
+
withSeconds: M,
|
|
4785
4787
|
minTime: E,
|
|
4786
4788
|
maxTime: W,
|
|
4787
4789
|
...L
|
|
4788
4790
|
} = e, Z = G(
|
|
4789
4791
|
u(L, o),
|
|
4790
|
-
|
|
4792
|
+
Bd
|
|
4791
4793
|
), j = Z, [q, X] = ce(
|
|
4792
4794
|
() => w ?? h
|
|
4793
4795
|
);
|
|
@@ -4796,7 +4798,7 @@ const Dd = [
|
|
|
4796
4798
|
}, [w]);
|
|
4797
4799
|
const H = Ve(null);
|
|
4798
4800
|
ke(() => {
|
|
4799
|
-
Wt(w ?? h) === void 0 && H.current &&
|
|
4801
|
+
Wt(w ?? h) === void 0 && H.current && Ed(H.current, "AM");
|
|
4800
4802
|
}, []);
|
|
4801
4803
|
const Y = (I) => {
|
|
4802
4804
|
X(I), O == null || O(I);
|
|
@@ -4807,7 +4809,7 @@ const Dd = [
|
|
|
4807
4809
|
const le = I === "PM";
|
|
4808
4810
|
if (le === ue) return;
|
|
4809
4811
|
const Ne = le ? ee + 12 : ee - 12;
|
|
4810
|
-
Y(
|
|
4812
|
+
Y(zd(q, Ne));
|
|
4811
4813
|
}, pe = b ? `${ro.layoutOverride} ${b}` : ro.layoutOverride;
|
|
4812
4814
|
return /* @__PURE__ */ a(
|
|
4813
4815
|
ve,
|
|
@@ -4834,7 +4836,7 @@ const Dd = [
|
|
|
4834
4836
|
readOnlyComponent: P,
|
|
4835
4837
|
emptyValueComponent: f,
|
|
4836
4838
|
readOnlyType: "text",
|
|
4837
|
-
readOnlyValue:
|
|
4839
|
+
readOnlyValue: Dd(
|
|
4838
4840
|
w !== void 0 ? w : h
|
|
4839
4841
|
),
|
|
4840
4842
|
readOnlyNativeProps: e,
|
|
@@ -4844,7 +4846,7 @@ const Dd = [
|
|
|
4844
4846
|
choice (see TIMEPICKER_IMPLEMENTATION_NOTES.md). Mantine's own native AM/PM <select>
|
|
4845
4847
|
(bundled unconditionally with format="12h") is CSS-hidden; our own BareDropdown next to
|
|
4846
4848
|
it is the only AM/PM control the user interacts with. */
|
|
4847
|
-
/* @__PURE__ */
|
|
4849
|
+
/* @__PURE__ */ A(
|
|
4848
4850
|
"div",
|
|
4849
4851
|
{
|
|
4850
4852
|
className: ro.root,
|
|
@@ -4856,7 +4858,7 @@ const Dd = [
|
|
|
4856
4858
|
{
|
|
4857
4859
|
ref: n,
|
|
4858
4860
|
...Z,
|
|
4859
|
-
classNames:
|
|
4861
|
+
classNames: B(
|
|
4860
4862
|
{
|
|
4861
4863
|
wrapper: ro.timeWrapper,
|
|
4862
4864
|
input: ro.timeInput,
|
|
@@ -4869,7 +4871,7 @@ const Dd = [
|
|
|
4869
4871
|
value: q,
|
|
4870
4872
|
onChange: D,
|
|
4871
4873
|
format: "12h",
|
|
4872
|
-
withSeconds:
|
|
4874
|
+
withSeconds: M,
|
|
4873
4875
|
min: E,
|
|
4874
4876
|
max: W,
|
|
4875
4877
|
withDropdown: !1,
|
|
@@ -4882,7 +4884,7 @@ const Dd = [
|
|
|
4882
4884
|
overStyled: !0,
|
|
4883
4885
|
className: ro.amPmSelect,
|
|
4884
4886
|
styles: { wrapper: { width: "fit-content" } },
|
|
4885
|
-
data:
|
|
4887
|
+
data: Wd,
|
|
4886
4888
|
value: ue ? "PM" : "AM",
|
|
4887
4889
|
onChange: re,
|
|
4888
4890
|
disabled: $,
|
|
@@ -4899,15 +4901,15 @@ const Dd = [
|
|
|
4899
4901
|
}
|
|
4900
4902
|
);
|
|
4901
4903
|
Ea.displayName = "TimePicker";
|
|
4902
|
-
const
|
|
4903
|
-
root:
|
|
4904
|
-
item:
|
|
4905
|
-
itemBody:
|
|
4906
|
-
itemBullet:
|
|
4907
|
-
itemTitle:
|
|
4908
|
-
itemContent:
|
|
4909
|
-
description:
|
|
4910
|
-
timestamp:
|
|
4904
|
+
const Fd = "Timeline-module__root___LwRdZ", Ud = "Timeline-module__item___T5xdQ", Vd = "Timeline-module__itemBody___XAV-E", Gd = "Timeline-module__itemBullet___rPXCy", Hd = "Timeline-module__itemTitle___GgRRW", jd = "Timeline-module__itemContent___vurs-", qd = "Timeline-module__description___f9sxV", Kd = "Timeline-module__timestamp___owiRu", so = {
|
|
4905
|
+
root: Fd,
|
|
4906
|
+
item: Ud,
|
|
4907
|
+
itemBody: Vd,
|
|
4908
|
+
itemBullet: Gd,
|
|
4909
|
+
itemTitle: Hd,
|
|
4910
|
+
itemContent: jd,
|
|
4911
|
+
description: qd,
|
|
4912
|
+
timestamp: Kd
|
|
4911
4913
|
}, Tt = K.forwardRef(
|
|
4912
4914
|
function({
|
|
4913
4915
|
overStyled: e = !1,
|
|
@@ -4916,7 +4918,7 @@ const Ed = "Timeline-module__root___LwRdZ", Fd = "Timeline-module__item___T5xdQ"
|
|
|
4916
4918
|
children: t,
|
|
4917
4919
|
...s
|
|
4918
4920
|
}, l) {
|
|
4919
|
-
const i = u(s, e), c = i, d =
|
|
4921
|
+
const i = u(s, e), c = i, d = B(
|
|
4920
4922
|
{
|
|
4921
4923
|
item: so.item,
|
|
4922
4924
|
itemBody: so.itemBody,
|
|
@@ -4925,7 +4927,7 @@ const Ed = "Timeline-module__root___LwRdZ", Fd = "Timeline-module__item___T5xdQ"
|
|
|
4925
4927
|
itemTitle: so.itemTitle
|
|
4926
4928
|
},
|
|
4927
4929
|
c.classNames
|
|
4928
|
-
), m = n ? /* @__PURE__ */
|
|
4930
|
+
), m = n ? /* @__PURE__ */ A(No, { children: [
|
|
4929
4931
|
t && /* @__PURE__ */ a("div", { className: so.description, children: t }),
|
|
4930
4932
|
/* @__PURE__ */ a("div", { className: so.timestamp, children: n })
|
|
4931
4933
|
] }) : t;
|
|
@@ -4942,9 +4944,9 @@ const Ed = "Timeline-module__root___LwRdZ", Fd = "Timeline-module__item___T5xdQ"
|
|
|
4942
4944
|
}
|
|
4943
4945
|
);
|
|
4944
4946
|
Tt.displayName = "TimelineItem";
|
|
4945
|
-
const
|
|
4947
|
+
const Ba = K.forwardRef(
|
|
4946
4948
|
function({ overStyled: e = !1, ...n }, o) {
|
|
4947
|
-
const t = u(n, e), s = t, l =
|
|
4949
|
+
const t = u(n, e), s = t, l = B(
|
|
4948
4950
|
{ root: so.root },
|
|
4949
4951
|
s.classNames
|
|
4950
4952
|
);
|
|
@@ -4958,17 +4960,19 @@ const Fa = K.forwardRef(
|
|
|
4958
4960
|
);
|
|
4959
4961
|
}
|
|
4960
4962
|
);
|
|
4961
|
-
|
|
4962
|
-
const
|
|
4963
|
-
|
|
4964
|
-
const
|
|
4963
|
+
Ba.displayName = "Timeline";
|
|
4964
|
+
const Fa = Ba;
|
|
4965
|
+
Fa.Item = Tt;
|
|
4966
|
+
const Yd = "Title-module__root___j7rx7", Zd = {
|
|
4967
|
+
root: Yd
|
|
4968
|
+
}, Ua = _(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
4965
4969
|
const s = [
|
|
4966
4970
|
"size"
|
|
4967
4971
|
// Recursica controls Title sizing via the `order` prop + typography tokens, not Mantine's native `size`.
|
|
4968
4972
|
], l = G(
|
|
4969
4973
|
u(o, e),
|
|
4970
4974
|
s
|
|
4971
|
-
), i = l.className,
|
|
4975
|
+
), i = l.className, d = [`recursica_brand_typography_h${n}`, Zd.root, i].filter(Boolean).join(" ");
|
|
4972
4976
|
return /* @__PURE__ */ a(
|
|
4973
4977
|
vr,
|
|
4974
4978
|
{
|
|
@@ -4980,14 +4984,14 @@ const Ua = _(function({ overStyled: e = !1, order: n = 1, ...o }, t) {
|
|
|
4980
4984
|
);
|
|
4981
4985
|
});
|
|
4982
4986
|
Ua.displayName = "Title";
|
|
4983
|
-
const
|
|
4984
|
-
root:
|
|
4985
|
-
icon:
|
|
4986
|
-
loader:
|
|
4987
|
-
title:
|
|
4988
|
-
description:
|
|
4989
|
-
closeButton:
|
|
4990
|
-
body:
|
|
4987
|
+
const Qd = "Toast-module__root___MUvfI", Xd = "Toast-module__icon___VwvE1", Jd = "Toast-module__loader___8Gxd-", eu = "Toast-module__title___-H6R2", ou = "Toast-module__description___-QwfC", tu = "Toast-module__closeButton___vGr7g", nu = "Toast-module__body___VLkXA", ho = {
|
|
4988
|
+
root: Qd,
|
|
4989
|
+
icon: Xd,
|
|
4990
|
+
loader: Jd,
|
|
4991
|
+
title: eu,
|
|
4992
|
+
description: ou,
|
|
4993
|
+
closeButton: tu,
|
|
4994
|
+
body: nu
|
|
4991
4995
|
}, Va = K.forwardRef(
|
|
4992
4996
|
function({
|
|
4993
4997
|
overStyled: e = !1,
|
|
@@ -5005,7 +5009,7 @@ const qd = "Toast-module__root___MUvfI", Kd = "Toast-module__icon___VwvE1", Yd =
|
|
|
5005
5009
|
], i = G(
|
|
5006
5010
|
u(t, e),
|
|
5007
5011
|
l
|
|
5008
|
-
), c =
|
|
5012
|
+
), c = B(
|
|
5009
5013
|
{
|
|
5010
5014
|
root: ho.root,
|
|
5011
5015
|
body: ho.body,
|
|
@@ -5032,9 +5036,9 @@ const qd = "Toast-module__root___MUvfI", Kd = "Toast-module__icon___VwvE1", Yd =
|
|
|
5032
5036
|
}
|
|
5033
5037
|
);
|
|
5034
5038
|
Va.displayName = "Toast";
|
|
5035
|
-
const
|
|
5036
|
-
tooltip:
|
|
5037
|
-
arrow:
|
|
5039
|
+
const au = "Tooltip-module__tooltip___UA7H9", ru = "Tooltip-module__arrow___4zROk", zt = {
|
|
5040
|
+
tooltip: au,
|
|
5041
|
+
arrow: ru
|
|
5038
5042
|
}, Ga = function({
|
|
5039
5043
|
overStyled: e = !1,
|
|
5040
5044
|
withBeak: n = !0,
|
|
@@ -5046,7 +5050,7 @@ const eu = "Tooltip-module__tooltip___UA7H9", ou = "Tooltip-module__arrow___4zRO
|
|
|
5046
5050
|
arrowSize: t = 16,
|
|
5047
5051
|
...s
|
|
5048
5052
|
}) {
|
|
5049
|
-
const l = u(s, e), i = l, c =
|
|
5053
|
+
const l = u(s, e), i = l, c = B(
|
|
5050
5054
|
{
|
|
5051
5055
|
tooltip: zt.tooltip,
|
|
5052
5056
|
arrow: zt.arrow
|
|
@@ -5082,17 +5086,17 @@ Ha.displayName = "TooltipFloating";
|
|
|
5082
5086
|
const $t = Ga;
|
|
5083
5087
|
$t.Floating = Ha;
|
|
5084
5088
|
$t.Group = ct.Group;
|
|
5085
|
-
const
|
|
5086
|
-
layoutOverride:
|
|
5087
|
-
root:
|
|
5088
|
-
panes:
|
|
5089
|
-
pane:
|
|
5090
|
-
paneHeader:
|
|
5091
|
-
paneSearch:
|
|
5092
|
-
paneList:
|
|
5093
|
-
emptyState:
|
|
5094
|
-
transferColumn:
|
|
5095
|
-
chevron:
|
|
5089
|
+
const su = "TransferList-module__layoutOverride___nkb32", lu = "TransferList-module__root___ikjI7", iu = "TransferList-module__panes___dtwkW", cu = "TransferList-module__pane___hy-kC", du = "TransferList-module__paneHeader___HZrKX", uu = "TransferList-module__paneSearch___Xji-g", pu = "TransferList-module__paneList___v0rcJ", mu = "TransferList-module__emptyState___azPw-", _u = "TransferList-module__transferColumn___3R2Ki", fu = "TransferList-module__chevron___l-KdI", ge = {
|
|
5090
|
+
layoutOverride: su,
|
|
5091
|
+
root: lu,
|
|
5092
|
+
panes: iu,
|
|
5093
|
+
pane: cu,
|
|
5094
|
+
paneHeader: du,
|
|
5095
|
+
paneSearch: uu,
|
|
5096
|
+
paneList: pu,
|
|
5097
|
+
emptyState: mu,
|
|
5098
|
+
transferColumn: _u,
|
|
5099
|
+
chevron: fu
|
|
5096
5100
|
};
|
|
5097
5101
|
function Dt({ direction: r }) {
|
|
5098
5102
|
return /* @__PURE__ */ a(
|
|
@@ -5132,7 +5136,7 @@ function Et({ direction: r }) {
|
|
|
5132
5136
|
}
|
|
5133
5137
|
);
|
|
5134
5138
|
}
|
|
5135
|
-
function
|
|
5139
|
+
function yu(r) {
|
|
5136
5140
|
const e = {}, n = [];
|
|
5137
5141
|
return r.forEach((o) => {
|
|
5138
5142
|
var t;
|
|
@@ -5166,14 +5170,14 @@ const ja = _(
|
|
|
5166
5170
|
defaultData: w,
|
|
5167
5171
|
onChange: h,
|
|
5168
5172
|
sourceLabel: O = "Available",
|
|
5169
|
-
targetLabel:
|
|
5173
|
+
targetLabel: M = "Selected",
|
|
5170
5174
|
searchable: E = !0,
|
|
5171
5175
|
searchPlaceholder: W = "Filter items...",
|
|
5172
5176
|
disabled: L = !1,
|
|
5173
5177
|
className: Z,
|
|
5174
5178
|
style: j,
|
|
5175
5179
|
...q
|
|
5176
|
-
} = e, X = u(q, o), H =
|
|
5180
|
+
} = e, X = u(q, o), H = Bt(), Y = T || `recursica-transfer-list-${H}`, [ee, ue] = ce(
|
|
5177
5181
|
() => w ?? f ?? [[], []]
|
|
5178
5182
|
), D = f !== void 0 ? f : ee, re = _o(
|
|
5179
5183
|
(V) => {
|
|
@@ -5188,49 +5192,49 @@ const ja = _(
|
|
|
5188
5192
|
if (!pe) return D[0];
|
|
5189
5193
|
const V = pe.toLowerCase();
|
|
5190
5194
|
return D[0].filter(
|
|
5191
|
-
(
|
|
5195
|
+
(F) => F.label.toLowerCase().includes(V)
|
|
5192
5196
|
);
|
|
5193
5197
|
}, [D, pe]), we = It(() => {
|
|
5194
5198
|
if (!le) return D[1];
|
|
5195
5199
|
const V = le.toLowerCase();
|
|
5196
5200
|
return D[1].filter(
|
|
5197
|
-
(
|
|
5201
|
+
(F) => F.label.toLowerCase().includes(V)
|
|
5198
5202
|
);
|
|
5199
5203
|
}, [D, le]), Xe = _o(() => {
|
|
5200
5204
|
if (se.size === 0) return;
|
|
5201
5205
|
const V = D[0].filter(
|
|
5202
5206
|
(z) => !se.has(z.value)
|
|
5203
|
-
),
|
|
5207
|
+
), F = D[0].filter(
|
|
5204
5208
|
(z) => se.has(z.value)
|
|
5205
5209
|
);
|
|
5206
|
-
ie(/* @__PURE__ */ new Set()), re([V, [...D[1], ...
|
|
5210
|
+
ie(/* @__PURE__ */ new Set()), re([V, [...D[1], ...F]]);
|
|
5207
5211
|
}, [D, se, re]), Ee = _o(() => {
|
|
5208
5212
|
if (be.size === 0) return;
|
|
5209
5213
|
const V = D[1].filter(
|
|
5210
5214
|
(z) => !be.has(z.value)
|
|
5211
|
-
),
|
|
5215
|
+
), F = D[1].filter(
|
|
5212
5216
|
(z) => be.has(z.value)
|
|
5213
5217
|
);
|
|
5214
|
-
$e(/* @__PURE__ */ new Set()), re([[...D[0], ...
|
|
5215
|
-
}, [D, be, re]),
|
|
5218
|
+
$e(/* @__PURE__ */ new Set()), re([[...D[0], ...F], V]);
|
|
5219
|
+
}, [D, be, re]), Be = _o(() => {
|
|
5216
5220
|
D[0].length !== 0 && (ie(/* @__PURE__ */ new Set()), re([[], [...D[1], ...D[0]]]));
|
|
5217
5221
|
}, [D, re]), po = _o(() => {
|
|
5218
5222
|
D[1].length !== 0 && ($e(/* @__PURE__ */ new Set()), re([[...D[0], ...D[1]], []]));
|
|
5219
5223
|
}, [D, re]), Se = _o((V) => {
|
|
5220
|
-
ie((
|
|
5221
|
-
const z = new Set(
|
|
5224
|
+
ie((F) => {
|
|
5225
|
+
const z = new Set(F);
|
|
5222
5226
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5223
5227
|
});
|
|
5224
5228
|
}, []), Je = _o((V) => {
|
|
5225
|
-
$e((
|
|
5226
|
-
const z = new Set(
|
|
5229
|
+
$e((F) => {
|
|
5230
|
+
const z = new Set(F);
|
|
5227
5231
|
return z.has(V) ? z.delete(V) : z.add(V), z;
|
|
5228
5232
|
});
|
|
5229
|
-
}, []), xe = (V,
|
|
5230
|
-
const { groups: mo, ungrouped: x } =
|
|
5231
|
-
return /* @__PURE__ */
|
|
5232
|
-
/* @__PURE__ */
|
|
5233
|
-
/* @__PURE__ */ a("span", { children:
|
|
5233
|
+
}, []), xe = (V, F, z, k, U, Q, _e, oo) => {
|
|
5234
|
+
const { groups: mo, ungrouped: x } = yu(z), ne = Object.keys(mo).sort(), ae = U.size > 0 ? `${U.size} / ${k.length}` : `${k.length}`;
|
|
5235
|
+
return /* @__PURE__ */ A("div", { className: ge.pane, "data-pane": V, children: [
|
|
5236
|
+
/* @__PURE__ */ A("div", { className: ge.paneHeader, children: [
|
|
5237
|
+
/* @__PURE__ */ a("span", { children: F }),
|
|
5234
5238
|
/* @__PURE__ */ a(an, { children: ae })
|
|
5235
5239
|
] }),
|
|
5236
5240
|
E && /* @__PURE__ */ a("div", { className: ge.paneSearch, children: /* @__PURE__ */ a(
|
|
@@ -5240,10 +5244,10 @@ const ja = _(
|
|
|
5240
5244
|
onChange: (J) => oo(J.currentTarget.value),
|
|
5241
5245
|
placeholder: W,
|
|
5242
5246
|
disabled: L,
|
|
5243
|
-
"aria-label": `Filter ${
|
|
5247
|
+
"aria-label": `Filter ${F.toLowerCase()}`
|
|
5244
5248
|
}
|
|
5245
5249
|
) }),
|
|
5246
|
-
/* @__PURE__ */
|
|
5250
|
+
/* @__PURE__ */ A("div", { className: ge.paneList, children: [
|
|
5247
5251
|
z.length === 0 && /* @__PURE__ */ a("div", { className: ge.emptyState, children: "No items" }),
|
|
5248
5252
|
x.length > 0 && /* @__PURE__ */ a(Ro, { children: x.map((J) => /* @__PURE__ */ a(
|
|
5249
5253
|
Lo,
|
|
@@ -5313,7 +5317,7 @@ const ja = _(
|
|
|
5313
5317
|
className: ge.root,
|
|
5314
5318
|
"data-disabled": L ? "true" : void 0,
|
|
5315
5319
|
"data-error": S ? "true" : void 0,
|
|
5316
|
-
children: /* @__PURE__ */
|
|
5320
|
+
children: /* @__PURE__ */ A("div", { className: ge.panes, children: [
|
|
5317
5321
|
xe(
|
|
5318
5322
|
"source",
|
|
5319
5323
|
O,
|
|
@@ -5324,16 +5328,16 @@ const ja = _(
|
|
|
5324
5328
|
pe,
|
|
5325
5329
|
I
|
|
5326
5330
|
),
|
|
5327
|
-
/* @__PURE__ */
|
|
5331
|
+
/* @__PURE__ */ A("div", { className: ge.transferColumn, children: [
|
|
5328
5332
|
/* @__PURE__ */ a(
|
|
5329
5333
|
co,
|
|
5330
5334
|
{
|
|
5331
5335
|
variant: "outline",
|
|
5332
5336
|
size: "small",
|
|
5333
5337
|
icon: /* @__PURE__ */ a(Et, { direction: "right" }),
|
|
5334
|
-
"aria-label": `Move all to ${
|
|
5338
|
+
"aria-label": `Move all to ${M}`,
|
|
5335
5339
|
disabled: L || D[0].length === 0,
|
|
5336
|
-
onClick:
|
|
5340
|
+
onClick: Be
|
|
5337
5341
|
}
|
|
5338
5342
|
),
|
|
5339
5343
|
/* @__PURE__ */ a(
|
|
@@ -5342,7 +5346,7 @@ const ja = _(
|
|
|
5342
5346
|
variant: "outline",
|
|
5343
5347
|
size: "small",
|
|
5344
5348
|
icon: /* @__PURE__ */ a(Dt, { direction: "right" }),
|
|
5345
|
-
"aria-label": `Move selected to ${
|
|
5349
|
+
"aria-label": `Move selected to ${M}`,
|
|
5346
5350
|
disabled: L || se.size === 0,
|
|
5347
5351
|
onClick: Xe
|
|
5348
5352
|
}
|
|
@@ -5372,7 +5376,7 @@ const ja = _(
|
|
|
5372
5376
|
] }),
|
|
5373
5377
|
xe(
|
|
5374
5378
|
"target",
|
|
5375
|
-
|
|
5379
|
+
M,
|
|
5376
5380
|
we,
|
|
5377
5381
|
D[1],
|
|
5378
5382
|
be,
|
|
@@ -5388,16 +5392,16 @@ const ja = _(
|
|
|
5388
5392
|
}
|
|
5389
5393
|
);
|
|
5390
5394
|
ja.displayName = "TransferList";
|
|
5391
|
-
const
|
|
5392
|
-
root:
|
|
5393
|
-
subtree:
|
|
5394
|
-
node:
|
|
5395
|
-
row:
|
|
5396
|
-
label:
|
|
5397
|
-
expandButton:
|
|
5398
|
-
expandGlyph:
|
|
5395
|
+
const hu = "Tree-module__root___ANcH3", vu = "Tree-module__subtree___KoLT8", Nu = "Tree-module__node___Hvnjg", bu = "Tree-module__row___sq5ff", Cu = "Tree-module__label___zJDit", Pu = "Tree-module__expandButton___W0WTT", gu = "Tree-module__expandGlyph___w8dDQ", uo = {
|
|
5396
|
+
root: hu,
|
|
5397
|
+
subtree: vu,
|
|
5398
|
+
node: Nu,
|
|
5399
|
+
row: bu,
|
|
5400
|
+
label: Cu,
|
|
5401
|
+
expandButton: Pu,
|
|
5402
|
+
expandGlyph: gu
|
|
5399
5403
|
};
|
|
5400
|
-
function
|
|
5404
|
+
function Tu() {
|
|
5401
5405
|
return /* @__PURE__ */ a(
|
|
5402
5406
|
"svg",
|
|
5403
5407
|
{
|
|
@@ -5415,7 +5419,7 @@ function bu() {
|
|
|
5415
5419
|
}
|
|
5416
5420
|
);
|
|
5417
5421
|
}
|
|
5418
|
-
function
|
|
5422
|
+
function $u(r) {
|
|
5419
5423
|
return function({
|
|
5420
5424
|
node: n,
|
|
5421
5425
|
hasChildren: o,
|
|
@@ -5424,7 +5428,7 @@ function Cu(r) {
|
|
|
5424
5428
|
tree: l,
|
|
5425
5429
|
elementProps: i
|
|
5426
5430
|
}) {
|
|
5427
|
-
return /* @__PURE__ */
|
|
5431
|
+
return /* @__PURE__ */ A(
|
|
5428
5432
|
"div",
|
|
5429
5433
|
{
|
|
5430
5434
|
...i,
|
|
@@ -5438,7 +5442,7 @@ function Cu(r) {
|
|
|
5438
5442
|
overStyled: !0,
|
|
5439
5443
|
variant: "text",
|
|
5440
5444
|
size: "small",
|
|
5441
|
-
icon: /* @__PURE__ */ a(
|
|
5445
|
+
icon: /* @__PURE__ */ a(Tu, {}),
|
|
5442
5446
|
"aria-label": "Toggle subtree",
|
|
5443
5447
|
"aria-hidden": "true",
|
|
5444
5448
|
tabIndex: -1,
|
|
@@ -5508,9 +5512,9 @@ const qa = _(function({
|
|
|
5508
5512
|
expandOnClick: !1,
|
|
5509
5513
|
selectOnClick: !l,
|
|
5510
5514
|
expandOnSpace: !1,
|
|
5511
|
-
renderNode:
|
|
5515
|
+
renderNode: $u(l),
|
|
5512
5516
|
"data-disabled": l || void 0,
|
|
5513
|
-
classNames:
|
|
5517
|
+
classNames: B(
|
|
5514
5518
|
{ root: T, node: uo.node, subtree: uo.subtree },
|
|
5515
5519
|
S.classNames
|
|
5516
5520
|
)
|
|
@@ -5518,173 +5522,173 @@ const qa = _(function({
|
|
|
5518
5522
|
);
|
|
5519
5523
|
});
|
|
5520
5524
|
qa.displayName = "Tree";
|
|
5521
|
-
const
|
|
5525
|
+
const Wu = Ql, zu = Tn, Du = gn, Eu = $n, Bu = Mc, Fu = fn, Uu = li, Vu = vd, Gu = R(
|
|
5522
5526
|
Xo
|
|
5523
|
-
),
|
|
5527
|
+
), Hu = R(
|
|
5524
5528
|
dt
|
|
5525
|
-
),
|
|
5529
|
+
), ju = R(
|
|
5526
5530
|
Zo
|
|
5527
|
-
),
|
|
5531
|
+
), qu = R(
|
|
5528
5532
|
Qo
|
|
5529
|
-
),
|
|
5533
|
+
), Ku = R(
|
|
5530
5534
|
Ho
|
|
5531
|
-
),
|
|
5535
|
+
), Yu = R(
|
|
5532
5536
|
on
|
|
5533
|
-
),
|
|
5537
|
+
), Zu = R(
|
|
5534
5538
|
$s
|
|
5535
|
-
),
|
|
5539
|
+
), Qu = R(
|
|
5536
5540
|
an
|
|
5537
|
-
),
|
|
5541
|
+
), Xu = R(
|
|
5538
5542
|
rn
|
|
5539
|
-
),
|
|
5543
|
+
), Ju = R(
|
|
5540
5544
|
co
|
|
5541
|
-
),
|
|
5545
|
+
), ep = R(
|
|
5542
5546
|
Vs
|
|
5543
|
-
),
|
|
5547
|
+
), op = R(
|
|
5544
5548
|
Lo
|
|
5545
|
-
),
|
|
5549
|
+
), tp = R(
|
|
5546
5550
|
Ro
|
|
5547
|
-
),
|
|
5548
|
-
|
|
5549
|
-
),
|
|
5551
|
+
), np = R(
|
|
5552
|
+
Mo
|
|
5553
|
+
), ap = R(
|
|
5550
5554
|
yn
|
|
5551
|
-
),
|
|
5555
|
+
), rp = R(
|
|
5552
5556
|
hn
|
|
5553
|
-
),
|
|
5557
|
+
), sp = R(
|
|
5554
5558
|
vn
|
|
5555
|
-
),
|
|
5559
|
+
), lp = R(
|
|
5556
5560
|
Nn
|
|
5557
|
-
),
|
|
5561
|
+
), ip = R(
|
|
5558
5562
|
Ge
|
|
5559
|
-
),
|
|
5563
|
+
), cp = R(
|
|
5560
5564
|
_t
|
|
5561
|
-
),
|
|
5565
|
+
), dp = R(
|
|
5562
5566
|
mt
|
|
5563
|
-
),
|
|
5567
|
+
), up = R(
|
|
5564
5568
|
ut
|
|
5565
|
-
),
|
|
5569
|
+
), pp = R(
|
|
5566
5570
|
bo
|
|
5567
|
-
),
|
|
5571
|
+
), mp = R(
|
|
5568
5572
|
Ye
|
|
5569
|
-
),
|
|
5573
|
+
), _p = R(
|
|
5570
5574
|
qn
|
|
5571
|
-
),
|
|
5575
|
+
), fp = R(
|
|
5572
5576
|
ze
|
|
5573
|
-
),
|
|
5577
|
+
), yp = R(
|
|
5574
5578
|
De
|
|
5575
|
-
),
|
|
5579
|
+
), hp = R(
|
|
5576
5580
|
ht
|
|
5577
|
-
),
|
|
5581
|
+
), vp = R(
|
|
5578
5582
|
vt
|
|
5579
|
-
),
|
|
5583
|
+
), Np = R(
|
|
5580
5584
|
bt
|
|
5581
|
-
),
|
|
5585
|
+
), bp = R(
|
|
5582
5586
|
Nt
|
|
5583
|
-
),
|
|
5587
|
+
), Cp = R(
|
|
5584
5588
|
pt
|
|
5585
|
-
),
|
|
5589
|
+
), Pp = R(
|
|
5586
5590
|
fc
|
|
5587
|
-
),
|
|
5591
|
+
), gp = R(
|
|
5588
5592
|
Na
|
|
5589
|
-
),
|
|
5593
|
+
), Tp = R(
|
|
5590
5594
|
Zc
|
|
5591
|
-
),
|
|
5595
|
+
), $p = R(
|
|
5592
5596
|
Pt
|
|
5593
|
-
),
|
|
5597
|
+
), wp = R(
|
|
5594
5598
|
Ct
|
|
5595
|
-
),
|
|
5599
|
+
), Sp = R(
|
|
5596
5600
|
Ze
|
|
5597
|
-
),
|
|
5601
|
+
), xp = R(
|
|
5598
5602
|
fd
|
|
5599
|
-
),
|
|
5603
|
+
), Op = R(
|
|
5600
5604
|
za
|
|
5601
|
-
),
|
|
5605
|
+
), Ip = R(
|
|
5602
5606
|
gt
|
|
5603
|
-
),
|
|
5607
|
+
), kp = R(
|
|
5604
5608
|
Ea
|
|
5605
|
-
),
|
|
5606
|
-
|
|
5607
|
-
),
|
|
5609
|
+
), Rp = R(
|
|
5610
|
+
Fa
|
|
5611
|
+
), Lp = R(
|
|
5608
5612
|
Tt
|
|
5609
|
-
),
|
|
5613
|
+
), Mp = R(
|
|
5610
5614
|
Ua
|
|
5611
|
-
),
|
|
5615
|
+
), Ap = R(
|
|
5612
5616
|
Va
|
|
5613
|
-
),
|
|
5617
|
+
), Wp = R(
|
|
5614
5618
|
$t
|
|
5615
|
-
),
|
|
5619
|
+
), zp = R(
|
|
5616
5620
|
ja
|
|
5617
|
-
),
|
|
5621
|
+
), Dp = R(
|
|
5618
5622
|
qa
|
|
5619
5623
|
);
|
|
5620
5624
|
export {
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5625
|
+
Gu as Accordion,
|
|
5626
|
+
ju as AccordionControl,
|
|
5627
|
+
Hu as AccordionItem,
|
|
5628
|
+
qu as AccordionPanel,
|
|
5629
|
+
Ku as AssistiveElement,
|
|
5630
|
+
Yu as AutoComplete,
|
|
5631
|
+
Zu as Avatar,
|
|
5632
|
+
Qu as Badge,
|
|
5633
|
+
Xu as Breadcrumb,
|
|
5634
|
+
Ju as Button,
|
|
5635
|
+
ep as Card,
|
|
5636
|
+
op as Checkbox,
|
|
5637
|
+
tp as CheckboxGroup,
|
|
5638
|
+
np as Chip,
|
|
5639
|
+
Fu as Container,
|
|
5640
|
+
ap as DatePicker,
|
|
5641
|
+
rp as Dropdown,
|
|
5638
5642
|
Vo as EmptyValueRenderer,
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5643
|
+
sp as FileInput,
|
|
5644
|
+
lp as FileUpload,
|
|
5645
|
+
Wu as Flex,
|
|
5646
|
+
ip as FormControlLayout,
|
|
5647
|
+
zu as Grid,
|
|
5648
|
+
Du as GridCol,
|
|
5649
|
+
Eu as Group,
|
|
5650
|
+
cp as HoverCard,
|
|
5647
5651
|
vo as IS_DEV,
|
|
5648
|
-
|
|
5652
|
+
up as Label,
|
|
5649
5653
|
qt as Layer,
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5654
|
+
Uu as Link,
|
|
5655
|
+
dp as Loader,
|
|
5656
|
+
pp as Menu,
|
|
5657
|
+
mp as Modal,
|
|
5658
|
+
_p as NumberInput,
|
|
5659
|
+
fp as Pagination,
|
|
5660
|
+
yp as Panel,
|
|
5661
|
+
hp as PanelFooter,
|
|
5662
|
+
vp as Popover,
|
|
5663
|
+
Mu as RECURSICA_COMPONENTS,
|
|
5664
|
+
Np as Radio,
|
|
5665
|
+
bp as RadioGroup,
|
|
5666
|
+
Cp as ReadOnlyField,
|
|
5667
|
+
Lu as RecursicaThemeProvider,
|
|
5668
|
+
Pp as SegmentedControl,
|
|
5669
|
+
gp as Slider,
|
|
5670
|
+
Bu as Stack,
|
|
5671
|
+
Tp as Stepper,
|
|
5672
|
+
$p as Switch,
|
|
5673
|
+
wp as SwitchGroup,
|
|
5674
|
+
Sp as Table,
|
|
5675
|
+
xp as Tabs,
|
|
5676
|
+
Vu as Text,
|
|
5677
|
+
Op as TextArea,
|
|
5678
|
+
Ip as TextField,
|
|
5679
|
+
kp as TimePicker,
|
|
5680
|
+
Rp as Timeline,
|
|
5681
|
+
Lp as TimelineItem,
|
|
5682
|
+
Mp as Title,
|
|
5683
|
+
Ap as Toast,
|
|
5684
|
+
Wp as Tooltip,
|
|
5685
|
+
zp as TransferList,
|
|
5686
|
+
Dp as Tree,
|
|
5687
|
+
Au as copyToClipboard,
|
|
5684
5688
|
Zt as fileMatchesAccept,
|
|
5685
5689
|
Kt as injectOverStyledStyles,
|
|
5686
|
-
|
|
5687
|
-
|
|
5690
|
+
Ru as isGlobalOverStyledActive,
|
|
5691
|
+
B as mergeClassNames,
|
|
5688
5692
|
kr as mergeStyles,
|
|
5689
5693
|
Qt as normalizeComboboxData,
|
|
5690
5694
|
G as omitUnsupportedProps,
|