@recursica/adapter-mantine-v8 1.3.1 → 1.3.3
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 +21 -0
- package/dist/adapter-mantine-v8.cjs +2 -2
- package/dist/adapter-mantine-v8.cjs.map +1 -1
- package/dist/adapter-mantine-v8.css +1 -1
- package/dist/adapter-mantine-v8.js +1117 -1086
- package/dist/adapter-mantine-v8.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/package.json +2 -2
- package/src/components/Card/Card.stories.tsx +2 -1
- package/src/components/Heading/HEADING_IMPLEMENTATION_NOTES.md +9 -0
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +8 -0
- package/src/components/Panel/Panel.stories.tsx +0 -8
- package/src/components/Panel/Panel.tsx +23 -6
- package/src/components/Text/TEXT_IMPLEMENTATION_NOTES.md +10 -0
- package/src/components/Text/Text.headings.dom.test.tsx +51 -0
- package/src/components/Text/Text.module.css +6 -0
- package/src/components/Text/Text.stories.tsx +41 -17
- package/src/components/Text/Text.tsx +18 -0
- package/src/components/TimePicker/TimePicker.module.css +6 -22
- package/src/utils/typographyClass.ts +38 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r, Fragment as Ge, jsxs as L } from "react/jsx-runtime";
|
|
2
|
-
import q, { forwardRef as f, createContext as at, Children as
|
|
3
|
-
import { Accordion as Go, Input as
|
|
4
|
-
import { DatePickerInput as
|
|
5
|
-
import { usePagination as
|
|
6
|
-
const
|
|
7
|
-
root:
|
|
8
|
-
contents:
|
|
9
|
-
},
|
|
2
|
+
import q, { forwardRef as f, createContext as at, Children as Ba, isValidElement as Fa, cloneElement as Ua, useContext as rt, useEffect as Re, useState as ie, useId as Et, useRef as Be, useCallback as mo, useMemo as wt } from "react";
|
|
3
|
+
import { Accordion as Go, Input as Bt, Box as st, Autocomplete as Va, Avatar as Ha, createPolymorphicComponent as Te, Badge as Ga, Breadcrumbs as ja, Loader as qa, Button as Ka, Card as jo, Checkbox as Ft, Chip as Ya, Container as Za, Select as Ut, Flex as Xa, Grid as Vt, useRandomClassName as Qa, useMantineTheme as Ja, getSortedBreakpoints as er, InlineStyles as or, Group as tr, Title as nr, HoverCard as lt, Anchor as ar, Menu as Me, Modal as ye, NumberInput as rr, Drawer as je, Popover as it, Radio as Ht, SegmentedControl as sr, RangeSlider as lr, Slider as ir, Stack as cr, Stepper as ct, Switch as Gt, CheckIcon as dr, CloseIcon as ur, Table as qe, Tabs as qo, Text as pr, Textarea as mr, TimelineItem as _r, Timeline as fr, Notification as yr, Tooltip as dt, useTree as hr, getTreeExpandedState as vr, Tree as br } from "@mantine/core";
|
|
4
|
+
import { DatePickerInput as Nr, getFormattedDate as gr, TimePicker as Cr } from "@mantine/dates";
|
|
5
|
+
import { usePagination as Pr, useMergedRef as Tr } from "@mantine/hooks";
|
|
6
|
+
const wr = "_root_1qhn7_3", Sr = "_contents_1qhn7_18", ho = {
|
|
7
|
+
root: wr,
|
|
8
|
+
contents: Sr
|
|
9
|
+
}, jt = f(function({ layer: a, contentsOnly: e, children: o, className: t, style: n, ...s }, l) {
|
|
10
10
|
const c = e ? t ? `${ho.root} ${ho.contents} ${t}` : `${ho.root} ${ho.contents}` : t ? `${ho.root} ${t}` : ho.root;
|
|
11
11
|
return /* @__PURE__ */ r(
|
|
12
12
|
"div",
|
|
@@ -20,18 +20,18 @@ const Cr = "_root_1qhn7_3", Pr = "_contents_1qhn7_18", ho = {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
});
|
|
23
|
-
|
|
23
|
+
jt.displayName = "Layer";
|
|
24
24
|
const Eo = ({ emptyText: a = "N/A" }) => /* @__PURE__ */ r(q.Fragment, { children: a });
|
|
25
25
|
Eo.displayName = "EmptyValueRenderer";
|
|
26
26
|
Eo.check = (a) => a == null || a === "" || Array.isArray(a) && a.length === 0;
|
|
27
|
-
const
|
|
27
|
+
const $r = { BASE_URL: "/", DEV: !1, MODE: "library", PROD: !0, SSR: !1, VITE_PLUGIN_MODE: "production", VITE_PLUGIN_PHRASE: "recursica_plugin_@K9mX7pQw2VbN8fRt3LzY6HjE4CuA5DsG1WvM9nP0XcB7", VITE_PLUGIN_PHRASE_TEST: "recursica_plugin_@19866374", VITE_RECURSICA_API_TEST: "https://dev-api.recursica.com", VITE_RECURSICA_API_URL: "https://api.recursica.com", VITE_RECURSICA_UI_URL: "https://api.recursica.com" }, Ve = (() => {
|
|
28
28
|
try {
|
|
29
29
|
if (typeof process < "u" && process.env && process.env.NODE_ENV)
|
|
30
30
|
return process.env.NODE_ENV !== "production";
|
|
31
31
|
} catch {
|
|
32
32
|
}
|
|
33
33
|
try {
|
|
34
|
-
if (import.meta &&
|
|
34
|
+
if (import.meta && $r)
|
|
35
35
|
return !0;
|
|
36
36
|
} catch {
|
|
37
37
|
}
|
|
@@ -42,7 +42,7 @@ const Tr = { BASE_URL: "/", DEV: !1, MODE: "library", PROD: !0, SSR: !1, VITE_PL
|
|
|
42
42
|
return !1;
|
|
43
43
|
})(), et = /* @__PURE__ */ new Set();
|
|
44
44
|
let ro = !1;
|
|
45
|
-
function
|
|
45
|
+
function xr(a) {
|
|
46
46
|
if (!Ve)
|
|
47
47
|
return console.warn(
|
|
48
48
|
"[Recursica] overStyled highlight is disabled in production builds."
|
|
@@ -56,21 +56,21 @@ function wr(a) {
|
|
|
56
56
|
console.warn("[Recursica] document is undefined. Cannot set CSS property.");
|
|
57
57
|
return et.forEach((e) => e()), ro;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ip() {
|
|
60
60
|
return Ve && ro;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Or() {
|
|
63
63
|
const [a, e] = ie(ro);
|
|
64
64
|
return Re(() => {
|
|
65
65
|
if (!Ve) return;
|
|
66
|
-
|
|
66
|
+
qt(), Kt();
|
|
67
67
|
const o = () => e(ro);
|
|
68
68
|
return et.add(o), () => {
|
|
69
69
|
et.delete(o);
|
|
70
70
|
};
|
|
71
71
|
}, []), Ve && a;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function qt() {
|
|
74
74
|
if (!Ve) return;
|
|
75
75
|
if (typeof document > "u") {
|
|
76
76
|
console.warn(
|
|
@@ -92,7 +92,7 @@ function Gt() {
|
|
|
92
92
|
}
|
|
93
93
|
`, document.head.appendChild(e));
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Kt() {
|
|
96
96
|
if (!Ve) return;
|
|
97
97
|
if (typeof window > "u") {
|
|
98
98
|
console.warn(
|
|
@@ -102,29 +102,29 @@ function jt() {
|
|
|
102
102
|
}
|
|
103
103
|
const a = (e) => {
|
|
104
104
|
try {
|
|
105
|
-
e.recursica = e.recursica || {}, e.recursica.toggleOverStyled = () => `[Recursica] Overstyled outline highlight is now: ${
|
|
105
|
+
e.recursica = e.recursica || {}, e.recursica.toggleOverStyled = () => `[Recursica] Overstyled outline highlight is now: ${xr() ? "ON (cyan 2px box shadow)" : "OFF"}`;
|
|
106
106
|
} catch {
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
a(window), window.parent && window.parent !== window && a(window.parent);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const e =
|
|
111
|
+
function kr(a) {
|
|
112
|
+
const e = Ba.toArray(a), o = e.length - 1;
|
|
113
113
|
return e.map((t, n) => {
|
|
114
|
-
if (n !== o || !
|
|
114
|
+
if (n !== o || !Fa(t))
|
|
115
115
|
return t;
|
|
116
116
|
const s = t.props, l = s.href !== void 0 || s.onClick !== void 0;
|
|
117
117
|
return Ve && l && console.warn(
|
|
118
118
|
`[Breadcrumb] The last item represents the current page and should be plain, non-interactive text (e.g. a <span>), not a link. Breadcrumb stripped its href/onClick and added aria-current="page", but this can't stop a custom Link component (e.g. a router Link) that navigates from its own internal handler rather than these props.`
|
|
119
|
-
),
|
|
119
|
+
), Ua(t, {
|
|
120
120
|
"aria-current": "page",
|
|
121
121
|
...l ? { href: void 0, onClick: void 0, tabIndex: -1 } : {}
|
|
122
122
|
});
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
|
-
const
|
|
126
|
-
function
|
|
127
|
-
const a = rt(
|
|
125
|
+
const Yt = at(void 0);
|
|
126
|
+
function Rr() {
|
|
127
|
+
const a = rt(Yt);
|
|
128
128
|
if (!a)
|
|
129
129
|
throw new Error(
|
|
130
130
|
"This component needs the Recursica manifest: pass the parsed recursica_manifest.json as the `manifest` prop of RecursicaThemeProvider."
|
|
@@ -132,7 +132,7 @@ function xr() {
|
|
|
132
132
|
return a;
|
|
133
133
|
}
|
|
134
134
|
const St = "data-recursica-theme";
|
|
135
|
-
function
|
|
135
|
+
function cp({
|
|
136
136
|
children: a,
|
|
137
137
|
theme: e = "light",
|
|
138
138
|
initLayer0: o = !0,
|
|
@@ -144,12 +144,12 @@ function ap({
|
|
|
144
144
|
s.removeAttribute(St);
|
|
145
145
|
};
|
|
146
146
|
}, [e]), Re(() => {
|
|
147
|
-
|
|
147
|
+
qt(), Kt();
|
|
148
148
|
}, []);
|
|
149
|
-
const n = o ? /* @__PURE__ */ r(
|
|
150
|
-
return /* @__PURE__ */ r(
|
|
149
|
+
const n = o ? /* @__PURE__ */ r(jt, { layer: 0, children: a }) : /* @__PURE__ */ r(Ge, { children: a });
|
|
150
|
+
return /* @__PURE__ */ r(Yt.Provider, { value: t, children: n });
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const dp = [
|
|
153
153
|
"Accordion",
|
|
154
154
|
"AssistiveElement",
|
|
155
155
|
"Autocomplete",
|
|
@@ -204,7 +204,7 @@ const rp = [
|
|
|
204
204
|
"TransferList",
|
|
205
205
|
"Tree",
|
|
206
206
|
"Typography"
|
|
207
|
-
],
|
|
207
|
+
], up = (a, e) => {
|
|
208
208
|
const o = document.activeElement;
|
|
209
209
|
return new Promise((t, n) => {
|
|
210
210
|
if (e && e.current) {
|
|
@@ -216,7 +216,7 @@ const rp = [
|
|
|
216
216
|
n(new Error("Copy area reference is not defined"));
|
|
217
217
|
});
|
|
218
218
|
};
|
|
219
|
-
function
|
|
219
|
+
function Zt(a, e) {
|
|
220
220
|
const o = (e ?? "").split(",").map((s) => s.trim().toLowerCase()).filter(Boolean);
|
|
221
221
|
if (o.length === 0) return !0;
|
|
222
222
|
const t = a.name.toLowerCase(), n = a.type.toLowerCase();
|
|
@@ -231,7 +231,7 @@ function E(a, e) {
|
|
|
231
231
|
}
|
|
232
232
|
return o;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ir(a, e) {
|
|
235
235
|
if (!e) return a;
|
|
236
236
|
const o = { ...a }, t = /* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(e)]);
|
|
237
237
|
for (const n of t) {
|
|
@@ -240,7 +240,7 @@ function Or(a, e) {
|
|
|
240
240
|
}
|
|
241
241
|
return o;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Xt(a) {
|
|
244
244
|
return a == null ? void 0 : a.map(
|
|
245
245
|
(e) => typeof e == "string" ? e : { ...e, label: e.label ?? e.value }
|
|
246
246
|
);
|
|
@@ -251,18 +251,18 @@ function V(a, e) {
|
|
|
251
251
|
t in o && delete o[t];
|
|
252
252
|
return o;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Ue(a, e) {
|
|
255
255
|
return e !== void 0 ? e : a;
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
return a ? a.prototype && a.prototype.isReactComponent || a.$$typeof ===
|
|
257
|
+
const Lr = Symbol.for("react.forward_ref"), Mr = Symbol.for("react.memo");
|
|
258
|
+
function Qt(a) {
|
|
259
|
+
return a ? a.prototype && a.prototype.isReactComponent || a.$$typeof === Lr ? !0 : a.$$typeof === Mr ? Qt(a.type) : !1 : !1;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Ar(a) {
|
|
262
262
|
if (!Ve || typeof a != "function" && !(a && a.$$typeof))
|
|
263
263
|
return a;
|
|
264
|
-
const e =
|
|
265
|
-
const { overStyled: c } = s, i =
|
|
264
|
+
const e = Qt(a), o = a.displayName || a.name || "Component", t = q.forwardRef((s, l) => {
|
|
265
|
+
const { overStyled: c } = s, i = Or();
|
|
266
266
|
Ve && l && !e && console.warn(
|
|
267
267
|
`[wrapComponent] "${o}" does not support refs (not a class component or forwardRef) — the ref passed to it was dropped instead of forcing React's "function components cannot be given refs" warning.`
|
|
268
268
|
);
|
|
@@ -275,11 +275,11 @@ function Ir(a) {
|
|
|
275
275
|
if (s === "render" || s === "$$typeof")
|
|
276
276
|
continue;
|
|
277
277
|
const l = a[s];
|
|
278
|
-
(typeof l == "function" || l && l.$$typeof) && s[0] === s[0].toUpperCase() ? t[s] =
|
|
278
|
+
(typeof l == "function" || l && l.$$typeof) && s[0] === s[0].toUpperCase() ? t[s] = Ar(l) : t[s] = l;
|
|
279
279
|
}
|
|
280
280
|
return t;
|
|
281
281
|
}
|
|
282
|
-
const
|
|
282
|
+
const Wr = [
|
|
283
283
|
"className",
|
|
284
284
|
"classNames",
|
|
285
285
|
"style",
|
|
@@ -323,7 +323,7 @@ const Lr = [
|
|
|
323
323
|
"mih",
|
|
324
324
|
"mah"
|
|
325
325
|
// Dimensions
|
|
326
|
-
],
|
|
326
|
+
], Jt = /* @__PURE__ */ new Set([
|
|
327
327
|
"m",
|
|
328
328
|
"my",
|
|
329
329
|
"mx",
|
|
@@ -351,33 +351,33 @@ const Lr = [
|
|
|
351
351
|
function Lo(a) {
|
|
352
352
|
const e = { ...a };
|
|
353
353
|
for (const [o, t] of Object.entries(e))
|
|
354
|
-
typeof t == "string" && t.startsWith("rec-") &&
|
|
354
|
+
typeof t == "string" && t.startsWith("rec-") && Jt.has(o) && t in Bo && (e[o] = Bo[t]);
|
|
355
355
|
return e;
|
|
356
356
|
}
|
|
357
357
|
function m(a, e) {
|
|
358
358
|
if (e)
|
|
359
359
|
return a;
|
|
360
360
|
const o = { ...a };
|
|
361
|
-
for (const t of
|
|
361
|
+
for (const t of Wr)
|
|
362
362
|
t in o && delete o[t];
|
|
363
363
|
for (const [t, n] of Object.entries(o))
|
|
364
|
-
typeof n == "string" && n.startsWith("rec-") &&
|
|
364
|
+
typeof n == "string" && n.startsWith("rec-") && Jt.has(t) && n in Bo && (o[t] = Bo[n]);
|
|
365
365
|
return o;
|
|
366
366
|
}
|
|
367
|
-
const
|
|
368
|
-
root:
|
|
369
|
-
item:
|
|
370
|
-
noDivider:
|
|
371
|
-
control:
|
|
372
|
-
label:
|
|
373
|
-
icon:
|
|
374
|
-
chevron:
|
|
375
|
-
iconLeftWrapper:
|
|
376
|
-
panel:
|
|
377
|
-
content:
|
|
367
|
+
const zr = "Accordion-module__root___Dem6d", Dr = "Accordion-module__item___7ryVk", Er = "Accordion-module__noDivider___Ni2tT", Br = "Accordion-module__control___b4wgX", Fr = "Accordion-module__label___Ss7uW", Ur = "Accordion-module__icon___xfHxX", Vr = "Accordion-module__chevron___i-HVZ", Hr = "Accordion-module__iconLeftWrapper___5oLen", Gr = "Accordion-module__panel___Wx50w", jr = "Accordion-module__content___PEM9t", Le = {
|
|
368
|
+
root: zr,
|
|
369
|
+
item: Dr,
|
|
370
|
+
noDivider: Er,
|
|
371
|
+
control: Br,
|
|
372
|
+
label: Fr,
|
|
373
|
+
icon: Ur,
|
|
374
|
+
chevron: Vr,
|
|
375
|
+
iconLeftWrapper: Hr,
|
|
376
|
+
panel: Gr,
|
|
377
|
+
content: jr
|
|
378
378
|
}, $t = {
|
|
379
379
|
default: "unstyled"
|
|
380
|
-
},
|
|
380
|
+
}, en = function({
|
|
381
381
|
variant: e = "default",
|
|
382
382
|
overStyled: o = !1,
|
|
383
383
|
...t
|
|
@@ -405,8 +405,8 @@ const Mr = "Accordion-module__root___Dem6d", Ar = "Accordion-module__item___7ryV
|
|
|
405
405
|
}
|
|
406
406
|
);
|
|
407
407
|
};
|
|
408
|
-
|
|
409
|
-
const
|
|
408
|
+
en.displayName = "Accordion";
|
|
409
|
+
const on = f(function({
|
|
410
410
|
title: e,
|
|
411
411
|
leftIcon: o,
|
|
412
412
|
divider: t = !0,
|
|
@@ -430,15 +430,15 @@ const Jt = f(function({
|
|
|
430
430
|
}
|
|
431
431
|
);
|
|
432
432
|
});
|
|
433
|
-
|
|
434
|
-
const
|
|
433
|
+
on.displayName = "AccordionItem";
|
|
434
|
+
const qr = [
|
|
435
435
|
"icon"
|
|
436
436
|
// Mantine's native icon slot is fully computed here from `leftIcon`; the `Omit<>` on
|
|
437
437
|
// AccordionControlWrapperProps only stops a well-typed caller, this is the runtime backstop.
|
|
438
438
|
], ut = f(function({ leftIcon: e, children: o, overStyled: t = !1, ...n }, s) {
|
|
439
439
|
const l = V(
|
|
440
440
|
m(n, t),
|
|
441
|
-
|
|
441
|
+
qr
|
|
442
442
|
), c = l.className;
|
|
443
443
|
return /* @__PURE__ */ r(
|
|
444
444
|
Go.Control,
|
|
@@ -464,15 +464,15 @@ const pt = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
464
464
|
);
|
|
465
465
|
});
|
|
466
466
|
pt.displayName = "AccordionPanel";
|
|
467
|
-
const mt =
|
|
468
|
-
mt.Item =
|
|
467
|
+
const mt = en;
|
|
468
|
+
mt.Item = on;
|
|
469
469
|
mt.Control = ut;
|
|
470
470
|
mt.Panel = pt;
|
|
471
|
-
const
|
|
472
|
-
root:
|
|
473
|
-
textWrapper:
|
|
474
|
-
iconWrapper:
|
|
475
|
-
},
|
|
471
|
+
const Kr = "AssistiveElement-module__root___WhQ43", Yr = "AssistiveElement-module__textWrapper___sfy5E", Zr = "AssistiveElement-module__iconWrapper___gObRF", Qo = {
|
|
472
|
+
root: Kr,
|
|
473
|
+
textWrapper: Yr,
|
|
474
|
+
iconWrapper: Zr
|
|
475
|
+
}, Xr = () => /* @__PURE__ */ L(
|
|
476
476
|
"svg",
|
|
477
477
|
{
|
|
478
478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -488,7 +488,7 @@ const Gr = "AssistiveElement-module__root___WhQ43", jr = "AssistiveElement-modul
|
|
|
488
488
|
/* @__PURE__ */ r("path", { d: "M12 8h.01" })
|
|
489
489
|
]
|
|
490
490
|
}
|
|
491
|
-
),
|
|
491
|
+
), Qr = () => /* @__PURE__ */ L(
|
|
492
492
|
"svg",
|
|
493
493
|
{
|
|
494
494
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -513,13 +513,13 @@ const Gr = "AssistiveElement-module__root___WhQ43", jr = "AssistiveElement-modul
|
|
|
513
513
|
overStyled: l = !1,
|
|
514
514
|
...c
|
|
515
515
|
}, i) {
|
|
516
|
-
const p = m(c, l), u = Qo.root,
|
|
516
|
+
const p = m(c, l), u = Qo.root, b = n ? `${u} ${n}` : u, y = e === "error" ? Qr : Xr;
|
|
517
517
|
return /* @__PURE__ */ L(
|
|
518
518
|
"div",
|
|
519
519
|
{
|
|
520
520
|
ref: i,
|
|
521
521
|
...p,
|
|
522
|
-
className:
|
|
522
|
+
className: b,
|
|
523
523
|
"data-variant": e,
|
|
524
524
|
role: s ?? (e === "error" ? "alert" : void 0),
|
|
525
525
|
style: p.style,
|
|
@@ -531,14 +531,14 @@ const Gr = "AssistiveElement-module__root___WhQ43", jr = "AssistiveElement-modul
|
|
|
531
531
|
);
|
|
532
532
|
});
|
|
533
533
|
ot.displayName = "AssistiveElement";
|
|
534
|
-
const
|
|
535
|
-
root:
|
|
536
|
-
labelText:
|
|
537
|
-
required:
|
|
538
|
-
optionalText:
|
|
539
|
-
actionAreaWrapper:
|
|
540
|
-
editIconWrapper:
|
|
541
|
-
},
|
|
534
|
+
const Jr = "Label-module__root___e6HXZ", es = "Label-module__labelText___rieFR", os = "Label-module__required___Ggrzc", ts = "Label-module__optionalText___Y2yun", ns = "Label-module__actionAreaWrapper___ELoZK", as = "Label-module__editIconWrapper___NG2xW", oo = {
|
|
535
|
+
root: Jr,
|
|
536
|
+
labelText: es,
|
|
537
|
+
required: os,
|
|
538
|
+
optionalText: ts,
|
|
539
|
+
actionAreaWrapper: ns,
|
|
540
|
+
editIconWrapper: as
|
|
541
|
+
}, tn = f(function({
|
|
542
542
|
labelSize: e = "default",
|
|
543
543
|
labelAlignment: o,
|
|
544
544
|
required: t = !1,
|
|
@@ -550,7 +550,7 @@ const Zr = "Label-module__root___e6HXZ", Xr = "Label-module__labelText___rieFR",
|
|
|
550
550
|
overStyled: d = !1,
|
|
551
551
|
...p
|
|
552
552
|
}, u) {
|
|
553
|
-
const
|
|
553
|
+
const b = o || "left";
|
|
554
554
|
let y;
|
|
555
555
|
t || (n === !0 ? y = "optional" : n && (y = n));
|
|
556
556
|
const g = [
|
|
@@ -559,7 +559,7 @@ const Zr = "Label-module__root___e6HXZ", Xr = "Label-module__labelText___rieFR",
|
|
|
559
559
|
], h = V(
|
|
560
560
|
m(p, d),
|
|
561
561
|
g
|
|
562
|
-
), C = h,
|
|
562
|
+
), C = h, N = E(
|
|
563
563
|
{
|
|
564
564
|
label: oo.root,
|
|
565
565
|
required: oo.required
|
|
@@ -567,14 +567,14 @@ const Zr = "Label-module__root___e6HXZ", Xr = "Label-module__labelText___rieFR",
|
|
|
567
567
|
C.classNames
|
|
568
568
|
), P = C.className, S = P ? `${oo.root} ${P}` : oo.root;
|
|
569
569
|
return /* @__PURE__ */ L(
|
|
570
|
-
|
|
570
|
+
Bt.Label,
|
|
571
571
|
{
|
|
572
572
|
ref: u,
|
|
573
573
|
...h,
|
|
574
574
|
className: S,
|
|
575
|
-
classNames:
|
|
575
|
+
classNames: N,
|
|
576
576
|
"data-size": e,
|
|
577
|
-
"data-alignment":
|
|
577
|
+
"data-alignment": b,
|
|
578
578
|
required: t && !s,
|
|
579
579
|
children: [
|
|
580
580
|
/* @__PURE__ */ r("span", { className: oo.labelText, children: i }),
|
|
@@ -612,11 +612,11 @@ const Zr = "Label-module__root___e6HXZ", Xr = "Label-module__labelText___rieFR",
|
|
|
612
612
|
}
|
|
613
613
|
);
|
|
614
614
|
});
|
|
615
|
-
|
|
616
|
-
const
|
|
617
|
-
root:
|
|
618
|
-
leftSection:
|
|
619
|
-
rightSection:
|
|
615
|
+
tn.displayName = "Label";
|
|
616
|
+
const rs = "FormControlLayout-module__root___yNDhZ", ss = "FormControlLayout-module__leftSection___GBM1r", ls = "FormControlLayout-module__rightSection___bcL4v", Ao = {
|
|
617
|
+
root: rs,
|
|
618
|
+
leftSection: ss,
|
|
619
|
+
rightSection: ls
|
|
620
620
|
}, lo = f(function({
|
|
621
621
|
formLayout: e = "stacked",
|
|
622
622
|
labelSize: o = "default",
|
|
@@ -649,9 +649,9 @@ const ts = "FormControlLayout-module__root___yNDhZ", ns = "FormControlLayout-mod
|
|
|
649
649
|
);
|
|
650
650
|
});
|
|
651
651
|
lo.displayName = "FormControlLayout";
|
|
652
|
-
const
|
|
653
|
-
root:
|
|
654
|
-
inputSection:
|
|
652
|
+
const is = "FormControlWrapper-module__root___c-UHo", cs = "FormControlWrapper-module__inputSection___HenXk", xt = {
|
|
653
|
+
root: is,
|
|
654
|
+
inputSection: cs
|
|
655
655
|
}, No = f(function({
|
|
656
656
|
formLayout: e,
|
|
657
657
|
labelSize: o,
|
|
@@ -664,12 +664,12 @@ const rs = "FormControlWrapper-module__root___c-UHo", ss = "FormControlWrapper-m
|
|
|
664
664
|
description: d,
|
|
665
665
|
assistiveText: p,
|
|
666
666
|
assistiveWithIcon: u = !0,
|
|
667
|
-
controlMaxWidth:
|
|
667
|
+
controlMaxWidth: b,
|
|
668
668
|
controlMinWidth: y,
|
|
669
669
|
error: g,
|
|
670
670
|
required: h,
|
|
671
671
|
withAsterisk: C,
|
|
672
|
-
id:
|
|
672
|
+
id: N,
|
|
673
673
|
children: P,
|
|
674
674
|
className: S,
|
|
675
675
|
overStyled: w = !1,
|
|
@@ -677,7 +677,7 @@ const rs = "FormControlWrapper-module__root___c-UHo", ss = "FormControlWrapper-m
|
|
|
677
677
|
// Extracted safely preventing bleeding into HTML domains
|
|
678
678
|
..._
|
|
679
679
|
}, $) {
|
|
680
|
-
const v =
|
|
680
|
+
const v = Et(), O = N || `recursica-fc-${v}`, M = `${O}-label`, D = p || d, W = D ? `${O}-assistive` : void 0, I = g ? `${O}-error` : void 0, G = m(_, w), j = S || G.className, X = xt.root, H = j ? `${X} ${j}` : X, K = q.isValidElement(P) ? q.cloneElement(
|
|
681
681
|
P,
|
|
682
682
|
{
|
|
683
683
|
...P.props.id ? {} : { id: O },
|
|
@@ -686,7 +686,7 @@ const rs = "FormControlWrapper-module__root___c-UHo", ss = "FormControlWrapper-m
|
|
|
686
686
|
...g && !P.props["aria-errormessage"] ? { "aria-errormessage": I } : {}
|
|
687
687
|
}
|
|
688
688
|
) : P, J = i ? /* @__PURE__ */ r(
|
|
689
|
-
|
|
689
|
+
tn,
|
|
690
690
|
{
|
|
691
691
|
id: M,
|
|
692
692
|
htmlFor: O,
|
|
@@ -707,7 +707,7 @@ const rs = "FormControlWrapper-module__root___c-UHo", ss = "FormControlWrapper-m
|
|
|
707
707
|
className: H,
|
|
708
708
|
formLayout: e,
|
|
709
709
|
labelSize: o,
|
|
710
|
-
controlMaxWidth:
|
|
710
|
+
controlMaxWidth: b,
|
|
711
711
|
controlMinWidth: y,
|
|
712
712
|
leftSection: J,
|
|
713
713
|
...G,
|
|
@@ -736,9 +736,9 @@ const rs = "FormControlWrapper-module__root___c-UHo", ss = "FormControlWrapper-m
|
|
|
736
736
|
);
|
|
737
737
|
});
|
|
738
738
|
No.displayName = "FormControlWrapper";
|
|
739
|
-
const
|
|
740
|
-
layoutOverride:
|
|
741
|
-
textField:
|
|
739
|
+
const ds = "ReadOnlyField-module__layoutOverride___9fSsG", us = "ReadOnlyField-module__textField___qKn25", go = {
|
|
740
|
+
layoutOverride: ds,
|
|
741
|
+
textField: us
|
|
742
742
|
}, Do = ({
|
|
743
743
|
value: a,
|
|
744
744
|
overStyled: e = !1,
|
|
@@ -756,7 +756,7 @@ const ls = "ReadOnlyField-module__layoutOverride___9fSsG", is = "ReadOnlyField-m
|
|
|
756
756
|
);
|
|
757
757
|
};
|
|
758
758
|
Do.displayName = "ReadOnlyTextField";
|
|
759
|
-
const
|
|
759
|
+
const nn = f(
|
|
760
760
|
function({
|
|
761
761
|
value: e,
|
|
762
762
|
type: o = "text",
|
|
@@ -812,7 +812,7 @@ const on = f(
|
|
|
812
812
|
);
|
|
813
813
|
}
|
|
814
814
|
);
|
|
815
|
-
|
|
815
|
+
nn.displayName = "ReadOnlyField";
|
|
816
816
|
const he = f(function({
|
|
817
817
|
readOnly: e,
|
|
818
818
|
readOnlyComponent: o,
|
|
@@ -835,7 +835,7 @@ const he = f(function({
|
|
|
835
835
|
children: /* @__PURE__ */ r(o, { ...s })
|
|
836
836
|
}
|
|
837
837
|
) : /* @__PURE__ */ r(
|
|
838
|
-
|
|
838
|
+
nn,
|
|
839
839
|
{
|
|
840
840
|
ref: u,
|
|
841
841
|
...p,
|
|
@@ -857,7 +857,7 @@ const he = f(function({
|
|
|
857
857
|
);
|
|
858
858
|
});
|
|
859
859
|
he.displayName = "WithReadOnlyWrapper";
|
|
860
|
-
function
|
|
860
|
+
function an({ option: a }, e, o = !1) {
|
|
861
861
|
const { label: t, leadingIcon: n, supportingText: s } = a, l = t ?? a.value;
|
|
862
862
|
if (!n && !s)
|
|
863
863
|
return l;
|
|
@@ -870,26 +870,26 @@ function tn({ option: a }, e, o = !1) {
|
|
|
870
870
|
] })
|
|
871
871
|
] });
|
|
872
872
|
}
|
|
873
|
-
const
|
|
874
|
-
layoutOverride:
|
|
875
|
-
root:
|
|
876
|
-
input:
|
|
877
|
-
section:
|
|
878
|
-
dropdown:
|
|
879
|
-
option:
|
|
880
|
-
optionContent:
|
|
881
|
-
optionIcon:
|
|
882
|
-
optionText:
|
|
883
|
-
optionTextWrap:
|
|
884
|
-
optionSupportingText:
|
|
885
|
-
},
|
|
873
|
+
const ps = "AutoComplete-module__layoutOverride___-K9WL", ms = "AutoComplete-module__root___kANza", _s = "AutoComplete-module__input___g51MC", fs = "AutoComplete-module__section___WAbf1", ys = "AutoComplete-module__dropdown___NqO3E", hs = "AutoComplete-module__option___Y-Kja", vs = "AutoComplete-module__optionContent___UAkUA", bs = "AutoComplete-module__optionIcon___tbbmW", Ns = "AutoComplete-module__optionText___aQwHF", gs = "AutoComplete-module__optionTextWrap___RFICS", Cs = "AutoComplete-module__optionSupportingText___OoA1N", Ne = {
|
|
874
|
+
layoutOverride: ps,
|
|
875
|
+
root: ms,
|
|
876
|
+
input: _s,
|
|
877
|
+
section: fs,
|
|
878
|
+
dropdown: ys,
|
|
879
|
+
option: hs,
|
|
880
|
+
optionContent: vs,
|
|
881
|
+
optionIcon: bs,
|
|
882
|
+
optionText: Ns,
|
|
883
|
+
optionTextWrap: gs,
|
|
884
|
+
optionSupportingText: Cs
|
|
885
|
+
}, Ps = [
|
|
886
886
|
"size",
|
|
887
887
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
888
888
|
"variant",
|
|
889
889
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
890
890
|
"radius"
|
|
891
891
|
// Recursica does not expose the library's native corner-radius system.
|
|
892
|
-
],
|
|
892
|
+
], Ts = f(
|
|
893
893
|
function(e, o) {
|
|
894
894
|
const {
|
|
895
895
|
overStyled: t = !1,
|
|
@@ -902,12 +902,12 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
902
902
|
onLabelEditClick: d,
|
|
903
903
|
label: p,
|
|
904
904
|
assistiveText: u,
|
|
905
|
-
assistiveWithIcon:
|
|
905
|
+
assistiveWithIcon: b,
|
|
906
906
|
error: y,
|
|
907
907
|
required: g,
|
|
908
908
|
withAsterisk: h,
|
|
909
909
|
id: C,
|
|
910
|
-
className:
|
|
910
|
+
className: N,
|
|
911
911
|
style: P,
|
|
912
912
|
disabled: S,
|
|
913
913
|
readOnly: w,
|
|
@@ -921,8 +921,8 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
921
921
|
...W
|
|
922
922
|
} = e, I = V(
|
|
923
923
|
m(W, t),
|
|
924
|
-
|
|
925
|
-
), Y = I, G =
|
|
924
|
+
Ps
|
|
925
|
+
), Y = I, G = Xt(O), j = E(
|
|
926
926
|
{
|
|
927
927
|
wrapper: Ne.root,
|
|
928
928
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -938,7 +938,7 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
938
938
|
optionText: Ne.optionText,
|
|
939
939
|
optionTextWrap: Ne.optionTextWrap,
|
|
940
940
|
optionSupportingText: Ne.optionSupportingText
|
|
941
|
-
}, H =
|
|
941
|
+
}, H = N ? `${Ne.layoutOverride} ${N}` : Ne.layoutOverride;
|
|
942
942
|
return /* @__PURE__ */ r(
|
|
943
943
|
he,
|
|
944
944
|
{
|
|
@@ -955,7 +955,7 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
955
955
|
onLabelEditClick: d,
|
|
956
956
|
label: p,
|
|
957
957
|
assistiveText: u,
|
|
958
|
-
assistiveWithIcon:
|
|
958
|
+
assistiveWithIcon: b,
|
|
959
959
|
error: y,
|
|
960
960
|
required: g,
|
|
961
961
|
withAsterisk: h,
|
|
@@ -969,7 +969,7 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
969
969
|
activeComponent: (
|
|
970
970
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
971
971
|
/* @__PURE__ */ r(
|
|
972
|
-
|
|
972
|
+
Va,
|
|
973
973
|
{
|
|
974
974
|
ref: o,
|
|
975
975
|
...I,
|
|
@@ -979,7 +979,7 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
979
979
|
defaultValue: v,
|
|
980
980
|
error: !!y,
|
|
981
981
|
data: G,
|
|
982
|
-
renderOption: M ?? ((K) =>
|
|
982
|
+
renderOption: M ?? ((K) => an(K, X, D))
|
|
983
983
|
}
|
|
984
984
|
)
|
|
985
985
|
)
|
|
@@ -987,14 +987,14 @@ const cs = "AutoComplete-module__layoutOverride___-K9WL", ds = "AutoComplete-mod
|
|
|
987
987
|
);
|
|
988
988
|
}
|
|
989
989
|
);
|
|
990
|
-
|
|
991
|
-
const
|
|
992
|
-
root:
|
|
993
|
-
iconWrapper:
|
|
994
|
-
textWrapper:
|
|
995
|
-
image:
|
|
996
|
-
placeholder:
|
|
997
|
-
},
|
|
990
|
+
Ts.displayName = "AutoComplete";
|
|
991
|
+
const ws = "Avatar-module__root___fXu-J", Ss = "Avatar-module__iconWrapper___ojly2", $s = "Avatar-module__textWrapper___zp-jD", xs = "Avatar-module__image___ieqGp", Os = "Avatar-module__placeholder___IDW7-", Po = {
|
|
992
|
+
root: ws,
|
|
993
|
+
iconWrapper: Ss,
|
|
994
|
+
textWrapper: $s,
|
|
995
|
+
image: xs,
|
|
996
|
+
placeholder: Os
|
|
997
|
+
}, rn = f(function({
|
|
998
998
|
size: e = "default",
|
|
999
999
|
variant: o = "solid",
|
|
1000
1000
|
icon: t,
|
|
@@ -1016,10 +1016,10 @@ const Cs = "Avatar-module__root___fXu-J", Ps = "Avatar-module__iconWrapper___ojl
|
|
|
1016
1016
|
// Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
|
|
1017
1017
|
"radius"
|
|
1018
1018
|
// Avatar corner radius is controlled by design tokens, not a raw radius prop.
|
|
1019
|
-
],
|
|
1019
|
+
], b = V(
|
|
1020
1020
|
m(c, l),
|
|
1021
1021
|
u
|
|
1022
|
-
), y =
|
|
1022
|
+
), y = b;
|
|
1023
1023
|
let g = "text";
|
|
1024
1024
|
s ? g = "image" : t && (g = "icon");
|
|
1025
1025
|
const h = E(
|
|
@@ -1031,10 +1031,10 @@ const Cs = "Avatar-module__root___fXu-J", Ps = "Avatar-module__iconWrapper___ojl
|
|
|
1031
1031
|
y.classNames
|
|
1032
1032
|
), C = y.className;
|
|
1033
1033
|
return /* @__PURE__ */ r(
|
|
1034
|
-
|
|
1034
|
+
Ha,
|
|
1035
1035
|
{
|
|
1036
1036
|
ref: i,
|
|
1037
|
-
...
|
|
1037
|
+
...b,
|
|
1038
1038
|
className: C,
|
|
1039
1039
|
classNames: h,
|
|
1040
1040
|
variant: d[o],
|
|
@@ -1047,10 +1047,10 @@ const Cs = "Avatar-module__root___fXu-J", Ps = "Avatar-module__iconWrapper___ojl
|
|
|
1047
1047
|
}
|
|
1048
1048
|
);
|
|
1049
1049
|
});
|
|
1050
|
-
|
|
1051
|
-
const
|
|
1052
|
-
root:
|
|
1053
|
-
},
|
|
1050
|
+
rn.displayName = "Avatar";
|
|
1051
|
+
const pp = Te(rn), ks = "Badge-module__root___5osNT", To = {
|
|
1052
|
+
root: ks
|
|
1053
|
+
}, sn = f(function({ variant: e = "primary-color", overStyled: o = !1, ...t }, n) {
|
|
1054
1054
|
const s = m(t, o), l = E(
|
|
1055
1055
|
{
|
|
1056
1056
|
root: To.root,
|
|
@@ -1060,7 +1060,7 @@ const lp = Te(nn), $s = "Badge-module__root___5osNT", To = {
|
|
|
1060
1060
|
s.classNames
|
|
1061
1061
|
), c = s.className, i = c ? `${To.root} ${c}` : To.root;
|
|
1062
1062
|
return /* @__PURE__ */ r(
|
|
1063
|
-
|
|
1063
|
+
Ga,
|
|
1064
1064
|
{
|
|
1065
1065
|
ref: n,
|
|
1066
1066
|
...s,
|
|
@@ -1071,14 +1071,14 @@ const lp = Te(nn), $s = "Badge-module__root___5osNT", To = {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
);
|
|
1073
1073
|
});
|
|
1074
|
-
|
|
1075
|
-
const
|
|
1076
|
-
root:
|
|
1077
|
-
separator:
|
|
1078
|
-
},
|
|
1074
|
+
sn.displayName = "Badge";
|
|
1075
|
+
const Rs = Te(sn), Is = "Breadcrumb-module__root___x-9ln", Ls = "Breadcrumb-module__separator___qrUX-", Wo = {
|
|
1076
|
+
root: Is,
|
|
1077
|
+
separator: Ls
|
|
1078
|
+
}, Ms = f(
|
|
1079
1079
|
function({ overStyled: e = !1, separator: o = ">", children: t, ...n }, s) {
|
|
1080
1080
|
const l = m(
|
|
1081
|
-
{ separator: o, children:
|
|
1081
|
+
{ separator: o, children: kr(t), ...n },
|
|
1082
1082
|
e
|
|
1083
1083
|
), c = E(
|
|
1084
1084
|
{
|
|
@@ -1094,7 +1094,7 @@ const xs = Te(an), Os = "Breadcrumb-module__root___x-9ln", ks = "Breadcrumb-modu
|
|
|
1094
1094
|
}
|
|
1095
1095
|
}, p = l.className, u = p ? `${Wo.root} ${p}` : Wo.root;
|
|
1096
1096
|
return /* @__PURE__ */ r(
|
|
1097
|
-
|
|
1097
|
+
ja,
|
|
1098
1098
|
{
|
|
1099
1099
|
ref: s,
|
|
1100
1100
|
...l,
|
|
@@ -1105,10 +1105,10 @@ const xs = Te(an), Os = "Breadcrumb-module__root___x-9ln", ks = "Breadcrumb-modu
|
|
|
1105
1105
|
);
|
|
1106
1106
|
}
|
|
1107
1107
|
);
|
|
1108
|
-
|
|
1109
|
-
const
|
|
1110
|
-
root:
|
|
1111
|
-
},
|
|
1108
|
+
Ms.displayName = "Breadcrumb";
|
|
1109
|
+
const As = "Loader-module__root___6iYOP", Jo = {
|
|
1110
|
+
root: As
|
|
1111
|
+
}, ln = f(function({
|
|
1112
1112
|
variant: e = "oval",
|
|
1113
1113
|
size: o = "default",
|
|
1114
1114
|
animate: t = !0,
|
|
@@ -1125,9 +1125,9 @@ const Is = "Loader-module__root___6iYOP", Jo = {
|
|
|
1125
1125
|
}[o] || "default", d = m(s, n), p = d, u = E(
|
|
1126
1126
|
{ root: Jo.root },
|
|
1127
1127
|
p.classNames
|
|
1128
|
-
),
|
|
1128
|
+
), b = p.className, y = b ? `${Jo.root} ${b}` : Jo.root;
|
|
1129
1129
|
return /* @__PURE__ */ r(
|
|
1130
|
-
|
|
1130
|
+
qa,
|
|
1131
1131
|
{
|
|
1132
1132
|
ref: l,
|
|
1133
1133
|
...d,
|
|
@@ -1140,19 +1140,19 @@ const Is = "Loader-module__root___6iYOP", Jo = {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
);
|
|
1142
1142
|
});
|
|
1143
|
-
|
|
1144
|
-
const
|
|
1145
|
-
root:
|
|
1146
|
-
loader:
|
|
1147
|
-
label:
|
|
1148
|
-
labelText:
|
|
1149
|
-
iconWrapper:
|
|
1150
|
-
section:
|
|
1143
|
+
ln.displayName = "Loader";
|
|
1144
|
+
const Ws = "Button-module__root___Q2R8-", zs = "Button-module__loader___X-9u-", Ds = "Button-module__label___UJ3Zt", Es = "Button-module__labelText___rFV5p", Bs = "Button-module__iconWrapper___uEKPa", Fs = "Button-module__section___f2mKr", to = {
|
|
1145
|
+
root: Ws,
|
|
1146
|
+
loader: zs,
|
|
1147
|
+
label: Ds,
|
|
1148
|
+
labelText: Es,
|
|
1149
|
+
iconWrapper: Bs,
|
|
1150
|
+
section: Fs
|
|
1151
1151
|
};
|
|
1152
|
-
function
|
|
1152
|
+
function Us(a) {
|
|
1153
1153
|
return a == null || a === "" ? !1 : typeof a == "string" ? a.trim() !== "" : !0;
|
|
1154
1154
|
}
|
|
1155
|
-
const
|
|
1155
|
+
const cn = f(function({
|
|
1156
1156
|
variant: e = "solid",
|
|
1157
1157
|
size: o = "default",
|
|
1158
1158
|
icon: t,
|
|
@@ -1167,7 +1167,7 @@ const sn = f(function({
|
|
|
1167
1167
|
solid: "filled",
|
|
1168
1168
|
outline: "outline",
|
|
1169
1169
|
text: "subtle"
|
|
1170
|
-
},
|
|
1170
|
+
}, b = {
|
|
1171
1171
|
default: "md",
|
|
1172
1172
|
small: "sm"
|
|
1173
1173
|
}, y = [
|
|
@@ -1176,9 +1176,9 @@ const sn = f(function({
|
|
|
1176
1176
|
], g = V(
|
|
1177
1177
|
m(d, s),
|
|
1178
1178
|
y
|
|
1179
|
-
), h = g, C = !!t || !!h.leftSection,
|
|
1179
|
+
), h = g, C = !!t || !!h.leftSection, N = !!h.rightSection, P = Us(n), S = (C || N) && !P;
|
|
1180
1180
|
let w = "label";
|
|
1181
|
-
S ? w = "icon-only" : (C ||
|
|
1181
|
+
S ? w = "icon-only" : (C || N) && (w = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && S && !h["aria-label"] && console.warn(
|
|
1182
1182
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
1183
1183
|
);
|
|
1184
1184
|
const T = E(
|
|
@@ -1189,14 +1189,14 @@ const sn = f(function({
|
|
|
1189
1189
|
loader: to.loader
|
|
1190
1190
|
},
|
|
1191
1191
|
h.classNames
|
|
1192
|
-
), _ = h.className, $ = _ ? `${to.root} ${_}` : to.root, v = h.loaderProps, O =
|
|
1192
|
+
), _ = h.className, $ = _ ? `${to.root} ${_}` : to.root, v = h.loaderProps, O = Ue(
|
|
1193
1193
|
o === "small" ? "small" : "default",
|
|
1194
1194
|
c
|
|
1195
1195
|
);
|
|
1196
1196
|
let M = v;
|
|
1197
1197
|
return i && (M = {
|
|
1198
1198
|
children: /* @__PURE__ */ r(
|
|
1199
|
-
|
|
1199
|
+
ln,
|
|
1200
1200
|
{
|
|
1201
1201
|
variant: l,
|
|
1202
1202
|
size: O,
|
|
@@ -1206,14 +1206,14 @@ const sn = f(function({
|
|
|
1206
1206
|
),
|
|
1207
1207
|
...v
|
|
1208
1208
|
}), /* @__PURE__ */ r(
|
|
1209
|
-
|
|
1209
|
+
Ka,
|
|
1210
1210
|
{
|
|
1211
1211
|
ref: p,
|
|
1212
1212
|
...g,
|
|
1213
1213
|
className: $,
|
|
1214
1214
|
classNames: T,
|
|
1215
1215
|
variant: u[e],
|
|
1216
|
-
size:
|
|
1216
|
+
size: b[o],
|
|
1217
1217
|
loaderProps: M,
|
|
1218
1218
|
leftSection: t != null ? /* @__PURE__ */ r("span", { className: to.iconWrapper, "aria-hidden": !0, children: t }) : void 0,
|
|
1219
1219
|
"data-variant": e,
|
|
@@ -1224,26 +1224,26 @@ const sn = f(function({
|
|
|
1224
1224
|
}
|
|
1225
1225
|
);
|
|
1226
1226
|
});
|
|
1227
|
-
|
|
1228
|
-
const
|
|
1229
|
-
|
|
1230
|
-
),
|
|
1231
|
-
root:
|
|
1232
|
-
header:
|
|
1233
|
-
footer:
|
|
1234
|
-
section:
|
|
1235
|
-
content:
|
|
1236
|
-
},
|
|
1227
|
+
cn.displayName = "Button";
|
|
1228
|
+
const Fe = Te(
|
|
1229
|
+
cn
|
|
1230
|
+
), Vs = "Card-module__root___c9KvZ", Hs = "Card-module__header___PTXf2", Gs = "Card-module__footer___Mu-JC", js = "Card-module__section___BRT8H", qs = "Card-module__content___oFIQa", He = {
|
|
1231
|
+
root: Vs,
|
|
1232
|
+
header: Hs,
|
|
1233
|
+
footer: Gs,
|
|
1234
|
+
section: js,
|
|
1235
|
+
content: qs
|
|
1236
|
+
}, Ks = [
|
|
1237
1237
|
"radius",
|
|
1238
1238
|
// Border radius is token-driven (`--recursica_..._borders_border-radius`), not caller-set.
|
|
1239
1239
|
"withBorder",
|
|
1240
1240
|
// Border is always applied via tokens on `.root`; not an optional caller toggle.
|
|
1241
1241
|
"padding"
|
|
1242
1242
|
// Padding is token-driven (`--card-padding`), not Mantine's spacing-scale prop.
|
|
1243
|
-
],
|
|
1243
|
+
], dn = f(function({ overStyled: e = !1, ...o }, t) {
|
|
1244
1244
|
const n = V(
|
|
1245
1245
|
m(o, e),
|
|
1246
|
-
|
|
1246
|
+
Ks
|
|
1247
1247
|
);
|
|
1248
1248
|
[
|
|
1249
1249
|
"flex",
|
|
@@ -1272,8 +1272,8 @@ const Ue = Te(
|
|
|
1272
1272
|
}
|
|
1273
1273
|
);
|
|
1274
1274
|
});
|
|
1275
|
-
|
|
1276
|
-
const
|
|
1275
|
+
dn.displayName = "Card";
|
|
1276
|
+
const un = f(
|
|
1277
1277
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1278
1278
|
const n = m(o, e), s = n.className;
|
|
1279
1279
|
return /* @__PURE__ */ r(
|
|
@@ -1286,17 +1286,17 @@ const cn = f(
|
|
|
1286
1286
|
);
|
|
1287
1287
|
}
|
|
1288
1288
|
);
|
|
1289
|
-
|
|
1290
|
-
const
|
|
1289
|
+
un.displayName = "CardSection";
|
|
1290
|
+
const pn = [
|
|
1291
1291
|
"withBorder",
|
|
1292
1292
|
// The divider border is always applied via tokens on `.header`/`.footer`.
|
|
1293
1293
|
"inheritPadding"
|
|
1294
1294
|
// Padding is fixed by the `.header`/`.footer` token-driven padding, not Mantine's default.
|
|
1295
|
-
],
|
|
1295
|
+
], mn = f(
|
|
1296
1296
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1297
1297
|
const n = V(
|
|
1298
1298
|
m(o, e),
|
|
1299
|
-
|
|
1299
|
+
pn
|
|
1300
1300
|
), s = n.className;
|
|
1301
1301
|
return /* @__PURE__ */ r(
|
|
1302
1302
|
jo.Section,
|
|
@@ -1308,12 +1308,12 @@ const dn = [
|
|
|
1308
1308
|
);
|
|
1309
1309
|
}
|
|
1310
1310
|
);
|
|
1311
|
-
|
|
1312
|
-
const
|
|
1311
|
+
mn.displayName = "CardHeader";
|
|
1312
|
+
const _n = f(
|
|
1313
1313
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1314
1314
|
const n = V(
|
|
1315
1315
|
m(o, e),
|
|
1316
|
-
|
|
1316
|
+
pn
|
|
1317
1317
|
), s = n.className;
|
|
1318
1318
|
return /* @__PURE__ */ r(
|
|
1319
1319
|
jo.Section,
|
|
@@ -1325,8 +1325,8 @@ const pn = f(
|
|
|
1325
1325
|
);
|
|
1326
1326
|
}
|
|
1327
1327
|
);
|
|
1328
|
-
|
|
1329
|
-
const
|
|
1328
|
+
_n.displayName = "CardFooter";
|
|
1329
|
+
const fn = f(
|
|
1330
1330
|
function({ overStyled: e = !1, ...o }, t) {
|
|
1331
1331
|
const n = m(o, e), s = n.className;
|
|
1332
1332
|
return /* @__PURE__ */ r(
|
|
@@ -1339,21 +1339,21 @@ const mn = f(
|
|
|
1339
1339
|
);
|
|
1340
1340
|
}
|
|
1341
1341
|
);
|
|
1342
|
-
|
|
1343
|
-
const
|
|
1344
|
-
Ko.Section =
|
|
1345
|
-
Ko.Header =
|
|
1346
|
-
Ko.Footer =
|
|
1347
|
-
Ko.Content =
|
|
1348
|
-
const
|
|
1349
|
-
groupRoot:
|
|
1350
|
-
root:
|
|
1351
|
-
body:
|
|
1352
|
-
inner:
|
|
1353
|
-
input:
|
|
1354
|
-
icon:
|
|
1355
|
-
labelWrapper:
|
|
1356
|
-
label:
|
|
1342
|
+
fn.displayName = "CardContent";
|
|
1343
|
+
const yn = Te(dn), Ko = yn;
|
|
1344
|
+
Ko.Section = un;
|
|
1345
|
+
Ko.Header = mn;
|
|
1346
|
+
Ko.Footer = _n;
|
|
1347
|
+
Ko.Content = fn;
|
|
1348
|
+
const mp = yn, Ys = "Checkbox-module__groupRoot___cBS0o", Zs = "Checkbox-module__root___mY3qk", Xs = "Checkbox-module__body___5yC7q", Qs = "Checkbox-module__inner___rTke4", Js = "Checkbox-module__input___2kt-h", el = "Checkbox-module__icon___-O7i6", ol = "Checkbox-module__labelWrapper___GpZkr", tl = "Checkbox-module__label___cwRtI", ke = {
|
|
1349
|
+
groupRoot: Ys,
|
|
1350
|
+
root: Zs,
|
|
1351
|
+
body: Xs,
|
|
1352
|
+
inner: Qs,
|
|
1353
|
+
input: Js,
|
|
1354
|
+
icon: el,
|
|
1355
|
+
labelWrapper: ol,
|
|
1356
|
+
label: tl
|
|
1357
1357
|
}, Fo = f(
|
|
1358
1358
|
function(e, o) {
|
|
1359
1359
|
const {
|
|
@@ -1368,12 +1368,12 @@ const ip = _n, js = "Checkbox-module__groupRoot___cBS0o", qs = "Checkbox-module_
|
|
|
1368
1368
|
// Base Mantine Extracted Attributes
|
|
1369
1369
|
label: p,
|
|
1370
1370
|
description: u,
|
|
1371
|
-
assistiveText:
|
|
1371
|
+
assistiveText: b,
|
|
1372
1372
|
assistiveWithIcon: y,
|
|
1373
1373
|
error: g,
|
|
1374
1374
|
required: h,
|
|
1375
1375
|
withAsterisk: C,
|
|
1376
|
-
id:
|
|
1376
|
+
id: N,
|
|
1377
1377
|
className: P,
|
|
1378
1378
|
style: S,
|
|
1379
1379
|
children: w,
|
|
@@ -1407,12 +1407,12 @@ const ip = _n, js = "Checkbox-module__groupRoot___cBS0o", qs = "Checkbox-module_
|
|
|
1407
1407
|
onLabelEditClick: d,
|
|
1408
1408
|
label: p,
|
|
1409
1409
|
description: u,
|
|
1410
|
-
assistiveText:
|
|
1410
|
+
assistiveText: b,
|
|
1411
1411
|
assistiveWithIcon: y,
|
|
1412
1412
|
error: g,
|
|
1413
1413
|
required: h,
|
|
1414
1414
|
withAsterisk: C,
|
|
1415
|
-
id:
|
|
1415
|
+
id: N,
|
|
1416
1416
|
readOnly: T && !!_,
|
|
1417
1417
|
readOnlyComponent: _,
|
|
1418
1418
|
emptyValueComponent: $,
|
|
@@ -1420,7 +1420,7 @@ const ip = _n, js = "Checkbox-module__groupRoot___cBS0o", qs = "Checkbox-module_
|
|
|
1420
1420
|
readOnlyValue: v !== void 0 ? v : O,
|
|
1421
1421
|
readOnlyNativeProps: e,
|
|
1422
1422
|
activeComponent: v !== void 0 || O !== void 0 ? /* @__PURE__ */ r(
|
|
1423
|
-
|
|
1423
|
+
Ft.Group,
|
|
1424
1424
|
{
|
|
1425
1425
|
ref: o,
|
|
1426
1426
|
...W,
|
|
@@ -1457,7 +1457,7 @@ const Uo = f(
|
|
|
1457
1457
|
controlMaxWidth: d,
|
|
1458
1458
|
controlMinWidth: p,
|
|
1459
1459
|
...u
|
|
1460
|
-
} = e,
|
|
1460
|
+
} = e, b = [
|
|
1461
1461
|
"size",
|
|
1462
1462
|
// Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
|
|
1463
1463
|
"color",
|
|
@@ -1470,7 +1470,7 @@ const Uo = f(
|
|
|
1470
1470
|
// Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
|
|
1471
1471
|
], y = V(
|
|
1472
1472
|
m(u, t),
|
|
1473
|
-
|
|
1473
|
+
b
|
|
1474
1474
|
), g = y, h = E(
|
|
1475
1475
|
{
|
|
1476
1476
|
root: ke.root,
|
|
@@ -1482,7 +1482,7 @@ const Uo = f(
|
|
|
1482
1482
|
label: ke.label
|
|
1483
1483
|
},
|
|
1484
1484
|
g.classNames
|
|
1485
|
-
), C = g.className,
|
|
1485
|
+
), C = g.className, N = C ? `${ke.root} ${C}` : ke.root;
|
|
1486
1486
|
if (n && s) {
|
|
1487
1487
|
const S = !!(g.checked ?? g.defaultChecked), T = /* @__PURE__ */ r(
|
|
1488
1488
|
s,
|
|
@@ -1504,11 +1504,11 @@ const Uo = f(
|
|
|
1504
1504
|
) : /* @__PURE__ */ r(Ge, { children: T });
|
|
1505
1505
|
}
|
|
1506
1506
|
const P = /* @__PURE__ */ r(
|
|
1507
|
-
|
|
1507
|
+
Ft,
|
|
1508
1508
|
{
|
|
1509
1509
|
ref: o,
|
|
1510
1510
|
...y,
|
|
1511
|
-
className:
|
|
1511
|
+
className: N,
|
|
1512
1512
|
classNames: h,
|
|
1513
1513
|
disabled: n || l
|
|
1514
1514
|
}
|
|
@@ -1527,16 +1527,16 @@ const Uo = f(
|
|
|
1527
1527
|
);
|
|
1528
1528
|
Uo.displayName = "Checkbox";
|
|
1529
1529
|
Uo.Group = Fo;
|
|
1530
|
-
const
|
|
1531
|
-
root:
|
|
1532
|
-
label:
|
|
1533
|
-
mantineIconWrapper:
|
|
1534
|
-
innerWrapper:
|
|
1535
|
-
children:
|
|
1536
|
-
leadingIcon:
|
|
1537
|
-
deleteIcon:
|
|
1530
|
+
const nl = "Chip-module__root___f5pFk", al = "Chip-module__label___Ov9pg", rl = "Chip-module__mantineIconWrapper___KLSz6", sl = "Chip-module__innerWrapper___EnrTF", ll = "Chip-module__children___zbRAR", il = "Chip-module__leadingIcon___JBtjQ", cl = "Chip-module__deleteIcon___zPPsH", Oe = {
|
|
1531
|
+
root: nl,
|
|
1532
|
+
label: al,
|
|
1533
|
+
mantineIconWrapper: rl,
|
|
1534
|
+
innerWrapper: sl,
|
|
1535
|
+
children: ll,
|
|
1536
|
+
leadingIcon: il,
|
|
1537
|
+
deleteIcon: cl
|
|
1538
1538
|
};
|
|
1539
|
-
function
|
|
1539
|
+
function dl(a) {
|
|
1540
1540
|
return /* @__PURE__ */ L(
|
|
1541
1541
|
"svg",
|
|
1542
1542
|
{
|
|
@@ -1569,10 +1569,10 @@ const Vo = f(function({
|
|
|
1569
1569
|
overStyled: d = !1,
|
|
1570
1570
|
wrapperProps: p,
|
|
1571
1571
|
tabIndex: u,
|
|
1572
|
-
"aria-hidden":
|
|
1572
|
+
"aria-hidden": b,
|
|
1573
1573
|
...y
|
|
1574
1574
|
}, g) {
|
|
1575
|
-
const h = m(y, d), C = h,
|
|
1575
|
+
const h = m(y, d), C = h, N = E(
|
|
1576
1576
|
{
|
|
1577
1577
|
root: Oe.root,
|
|
1578
1578
|
label: Oe.label,
|
|
@@ -1586,22 +1586,22 @@ const Vo = f(function({
|
|
|
1586
1586
|
..._ ? { "data-interactive": "" } : {}
|
|
1587
1587
|
};
|
|
1588
1588
|
return /* @__PURE__ */ r(
|
|
1589
|
-
|
|
1589
|
+
Ya,
|
|
1590
1590
|
{
|
|
1591
1591
|
ref: g,
|
|
1592
1592
|
...h,
|
|
1593
1593
|
checked: i,
|
|
1594
1594
|
className: S,
|
|
1595
|
-
classNames:
|
|
1596
|
-
wrapperProps:
|
|
1595
|
+
classNames: N,
|
|
1596
|
+
wrapperProps: Ue($, p),
|
|
1597
1597
|
"data-icon-only": T ? "" : void 0,
|
|
1598
|
-
tabIndex:
|
|
1598
|
+
tabIndex: Ue(
|
|
1599
1599
|
_ ? void 0 : -1,
|
|
1600
1600
|
u
|
|
1601
1601
|
),
|
|
1602
|
-
"aria-hidden":
|
|
1602
|
+
"aria-hidden": Ue(
|
|
1603
1603
|
_ ? void 0 : !0,
|
|
1604
|
-
|
|
1604
|
+
b
|
|
1605
1605
|
),
|
|
1606
1606
|
children: /* @__PURE__ */ L("span", { className: Oe.innerWrapper, children: [
|
|
1607
1607
|
o && !i && /* @__PURE__ */ r("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: o }),
|
|
@@ -1622,7 +1622,7 @@ const Vo = f(function({
|
|
|
1622
1622
|
));
|
|
1623
1623
|
},
|
|
1624
1624
|
tabIndex: s ?? 0,
|
|
1625
|
-
children: /* @__PURE__ */ r(
|
|
1625
|
+
children: /* @__PURE__ */ r(dl, {})
|
|
1626
1626
|
}
|
|
1627
1627
|
)
|
|
1628
1628
|
] })
|
|
@@ -1630,9 +1630,9 @@ const Vo = f(function({
|
|
|
1630
1630
|
);
|
|
1631
1631
|
});
|
|
1632
1632
|
Vo.displayName = "Chip";
|
|
1633
|
-
const
|
|
1634
|
-
root:
|
|
1635
|
-
},
|
|
1633
|
+
const ul = "Container-module__root___UVssr", wo = {
|
|
1634
|
+
root: ul
|
|
1635
|
+
}, pl = f(
|
|
1636
1636
|
function({ children: e, size: o, ...t }, n) {
|
|
1637
1637
|
const s = {
|
|
1638
1638
|
"rec-sm": "sm",
|
|
@@ -1650,7 +1650,7 @@ const il = "Container-module__root___UVssr", wo = {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
const d = t.className, p = d ? `${wo.root} ${d}` : wo.root;
|
|
1652
1652
|
return /* @__PURE__ */ r(
|
|
1653
|
-
|
|
1653
|
+
Za,
|
|
1654
1654
|
{
|
|
1655
1655
|
ref: n,
|
|
1656
1656
|
size: l,
|
|
@@ -1662,8 +1662,8 @@ const il = "Container-module__root___UVssr", wo = {
|
|
|
1662
1662
|
);
|
|
1663
1663
|
}
|
|
1664
1664
|
);
|
|
1665
|
-
|
|
1666
|
-
function
|
|
1665
|
+
pl.displayName = "Container";
|
|
1666
|
+
function ml(a) {
|
|
1667
1667
|
return /* @__PURE__ */ L(
|
|
1668
1668
|
"svg",
|
|
1669
1669
|
{
|
|
@@ -1684,19 +1684,19 @@ function dl(a) {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
);
|
|
1686
1686
|
}
|
|
1687
|
-
const
|
|
1688
|
-
layoutOverride:
|
|
1689
|
-
root:
|
|
1690
|
-
input:
|
|
1691
|
-
section:
|
|
1692
|
-
dropdown:
|
|
1693
|
-
calendarHeader:
|
|
1694
|
-
calendarHeaderControl:
|
|
1695
|
-
calendarHeaderLevel:
|
|
1696
|
-
calendarHeaderControlIcon:
|
|
1697
|
-
weekday:
|
|
1698
|
-
day:
|
|
1699
|
-
},
|
|
1687
|
+
const _l = "DatePicker-module__layoutOverride___X9yaM", fl = "DatePicker-module__root___6XvRT", yl = "DatePicker-module__input___pcSW8", hl = "DatePicker-module__section___n3iWA", vl = "DatePicker-module__dropdown___wjt08", bl = "DatePicker-module__calendarHeader___KHxno", Nl = "DatePicker-module__calendarHeaderControl___q7UvJ", gl = "DatePicker-module__calendarHeaderLevel___ebdJ2", Cl = "DatePicker-module__calendarHeaderControlIcon___2tZOb", Pl = "DatePicker-module__weekday___H5lIj", Tl = "DatePicker-module__day___U03J2", ge = {
|
|
1688
|
+
layoutOverride: _l,
|
|
1689
|
+
root: fl,
|
|
1690
|
+
input: yl,
|
|
1691
|
+
section: hl,
|
|
1692
|
+
dropdown: vl,
|
|
1693
|
+
calendarHeader: bl,
|
|
1694
|
+
calendarHeaderControl: Nl,
|
|
1695
|
+
calendarHeaderLevel: gl,
|
|
1696
|
+
calendarHeaderControlIcon: Cl,
|
|
1697
|
+
weekday: Pl,
|
|
1698
|
+
day: Tl
|
|
1699
|
+
}, wl = [
|
|
1700
1700
|
"size",
|
|
1701
1701
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
1702
1702
|
"variant",
|
|
@@ -1705,7 +1705,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1705
1705
|
// Recursica does not expose the library's native corner-radius system.
|
|
1706
1706
|
"description"
|
|
1707
1707
|
// Managed by FormControlWrapper via assistiveText.
|
|
1708
|
-
],
|
|
1708
|
+
], Sl = f(
|
|
1709
1709
|
function(e, o) {
|
|
1710
1710
|
const {
|
|
1711
1711
|
overStyled: t = !1,
|
|
@@ -1718,12 +1718,12 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1718
1718
|
onLabelEditClick: d,
|
|
1719
1719
|
label: p,
|
|
1720
1720
|
assistiveText: u,
|
|
1721
|
-
assistiveWithIcon:
|
|
1721
|
+
assistiveWithIcon: b,
|
|
1722
1722
|
error: y,
|
|
1723
1723
|
required: g,
|
|
1724
1724
|
withAsterisk: h,
|
|
1725
1725
|
id: C,
|
|
1726
|
-
className:
|
|
1726
|
+
className: N,
|
|
1727
1727
|
style: P,
|
|
1728
1728
|
disabled: S,
|
|
1729
1729
|
readOnly: w,
|
|
@@ -1742,7 +1742,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1742
1742
|
...I
|
|
1743
1743
|
} = e, Y = V(
|
|
1744
1744
|
m(I, t),
|
|
1745
|
-
|
|
1745
|
+
wl
|
|
1746
1746
|
), G = Y, j = E(
|
|
1747
1747
|
{
|
|
1748
1748
|
wrapper: ge.root,
|
|
@@ -1765,7 +1765,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1765
1765
|
{ dropdown: ge.dropdown },
|
|
1766
1766
|
K
|
|
1767
1767
|
)
|
|
1768
|
-
}, ue =
|
|
1768
|
+
}, ue = N ? `${ge.layoutOverride} ${N}` : ge.layoutOverride;
|
|
1769
1769
|
return /* @__PURE__ */ r(
|
|
1770
1770
|
he,
|
|
1771
1771
|
{
|
|
@@ -1782,7 +1782,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1782
1782
|
onLabelEditClick: d,
|
|
1783
1783
|
label: p,
|
|
1784
1784
|
assistiveText: u,
|
|
1785
|
-
assistiveWithIcon:
|
|
1785
|
+
assistiveWithIcon: b,
|
|
1786
1786
|
error: y,
|
|
1787
1787
|
required: g,
|
|
1788
1788
|
withAsterisk: h,
|
|
@@ -1793,7 +1793,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1793
1793
|
readOnlyType: "text",
|
|
1794
1794
|
readOnlyValue: (() => {
|
|
1795
1795
|
const A = $ !== void 0 ? $ : v;
|
|
1796
|
-
return A ?
|
|
1796
|
+
return A ? gr({
|
|
1797
1797
|
type: "default",
|
|
1798
1798
|
date: A,
|
|
1799
1799
|
locale: "en",
|
|
@@ -1805,7 +1805,7 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1805
1805
|
activeComponent: (
|
|
1806
1806
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1807
1807
|
/* @__PURE__ */ r(
|
|
1808
|
-
|
|
1808
|
+
Nr,
|
|
1809
1809
|
{
|
|
1810
1810
|
ref: o,
|
|
1811
1811
|
...Y,
|
|
@@ -1820,8 +1820,8 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1820
1820
|
highlightToday: O,
|
|
1821
1821
|
valueFormat: M,
|
|
1822
1822
|
placeholder: D,
|
|
1823
|
-
leftSection:
|
|
1824
|
-
/* @__PURE__ */ r(
|
|
1823
|
+
leftSection: Ue(
|
|
1824
|
+
/* @__PURE__ */ r(ml, {}),
|
|
1825
1825
|
W
|
|
1826
1826
|
),
|
|
1827
1827
|
wrapperProps: {
|
|
@@ -1836,21 +1836,21 @@ const ul = "DatePicker-module__layoutOverride___X9yaM", pl = "DatePicker-module_
|
|
|
1836
1836
|
);
|
|
1837
1837
|
}
|
|
1838
1838
|
);
|
|
1839
|
-
|
|
1840
|
-
const
|
|
1841
|
-
layoutOverride:
|
|
1842
|
-
root:
|
|
1843
|
-
input:
|
|
1844
|
-
section:
|
|
1845
|
-
clearButton:
|
|
1846
|
-
dropdown:
|
|
1847
|
-
option:
|
|
1848
|
-
optionContent:
|
|
1849
|
-
optionIcon:
|
|
1850
|
-
optionText:
|
|
1851
|
-
optionTextWrap:
|
|
1852
|
-
optionSupportingText:
|
|
1853
|
-
},
|
|
1839
|
+
Sl.displayName = "DatePicker";
|
|
1840
|
+
const $l = "Dropdown-module__layoutOverride___FNcvP", xl = "Dropdown-module__root___uVyL0", Ol = "Dropdown-module__input___dK4dN", kl = "Dropdown-module__section___j3MRB", Rl = "Dropdown-module__clearButton___ODnIa", Il = "Dropdown-module__dropdown___gG-Sw", Ll = "Dropdown-module__option___nAGU-", Ml = "Dropdown-module__optionContent___QTwwg", Al = "Dropdown-module__optionIcon___2L56h", Wl = "Dropdown-module__optionText___cCDpI", zl = "Dropdown-module__optionTextWrap___L4OPI", Dl = "Dropdown-module__optionSupportingText___2JIOV", oe = {
|
|
1841
|
+
layoutOverride: $l,
|
|
1842
|
+
root: xl,
|
|
1843
|
+
input: Ol,
|
|
1844
|
+
section: kl,
|
|
1845
|
+
clearButton: Rl,
|
|
1846
|
+
dropdown: Il,
|
|
1847
|
+
option: Ll,
|
|
1848
|
+
optionContent: Ml,
|
|
1849
|
+
optionIcon: Al,
|
|
1850
|
+
optionText: Wl,
|
|
1851
|
+
optionTextWrap: zl,
|
|
1852
|
+
optionSupportingText: Dl
|
|
1853
|
+
}, El = [
|
|
1854
1854
|
"size",
|
|
1855
1855
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
1856
1856
|
"variant",
|
|
@@ -1859,7 +1859,7 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1859
1859
|
// Recursica does not expose the library's native corner-radius system.
|
|
1860
1860
|
"searchable"
|
|
1861
1861
|
// Not a supported Dropdown feature — that's what makes it an AutoComplete.
|
|
1862
|
-
],
|
|
1862
|
+
], Bl = f(
|
|
1863
1863
|
function(e, o) {
|
|
1864
1864
|
const {
|
|
1865
1865
|
overStyled: t = !1,
|
|
@@ -1872,12 +1872,12 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1872
1872
|
labelWithEditIcon: d,
|
|
1873
1873
|
onLabelEditClick: p,
|
|
1874
1874
|
label: u,
|
|
1875
|
-
assistiveText:
|
|
1875
|
+
assistiveText: b,
|
|
1876
1876
|
assistiveWithIcon: y,
|
|
1877
1877
|
error: g,
|
|
1878
1878
|
required: h,
|
|
1879
1879
|
withAsterisk: C,
|
|
1880
|
-
id:
|
|
1880
|
+
id: N,
|
|
1881
1881
|
className: P,
|
|
1882
1882
|
style: S,
|
|
1883
1883
|
disabled: w,
|
|
@@ -1893,8 +1893,8 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1893
1893
|
...Y
|
|
1894
1894
|
} = e, G = V(
|
|
1895
1895
|
m(Y, t),
|
|
1896
|
-
|
|
1897
|
-
), j = G, X =
|
|
1896
|
+
El
|
|
1897
|
+
), j = G, X = Xt(M), H = D, K = {
|
|
1898
1898
|
...H,
|
|
1899
1899
|
className: H != null && H.className ? `${oe.clearButton} ${H.className}` : oe.clearButton
|
|
1900
1900
|
}, J = E(
|
|
@@ -1932,12 +1932,12 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1932
1932
|
labelWithEditIcon: d,
|
|
1933
1933
|
onLabelEditClick: p,
|
|
1934
1934
|
label: u,
|
|
1935
|
-
assistiveText:
|
|
1935
|
+
assistiveText: b,
|
|
1936
1936
|
assistiveWithIcon: y,
|
|
1937
1937
|
error: g,
|
|
1938
1938
|
required: h,
|
|
1939
1939
|
withAsterisk: C,
|
|
1940
|
-
id:
|
|
1940
|
+
id: N,
|
|
1941
1941
|
readOnly: T,
|
|
1942
1942
|
readOnlyComponent: _,
|
|
1943
1943
|
emptyValueComponent: $,
|
|
@@ -1947,7 +1947,7 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1947
1947
|
activeComponent: (
|
|
1948
1948
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1949
1949
|
/* @__PURE__ */ r(
|
|
1950
|
-
|
|
1950
|
+
Ut,
|
|
1951
1951
|
{
|
|
1952
1952
|
ref: o,
|
|
1953
1953
|
...G,
|
|
@@ -1956,7 +1956,7 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1956
1956
|
value: v,
|
|
1957
1957
|
defaultValue: O,
|
|
1958
1958
|
data: X || [],
|
|
1959
|
-
renderOption: W ?? ((pe) =>
|
|
1959
|
+
renderOption: W ?? ((pe) => an(pe, ue, I)),
|
|
1960
1960
|
clearButtonProps: K,
|
|
1961
1961
|
label: void 0,
|
|
1962
1962
|
description: void 0,
|
|
@@ -1976,18 +1976,18 @@ const Tl = "Dropdown-module__layoutOverride___FNcvP", wl = "Dropdown-module__roo
|
|
|
1976
1976
|
);
|
|
1977
1977
|
}
|
|
1978
1978
|
);
|
|
1979
|
-
|
|
1980
|
-
const
|
|
1981
|
-
layoutOverride:
|
|
1982
|
-
root:
|
|
1983
|
-
leadingIcon:
|
|
1984
|
-
content:
|
|
1985
|
-
value:
|
|
1986
|
-
chipRow:
|
|
1987
|
-
chipWrapper:
|
|
1988
|
-
trailingIcon:
|
|
1979
|
+
Bl.displayName = "Dropdown";
|
|
1980
|
+
const Fl = "FileInput-module__layoutOverride___HIOY6", Ul = "FileInput-module__root___UvQj-", Vl = "FileInput-module__leadingIcon___z75c4", Hl = "FileInput-module__content___Udsvh", Gl = "FileInput-module__value___RX33R", jl = "FileInput-module__chipRow___My6TF", ql = "FileInput-module__chipWrapper___q2CDy", Kl = "FileInput-module__trailingIcon___odGPm", ze = {
|
|
1981
|
+
layoutOverride: Fl,
|
|
1982
|
+
root: Ul,
|
|
1983
|
+
leadingIcon: Vl,
|
|
1984
|
+
content: Hl,
|
|
1985
|
+
value: Gl,
|
|
1986
|
+
chipRow: jl,
|
|
1987
|
+
chipWrapper: ql,
|
|
1988
|
+
trailingIcon: Kl
|
|
1989
1989
|
};
|
|
1990
|
-
function
|
|
1990
|
+
function Yl() {
|
|
1991
1991
|
return /* @__PURE__ */ L(
|
|
1992
1992
|
"svg",
|
|
1993
1993
|
{
|
|
@@ -2007,7 +2007,7 @@ function jl() {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
);
|
|
2009
2009
|
}
|
|
2010
|
-
function
|
|
2010
|
+
function Zl() {
|
|
2011
2011
|
return /* @__PURE__ */ L(
|
|
2012
2012
|
"svg",
|
|
2013
2013
|
{
|
|
@@ -2026,7 +2026,7 @@ function ql() {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
);
|
|
2028
2028
|
}
|
|
2029
|
-
const
|
|
2029
|
+
const Xl = f(
|
|
2030
2030
|
function(e, o) {
|
|
2031
2031
|
const {
|
|
2032
2032
|
overStyled: t = !1,
|
|
@@ -2039,12 +2039,12 @@ const Kl = f(
|
|
|
2039
2039
|
labelActionArea: d,
|
|
2040
2040
|
onLabelEditClick: p,
|
|
2041
2041
|
label: u,
|
|
2042
|
-
assistiveText:
|
|
2042
|
+
assistiveText: b,
|
|
2043
2043
|
assistiveWithIcon: y,
|
|
2044
2044
|
error: g,
|
|
2045
2045
|
required: h,
|
|
2046
2046
|
withAsterisk: C,
|
|
2047
|
-
id:
|
|
2047
|
+
id: N,
|
|
2048
2048
|
className: P,
|
|
2049
2049
|
style: S,
|
|
2050
2050
|
disabled: w,
|
|
@@ -2066,27 +2066,27 @@ const Kl = f(
|
|
|
2066
2066
|
removeFileLabel: J = "Remove",
|
|
2067
2067
|
clearLabel: ue = "Clear",
|
|
2068
2068
|
...A
|
|
2069
|
-
} = e, pe = m(A, t), k = !w && !T, se = !!_ && _.length > 0, ve =
|
|
2069
|
+
} = e, pe = m(A, t), k = !w && !T, se = !!_ && _.length > 0, ve = Be(null), [re, le] = ie(!1), [be, we] = ie(!1), Ze = (x) => {
|
|
2070
2070
|
if (!k) return;
|
|
2071
2071
|
const te = Array.from(x);
|
|
2072
2072
|
if (te.length === 0) return;
|
|
2073
2073
|
const ne = M ? W : 1, Q = M ? (_ == null ? void 0 : _.length) ?? 0 : 0, _e = [], Mo = [];
|
|
2074
2074
|
let gt = !1, Ct = !1;
|
|
2075
2075
|
for (const Xo of te) {
|
|
2076
|
-
const Pt = !
|
|
2076
|
+
const Pt = !Zt(Xo, O);
|
|
2077
2077
|
Pt && (gt = !0);
|
|
2078
|
-
const
|
|
2079
|
-
Tt && (Ct = !0), (Pt ||
|
|
2078
|
+
const Ea = D !== void 0 && Xo.size > D, Tt = ne !== void 0 && Q + _e.length >= ne;
|
|
2079
|
+
Tt && (Ct = !0), (Pt || Ea || Tt ? Mo : _e).push(Xo);
|
|
2080
2080
|
}
|
|
2081
2081
|
le(gt), we(Ct), _e.length > 0 && ($ == null || $(_e)), Mo.length > 0 && (I == null || I(Mo));
|
|
2082
|
-
}, Se =
|
|
2083
|
-
x.preventDefault(), Se.current += 1,
|
|
2082
|
+
}, Se = Be(0), [Xe, Ae] = ie(!1), We = (x) => {
|
|
2083
|
+
x.preventDefault(), Se.current += 1, Ae(!0);
|
|
2084
2084
|
}, uo = (x) => {
|
|
2085
|
-
x.preventDefault(), Se.current -= 1, Se.current <= 0 && (Se.current = 0,
|
|
2085
|
+
x.preventDefault(), Se.current -= 1, Se.current <= 0 && (Se.current = 0, Ae(!1));
|
|
2086
2086
|
}, $e = (x) => {
|
|
2087
2087
|
x.preventDefault();
|
|
2088
2088
|
}, Qe = (x) => {
|
|
2089
|
-
x.preventDefault(), Se.current = 0,
|
|
2089
|
+
x.preventDefault(), Se.current = 0, Ae(!1), Ze(x.dataTransfer.files);
|
|
2090
2090
|
}, xe = () => {
|
|
2091
2091
|
var x;
|
|
2092
2092
|
k && ((x = ve.current) == null || x.click());
|
|
@@ -2096,7 +2096,7 @@ const Kl = f(
|
|
|
2096
2096
|
x.target.files && Ze(x.target.files), x.target.value = "";
|
|
2097
2097
|
}, B = () => {
|
|
2098
2098
|
!k || !_ || _.length === 0 || _.forEach((x) => v == null ? void 0 : v(x.id ?? x.file.name));
|
|
2099
|
-
}, [z, R] = ie(0), F =
|
|
2099
|
+
}, [z, R] = ie(0), F = Be([]), Z = Be((_ == null ? void 0 : _.length) ?? 0);
|
|
2100
2100
|
Re(() => {
|
|
2101
2101
|
var te;
|
|
2102
2102
|
const x = (_ == null ? void 0 : _.length) ?? 0;
|
|
@@ -2112,7 +2112,7 @@ const Kl = f(
|
|
|
2112
2112
|
if (te === 0) return;
|
|
2113
2113
|
let ne;
|
|
2114
2114
|
x.key === "ArrowRight" || x.key === "ArrowDown" ? ne = (z + 1) % te : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ne = (z - 1 + te) % te), ne !== void 0 && (x.preventDefault(), x.stopPropagation(), R(ne), (Q = F.current[ne]) == null || Q.focus());
|
|
2115
|
-
}, eo = g ?? (re ? Y : be ? G : void 0), po = P ? `${
|
|
2115
|
+
}, eo = g ?? (re ? Y : be ? G : void 0), po = P ? `${ze.layoutOverride} ${P}` : ze.layoutOverride;
|
|
2116
2116
|
return /* @__PURE__ */ r(
|
|
2117
2117
|
No,
|
|
2118
2118
|
{
|
|
@@ -2127,12 +2127,12 @@ const Kl = f(
|
|
|
2127
2127
|
labelActionArea: d,
|
|
2128
2128
|
onLabelEditClick: p,
|
|
2129
2129
|
label: u,
|
|
2130
|
-
assistiveText:
|
|
2130
|
+
assistiveText: b,
|
|
2131
2131
|
assistiveWithIcon: y,
|
|
2132
2132
|
error: eo,
|
|
2133
2133
|
required: h,
|
|
2134
2134
|
withAsterisk: C,
|
|
2135
|
-
id:
|
|
2135
|
+
id: N,
|
|
2136
2136
|
controlMaxWidth: "var(--file-input-control-max-width)",
|
|
2137
2137
|
controlMinWidth: "var(--file-input-control-min-width)",
|
|
2138
2138
|
children: /* @__PURE__ */ L(
|
|
@@ -2140,7 +2140,7 @@ const Kl = f(
|
|
|
2140
2140
|
{
|
|
2141
2141
|
ref: o,
|
|
2142
2142
|
...pe,
|
|
2143
|
-
className:
|
|
2143
|
+
className: ze.root,
|
|
2144
2144
|
role: "button",
|
|
2145
2145
|
"aria-label": K,
|
|
2146
2146
|
"aria-disabled": w ? "true" : void 0,
|
|
@@ -2151,25 +2151,25 @@ const Kl = f(
|
|
|
2151
2151
|
"data-dragging": Xe ? "true" : void 0,
|
|
2152
2152
|
onClick: k ? xe : void 0,
|
|
2153
2153
|
onKeyDown: k ? Je : void 0,
|
|
2154
|
-
onDragEnter: k ?
|
|
2154
|
+
onDragEnter: k ? We : void 0,
|
|
2155
2155
|
onDragLeave: k ? uo : void 0,
|
|
2156
2156
|
onDragOver: k ? $e : void 0,
|
|
2157
2157
|
onDrop: k ? Qe : void 0,
|
|
2158
2158
|
children: [
|
|
2159
|
-
/* @__PURE__ */ r("span", { className:
|
|
2160
|
-
/* @__PURE__ */ L("div", { className:
|
|
2161
|
-
!se && /* @__PURE__ */ r("span", { className:
|
|
2159
|
+
/* @__PURE__ */ r("span", { className: ze.leadingIcon, "aria-hidden": !0, children: j ?? /* @__PURE__ */ r(Yl, {}) }),
|
|
2160
|
+
/* @__PURE__ */ L("div", { className: ze.content, children: [
|
|
2161
|
+
!se && /* @__PURE__ */ r("span", { className: ze.value, "data-placeholder": "true", children: H }),
|
|
2162
2162
|
se && /* @__PURE__ */ r(
|
|
2163
2163
|
"div",
|
|
2164
2164
|
{
|
|
2165
|
-
className:
|
|
2165
|
+
className: ze.chipRow,
|
|
2166
2166
|
onKeyDown: T ? void 0 : me,
|
|
2167
2167
|
children: _.map((x, te) => {
|
|
2168
2168
|
const ne = x.id ?? x.file.name;
|
|
2169
2169
|
return /* @__PURE__ */ r(
|
|
2170
2170
|
"span",
|
|
2171
2171
|
{
|
|
2172
|
-
className:
|
|
2172
|
+
className: ze.chipWrapper,
|
|
2173
2173
|
onClick: (Q) => Q.stopPropagation(),
|
|
2174
2174
|
children: /* @__PURE__ */ r(
|
|
2175
2175
|
Vo,
|
|
@@ -2193,14 +2193,14 @@ const Kl = f(
|
|
|
2193
2193
|
)
|
|
2194
2194
|
] }),
|
|
2195
2195
|
se && !T && /* @__PURE__ */ r(
|
|
2196
|
-
|
|
2196
|
+
Fe,
|
|
2197
2197
|
{
|
|
2198
2198
|
overStyled: !0,
|
|
2199
2199
|
variant: "text",
|
|
2200
2200
|
size: "small",
|
|
2201
|
-
icon: X ?? /* @__PURE__ */ r(
|
|
2201
|
+
icon: X ?? /* @__PURE__ */ r(Zl, {}),
|
|
2202
2202
|
"aria-label": ue,
|
|
2203
|
-
className:
|
|
2203
|
+
className: ze.trailingIcon,
|
|
2204
2204
|
disabled: w,
|
|
2205
2205
|
onClick: (x) => {
|
|
2206
2206
|
x.preventDefault(), x.stopPropagation(), B();
|
|
@@ -2229,16 +2229,16 @@ const Kl = f(
|
|
|
2229
2229
|
);
|
|
2230
2230
|
}
|
|
2231
2231
|
);
|
|
2232
|
-
|
|
2233
|
-
const
|
|
2234
|
-
layoutOverride:
|
|
2235
|
-
root:
|
|
2236
|
-
dropzone:
|
|
2237
|
-
uploadIcon:
|
|
2238
|
-
dropzoneText:
|
|
2239
|
-
fileList:
|
|
2232
|
+
Xl.displayName = "FileInput";
|
|
2233
|
+
const Ql = "FileUpload-module__layoutOverride___bPpi8", Jl = "FileUpload-module__root___Q-vcm", ei = "FileUpload-module__dropzone___jqua0", oi = "FileUpload-module__uploadIcon___bb3Nc", ti = "FileUpload-module__dropzoneText___L7vS-", ni = "FileUpload-module__fileList___XIWLl", no = {
|
|
2234
|
+
layoutOverride: Ql,
|
|
2235
|
+
root: Jl,
|
|
2236
|
+
dropzone: ei,
|
|
2237
|
+
uploadIcon: oi,
|
|
2238
|
+
dropzoneText: ti,
|
|
2239
|
+
fileList: ni
|
|
2240
2240
|
};
|
|
2241
|
-
function
|
|
2241
|
+
function ai() {
|
|
2242
2242
|
return /* @__PURE__ */ L(
|
|
2243
2243
|
"svg",
|
|
2244
2244
|
{
|
|
@@ -2258,7 +2258,7 @@ function oi() {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
);
|
|
2260
2260
|
}
|
|
2261
|
-
const
|
|
2261
|
+
const ri = f(
|
|
2262
2262
|
function(e, o) {
|
|
2263
2263
|
const {
|
|
2264
2264
|
overStyled: t = !1,
|
|
@@ -2271,12 +2271,12 @@ const ti = f(
|
|
|
2271
2271
|
labelActionArea: d,
|
|
2272
2272
|
onLabelEditClick: p,
|
|
2273
2273
|
label: u,
|
|
2274
|
-
assistiveText:
|
|
2274
|
+
assistiveText: b,
|
|
2275
2275
|
assistiveWithIcon: y,
|
|
2276
2276
|
error: g,
|
|
2277
2277
|
required: h,
|
|
2278
2278
|
withAsterisk: C,
|
|
2279
|
-
id:
|
|
2279
|
+
id: N,
|
|
2280
2280
|
className: P,
|
|
2281
2281
|
style: S,
|
|
2282
2282
|
disabled: w,
|
|
@@ -2296,33 +2296,33 @@ const ti = f(
|
|
|
2296
2296
|
browseButtonLabel: H = "Browse files",
|
|
2297
2297
|
removeFileLabel: K = "Remove",
|
|
2298
2298
|
...J
|
|
2299
|
-
} = e, A = m(J, t), ae =
|
|
2299
|
+
} = e, A = m(J, t), ae = Be(null), [pe, k] = ie(!1), [se, ve] = ie(!1), re = (R) => {
|
|
2300
2300
|
if (w) return;
|
|
2301
2301
|
const F = Array.from(R);
|
|
2302
2302
|
if (F.length === 0) return;
|
|
2303
2303
|
const Z = (_ == null ? void 0 : _.length) ?? 0, me = [], eo = [];
|
|
2304
2304
|
let po = !1, x = !1;
|
|
2305
2305
|
for (const te of F) {
|
|
2306
|
-
const ne = !
|
|
2306
|
+
const ne = !Zt(te, O);
|
|
2307
2307
|
ne && (po = !0);
|
|
2308
2308
|
const Q = D !== void 0 && te.size > D, _e = W !== void 0 && Z + me.length >= W;
|
|
2309
2309
|
_e && (x = !0), (ne || Q || _e ? eo : me).push(te);
|
|
2310
2310
|
}
|
|
2311
2311
|
k(po), ve(x), me.length > 0 && ($ == null || $(me)), eo.length > 0 && (I == null || I(eo));
|
|
2312
|
-
}, le =
|
|
2312
|
+
}, le = Be(0), [be, we] = ie(!1), Ze = (R) => {
|
|
2313
2313
|
R.preventDefault(), le.current += 1, we(!0);
|
|
2314
2314
|
}, Se = (R) => {
|
|
2315
2315
|
R.preventDefault(), le.current -= 1, le.current <= 0 && (le.current = 0, we(!1));
|
|
2316
2316
|
}, Xe = (R) => {
|
|
2317
2317
|
R.preventDefault();
|
|
2318
|
-
},
|
|
2318
|
+
}, Ae = (R) => {
|
|
2319
2319
|
R.preventDefault(), le.current = 0, we(!1), re(R.dataTransfer.files);
|
|
2320
|
-
},
|
|
2320
|
+
}, We = () => {
|
|
2321
2321
|
var R;
|
|
2322
2322
|
w || (R = ae.current) == null || R.click();
|
|
2323
2323
|
}, uo = (R) => {
|
|
2324
2324
|
R.target.files && re(R.target.files), R.target.value = "";
|
|
2325
|
-
}, [$e, Qe] = ie(0), xe =
|
|
2325
|
+
}, [$e, Qe] = ie(0), xe = Be([]), Je = Be((_ == null ? void 0 : _.length) ?? 0);
|
|
2326
2326
|
Re(() => {
|
|
2327
2327
|
var F;
|
|
2328
2328
|
const R = (_ == null ? void 0 : _.length) ?? 0;
|
|
@@ -2353,12 +2353,12 @@ const ti = f(
|
|
|
2353
2353
|
labelActionArea: d,
|
|
2354
2354
|
onLabelEditClick: p,
|
|
2355
2355
|
label: u,
|
|
2356
|
-
assistiveText:
|
|
2356
|
+
assistiveText: b,
|
|
2357
2357
|
assistiveWithIcon: y,
|
|
2358
2358
|
error: B,
|
|
2359
2359
|
required: h,
|
|
2360
2360
|
withAsterisk: C,
|
|
2361
|
-
id:
|
|
2361
|
+
id: N,
|
|
2362
2362
|
controlMaxWidth: "var(--recursica_ui-kit_globals_form_field_size_max-width)",
|
|
2363
2363
|
children: /* @__PURE__ */ L(
|
|
2364
2364
|
"div",
|
|
@@ -2377,16 +2377,16 @@ const ti = f(
|
|
|
2377
2377
|
onDragEnter: w ? void 0 : Ze,
|
|
2378
2378
|
onDragLeave: w ? void 0 : Se,
|
|
2379
2379
|
onDragOver: w ? void 0 : Xe,
|
|
2380
|
-
onDrop: w ? void 0 :
|
|
2380
|
+
onDrop: w ? void 0 : Ae,
|
|
2381
2381
|
children: [
|
|
2382
|
-
/* @__PURE__ */ r("span", { className: no.uploadIcon, children: j ?? /* @__PURE__ */ r(
|
|
2382
|
+
/* @__PURE__ */ r("span", { className: no.uploadIcon, children: j ?? /* @__PURE__ */ r(ai, {}) }),
|
|
2383
2383
|
/* @__PURE__ */ r("span", { className: no.dropzoneText, children: X }),
|
|
2384
2384
|
/* @__PURE__ */ r(
|
|
2385
|
-
|
|
2385
|
+
Fe,
|
|
2386
2386
|
{
|
|
2387
2387
|
variant: "outline",
|
|
2388
2388
|
disabled: w,
|
|
2389
|
-
onClick:
|
|
2389
|
+
onClick: We,
|
|
2390
2390
|
children: H
|
|
2391
2391
|
}
|
|
2392
2392
|
),
|
|
@@ -2440,10 +2440,10 @@ const ti = f(
|
|
|
2440
2440
|
);
|
|
2441
2441
|
}
|
|
2442
2442
|
);
|
|
2443
|
-
|
|
2444
|
-
const
|
|
2445
|
-
root:
|
|
2446
|
-
},
|
|
2443
|
+
ri.displayName = "FileUpload";
|
|
2444
|
+
const si = "Flex-module__root___yYser", So = {
|
|
2445
|
+
root: si
|
|
2446
|
+
}, hn = f(function({ children: e, gap: o = "rec-default", rowGap: t, columnGap: n, ...s }, l) {
|
|
2447
2447
|
const c = {
|
|
2448
2448
|
root: So.root
|
|
2449
2449
|
}, i = s.classNames;
|
|
@@ -2453,7 +2453,7 @@ const ni = "Flex-module__root___yYser", So = {
|
|
|
2453
2453
|
}
|
|
2454
2454
|
const d = s.className, p = d ? `${So.root} ${d}` : So.root;
|
|
2455
2455
|
return /* @__PURE__ */ r(
|
|
2456
|
-
|
|
2456
|
+
Xa,
|
|
2457
2457
|
{
|
|
2458
2458
|
ref: l,
|
|
2459
2459
|
className: p,
|
|
@@ -2463,12 +2463,12 @@ const ni = "Flex-module__root___yYser", So = {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
);
|
|
2465
2465
|
});
|
|
2466
|
-
|
|
2467
|
-
const
|
|
2468
|
-
root:
|
|
2469
|
-
inner:
|
|
2470
|
-
col:
|
|
2471
|
-
},
|
|
2466
|
+
hn.displayName = "Flex";
|
|
2467
|
+
const _p = Te(hn), li = "LayoutGrid-module__root___etcau", ii = "LayoutGrid-module__inner___Oz2XL", ci = "LayoutGrid-module__col___8EYKw", ce = {
|
|
2468
|
+
root: li,
|
|
2469
|
+
inner: ii,
|
|
2470
|
+
col: ci
|
|
2471
|
+
}, di = 1, vn = at({}), bn = f(
|
|
2472
2472
|
function({ children: e, ...o }, t) {
|
|
2473
2473
|
const n = {
|
|
2474
2474
|
root: ce.root,
|
|
@@ -2483,17 +2483,17 @@ const cp = Te(fn), ai = "LayoutGrid-module__root___etcau", ri = "LayoutGrid-modu
|
|
|
2483
2483
|
d
|
|
2484
2484
|
);
|
|
2485
2485
|
return /* @__PURE__ */ r(
|
|
2486
|
-
|
|
2486
|
+
vn.Provider,
|
|
2487
2487
|
{
|
|
2488
2488
|
value: {
|
|
2489
2489
|
type: o.type,
|
|
2490
2490
|
breakpoints: o.breakpoints
|
|
2491
2491
|
},
|
|
2492
2492
|
children: /* @__PURE__ */ r(
|
|
2493
|
-
|
|
2493
|
+
Vt,
|
|
2494
2494
|
{
|
|
2495
2495
|
ref: t,
|
|
2496
|
-
columns:
|
|
2496
|
+
columns: di,
|
|
2497
2497
|
gutter: "var(--recursica_brand_layout-grids_column-gutter)",
|
|
2498
2498
|
"data-recursica-grow": o.grow ? "" : void 0,
|
|
2499
2499
|
className: c,
|
|
@@ -2506,10 +2506,10 @@ const cp = Te(fn), ai = "LayoutGrid-module__root___etcau", ri = "LayoutGrid-modu
|
|
|
2506
2506
|
);
|
|
2507
2507
|
}
|
|
2508
2508
|
);
|
|
2509
|
-
|
|
2510
|
-
const
|
|
2511
|
-
|
|
2512
|
-
), tt = "var(--recursica_brand_layout-grids_columns)",
|
|
2509
|
+
bn.displayName = "LayoutGrid";
|
|
2510
|
+
const ui = Te(
|
|
2511
|
+
bn
|
|
2512
|
+
), tt = "var(--recursica_brand_layout-grids_columns)", pi = (a) => {
|
|
2513
2513
|
if (typeof a == "number") {
|
|
2514
2514
|
const e = `calc(min(${a}, ${tt}) / ${tt} * 100%)`;
|
|
2515
2515
|
return { "--rec-col-basis": e, "--rec-col-max-width": e };
|
|
@@ -2518,20 +2518,20 @@ const ii = Te(
|
|
|
2518
2518
|
"--rec-col-basis": "var(--col-flex-basis)",
|
|
2519
2519
|
"--rec-col-max-width": "var(--col-max-width)"
|
|
2520
2520
|
};
|
|
2521
|
-
},
|
|
2521
|
+
}, mi = (a) => ({
|
|
2522
2522
|
"--rec-col-offset": typeof a == "number" ? `calc(${a} / ${tt} * 100%)` : "var(--col-offset)"
|
|
2523
|
-
}),
|
|
2524
|
-
...bo(a, o) === void 0 ? {} :
|
|
2525
|
-
...bo(e, o) === void 0 ? {} :
|
|
2523
|
+
}), _i = (a) => typeof a == "object" && a !== null, bo = (a, e) => _i(a) ? a[e] : e === "base" ? a : void 0, Ot = (a, e, o) => ({
|
|
2524
|
+
...bo(a, o) === void 0 ? {} : pi(bo(a, o)),
|
|
2525
|
+
...bo(e, o) === void 0 ? {} : mi(bo(e, o))
|
|
2526
2526
|
});
|
|
2527
|
-
function
|
|
2527
|
+
function fi({
|
|
2528
2528
|
selector: a,
|
|
2529
2529
|
span: e,
|
|
2530
2530
|
offset: o
|
|
2531
2531
|
}) {
|
|
2532
|
-
const t =
|
|
2532
|
+
const t = Ja(), { type: n, breakpoints: s } = rt(vn), l = s ?? t.breakpoints, c = Object.keys(l).filter(
|
|
2533
2533
|
(d) => bo(e, d) !== void 0 || bo(o, d) !== void 0
|
|
2534
|
-
), i =
|
|
2534
|
+
), i = er(
|
|
2535
2535
|
c,
|
|
2536
2536
|
l
|
|
2537
2537
|
).map(({ value: d }) => ({
|
|
@@ -2539,7 +2539,7 @@ function pi({
|
|
|
2539
2539
|
styles: Ot(e, o, d)
|
|
2540
2540
|
}));
|
|
2541
2541
|
return /* @__PURE__ */ r(
|
|
2542
|
-
|
|
2542
|
+
or,
|
|
2543
2543
|
{
|
|
2544
2544
|
selector: a,
|
|
2545
2545
|
styles: Ot(e ?? 12, o, "base"),
|
|
@@ -2548,7 +2548,7 @@ function pi({
|
|
|
2548
2548
|
}
|
|
2549
2549
|
);
|
|
2550
2550
|
}
|
|
2551
|
-
const
|
|
2551
|
+
const Nn = f(
|
|
2552
2552
|
function({ children: e, ...o }, t) {
|
|
2553
2553
|
const n = {
|
|
2554
2554
|
col: ce.col
|
|
@@ -2557,10 +2557,10 @@ const vn = f(
|
|
|
2557
2557
|
const d = s;
|
|
2558
2558
|
n.col = d.col ? `${ce.col} ${d.col}` : ce.col;
|
|
2559
2559
|
}
|
|
2560
|
-
const l = o.className, c = l ? `${ce.col} ${l}` : ce.col, i =
|
|
2560
|
+
const l = o.className, c = l ? `${ce.col} ${l}` : ce.col, i = Qa();
|
|
2561
2561
|
return /* @__PURE__ */ L(Ge, { children: [
|
|
2562
2562
|
/* @__PURE__ */ r(
|
|
2563
|
-
|
|
2563
|
+
fi,
|
|
2564
2564
|
{
|
|
2565
2565
|
selector: `.${i}`,
|
|
2566
2566
|
span: o.span,
|
|
@@ -2568,7 +2568,7 @@ const vn = f(
|
|
|
2568
2568
|
}
|
|
2569
2569
|
),
|
|
2570
2570
|
/* @__PURE__ */ r(
|
|
2571
|
-
|
|
2571
|
+
Vt.Col,
|
|
2572
2572
|
{
|
|
2573
2573
|
ref: t,
|
|
2574
2574
|
className: `${c} ${i}`,
|
|
@@ -2582,12 +2582,12 @@ const vn = f(
|
|
|
2582
2582
|
] });
|
|
2583
2583
|
}
|
|
2584
2584
|
);
|
|
2585
|
-
|
|
2586
|
-
const
|
|
2587
|
-
|
|
2588
|
-
const
|
|
2589
|
-
root:
|
|
2590
|
-
},
|
|
2585
|
+
Nn.displayName = "LayoutGridCol";
|
|
2586
|
+
const yi = Te(Nn), hi = ui;
|
|
2587
|
+
hi.Col = yi;
|
|
2588
|
+
const vi = "Group-module__root___ftO64", $o = {
|
|
2589
|
+
root: vi
|
|
2590
|
+
}, bi = f(function({ children: e, gap: o = "rec-default", ...t }, n) {
|
|
2591
2591
|
const s = {
|
|
2592
2592
|
root: $o.root
|
|
2593
2593
|
}, l = t.classNames;
|
|
@@ -2597,7 +2597,7 @@ const fi = "Group-module__root___ftO64", $o = {
|
|
|
2597
2597
|
}
|
|
2598
2598
|
const c = t.className, i = c ? `${$o.root} ${c}` : $o.root;
|
|
2599
2599
|
return /* @__PURE__ */ r(
|
|
2600
|
-
|
|
2600
|
+
tr,
|
|
2601
2601
|
{
|
|
2602
2602
|
ref: n,
|
|
2603
2603
|
className: i,
|
|
@@ -2607,10 +2607,10 @@ const fi = "Group-module__root___ftO64", $o = {
|
|
|
2607
2607
|
}
|
|
2608
2608
|
);
|
|
2609
2609
|
});
|
|
2610
|
-
|
|
2611
|
-
const
|
|
2612
|
-
root:
|
|
2613
|
-
},
|
|
2610
|
+
bi.displayName = "Group";
|
|
2611
|
+
const Ni = "Heading-module__root___-To4U", gi = {
|
|
2612
|
+
root: Ni
|
|
2613
|
+
}, Ci = f(
|
|
2614
2614
|
function({
|
|
2615
2615
|
overStyled: e = !1,
|
|
2616
2616
|
order: o = 1,
|
|
@@ -2624,9 +2624,9 @@ const hi = "Heading-module__root___-To4U", vi = {
|
|
|
2624
2624
|
], i = V(
|
|
2625
2625
|
m(s, e),
|
|
2626
2626
|
c
|
|
2627
|
-
), d = i.className, u = [`recursica_brand_typography_h${o}`,
|
|
2627
|
+
), d = i.className, u = [`recursica_brand_typography_h${o}`, gi.root, d].filter(Boolean).join(" ");
|
|
2628
2628
|
return /* @__PURE__ */ r(
|
|
2629
|
-
|
|
2629
|
+
nr,
|
|
2630
2630
|
{
|
|
2631
2631
|
ref: l,
|
|
2632
2632
|
...i,
|
|
@@ -2638,11 +2638,11 @@ const hi = "Heading-module__root___-To4U", vi = {
|
|
|
2638
2638
|
);
|
|
2639
2639
|
}
|
|
2640
2640
|
);
|
|
2641
|
-
|
|
2642
|
-
const
|
|
2643
|
-
dropdown:
|
|
2644
|
-
arrow:
|
|
2645
|
-
},
|
|
2641
|
+
Ci.displayName = "Heading";
|
|
2642
|
+
const Pi = "HoverCard-module__dropdown___FBPFW", Ti = "HoverCard-module__arrow___S9AkE", kt = {
|
|
2643
|
+
dropdown: Pi,
|
|
2644
|
+
arrow: Ti
|
|
2645
|
+
}, gn = function({
|
|
2646
2646
|
overStyled: e = !1,
|
|
2647
2647
|
withBeak: o = !0,
|
|
2648
2648
|
position: t = "top",
|
|
@@ -2672,12 +2672,12 @@ const Ni = "HoverCard-module__dropdown___FBPFW", gi = "HoverCard-module__arrow__
|
|
|
2672
2672
|
}
|
|
2673
2673
|
);
|
|
2674
2674
|
};
|
|
2675
|
-
|
|
2676
|
-
const
|
|
2675
|
+
gn.displayName = "HoverCard";
|
|
2676
|
+
const Cn = function(e) {
|
|
2677
2677
|
return /* @__PURE__ */ r(lt.Target, { ...e });
|
|
2678
2678
|
};
|
|
2679
|
-
|
|
2680
|
-
const
|
|
2679
|
+
Cn.displayName = "HoverCardTarget";
|
|
2680
|
+
const Pn = function({
|
|
2681
2681
|
overStyled: e = !1,
|
|
2682
2682
|
...o
|
|
2683
2683
|
}) {
|
|
@@ -2690,21 +2690,21 @@ const gn = function({
|
|
|
2690
2690
|
}
|
|
2691
2691
|
);
|
|
2692
2692
|
};
|
|
2693
|
-
|
|
2694
|
-
const
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
const
|
|
2698
|
-
root:
|
|
2699
|
-
iconWrapper:
|
|
2700
|
-
labelText:
|
|
2701
|
-
},
|
|
2693
|
+
Pn.displayName = "HoverCardDropdown";
|
|
2694
|
+
const Tn = gn;
|
|
2695
|
+
Tn.Target = Cn;
|
|
2696
|
+
Tn.Dropdown = Pn;
|
|
2697
|
+
const wi = "Link-module__root___I0VGE", Si = "Link-module__iconWrapper___W-LlF", $i = "Link-module__labelText___wSvUy", xo = {
|
|
2698
|
+
root: wi,
|
|
2699
|
+
iconWrapper: Si,
|
|
2700
|
+
labelText: $i
|
|
2701
|
+
}, wn = f(function({ icon: e, children: o, overStyled: t = !1, ...n }, s) {
|
|
2702
2702
|
const l = m(n, t), c = l, i = E(
|
|
2703
2703
|
{ root: xo.root },
|
|
2704
2704
|
c.classNames
|
|
2705
2705
|
), d = c.className, p = d ? `${xo.root} ${d}` : xo.root;
|
|
2706
2706
|
return /* @__PURE__ */ L(
|
|
2707
|
-
|
|
2707
|
+
ar,
|
|
2708
2708
|
{
|
|
2709
2709
|
ref: s,
|
|
2710
2710
|
...l,
|
|
@@ -2719,16 +2719,16 @@ const Ci = "Link-module__root___I0VGE", Pi = "Link-module__iconWrapper___W-LlF",
|
|
|
2719
2719
|
}
|
|
2720
2720
|
);
|
|
2721
2721
|
});
|
|
2722
|
-
|
|
2723
|
-
const
|
|
2724
|
-
dropdown:
|
|
2725
|
-
item:
|
|
2726
|
-
itemLabel:
|
|
2727
|
-
itemSection:
|
|
2728
|
-
divider:
|
|
2729
|
-
label:
|
|
2730
|
-
chevron:
|
|
2731
|
-
},
|
|
2722
|
+
wn.displayName = "Link";
|
|
2723
|
+
const fp = Te(wn), xi = "Menu-module__dropdown___j4xuA", Oi = "Menu-module__item___NMXha", ki = "Menu-module__itemLabel___zvcqC", Ri = "Menu-module__itemSection___pRIcn", Ii = "Menu-module__divider___wPiNq", Li = "Menu-module__label___4FBGa", Mi = "Menu-module__chevron___hEEiy", _o = {
|
|
2724
|
+
dropdown: xi,
|
|
2725
|
+
item: Oi,
|
|
2726
|
+
itemLabel: ki,
|
|
2727
|
+
itemSection: Ri,
|
|
2728
|
+
divider: Ii,
|
|
2729
|
+
label: Li,
|
|
2730
|
+
chevron: Mi
|
|
2731
|
+
}, Sn = function({ overStyled: e = !1, ...o }) {
|
|
2732
2732
|
const n = m(o, e), { maxHeight: s, ...l } = n, c = E(
|
|
2733
2733
|
{
|
|
2734
2734
|
dropdown: _o.dropdown,
|
|
@@ -2749,7 +2749,7 @@ const dp = Te(Pn), wi = "Menu-module__dropdown___j4xuA", Si = "Menu-module__item
|
|
|
2749
2749
|
}
|
|
2750
2750
|
} : i;
|
|
2751
2751
|
return /* @__PURE__ */ r(
|
|
2752
|
-
|
|
2752
|
+
Me,
|
|
2753
2753
|
{
|
|
2754
2754
|
...l,
|
|
2755
2755
|
classNames: c,
|
|
@@ -2757,25 +2757,25 @@ const dp = Te(Pn), wi = "Menu-module__dropdown___j4xuA", Si = "Menu-module__item
|
|
|
2757
2757
|
}
|
|
2758
2758
|
);
|
|
2759
2759
|
};
|
|
2760
|
-
|
|
2761
|
-
const
|
|
2760
|
+
Sn.displayName = "Menu";
|
|
2761
|
+
const $n = function({
|
|
2762
2762
|
overStyled: e = !1,
|
|
2763
2763
|
...o
|
|
2764
2764
|
}) {
|
|
2765
2765
|
const t = m(o, e);
|
|
2766
2766
|
return /* @__PURE__ */ r(
|
|
2767
|
-
|
|
2767
|
+
Me.Target,
|
|
2768
2768
|
{
|
|
2769
2769
|
...t
|
|
2770
2770
|
}
|
|
2771
2771
|
);
|
|
2772
2772
|
};
|
|
2773
|
-
|
|
2774
|
-
const
|
|
2773
|
+
$n.displayName = "MenuTarget";
|
|
2774
|
+
const xn = f(
|
|
2775
2775
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2776
2776
|
const n = m(o, e), s = n.className;
|
|
2777
2777
|
return /* @__PURE__ */ r(
|
|
2778
|
-
|
|
2778
|
+
Me.Dropdown,
|
|
2779
2779
|
{
|
|
2780
2780
|
...n,
|
|
2781
2781
|
ref: t,
|
|
@@ -2784,8 +2784,8 @@ const Sn = f(
|
|
|
2784
2784
|
);
|
|
2785
2785
|
}
|
|
2786
2786
|
);
|
|
2787
|
-
|
|
2788
|
-
const
|
|
2787
|
+
xn.displayName = "MenuDropdown";
|
|
2788
|
+
const On = f(
|
|
2789
2789
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2790
2790
|
const n = [
|
|
2791
2791
|
"color"
|
|
@@ -2795,7 +2795,7 @@ const $n = f(
|
|
|
2795
2795
|
n
|
|
2796
2796
|
), c = s.className;
|
|
2797
2797
|
return /* @__PURE__ */ r(
|
|
2798
|
-
|
|
2798
|
+
Me.Item,
|
|
2799
2799
|
{
|
|
2800
2800
|
...s,
|
|
2801
2801
|
ref: t,
|
|
@@ -2804,12 +2804,12 @@ const $n = f(
|
|
|
2804
2804
|
);
|
|
2805
2805
|
}
|
|
2806
2806
|
);
|
|
2807
|
-
|
|
2808
|
-
const
|
|
2807
|
+
On.displayName = "MenuItem";
|
|
2808
|
+
const Ai = Te(On), kn = f(
|
|
2809
2809
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2810
2810
|
const n = m(o, e), s = n.className;
|
|
2811
2811
|
return /* @__PURE__ */ r(
|
|
2812
|
-
|
|
2812
|
+
Me.Divider,
|
|
2813
2813
|
{
|
|
2814
2814
|
...n,
|
|
2815
2815
|
ref: t,
|
|
@@ -2818,11 +2818,11 @@ const Ii = Te($n), xn = f(
|
|
|
2818
2818
|
);
|
|
2819
2819
|
}
|
|
2820
2820
|
);
|
|
2821
|
-
|
|
2822
|
-
const
|
|
2821
|
+
kn.displayName = "MenuDivider";
|
|
2822
|
+
const Rn = f(function({ overStyled: e = !1, ...o }, t) {
|
|
2823
2823
|
const n = m(o, e), s = n.className;
|
|
2824
2824
|
return /* @__PURE__ */ r(
|
|
2825
|
-
|
|
2825
|
+
Me.Label,
|
|
2826
2826
|
{
|
|
2827
2827
|
...n,
|
|
2828
2828
|
ref: t,
|
|
@@ -2830,16 +2830,16 @@ const On = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
);
|
|
2832
2832
|
});
|
|
2833
|
-
|
|
2834
|
-
const
|
|
2835
|
-
return /* @__PURE__ */ r(
|
|
2833
|
+
Rn.displayName = "MenuLabel";
|
|
2834
|
+
const In = function(e) {
|
|
2835
|
+
return /* @__PURE__ */ r(Me.Sub, { ...e });
|
|
2836
2836
|
};
|
|
2837
|
-
|
|
2838
|
-
const
|
|
2839
|
-
return /* @__PURE__ */ r(
|
|
2837
|
+
In.displayName = "MenuSub";
|
|
2838
|
+
const Ln = function(e) {
|
|
2839
|
+
return /* @__PURE__ */ r(Me.Sub.Target, { ...e });
|
|
2840
2840
|
};
|
|
2841
|
-
|
|
2842
|
-
const
|
|
2841
|
+
Ln.displayName = "MenuSubTarget";
|
|
2842
|
+
const Mn = f(
|
|
2843
2843
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2844
2844
|
const n = [
|
|
2845
2845
|
"color"
|
|
@@ -2849,7 +2849,7 @@ const In = f(
|
|
|
2849
2849
|
n
|
|
2850
2850
|
), c = s.className;
|
|
2851
2851
|
return /* @__PURE__ */ r(
|
|
2852
|
-
|
|
2852
|
+
Me.Sub.Item,
|
|
2853
2853
|
{
|
|
2854
2854
|
...s,
|
|
2855
2855
|
ref: t,
|
|
@@ -2858,14 +2858,14 @@ const In = f(
|
|
|
2858
2858
|
);
|
|
2859
2859
|
}
|
|
2860
2860
|
);
|
|
2861
|
-
|
|
2862
|
-
const
|
|
2863
|
-
|
|
2864
|
-
),
|
|
2861
|
+
Mn.displayName = "MenuSubItem";
|
|
2862
|
+
const Wi = Te(
|
|
2863
|
+
Mn
|
|
2864
|
+
), An = f(
|
|
2865
2865
|
function({ overStyled: e = !1, ...o }, t) {
|
|
2866
2866
|
const n = m(o, e), s = n.className;
|
|
2867
2867
|
return /* @__PURE__ */ r(
|
|
2868
|
-
|
|
2868
|
+
Me.Sub.Dropdown,
|
|
2869
2869
|
{
|
|
2870
2870
|
...n,
|
|
2871
2871
|
ref: t,
|
|
@@ -2874,29 +2874,29 @@ const Li = Te(
|
|
|
2874
2874
|
);
|
|
2875
2875
|
}
|
|
2876
2876
|
);
|
|
2877
|
-
|
|
2878
|
-
const Yo =
|
|
2879
|
-
Yo.Target =
|
|
2880
|
-
Yo.Item =
|
|
2881
|
-
Yo.Dropdown =
|
|
2882
|
-
const Co =
|
|
2883
|
-
Co.Target =
|
|
2884
|
-
Co.Dropdown =
|
|
2885
|
-
Co.Item =
|
|
2886
|
-
Co.Divider =
|
|
2887
|
-
Co.Label =
|
|
2877
|
+
An.displayName = "MenuSubDropdown";
|
|
2878
|
+
const Yo = In;
|
|
2879
|
+
Yo.Target = Ln;
|
|
2880
|
+
Yo.Item = Wi;
|
|
2881
|
+
Yo.Dropdown = An;
|
|
2882
|
+
const Co = Sn;
|
|
2883
|
+
Co.Target = $n;
|
|
2884
|
+
Co.Dropdown = xn;
|
|
2885
|
+
Co.Item = Ai;
|
|
2886
|
+
Co.Divider = kn;
|
|
2887
|
+
Co.Label = Rn;
|
|
2888
2888
|
Co.Sub = Yo;
|
|
2889
|
-
const
|
|
2890
|
-
root:
|
|
2891
|
-
inner:
|
|
2892
|
-
content:
|
|
2893
|
-
header:
|
|
2894
|
-
title:
|
|
2895
|
-
bodyWrapper:
|
|
2896
|
-
scrollArea:
|
|
2897
|
-
footer:
|
|
2898
|
-
close:
|
|
2899
|
-
},
|
|
2889
|
+
const zi = "Modal-module__root___ytPLl", Di = "Modal-module__inner___SSUJE", Ei = "Modal-module__content___dWO-B", Bi = "Modal-module__header___ILG9i", Fi = "Modal-module__title___A5OeE", Ui = "Modal-module__bodyWrapper___5CCL-", Vi = "Modal-module__scrollArea___KD-hm", Hi = "Modal-module__footer___rro2w", Gi = "Modal-module__close___-ER1C", Ee = {
|
|
2890
|
+
root: zi,
|
|
2891
|
+
inner: Di,
|
|
2892
|
+
content: Ei,
|
|
2893
|
+
header: Bi,
|
|
2894
|
+
title: Fi,
|
|
2895
|
+
bodyWrapper: Ui,
|
|
2896
|
+
scrollArea: Vi,
|
|
2897
|
+
footer: Hi,
|
|
2898
|
+
close: Gi
|
|
2899
|
+
}, Wn = q.forwardRef(function({
|
|
2900
2900
|
overStyled: e = !1,
|
|
2901
2901
|
children: o,
|
|
2902
2902
|
title: t,
|
|
@@ -2914,14 +2914,14 @@ const Mi = "Modal-module__root___ytPLl", Ai = "Modal-module__inner___SSUJE", Wi
|
|
|
2914
2914
|
], u = V(
|
|
2915
2915
|
m(i, e),
|
|
2916
2916
|
p
|
|
2917
|
-
),
|
|
2917
|
+
), b = E(
|
|
2918
2918
|
{
|
|
2919
|
-
root:
|
|
2920
|
-
inner:
|
|
2921
|
-
content:
|
|
2922
|
-
header:
|
|
2923
|
-
title:
|
|
2924
|
-
close:
|
|
2919
|
+
root: Ee.root,
|
|
2920
|
+
inner: Ee.inner,
|
|
2921
|
+
content: Ee.content,
|
|
2922
|
+
header: Ee.header,
|
|
2923
|
+
title: Ee.title,
|
|
2924
|
+
close: Ee.close
|
|
2925
2925
|
},
|
|
2926
2926
|
u.classNames
|
|
2927
2927
|
);
|
|
@@ -2930,7 +2930,7 @@ const Mi = "Modal-module__root___ytPLl", Ai = "Modal-module__inner___SSUJE", Wi
|
|
|
2930
2930
|
{
|
|
2931
2931
|
ref: d,
|
|
2932
2932
|
...u,
|
|
2933
|
-
classNames:
|
|
2933
|
+
classNames: b,
|
|
2934
2934
|
children: [
|
|
2935
2935
|
l && /* @__PURE__ */ r(ye.Overlay, { ...s }),
|
|
2936
2936
|
/* @__PURE__ */ L(ye.Content, { children: [
|
|
@@ -2944,7 +2944,7 @@ const Mi = "Modal-module__root___ytPLl", Ai = "Modal-module__inner___SSUJE", Wi
|
|
|
2944
2944
|
}
|
|
2945
2945
|
);
|
|
2946
2946
|
});
|
|
2947
|
-
|
|
2947
|
+
Wn.displayName = "Modal";
|
|
2948
2948
|
const _t = q.forwardRef(
|
|
2949
2949
|
function({ overStyled: e = !1, className: o, ...t }, n) {
|
|
2950
2950
|
const s = m(t, e);
|
|
@@ -2953,7 +2953,7 @@ const _t = q.forwardRef(
|
|
|
2953
2953
|
{
|
|
2954
2954
|
ref: n,
|
|
2955
2955
|
...s,
|
|
2956
|
-
className: `${
|
|
2956
|
+
className: `${Ee.footer} ${o || ""}`
|
|
2957
2957
|
}
|
|
2958
2958
|
);
|
|
2959
2959
|
}
|
|
@@ -2961,29 +2961,29 @@ const _t = q.forwardRef(
|
|
|
2961
2961
|
_t.displayName = "Modal.Footer";
|
|
2962
2962
|
const ft = q.forwardRef(
|
|
2963
2963
|
function({ overStyled: e = !1, className: o, onScroll: t, children: n, ...s }, l) {
|
|
2964
|
-
const c = m(s, e), i = q.useRef(null), [d, p] = q.useState(!1), [u,
|
|
2964
|
+
const c = m(s, e), i = q.useRef(null), [d, p] = q.useState(!1), [u, b] = q.useState(!1), y = q.useCallback(() => {
|
|
2965
2965
|
if (i.current) {
|
|
2966
|
-
const { scrollTop:
|
|
2967
|
-
p(
|
|
2966
|
+
const { scrollTop: N, scrollHeight: P, clientHeight: S } = i.current;
|
|
2967
|
+
p(N > 0), b(Math.ceil(N + S) < P);
|
|
2968
2968
|
}
|
|
2969
2969
|
}, []);
|
|
2970
2970
|
q.useEffect(() => (y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y, n]);
|
|
2971
|
-
const g = (
|
|
2972
|
-
y(), t == null || t(
|
|
2971
|
+
const g = (N) => {
|
|
2972
|
+
y(), t == null || t(N);
|
|
2973
2973
|
};
|
|
2974
2974
|
let h = null;
|
|
2975
2975
|
const C = [];
|
|
2976
|
-
return q.Children.forEach(n, (
|
|
2976
|
+
return q.Children.forEach(n, (N) => {
|
|
2977
2977
|
var P;
|
|
2978
|
-
q.isValidElement(
|
|
2978
|
+
q.isValidElement(N) && (N.type === _t || ((P = N.type) == null ? void 0 : P.displayName) === "Modal.Footer") ? h = N : C.push(N);
|
|
2979
2979
|
}), /* @__PURE__ */ L(
|
|
2980
2980
|
ye.Body,
|
|
2981
2981
|
{
|
|
2982
2982
|
...c,
|
|
2983
|
-
ref: (
|
|
2984
|
-
typeof l == "function" ? l(
|
|
2983
|
+
ref: (N) => {
|
|
2984
|
+
typeof l == "function" ? l(N) : l && (l.current = N);
|
|
2985
2985
|
},
|
|
2986
|
-
className: `${
|
|
2986
|
+
className: `${Ee.bodyWrapper} ${o || ""}`,
|
|
2987
2987
|
children: [
|
|
2988
2988
|
/* @__PURE__ */ r(
|
|
2989
2989
|
"div",
|
|
@@ -2992,7 +2992,7 @@ const ft = q.forwardRef(
|
|
|
2992
2992
|
onScroll: g,
|
|
2993
2993
|
"data-scrolled-top": d || void 0,
|
|
2994
2994
|
"data-scrolled-bottom": u || void 0,
|
|
2995
|
-
className:
|
|
2995
|
+
className: Ee.scrollArea,
|
|
2996
2996
|
children: C
|
|
2997
2997
|
}
|
|
2998
2998
|
),
|
|
@@ -3003,16 +3003,16 @@ const ft = q.forwardRef(
|
|
|
3003
3003
|
}
|
|
3004
3004
|
);
|
|
3005
3005
|
ft.displayName = "Modal.Body";
|
|
3006
|
-
const
|
|
3006
|
+
const ji = [
|
|
3007
3007
|
"size",
|
|
3008
3008
|
// Modal width/height are enforced via CSS module tokens, not Mantine's `size` scale.
|
|
3009
3009
|
"radius"
|
|
3010
3010
|
// Modal corner radius is token-driven via `.content` in Modal.module.css, not Mantine's `radius` prop.
|
|
3011
|
-
],
|
|
3011
|
+
], zn = q.forwardRef(
|
|
3012
3012
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3013
3013
|
const n = V(
|
|
3014
3014
|
m(o, e),
|
|
3015
|
-
|
|
3015
|
+
ji
|
|
3016
3016
|
);
|
|
3017
3017
|
return /* @__PURE__ */ r(
|
|
3018
3018
|
ye.Root,
|
|
@@ -3023,8 +3023,8 @@ const Vi = [
|
|
|
3023
3023
|
);
|
|
3024
3024
|
}
|
|
3025
3025
|
);
|
|
3026
|
-
|
|
3027
|
-
const
|
|
3026
|
+
zn.displayName = "Modal.Root";
|
|
3027
|
+
const Dn = q.forwardRef(
|
|
3028
3028
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3029
3029
|
const n = m(o, e);
|
|
3030
3030
|
return /* @__PURE__ */ r(
|
|
@@ -3036,14 +3036,14 @@ const Wn = q.forwardRef(
|
|
|
3036
3036
|
);
|
|
3037
3037
|
}
|
|
3038
3038
|
);
|
|
3039
|
-
|
|
3040
|
-
const
|
|
3039
|
+
Dn.displayName = "Modal.Overlay";
|
|
3040
|
+
const qi = [
|
|
3041
3041
|
"radius"
|
|
3042
|
-
],
|
|
3042
|
+
], En = q.forwardRef(
|
|
3043
3043
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3044
3044
|
const n = V(
|
|
3045
3045
|
m(o, e),
|
|
3046
|
-
|
|
3046
|
+
qi
|
|
3047
3047
|
);
|
|
3048
3048
|
return /* @__PURE__ */ r(
|
|
3049
3049
|
ye.Content,
|
|
@@ -3054,8 +3054,8 @@ const Hi = [
|
|
|
3054
3054
|
);
|
|
3055
3055
|
}
|
|
3056
3056
|
);
|
|
3057
|
-
|
|
3058
|
-
const
|
|
3057
|
+
En.displayName = "Modal.Content";
|
|
3058
|
+
const Bn = q.forwardRef(
|
|
3059
3059
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3060
3060
|
const n = m(o, e);
|
|
3061
3061
|
return /* @__PURE__ */ r(
|
|
@@ -3067,8 +3067,8 @@ const Dn = q.forwardRef(
|
|
|
3067
3067
|
);
|
|
3068
3068
|
}
|
|
3069
3069
|
);
|
|
3070
|
-
|
|
3071
|
-
const
|
|
3070
|
+
Bn.displayName = "Modal.Header";
|
|
3071
|
+
const Fn = q.forwardRef(
|
|
3072
3072
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3073
3073
|
const n = m(o, e);
|
|
3074
3074
|
return /* @__PURE__ */ r(
|
|
@@ -3080,14 +3080,14 @@ const En = q.forwardRef(
|
|
|
3080
3080
|
);
|
|
3081
3081
|
}
|
|
3082
3082
|
);
|
|
3083
|
-
|
|
3084
|
-
const
|
|
3083
|
+
Fn.displayName = "Modal.Title";
|
|
3084
|
+
const Ki = [
|
|
3085
3085
|
"size",
|
|
3086
3086
|
"radius"
|
|
3087
|
-
],
|
|
3087
|
+
], Un = q.forwardRef(function({ overStyled: e = !1, ...o }, t) {
|
|
3088
3088
|
const n = V(
|
|
3089
3089
|
m(o, e),
|
|
3090
|
-
|
|
3090
|
+
Ki
|
|
3091
3091
|
);
|
|
3092
3092
|
return /* @__PURE__ */ r(
|
|
3093
3093
|
ye.CloseButton,
|
|
@@ -3097,31 +3097,31 @@ const Gi = [
|
|
|
3097
3097
|
}
|
|
3098
3098
|
);
|
|
3099
3099
|
});
|
|
3100
|
-
|
|
3101
|
-
const io =
|
|
3102
|
-
io.Root =
|
|
3103
|
-
io.Overlay =
|
|
3104
|
-
io.Content =
|
|
3105
|
-
io.Header =
|
|
3106
|
-
io.Title =
|
|
3107
|
-
io.CloseButton =
|
|
3100
|
+
Un.displayName = "Modal.CloseButton";
|
|
3101
|
+
const io = Wn;
|
|
3102
|
+
io.Root = zn;
|
|
3103
|
+
io.Overlay = Dn;
|
|
3104
|
+
io.Content = En;
|
|
3105
|
+
io.Header = Bn;
|
|
3106
|
+
io.Title = Fn;
|
|
3107
|
+
io.CloseButton = Un;
|
|
3108
3108
|
io.Body = ft;
|
|
3109
3109
|
io.Footer = _t;
|
|
3110
|
-
const
|
|
3111
|
-
layoutOverride:
|
|
3112
|
-
root:
|
|
3113
|
-
input:
|
|
3114
|
-
section:
|
|
3115
|
-
controls:
|
|
3116
|
-
control:
|
|
3117
|
-
},
|
|
3110
|
+
const Yi = "NumberInput-module__layoutOverride___5-9T4", Zi = "NumberInput-module__root___C6rAn", Xi = "NumberInput-module__input___Ss8p7", Qi = "NumberInput-module__section___MijP0", Ji = "NumberInput-module__controls___8UfQ2", ec = "NumberInput-module__control___Qre9-", fo = {
|
|
3111
|
+
layoutOverride: Yi,
|
|
3112
|
+
root: Zi,
|
|
3113
|
+
input: Xi,
|
|
3114
|
+
section: Qi,
|
|
3115
|
+
controls: Ji,
|
|
3116
|
+
control: ec
|
|
3117
|
+
}, oc = [
|
|
3118
3118
|
"size",
|
|
3119
3119
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
3120
3120
|
"variant",
|
|
3121
3121
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
3122
3122
|
"radius"
|
|
3123
3123
|
// Recursica does not expose the library's native corner-radius system.
|
|
3124
|
-
],
|
|
3124
|
+
], tc = f(
|
|
3125
3125
|
function(e, o) {
|
|
3126
3126
|
const {
|
|
3127
3127
|
overStyled: t = !1,
|
|
@@ -3134,12 +3134,12 @@ const ji = "NumberInput-module__layoutOverride___5-9T4", qi = "NumberInput-modul
|
|
|
3134
3134
|
onLabelEditClick: d,
|
|
3135
3135
|
label: p,
|
|
3136
3136
|
assistiveText: u,
|
|
3137
|
-
assistiveWithIcon:
|
|
3137
|
+
assistiveWithIcon: b,
|
|
3138
3138
|
error: y,
|
|
3139
3139
|
required: g,
|
|
3140
3140
|
withAsterisk: h,
|
|
3141
3141
|
id: C,
|
|
3142
|
-
className:
|
|
3142
|
+
className: N,
|
|
3143
3143
|
style: P,
|
|
3144
3144
|
disabled: S,
|
|
3145
3145
|
readOnly: w,
|
|
@@ -3151,7 +3151,7 @@ const ji = "NumberInput-module__layoutOverride___5-9T4", qi = "NumberInput-modul
|
|
|
3151
3151
|
...M
|
|
3152
3152
|
} = e, D = V(
|
|
3153
3153
|
m(M, t),
|
|
3154
|
-
|
|
3154
|
+
oc
|
|
3155
3155
|
), W = D, I = {
|
|
3156
3156
|
wrapper: fo.root,
|
|
3157
3157
|
// The nested Input internal relative wrapper bounding box
|
|
@@ -3159,7 +3159,7 @@ const ji = "NumberInput-module__layoutOverride___5-9T4", qi = "NumberInput-modul
|
|
|
3159
3159
|
section: fo.section,
|
|
3160
3160
|
controls: fo.controls,
|
|
3161
3161
|
control: fo.control
|
|
3162
|
-
}, Y =
|
|
3162
|
+
}, Y = N ? `${fo.layoutOverride} ${N}` : fo.layoutOverride;
|
|
3163
3163
|
return /* @__PURE__ */ r(
|
|
3164
3164
|
he,
|
|
3165
3165
|
{
|
|
@@ -3176,7 +3176,7 @@ const ji = "NumberInput-module__layoutOverride___5-9T4", qi = "NumberInput-modul
|
|
|
3176
3176
|
onLabelEditClick: d,
|
|
3177
3177
|
label: p,
|
|
3178
3178
|
assistiveText: u,
|
|
3179
|
-
assistiveWithIcon:
|
|
3179
|
+
assistiveWithIcon: b,
|
|
3180
3180
|
error: y,
|
|
3181
3181
|
required: g,
|
|
3182
3182
|
withAsterisk: h,
|
|
@@ -3190,7 +3190,7 @@ const ji = "NumberInput-module__layoutOverride___5-9T4", qi = "NumberInput-modul
|
|
|
3190
3190
|
activeComponent: (
|
|
3191
3191
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
3192
3192
|
/* @__PURE__ */ r(
|
|
3193
|
-
|
|
3193
|
+
rr,
|
|
3194
3194
|
{
|
|
3195
3195
|
ref: o,
|
|
3196
3196
|
...D,
|
|
@@ -3217,18 +3217,18 @@ const ji = "NumberInput-module__layoutOverride___5-9T4", qi = "NumberInput-modul
|
|
|
3217
3217
|
);
|
|
3218
3218
|
}
|
|
3219
3219
|
);
|
|
3220
|
-
|
|
3221
|
-
const
|
|
3222
|
-
root:
|
|
3223
|
-
dots:
|
|
3224
|
-
baseIcon:
|
|
3225
|
-
rightIcon:
|
|
3226
|
-
},
|
|
3227
|
-
next:
|
|
3228
|
-
prev:
|
|
3229
|
-
first:
|
|
3230
|
-
last:
|
|
3231
|
-
},
|
|
3220
|
+
tc.displayName = "NumberInput";
|
|
3221
|
+
const nc = "Pagination-module__root___ITRjt", ac = "Pagination-module__dots___Yl9da", rc = "Pagination-module__baseIcon___Qw3bJ", sc = "Pagination-module__rightIcon___aYC8M", Io = {
|
|
3222
|
+
root: nc,
|
|
3223
|
+
dots: ac,
|
|
3224
|
+
baseIcon: rc,
|
|
3225
|
+
rightIcon: sc
|
|
3226
|
+
}, lc = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", ic = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", cc = "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", dc = "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", uc = {
|
|
3227
|
+
next: lc,
|
|
3228
|
+
prev: ic,
|
|
3229
|
+
first: cc,
|
|
3230
|
+
last: dc
|
|
3231
|
+
}, Vn = ({
|
|
3232
3232
|
type: a,
|
|
3233
3233
|
className: e,
|
|
3234
3234
|
...o
|
|
@@ -3239,12 +3239,12 @@ const ec = "Pagination-module__root___ITRjt", oc = "Pagination-module__dots___Yl
|
|
|
3239
3239
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3240
3240
|
className: `${Io.baseIcon} ${e || ""}`.trim(),
|
|
3241
3241
|
...o,
|
|
3242
|
-
children: /* @__PURE__ */ r("path", { d:
|
|
3242
|
+
children: /* @__PURE__ */ r("path", { d: uc[a], fill: "currentColor" })
|
|
3243
3243
|
}
|
|
3244
3244
|
);
|
|
3245
3245
|
function Ho(a) {
|
|
3246
3246
|
var t, n, s, l, c, i, d;
|
|
3247
|
-
const o = (d = (i = (c = (l = (s = (n = (t =
|
|
3247
|
+
const o = (d = (i = (c = (l = (s = (n = (t = Rr()["ui-kit"]) == null ? void 0 : t.components) == null ? void 0 : n.pagination) == null ? void 0 : s.properties) == null ? void 0 : l[a]) == null ? void 0 : c.$extensions) == null ? void 0 : i["recursica.component"]) == null ? void 0 : d["selected-variants"];
|
|
3248
3248
|
if (!o)
|
|
3249
3249
|
throw new Error(
|
|
3250
3250
|
`Pagination: manifest has no ui-kit.components.pagination.properties.${a} selected-variants`
|
|
@@ -3254,9 +3254,9 @@ function Ho(a) {
|
|
|
3254
3254
|
size: o.size
|
|
3255
3255
|
};
|
|
3256
3256
|
}
|
|
3257
|
-
const
|
|
3257
|
+
const Hn = at(null);
|
|
3258
3258
|
function yt() {
|
|
3259
|
-
const a = rt(
|
|
3259
|
+
const a = rt(Hn);
|
|
3260
3260
|
if (!a)
|
|
3261
3261
|
throw new Error("Pagination parts must be rendered inside Pagination.Root");
|
|
3262
3262
|
return a;
|
|
@@ -3274,19 +3274,19 @@ const ht = f(
|
|
|
3274
3274
|
getItemProps: d,
|
|
3275
3275
|
getControlProps: p,
|
|
3276
3276
|
dotsIcon: u,
|
|
3277
|
-
children:
|
|
3277
|
+
children: b,
|
|
3278
3278
|
...y
|
|
3279
3279
|
}, g) {
|
|
3280
|
-
const h =
|
|
3280
|
+
const h = Pr({
|
|
3281
3281
|
total: o,
|
|
3282
3282
|
page: t,
|
|
3283
3283
|
initialPage: n,
|
|
3284
3284
|
onChange: s,
|
|
3285
3285
|
siblings: l,
|
|
3286
3286
|
boundaries: c
|
|
3287
|
-
}), C = m(y, e),
|
|
3287
|
+
}), C = m(y, e), N = C.className;
|
|
3288
3288
|
return /* @__PURE__ */ r(
|
|
3289
|
-
|
|
3289
|
+
Hn.Provider,
|
|
3290
3290
|
{
|
|
3291
3291
|
value: {
|
|
3292
3292
|
total: o,
|
|
@@ -3308,8 +3308,8 @@ const ht = f(
|
|
|
3308
3308
|
ref: g,
|
|
3309
3309
|
"aria-label": "Pagination",
|
|
3310
3310
|
...C,
|
|
3311
|
-
className:
|
|
3312
|
-
children:
|
|
3311
|
+
className: N ? `${Io.root} ${N}` : Io.root,
|
|
3312
|
+
children: b
|
|
3313
3313
|
}
|
|
3314
3314
|
)
|
|
3315
3315
|
}
|
|
@@ -3320,7 +3320,7 @@ ht.displayName = "Pagination.Root";
|
|
|
3320
3320
|
const vt = f(function({ active: e = !1, disabled: o, ...t }, n) {
|
|
3321
3321
|
const s = yt(), l = Ho("active-pages"), c = Ho("inactive-pages"), i = e ? l : c;
|
|
3322
3322
|
return /* @__PURE__ */ r(
|
|
3323
|
-
|
|
3323
|
+
Fe,
|
|
3324
3324
|
{
|
|
3325
3325
|
ref: n,
|
|
3326
3326
|
variant: i.variant,
|
|
@@ -3359,12 +3359,12 @@ function Nt() {
|
|
|
3359
3359
|
) });
|
|
3360
3360
|
}
|
|
3361
3361
|
Nt.displayName = "Pagination.Items";
|
|
3362
|
-
const
|
|
3362
|
+
const pc = {
|
|
3363
3363
|
first: "First page",
|
|
3364
3364
|
previous: "Previous page",
|
|
3365
3365
|
next: "Next page",
|
|
3366
3366
|
last: "Last page"
|
|
3367
|
-
},
|
|
3367
|
+
}, mc = {
|
|
3368
3368
|
first: "First",
|
|
3369
3369
|
previous: "Prev",
|
|
3370
3370
|
next: "Next",
|
|
@@ -3374,81 +3374,81 @@ function Zo(a, e, o, t) {
|
|
|
3374
3374
|
const n = f(
|
|
3375
3375
|
function({ withLabel: l, icon: c, disabled: i, ...d }, p) {
|
|
3376
3376
|
var P;
|
|
3377
|
-
const u = yt(),
|
|
3377
|
+
const u = yt(), b = Ho("navigation-controls"), y = u.active === 1, g = u.active === u.total, h = i || u.disabled || (a === "first" || a === "previous") && y || (a === "next" || a === "last") && g, C = c ?? /* @__PURE__ */ r(Vn, { type: e }), N = l ? o ? {
|
|
3378
3378
|
rightSection: /* @__PURE__ */ r("span", { className: Io.rightIcon, children: C })
|
|
3379
3379
|
} : { icon: C } : { icon: C };
|
|
3380
3380
|
return /* @__PURE__ */ r(
|
|
3381
|
-
|
|
3381
|
+
Fe,
|
|
3382
3382
|
{
|
|
3383
3383
|
ref: p,
|
|
3384
|
-
variant:
|
|
3385
|
-
size:
|
|
3386
|
-
"aria-label":
|
|
3384
|
+
variant: b.variant,
|
|
3385
|
+
size: b.size,
|
|
3386
|
+
"aria-label": pc[a],
|
|
3387
3387
|
disabled: h,
|
|
3388
3388
|
onClick: u[a],
|
|
3389
|
-
...
|
|
3389
|
+
...N,
|
|
3390
3390
|
...(P = u.getControlProps) == null ? void 0 : P.call(u, a),
|
|
3391
3391
|
...d,
|
|
3392
|
-
children: l ?
|
|
3392
|
+
children: l ? mc[a] : void 0
|
|
3393
3393
|
}
|
|
3394
3394
|
);
|
|
3395
3395
|
}
|
|
3396
3396
|
);
|
|
3397
3397
|
return n.displayName = t, n;
|
|
3398
3398
|
}
|
|
3399
|
-
const
|
|
3399
|
+
const Gn = Zo(
|
|
3400
3400
|
"first",
|
|
3401
3401
|
"first",
|
|
3402
3402
|
!1,
|
|
3403
3403
|
"Pagination.First"
|
|
3404
|
-
),
|
|
3404
|
+
), jn = Zo(
|
|
3405
3405
|
"previous",
|
|
3406
3406
|
"prev",
|
|
3407
3407
|
!1,
|
|
3408
3408
|
"Pagination.Previous"
|
|
3409
|
-
),
|
|
3409
|
+
), qn = Zo(
|
|
3410
3410
|
"next",
|
|
3411
3411
|
"next",
|
|
3412
3412
|
!0,
|
|
3413
3413
|
"Pagination.Next"
|
|
3414
|
-
),
|
|
3414
|
+
), Kn = Zo(
|
|
3415
3415
|
"last",
|
|
3416
3416
|
"last",
|
|
3417
3417
|
!0,
|
|
3418
3418
|
"Pagination.Last"
|
|
3419
|
-
),
|
|
3419
|
+
), Yn = f(
|
|
3420
3420
|
function({ withEdges: e, withControls: o = !0, withLabels: t, ...n }, s) {
|
|
3421
3421
|
return /* @__PURE__ */ L(ht, { ref: s, ...n, children: [
|
|
3422
|
-
e && /* @__PURE__ */ r(
|
|
3423
|
-
o && /* @__PURE__ */ r(
|
|
3422
|
+
e && /* @__PURE__ */ r(Gn, { withLabel: t }),
|
|
3423
|
+
o && /* @__PURE__ */ r(jn, { withLabel: t }),
|
|
3424
3424
|
/* @__PURE__ */ r(Nt, {}),
|
|
3425
|
-
o && /* @__PURE__ */ r(
|
|
3426
|
-
e && /* @__PURE__ */ r(
|
|
3425
|
+
o && /* @__PURE__ */ r(qn, { withLabel: t }),
|
|
3426
|
+
e && /* @__PURE__ */ r(Kn, { withLabel: t })
|
|
3427
3427
|
] });
|
|
3428
3428
|
}
|
|
3429
3429
|
);
|
|
3430
|
-
|
|
3431
|
-
const Ke =
|
|
3430
|
+
Yn.displayName = "Pagination";
|
|
3431
|
+
const Ke = Yn;
|
|
3432
3432
|
Ke.Root = ht;
|
|
3433
3433
|
Ke.Items = Nt;
|
|
3434
3434
|
Ke.Control = vt;
|
|
3435
3435
|
Ke.Dots = bt;
|
|
3436
|
-
Ke.Next =
|
|
3437
|
-
Ke.Previous =
|
|
3438
|
-
Ke.First =
|
|
3439
|
-
Ke.Last =
|
|
3440
|
-
Ke.Icon =
|
|
3441
|
-
const
|
|
3442
|
-
content:
|
|
3443
|
-
contentRight:
|
|
3444
|
-
contentLeft:
|
|
3445
|
-
inner:
|
|
3446
|
-
header:
|
|
3447
|
-
title:
|
|
3448
|
-
titleTruncate:
|
|
3449
|
-
body:
|
|
3450
|
-
footer:
|
|
3451
|
-
},
|
|
3436
|
+
Ke.Next = qn;
|
|
3437
|
+
Ke.Previous = jn;
|
|
3438
|
+
Ke.First = Gn;
|
|
3439
|
+
Ke.Last = Kn;
|
|
3440
|
+
Ke.Icon = Vn;
|
|
3441
|
+
const _c = "Panel-module__content___wdGo-", fc = "Panel-module__contentRight___4bsdU", yc = "Panel-module__contentLeft___bOgUu", hc = "Panel-module__inner___ruA2b", vc = "Panel-module__header___o7SiC", bc = "Panel-module__title___181OP", Nc = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", gc = "Panel-module__body___SEC3T", Cc = "Panel-module__footer___t6-hz", Ce = {
|
|
3442
|
+
content: _c,
|
|
3443
|
+
contentRight: fc,
|
|
3444
|
+
contentLeft: yc,
|
|
3445
|
+
inner: hc,
|
|
3446
|
+
header: vc,
|
|
3447
|
+
title: bc,
|
|
3448
|
+
titleTruncate: Nc,
|
|
3449
|
+
body: gc,
|
|
3450
|
+
footer: Cc
|
|
3451
|
+
}, Zn = function({
|
|
3452
3452
|
overStyled: e = !1,
|
|
3453
3453
|
placement: o = "right",
|
|
3454
3454
|
keepMounted: t = !0,
|
|
@@ -3472,23 +3472,25 @@ const uc = "Panel-module__content___wdGo-", pc = "Panel-module__contentRight___4
|
|
|
3472
3472
|
size: "var(--recursica_ui-kit_components_panel_properties_max-width)",
|
|
3473
3473
|
position: o,
|
|
3474
3474
|
keepMounted: t,
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3475
|
+
withOverlay: !1,
|
|
3476
|
+
trapFocus: !1,
|
|
3477
|
+
lockScroll: !1,
|
|
3478
|
+
returnFocus: !0,
|
|
3479
|
+
closeOnEscape: !0,
|
|
3480
|
+
closeOnClickOutside: !1,
|
|
3479
3481
|
classNames: i
|
|
3480
3482
|
}
|
|
3481
3483
|
);
|
|
3482
3484
|
};
|
|
3483
|
-
|
|
3484
|
-
const
|
|
3485
|
+
Zn.displayName = "Panel";
|
|
3486
|
+
const Xn = f(
|
|
3485
3487
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3486
3488
|
const n = m(o, e), s = n.className, l = s ? `${Ce.footer} ${s}` : Ce.footer;
|
|
3487
3489
|
return /* @__PURE__ */ r("div", { ref: t, ...n, className: l });
|
|
3488
3490
|
}
|
|
3489
3491
|
);
|
|
3490
|
-
|
|
3491
|
-
const
|
|
3492
|
+
Xn.displayName = "PanelFooter";
|
|
3493
|
+
const Qn = f(
|
|
3492
3494
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3493
3495
|
const n = m(o, e);
|
|
3494
3496
|
return /* @__PURE__ */ r(
|
|
@@ -3500,8 +3502,8 @@ const Zn = f(
|
|
|
3500
3502
|
);
|
|
3501
3503
|
}
|
|
3502
3504
|
);
|
|
3503
|
-
|
|
3504
|
-
const
|
|
3505
|
+
Qn.displayName = "PanelRoot";
|
|
3506
|
+
const Jn = f(
|
|
3505
3507
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3506
3508
|
const n = m(o, e);
|
|
3507
3509
|
return /* @__PURE__ */ r(
|
|
@@ -3513,8 +3515,8 @@ const Xn = f(
|
|
|
3513
3515
|
);
|
|
3514
3516
|
}
|
|
3515
3517
|
);
|
|
3516
|
-
|
|
3517
|
-
const
|
|
3518
|
+
Jn.displayName = "PanelOverlay";
|
|
3519
|
+
const ea = f(
|
|
3518
3520
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3519
3521
|
const n = m(o, e);
|
|
3520
3522
|
return /* @__PURE__ */ r(
|
|
@@ -3526,8 +3528,8 @@ const Qn = f(
|
|
|
3526
3528
|
);
|
|
3527
3529
|
}
|
|
3528
3530
|
);
|
|
3529
|
-
|
|
3530
|
-
const
|
|
3531
|
+
ea.displayName = "PanelContent";
|
|
3532
|
+
const oa = f(
|
|
3531
3533
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3532
3534
|
const n = m(o, e);
|
|
3533
3535
|
return /* @__PURE__ */ r(
|
|
@@ -3539,8 +3541,8 @@ const Jn = f(
|
|
|
3539
3541
|
);
|
|
3540
3542
|
}
|
|
3541
3543
|
);
|
|
3542
|
-
|
|
3543
|
-
const
|
|
3544
|
+
oa.displayName = "PanelHeader";
|
|
3545
|
+
const ta = f(
|
|
3544
3546
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3545
3547
|
const n = m(o, e);
|
|
3546
3548
|
return /* @__PURE__ */ r(
|
|
@@ -3552,8 +3554,8 @@ const ea = f(
|
|
|
3552
3554
|
);
|
|
3553
3555
|
}
|
|
3554
3556
|
);
|
|
3555
|
-
|
|
3556
|
-
const
|
|
3557
|
+
ta.displayName = "PanelTitle";
|
|
3558
|
+
const na = f(function({ overStyled: e = !1, ...o }, t) {
|
|
3557
3559
|
const n = m(o, e);
|
|
3558
3560
|
return /* @__PURE__ */ r(
|
|
3559
3561
|
je.CloseButton,
|
|
@@ -3563,8 +3565,8 @@ const oa = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
3563
3565
|
}
|
|
3564
3566
|
);
|
|
3565
3567
|
});
|
|
3566
|
-
|
|
3567
|
-
const
|
|
3568
|
+
na.displayName = "PanelCloseButton";
|
|
3569
|
+
const aa = f(
|
|
3568
3570
|
function({ overStyled: e = !1, ...o }, t) {
|
|
3569
3571
|
const n = m(o, e);
|
|
3570
3572
|
return /* @__PURE__ */ r(
|
|
@@ -3576,21 +3578,21 @@ const ta = f(
|
|
|
3576
3578
|
);
|
|
3577
3579
|
}
|
|
3578
3580
|
);
|
|
3579
|
-
|
|
3580
|
-
const Ye =
|
|
3581
|
-
Ye.Root =
|
|
3582
|
-
Ye.Overlay =
|
|
3583
|
-
Ye.Content =
|
|
3584
|
-
Ye.Header =
|
|
3585
|
-
Ye.Title =
|
|
3586
|
-
Ye.CloseButton =
|
|
3587
|
-
Ye.Body =
|
|
3581
|
+
aa.displayName = "PanelBody";
|
|
3582
|
+
const Ye = Zn;
|
|
3583
|
+
Ye.Root = Qn;
|
|
3584
|
+
Ye.Overlay = Jn;
|
|
3585
|
+
Ye.Content = ea;
|
|
3586
|
+
Ye.Header = oa;
|
|
3587
|
+
Ye.Title = ta;
|
|
3588
|
+
Ye.CloseButton = na;
|
|
3589
|
+
Ye.Body = aa;
|
|
3588
3590
|
Ye.Stack = je.Stack;
|
|
3589
|
-
Ye.Footer =
|
|
3590
|
-
const
|
|
3591
|
-
dropdown:
|
|
3592
|
-
arrow:
|
|
3593
|
-
},
|
|
3591
|
+
Ye.Footer = Xn;
|
|
3592
|
+
const Pc = "Popover-module__dropdown___svhS6", Tc = "Popover-module__arrow___5A-0e", Rt = {
|
|
3593
|
+
dropdown: Pc,
|
|
3594
|
+
arrow: Tc
|
|
3595
|
+
}, ra = function({
|
|
3594
3596
|
overStyled: e = !1,
|
|
3595
3597
|
withBeak: o = !0,
|
|
3596
3598
|
position: t = "top",
|
|
@@ -3600,10 +3602,10 @@ const Nc = "Popover-module__dropdown___svhS6", gc = "Popover-module__arrow___5A-
|
|
|
3600
3602
|
const s = m(n, e), l = s, c = E(
|
|
3601
3603
|
{ dropdown: Rt.dropdown, arrow: Rt.arrow },
|
|
3602
3604
|
l.classNames
|
|
3603
|
-
), i =
|
|
3605
|
+
), i = Ue(
|
|
3604
3606
|
16,
|
|
3605
3607
|
l.arrowSize
|
|
3606
|
-
), d =
|
|
3608
|
+
), d = Ue(
|
|
3607
3609
|
o,
|
|
3608
3610
|
l.withArrow
|
|
3609
3611
|
);
|
|
@@ -3618,12 +3620,12 @@ const Nc = "Popover-module__dropdown___svhS6", gc = "Popover-module__arrow___5A-
|
|
|
3618
3620
|
}
|
|
3619
3621
|
);
|
|
3620
3622
|
};
|
|
3621
|
-
|
|
3622
|
-
const
|
|
3623
|
+
ra.displayName = "Popover";
|
|
3624
|
+
const sa = function(e) {
|
|
3623
3625
|
return /* @__PURE__ */ r(it.Target, { ...e });
|
|
3624
3626
|
};
|
|
3625
|
-
|
|
3626
|
-
const
|
|
3627
|
+
sa.displayName = "PopoverTarget";
|
|
3628
|
+
const la = function({
|
|
3627
3629
|
overStyled: e = !1,
|
|
3628
3630
|
...o
|
|
3629
3631
|
}) {
|
|
@@ -3636,20 +3638,20 @@ const ra = function({
|
|
|
3636
3638
|
}
|
|
3637
3639
|
);
|
|
3638
3640
|
};
|
|
3639
|
-
|
|
3640
|
-
const
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
const
|
|
3644
|
-
groupRoot:
|
|
3645
|
-
root:
|
|
3646
|
-
body:
|
|
3647
|
-
inner:
|
|
3648
|
-
radio:
|
|
3649
|
-
icon:
|
|
3650
|
-
labelWrapper:
|
|
3651
|
-
label:
|
|
3652
|
-
},
|
|
3641
|
+
la.displayName = "PopoverDropdown";
|
|
3642
|
+
const ia = ra;
|
|
3643
|
+
ia.Target = sa;
|
|
3644
|
+
ia.Dropdown = la;
|
|
3645
|
+
const wc = "Radio-module__groupRoot___bfUii", Sc = "Radio-module__root___kAjTD", $c = "Radio-module__body___q2Wpj", xc = "Radio-module__inner___QaTBB", Oc = "Radio-module__radio___MfgN-", kc = "Radio-module__icon___DWznm", Rc = "Radio-module__labelWrapper___dB0Gi", Ic = "Radio-module__label___vAFIP", Ie = {
|
|
3646
|
+
groupRoot: wc,
|
|
3647
|
+
root: Sc,
|
|
3648
|
+
body: $c,
|
|
3649
|
+
inner: xc,
|
|
3650
|
+
radio: Oc,
|
|
3651
|
+
icon: kc,
|
|
3652
|
+
labelWrapper: Rc,
|
|
3653
|
+
label: Ic
|
|
3654
|
+
}, ca = f(
|
|
3653
3655
|
function(e, o) {
|
|
3654
3656
|
const {
|
|
3655
3657
|
overStyled: t = !1,
|
|
@@ -3663,12 +3665,12 @@ const Cc = "Radio-module__groupRoot___bfUii", Pc = "Radio-module__root___kAjTD",
|
|
|
3663
3665
|
// Base Mantine Extracted Attributes
|
|
3664
3666
|
label: p,
|
|
3665
3667
|
description: u,
|
|
3666
|
-
assistiveText:
|
|
3668
|
+
assistiveText: b,
|
|
3667
3669
|
assistiveWithIcon: y,
|
|
3668
3670
|
error: g,
|
|
3669
3671
|
required: h,
|
|
3670
3672
|
withAsterisk: C,
|
|
3671
|
-
id:
|
|
3673
|
+
id: N,
|
|
3672
3674
|
className: P,
|
|
3673
3675
|
style: S,
|
|
3674
3676
|
children: w,
|
|
@@ -3702,12 +3704,12 @@ const Cc = "Radio-module__groupRoot___bfUii", Pc = "Radio-module__root___kAjTD",
|
|
|
3702
3704
|
onLabelEditClick: d,
|
|
3703
3705
|
label: p,
|
|
3704
3706
|
description: u,
|
|
3705
|
-
assistiveText:
|
|
3707
|
+
assistiveText: b,
|
|
3706
3708
|
assistiveWithIcon: y,
|
|
3707
3709
|
error: g,
|
|
3708
3710
|
required: h,
|
|
3709
3711
|
withAsterisk: C,
|
|
3710
|
-
id:
|
|
3712
|
+
id: N,
|
|
3711
3713
|
readOnly: T && !!_,
|
|
3712
3714
|
readOnlyComponent: _,
|
|
3713
3715
|
emptyValueComponent: $,
|
|
@@ -3715,7 +3717,7 @@ const Cc = "Radio-module__groupRoot___bfUii", Pc = "Radio-module__root___kAjTD",
|
|
|
3715
3717
|
readOnlyValue: v !== void 0 ? v : O,
|
|
3716
3718
|
readOnlyNativeProps: e,
|
|
3717
3719
|
activeComponent: /* @__PURE__ */ r(
|
|
3718
|
-
|
|
3720
|
+
Ht.Group,
|
|
3719
3721
|
{
|
|
3720
3722
|
ref: o,
|
|
3721
3723
|
...W,
|
|
@@ -3729,8 +3731,8 @@ const Cc = "Radio-module__groupRoot___bfUii", Pc = "Radio-module__root___kAjTD",
|
|
|
3729
3731
|
);
|
|
3730
3732
|
}
|
|
3731
3733
|
);
|
|
3732
|
-
|
|
3733
|
-
const
|
|
3734
|
+
ca.displayName = "RadioGroup";
|
|
3735
|
+
const Lc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
3734
3736
|
"svg",
|
|
3735
3737
|
{
|
|
3736
3738
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3740,7 +3742,7 @@ const kc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3740
3742
|
style: e,
|
|
3741
3743
|
children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
|
|
3742
3744
|
}
|
|
3743
|
-
),
|
|
3745
|
+
), da = f(
|
|
3744
3746
|
function(e, o) {
|
|
3745
3747
|
const {
|
|
3746
3748
|
overStyled: t = !1,
|
|
@@ -3752,7 +3754,7 @@ const kc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3752
3754
|
labelSize: d,
|
|
3753
3755
|
controlMaxWidth: p,
|
|
3754
3756
|
controlMinWidth: u,
|
|
3755
|
-
...
|
|
3757
|
+
...b
|
|
3756
3758
|
} = e, y = [
|
|
3757
3759
|
"size",
|
|
3758
3760
|
// Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
|
|
@@ -3765,7 +3767,7 @@ const kc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3765
3767
|
"iconColor"
|
|
3766
3768
|
// Icon color is token-driven via Radio.module.css, not a native Mantine override.
|
|
3767
3769
|
], g = V(
|
|
3768
|
-
m(
|
|
3770
|
+
m(b, t),
|
|
3769
3771
|
y
|
|
3770
3772
|
), h = g, C = E(
|
|
3771
3773
|
{
|
|
@@ -3778,7 +3780,7 @@ const kc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3778
3780
|
label: Ie.label
|
|
3779
3781
|
},
|
|
3780
3782
|
h.classNames
|
|
3781
|
-
),
|
|
3783
|
+
), N = h.className, P = N ? `${Ie.root} ${N}` : Ie.root;
|
|
3782
3784
|
if (n && s) {
|
|
3783
3785
|
const w = !!(h.checked ?? h.defaultChecked), _ = /* @__PURE__ */ r(
|
|
3784
3786
|
s,
|
|
@@ -3800,11 +3802,11 @@ const kc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3800
3802
|
) : /* @__PURE__ */ r(Ge, { children: _ });
|
|
3801
3803
|
}
|
|
3802
3804
|
const S = /* @__PURE__ */ r(
|
|
3803
|
-
|
|
3805
|
+
Ht,
|
|
3804
3806
|
{
|
|
3805
3807
|
ref: o,
|
|
3806
3808
|
...g,
|
|
3807
|
-
icon:
|
|
3809
|
+
icon: Ue(Lc, c),
|
|
3808
3810
|
className: P,
|
|
3809
3811
|
classNames: C,
|
|
3810
3812
|
disabled: n || l
|
|
@@ -3822,9 +3824,9 @@ const kc = ({ className: a, style: e }) => /* @__PURE__ */ r(
|
|
|
3822
3824
|
) : S;
|
|
3823
3825
|
}
|
|
3824
3826
|
);
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
const
|
|
3827
|
+
da.displayName = "Radio";
|
|
3828
|
+
da.Group = ca;
|
|
3829
|
+
const Mc = ({ checked: a, label: e }) => /* @__PURE__ */ L(
|
|
3828
3830
|
st,
|
|
3829
3831
|
{
|
|
3830
3832
|
component: "span",
|
|
@@ -3839,8 +3841,8 @@ const Rc = ({ checked: a, label: e }) => /* @__PURE__ */ L(
|
|
|
3839
3841
|
]
|
|
3840
3842
|
}
|
|
3841
3843
|
);
|
|
3842
|
-
|
|
3843
|
-
const
|
|
3844
|
+
Mc.displayName = "ReadOnlySwitchField";
|
|
3845
|
+
const Ac = ({ checked: a, label: e }) => /* @__PURE__ */ L(
|
|
3844
3846
|
st,
|
|
3845
3847
|
{
|
|
3846
3848
|
component: "span",
|
|
@@ -3855,14 +3857,14 @@ const Ic = ({ checked: a, label: e }) => /* @__PURE__ */ L(
|
|
|
3855
3857
|
]
|
|
3856
3858
|
}
|
|
3857
3859
|
);
|
|
3858
|
-
|
|
3859
|
-
const
|
|
3860
|
-
root:
|
|
3861
|
-
label:
|
|
3862
|
-
control:
|
|
3863
|
-
indicator:
|
|
3860
|
+
Ac.displayName = "ReadOnlyBooleanField";
|
|
3861
|
+
const Wc = "SegmentedControl-module__root___JFRhg", zc = "SegmentedControl-module__label___mS17q", Dc = "SegmentedControl-module__control___znOdQ", Ec = "SegmentedControl-module__indicator___ZMcJy", vo = {
|
|
3862
|
+
root: Wc,
|
|
3863
|
+
label: zc,
|
|
3864
|
+
control: Dc,
|
|
3865
|
+
indicator: Ec
|
|
3864
3866
|
};
|
|
3865
|
-
function
|
|
3867
|
+
function Bc(a) {
|
|
3866
3868
|
const e = E(
|
|
3867
3869
|
{
|
|
3868
3870
|
root: vo.root,
|
|
@@ -3874,7 +3876,7 @@ function zc(a) {
|
|
|
3874
3876
|
), o = a.className;
|
|
3875
3877
|
return { className: o ? `${vo.root} ${o}` : vo.root, classNames: e };
|
|
3876
3878
|
}
|
|
3877
|
-
const
|
|
3879
|
+
const ua = f(
|
|
3878
3880
|
function({
|
|
3879
3881
|
overStyled: e = !1,
|
|
3880
3882
|
orientation: o = "horizontal",
|
|
@@ -3882,7 +3884,7 @@ const ca = f(
|
|
|
3882
3884
|
data: n = [],
|
|
3883
3885
|
...s
|
|
3884
3886
|
}, l) {
|
|
3885
|
-
const c = m(s, e), d =
|
|
3887
|
+
const c = m(s, e), d = Bc(c), p = n.map(
|
|
3886
3888
|
(u) => typeof u == "string" || !u.icon ? u : {
|
|
3887
3889
|
...u,
|
|
3888
3890
|
label: /* @__PURE__ */ L(Ge, { children: [
|
|
@@ -3892,7 +3894,7 @@ const ca = f(
|
|
|
3892
3894
|
}
|
|
3893
3895
|
);
|
|
3894
3896
|
return /* @__PURE__ */ r(
|
|
3895
|
-
|
|
3897
|
+
sr,
|
|
3896
3898
|
{
|
|
3897
3899
|
ref: l,
|
|
3898
3900
|
...c,
|
|
@@ -3906,30 +3908,30 @@ const ca = f(
|
|
|
3906
3908
|
);
|
|
3907
3909
|
}
|
|
3908
3910
|
);
|
|
3909
|
-
|
|
3910
|
-
const
|
|
3911
|
-
layoutOverride:
|
|
3912
|
-
sliderContainer:
|
|
3913
|
-
sliderTrackWrapper:
|
|
3914
|
-
iconWrapper:
|
|
3915
|
-
sliderRoot:
|
|
3916
|
-
sliderTrack:
|
|
3917
|
-
sliderBar:
|
|
3918
|
-
sliderThumb:
|
|
3919
|
-
sliderMarkWrapper:
|
|
3920
|
-
sliderMark:
|
|
3921
|
-
sliderMarkLabel:
|
|
3922
|
-
minMaxGuide:
|
|
3923
|
-
rightGuideContainer:
|
|
3924
|
-
currentValue:
|
|
3925
|
-
inputField:
|
|
3926
|
-
readOnlyValue:
|
|
3927
|
-
},
|
|
3911
|
+
ua.displayName = "SegmentedControl";
|
|
3912
|
+
const yp = ua, Fc = "Slider-module__layoutOverride___zYPun", Uc = "Slider-module__sliderContainer___y8I0J", Vc = "Slider-module__sliderTrackWrapper___UHpVh", Hc = "Slider-module__iconWrapper___uqHpC", Gc = "Slider-module__sliderRoot___LI86H", jc = "Slider-module__sliderTrack___oqnlG", qc = "Slider-module__sliderBar___TI4VY", Kc = "Slider-module__sliderThumb___OFn8p", Yc = "Slider-module__sliderMarkWrapper___Ufqhu", Zc = "Slider-module__sliderMark___1lM2B", Xc = "Slider-module__sliderMarkLabel___MMZrq", Qc = "Slider-module__minMaxGuide___TaGqz", Jc = "Slider-module__rightGuideContainer___8dOT8", ed = "Slider-module__currentValue___dGV2T", od = "Slider-module__inputField___6x578", td = "Slider-module__readOnlyValue___-ZzMW", ee = {
|
|
3913
|
+
layoutOverride: Fc,
|
|
3914
|
+
sliderContainer: Uc,
|
|
3915
|
+
sliderTrackWrapper: Vc,
|
|
3916
|
+
iconWrapper: Hc,
|
|
3917
|
+
sliderRoot: Gc,
|
|
3918
|
+
sliderTrack: jc,
|
|
3919
|
+
sliderBar: qc,
|
|
3920
|
+
sliderThumb: Kc,
|
|
3921
|
+
sliderMarkWrapper: Yc,
|
|
3922
|
+
sliderMark: Zc,
|
|
3923
|
+
sliderMarkLabel: Xc,
|
|
3924
|
+
minMaxGuide: Qc,
|
|
3925
|
+
rightGuideContainer: Jc,
|
|
3926
|
+
currentValue: ed,
|
|
3927
|
+
inputField: od,
|
|
3928
|
+
readOnlyValue: td
|
|
3929
|
+
}, nd = ({
|
|
3928
3930
|
value: a
|
|
3929
3931
|
}) => {
|
|
3930
3932
|
const e = Array.isArray(a) ? `${a[0]} – ${a[1]}` : a;
|
|
3931
3933
|
return /* @__PURE__ */ r("div", { className: ee.readOnlyValue, children: e });
|
|
3932
|
-
},
|
|
3934
|
+
}, ad = f(
|
|
3933
3935
|
function(e, o) {
|
|
3934
3936
|
const {
|
|
3935
3937
|
overStyled: t = !1,
|
|
@@ -3942,12 +3944,12 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
3942
3944
|
labelActionArea: d,
|
|
3943
3945
|
onLabelEditClick: p,
|
|
3944
3946
|
label: u,
|
|
3945
|
-
tooltipLabel:
|
|
3947
|
+
tooltipLabel: b,
|
|
3946
3948
|
assistiveText: y,
|
|
3947
3949
|
assistiveWithIcon: g,
|
|
3948
3950
|
error: h,
|
|
3949
3951
|
required: C,
|
|
3950
|
-
withAsterisk:
|
|
3952
|
+
withAsterisk: N,
|
|
3951
3953
|
id: P,
|
|
3952
3954
|
className: S,
|
|
3953
3955
|
style: w,
|
|
@@ -4008,7 +4010,7 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4008
4010
|
}, Xe = () => {
|
|
4009
4011
|
const B = k;
|
|
4010
4012
|
re([B[0].toString(), B[1].toString()]);
|
|
4011
|
-
},
|
|
4013
|
+
}, Ae = [
|
|
4012
4014
|
"size",
|
|
4013
4015
|
// Recursica controls sizing via Slider.module.css variables, not Mantine's native size scale.
|
|
4014
4016
|
"variant",
|
|
@@ -4019,10 +4021,10 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4019
4021
|
// as a defensive no-op delete since it predates this consolidation and the public prop type
|
|
4020
4022
|
// already `Omit`s it; Recursica's own FormControlLayout/WithReadOnlyWrapper own wrapper markup.
|
|
4021
4023
|
"wrapperProps"
|
|
4022
|
-
],
|
|
4024
|
+
], We = V(
|
|
4023
4025
|
m(A, t),
|
|
4024
|
-
|
|
4025
|
-
), uo =
|
|
4026
|
+
Ae
|
|
4027
|
+
), uo = We, $e = E(
|
|
4026
4028
|
{
|
|
4027
4029
|
root: ee.sliderRoot,
|
|
4028
4030
|
track: ee.sliderTrack,
|
|
@@ -4033,7 +4035,7 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4033
4035
|
markLabel: ee.sliderMarkLabel
|
|
4034
4036
|
},
|
|
4035
4037
|
uo.classNames
|
|
4036
|
-
), Qe = S ? `${ee.layoutOverride} ${S}` : ee.layoutOverride, xe = D ? /* @__PURE__ */ r("span", { className: ee.iconWrapper, "aria-hidden": !0, children: D }) : null, Je = W ? /* @__PURE__ */ r("span", { className: ee.iconWrapper, "aria-hidden": !0, children: W }) : null, U = Array.isArray(k) ? typeof
|
|
4038
|
+
), Qe = S ? `${ee.layoutOverride} ${S}` : ee.layoutOverride, xe = D ? /* @__PURE__ */ r("span", { className: ee.iconWrapper, "aria-hidden": !0, children: D }) : null, Je = W ? /* @__PURE__ */ r("span", { className: ee.iconWrapper, "aria-hidden": !0, children: W }) : null, U = Array.isArray(k) ? typeof b == "function" ? `${b(k[0])} – ${b(k[1])}` : `${k[0]} – ${k[1]}` : typeof b == "function" ? b(k) : k;
|
|
4037
4039
|
return /* @__PURE__ */ r(
|
|
4038
4040
|
he,
|
|
4039
4041
|
{
|
|
@@ -4055,10 +4057,10 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4055
4057
|
assistiveWithIcon: g,
|
|
4056
4058
|
error: h,
|
|
4057
4059
|
required: C,
|
|
4058
|
-
withAsterisk:
|
|
4060
|
+
withAsterisk: N,
|
|
4059
4061
|
id: P,
|
|
4060
4062
|
readOnly: _,
|
|
4061
|
-
readOnlyComponent: $ ||
|
|
4063
|
+
readOnlyComponent: $ || nd,
|
|
4062
4064
|
emptyValueComponent: v,
|
|
4063
4065
|
readOnlyType: "text",
|
|
4064
4066
|
readOnlyValue: k,
|
|
@@ -4090,9 +4092,9 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4090
4092
|
xe,
|
|
4091
4093
|
Y && /* @__PURE__ */ r("span", { className: ee.minMaxGuide, children: X ?? G }),
|
|
4092
4094
|
/* @__PURE__ */ r("div", { className: ee.sliderTrackWrapper, children: se ? /* @__PURE__ */ r(
|
|
4093
|
-
|
|
4095
|
+
lr,
|
|
4094
4096
|
{
|
|
4095
|
-
...
|
|
4097
|
+
...We,
|
|
4096
4098
|
classNames: $e,
|
|
4097
4099
|
disabled: T,
|
|
4098
4100
|
value: k,
|
|
@@ -4101,12 +4103,12 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4101
4103
|
min: G,
|
|
4102
4104
|
max: j,
|
|
4103
4105
|
step: K,
|
|
4104
|
-
label:
|
|
4106
|
+
label: b
|
|
4105
4107
|
}
|
|
4106
4108
|
) : /* @__PURE__ */ r(
|
|
4107
|
-
|
|
4109
|
+
ir,
|
|
4108
4110
|
{
|
|
4109
|
-
...
|
|
4111
|
+
...We,
|
|
4110
4112
|
classNames: $e,
|
|
4111
4113
|
disabled: T,
|
|
4112
4114
|
value: k,
|
|
@@ -4115,7 +4117,7 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4115
4117
|
min: G,
|
|
4116
4118
|
max: j,
|
|
4117
4119
|
step: K,
|
|
4118
|
-
label:
|
|
4120
|
+
label: b
|
|
4119
4121
|
}
|
|
4120
4122
|
) }),
|
|
4121
4123
|
/* @__PURE__ */ L("div", { className: ee.rightGuideContainer, children: [
|
|
@@ -4160,10 +4162,10 @@ const up = ca, Dc = "Slider-module__layoutOverride___zYPun", Ec = "Slider-module
|
|
|
4160
4162
|
);
|
|
4161
4163
|
}
|
|
4162
4164
|
);
|
|
4163
|
-
|
|
4164
|
-
const
|
|
4165
|
-
root:
|
|
4166
|
-
},
|
|
4165
|
+
ad.displayName = "Slider";
|
|
4166
|
+
const rd = "Stack-module__root___NUN-x", Oo = {
|
|
4167
|
+
root: rd
|
|
4168
|
+
}, pa = f(function({ children: e, gap: o = "rec-default", ...t }, n) {
|
|
4167
4169
|
const s = {
|
|
4168
4170
|
root: Oo.root
|
|
4169
4171
|
}, l = t.classNames;
|
|
@@ -4173,7 +4175,7 @@ const td = "Stack-module__root___NUN-x", Oo = {
|
|
|
4173
4175
|
}
|
|
4174
4176
|
const c = t.className, i = c ? `${Oo.root} ${c}` : Oo.root;
|
|
4175
4177
|
return /* @__PURE__ */ r(
|
|
4176
|
-
|
|
4178
|
+
cr,
|
|
4177
4179
|
{
|
|
4178
4180
|
ref: n,
|
|
4179
4181
|
className: i,
|
|
@@ -4183,24 +4185,24 @@ const td = "Stack-module__root___NUN-x", Oo = {
|
|
|
4183
4185
|
}
|
|
4184
4186
|
);
|
|
4185
4187
|
});
|
|
4186
|
-
|
|
4187
|
-
const
|
|
4188
|
-
root:
|
|
4189
|
-
horizontal:
|
|
4190
|
-
steps:
|
|
4191
|
-
step:
|
|
4192
|
-
stepBody:
|
|
4193
|
-
stepLabel:
|
|
4194
|
-
stepDescription:
|
|
4195
|
-
separator:
|
|
4196
|
-
vertical:
|
|
4197
|
-
large:
|
|
4198
|
-
small:
|
|
4199
|
-
stepIcon:
|
|
4200
|
-
stepCompletedIcon:
|
|
4201
|
-
verticalSeparator:
|
|
4202
|
-
content:
|
|
4203
|
-
},
|
|
4188
|
+
pa.displayName = "Stack";
|
|
4189
|
+
const hp = Te(pa), sd = "Stepper-module__root___jbSYO", ld = "Stepper-module__horizontal___USHT1", id = "Stepper-module__steps___4HPO6", cd = "Stepper-module__step___s2nqL", dd = "Stepper-module__stepBody___TBvys", ud = "Stepper-module__stepLabel___N6nuy", pd = "Stepper-module__stepDescription___DnDAy", md = "Stepper-module__separator___pU0No", _d = "Stepper-module__vertical___d4mOs", fd = "Stepper-module__large___J18-y", yd = "Stepper-module__small___Ub-zb", hd = "Stepper-module__stepIcon___YQHNq", vd = "Stepper-module__stepCompletedIcon___B9MeL", bd = "Stepper-module__verticalSeparator___frWc1", Nd = "Stepper-module__content___J-h8X", de = {
|
|
4190
|
+
root: sd,
|
|
4191
|
+
horizontal: ld,
|
|
4192
|
+
steps: id,
|
|
4193
|
+
step: cd,
|
|
4194
|
+
stepBody: dd,
|
|
4195
|
+
stepLabel: ud,
|
|
4196
|
+
stepDescription: pd,
|
|
4197
|
+
separator: md,
|
|
4198
|
+
vertical: _d,
|
|
4199
|
+
large: fd,
|
|
4200
|
+
small: yd,
|
|
4201
|
+
stepIcon: hd,
|
|
4202
|
+
stepCompletedIcon: vd,
|
|
4203
|
+
verticalSeparator: bd,
|
|
4204
|
+
content: Nd
|
|
4205
|
+
}, ma = f(
|
|
4204
4206
|
function(e, o) {
|
|
4205
4207
|
const {
|
|
4206
4208
|
overStyled: t = !1,
|
|
@@ -4238,7 +4240,7 @@ const pp = Te(da), nd = "Stepper-module__root___jbSYO", ad = "Stepper-module__ho
|
|
|
4238
4240
|
}
|
|
4239
4241
|
);
|
|
4240
4242
|
}
|
|
4241
|
-
),
|
|
4243
|
+
), _a = f(
|
|
4242
4244
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4243
4245
|
const n = m(o, e);
|
|
4244
4246
|
return /* @__PURE__ */ r(
|
|
@@ -4250,26 +4252,26 @@ const pp = Te(da), nd = "Stepper-module__root___jbSYO", ad = "Stepper-module__ho
|
|
|
4250
4252
|
);
|
|
4251
4253
|
}
|
|
4252
4254
|
);
|
|
4253
|
-
|
|
4254
|
-
const
|
|
4255
|
-
Step:
|
|
4255
|
+
_a.displayName = "Stepper.Step";
|
|
4256
|
+
const vp = Object.assign(ma, {
|
|
4257
|
+
Step: _a,
|
|
4256
4258
|
// Stepper.Completed only accepts `children` — no styling props to strip,
|
|
4257
4259
|
// so re-exporting Mantine's implementation directly is not a gap.
|
|
4258
4260
|
Completed: ct.Completed
|
|
4259
4261
|
});
|
|
4260
|
-
|
|
4261
|
-
const
|
|
4262
|
-
root:
|
|
4263
|
-
track:
|
|
4264
|
-
body:
|
|
4265
|
-
thumb:
|
|
4266
|
-
labelWrapper:
|
|
4267
|
-
label:
|
|
4268
|
-
thumbIconWrapper:
|
|
4269
|
-
checkIcon:
|
|
4270
|
-
closeIcon:
|
|
4271
|
-
groupRoot:
|
|
4272
|
-
},
|
|
4262
|
+
ma.displayName = "Stepper";
|
|
4263
|
+
const gd = "Switch-module__root___Y5Ydi", Cd = "Switch-module__track___7ObdZ", Pd = "Switch-module__body___Sw9Wr", Td = "Switch-module__thumb___-FTeK", wd = "Switch-module__labelWrapper___YSOwx", Sd = "Switch-module__label___LrH7V", $d = "Switch-module__thumbIconWrapper___sCY-1", xd = "Switch-module__checkIcon___ZBAQN", Od = "Switch-module__closeIcon___bLLGw", kd = "Switch-module__groupRoot___-Uepi", fe = {
|
|
4264
|
+
root: gd,
|
|
4265
|
+
track: Cd,
|
|
4266
|
+
body: Pd,
|
|
4267
|
+
thumb: Td,
|
|
4268
|
+
labelWrapper: wd,
|
|
4269
|
+
label: Sd,
|
|
4270
|
+
thumbIconWrapper: $d,
|
|
4271
|
+
checkIcon: xd,
|
|
4272
|
+
closeIcon: Od,
|
|
4273
|
+
groupRoot: kd
|
|
4274
|
+
}, fa = f(
|
|
4273
4275
|
function(e, o) {
|
|
4274
4276
|
const {
|
|
4275
4277
|
overStyled: t = !1,
|
|
@@ -4283,12 +4285,12 @@ const vd = "Switch-module__root___Y5Ydi", bd = "Switch-module__track___7ObdZ", N
|
|
|
4283
4285
|
// Base Mantine Extracted Attributes
|
|
4284
4286
|
label: p,
|
|
4285
4287
|
description: u,
|
|
4286
|
-
assistiveText:
|
|
4288
|
+
assistiveText: b,
|
|
4287
4289
|
assistiveWithIcon: y,
|
|
4288
4290
|
error: g,
|
|
4289
4291
|
required: h,
|
|
4290
4292
|
withAsterisk: C,
|
|
4291
|
-
id:
|
|
4293
|
+
id: N,
|
|
4292
4294
|
className: P,
|
|
4293
4295
|
style: S,
|
|
4294
4296
|
children: w,
|
|
@@ -4322,12 +4324,12 @@ const vd = "Switch-module__root___Y5Ydi", bd = "Switch-module__track___7ObdZ", N
|
|
|
4322
4324
|
onLabelEditClick: d,
|
|
4323
4325
|
label: p,
|
|
4324
4326
|
description: u,
|
|
4325
|
-
assistiveText:
|
|
4327
|
+
assistiveText: b,
|
|
4326
4328
|
assistiveWithIcon: y,
|
|
4327
4329
|
error: g,
|
|
4328
4330
|
required: h,
|
|
4329
4331
|
withAsterisk: C,
|
|
4330
|
-
id:
|
|
4332
|
+
id: N,
|
|
4331
4333
|
readOnly: T && !!_,
|
|
4332
4334
|
readOnlyComponent: _,
|
|
4333
4335
|
emptyValueComponent: $,
|
|
@@ -4335,7 +4337,7 @@ const vd = "Switch-module__root___Y5Ydi", bd = "Switch-module__track___7ObdZ", N
|
|
|
4335
4337
|
readOnlyValue: v !== void 0 ? v : O,
|
|
4336
4338
|
readOnlyNativeProps: e,
|
|
4337
4339
|
activeComponent: /* @__PURE__ */ r(
|
|
4338
|
-
|
|
4340
|
+
Gt.Group,
|
|
4339
4341
|
{
|
|
4340
4342
|
ref: o,
|
|
4341
4343
|
...W,
|
|
@@ -4349,8 +4351,8 @@ const vd = "Switch-module__root___Y5Ydi", bd = "Switch-module__track___7ObdZ", N
|
|
|
4349
4351
|
);
|
|
4350
4352
|
}
|
|
4351
4353
|
);
|
|
4352
|
-
|
|
4353
|
-
const
|
|
4354
|
+
fa.displayName = "SwitchGroup";
|
|
4355
|
+
const ya = f(
|
|
4354
4356
|
function(e, o) {
|
|
4355
4357
|
const {
|
|
4356
4358
|
overStyled: t = !1,
|
|
@@ -4362,7 +4364,7 @@ const _a = f(
|
|
|
4362
4364
|
labelSize: d,
|
|
4363
4365
|
controlMaxWidth: p,
|
|
4364
4366
|
controlMinWidth: u,
|
|
4365
|
-
...
|
|
4367
|
+
...b
|
|
4366
4368
|
} = e, y = [
|
|
4367
4369
|
"size",
|
|
4368
4370
|
// Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
|
|
@@ -4373,7 +4375,7 @@ const _a = f(
|
|
|
4373
4375
|
"variant"
|
|
4374
4376
|
// Switch has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
|
|
4375
4377
|
], g = V(
|
|
4376
|
-
m(
|
|
4378
|
+
m(b, t),
|
|
4377
4379
|
y
|
|
4378
4380
|
), h = g, C = E(
|
|
4379
4381
|
{
|
|
@@ -4386,7 +4388,7 @@ const _a = f(
|
|
|
4386
4388
|
label: fe.label
|
|
4387
4389
|
},
|
|
4388
4390
|
h.classNames
|
|
4389
|
-
),
|
|
4391
|
+
), N = Ir(
|
|
4390
4392
|
{},
|
|
4391
4393
|
h.styles
|
|
4392
4394
|
), P = h.className, S = P ? `${fe.root} ${P}` : fe.root;
|
|
@@ -4411,19 +4413,19 @@ const _a = f(
|
|
|
4411
4413
|
) : /* @__PURE__ */ r(Ge, { children: v });
|
|
4412
4414
|
}
|
|
4413
4415
|
const w = /* @__PURE__ */ L("div", { className: fe.thumbIconWrapper, children: [
|
|
4414
|
-
/* @__PURE__ */ r(
|
|
4415
|
-
/* @__PURE__ */ r(
|
|
4416
|
+
/* @__PURE__ */ r(dr, { className: fe.checkIcon }),
|
|
4417
|
+
/* @__PURE__ */ r(ur, { className: fe.closeIcon })
|
|
4416
4418
|
] }), T = /* @__PURE__ */ r(
|
|
4417
|
-
|
|
4419
|
+
Gt,
|
|
4418
4420
|
{
|
|
4419
4421
|
ref: o,
|
|
4420
4422
|
...g,
|
|
4421
4423
|
className: S,
|
|
4422
4424
|
classNames: C,
|
|
4423
|
-
styles:
|
|
4425
|
+
styles: N,
|
|
4424
4426
|
disabled: n || l,
|
|
4425
4427
|
"data-disabled": n || l || void 0,
|
|
4426
|
-
thumbIcon:
|
|
4428
|
+
thumbIcon: Ue(
|
|
4427
4429
|
w,
|
|
4428
4430
|
c
|
|
4429
4431
|
)
|
|
@@ -4441,13 +4443,13 @@ const _a = f(
|
|
|
4441
4443
|
) : T;
|
|
4442
4444
|
}
|
|
4443
4445
|
);
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
const
|
|
4447
|
-
root:
|
|
4448
|
-
sortIcon:
|
|
4446
|
+
ya.displayName = "Switch";
|
|
4447
|
+
ya.Group = fa;
|
|
4448
|
+
const Rd = "Table-module__root___aMWWS", Id = "Table-module__sortIcon___V3-dH", nt = {
|
|
4449
|
+
root: Rd,
|
|
4450
|
+
sortIcon: Id
|
|
4449
4451
|
};
|
|
4450
|
-
function
|
|
4452
|
+
function Ld(a) {
|
|
4451
4453
|
return /* @__PURE__ */ r(
|
|
4452
4454
|
"svg",
|
|
4453
4455
|
{
|
|
@@ -4463,7 +4465,7 @@ function kd(a) {
|
|
|
4463
4465
|
}
|
|
4464
4466
|
);
|
|
4465
4467
|
}
|
|
4466
|
-
function
|
|
4468
|
+
function Md(a) {
|
|
4467
4469
|
return /* @__PURE__ */ r(
|
|
4468
4470
|
"svg",
|
|
4469
4471
|
{
|
|
@@ -4479,7 +4481,7 @@ function Rd(a) {
|
|
|
4479
4481
|
}
|
|
4480
4482
|
);
|
|
4481
4483
|
}
|
|
4482
|
-
const
|
|
4484
|
+
const ha = f(function({ overStyled: e = !1, ...o }, t) {
|
|
4483
4485
|
const n = m(o, e), s = n.className, l = nt.root, c = s ? `${l} ${s}` : l;
|
|
4484
4486
|
return /* @__PURE__ */ r(
|
|
4485
4487
|
qe,
|
|
@@ -4490,8 +4492,8 @@ const fa = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
4490
4492
|
}
|
|
4491
4493
|
);
|
|
4492
4494
|
});
|
|
4493
|
-
|
|
4494
|
-
const
|
|
4495
|
+
ha.displayName = "Table";
|
|
4496
|
+
const va = f(
|
|
4495
4497
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4496
4498
|
const n = m(o, e);
|
|
4497
4499
|
return /* @__PURE__ */ r(
|
|
@@ -4503,8 +4505,8 @@ const ya = f(
|
|
|
4503
4505
|
);
|
|
4504
4506
|
}
|
|
4505
4507
|
);
|
|
4506
|
-
|
|
4507
|
-
const
|
|
4508
|
+
va.displayName = "TableThead";
|
|
4509
|
+
const ba = f(
|
|
4508
4510
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4509
4511
|
const n = m(o, e);
|
|
4510
4512
|
return /* @__PURE__ */ r(
|
|
@@ -4516,8 +4518,8 @@ const ha = f(
|
|
|
4516
4518
|
);
|
|
4517
4519
|
}
|
|
4518
4520
|
);
|
|
4519
|
-
|
|
4520
|
-
const
|
|
4521
|
+
ba.displayName = "TableTbody";
|
|
4522
|
+
const Na = f(
|
|
4521
4523
|
function({ overStyled: e = !1, selected: o = !1, disabled: t = !1, ...n }, s) {
|
|
4522
4524
|
const l = m(n, e);
|
|
4523
4525
|
return /* @__PURE__ */ r(
|
|
@@ -4531,8 +4533,8 @@ const va = f(
|
|
|
4531
4533
|
);
|
|
4532
4534
|
}
|
|
4533
4535
|
);
|
|
4534
|
-
|
|
4535
|
-
const
|
|
4536
|
+
Na.displayName = "TableTr";
|
|
4537
|
+
const ga = f(
|
|
4536
4538
|
function({
|
|
4537
4539
|
overStyled: e = !1,
|
|
4538
4540
|
sorted: o = !1,
|
|
@@ -4553,15 +4555,15 @@ const ba = f(
|
|
|
4553
4555
|
"aria-sort": o === "asc" ? "ascending" : o === "desc" ? "descending" : void 0,
|
|
4554
4556
|
children: [
|
|
4555
4557
|
s,
|
|
4556
|
-
o === "asc" && /* @__PURE__ */ r(
|
|
4557
|
-
o === "desc" && /* @__PURE__ */ r(
|
|
4558
|
+
o === "asc" && /* @__PURE__ */ r(Ld, { className: nt.sortIcon }),
|
|
4559
|
+
o === "desc" && /* @__PURE__ */ r(Md, { className: nt.sortIcon })
|
|
4558
4560
|
]
|
|
4559
4561
|
}
|
|
4560
4562
|
);
|
|
4561
4563
|
}
|
|
4562
4564
|
);
|
|
4563
|
-
|
|
4564
|
-
const
|
|
4565
|
+
ga.displayName = "TableTh";
|
|
4566
|
+
const Ca = f(
|
|
4565
4567
|
function({ overStyled: e = !1, disabled: o = !1, variant: t = "default", ...n }, s) {
|
|
4566
4568
|
const l = m(n, e);
|
|
4567
4569
|
return /* @__PURE__ */ r(
|
|
@@ -4575,8 +4577,8 @@ const Na = f(
|
|
|
4575
4577
|
);
|
|
4576
4578
|
}
|
|
4577
4579
|
);
|
|
4578
|
-
|
|
4579
|
-
const
|
|
4580
|
+
Ca.displayName = "TableTd";
|
|
4581
|
+
const Pa = f(
|
|
4580
4582
|
function({ overStyled: e = !1, ...o }, t) {
|
|
4581
4583
|
const n = m(o, e);
|
|
4582
4584
|
return /* @__PURE__ */ r(
|
|
@@ -4588,8 +4590,8 @@ const ga = f(
|
|
|
4588
4590
|
);
|
|
4589
4591
|
}
|
|
4590
4592
|
);
|
|
4591
|
-
|
|
4592
|
-
const
|
|
4593
|
+
Pa.displayName = "TableTfoot";
|
|
4594
|
+
const Ta = f(function({ overStyled: e = !1, ...o }, t) {
|
|
4593
4595
|
const n = m(o, e);
|
|
4594
4596
|
return /* @__PURE__ */ r(
|
|
4595
4597
|
qe.Caption,
|
|
@@ -4599,8 +4601,8 @@ const Ca = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
4599
4601
|
}
|
|
4600
4602
|
);
|
|
4601
4603
|
});
|
|
4602
|
-
|
|
4603
|
-
const
|
|
4604
|
+
Ta.displayName = "TableCaption";
|
|
4605
|
+
const wa = f(function({ overStyled: e = !1, ...o }, t) {
|
|
4604
4606
|
const n = m(o, e);
|
|
4605
4607
|
return /* @__PURE__ */ r(
|
|
4606
4608
|
qe.ScrollContainer,
|
|
@@ -4610,23 +4612,23 @@ const Pa = f(function({ overStyled: e = !1, ...o }, t) {
|
|
|
4610
4612
|
}
|
|
4611
4613
|
);
|
|
4612
4614
|
});
|
|
4613
|
-
|
|
4614
|
-
const co =
|
|
4615
|
-
co.Thead =
|
|
4616
|
-
co.Tbody =
|
|
4617
|
-
co.Tr =
|
|
4618
|
-
co.Th =
|
|
4619
|
-
co.Td =
|
|
4620
|
-
co.Tfoot =
|
|
4621
|
-
co.Caption =
|
|
4622
|
-
co.ScrollContainer =
|
|
4623
|
-
const
|
|
4624
|
-
root:
|
|
4625
|
-
list:
|
|
4626
|
-
tab:
|
|
4627
|
-
tabSection:
|
|
4628
|
-
panel:
|
|
4629
|
-
},
|
|
4615
|
+
wa.displayName = "TableScrollContainer";
|
|
4616
|
+
const co = ha;
|
|
4617
|
+
co.Thead = va;
|
|
4618
|
+
co.Tbody = ba;
|
|
4619
|
+
co.Tr = Na;
|
|
4620
|
+
co.Th = ga;
|
|
4621
|
+
co.Td = Ca;
|
|
4622
|
+
co.Tfoot = Pa;
|
|
4623
|
+
co.Caption = Ta;
|
|
4624
|
+
co.ScrollContainer = wa;
|
|
4625
|
+
const Ad = "Tabs-module__root___-VKVI", Wd = "Tabs-module__list___qRVME", zd = "Tabs-module__tab___IdDYc", Dd = "Tabs-module__tabSection___Es-nf", Ed = "Tabs-module__panel___08i9c", ko = {
|
|
4626
|
+
root: Ad,
|
|
4627
|
+
list: Wd,
|
|
4628
|
+
tab: zd,
|
|
4629
|
+
tabSection: Dd,
|
|
4630
|
+
panel: Ed
|
|
4631
|
+
}, Sa = f(function(e, o) {
|
|
4630
4632
|
const {
|
|
4631
4633
|
variant: t = "default",
|
|
4632
4634
|
orientation: n = "horizontal",
|
|
@@ -4656,8 +4658,8 @@ const Id = "Tabs-module__root___-VKVI", Ld = "Tabs-module__list___qRVME", Md = "
|
|
|
4656
4658
|
}
|
|
4657
4659
|
);
|
|
4658
4660
|
});
|
|
4659
|
-
|
|
4660
|
-
const
|
|
4661
|
+
Sa.displayName = "Tabs";
|
|
4662
|
+
const $a = f(
|
|
4661
4663
|
function(e, o) {
|
|
4662
4664
|
const { overStyled: t = !1, ...n } = e;
|
|
4663
4665
|
return /* @__PURE__ */ r(
|
|
@@ -4669,8 +4671,8 @@ const wa = f(
|
|
|
4669
4671
|
);
|
|
4670
4672
|
}
|
|
4671
4673
|
);
|
|
4672
|
-
|
|
4673
|
-
const
|
|
4674
|
+
$a.displayName = "Tabs.List";
|
|
4675
|
+
const xa = f(
|
|
4674
4676
|
function(e, o) {
|
|
4675
4677
|
const { overStyled: t = !1, ...n } = e;
|
|
4676
4678
|
return /* @__PURE__ */ r(
|
|
@@ -4682,8 +4684,8 @@ const Sa = f(
|
|
|
4682
4684
|
);
|
|
4683
4685
|
}
|
|
4684
4686
|
);
|
|
4685
|
-
|
|
4686
|
-
const
|
|
4687
|
+
xa.displayName = "Tabs.Tab";
|
|
4688
|
+
const Oa = f(
|
|
4687
4689
|
function(e, o) {
|
|
4688
4690
|
const { overStyled: t = !1, ...n } = e;
|
|
4689
4691
|
return /* @__PURE__ */ r(
|
|
@@ -4695,45 +4697,74 @@ const $a = f(
|
|
|
4695
4697
|
);
|
|
4696
4698
|
}
|
|
4697
4699
|
);
|
|
4698
|
-
|
|
4699
|
-
const
|
|
4700
|
-
List:
|
|
4701
|
-
Tab:
|
|
4702
|
-
Panel:
|
|
4703
|
-
}),
|
|
4704
|
-
|
|
4705
|
-
|
|
4700
|
+
Oa.displayName = "Tabs.Panel";
|
|
4701
|
+
const bp = Object.assign(Sa, {
|
|
4702
|
+
List: $a,
|
|
4703
|
+
Tab: xa,
|
|
4704
|
+
Panel: Oa
|
|
4705
|
+
}), It = /* @__PURE__ */ new Set(), Lt = /* @__PURE__ */ new Set();
|
|
4706
|
+
function ka(a, e) {
|
|
4707
|
+
return Array.from(a).some((o) => {
|
|
4708
|
+
if (o instanceof CSSStyleRule)
|
|
4709
|
+
return o.selectorText.split(",").some((n) => n.trim() === e);
|
|
4710
|
+
const t = o.cssRules;
|
|
4711
|
+
return t ? ka(t, e) : !1;
|
|
4712
|
+
});
|
|
4713
|
+
}
|
|
4714
|
+
function Bd(a) {
|
|
4715
|
+
const e = `.recursica_brand_typography_${a}`;
|
|
4716
|
+
if (It.has(e)) return !0;
|
|
4717
|
+
const o = Array.from(document.styleSheets).some((t) => {
|
|
4718
|
+
try {
|
|
4719
|
+
return ka(t.cssRules, e);
|
|
4720
|
+
} catch {
|
|
4721
|
+
return !1;
|
|
4722
|
+
}
|
|
4723
|
+
});
|
|
4724
|
+
return o ? It.add(e) : Lt.has(e) || (Lt.add(e), console.error(
|
|
4725
|
+
`Text: no "${e}" rule found. "${a}" is not defined under brand.typography in the exported Recursica CSS, so the text is hidden.`
|
|
4726
|
+
)), o;
|
|
4727
|
+
}
|
|
4728
|
+
const Fd = "Text-module__root___rsBo7", Ud = {
|
|
4729
|
+
root: Fd
|
|
4730
|
+
}, Vd = ["h1", "h2", "h3", "h4", "h5", "h6"], Ra = f(function({
|
|
4706
4731
|
overStyled: e = !1,
|
|
4707
4732
|
variant: o = "body",
|
|
4708
4733
|
emphasis: t = "high",
|
|
4709
4734
|
color: n = "default",
|
|
4710
4735
|
...s
|
|
4711
4736
|
}, l) {
|
|
4712
|
-
const c =
|
|
4737
|
+
const c = s.component;
|
|
4738
|
+
if (typeof c == "string" && Vd.includes(c))
|
|
4739
|
+
throw new Error(
|
|
4740
|
+
`Text cannot render <${c}>. Use <Heading> for semantic h1-h6.`
|
|
4741
|
+
);
|
|
4742
|
+
const i = m(s, e), d = i.className, p = process.env.NODE_ENV !== "production" && typeof document < "u" && !Bd(o), b = [`recursica_brand_typography_${o}`, Ud.root, d].filter(Boolean).join(" ");
|
|
4713
4743
|
return /* @__PURE__ */ r(
|
|
4714
|
-
|
|
4744
|
+
pr,
|
|
4715
4745
|
{
|
|
4716
4746
|
ref: l,
|
|
4717
|
-
...
|
|
4747
|
+
...i,
|
|
4718
4748
|
"data-color": n,
|
|
4719
4749
|
"data-emphasis": t,
|
|
4720
|
-
|
|
4750
|
+
"data-typography-missing": p || void 0,
|
|
4751
|
+
className: b
|
|
4721
4752
|
}
|
|
4722
4753
|
);
|
|
4723
4754
|
});
|
|
4724
|
-
|
|
4725
|
-
const
|
|
4726
|
-
layoutOverride:
|
|
4727
|
-
root:
|
|
4728
|
-
input:
|
|
4729
|
-
},
|
|
4755
|
+
Ra.displayName = "Text";
|
|
4756
|
+
const Np = Te(Ra), Hd = "TextArea-module__layoutOverride___4MCdm", Gd = "TextArea-module__root___3dyeu", jd = "TextArea-module__input___8l36v", zo = {
|
|
4757
|
+
layoutOverride: Hd,
|
|
4758
|
+
root: Gd,
|
|
4759
|
+
input: jd
|
|
4760
|
+
}, qd = [
|
|
4730
4761
|
"size",
|
|
4731
4762
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4732
4763
|
"variant",
|
|
4733
4764
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4734
4765
|
"radius"
|
|
4735
4766
|
// Recursica does not expose the library's native corner-radius system.
|
|
4736
|
-
],
|
|
4767
|
+
], Kd = f(
|
|
4737
4768
|
function(e, o) {
|
|
4738
4769
|
const {
|
|
4739
4770
|
overStyled: t = !1,
|
|
@@ -4746,12 +4777,12 @@ const fp = Te(xa), Ed = "TextArea-module__layoutOverride___4MCdm", Bd = "TextAre
|
|
|
4746
4777
|
onLabelEditClick: d,
|
|
4747
4778
|
label: p,
|
|
4748
4779
|
assistiveText: u,
|
|
4749
|
-
assistiveWithIcon:
|
|
4780
|
+
assistiveWithIcon: b,
|
|
4750
4781
|
error: y,
|
|
4751
4782
|
required: g,
|
|
4752
4783
|
withAsterisk: h,
|
|
4753
4784
|
id: C,
|
|
4754
|
-
className:
|
|
4785
|
+
className: N,
|
|
4755
4786
|
style: P,
|
|
4756
4787
|
disabled: S,
|
|
4757
4788
|
readOnly: w,
|
|
@@ -4762,7 +4793,7 @@ const fp = Te(xa), Ed = "TextArea-module__layoutOverride___4MCdm", Bd = "TextAre
|
|
|
4762
4793
|
...O
|
|
4763
4794
|
} = e, M = V(
|
|
4764
4795
|
m(O, t),
|
|
4765
|
-
|
|
4796
|
+
qd
|
|
4766
4797
|
), D = M, W = E(
|
|
4767
4798
|
{
|
|
4768
4799
|
wrapper: zo.root,
|
|
@@ -4770,7 +4801,7 @@ const fp = Te(xa), Ed = "TextArea-module__layoutOverride___4MCdm", Bd = "TextAre
|
|
|
4770
4801
|
input: zo.input
|
|
4771
4802
|
},
|
|
4772
4803
|
D.classNames
|
|
4773
|
-
), I =
|
|
4804
|
+
), I = N ? `${zo.layoutOverride} ${N}` : zo.layoutOverride;
|
|
4774
4805
|
return /* @__PURE__ */ r(
|
|
4775
4806
|
he,
|
|
4776
4807
|
{
|
|
@@ -4787,7 +4818,7 @@ const fp = Te(xa), Ed = "TextArea-module__layoutOverride___4MCdm", Bd = "TextAre
|
|
|
4787
4818
|
onLabelEditClick: d,
|
|
4788
4819
|
label: p,
|
|
4789
4820
|
assistiveText: u,
|
|
4790
|
-
assistiveWithIcon:
|
|
4821
|
+
assistiveWithIcon: b,
|
|
4791
4822
|
error: y,
|
|
4792
4823
|
required: g,
|
|
4793
4824
|
withAsterisk: h,
|
|
@@ -4801,7 +4832,7 @@ const fp = Te(xa), Ed = "TextArea-module__layoutOverride___4MCdm", Bd = "TextAre
|
|
|
4801
4832
|
activeComponent: (
|
|
4802
4833
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
4803
4834
|
/* @__PURE__ */ r(
|
|
4804
|
-
|
|
4835
|
+
mr,
|
|
4805
4836
|
{
|
|
4806
4837
|
ref: o,
|
|
4807
4838
|
...M,
|
|
@@ -4821,20 +4852,20 @@ const fp = Te(xa), Ed = "TextArea-module__layoutOverride___4MCdm", Bd = "TextAre
|
|
|
4821
4852
|
);
|
|
4822
4853
|
}
|
|
4823
4854
|
);
|
|
4824
|
-
|
|
4825
|
-
const
|
|
4826
|
-
layoutOverride:
|
|
4827
|
-
root:
|
|
4828
|
-
input:
|
|
4829
|
-
section:
|
|
4830
|
-
},
|
|
4855
|
+
Kd.displayName = "TextArea";
|
|
4856
|
+
const Yd = "TextField-module__layoutOverride___SNZqc", Zd = "TextField-module__root___2ZYkG", Xd = "TextField-module__input___RL-My", Qd = "TextField-module__section___bCIJ0", Ro = {
|
|
4857
|
+
layoutOverride: Yd,
|
|
4858
|
+
root: Zd,
|
|
4859
|
+
input: Xd,
|
|
4860
|
+
section: Qd
|
|
4861
|
+
}, Jd = [
|
|
4831
4862
|
"size",
|
|
4832
4863
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4833
4864
|
"variant",
|
|
4834
4865
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4835
4866
|
"radius"
|
|
4836
4867
|
// Recursica does not expose the library's native corner-radius system.
|
|
4837
|
-
],
|
|
4868
|
+
], Ia = f(
|
|
4838
4869
|
function(e, o) {
|
|
4839
4870
|
const {
|
|
4840
4871
|
overStyled: t = !1,
|
|
@@ -4847,12 +4878,12 @@ const Hd = "TextField-module__layoutOverride___SNZqc", Gd = "TextField-module__r
|
|
|
4847
4878
|
onLabelEditClick: d,
|
|
4848
4879
|
label: p,
|
|
4849
4880
|
assistiveText: u,
|
|
4850
|
-
assistiveWithIcon:
|
|
4881
|
+
assistiveWithIcon: b,
|
|
4851
4882
|
error: y,
|
|
4852
4883
|
required: g,
|
|
4853
4884
|
withAsterisk: h,
|
|
4854
4885
|
id: C,
|
|
4855
|
-
className:
|
|
4886
|
+
className: N,
|
|
4856
4887
|
style: P,
|
|
4857
4888
|
disabled: S,
|
|
4858
4889
|
readOnly: w,
|
|
@@ -4863,7 +4894,7 @@ const Hd = "TextField-module__layoutOverride___SNZqc", Gd = "TextField-module__r
|
|
|
4863
4894
|
...O
|
|
4864
4895
|
} = e, M = V(
|
|
4865
4896
|
m(O, t),
|
|
4866
|
-
|
|
4897
|
+
Jd
|
|
4867
4898
|
), D = M, W = E(
|
|
4868
4899
|
{
|
|
4869
4900
|
wrapper: Ro.root,
|
|
@@ -4872,7 +4903,7 @@ const Hd = "TextField-module__layoutOverride___SNZqc", Gd = "TextField-module__r
|
|
|
4872
4903
|
section: Ro.section
|
|
4873
4904
|
},
|
|
4874
4905
|
D.classNames
|
|
4875
|
-
), I =
|
|
4906
|
+
), I = N ? `${Ro.layoutOverride} ${N}` : Ro.layoutOverride;
|
|
4876
4907
|
return /* @__PURE__ */ r(
|
|
4877
4908
|
he,
|
|
4878
4909
|
{
|
|
@@ -4889,7 +4920,7 @@ const Hd = "TextField-module__layoutOverride___SNZqc", Gd = "TextField-module__r
|
|
|
4889
4920
|
onLabelEditClick: d,
|
|
4890
4921
|
label: p,
|
|
4891
4922
|
assistiveText: u,
|
|
4892
|
-
assistiveWithIcon:
|
|
4923
|
+
assistiveWithIcon: b,
|
|
4893
4924
|
error: y,
|
|
4894
4925
|
required: g,
|
|
4895
4926
|
withAsterisk: h,
|
|
@@ -4903,7 +4934,7 @@ const Hd = "TextField-module__layoutOverride___SNZqc", Gd = "TextField-module__r
|
|
|
4903
4934
|
activeComponent: (
|
|
4904
4935
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
4905
4936
|
/* @__PURE__ */ r(
|
|
4906
|
-
|
|
4937
|
+
Bt,
|
|
4907
4938
|
{
|
|
4908
4939
|
ref: o,
|
|
4909
4940
|
...M,
|
|
@@ -4922,18 +4953,18 @@ const Hd = "TextField-module__layoutOverride___SNZqc", Gd = "TextField-module__r
|
|
|
4922
4953
|
);
|
|
4923
4954
|
}
|
|
4924
4955
|
);
|
|
4925
|
-
|
|
4926
|
-
const
|
|
4956
|
+
Ia.displayName = "TextField";
|
|
4957
|
+
const eu = [
|
|
4927
4958
|
"size",
|
|
4928
4959
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
4929
4960
|
"variant",
|
|
4930
4961
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
4931
4962
|
"radius"
|
|
4932
4963
|
// Recursica does not expose the library's native corner-radius system.
|
|
4933
|
-
],
|
|
4964
|
+
], La = f(function(e, o) {
|
|
4934
4965
|
const { overStyled: t = !1, className: n, disabled: s, error: l, ...c } = e, i = V(
|
|
4935
4966
|
m(c, t),
|
|
4936
|
-
|
|
4967
|
+
eu
|
|
4937
4968
|
), d = i, p = E(
|
|
4938
4969
|
{
|
|
4939
4970
|
wrapper: n ? `${oe.root} ${n}` : oe.root,
|
|
@@ -4945,7 +4976,7 @@ const Yd = [
|
|
|
4945
4976
|
d.classNames
|
|
4946
4977
|
);
|
|
4947
4978
|
return /* @__PURE__ */ r(
|
|
4948
|
-
|
|
4979
|
+
Ut,
|
|
4949
4980
|
{
|
|
4950
4981
|
ref: o,
|
|
4951
4982
|
...i,
|
|
@@ -4963,36 +4994,36 @@ const Yd = [
|
|
|
4963
4994
|
}
|
|
4964
4995
|
);
|
|
4965
4996
|
});
|
|
4966
|
-
|
|
4967
|
-
const
|
|
4968
|
-
layoutOverride:
|
|
4969
|
-
root:
|
|
4970
|
-
timeWrapper:
|
|
4971
|
-
timeInput:
|
|
4972
|
-
fieldsGroup:
|
|
4973
|
-
section:
|
|
4974
|
-
timeField:
|
|
4975
|
-
amPmSelect:
|
|
4976
|
-
},
|
|
4997
|
+
La.displayName = "BareDropdown";
|
|
4998
|
+
const ou = "TimePicker-module__layoutOverride___zKo4Q", tu = "TimePicker-module__root___BcvRu", nu = "TimePicker-module__timeWrapper___hJVre", au = "TimePicker-module__timeInput___FQysn", ru = "TimePicker-module__fieldsGroup___2yHhR", su = "TimePicker-module__section___VkSWB", lu = "TimePicker-module__timeField___twRZd", iu = "TimePicker-module__amPmSelect___mSdvt", De = {
|
|
4999
|
+
layoutOverride: ou,
|
|
5000
|
+
root: tu,
|
|
5001
|
+
timeWrapper: nu,
|
|
5002
|
+
timeInput: au,
|
|
5003
|
+
fieldsGroup: ru,
|
|
5004
|
+
section: su,
|
|
5005
|
+
timeField: lu,
|
|
5006
|
+
amPmSelect: iu
|
|
5007
|
+
}, cu = [
|
|
4977
5008
|
{ value: "AM", label: "AM" },
|
|
4978
5009
|
{ value: "PM", label: "PM" }
|
|
4979
5010
|
];
|
|
4980
|
-
function
|
|
5011
|
+
function Mt(a) {
|
|
4981
5012
|
if (!a) return;
|
|
4982
5013
|
const e = parseInt(a.slice(0, 2), 10);
|
|
4983
5014
|
return Number.isNaN(e) ? void 0 : e;
|
|
4984
5015
|
}
|
|
4985
|
-
function
|
|
5016
|
+
function du(a, e) {
|
|
4986
5017
|
return `${String(e).padStart(2, "0")}${a.slice(2)}`;
|
|
4987
5018
|
}
|
|
4988
|
-
function
|
|
5019
|
+
function uu(a) {
|
|
4989
5020
|
if (!a) return;
|
|
4990
5021
|
const [e, o, t] = a.split(":"), n = parseInt(e, 10);
|
|
4991
5022
|
if (Number.isNaN(n) || o === void 0) return a;
|
|
4992
5023
|
const s = n >= 12, l = n % 12 === 0 ? 12 : n % 12, c = t !== void 0 ? `${o}:${t}` : o;
|
|
4993
5024
|
return `${l}:${c} ${s ? "PM" : "AM"}`;
|
|
4994
5025
|
}
|
|
4995
|
-
function
|
|
5026
|
+
function pu(a, e) {
|
|
4996
5027
|
var t;
|
|
4997
5028
|
const o = (t = Object.getOwnPropertyDescriptor(
|
|
4998
5029
|
window.HTMLSelectElement.prototype,
|
|
@@ -5000,14 +5031,14 @@ function lu(a, e) {
|
|
|
5000
5031
|
)) == null ? void 0 : t.set;
|
|
5001
5032
|
o == null || o.call(a, e), a.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
5002
5033
|
}
|
|
5003
|
-
const
|
|
5034
|
+
const mu = [
|
|
5004
5035
|
"size",
|
|
5005
5036
|
// Recursica controls sizing via the `size` variant + design tokens, not raw dimensions.
|
|
5006
5037
|
"variant",
|
|
5007
5038
|
// Colors/variants are token-driven; the library's native palette isn't exposed.
|
|
5008
5039
|
"radius"
|
|
5009
5040
|
// Recursica does not expose the library's native corner-radius system.
|
|
5010
|
-
],
|
|
5041
|
+
], _u = f(
|
|
5011
5042
|
function(e, o) {
|
|
5012
5043
|
const {
|
|
5013
5044
|
overStyled: t = !1,
|
|
@@ -5020,12 +5051,12 @@ const iu = [
|
|
|
5020
5051
|
onLabelEditClick: d,
|
|
5021
5052
|
label: p,
|
|
5022
5053
|
assistiveText: u,
|
|
5023
|
-
assistiveWithIcon:
|
|
5054
|
+
assistiveWithIcon: b,
|
|
5024
5055
|
error: y,
|
|
5025
5056
|
required: g,
|
|
5026
5057
|
withAsterisk: h,
|
|
5027
5058
|
id: C,
|
|
5028
|
-
className:
|
|
5059
|
+
className: N,
|
|
5029
5060
|
style: P,
|
|
5030
5061
|
disabled: S,
|
|
5031
5062
|
readOnly: w,
|
|
@@ -5040,28 +5071,28 @@ const iu = [
|
|
|
5040
5071
|
...I
|
|
5041
5072
|
} = e, Y = V(
|
|
5042
5073
|
m(I, t),
|
|
5043
|
-
|
|
5074
|
+
mu
|
|
5044
5075
|
), G = Y, [j, X] = ie(
|
|
5045
5076
|
() => $ ?? v
|
|
5046
5077
|
);
|
|
5047
5078
|
Re(() => {
|
|
5048
5079
|
$ !== void 0 && X($);
|
|
5049
5080
|
}, [$]);
|
|
5050
|
-
const H =
|
|
5081
|
+
const H = Be(null);
|
|
5051
5082
|
Re(() => {
|
|
5052
|
-
|
|
5083
|
+
Mt($ ?? v) === void 0 && H.current && pu(H.current, "AM");
|
|
5053
5084
|
}, []);
|
|
5054
5085
|
const K = (k) => {
|
|
5055
5086
|
X(k), O == null || O(k);
|
|
5056
|
-
}, J =
|
|
5087
|
+
}, J = Mt(j), ue = J !== void 0 && J >= 12, A = (k) => {
|
|
5057
5088
|
K(k);
|
|
5058
5089
|
}, ae = (k) => {
|
|
5059
5090
|
if (J === void 0 || !j || !k) return;
|
|
5060
5091
|
const se = k === "PM";
|
|
5061
5092
|
if (se === ue) return;
|
|
5062
5093
|
const ve = se ? J + 12 : J - 12;
|
|
5063
|
-
K(
|
|
5064
|
-
}, pe =
|
|
5094
|
+
K(du(j, ve));
|
|
5095
|
+
}, pe = N ? `${De.layoutOverride} ${N}` : De.layoutOverride;
|
|
5065
5096
|
return /* @__PURE__ */ r(
|
|
5066
5097
|
he,
|
|
5067
5098
|
{
|
|
@@ -5078,7 +5109,7 @@ const iu = [
|
|
|
5078
5109
|
onLabelEditClick: d,
|
|
5079
5110
|
label: p,
|
|
5080
5111
|
assistiveText: u,
|
|
5081
|
-
assistiveWithIcon:
|
|
5112
|
+
assistiveWithIcon: b,
|
|
5082
5113
|
error: y,
|
|
5083
5114
|
required: g,
|
|
5084
5115
|
withAsterisk: h,
|
|
@@ -5087,7 +5118,7 @@ const iu = [
|
|
|
5087
5118
|
readOnlyComponent: T,
|
|
5088
5119
|
emptyValueComponent: _,
|
|
5089
5120
|
readOnlyType: "text",
|
|
5090
|
-
readOnlyValue:
|
|
5121
|
+
readOnlyValue: uu(
|
|
5091
5122
|
$ !== void 0 ? $ : v
|
|
5092
5123
|
),
|
|
5093
5124
|
readOnlyNativeProps: e,
|
|
@@ -5100,22 +5131,22 @@ const iu = [
|
|
|
5100
5131
|
/* @__PURE__ */ L(
|
|
5101
5132
|
"div",
|
|
5102
5133
|
{
|
|
5103
|
-
className:
|
|
5134
|
+
className: De.root,
|
|
5104
5135
|
"data-disabled": S ? "true" : void 0,
|
|
5105
5136
|
"data-error": y ? "true" : void 0,
|
|
5106
5137
|
children: [
|
|
5107
5138
|
/* @__PURE__ */ r(
|
|
5108
|
-
|
|
5139
|
+
Cr,
|
|
5109
5140
|
{
|
|
5110
5141
|
ref: o,
|
|
5111
5142
|
...Y,
|
|
5112
5143
|
classNames: E(
|
|
5113
5144
|
{
|
|
5114
|
-
wrapper:
|
|
5115
|
-
input:
|
|
5116
|
-
section:
|
|
5117
|
-
fieldsGroup:
|
|
5118
|
-
field:
|
|
5145
|
+
wrapper: De.timeWrapper,
|
|
5146
|
+
input: De.timeInput,
|
|
5147
|
+
section: De.section,
|
|
5148
|
+
fieldsGroup: De.fieldsGroup,
|
|
5149
|
+
field: De.timeField
|
|
5119
5150
|
},
|
|
5120
5151
|
G.classNames
|
|
5121
5152
|
),
|
|
@@ -5131,12 +5162,12 @@ const iu = [
|
|
|
5131
5162
|
}
|
|
5132
5163
|
),
|
|
5133
5164
|
/* @__PURE__ */ r(
|
|
5134
|
-
|
|
5165
|
+
La,
|
|
5135
5166
|
{
|
|
5136
5167
|
overStyled: !0,
|
|
5137
|
-
className:
|
|
5168
|
+
className: De.amPmSelect,
|
|
5138
5169
|
styles: { wrapper: { width: "fit-content" } },
|
|
5139
|
-
data:
|
|
5170
|
+
data: cu,
|
|
5140
5171
|
value: ue ? "PM" : "AM",
|
|
5141
5172
|
onChange: ae,
|
|
5142
5173
|
disabled: S,
|
|
@@ -5152,17 +5183,17 @@ const iu = [
|
|
|
5152
5183
|
);
|
|
5153
5184
|
}
|
|
5154
5185
|
);
|
|
5155
|
-
|
|
5156
|
-
const
|
|
5157
|
-
root:
|
|
5158
|
-
item:
|
|
5159
|
-
itemBody:
|
|
5160
|
-
itemBullet:
|
|
5161
|
-
itemTitle:
|
|
5162
|
-
itemContent:
|
|
5163
|
-
description:
|
|
5164
|
-
timestamp:
|
|
5165
|
-
},
|
|
5186
|
+
_u.displayName = "TimePicker";
|
|
5187
|
+
const fu = "Timeline-module__root___LwRdZ", yu = "Timeline-module__item___T5xdQ", hu = "Timeline-module__itemBody___XAV-E", vu = "Timeline-module__itemBullet___rPXCy", bu = "Timeline-module__itemTitle___GgRRW", Nu = "Timeline-module__itemContent___vurs-", gu = "Timeline-module__description___f9sxV", Cu = "Timeline-module__timestamp___owiRu", ao = {
|
|
5188
|
+
root: fu,
|
|
5189
|
+
item: yu,
|
|
5190
|
+
itemBody: hu,
|
|
5191
|
+
itemBullet: vu,
|
|
5192
|
+
itemTitle: bu,
|
|
5193
|
+
itemContent: Nu,
|
|
5194
|
+
description: gu,
|
|
5195
|
+
timestamp: Cu
|
|
5196
|
+
}, Ma = q.forwardRef(
|
|
5166
5197
|
function({
|
|
5167
5198
|
overStyled: e = !1,
|
|
5168
5199
|
timestamp: o,
|
|
@@ -5184,7 +5215,7 @@ const du = "Timeline-module__root___LwRdZ", uu = "Timeline-module__item___T5xdQ"
|
|
|
5184
5215
|
/* @__PURE__ */ r("div", { className: ao.timestamp, children: o })
|
|
5185
5216
|
] }) : n;
|
|
5186
5217
|
return /* @__PURE__ */ r(
|
|
5187
|
-
|
|
5218
|
+
_r,
|
|
5188
5219
|
{
|
|
5189
5220
|
ref: l,
|
|
5190
5221
|
...c,
|
|
@@ -5195,15 +5226,15 @@ const du = "Timeline-module__root___LwRdZ", uu = "Timeline-module__item___T5xdQ"
|
|
|
5195
5226
|
);
|
|
5196
5227
|
}
|
|
5197
5228
|
);
|
|
5198
|
-
|
|
5199
|
-
const
|
|
5229
|
+
Ma.displayName = "TimelineItem";
|
|
5230
|
+
const Aa = q.forwardRef(
|
|
5200
5231
|
function({ overStyled: e = !1, ...o }, t) {
|
|
5201
5232
|
const n = m(o, e), s = n, l = E(
|
|
5202
5233
|
{ root: ao.root },
|
|
5203
5234
|
s.classNames
|
|
5204
5235
|
);
|
|
5205
5236
|
return /* @__PURE__ */ r(
|
|
5206
|
-
|
|
5237
|
+
fr,
|
|
5207
5238
|
{
|
|
5208
5239
|
ref: t,
|
|
5209
5240
|
...n,
|
|
@@ -5212,18 +5243,18 @@ const Ia = q.forwardRef(
|
|
|
5212
5243
|
);
|
|
5213
5244
|
}
|
|
5214
5245
|
);
|
|
5215
|
-
|
|
5216
|
-
const
|
|
5217
|
-
|
|
5218
|
-
const
|
|
5219
|
-
root:
|
|
5220
|
-
icon:
|
|
5221
|
-
loader:
|
|
5222
|
-
title:
|
|
5223
|
-
description:
|
|
5224
|
-
closeButton:
|
|
5225
|
-
body:
|
|
5226
|
-
},
|
|
5246
|
+
Aa.displayName = "Timeline";
|
|
5247
|
+
const Pu = Aa;
|
|
5248
|
+
Pu.Item = Ma;
|
|
5249
|
+
const Tu = "Toast-module__root___MUvfI", wu = "Toast-module__icon___VwvE1", Su = "Toast-module__loader___8Gxd-", $u = "Toast-module__title___-H6R2", xu = "Toast-module__description___-QwfC", Ou = "Toast-module__closeButton___vGr7g", ku = "Toast-module__body___VLkXA", yo = {
|
|
5250
|
+
root: Tu,
|
|
5251
|
+
icon: wu,
|
|
5252
|
+
loader: Su,
|
|
5253
|
+
title: $u,
|
|
5254
|
+
description: xu,
|
|
5255
|
+
closeButton: Ou,
|
|
5256
|
+
body: ku
|
|
5257
|
+
}, Ru = q.forwardRef(
|
|
5227
5258
|
function({
|
|
5228
5259
|
overStyled: e = !1,
|
|
5229
5260
|
variant: o = "default",
|
|
@@ -5253,7 +5284,7 @@ const bu = "Toast-module__root___MUvfI", Nu = "Toast-module__icon___VwvE1", gu =
|
|
|
5253
5284
|
c.classNames
|
|
5254
5285
|
);
|
|
5255
5286
|
return /* @__PURE__ */ r(
|
|
5256
|
-
|
|
5287
|
+
yr,
|
|
5257
5288
|
{
|
|
5258
5289
|
ref: s,
|
|
5259
5290
|
...c,
|
|
@@ -5266,11 +5297,11 @@ const bu = "Toast-module__root___MUvfI", Nu = "Toast-module__icon___VwvE1", gu =
|
|
|
5266
5297
|
);
|
|
5267
5298
|
}
|
|
5268
5299
|
);
|
|
5269
|
-
|
|
5270
|
-
const
|
|
5271
|
-
tooltip:
|
|
5272
|
-
arrow:
|
|
5273
|
-
},
|
|
5300
|
+
Ru.displayName = "Toast";
|
|
5301
|
+
const Iu = "Tooltip-module__tooltip___UA7H9", Lu = "Tooltip-module__arrow___4zROk", At = {
|
|
5302
|
+
tooltip: Iu,
|
|
5303
|
+
arrow: Lu
|
|
5304
|
+
}, Wa = function({
|
|
5274
5305
|
overStyled: e = !1,
|
|
5275
5306
|
withBeak: o = !0,
|
|
5276
5307
|
position: t = "top",
|
|
@@ -5283,8 +5314,8 @@ const $u = "Tooltip-module__tooltip___UA7H9", xu = "Tooltip-module__arrow___4zRO
|
|
|
5283
5314
|
}) {
|
|
5284
5315
|
const l = m(s, e), c = l, i = E(
|
|
5285
5316
|
{
|
|
5286
|
-
tooltip:
|
|
5287
|
-
arrow:
|
|
5317
|
+
tooltip: At.tooltip,
|
|
5318
|
+
arrow: At.arrow
|
|
5288
5319
|
},
|
|
5289
5320
|
c.classNames
|
|
5290
5321
|
), d = c.withArrow;
|
|
@@ -5300,8 +5331,8 @@ const $u = "Tooltip-module__tooltip___UA7H9", xu = "Tooltip-module__arrow___4zRO
|
|
|
5300
5331
|
}
|
|
5301
5332
|
);
|
|
5302
5333
|
};
|
|
5303
|
-
|
|
5304
|
-
const
|
|
5334
|
+
Wa.displayName = "Tooltip";
|
|
5335
|
+
const za = f(
|
|
5305
5336
|
function({ overStyled: e = !1, ...o }, t) {
|
|
5306
5337
|
const n = m(o, e);
|
|
5307
5338
|
return /* @__PURE__ */ r(
|
|
@@ -5313,23 +5344,23 @@ const Ma = f(
|
|
|
5313
5344
|
);
|
|
5314
5345
|
}
|
|
5315
5346
|
);
|
|
5316
|
-
|
|
5317
|
-
const
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
const
|
|
5321
|
-
layoutOverride:
|
|
5322
|
-
root:
|
|
5323
|
-
panes:
|
|
5324
|
-
pane:
|
|
5325
|
-
paneHeader:
|
|
5326
|
-
paneSearch:
|
|
5327
|
-
paneList:
|
|
5328
|
-
emptyState:
|
|
5329
|
-
transferColumn:
|
|
5330
|
-
chevron:
|
|
5347
|
+
za.displayName = "TooltipFloating";
|
|
5348
|
+
const Da = Wa;
|
|
5349
|
+
Da.Floating = za;
|
|
5350
|
+
Da.Group = dt.Group;
|
|
5351
|
+
const Mu = "TransferList-module__layoutOverride___nkb32", Au = "TransferList-module__root___ikjI7", Wu = "TransferList-module__panes___dtwkW", zu = "TransferList-module__pane___hy-kC", Du = "TransferList-module__paneHeader___HZrKX", Eu = "TransferList-module__paneSearch___Xji-g", Bu = "TransferList-module__paneList___v0rcJ", Fu = "TransferList-module__emptyState___azPw-", Uu = "TransferList-module__transferColumn___3R2Ki", Vu = "TransferList-module__chevron___l-KdI", Pe = {
|
|
5352
|
+
layoutOverride: Mu,
|
|
5353
|
+
root: Au,
|
|
5354
|
+
panes: Wu,
|
|
5355
|
+
pane: zu,
|
|
5356
|
+
paneHeader: Du,
|
|
5357
|
+
paneSearch: Eu,
|
|
5358
|
+
paneList: Bu,
|
|
5359
|
+
emptyState: Fu,
|
|
5360
|
+
transferColumn: Uu,
|
|
5361
|
+
chevron: Vu
|
|
5331
5362
|
};
|
|
5332
|
-
function
|
|
5363
|
+
function Wt({ direction: a }) {
|
|
5333
5364
|
return /* @__PURE__ */ r(
|
|
5334
5365
|
"svg",
|
|
5335
5366
|
{
|
|
@@ -5348,7 +5379,7 @@ function Mt({ direction: a }) {
|
|
|
5348
5379
|
}
|
|
5349
5380
|
);
|
|
5350
5381
|
}
|
|
5351
|
-
function
|
|
5382
|
+
function zt({ direction: a }) {
|
|
5352
5383
|
return /* @__PURE__ */ r(
|
|
5353
5384
|
"svg",
|
|
5354
5385
|
{
|
|
@@ -5367,14 +5398,14 @@ function At({ direction: a }) {
|
|
|
5367
5398
|
}
|
|
5368
5399
|
);
|
|
5369
5400
|
}
|
|
5370
|
-
function
|
|
5401
|
+
function Hu(a) {
|
|
5371
5402
|
const e = {}, o = [];
|
|
5372
5403
|
return a.forEach((t) => {
|
|
5373
5404
|
var n;
|
|
5374
5405
|
t.group ? (e[n = t.group] ?? (e[n] = [])).push(t) : o.push(t);
|
|
5375
5406
|
}), { groups: e, ungrouped: o };
|
|
5376
5407
|
}
|
|
5377
|
-
const
|
|
5408
|
+
const Gu = f(
|
|
5378
5409
|
function(e, o) {
|
|
5379
5410
|
const {
|
|
5380
5411
|
overStyled: t = !1,
|
|
@@ -5387,12 +5418,12 @@ const Bu = f(
|
|
|
5387
5418
|
labelActionArea: d,
|
|
5388
5419
|
onLabelEditClick: p,
|
|
5389
5420
|
label: u,
|
|
5390
|
-
assistiveText:
|
|
5421
|
+
assistiveText: b,
|
|
5391
5422
|
description: y,
|
|
5392
5423
|
helperText: g,
|
|
5393
5424
|
assistiveWithIcon: h,
|
|
5394
5425
|
error: C,
|
|
5395
|
-
required:
|
|
5426
|
+
required: N,
|
|
5396
5427
|
id: P,
|
|
5397
5428
|
readOnly: S,
|
|
5398
5429
|
readOnlyComponent: w,
|
|
@@ -5408,7 +5439,7 @@ const Bu = f(
|
|
|
5408
5439
|
className: Y,
|
|
5409
5440
|
style: G,
|
|
5410
5441
|
...j
|
|
5411
|
-
} = e, X = m(j, t), H =
|
|
5442
|
+
} = e, X = m(j, t), H = Et(), K = P || `recursica-transfer-list-${H}`, [J, ue] = ie(
|
|
5412
5443
|
() => $ ?? _ ?? [[], []]
|
|
5413
5444
|
), A = _ !== void 0 ? _ : J, ae = mo(
|
|
5414
5445
|
(U) => {
|
|
@@ -5439,7 +5470,7 @@ const Bu = f(
|
|
|
5439
5470
|
(z) => re.has(z.value)
|
|
5440
5471
|
);
|
|
5441
5472
|
le(/* @__PURE__ */ new Set()), ae([U, [...A[1], ...B]]);
|
|
5442
|
-
}, [A, re, ae]),
|
|
5473
|
+
}, [A, re, ae]), Ae = mo(() => {
|
|
5443
5474
|
if (be.size === 0) return;
|
|
5444
5475
|
const U = A[1].filter(
|
|
5445
5476
|
(z) => !be.has(z.value)
|
|
@@ -5447,7 +5478,7 @@ const Bu = f(
|
|
|
5447
5478
|
(z) => be.has(z.value)
|
|
5448
5479
|
);
|
|
5449
5480
|
we(/* @__PURE__ */ new Set()), ae([[...A[0], ...B], U]);
|
|
5450
|
-
}, [A, be, ae]),
|
|
5481
|
+
}, [A, be, ae]), We = mo(() => {
|
|
5451
5482
|
A[0].length !== 0 && (le(/* @__PURE__ */ new Set()), ae([[], [...A[1], ...A[0]]]));
|
|
5452
5483
|
}, [A, ae]), uo = mo(() => {
|
|
5453
5484
|
A[1].length !== 0 && (we(/* @__PURE__ */ new Set()), ae([[...A[0], ...A[1]], []]));
|
|
@@ -5462,14 +5493,14 @@ const Bu = f(
|
|
|
5462
5493
|
return z.has(U) ? z.delete(U) : z.add(U), z;
|
|
5463
5494
|
});
|
|
5464
5495
|
}, []), xe = (U, B, z, R, F, Z, me, eo) => {
|
|
5465
|
-
const { groups: po, ungrouped: x } =
|
|
5496
|
+
const { groups: po, ungrouped: x } = Hu(z), te = Object.keys(po).sort(), ne = F.size > 0 ? `${F.size} / ${R.length}` : `${R.length}`;
|
|
5466
5497
|
return /* @__PURE__ */ L("div", { className: Pe.pane, "data-pane": U, children: [
|
|
5467
5498
|
/* @__PURE__ */ L("div", { className: Pe.paneHeader, children: [
|
|
5468
5499
|
/* @__PURE__ */ r("span", { children: B }),
|
|
5469
|
-
/* @__PURE__ */ r(
|
|
5500
|
+
/* @__PURE__ */ r(Rs, { children: ne })
|
|
5470
5501
|
] }),
|
|
5471
5502
|
D && /* @__PURE__ */ r("div", { className: Pe.paneSearch, children: /* @__PURE__ */ r(
|
|
5472
|
-
|
|
5503
|
+
Ia,
|
|
5473
5504
|
{
|
|
5474
5505
|
value: me,
|
|
5475
5506
|
onChange: (Q) => eo(Q.currentTarget.value),
|
|
@@ -5525,12 +5556,12 @@ const Bu = f(
|
|
|
5525
5556
|
labelActionArea: d,
|
|
5526
5557
|
onLabelEditClick: p,
|
|
5527
5558
|
label: u,
|
|
5528
|
-
assistiveText:
|
|
5559
|
+
assistiveText: b,
|
|
5529
5560
|
description: y,
|
|
5530
5561
|
helperText: g,
|
|
5531
5562
|
assistiveWithIcon: h,
|
|
5532
5563
|
error: C,
|
|
5533
|
-
required:
|
|
5564
|
+
required: N,
|
|
5534
5565
|
id: K,
|
|
5535
5566
|
className: Je,
|
|
5536
5567
|
style: G,
|
|
@@ -5561,44 +5592,44 @@ const Bu = f(
|
|
|
5561
5592
|
),
|
|
5562
5593
|
/* @__PURE__ */ L("div", { className: Pe.transferColumn, children: [
|
|
5563
5594
|
/* @__PURE__ */ r(
|
|
5564
|
-
|
|
5595
|
+
Fe,
|
|
5565
5596
|
{
|
|
5566
5597
|
variant: "outline",
|
|
5567
5598
|
size: "small",
|
|
5568
|
-
icon: /* @__PURE__ */ r(
|
|
5599
|
+
icon: /* @__PURE__ */ r(zt, { direction: "right" }),
|
|
5569
5600
|
"aria-label": `Move all to ${M}`,
|
|
5570
5601
|
disabled: I || A[0].length === 0,
|
|
5571
|
-
onClick:
|
|
5602
|
+
onClick: We
|
|
5572
5603
|
}
|
|
5573
5604
|
),
|
|
5574
5605
|
/* @__PURE__ */ r(
|
|
5575
|
-
|
|
5606
|
+
Fe,
|
|
5576
5607
|
{
|
|
5577
5608
|
variant: "outline",
|
|
5578
5609
|
size: "small",
|
|
5579
|
-
icon: /* @__PURE__ */ r(
|
|
5610
|
+
icon: /* @__PURE__ */ r(Wt, { direction: "right" }),
|
|
5580
5611
|
"aria-label": `Move selected to ${M}`,
|
|
5581
5612
|
disabled: I || re.size === 0,
|
|
5582
5613
|
onClick: Xe
|
|
5583
5614
|
}
|
|
5584
5615
|
),
|
|
5585
5616
|
/* @__PURE__ */ r(
|
|
5586
|
-
|
|
5617
|
+
Fe,
|
|
5587
5618
|
{
|
|
5588
5619
|
variant: "outline",
|
|
5589
5620
|
size: "small",
|
|
5590
|
-
icon: /* @__PURE__ */ r(
|
|
5621
|
+
icon: /* @__PURE__ */ r(Wt, { direction: "left" }),
|
|
5591
5622
|
"aria-label": `Move selected to ${O}`,
|
|
5592
5623
|
disabled: I || be.size === 0,
|
|
5593
|
-
onClick:
|
|
5624
|
+
onClick: Ae
|
|
5594
5625
|
}
|
|
5595
5626
|
),
|
|
5596
5627
|
/* @__PURE__ */ r(
|
|
5597
|
-
|
|
5628
|
+
Fe,
|
|
5598
5629
|
{
|
|
5599
5630
|
variant: "outline",
|
|
5600
5631
|
size: "small",
|
|
5601
|
-
icon: /* @__PURE__ */ r(
|
|
5632
|
+
icon: /* @__PURE__ */ r(zt, { direction: "left" }),
|
|
5602
5633
|
"aria-label": `Move all to ${O}`,
|
|
5603
5634
|
disabled: I || A[1].length === 0,
|
|
5604
5635
|
onClick: uo
|
|
@@ -5622,17 +5653,17 @@ const Bu = f(
|
|
|
5622
5653
|
);
|
|
5623
5654
|
}
|
|
5624
5655
|
);
|
|
5625
|
-
|
|
5626
|
-
const
|
|
5627
|
-
root:
|
|
5628
|
-
subtree:
|
|
5629
|
-
node:
|
|
5630
|
-
row:
|
|
5631
|
-
label:
|
|
5632
|
-
expandButton:
|
|
5633
|
-
expandGlyph:
|
|
5656
|
+
Gu.displayName = "TransferList";
|
|
5657
|
+
const ju = "Tree-module__root___ANcH3", qu = "Tree-module__subtree___KoLT8", Ku = "Tree-module__node___Hvnjg", Yu = "Tree-module__row___sq5ff", Zu = "Tree-module__label___zJDit", Xu = "Tree-module__expandButton___W0WTT", Qu = "Tree-module__expandGlyph___w8dDQ", so = {
|
|
5658
|
+
root: ju,
|
|
5659
|
+
subtree: qu,
|
|
5660
|
+
node: Ku,
|
|
5661
|
+
row: Yu,
|
|
5662
|
+
label: Zu,
|
|
5663
|
+
expandButton: Xu,
|
|
5664
|
+
expandGlyph: Qu
|
|
5634
5665
|
};
|
|
5635
|
-
function
|
|
5666
|
+
function Ju() {
|
|
5636
5667
|
return /* @__PURE__ */ r(
|
|
5637
5668
|
"svg",
|
|
5638
5669
|
{
|
|
@@ -5650,7 +5681,7 @@ function Ku() {
|
|
|
5650
5681
|
}
|
|
5651
5682
|
);
|
|
5652
5683
|
}
|
|
5653
|
-
function
|
|
5684
|
+
function ep(a) {
|
|
5654
5685
|
return function({
|
|
5655
5686
|
node: o,
|
|
5656
5687
|
hasChildren: t,
|
|
@@ -5668,12 +5699,12 @@ function Yu(a) {
|
|
|
5668
5699
|
"data-expanded": t && n ? !0 : void 0,
|
|
5669
5700
|
children: [
|
|
5670
5701
|
/* @__PURE__ */ r(
|
|
5671
|
-
|
|
5702
|
+
Fe,
|
|
5672
5703
|
{
|
|
5673
5704
|
overStyled: !0,
|
|
5674
5705
|
variant: "text",
|
|
5675
5706
|
size: "small",
|
|
5676
|
-
icon: /* @__PURE__ */ r(
|
|
5707
|
+
icon: /* @__PURE__ */ r(Ju, {}),
|
|
5677
5708
|
"aria-label": "Toggle subtree",
|
|
5678
5709
|
"aria-hidden": "true",
|
|
5679
5710
|
tabIndex: -1,
|
|
@@ -5690,7 +5721,7 @@ function Yu(a) {
|
|
|
5690
5721
|
);
|
|
5691
5722
|
};
|
|
5692
5723
|
}
|
|
5693
|
-
const
|
|
5724
|
+
const op = f(function({
|
|
5694
5725
|
overStyled: e = !1,
|
|
5695
5726
|
data: o,
|
|
5696
5727
|
initialExpandedValues: t,
|
|
@@ -5702,8 +5733,8 @@ const Zu = f(function({
|
|
|
5702
5733
|
onSelectedChange: d,
|
|
5703
5734
|
...p
|
|
5704
5735
|
}, u) {
|
|
5705
|
-
const
|
|
5706
|
-
initialExpandedState: t ?
|
|
5736
|
+
const b = m(p, e), y = hr({
|
|
5737
|
+
initialExpandedState: t ? vr(o, t) : void 0,
|
|
5707
5738
|
initialSelectedState: n,
|
|
5708
5739
|
multiple: s,
|
|
5709
5740
|
onNodeExpand: c,
|
|
@@ -5732,18 +5763,18 @@ const Zu = f(function({
|
|
|
5732
5763
|
};
|
|
5733
5764
|
return S.addEventListener("keydown", w, { capture: !0 }), () => S.removeEventListener("keydown", w, { capture: !0 });
|
|
5734
5765
|
}, [l]);
|
|
5735
|
-
const h =
|
|
5766
|
+
const h = Tr(u, g), C = b, N = C.className, P = N ? `${so.root} ${N}` : so.root;
|
|
5736
5767
|
return /* @__PURE__ */ r(
|
|
5737
|
-
|
|
5768
|
+
br,
|
|
5738
5769
|
{
|
|
5739
5770
|
ref: h,
|
|
5740
|
-
...
|
|
5771
|
+
...b,
|
|
5741
5772
|
data: o,
|
|
5742
5773
|
tree: y,
|
|
5743
5774
|
expandOnClick: !1,
|
|
5744
5775
|
selectOnClick: !l,
|
|
5745
5776
|
expandOnSpace: !1,
|
|
5746
|
-
renderNode:
|
|
5777
|
+
renderNode: ep(l),
|
|
5747
5778
|
"data-disabled": l || void 0,
|
|
5748
5779
|
classNames: E(
|
|
5749
5780
|
{ root: P, node: so.node, subtree: so.subtree },
|
|
@@ -5752,8 +5783,8 @@ const Zu = f(function({
|
|
|
5752
5783
|
}
|
|
5753
5784
|
);
|
|
5754
5785
|
});
|
|
5755
|
-
|
|
5756
|
-
function
|
|
5786
|
+
op.displayName = "Tree";
|
|
5787
|
+
function Dt(a, e) {
|
|
5757
5788
|
var t;
|
|
5758
5789
|
const o = (t = a[e]) == null ? void 0 : t.$value;
|
|
5759
5790
|
if (o !== void 0) {
|
|
@@ -5764,13 +5795,13 @@ function Wt(a, e) {
|
|
|
5764
5795
|
return o;
|
|
5765
5796
|
}
|
|
5766
5797
|
}
|
|
5767
|
-
function
|
|
5798
|
+
function gp(a) {
|
|
5768
5799
|
var n;
|
|
5769
5800
|
const e = ((n = a.brand) == null ? void 0 : n["layout-grids"]) ?? {}, o = [];
|
|
5770
5801
|
let t;
|
|
5771
5802
|
for (const [s, l] of Object.entries(e)) {
|
|
5772
5803
|
if (s === "default") continue;
|
|
5773
|
-
const c =
|
|
5804
|
+
const c = Dt(l, "min-width"), i = Dt(l, "max-width");
|
|
5774
5805
|
if (c === void 0 && i === void 0)
|
|
5775
5806
|
throw new Error(
|
|
5776
5807
|
`layout-grid "${s}" has neither min-width nor max-width`
|
|
@@ -5791,106 +5822,106 @@ function yp(a) {
|
|
|
5791
5822
|
export {
|
|
5792
5823
|
mt as Accordion,
|
|
5793
5824
|
ut as AccordionControl,
|
|
5794
|
-
|
|
5825
|
+
on as AccordionItem,
|
|
5795
5826
|
pt as AccordionPanel,
|
|
5796
5827
|
ot as AssistiveElement,
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5828
|
+
Ts as AutoComplete,
|
|
5829
|
+
pp as Avatar,
|
|
5830
|
+
Rs as Badge,
|
|
5831
|
+
Ms as Breadcrumb,
|
|
5832
|
+
Fe as Button,
|
|
5833
|
+
mp as Card,
|
|
5834
|
+
fn as CardContent,
|
|
5835
|
+
_n as CardFooter,
|
|
5836
|
+
mn as CardHeader,
|
|
5837
|
+
un as CardSection,
|
|
5807
5838
|
Uo as Checkbox,
|
|
5808
5839
|
Fo as CheckboxGroup,
|
|
5809
5840
|
Vo as Chip,
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5841
|
+
pl as Container,
|
|
5842
|
+
Sl as DatePicker,
|
|
5843
|
+
Bl as Dropdown,
|
|
5813
5844
|
Eo as EmptyValueRenderer,
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5845
|
+
Xl as FileInput,
|
|
5846
|
+
ri as FileUpload,
|
|
5847
|
+
_p as Flex,
|
|
5817
5848
|
lo as FormControlLayout,
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5849
|
+
bi as Group,
|
|
5850
|
+
Ci as Heading,
|
|
5851
|
+
Tn as HoverCard,
|
|
5821
5852
|
Ve as IS_DEV,
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5853
|
+
tn as Label,
|
|
5854
|
+
jt as Layer,
|
|
5855
|
+
hi as LayoutGrid,
|
|
5856
|
+
yi as LayoutGridCol,
|
|
5857
|
+
fp as Link,
|
|
5858
|
+
ln as Loader,
|
|
5828
5859
|
Co as Menu,
|
|
5829
5860
|
io as Modal,
|
|
5830
|
-
|
|
5861
|
+
tc as NumberInput,
|
|
5831
5862
|
Ke as Pagination,
|
|
5832
5863
|
Ye as Panel,
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5864
|
+
aa as PanelBody,
|
|
5865
|
+
na as PanelCloseButton,
|
|
5866
|
+
ea as PanelContent,
|
|
5867
|
+
Xn as PanelFooter,
|
|
5868
|
+
oa as PanelHeader,
|
|
5869
|
+
Jn as PanelOverlay,
|
|
5870
|
+
Qn as PanelRoot,
|
|
5871
|
+
ta as PanelTitle,
|
|
5872
|
+
ia as Popover,
|
|
5873
|
+
dp as RECURSICA_COMPONENTS,
|
|
5874
|
+
da as Radio,
|
|
5875
|
+
ca as RadioGroup,
|
|
5876
|
+
Ac as ReadOnlyBooleanField,
|
|
5877
|
+
nn as ReadOnlyField,
|
|
5878
|
+
Mc as ReadOnlySwitchField,
|
|
5848
5879
|
Do as ReadOnlyTextField,
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5880
|
+
Yt as RecursicaManifestContext,
|
|
5881
|
+
cp as RecursicaThemeProvider,
|
|
5882
|
+
yp as SegmentedControl,
|
|
5883
|
+
ad as Slider,
|
|
5884
|
+
hp as Stack,
|
|
5885
|
+
vp as Stepper,
|
|
5886
|
+
ya as Switch,
|
|
5887
|
+
fa as SwitchGroup,
|
|
5857
5888
|
co as Table,
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5889
|
+
Ta as TableCaption,
|
|
5890
|
+
wa as TableScrollContainer,
|
|
5891
|
+
ba as TableTbody,
|
|
5892
|
+
Ca as TableTd,
|
|
5893
|
+
Pa as TableTfoot,
|
|
5894
|
+
ga as TableTh,
|
|
5895
|
+
va as TableThead,
|
|
5896
|
+
Na as TableTr,
|
|
5897
|
+
bp as Tabs,
|
|
5898
|
+
Np as Text,
|
|
5899
|
+
Kd as TextArea,
|
|
5900
|
+
Ia as TextField,
|
|
5901
|
+
_u as TimePicker,
|
|
5902
|
+
Pu as Timeline,
|
|
5903
|
+
Ma as TimelineItem,
|
|
5904
|
+
Ru as Toast,
|
|
5905
|
+
Da as Tooltip,
|
|
5906
|
+
za as TooltipFloating,
|
|
5907
|
+
Gu as TransferList,
|
|
5908
|
+
op as Tree,
|
|
5878
5909
|
he as WithReadOnlyWrapper,
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5910
|
+
gp as breakpointsFromRecManifest,
|
|
5911
|
+
up as copyToClipboard,
|
|
5912
|
+
Zt as fileMatchesAccept,
|
|
5913
|
+
qt as injectOverStyledStyles,
|
|
5914
|
+
ip as isGlobalOverStyledActive,
|
|
5915
|
+
kr as markCurrentPageItem,
|
|
5885
5916
|
E as mergeClassNames,
|
|
5886
|
-
|
|
5887
|
-
|
|
5917
|
+
Ir as mergeStyles,
|
|
5918
|
+
Xt as normalizeComboboxData,
|
|
5888
5919
|
V as omitUnsupportedProps,
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5920
|
+
Kt as registerOverStyledConsoleCommand,
|
|
5921
|
+
xr as toggleGlobalOverStyled,
|
|
5922
|
+
Or as useGlobalOverStyled,
|
|
5923
|
+
Rr as useRecursicaManifest,
|
|
5924
|
+
Ue as withCallerOverride,
|
|
5925
|
+
Ar as wrapComponent
|
|
5895
5926
|
};
|
|
5896
5927
|
//# sourceMappingURL=adapter-mantine-v8.js.map
|