@recursica/mantine-adapter 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1095 -1081
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Button/Button.d.ts +11 -1
- package/dist/src/components/Stack/Stack.d.ts +9 -1
- package/dist/src/utils/filterStylingProps.d.ts +2 -0
- package/package.json +1 -1
- package/src/Introduction.stories.tsx +77 -103
- package/src/OverStyling.tsx +216 -171
- package/src/components/Button/Button.module.css +26 -5
- package/src/components/Button/Button.stories.tsx +55 -0
- package/src/components/Button/Button.tsx +32 -0
- package/src/components/Button/IMPLEMENTATION_NOTES.md +16 -0
- package/src/components/Flex/Flex.tsx +9 -4
- package/src/components/Group/Group.tsx +5 -3
- package/src/components/Stack/Stack.tsx +9 -5
- package/src/components/Toast/Toast.module.css +6 -0
- package/src/utils/filterStylingProps.ts +17 -1
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Accordion as
|
|
4
|
-
const
|
|
1
|
+
import { jsx as r, jsxs as R, Fragment as Ne } from "react/jsx-runtime";
|
|
2
|
+
import I, { forwardRef as h, useId as gt, useEffect as wt } from "react";
|
|
3
|
+
import { Accordion as Re, Avatar as Tt, createPolymorphicComponent as Y, Badge as xt, Breadcrumbs as St, Loader as At, Button as Wt, Card as ke, Input as ao, Box as Ve, Checkbox as ro, Chip as Lt, Container as It, Select as Ot, Flex as zt, Group as Rt, HoverCard as Ge, Anchor as kt, Menu as K, Modal as G, NumberInput as Mt, Pagination as te, Drawer as se, Popover as qe, Radio as no, SegmentedControl as Bt, Stack as Ft, Stepper as je, Switch as lo, CheckIcon as Et, CloseIcon as jt, Tabs as Me, Text as Dt, Textarea as Vt, TimelineItem as Gt, Timeline as qt, Title as Ht, Notification as Ut, Tooltip as He } from "@mantine/core";
|
|
4
|
+
const Zt = [
|
|
5
5
|
"className",
|
|
6
6
|
"classNames",
|
|
7
7
|
"style",
|
|
@@ -45,7 +45,7 @@ const Gt = [
|
|
|
45
45
|
"mih",
|
|
46
46
|
"mah"
|
|
47
47
|
// Dimensions
|
|
48
|
-
],
|
|
48
|
+
], io = /* @__PURE__ */ new Set([
|
|
49
49
|
"m",
|
|
50
50
|
"my",
|
|
51
51
|
"mx",
|
|
@@ -60,7 +60,7 @@ const Gt = [
|
|
|
60
60
|
"left",
|
|
61
61
|
"bottom",
|
|
62
62
|
"right"
|
|
63
|
-
]),
|
|
63
|
+
]), Le = {
|
|
64
64
|
"rec-none": "var(--recursica_brand_dimensions_general_none)",
|
|
65
65
|
"rec-sm": "var(--recursica_brand_dimensions_general_sm)",
|
|
66
66
|
"rec-default": "var(--recursica_brand_dimensions_general_default)",
|
|
@@ -69,27 +69,33 @@ const Gt = [
|
|
|
69
69
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
70
70
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
71
71
|
};
|
|
72
|
+
function Ue(l) {
|
|
73
|
+
const e = { ...l };
|
|
74
|
+
for (const [a, s] of Object.entries(e))
|
|
75
|
+
typeof s == "string" && s.startsWith("rec-") && io.has(a) && s in Le && (e[a] = Le[s]);
|
|
76
|
+
return e;
|
|
77
|
+
}
|
|
72
78
|
function f(l, e) {
|
|
73
79
|
if (e)
|
|
74
80
|
return l;
|
|
75
81
|
const a = { ...l };
|
|
76
|
-
for (const s of
|
|
82
|
+
for (const s of Zt)
|
|
77
83
|
s in a && delete a[s];
|
|
78
84
|
for (const [s, t] of Object.entries(a))
|
|
79
|
-
typeof t == "string" && t.startsWith("rec-") &&
|
|
85
|
+
typeof t == "string" && t.startsWith("rec-") && io.has(s) && t in Le && (a[s] = Le[t]);
|
|
80
86
|
return a;
|
|
81
87
|
}
|
|
82
|
-
const
|
|
83
|
-
root:
|
|
84
|
-
item:
|
|
85
|
-
noDivider:
|
|
86
|
-
control:
|
|
87
|
-
label:
|
|
88
|
-
chevron:
|
|
89
|
-
iconLeftWrapper:
|
|
90
|
-
panel:
|
|
91
|
-
content:
|
|
92
|
-
},
|
|
88
|
+
const Yt = "Accordion-module__root___Dem6d", Kt = "Accordion-module__item___7ryVk", Qt = "Accordion-module__noDivider___Ni2tT", Xt = "Accordion-module__control___b4wgX", Jt = "Accordion-module__label___Ss7uW", es = "Accordion-module__chevron___i-HVZ", os = "Accordion-module__iconLeftWrapper___5oLen", ts = "Accordion-module__panel___Wx50w", ss = "Accordion-module__content___PEM9t", J = {
|
|
89
|
+
root: Yt,
|
|
90
|
+
item: Kt,
|
|
91
|
+
noDivider: Qt,
|
|
92
|
+
control: Xt,
|
|
93
|
+
label: Jt,
|
|
94
|
+
chevron: es,
|
|
95
|
+
iconLeftWrapper: os,
|
|
96
|
+
panel: ts,
|
|
97
|
+
content: ss
|
|
98
|
+
}, co = function({
|
|
93
99
|
variant: e = "unstyled",
|
|
94
100
|
overStyled: a = !1,
|
|
95
101
|
...s
|
|
@@ -111,7 +117,7 @@ const Ht = "Accordion-module__root___Dem6d", Ut = "Accordion-module__item___7ryV
|
|
|
111
117
|
}
|
|
112
118
|
const i = t.className;
|
|
113
119
|
return /* @__PURE__ */ r(
|
|
114
|
-
|
|
120
|
+
Re,
|
|
115
121
|
{
|
|
116
122
|
variant: e,
|
|
117
123
|
className: i,
|
|
@@ -120,27 +126,27 @@ const Ht = "Accordion-module__root___Dem6d", Ut = "Accordion-module__item___7ryV
|
|
|
120
126
|
}
|
|
121
127
|
);
|
|
122
128
|
};
|
|
123
|
-
|
|
124
|
-
const
|
|
129
|
+
co.displayName = "Accordion";
|
|
130
|
+
const po = h(function({ title: e, leftIcon: a, divider: s = !0, children: t, overStyled: o = !1, ...n }, i) {
|
|
125
131
|
const c = f(n, o), d = c.className, p = [s ? void 0 : J.noDivider, d].filter(Boolean).join(" ") || void 0;
|
|
126
132
|
return /* @__PURE__ */ r(
|
|
127
|
-
|
|
133
|
+
Re.Item,
|
|
128
134
|
{
|
|
129
135
|
ref: i,
|
|
130
136
|
className: p,
|
|
131
137
|
...c,
|
|
132
|
-
children: e ? /* @__PURE__ */
|
|
133
|
-
/* @__PURE__ */ r(
|
|
134
|
-
/* @__PURE__ */ r(
|
|
138
|
+
children: e ? /* @__PURE__ */ R(Ne, { children: [
|
|
139
|
+
/* @__PURE__ */ r(Ze, { leftIcon: a, children: e }),
|
|
140
|
+
/* @__PURE__ */ r(Ye, { children: t })
|
|
135
141
|
] }) : t
|
|
136
142
|
}
|
|
137
143
|
);
|
|
138
144
|
});
|
|
139
|
-
|
|
140
|
-
const
|
|
145
|
+
po.displayName = "AccordionItem";
|
|
146
|
+
const Ze = h(function({ leftIcon: e, children: a, overStyled: s = !1, ...t }, o) {
|
|
141
147
|
const n = f(t, s), i = n.className;
|
|
142
148
|
return /* @__PURE__ */ r(
|
|
143
|
-
|
|
149
|
+
Re.Control,
|
|
144
150
|
{
|
|
145
151
|
ref: o,
|
|
146
152
|
className: i,
|
|
@@ -150,11 +156,11 @@ const He = h(function({ leftIcon: e, children: a, overStyled: s = !1, ...t }, o)
|
|
|
150
156
|
}
|
|
151
157
|
);
|
|
152
158
|
});
|
|
153
|
-
|
|
154
|
-
const
|
|
159
|
+
Ze.displayName = "AccordionControl";
|
|
160
|
+
const Ye = h(function({ overStyled: e = !1, ...a }, s) {
|
|
155
161
|
const t = f(a, e), o = t.className;
|
|
156
162
|
return /* @__PURE__ */ r(
|
|
157
|
-
|
|
163
|
+
Re.Panel,
|
|
158
164
|
{
|
|
159
165
|
ref: s,
|
|
160
166
|
className: o,
|
|
@@ -162,18 +168,18 @@ const Ue = h(function({ overStyled: e = !1, ...a }, s) {
|
|
|
162
168
|
}
|
|
163
169
|
);
|
|
164
170
|
});
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
const
|
|
171
|
-
root:
|
|
172
|
-
iconWrapper:
|
|
173
|
-
textWrapper:
|
|
174
|
-
image:
|
|
175
|
-
placeholder:
|
|
176
|
-
},
|
|
171
|
+
Ye.displayName = "AccordionPanel";
|
|
172
|
+
const Ke = co;
|
|
173
|
+
Ke.Item = po;
|
|
174
|
+
Ke.Control = Ze;
|
|
175
|
+
Ke.Panel = Ye;
|
|
176
|
+
const as = "Avatar-module__root___fXu-J", rs = "Avatar-module__iconWrapper___ojly2", ns = "Avatar-module__textWrapper___zp-jD", ls = "Avatar-module__image___ieqGp", is = "Avatar-module__placeholder___IDW7-", Z = {
|
|
177
|
+
root: as,
|
|
178
|
+
iconWrapper: rs,
|
|
179
|
+
textWrapper: ns,
|
|
180
|
+
image: ls,
|
|
181
|
+
placeholder: is
|
|
182
|
+
}, mo = h(function({
|
|
177
183
|
size: e = "default",
|
|
178
184
|
variant: a = "solid",
|
|
179
185
|
icon: s,
|
|
@@ -191,51 +197,51 @@ const os = "Avatar-module__root___fXu-J", ts = "Avatar-module__iconWrapper___ojl
|
|
|
191
197
|
small: "sm",
|
|
192
198
|
large: "lg"
|
|
193
199
|
}, m = f(i, n), N = m;
|
|
194
|
-
let
|
|
195
|
-
o ?
|
|
196
|
-
const
|
|
197
|
-
root:
|
|
198
|
-
image:
|
|
199
|
-
placeholder:
|
|
200
|
-
},
|
|
201
|
-
if (
|
|
202
|
-
const $ =
|
|
203
|
-
|
|
200
|
+
let u = "text";
|
|
201
|
+
o ? u = "image" : s && (u = "icon");
|
|
202
|
+
const _ = {
|
|
203
|
+
root: Z.root,
|
|
204
|
+
image: Z.image,
|
|
205
|
+
placeholder: Z.placeholder
|
|
206
|
+
}, y = N.classNames;
|
|
207
|
+
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
208
|
+
const $ = y;
|
|
209
|
+
_.root = $.root ? `${Z.root} ${$.root}` : Z.root, _.image = $.image ? `${Z.image} ${$.image}` : Z.image, _.placeholder = $.placeholder ? `${Z.placeholder} ${$.placeholder}` : Z.placeholder;
|
|
204
210
|
}
|
|
205
211
|
const C = N.className;
|
|
206
212
|
return /* @__PURE__ */ r(
|
|
207
|
-
|
|
213
|
+
Tt,
|
|
208
214
|
{
|
|
209
215
|
ref: c,
|
|
210
216
|
className: C,
|
|
211
|
-
classNames:
|
|
217
|
+
classNames: _,
|
|
212
218
|
variant: d[a],
|
|
213
219
|
size: p[e],
|
|
214
220
|
src: o,
|
|
215
221
|
"data-variant": a,
|
|
216
222
|
"data-size": e,
|
|
217
|
-
"data-style":
|
|
223
|
+
"data-style": u,
|
|
218
224
|
...m,
|
|
219
|
-
children: s != null ? /* @__PURE__ */ r("span", { className:
|
|
225
|
+
children: s != null ? /* @__PURE__ */ r("span", { className: Z.iconWrapper, "aria-hidden": !0, children: s }) : t != null ? /* @__PURE__ */ r("span", { className: Z.textWrapper, children: t }) : void 0
|
|
220
226
|
}
|
|
221
227
|
);
|
|
222
228
|
});
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
root:
|
|
226
|
-
},
|
|
229
|
+
mo.displayName = "Avatar";
|
|
230
|
+
const kn = Y(mo), cs = "Badge-module__root___5osNT", Q = {
|
|
231
|
+
root: cs
|
|
232
|
+
}, _o = h(function({ variant: e = "primary-color", overStyled: a = !1, ...s }, t) {
|
|
227
233
|
const o = f(s, a), n = {
|
|
228
|
-
root:
|
|
229
|
-
section:
|
|
230
|
-
label:
|
|
234
|
+
root: Q.root,
|
|
235
|
+
section: Q.section,
|
|
236
|
+
label: Q.label
|
|
231
237
|
}, i = o.classNames;
|
|
232
238
|
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
233
239
|
const p = i;
|
|
234
|
-
n.root = p.root ? `${
|
|
240
|
+
n.root = p.root ? `${Q.root} ${p.root}` : Q.root, n.section = p.section ?? Q.section, n.label = p.label ?? Q.label;
|
|
235
241
|
}
|
|
236
|
-
const c = o.className, d = c ? `${
|
|
242
|
+
const c = o.className, d = c ? `${Q.root} ${c}` : Q.root;
|
|
237
243
|
return /* @__PURE__ */ r(
|
|
238
|
-
|
|
244
|
+
xt,
|
|
239
245
|
{
|
|
240
246
|
ref: t,
|
|
241
247
|
variant: "filled",
|
|
@@ -246,11 +252,11 @@ const zn = oe(co), ns = "Badge-module__root___5osNT", K = {
|
|
|
246
252
|
}
|
|
247
253
|
);
|
|
248
254
|
});
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
root:
|
|
252
|
-
separator:
|
|
253
|
-
},
|
|
255
|
+
_o.displayName = "Badge";
|
|
256
|
+
const Mn = Y(_o), ds = "Breadcrumb-module__root___x-9ln", ps = "Breadcrumb-module__separator___qrUX-", ne = {
|
|
257
|
+
root: ds,
|
|
258
|
+
separator: ps
|
|
259
|
+
}, ms = h(
|
|
254
260
|
function({ overStyled: e = !1, separator: a = ">", ...s }, t) {
|
|
255
261
|
const o = f(
|
|
256
262
|
{ separator: a, ...s },
|
|
@@ -265,7 +271,7 @@ const Rn = oe(po), ls = "Breadcrumb-module__root___x-9ln", is = "Breadcrumb-modu
|
|
|
265
271
|
}
|
|
266
272
|
const c = o.className, d = c ? `${ne.root} ${c}` : ne.root;
|
|
267
273
|
return /* @__PURE__ */ r(
|
|
268
|
-
|
|
274
|
+
St,
|
|
269
275
|
{
|
|
270
276
|
ref: t,
|
|
271
277
|
...o,
|
|
@@ -275,77 +281,120 @@ const Rn = oe(po), ls = "Breadcrumb-module__root___x-9ln", is = "Breadcrumb-modu
|
|
|
275
281
|
);
|
|
276
282
|
}
|
|
277
283
|
);
|
|
278
|
-
|
|
279
|
-
const
|
|
280
|
-
root:
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
284
|
+
ms.displayName = "Breadcrumb";
|
|
285
|
+
const _s = "Loader-module__root___6iYOP", $e = {
|
|
286
|
+
root: _s
|
|
287
|
+
}, uo = h(function({ variant: e = "oval", size: a = "default", overStyled: s = !1, ...t }, o) {
|
|
288
|
+
const i = {
|
|
289
|
+
sm: "small",
|
|
290
|
+
md: "default",
|
|
291
|
+
lg: "large",
|
|
292
|
+
small: "small",
|
|
293
|
+
default: "default",
|
|
294
|
+
large: "large"
|
|
295
|
+
}[a] || "default", c = f(t, s), d = {
|
|
296
|
+
root: $e.root
|
|
297
|
+
}, p = c.classNames;
|
|
298
|
+
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
299
|
+
const u = p;
|
|
300
|
+
d.root = u.root ? `${$e.root} ${u.root}` : $e.root;
|
|
301
|
+
}
|
|
302
|
+
const m = c.className, N = m ? `${$e.root} ${m}` : $e.root;
|
|
303
|
+
return /* @__PURE__ */ r(
|
|
304
|
+
At,
|
|
305
|
+
{
|
|
306
|
+
ref: o,
|
|
307
|
+
type: e,
|
|
308
|
+
"data-variant": e,
|
|
309
|
+
"data-size": i,
|
|
310
|
+
...c,
|
|
311
|
+
className: N,
|
|
312
|
+
classNames: d
|
|
313
|
+
}
|
|
314
|
+
);
|
|
315
|
+
});
|
|
316
|
+
uo.displayName = "Loader";
|
|
317
|
+
const us = "Button-module__root___Q2R8-", bs = "Button-module__loader___X-9u-", ys = "Button-module__label___UJ3Zt", fs = "Button-module__labelText___rFV5p", Ns = "Button-module__iconWrapper___uEKPa", hs = "Button-module__section___f2mKr", H = {
|
|
318
|
+
root: us,
|
|
319
|
+
loader: bs,
|
|
320
|
+
label: ys,
|
|
321
|
+
labelText: fs,
|
|
322
|
+
iconWrapper: Ns,
|
|
323
|
+
section: hs
|
|
285
324
|
};
|
|
286
|
-
function
|
|
325
|
+
function $s(l) {
|
|
287
326
|
return l == null || l === "" ? !1 : typeof l == "string" ? l.trim() !== "" : !0;
|
|
288
327
|
}
|
|
289
|
-
const
|
|
328
|
+
const bo = h(function({
|
|
290
329
|
variant: e = "solid",
|
|
291
330
|
size: a = "default",
|
|
292
331
|
icon: s,
|
|
293
332
|
children: t,
|
|
294
333
|
overStyled: o = !1,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
334
|
+
loaderVariant: n = "oval",
|
|
335
|
+
loaderSize: i,
|
|
336
|
+
useRecursicaLoader: c = !0,
|
|
337
|
+
...d
|
|
338
|
+
}, p) {
|
|
339
|
+
const m = {
|
|
298
340
|
solid: "filled",
|
|
299
341
|
outline: "outline",
|
|
300
342
|
text: "subtle"
|
|
301
|
-
},
|
|
343
|
+
}, N = {
|
|
302
344
|
default: "md",
|
|
303
345
|
small: "sm"
|
|
304
|
-
},
|
|
305
|
-
delete
|
|
306
|
-
const
|
|
307
|
-
typeof process < "u" && process.env.NODE_ENV !== "production" &&
|
|
346
|
+
}, u = f(d, o), _ = u;
|
|
347
|
+
delete _.fullWidth;
|
|
348
|
+
const y = !!s || !!_.leftSection, C = !!_.rightSection, $ = (y || C) && !$s(t);
|
|
349
|
+
typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !_["aria-label"] && console.warn(
|
|
308
350
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
309
351
|
);
|
|
310
|
-
const
|
|
311
|
-
root:
|
|
312
|
-
section:
|
|
313
|
-
label:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
352
|
+
const P = {
|
|
353
|
+
root: H.root,
|
|
354
|
+
section: H.section,
|
|
355
|
+
label: H.label,
|
|
356
|
+
loader: H.loader
|
|
357
|
+
}, b = _.classNames;
|
|
358
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
359
|
+
const A = b;
|
|
360
|
+
P.root = A.root ? `${H.root} ${A.root}` : H.root, P.section = A.section ?? H.section, P.label = A.label ?? H.label;
|
|
318
361
|
}
|
|
319
|
-
const
|
|
320
|
-
|
|
321
|
-
|
|
362
|
+
const T = _.className, v = T ? `${H.root} ${T}` : H.root, k = _.loaderProps, S = i ?? (a === "small" ? "small" : "default");
|
|
363
|
+
let w = k;
|
|
364
|
+
return c && (w = {
|
|
365
|
+
children: /* @__PURE__ */ r(uo, { variant: n, size: S }),
|
|
366
|
+
...k
|
|
367
|
+
}), /* @__PURE__ */ r(
|
|
368
|
+
Wt,
|
|
322
369
|
{
|
|
323
|
-
ref:
|
|
324
|
-
className:
|
|
325
|
-
classNames:
|
|
326
|
-
variant:
|
|
327
|
-
size:
|
|
328
|
-
|
|
370
|
+
ref: p,
|
|
371
|
+
className: v,
|
|
372
|
+
classNames: P,
|
|
373
|
+
variant: m[e],
|
|
374
|
+
size: N[a],
|
|
375
|
+
loaderProps: w,
|
|
376
|
+
leftSection: s != null ? /* @__PURE__ */ r("span", { className: H.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
|
|
329
377
|
"data-variant": e,
|
|
330
378
|
"data-size": a,
|
|
331
|
-
|
|
332
|
-
...
|
|
333
|
-
|
|
379
|
+
...$ ? { "data-icon-only": "" } : {},
|
|
380
|
+
...u,
|
|
381
|
+
disabled: !!_.disabled || !!_.loading,
|
|
382
|
+
children: /* @__PURE__ */ r("span", { className: H.labelText, children: t })
|
|
334
383
|
}
|
|
335
384
|
);
|
|
336
385
|
});
|
|
337
|
-
|
|
338
|
-
const
|
|
339
|
-
|
|
340
|
-
),
|
|
341
|
-
root:
|
|
342
|
-
header:
|
|
343
|
-
footer:
|
|
344
|
-
section:
|
|
345
|
-
content:
|
|
346
|
-
},
|
|
386
|
+
bo.displayName = "Button";
|
|
387
|
+
const Bn = Y(
|
|
388
|
+
bo
|
|
389
|
+
), vs = "Card-module__root___c9KvZ", Cs = "Card-module__header___PTXf2 recursica_brand_typography_h3", Ps = "Card-module__footer___Mu-JC", gs = "Card-module__section___BRT8H", ws = "Card-module__content___oFIQa", oe = {
|
|
390
|
+
root: vs,
|
|
391
|
+
header: Cs,
|
|
392
|
+
footer: Ps,
|
|
393
|
+
section: gs,
|
|
394
|
+
content: ws
|
|
395
|
+
}, yo = h(function({ overStyled: e = !1, ...a }, s) {
|
|
347
396
|
const t = f(a, e), o = {
|
|
348
|
-
root:
|
|
397
|
+
root: oe.root
|
|
349
398
|
}, n = t.classNames;
|
|
350
399
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
351
400
|
const c = n;
|
|
@@ -355,7 +404,7 @@ const kn = oe(
|
|
|
355
404
|
}
|
|
356
405
|
const i = t.className;
|
|
357
406
|
return /* @__PURE__ */ r(
|
|
358
|
-
|
|
407
|
+
ke,
|
|
359
408
|
{
|
|
360
409
|
ref: s,
|
|
361
410
|
className: i,
|
|
@@ -364,76 +413,76 @@ const kn = oe(
|
|
|
364
413
|
}
|
|
365
414
|
);
|
|
366
415
|
});
|
|
367
|
-
|
|
368
|
-
const
|
|
416
|
+
yo.displayName = "Card";
|
|
417
|
+
const fo = h(
|
|
369
418
|
function({ overStyled: e = !1, ...a }, s) {
|
|
370
419
|
const t = f(a, e), o = t.className;
|
|
371
420
|
return /* @__PURE__ */ r(
|
|
372
|
-
|
|
421
|
+
ke.Section,
|
|
373
422
|
{
|
|
374
423
|
ref: s,
|
|
375
|
-
className: o ? `${
|
|
424
|
+
className: o ? `${oe.section} ${o}` : oe.section,
|
|
376
425
|
...t
|
|
377
426
|
}
|
|
378
427
|
);
|
|
379
428
|
}
|
|
380
429
|
);
|
|
381
|
-
|
|
382
|
-
const
|
|
430
|
+
fo.displayName = "CardSection";
|
|
431
|
+
const No = h(
|
|
383
432
|
function({ overStyled: e = !1, ...a }, s) {
|
|
384
433
|
const t = f(a, e), o = t.className;
|
|
385
434
|
return /* @__PURE__ */ r(
|
|
386
|
-
|
|
435
|
+
ke.Section,
|
|
387
436
|
{
|
|
388
437
|
ref: s,
|
|
389
|
-
className: o ? `${
|
|
438
|
+
className: o ? `${oe.header} ${o}` : oe.header,
|
|
390
439
|
...t
|
|
391
440
|
}
|
|
392
441
|
);
|
|
393
442
|
}
|
|
394
443
|
);
|
|
395
|
-
|
|
396
|
-
const
|
|
444
|
+
No.displayName = "CardHeader";
|
|
445
|
+
const ho = h(
|
|
397
446
|
function({ overStyled: e = !1, ...a }, s) {
|
|
398
447
|
const t = f(a, e), o = t.className;
|
|
399
448
|
return /* @__PURE__ */ r(
|
|
400
|
-
|
|
449
|
+
ke.Section,
|
|
401
450
|
{
|
|
402
451
|
ref: s,
|
|
403
|
-
className: o ? `${
|
|
452
|
+
className: o ? `${oe.footer} ${o}` : oe.footer,
|
|
404
453
|
...t
|
|
405
454
|
}
|
|
406
455
|
);
|
|
407
456
|
}
|
|
408
457
|
);
|
|
409
|
-
|
|
410
|
-
const
|
|
458
|
+
ho.displayName = "CardFooter";
|
|
459
|
+
const $o = h(
|
|
411
460
|
function({ overStyled: e = !1, ...a }, s) {
|
|
412
461
|
const t = f(a, e), o = t.className;
|
|
413
462
|
return /* @__PURE__ */ r(
|
|
414
463
|
"div",
|
|
415
464
|
{
|
|
416
465
|
ref: s,
|
|
417
|
-
className: o ? `${
|
|
466
|
+
className: o ? `${oe.content} ${o}` : oe.content,
|
|
418
467
|
...t
|
|
419
468
|
}
|
|
420
469
|
);
|
|
421
470
|
}
|
|
422
471
|
);
|
|
423
|
-
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
const
|
|
430
|
-
root:
|
|
431
|
-
labelText:
|
|
432
|
-
required:
|
|
433
|
-
optionalText:
|
|
434
|
-
actionAreaWrapper:
|
|
435
|
-
editIconWrapper:
|
|
436
|
-
},
|
|
472
|
+
$o.displayName = "CardContent";
|
|
473
|
+
const vo = Y(yo), Be = vo;
|
|
474
|
+
Be.Section = fo;
|
|
475
|
+
Be.Header = No;
|
|
476
|
+
Be.Footer = ho;
|
|
477
|
+
Be.Content = $o;
|
|
478
|
+
const Fn = vo, Ts = "Label-module__root___e6HXZ", xs = "Label-module__labelText___rieFR", Ss = "Label-module__required___Ggrzc", As = "Label-module__optionalText___Y2yun", Ws = "Label-module__actionAreaWrapper___ELoZK", Ls = "Label-module__editIconWrapper___NG2xW", U = {
|
|
479
|
+
root: Ts,
|
|
480
|
+
labelText: xs,
|
|
481
|
+
required: Ss,
|
|
482
|
+
optionalText: As,
|
|
483
|
+
actionAreaWrapper: Ws,
|
|
484
|
+
editIconWrapper: Ls
|
|
485
|
+
}, Co = h(function({
|
|
437
486
|
labelSize: e = "default",
|
|
438
487
|
labelAlignment: a,
|
|
439
488
|
required: s = !1,
|
|
@@ -446,35 +495,35 @@ const Mn = No, vs = "Label-module__root___e6HXZ", Cs = "Label-module__labelText_
|
|
|
446
495
|
...p
|
|
447
496
|
}, m) {
|
|
448
497
|
const N = a || "left";
|
|
449
|
-
let
|
|
450
|
-
s || (t === !0 ?
|
|
451
|
-
const
|
|
452
|
-
label:
|
|
453
|
-
required:
|
|
454
|
-
}, $ =
|
|
498
|
+
let u;
|
|
499
|
+
s || (t === !0 ? u = "optional" : t && (u = t));
|
|
500
|
+
const _ = f(p, d), y = _, C = {
|
|
501
|
+
label: U.root,
|
|
502
|
+
required: U.required
|
|
503
|
+
}, $ = y.classNames;
|
|
455
504
|
if ($ && typeof $ == "object" && !Array.isArray($)) {
|
|
456
|
-
const
|
|
457
|
-
C.label =
|
|
505
|
+
const T = $;
|
|
506
|
+
C.label = T.label ? `${U.root} ${T.label}` : U.root, C.required = T.required ? `${U.required} ${T.required}` : U.required;
|
|
458
507
|
}
|
|
459
|
-
const
|
|
460
|
-
return /* @__PURE__ */
|
|
461
|
-
|
|
508
|
+
const P = y.className, b = P ? `${U.root} ${P}` : U.root;
|
|
509
|
+
return /* @__PURE__ */ R(
|
|
510
|
+
ao.Label,
|
|
462
511
|
{
|
|
463
512
|
ref: m,
|
|
464
|
-
className:
|
|
513
|
+
className: b,
|
|
465
514
|
classNames: C,
|
|
466
515
|
"data-size": e,
|
|
467
516
|
"data-alignment": N,
|
|
468
517
|
required: s && !o,
|
|
469
|
-
...
|
|
518
|
+
..._,
|
|
470
519
|
children: [
|
|
471
|
-
/* @__PURE__ */ r("span", { className:
|
|
472
|
-
|
|
473
|
-
n ? /* @__PURE__ */ r("span", { className:
|
|
520
|
+
/* @__PURE__ */ r("span", { className: U.labelText, children: c }),
|
|
521
|
+
u && /* @__PURE__ */ r("span", { className: U.optionalText, children: typeof u == "string" ? `(${u})` : u }),
|
|
522
|
+
n ? /* @__PURE__ */ r("span", { className: U.actionAreaWrapper, children: n }) : o ? /* @__PURE__ */ r(
|
|
474
523
|
"button",
|
|
475
524
|
{
|
|
476
525
|
type: "button",
|
|
477
|
-
className:
|
|
526
|
+
className: U.editIconWrapper,
|
|
478
527
|
"data-replaces-asterisk": s ? "true" : void 0,
|
|
479
528
|
onClick: i,
|
|
480
529
|
"aria-label": "Edit",
|
|
@@ -503,11 +552,11 @@ const Mn = No, vs = "Label-module__root___e6HXZ", Cs = "Label-module__labelText_
|
|
|
503
552
|
}
|
|
504
553
|
);
|
|
505
554
|
});
|
|
506
|
-
|
|
507
|
-
const
|
|
508
|
-
root:
|
|
509
|
-
leftSection:
|
|
510
|
-
rightSection:
|
|
555
|
+
Co.displayName = "Label";
|
|
556
|
+
const Is = "FormControlLayout-module__root___yNDhZ", Os = "FormControlLayout-module__leftSection___GBM1r", zs = "FormControlLayout-module__rightSection___bcL4v", Se = {
|
|
557
|
+
root: Is,
|
|
558
|
+
leftSection: Os,
|
|
559
|
+
rightSection: zs
|
|
511
560
|
}, ce = h(function({
|
|
512
561
|
formLayout: e = "stacked",
|
|
513
562
|
labelSize: a = "default",
|
|
@@ -519,8 +568,8 @@ const xs = "FormControlLayout-module__root___yNDhZ", Ss = "FormControlLayout-mod
|
|
|
519
568
|
style: c,
|
|
520
569
|
...d
|
|
521
570
|
}, p) {
|
|
522
|
-
const m = i ? `${Se.root} ${i}` : Se.root,
|
|
523
|
-
return /* @__PURE__ */
|
|
571
|
+
const m = i ? `${Se.root} ${i}` : Se.root, u = o != null || e === "side-by-side";
|
|
572
|
+
return /* @__PURE__ */ R(
|
|
524
573
|
"div",
|
|
525
574
|
{
|
|
526
575
|
ref: p,
|
|
@@ -533,18 +582,18 @@ const xs = "FormControlLayout-module__root___yNDhZ", Ss = "FormControlLayout-mod
|
|
|
533
582
|
},
|
|
534
583
|
...d,
|
|
535
584
|
children: [
|
|
536
|
-
|
|
585
|
+
u && /* @__PURE__ */ r("div", { className: Se.leftSection, "data-size": a, children: o }),
|
|
537
586
|
/* @__PURE__ */ r("div", { className: Se.rightSection, children: n })
|
|
538
587
|
]
|
|
539
588
|
}
|
|
540
589
|
);
|
|
541
590
|
});
|
|
542
591
|
ce.displayName = "FormControlLayout";
|
|
543
|
-
const
|
|
544
|
-
root:
|
|
545
|
-
textWrapper:
|
|
546
|
-
iconWrapper:
|
|
547
|
-
},
|
|
592
|
+
const Rs = "AssistiveElement-module__root___WhQ43", ks = "AssistiveElement-module__textWrapper___sfy5E", Ms = "AssistiveElement-module__iconWrapper___gObRF", Ee = {
|
|
593
|
+
root: Rs,
|
|
594
|
+
textWrapper: ks,
|
|
595
|
+
iconWrapper: Ms
|
|
596
|
+
}, Bs = () => /* @__PURE__ */ R(
|
|
548
597
|
"svg",
|
|
549
598
|
{
|
|
550
599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -560,7 +609,7 @@ const Ws = "AssistiveElement-module__root___WhQ43", Ls = "AssistiveElement-modul
|
|
|
560
609
|
/* @__PURE__ */ r("path", { d: "M12 8h.01" })
|
|
561
610
|
]
|
|
562
611
|
}
|
|
563
|
-
),
|
|
612
|
+
), Fs = () => /* @__PURE__ */ R(
|
|
564
613
|
"svg",
|
|
565
614
|
{
|
|
566
615
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -576,7 +625,7 @@ const Ws = "AssistiveElement-module__root___WhQ43", Ls = "AssistiveElement-modul
|
|
|
576
625
|
/* @__PURE__ */ r("path", { d: "M12 17h.01" })
|
|
577
626
|
]
|
|
578
627
|
}
|
|
579
|
-
),
|
|
628
|
+
), De = h(function({
|
|
580
629
|
assistiveVariant: e = "help",
|
|
581
630
|
assistiveWithIcon: a = !0,
|
|
582
631
|
children: s,
|
|
@@ -584,8 +633,8 @@ const Ws = "AssistiveElement-module__root___WhQ43", Ls = "AssistiveElement-modul
|
|
|
584
633
|
overStyled: o = !1,
|
|
585
634
|
...n
|
|
586
635
|
}, i) {
|
|
587
|
-
const d = f(n, o), p =
|
|
588
|
-
return /* @__PURE__ */
|
|
636
|
+
const d = f(n, o), p = Ee.root, m = t ? `${p} ${t}` : p, N = e === "error" ? Fs : Bs;
|
|
637
|
+
return /* @__PURE__ */ R(
|
|
589
638
|
"div",
|
|
590
639
|
{
|
|
591
640
|
ref: i,
|
|
@@ -594,16 +643,16 @@ const Ws = "AssistiveElement-module__root___WhQ43", Ls = "AssistiveElement-modul
|
|
|
594
643
|
style: d.style,
|
|
595
644
|
...d,
|
|
596
645
|
children: [
|
|
597
|
-
a && /* @__PURE__ */ r("span", { className:
|
|
598
|
-
/* @__PURE__ */ r("span", { className:
|
|
646
|
+
a && /* @__PURE__ */ r("span", { className: Ee.iconWrapper, children: /* @__PURE__ */ r(N, {}) }),
|
|
647
|
+
/* @__PURE__ */ r("span", { className: Ee.textWrapper, children: s })
|
|
599
648
|
]
|
|
600
649
|
}
|
|
601
650
|
);
|
|
602
651
|
});
|
|
603
|
-
|
|
604
|
-
const
|
|
605
|
-
inputSection:
|
|
606
|
-
},
|
|
652
|
+
De.displayName = "AssistiveElement";
|
|
653
|
+
const Es = "FormControlWrapper-module__inputSection___HenXk", Je = {
|
|
654
|
+
inputSection: Es
|
|
655
|
+
}, Ie = h(function({
|
|
607
656
|
formLayout: e,
|
|
608
657
|
labelSize: a,
|
|
609
658
|
labelAlignment: s,
|
|
@@ -616,34 +665,34 @@ const Rs = "FormControlWrapper-module__inputSection___HenXk", Je = {
|
|
|
616
665
|
assistiveText: p,
|
|
617
666
|
assistiveWithIcon: m = !0,
|
|
618
667
|
controlMaxWidth: N,
|
|
619
|
-
controlMinWidth:
|
|
620
|
-
error:
|
|
621
|
-
required:
|
|
668
|
+
controlMinWidth: u,
|
|
669
|
+
error: _,
|
|
670
|
+
required: y,
|
|
622
671
|
withAsterisk: C,
|
|
623
672
|
id: $,
|
|
624
|
-
children:
|
|
625
|
-
className:
|
|
626
|
-
overStyled:
|
|
673
|
+
children: P,
|
|
674
|
+
className: b,
|
|
675
|
+
overStyled: T = !1,
|
|
627
676
|
labelElement: v,
|
|
628
677
|
// Extracted safely preventing bleeding into HTML domains
|
|
629
|
-
...
|
|
630
|
-
},
|
|
631
|
-
const
|
|
632
|
-
|
|
678
|
+
...k
|
|
679
|
+
}, S) {
|
|
680
|
+
const w = gt(), A = $ || `recursica-fc-${w}`, B = p || d, L = B ? `${A}-assistive` : void 0, x = _ ? `${A}-error` : void 0, M = f(k, T), me = b || M.className, xe = Je.root, q = me ? `${xe} ${me}` : xe, Ct = I.isValidElement(P) ? I.cloneElement(
|
|
681
|
+
P,
|
|
633
682
|
{
|
|
634
|
-
...
|
|
635
|
-
...
|
|
683
|
+
...B && !P.props["aria-describedby"] ? { "aria-describedby": L } : {},
|
|
684
|
+
..._ && !P.props["aria-errormessage"] ? { "aria-errormessage": x } : {}
|
|
636
685
|
}
|
|
637
|
-
) :
|
|
638
|
-
|
|
686
|
+
) : P, Pt = c ? /* @__PURE__ */ r(
|
|
687
|
+
Co,
|
|
639
688
|
{
|
|
640
|
-
id:
|
|
689
|
+
id: A,
|
|
641
690
|
labelAlignment: s,
|
|
642
691
|
labelOptionalText: t,
|
|
643
692
|
labelWithEditIcon: o,
|
|
644
693
|
labelActionArea: n,
|
|
645
694
|
onLabelEditClick: i,
|
|
646
|
-
required: C ??
|
|
695
|
+
required: C ?? y,
|
|
647
696
|
...v === "div" ? { as: "div" } : {},
|
|
648
697
|
children: c
|
|
649
698
|
}
|
|
@@ -651,43 +700,43 @@ const Rs = "FormControlWrapper-module__inputSection___HenXk", Je = {
|
|
|
651
700
|
return /* @__PURE__ */ r(
|
|
652
701
|
ce,
|
|
653
702
|
{
|
|
654
|
-
ref:
|
|
703
|
+
ref: S,
|
|
655
704
|
className: q,
|
|
656
705
|
formLayout: e,
|
|
657
706
|
labelSize: a,
|
|
658
707
|
controlMaxWidth: N,
|
|
659
|
-
controlMinWidth:
|
|
660
|
-
leftSection:
|
|
661
|
-
...
|
|
662
|
-
children: /* @__PURE__ */
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
708
|
+
controlMinWidth: u,
|
|
709
|
+
leftSection: Pt,
|
|
710
|
+
...M,
|
|
711
|
+
children: /* @__PURE__ */ R("div", { className: Je.inputSection, children: [
|
|
712
|
+
Ct,
|
|
713
|
+
_ && /* @__PURE__ */ r(
|
|
714
|
+
De,
|
|
666
715
|
{
|
|
667
|
-
id:
|
|
716
|
+
id: x,
|
|
668
717
|
assistiveVariant: "error",
|
|
669
718
|
assistiveWithIcon: m,
|
|
670
|
-
children:
|
|
719
|
+
children: _
|
|
671
720
|
}
|
|
672
721
|
),
|
|
673
|
-
!
|
|
674
|
-
|
|
722
|
+
!_ && B && /* @__PURE__ */ r(
|
|
723
|
+
De,
|
|
675
724
|
{
|
|
676
|
-
id:
|
|
725
|
+
id: L,
|
|
677
726
|
assistiveVariant: "help",
|
|
678
727
|
assistiveWithIcon: m,
|
|
679
|
-
children:
|
|
728
|
+
children: B
|
|
680
729
|
}
|
|
681
730
|
)
|
|
682
731
|
] })
|
|
683
732
|
}
|
|
684
733
|
);
|
|
685
734
|
});
|
|
686
|
-
|
|
687
|
-
const
|
|
688
|
-
root:
|
|
689
|
-
contents:
|
|
690
|
-
},
|
|
735
|
+
Ie.displayName = "FormControlWrapper";
|
|
736
|
+
const js = "_root_1qhn7_3", Ds = "_contents_1qhn7_18", ye = {
|
|
737
|
+
root: js,
|
|
738
|
+
contents: Ds
|
|
739
|
+
}, Vs = h(function({ layer: l, contentsOnly: e, children: a, className: s, style: t, ...o }, n) {
|
|
691
740
|
const i = e ? s ? `${ye.root} ${ye.contents} ${s}` : `${ye.root} ${ye.contents}` : s ? `${ye.root} ${s}` : ye.root;
|
|
692
741
|
return /* @__PURE__ */ r(
|
|
693
742
|
"div",
|
|
@@ -701,24 +750,24 @@ const ks = "_root_1qhn7_3", Ms = "_contents_1qhn7_18", ye = {
|
|
|
701
750
|
}
|
|
702
751
|
);
|
|
703
752
|
});
|
|
704
|
-
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
const
|
|
709
|
-
function
|
|
753
|
+
Vs.displayName = "Layer";
|
|
754
|
+
const Oe = ({ emptyText: l = "N/A" }) => /* @__PURE__ */ r(I.Fragment, { children: l });
|
|
755
|
+
Oe.displayName = "EmptyValueRenderer";
|
|
756
|
+
Oe.check = (l) => l == null || l === "" || Array.isArray(l) && l.length === 0;
|
|
757
|
+
const eo = "data-recursica-theme";
|
|
758
|
+
function En({
|
|
710
759
|
children: l,
|
|
711
760
|
theme: e = "light"
|
|
712
761
|
}) {
|
|
713
|
-
return
|
|
762
|
+
return wt(() => {
|
|
714
763
|
const a = document.documentElement;
|
|
715
|
-
return a.setAttribute(
|
|
716
|
-
a.removeAttribute(
|
|
764
|
+
return a.setAttribute(eo, e), () => {
|
|
765
|
+
a.removeAttribute(eo);
|
|
717
766
|
};
|
|
718
767
|
}, [e]), /* @__PURE__ */ r(Ne, { children: l });
|
|
719
768
|
}
|
|
720
|
-
const
|
|
721
|
-
textField:
|
|
769
|
+
const Gs = "ReadOnlyField-module__textField___qKn25", ze = {
|
|
770
|
+
textField: Gs
|
|
722
771
|
}, We = ({
|
|
723
772
|
value: l,
|
|
724
773
|
overStyled: e = !1,
|
|
@@ -726,20 +775,20 @@ const Fs = "ReadOnlyField-module__textField___qKn25", Oe = {
|
|
|
726
775
|
}) => {
|
|
727
776
|
const s = f(a, e), t = s.className;
|
|
728
777
|
return /* @__PURE__ */ r(
|
|
729
|
-
|
|
778
|
+
Ve,
|
|
730
779
|
{
|
|
731
780
|
component: "p",
|
|
732
|
-
className: t ? `${
|
|
781
|
+
className: t ? `${ze.textField} ${t}` : ze.textField,
|
|
733
782
|
...s,
|
|
734
|
-
children: l != null ?
|
|
783
|
+
children: l != null ? I.isValidElement(l) ? l : Array.isArray(l) ? l.join(", ") : String(l) : ""
|
|
735
784
|
}
|
|
736
785
|
);
|
|
737
786
|
};
|
|
738
787
|
We.displayName = "ReadOnlyTextField";
|
|
739
|
-
const
|
|
788
|
+
const Po = h(
|
|
740
789
|
function({ value: e, type: a = "text", emptyValueComponent: s, overStyled: t = !1, ...o }, n) {
|
|
741
790
|
let i = null;
|
|
742
|
-
const c = f(o, t), d = s ||
|
|
791
|
+
const c = f(o, t), d = s || Oe, m = (d.check ? d.check(e) : Oe.check(e)) ? /* @__PURE__ */ r(d, { value: e }) : e;
|
|
743
792
|
switch (a) {
|
|
744
793
|
case "boolean":
|
|
745
794
|
i = /* @__PURE__ */ r(
|
|
@@ -771,7 +820,7 @@ const $o = h(
|
|
|
771
820
|
break;
|
|
772
821
|
}
|
|
773
822
|
return /* @__PURE__ */ r(
|
|
774
|
-
|
|
823
|
+
Ie,
|
|
775
824
|
{
|
|
776
825
|
ref: n,
|
|
777
826
|
overStyled: t,
|
|
@@ -781,7 +830,7 @@ const $o = h(
|
|
|
781
830
|
);
|
|
782
831
|
}
|
|
783
832
|
);
|
|
784
|
-
|
|
833
|
+
Po.displayName = "ReadOnlyField";
|
|
785
834
|
const de = h(function({
|
|
786
835
|
readOnly: e,
|
|
787
836
|
readOnlyComponent: a,
|
|
@@ -795,7 +844,7 @@ const de = h(function({
|
|
|
795
844
|
...p
|
|
796
845
|
}, m) {
|
|
797
846
|
return e ? a ? /* @__PURE__ */ r(
|
|
798
|
-
|
|
847
|
+
Ie,
|
|
799
848
|
{
|
|
800
849
|
ref: m,
|
|
801
850
|
...p,
|
|
@@ -804,7 +853,7 @@ const de = h(function({
|
|
|
804
853
|
children: /* @__PURE__ */ r(a, { ...o })
|
|
805
854
|
}
|
|
806
855
|
) : /* @__PURE__ */ r(
|
|
807
|
-
|
|
856
|
+
Po,
|
|
808
857
|
{
|
|
809
858
|
ref: m,
|
|
810
859
|
type: s,
|
|
@@ -815,7 +864,7 @@ const de = h(function({
|
|
|
815
864
|
...p
|
|
816
865
|
}
|
|
817
866
|
) : /* @__PURE__ */ r(
|
|
818
|
-
|
|
867
|
+
Ie,
|
|
819
868
|
{
|
|
820
869
|
ref: m,
|
|
821
870
|
...p,
|
|
@@ -826,16 +875,16 @@ const de = h(function({
|
|
|
826
875
|
);
|
|
827
876
|
});
|
|
828
877
|
de.displayName = "WithReadOnlyWrapper";
|
|
829
|
-
const
|
|
830
|
-
groupRoot:
|
|
831
|
-
root:
|
|
832
|
-
body:
|
|
833
|
-
inner:
|
|
834
|
-
input:
|
|
835
|
-
icon:
|
|
836
|
-
labelWrapper:
|
|
837
|
-
label:
|
|
838
|
-
},
|
|
878
|
+
const qs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module__root___mY3qk", Us = "Checkbox-module__body___5yC7q", Zs = "Checkbox-module__inner___rTke4", Ys = "Checkbox-module__input___2kt-h", Ks = "Checkbox-module__icon___-O7i6", Qs = "Checkbox-module__labelWrapper___GpZkr", Xs = "Checkbox-module__label___cwRtI", O = {
|
|
879
|
+
groupRoot: qs,
|
|
880
|
+
root: Hs,
|
|
881
|
+
body: Us,
|
|
882
|
+
inner: Zs,
|
|
883
|
+
input: Ys,
|
|
884
|
+
icon: Ks,
|
|
885
|
+
labelWrapper: Qs,
|
|
886
|
+
label: Xs
|
|
887
|
+
}, go = h(
|
|
839
888
|
function(e, a) {
|
|
840
889
|
const {
|
|
841
890
|
overStyled: s = !1,
|
|
@@ -850,26 +899,26 @@ const Es = "Checkbox-module__groupRoot___cBS0o", js = "Checkbox-module__root___m
|
|
|
850
899
|
label: p,
|
|
851
900
|
description: m,
|
|
852
901
|
assistiveText: N,
|
|
853
|
-
assistiveWithIcon:
|
|
854
|
-
error:
|
|
855
|
-
required:
|
|
902
|
+
assistiveWithIcon: u,
|
|
903
|
+
error: _,
|
|
904
|
+
required: y,
|
|
856
905
|
withAsterisk: C,
|
|
857
906
|
id: $,
|
|
858
|
-
className:
|
|
859
|
-
style:
|
|
860
|
-
children:
|
|
907
|
+
className: P,
|
|
908
|
+
style: b,
|
|
909
|
+
children: T,
|
|
861
910
|
readOnly: v,
|
|
862
|
-
readOnlyComponent:
|
|
863
|
-
emptyValueComponent:
|
|
864
|
-
value:
|
|
865
|
-
defaultValue:
|
|
866
|
-
...
|
|
867
|
-
} = e,
|
|
868
|
-
return delete
|
|
911
|
+
readOnlyComponent: k,
|
|
912
|
+
emptyValueComponent: S,
|
|
913
|
+
value: w,
|
|
914
|
+
defaultValue: A,
|
|
915
|
+
...B
|
|
916
|
+
} = e, L = f(B, s), x = L;
|
|
917
|
+
return delete x.size, /* @__PURE__ */ r(
|
|
869
918
|
de,
|
|
870
919
|
{
|
|
871
|
-
className:
|
|
872
|
-
style:
|
|
920
|
+
className: P,
|
|
921
|
+
style: b,
|
|
873
922
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
874
923
|
controlMinWidth: void 0,
|
|
875
924
|
overStyled: s,
|
|
@@ -883,36 +932,36 @@ const Es = "Checkbox-module__groupRoot___cBS0o", js = "Checkbox-module__root___m
|
|
|
883
932
|
label: p,
|
|
884
933
|
description: m,
|
|
885
934
|
assistiveText: N,
|
|
886
|
-
assistiveWithIcon:
|
|
887
|
-
error:
|
|
888
|
-
required:
|
|
935
|
+
assistiveWithIcon: u,
|
|
936
|
+
error: _,
|
|
937
|
+
required: y,
|
|
889
938
|
withAsterisk: C,
|
|
890
939
|
id: $,
|
|
891
|
-
readOnly: v && !!
|
|
892
|
-
readOnlyComponent:
|
|
893
|
-
emptyValueComponent:
|
|
940
|
+
readOnly: v && !!k,
|
|
941
|
+
readOnlyComponent: k,
|
|
942
|
+
emptyValueComponent: S,
|
|
894
943
|
readOnlyType: "text",
|
|
895
|
-
readOnlyValue:
|
|
944
|
+
readOnlyValue: w !== void 0 ? w : A,
|
|
896
945
|
readOnlyNativeProps: e,
|
|
897
946
|
activeComponent: /* @__PURE__ */ r(
|
|
898
|
-
|
|
947
|
+
ro.Group,
|
|
899
948
|
{
|
|
900
949
|
ref: a,
|
|
901
|
-
...
|
|
902
|
-
disabled: v ||
|
|
903
|
-
value:
|
|
904
|
-
defaultValue:
|
|
905
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
906
|
-
disabled: v ||
|
|
907
|
-
}) :
|
|
950
|
+
...L,
|
|
951
|
+
disabled: v || x.disabled,
|
|
952
|
+
value: w,
|
|
953
|
+
defaultValue: A,
|
|
954
|
+
children: /* @__PURE__ */ r("div", { className: O.groupRoot, "data-layout": t, children: I.Children.map(T, (g) => I.isValidElement(g) ? I.cloneElement(g, {
|
|
955
|
+
disabled: v || g.props.disabled
|
|
956
|
+
}) : g) })
|
|
908
957
|
}
|
|
909
958
|
)
|
|
910
959
|
}
|
|
911
960
|
);
|
|
912
961
|
}
|
|
913
962
|
);
|
|
914
|
-
|
|
915
|
-
const
|
|
963
|
+
go.displayName = "CheckboxGroup";
|
|
964
|
+
const wo = h(
|
|
916
965
|
function(e, a) {
|
|
917
966
|
const {
|
|
918
967
|
overStyled: s = !1,
|
|
@@ -924,29 +973,29 @@ const Co = h(
|
|
|
924
973
|
controlMaxWidth: d,
|
|
925
974
|
controlMinWidth: p,
|
|
926
975
|
...m
|
|
927
|
-
} = e, N = f(m, s),
|
|
928
|
-
delete
|
|
929
|
-
const
|
|
930
|
-
root:
|
|
931
|
-
body:
|
|
932
|
-
inner:
|
|
933
|
-
input:
|
|
934
|
-
icon:
|
|
935
|
-
labelWrapper:
|
|
936
|
-
label:
|
|
937
|
-
},
|
|
938
|
-
if (
|
|
939
|
-
const
|
|
940
|
-
|
|
976
|
+
} = e, N = f(m, s), u = N;
|
|
977
|
+
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
978
|
+
const _ = {
|
|
979
|
+
root: O.root,
|
|
980
|
+
body: O.body,
|
|
981
|
+
inner: O.inner,
|
|
982
|
+
input: O.input,
|
|
983
|
+
icon: O.icon,
|
|
984
|
+
labelWrapper: O.labelWrapper,
|
|
985
|
+
label: O.label
|
|
986
|
+
}, y = u.classNames;
|
|
987
|
+
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
988
|
+
const b = y;
|
|
989
|
+
_.root = b.root ? `${O.root} ${b.root}` : O.root, _.body = b.body ? `${O.body} ${b.body}` : O.body, _.inner = b.inner ? `${O.inner} ${b.inner}` : O.inner, _.input = b.input ? `${O.input} ${b.input}` : O.input, _.icon = b.icon ? `${O.icon} ${b.icon}` : O.icon, _.labelWrapper = b.labelWrapper ? `${O.labelWrapper} ${b.labelWrapper}` : O.labelWrapper, _.label = b.label ? `${O.label} ${b.label}` : O.label;
|
|
941
990
|
}
|
|
942
|
-
const C =
|
|
991
|
+
const C = u.className, $ = C ? `${O.root} ${C}` : O.root;
|
|
943
992
|
if (t && o) {
|
|
944
|
-
const
|
|
993
|
+
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ r(
|
|
945
994
|
o,
|
|
946
995
|
{
|
|
947
996
|
...e,
|
|
948
|
-
checked:
|
|
949
|
-
label:
|
|
997
|
+
checked: b,
|
|
998
|
+
label: u.label
|
|
950
999
|
}
|
|
951
1000
|
);
|
|
952
1001
|
return i ? /* @__PURE__ */ r(
|
|
@@ -960,12 +1009,12 @@ const Co = h(
|
|
|
960
1009
|
}
|
|
961
1010
|
) : /* @__PURE__ */ r(Ne, { children: v });
|
|
962
1011
|
}
|
|
963
|
-
const
|
|
964
|
-
|
|
1012
|
+
const P = /* @__PURE__ */ r(
|
|
1013
|
+
ro,
|
|
965
1014
|
{
|
|
966
1015
|
ref: a,
|
|
967
1016
|
className: $,
|
|
968
|
-
classNames:
|
|
1017
|
+
classNames: _,
|
|
969
1018
|
disabled: t || n,
|
|
970
1019
|
...N
|
|
971
1020
|
}
|
|
@@ -977,24 +1026,24 @@ const Co = h(
|
|
|
977
1026
|
labelSize: c,
|
|
978
1027
|
controlMaxWidth: d,
|
|
979
1028
|
controlMinWidth: p,
|
|
980
|
-
children:
|
|
1029
|
+
children: P
|
|
981
1030
|
}
|
|
982
|
-
) :
|
|
1031
|
+
) : P;
|
|
983
1032
|
}
|
|
984
1033
|
);
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
const
|
|
988
|
-
root:
|
|
989
|
-
label:
|
|
990
|
-
mantineIconWrapper:
|
|
991
|
-
innerWrapper:
|
|
992
|
-
children:
|
|
993
|
-
leadingIcon:
|
|
994
|
-
removeIcon:
|
|
1034
|
+
wo.displayName = "Checkbox";
|
|
1035
|
+
wo.Group = go;
|
|
1036
|
+
const Js = "Chip-module__root___f5pFk", ea = "Chip-module__label___Ov9pg", oa = "Chip-module__mantineIconWrapper___KLSz6", ta = "Chip-module__innerWrapper___EnrTF", sa = "Chip-module__children___zbRAR", aa = "Chip-module__leadingIcon___JBtjQ", ra = "Chip-module__removeIcon___pVju-", E = {
|
|
1037
|
+
root: Js,
|
|
1038
|
+
label: ea,
|
|
1039
|
+
mantineIconWrapper: oa,
|
|
1040
|
+
innerWrapper: ta,
|
|
1041
|
+
children: sa,
|
|
1042
|
+
leadingIcon: aa,
|
|
1043
|
+
removeIcon: ra
|
|
995
1044
|
};
|
|
996
|
-
function
|
|
997
|
-
return /* @__PURE__ */
|
|
1045
|
+
function na(l) {
|
|
1046
|
+
return /* @__PURE__ */ R(
|
|
998
1047
|
"svg",
|
|
999
1048
|
{
|
|
1000
1049
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1014,7 +1063,7 @@ function oa(l) {
|
|
|
1014
1063
|
}
|
|
1015
1064
|
);
|
|
1016
1065
|
}
|
|
1017
|
-
const
|
|
1066
|
+
const la = h(function({
|
|
1018
1067
|
error: e = !1,
|
|
1019
1068
|
icon: a,
|
|
1020
1069
|
onRemove: s,
|
|
@@ -1034,17 +1083,17 @@ const ta = h(function({
|
|
|
1034
1083
|
const $ = N;
|
|
1035
1084
|
m.root = $.root ? `${E.root} ${$.root}` : E.root, m.label = $.label ? `${E.label} ${$.label}` : E.label;
|
|
1036
1085
|
}
|
|
1037
|
-
const
|
|
1086
|
+
const u = p.className, _ = u ? `${E.root} ${u}` : E.root;
|
|
1038
1087
|
return /* @__PURE__ */ r(
|
|
1039
|
-
|
|
1088
|
+
Lt,
|
|
1040
1089
|
{
|
|
1041
1090
|
ref: c,
|
|
1042
|
-
className:
|
|
1091
|
+
className: _,
|
|
1043
1092
|
classNames: m,
|
|
1044
1093
|
...(e ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
|
|
1045
1094
|
...!o && (!!a || !!s) ? { "data-icon-only": "" } : {},
|
|
1046
1095
|
...d,
|
|
1047
|
-
children: /* @__PURE__ */
|
|
1096
|
+
children: /* @__PURE__ */ R("span", { className: E.innerWrapper, children: [
|
|
1048
1097
|
a && /* @__PURE__ */ r("span", { className: E.leadingIcon, "aria-hidden": !0, children: a }),
|
|
1049
1098
|
/* @__PURE__ */ r("span", { className: E.children, children: o }),
|
|
1050
1099
|
s && /* @__PURE__ */ r(
|
|
@@ -1062,17 +1111,17 @@ const ta = h(function({
|
|
|
1062
1111
|
));
|
|
1063
1112
|
},
|
|
1064
1113
|
tabIndex: 0,
|
|
1065
|
-
children: /* @__PURE__ */ r(
|
|
1114
|
+
children: /* @__PURE__ */ r(na, {})
|
|
1066
1115
|
}
|
|
1067
1116
|
)
|
|
1068
1117
|
] })
|
|
1069
1118
|
}
|
|
1070
1119
|
);
|
|
1071
1120
|
});
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1074
|
-
root:
|
|
1075
|
-
},
|
|
1121
|
+
la.displayName = "Chip";
|
|
1122
|
+
const ia = "Container-module__root___UVssr", ve = {
|
|
1123
|
+
root: ia
|
|
1124
|
+
}, ca = h(
|
|
1076
1125
|
function({ children: e, size: a, ...s }, t) {
|
|
1077
1126
|
const o = {
|
|
1078
1127
|
"rec-sm": "sm",
|
|
@@ -1082,15 +1131,15 @@ const sa = "Container-module__root___UVssr", $e = {
|
|
|
1082
1131
|
"rec-xl": "xl",
|
|
1083
1132
|
"rec-2xl": "xl"
|
|
1084
1133
|
}, n = typeof a == "string" && o[a] ? o[a] : a, i = {
|
|
1085
|
-
root:
|
|
1134
|
+
root: ve.root
|
|
1086
1135
|
}, c = s.classNames;
|
|
1087
1136
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1088
1137
|
const m = c;
|
|
1089
|
-
i.root = m.root ? `${
|
|
1138
|
+
i.root = m.root ? `${ve.root} ${m.root}` : ve.root;
|
|
1090
1139
|
}
|
|
1091
|
-
const d = s.className, p = d ? `${
|
|
1140
|
+
const d = s.className, p = d ? `${ve.root} ${d}` : ve.root;
|
|
1092
1141
|
return /* @__PURE__ */ r(
|
|
1093
|
-
|
|
1142
|
+
It,
|
|
1094
1143
|
{
|
|
1095
1144
|
ref: t,
|
|
1096
1145
|
size: n,
|
|
@@ -1102,14 +1151,14 @@ const sa = "Container-module__root___UVssr", $e = {
|
|
|
1102
1151
|
);
|
|
1103
1152
|
}
|
|
1104
1153
|
);
|
|
1105
|
-
|
|
1106
|
-
const
|
|
1107
|
-
root:
|
|
1108
|
-
input:
|
|
1109
|
-
section:
|
|
1110
|
-
dropdown:
|
|
1111
|
-
option:
|
|
1112
|
-
},
|
|
1154
|
+
ca.displayName = "Container";
|
|
1155
|
+
const jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), da = "Dropdown-module__root___uVyL0", pa = "Dropdown-module__input___dK4dN", ma = "Dropdown-module__section___j3MRB", _a = "Dropdown-module__dropdown___gG-Sw", ua = "Dropdown-module__option___nAGU-", j = {
|
|
1156
|
+
root: da,
|
|
1157
|
+
input: pa,
|
|
1158
|
+
section: ma,
|
|
1159
|
+
dropdown: _a,
|
|
1160
|
+
option: ua
|
|
1161
|
+
}, ba = h(
|
|
1113
1162
|
function(e, a) {
|
|
1114
1163
|
const {
|
|
1115
1164
|
overStyled: s = !1,
|
|
@@ -1123,43 +1172,43 @@ const Fn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), ra
|
|
|
1123
1172
|
onLabelEditClick: p,
|
|
1124
1173
|
label: m,
|
|
1125
1174
|
assistiveText: N,
|
|
1126
|
-
assistiveWithIcon:
|
|
1127
|
-
error:
|
|
1128
|
-
required:
|
|
1175
|
+
assistiveWithIcon: u,
|
|
1176
|
+
error: _,
|
|
1177
|
+
required: y,
|
|
1129
1178
|
withAsterisk: C,
|
|
1130
1179
|
id: $,
|
|
1131
|
-
className:
|
|
1132
|
-
style:
|
|
1133
|
-
disabled:
|
|
1180
|
+
className: P,
|
|
1181
|
+
style: b,
|
|
1182
|
+
disabled: T,
|
|
1134
1183
|
readOnly: v,
|
|
1135
|
-
readOnlyComponent:
|
|
1136
|
-
emptyValueComponent:
|
|
1137
|
-
value:
|
|
1138
|
-
defaultValue:
|
|
1139
|
-
data:
|
|
1140
|
-
...
|
|
1141
|
-
} = e,
|
|
1142
|
-
delete
|
|
1143
|
-
const
|
|
1184
|
+
readOnlyComponent: k,
|
|
1185
|
+
emptyValueComponent: S,
|
|
1186
|
+
value: w,
|
|
1187
|
+
defaultValue: A,
|
|
1188
|
+
data: B,
|
|
1189
|
+
...L
|
|
1190
|
+
} = e, x = f(L, s), g = x;
|
|
1191
|
+
delete g.size, delete g.variant, delete g.radius;
|
|
1192
|
+
const M = {
|
|
1144
1193
|
wrapper: j.root,
|
|
1145
1194
|
// The nested Input internal relative wrapper bounding box
|
|
1146
1195
|
input: j.input,
|
|
1147
1196
|
section: j.section,
|
|
1148
1197
|
dropdown: j.dropdown,
|
|
1149
1198
|
option: j.option
|
|
1150
|
-
}, me =
|
|
1199
|
+
}, me = g.classNames;
|
|
1151
1200
|
if (me && typeof me == "object" && !Array.isArray(me)) {
|
|
1152
1201
|
const q = me;
|
|
1153
|
-
|
|
1202
|
+
M.wrapper = q.wrapper ? `${j.root} ${q.wrapper}` : j.root, M.input = q.input ? `${j.input} ${q.input}` : j.input, M.section = q.section ? `${j.section} ${q.section}` : j.section, M.dropdown = q.dropdown ? `${j.dropdown} ${q.dropdown}` : j.dropdown, M.option = q.option ? `${j.option} ${q.option}` : j.option;
|
|
1154
1203
|
}
|
|
1155
1204
|
const xe = {
|
|
1156
|
-
...
|
|
1205
|
+
...b || {},
|
|
1157
1206
|
width: o || "100%"
|
|
1158
1207
|
};
|
|
1159
1208
|
return /* @__PURE__ */ r(
|
|
1160
1209
|
de,
|
|
1161
1210
|
{
|
|
1162
|
-
className:
|
|
1211
|
+
className: P,
|
|
1163
1212
|
style: xe,
|
|
1164
1213
|
controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
|
|
1165
1214
|
controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
|
|
@@ -1172,38 +1221,38 @@ const Fn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), ra
|
|
|
1172
1221
|
onLabelEditClick: p,
|
|
1173
1222
|
label: m,
|
|
1174
1223
|
assistiveText: N,
|
|
1175
|
-
assistiveWithIcon:
|
|
1176
|
-
error:
|
|
1177
|
-
required:
|
|
1224
|
+
assistiveWithIcon: u,
|
|
1225
|
+
error: _,
|
|
1226
|
+
required: y,
|
|
1178
1227
|
withAsterisk: C,
|
|
1179
1228
|
id: $,
|
|
1180
1229
|
readOnly: v,
|
|
1181
|
-
readOnlyComponent:
|
|
1182
|
-
emptyValueComponent:
|
|
1230
|
+
readOnlyComponent: k,
|
|
1231
|
+
emptyValueComponent: S,
|
|
1183
1232
|
readOnlyType: "text",
|
|
1184
|
-
readOnlyValue:
|
|
1233
|
+
readOnlyValue: w !== void 0 ? String(w) : A ? String(A) : void 0,
|
|
1185
1234
|
readOnlyNativeProps: e,
|
|
1186
1235
|
activeComponent: (
|
|
1187
1236
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1188
1237
|
/* @__PURE__ */ r(
|
|
1189
|
-
|
|
1238
|
+
Ot,
|
|
1190
1239
|
{
|
|
1191
1240
|
ref: a,
|
|
1192
|
-
classNames:
|
|
1193
|
-
disabled:
|
|
1194
|
-
value:
|
|
1195
|
-
defaultValue:
|
|
1196
|
-
data:
|
|
1241
|
+
classNames: M,
|
|
1242
|
+
disabled: T,
|
|
1243
|
+
value: w,
|
|
1244
|
+
defaultValue: A,
|
|
1245
|
+
data: B || [],
|
|
1197
1246
|
label: void 0,
|
|
1198
1247
|
description: void 0,
|
|
1199
1248
|
error: void 0,
|
|
1200
1249
|
required: void 0,
|
|
1201
1250
|
withAsterisk: void 0,
|
|
1202
1251
|
wrapperProps: {
|
|
1203
|
-
"data-disabled":
|
|
1204
|
-
"data-error":
|
|
1252
|
+
"data-disabled": T ? "true" : void 0,
|
|
1253
|
+
"data-error": _ ? "true" : void 0
|
|
1205
1254
|
},
|
|
1206
|
-
...
|
|
1255
|
+
...x
|
|
1207
1256
|
}
|
|
1208
1257
|
)
|
|
1209
1258
|
)
|
|
@@ -1211,66 +1260,64 @@ const Fn = (l) => /* @__PURE__ */ r("div", { ...l, children: "DatePicker" }), ra
|
|
|
1211
1260
|
);
|
|
1212
1261
|
}
|
|
1213
1262
|
);
|
|
1214
|
-
|
|
1215
|
-
const
|
|
1216
|
-
root:
|
|
1217
|
-
},
|
|
1218
|
-
const
|
|
1219
|
-
root:
|
|
1220
|
-
},
|
|
1221
|
-
if (
|
|
1222
|
-
const
|
|
1223
|
-
|
|
1263
|
+
ba.displayName = "Dropdown";
|
|
1264
|
+
const Dn = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileInput" }), Vn = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileUpload" }), ya = "Flex-module__root___yYser", Ce = {
|
|
1265
|
+
root: ya
|
|
1266
|
+
}, To = h(function({ children: e, gap: a = "rec-default", rowGap: s, columnGap: t, ...o }, n) {
|
|
1267
|
+
const i = {
|
|
1268
|
+
root: Ce.root
|
|
1269
|
+
}, c = o.classNames;
|
|
1270
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
1271
|
+
const m = c;
|
|
1272
|
+
i.root = m.root ? `${Ce.root} ${m.root}` : Ce.root;
|
|
1224
1273
|
}
|
|
1225
|
-
const
|
|
1274
|
+
const d = o.className, p = d ? `${Ce.root} ${d}` : Ce.root;
|
|
1226
1275
|
return /* @__PURE__ */ r(
|
|
1227
|
-
|
|
1276
|
+
zt,
|
|
1228
1277
|
{
|
|
1229
|
-
ref:
|
|
1230
|
-
className:
|
|
1231
|
-
classNames:
|
|
1232
|
-
gap: a,
|
|
1233
|
-
...s,
|
|
1278
|
+
ref: n,
|
|
1279
|
+
className: p,
|
|
1280
|
+
classNames: i,
|
|
1281
|
+
...Ue({ gap: a, rowGap: s, columnGap: t, ...o }),
|
|
1234
1282
|
children: e
|
|
1235
1283
|
}
|
|
1236
1284
|
);
|
|
1237
1285
|
});
|
|
1238
|
-
|
|
1239
|
-
const
|
|
1240
|
-
root:
|
|
1241
|
-
},
|
|
1286
|
+
To.displayName = "Flex";
|
|
1287
|
+
const Gn = Y(To), fa = "Group-module__root___ftO64", Pe = {
|
|
1288
|
+
root: fa
|
|
1289
|
+
}, Na = h(function({ children: e, gap: a = "rec-default", ...s }, t) {
|
|
1242
1290
|
const o = {
|
|
1243
|
-
root:
|
|
1291
|
+
root: Pe.root
|
|
1244
1292
|
}, n = s.classNames;
|
|
1245
1293
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1246
1294
|
const d = n;
|
|
1247
|
-
o.root = d.root ? `${
|
|
1295
|
+
o.root = d.root ? `${Pe.root} ${d.root}` : Pe.root;
|
|
1248
1296
|
}
|
|
1249
|
-
const i = s.className, c = i ? `${
|
|
1297
|
+
const i = s.className, c = i ? `${Pe.root} ${i}` : Pe.root;
|
|
1250
1298
|
return /* @__PURE__ */ r(
|
|
1251
|
-
|
|
1299
|
+
Rt,
|
|
1252
1300
|
{
|
|
1253
1301
|
ref: t,
|
|
1254
1302
|
className: c,
|
|
1255
1303
|
classNames: o,
|
|
1256
|
-
gap: a,
|
|
1257
|
-
...s,
|
|
1304
|
+
...Ue({ gap: a, ...s }),
|
|
1258
1305
|
children: e
|
|
1259
1306
|
}
|
|
1260
1307
|
);
|
|
1261
1308
|
});
|
|
1262
|
-
|
|
1263
|
-
const
|
|
1264
|
-
dropdown:
|
|
1265
|
-
arrow:
|
|
1266
|
-
},
|
|
1309
|
+
Na.displayName = "Group";
|
|
1310
|
+
const ha = "HoverCard-module__dropdown___FBPFW", $a = "HoverCard-module__arrow___S9AkE", oo = {
|
|
1311
|
+
dropdown: ha,
|
|
1312
|
+
arrow: $a
|
|
1313
|
+
}, xo = function({
|
|
1267
1314
|
overStyled: e = !1,
|
|
1268
1315
|
withBeak: a = !0,
|
|
1269
1316
|
...s
|
|
1270
1317
|
}) {
|
|
1271
1318
|
const t = f(s, e), o = {
|
|
1272
|
-
dropdown:
|
|
1273
|
-
arrow:
|
|
1319
|
+
dropdown: oo.dropdown,
|
|
1320
|
+
arrow: oo.arrow
|
|
1274
1321
|
}, n = t.classNames;
|
|
1275
1322
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1276
1323
|
const p = n;
|
|
@@ -1280,7 +1327,7 @@ const ua = "HoverCard-module__dropdown___FBPFW", ba = "HoverCard-module__arrow__
|
|
|
1280
1327
|
}
|
|
1281
1328
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1282
1329
|
return /* @__PURE__ */ r(
|
|
1283
|
-
|
|
1330
|
+
Ge,
|
|
1284
1331
|
{
|
|
1285
1332
|
position: "top",
|
|
1286
1333
|
arrowSize: i,
|
|
@@ -1290,33 +1337,33 @@ const ua = "HoverCard-module__dropdown___FBPFW", ba = "HoverCard-module__arrow__
|
|
|
1290
1337
|
}
|
|
1291
1338
|
);
|
|
1292
1339
|
};
|
|
1293
|
-
|
|
1294
|
-
const
|
|
1295
|
-
return /* @__PURE__ */ r(
|
|
1340
|
+
xo.displayName = "HoverCard";
|
|
1341
|
+
const So = function(e) {
|
|
1342
|
+
return /* @__PURE__ */ r(Ge.Target, { ...e });
|
|
1296
1343
|
};
|
|
1297
|
-
|
|
1298
|
-
const
|
|
1344
|
+
So.displayName = "HoverCardTarget";
|
|
1345
|
+
const Ao = function({
|
|
1299
1346
|
overStyled: e = !1,
|
|
1300
1347
|
...a
|
|
1301
1348
|
}) {
|
|
1302
1349
|
const s = f(a, e), t = s.className;
|
|
1303
1350
|
return /* @__PURE__ */ r(
|
|
1304
|
-
|
|
1351
|
+
Ge.Dropdown,
|
|
1305
1352
|
{
|
|
1306
1353
|
className: t,
|
|
1307
1354
|
...s
|
|
1308
1355
|
}
|
|
1309
1356
|
);
|
|
1310
1357
|
};
|
|
1311
|
-
|
|
1312
|
-
const
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
const
|
|
1316
|
-
root:
|
|
1317
|
-
iconWrapper:
|
|
1318
|
-
labelText:
|
|
1319
|
-
},
|
|
1358
|
+
Ao.displayName = "HoverCardDropdown";
|
|
1359
|
+
const Wo = xo;
|
|
1360
|
+
Wo.Target = So;
|
|
1361
|
+
Wo.Dropdown = Ao;
|
|
1362
|
+
const va = "Link-module__root___I0VGE", Ca = "Link-module__iconWrapper___W-LlF", Pa = "Link-module__labelText___wSvUy", _e = {
|
|
1363
|
+
root: va,
|
|
1364
|
+
iconWrapper: Ca,
|
|
1365
|
+
labelText: Pa
|
|
1366
|
+
}, Lo = h(function({ icon: e, children: a, overStyled: s = !1, ...t }, o) {
|
|
1320
1367
|
const n = f(t, s), i = n, c = {
|
|
1321
1368
|
root: _e.root
|
|
1322
1369
|
}, d = i.classNames;
|
|
@@ -1325,8 +1372,8 @@ const ya = "Link-module__root___I0VGE", fa = "Link-module__iconWrapper___W-LlF",
|
|
|
1325
1372
|
c.root = N.root ? `${_e.root} ${N.root}` : _e.root;
|
|
1326
1373
|
}
|
|
1327
1374
|
const p = i.className, m = p ? `${_e.root} ${p}` : _e.root;
|
|
1328
|
-
return /* @__PURE__ */
|
|
1329
|
-
|
|
1375
|
+
return /* @__PURE__ */ R(
|
|
1376
|
+
kt,
|
|
1330
1377
|
{
|
|
1331
1378
|
ref: o,
|
|
1332
1379
|
className: m,
|
|
@@ -1341,48 +1388,16 @@ const ya = "Link-module__root___I0VGE", fa = "Link-module__iconWrapper___W-LlF",
|
|
|
1341
1388
|
}
|
|
1342
1389
|
);
|
|
1343
1390
|
});
|
|
1344
|
-
|
|
1345
|
-
const
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
large: "large"
|
|
1355
|
-
}[a] || "default", c = f(t, s), d = {
|
|
1356
|
-
root: ge.root
|
|
1357
|
-
}, p = c.classNames;
|
|
1358
|
-
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
1359
|
-
const _ = p;
|
|
1360
|
-
d.root = _.root ? `${ge.root} ${_.root}` : ge.root;
|
|
1361
|
-
}
|
|
1362
|
-
const m = c.className, N = m ? `${ge.root} ${m}` : ge.root;
|
|
1363
|
-
return /* @__PURE__ */ r(
|
|
1364
|
-
It,
|
|
1365
|
-
{
|
|
1366
|
-
ref: o,
|
|
1367
|
-
type: e,
|
|
1368
|
-
"data-variant": e,
|
|
1369
|
-
"data-size": i,
|
|
1370
|
-
...c,
|
|
1371
|
-
className: N,
|
|
1372
|
-
classNames: d
|
|
1373
|
-
}
|
|
1374
|
-
);
|
|
1375
|
-
});
|
|
1376
|
-
$a.displayName = "Loader";
|
|
1377
|
-
const va = "Menu-module__dropdown___j4xuA", Ca = "Menu-module__item___NMXha", ga = "Menu-module__itemLabel___zvcqC", Pa = "Menu-module__itemSection___pRIcn", wa = "Menu-module__divider___wPiNq", Ta = "Menu-module__label___4FBGa", xa = "Menu-module__chevron___hEEiy", ue = {
|
|
1378
|
-
dropdown: va,
|
|
1379
|
-
item: Ca,
|
|
1380
|
-
itemLabel: ga,
|
|
1381
|
-
itemSection: Pa,
|
|
1382
|
-
divider: wa,
|
|
1383
|
-
label: Ta,
|
|
1384
|
-
chevron: xa
|
|
1385
|
-
}, Ao = function({ overStyled: e = !1, ...a }) {
|
|
1391
|
+
Lo.displayName = "Link";
|
|
1392
|
+
const qn = Y(Lo), ga = "Menu-module__dropdown___j4xuA", wa = "Menu-module__item___NMXha", Ta = "Menu-module__itemLabel___zvcqC", xa = "Menu-module__itemSection___pRIcn", Sa = "Menu-module__divider___wPiNq", Aa = "Menu-module__label___4FBGa", Wa = "Menu-module__chevron___hEEiy", ue = {
|
|
1393
|
+
dropdown: ga,
|
|
1394
|
+
item: wa,
|
|
1395
|
+
itemLabel: Ta,
|
|
1396
|
+
itemSection: xa,
|
|
1397
|
+
divider: Sa,
|
|
1398
|
+
label: Aa,
|
|
1399
|
+
chevron: Wa
|
|
1400
|
+
}, Io = function({ overStyled: e = !1, ...a }) {
|
|
1386
1401
|
const s = f(a, e), t = {
|
|
1387
1402
|
dropdown: ue.dropdown,
|
|
1388
1403
|
item: ue.item,
|
|
@@ -1399,23 +1414,23 @@ const va = "Menu-module__dropdown___j4xuA", Ca = "Menu-module__item___NMXha", ga
|
|
|
1399
1414
|
});
|
|
1400
1415
|
}
|
|
1401
1416
|
return /* @__PURE__ */ r(
|
|
1402
|
-
|
|
1417
|
+
K,
|
|
1403
1418
|
{
|
|
1404
1419
|
classNames: t,
|
|
1405
1420
|
...s
|
|
1406
1421
|
}
|
|
1407
1422
|
);
|
|
1408
1423
|
};
|
|
1409
|
-
|
|
1410
|
-
const
|
|
1411
|
-
return /* @__PURE__ */ r(
|
|
1424
|
+
Io.displayName = "Menu";
|
|
1425
|
+
const Oo = function(e) {
|
|
1426
|
+
return /* @__PURE__ */ r(K.Target, { ...e });
|
|
1412
1427
|
};
|
|
1413
|
-
|
|
1414
|
-
const
|
|
1428
|
+
Oo.displayName = "MenuTarget";
|
|
1429
|
+
const zo = h(
|
|
1415
1430
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1416
1431
|
const t = f(a, e), o = t.className;
|
|
1417
1432
|
return /* @__PURE__ */ r(
|
|
1418
|
-
|
|
1433
|
+
K.Dropdown,
|
|
1419
1434
|
{
|
|
1420
1435
|
ref: s,
|
|
1421
1436
|
className: o,
|
|
@@ -1424,14 +1439,14 @@ const Lo = h(
|
|
|
1424
1439
|
);
|
|
1425
1440
|
}
|
|
1426
1441
|
);
|
|
1427
|
-
|
|
1428
|
-
const
|
|
1442
|
+
zo.displayName = "MenuDropdown";
|
|
1443
|
+
const Ro = h(
|
|
1429
1444
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1430
1445
|
const t = f(a, e), o = t;
|
|
1431
1446
|
e || delete o.color;
|
|
1432
1447
|
const n = o.className;
|
|
1433
1448
|
return /* @__PURE__ */ r(
|
|
1434
|
-
|
|
1449
|
+
K.Item,
|
|
1435
1450
|
{
|
|
1436
1451
|
ref: s,
|
|
1437
1452
|
className: n,
|
|
@@ -1440,12 +1455,12 @@ const Io = h(
|
|
|
1440
1455
|
);
|
|
1441
1456
|
}
|
|
1442
1457
|
);
|
|
1443
|
-
|
|
1444
|
-
const
|
|
1458
|
+
Ro.displayName = "MenuItem";
|
|
1459
|
+
const La = Y(Ro), ko = h(
|
|
1445
1460
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1446
1461
|
const t = f(a, e), o = t.className;
|
|
1447
1462
|
return /* @__PURE__ */ r(
|
|
1448
|
-
|
|
1463
|
+
K.Divider,
|
|
1449
1464
|
{
|
|
1450
1465
|
ref: s,
|
|
1451
1466
|
className: o,
|
|
@@ -1454,11 +1469,11 @@ const Sa = oe(Io), Oo = h(
|
|
|
1454
1469
|
);
|
|
1455
1470
|
}
|
|
1456
1471
|
);
|
|
1457
|
-
|
|
1458
|
-
const
|
|
1472
|
+
ko.displayName = "MenuDivider";
|
|
1473
|
+
const Mo = h(function({ overStyled: e = !1, ...a }, s) {
|
|
1459
1474
|
const t = f(a, e), o = t.className;
|
|
1460
1475
|
return /* @__PURE__ */ r(
|
|
1461
|
-
|
|
1476
|
+
K.Label,
|
|
1462
1477
|
{
|
|
1463
1478
|
ref: s,
|
|
1464
1479
|
className: o,
|
|
@@ -1466,22 +1481,22 @@ const zo = h(function({ overStyled: e = !1, ...a }, s) {
|
|
|
1466
1481
|
}
|
|
1467
1482
|
);
|
|
1468
1483
|
});
|
|
1469
|
-
|
|
1470
|
-
const
|
|
1471
|
-
return /* @__PURE__ */ r(
|
|
1484
|
+
Mo.displayName = "MenuLabel";
|
|
1485
|
+
const Bo = function(e) {
|
|
1486
|
+
return /* @__PURE__ */ r(K.Sub, { ...e });
|
|
1472
1487
|
};
|
|
1473
|
-
|
|
1474
|
-
const
|
|
1475
|
-
return /* @__PURE__ */ r(
|
|
1488
|
+
Bo.displayName = "MenuSub";
|
|
1489
|
+
const Fo = function(e) {
|
|
1490
|
+
return /* @__PURE__ */ r(K.Sub.Target, { ...e });
|
|
1476
1491
|
};
|
|
1477
|
-
|
|
1478
|
-
const
|
|
1492
|
+
Fo.displayName = "MenuSubTarget";
|
|
1493
|
+
const Eo = h(
|
|
1479
1494
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1480
1495
|
const t = f(a, e), o = t;
|
|
1481
1496
|
e || delete o.color;
|
|
1482
1497
|
const n = o.className;
|
|
1483
1498
|
return /* @__PURE__ */ r(
|
|
1484
|
-
|
|
1499
|
+
K.Sub.Item,
|
|
1485
1500
|
{
|
|
1486
1501
|
ref: s,
|
|
1487
1502
|
className: n,
|
|
@@ -1490,14 +1505,14 @@ const Mo = h(
|
|
|
1490
1505
|
);
|
|
1491
1506
|
}
|
|
1492
1507
|
);
|
|
1493
|
-
|
|
1494
|
-
const
|
|
1495
|
-
|
|
1496
|
-
),
|
|
1508
|
+
Eo.displayName = "MenuSubItem";
|
|
1509
|
+
const Ia = Y(
|
|
1510
|
+
Eo
|
|
1511
|
+
), jo = h(
|
|
1497
1512
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1498
1513
|
const t = f(a, e), o = t.className;
|
|
1499
1514
|
return /* @__PURE__ */ r(
|
|
1500
|
-
|
|
1515
|
+
K.Sub.Dropdown,
|
|
1501
1516
|
{
|
|
1502
1517
|
ref: s,
|
|
1503
1518
|
className: o,
|
|
@@ -1506,29 +1521,29 @@ const Aa = oe(
|
|
|
1506
1521
|
);
|
|
1507
1522
|
}
|
|
1508
1523
|
);
|
|
1509
|
-
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
const he =
|
|
1515
|
-
he.Target =
|
|
1516
|
-
he.Dropdown =
|
|
1517
|
-
he.Item =
|
|
1518
|
-
he.Divider =
|
|
1519
|
-
he.Label =
|
|
1520
|
-
he.Sub =
|
|
1521
|
-
const
|
|
1522
|
-
root:
|
|
1523
|
-
inner:
|
|
1524
|
-
content:
|
|
1525
|
-
header:
|
|
1526
|
-
title:
|
|
1527
|
-
bodyWrapper:
|
|
1528
|
-
scrollArea:
|
|
1529
|
-
footer:
|
|
1530
|
-
close:
|
|
1531
|
-
},
|
|
1524
|
+
jo.displayName = "MenuSubDropdown";
|
|
1525
|
+
const Fe = Bo;
|
|
1526
|
+
Fe.Target = Fo;
|
|
1527
|
+
Fe.Item = Ia;
|
|
1528
|
+
Fe.Dropdown = jo;
|
|
1529
|
+
const he = Io;
|
|
1530
|
+
he.Target = Oo;
|
|
1531
|
+
he.Dropdown = zo;
|
|
1532
|
+
he.Item = La;
|
|
1533
|
+
he.Divider = ko;
|
|
1534
|
+
he.Label = Mo;
|
|
1535
|
+
he.Sub = Fe;
|
|
1536
|
+
const Oa = "Modal-module__root___ytPLl", za = "Modal-module__inner___SSUJE", Ra = "Modal-module__content___dWO-B", ka = "Modal-module__header___ILG9i", Ma = "Modal-module__title___A5OeE recursica_brand_typography_h2", Ba = "Modal-module__bodyWrapper___5CCL-", Fa = "Modal-module__scrollArea___KD-hm recursica_brand_typography_body", Ea = "Modal-module__footer___rro2w", ja = "Modal-module__close___-ER1C", ee = {
|
|
1537
|
+
root: Oa,
|
|
1538
|
+
inner: za,
|
|
1539
|
+
content: Ra,
|
|
1540
|
+
header: ka,
|
|
1541
|
+
title: Ma,
|
|
1542
|
+
bodyWrapper: Ba,
|
|
1543
|
+
scrollArea: Fa,
|
|
1544
|
+
footer: Ea,
|
|
1545
|
+
close: ja
|
|
1546
|
+
}, Do = I.forwardRef(function({
|
|
1532
1547
|
overStyled: e = !1,
|
|
1533
1548
|
children: a,
|
|
1534
1549
|
title: s,
|
|
@@ -1539,20 +1554,20 @@ const Wa = "Modal-module__root___ytPLl", La = "Modal-module__inner___SSUJE", Ia
|
|
|
1539
1554
|
...c
|
|
1540
1555
|
}, d) {
|
|
1541
1556
|
const p = f(c, e), m = {
|
|
1542
|
-
root:
|
|
1543
|
-
inner:
|
|
1544
|
-
content:
|
|
1545
|
-
header:
|
|
1546
|
-
title:
|
|
1547
|
-
close:
|
|
1557
|
+
root: ee.root,
|
|
1558
|
+
inner: ee.inner,
|
|
1559
|
+
content: ee.content,
|
|
1560
|
+
header: ee.header,
|
|
1561
|
+
title: ee.title,
|
|
1562
|
+
close: ee.close
|
|
1548
1563
|
}, N = p.classNames;
|
|
1549
1564
|
if (N && typeof N == "object" && !Array.isArray(N)) {
|
|
1550
|
-
const
|
|
1551
|
-
Object.keys(
|
|
1552
|
-
m[
|
|
1565
|
+
const u = N;
|
|
1566
|
+
Object.keys(u).forEach((_) => {
|
|
1567
|
+
m[_] ? m[_] = `${m[_]} ${u[_]}` : m[_] = u[_];
|
|
1553
1568
|
});
|
|
1554
1569
|
}
|
|
1555
|
-
return /* @__PURE__ */
|
|
1570
|
+
return /* @__PURE__ */ R(
|
|
1556
1571
|
G.Root,
|
|
1557
1572
|
{
|
|
1558
1573
|
ref: d,
|
|
@@ -1560,53 +1575,53 @@ const Wa = "Modal-module__root___ytPLl", La = "Modal-module__inner___SSUJE", Ia
|
|
|
1560
1575
|
...p,
|
|
1561
1576
|
children: [
|
|
1562
1577
|
n && /* @__PURE__ */ r(G.Overlay, { ...o }),
|
|
1563
|
-
/* @__PURE__ */
|
|
1564
|
-
(s || t) && /* @__PURE__ */
|
|
1578
|
+
/* @__PURE__ */ R(G.Content, { children: [
|
|
1579
|
+
(s || t) && /* @__PURE__ */ R(G.Header, { children: [
|
|
1565
1580
|
s && /* @__PURE__ */ r(G.Title, { children: s }),
|
|
1566
1581
|
t && /* @__PURE__ */ r(G.CloseButton, { ...i })
|
|
1567
1582
|
] }),
|
|
1568
|
-
/* @__PURE__ */ r(
|
|
1583
|
+
/* @__PURE__ */ r(Xe, { children: a })
|
|
1569
1584
|
] })
|
|
1570
1585
|
]
|
|
1571
1586
|
}
|
|
1572
1587
|
);
|
|
1573
1588
|
});
|
|
1574
|
-
|
|
1575
|
-
const
|
|
1589
|
+
Do.displayName = "Modal";
|
|
1590
|
+
const Qe = I.forwardRef(function({ className: e, ...a }, s) {
|
|
1576
1591
|
return /* @__PURE__ */ r(
|
|
1577
1592
|
"div",
|
|
1578
1593
|
{
|
|
1579
1594
|
ref: s,
|
|
1580
|
-
className: `${
|
|
1595
|
+
className: `${ee.footer} ${e || ""}`,
|
|
1581
1596
|
...a
|
|
1582
1597
|
}
|
|
1583
1598
|
);
|
|
1584
1599
|
});
|
|
1585
|
-
|
|
1586
|
-
const
|
|
1587
|
-
const n =
|
|
1600
|
+
Qe.displayName = "Modal.Footer";
|
|
1601
|
+
const Xe = I.forwardRef(function({ className: e, onScroll: a, children: s, ...t }, o) {
|
|
1602
|
+
const n = I.useRef(null), [i, c] = I.useState(!1), [d, p] = I.useState(!1), m = I.useCallback(() => {
|
|
1588
1603
|
if (n.current) {
|
|
1589
|
-
const { scrollTop:
|
|
1590
|
-
c(
|
|
1604
|
+
const { scrollTop: y, scrollHeight: C, clientHeight: $ } = n.current;
|
|
1605
|
+
c(y > 0), p(Math.ceil(y + $) < C);
|
|
1591
1606
|
}
|
|
1592
1607
|
}, []);
|
|
1593
|
-
|
|
1594
|
-
const N = (
|
|
1595
|
-
m(), a == null || a(
|
|
1608
|
+
I.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), [m, s]);
|
|
1609
|
+
const N = (y) => {
|
|
1610
|
+
m(), a == null || a(y);
|
|
1596
1611
|
};
|
|
1597
|
-
let
|
|
1598
|
-
const
|
|
1599
|
-
return
|
|
1612
|
+
let u = null;
|
|
1613
|
+
const _ = [];
|
|
1614
|
+
return I.Children.forEach(s, (y) => {
|
|
1600
1615
|
var C;
|
|
1601
|
-
|
|
1602
|
-
}), /* @__PURE__ */
|
|
1616
|
+
I.isValidElement(y) && (y.type === Qe || ((C = y.type) == null ? void 0 : C.displayName) === "Modal.Footer") ? u = y : _.push(y);
|
|
1617
|
+
}), /* @__PURE__ */ R(
|
|
1603
1618
|
G.Body,
|
|
1604
1619
|
{
|
|
1605
1620
|
...t,
|
|
1606
|
-
ref: (
|
|
1607
|
-
typeof o == "function" ? o(
|
|
1621
|
+
ref: (y) => {
|
|
1622
|
+
typeof o == "function" ? o(y) : o && (o.current = y);
|
|
1608
1623
|
},
|
|
1609
|
-
className: `${
|
|
1624
|
+
className: `${ee.bodyWrapper} ${e || ""}`,
|
|
1610
1625
|
children: [
|
|
1611
1626
|
/* @__PURE__ */ r(
|
|
1612
1627
|
"div",
|
|
@@ -1615,32 +1630,32 @@ const Ke = L.forwardRef(function({ className: e, onScroll: a, children: s, ...t
|
|
|
1615
1630
|
onScroll: N,
|
|
1616
1631
|
"data-scrolled-top": i || void 0,
|
|
1617
1632
|
"data-scrolled-bottom": d || void 0,
|
|
1618
|
-
className:
|
|
1619
|
-
children:
|
|
1633
|
+
className: ee.scrollArea,
|
|
1634
|
+
children: _
|
|
1620
1635
|
}
|
|
1621
1636
|
),
|
|
1622
|
-
|
|
1637
|
+
u
|
|
1623
1638
|
]
|
|
1624
1639
|
}
|
|
1625
1640
|
);
|
|
1626
1641
|
});
|
|
1627
|
-
|
|
1628
|
-
const pe =
|
|
1642
|
+
Xe.displayName = "Modal.Body";
|
|
1643
|
+
const pe = Do;
|
|
1629
1644
|
pe.Root = G.Root;
|
|
1630
1645
|
pe.Overlay = G.Overlay;
|
|
1631
1646
|
pe.Content = G.Content;
|
|
1632
1647
|
pe.Header = G.Header;
|
|
1633
1648
|
pe.Title = G.Title;
|
|
1634
1649
|
pe.CloseButton = G.CloseButton;
|
|
1635
|
-
pe.Body =
|
|
1636
|
-
pe.Footer =
|
|
1637
|
-
const
|
|
1638
|
-
root:
|
|
1639
|
-
input:
|
|
1640
|
-
section:
|
|
1641
|
-
controls:
|
|
1642
|
-
control:
|
|
1643
|
-
},
|
|
1650
|
+
pe.Body = Xe;
|
|
1651
|
+
pe.Footer = Qe;
|
|
1652
|
+
const Da = "NumberInput-module__root___C6rAn", Va = "NumberInput-module__input___Ss8p7", Ga = "NumberInput-module__section___MijP0", qa = "NumberInput-module__controls___8UfQ2", Ha = "NumberInput-module__control___Qre9-", ge = {
|
|
1653
|
+
root: Da,
|
|
1654
|
+
input: Va,
|
|
1655
|
+
section: Ga,
|
|
1656
|
+
controls: qa,
|
|
1657
|
+
control: Ha
|
|
1658
|
+
}, Ua = h(
|
|
1644
1659
|
function(e, a) {
|
|
1645
1660
|
const {
|
|
1646
1661
|
overStyled: s = !1,
|
|
@@ -1654,35 +1669,35 @@ const Fa = "NumberInput-module__root___C6rAn", Ea = "NumberInput-module__input__
|
|
|
1654
1669
|
label: p,
|
|
1655
1670
|
assistiveText: m,
|
|
1656
1671
|
assistiveWithIcon: N,
|
|
1657
|
-
error:
|
|
1658
|
-
required:
|
|
1659
|
-
withAsterisk:
|
|
1672
|
+
error: u,
|
|
1673
|
+
required: _,
|
|
1674
|
+
withAsterisk: y,
|
|
1660
1675
|
id: C,
|
|
1661
1676
|
className: $,
|
|
1662
|
-
style:
|
|
1663
|
-
disabled:
|
|
1664
|
-
readOnly:
|
|
1677
|
+
style: P,
|
|
1678
|
+
disabled: b,
|
|
1679
|
+
readOnly: T,
|
|
1665
1680
|
readOnlyComponent: v,
|
|
1666
|
-
emptyValueComponent:
|
|
1667
|
-
value:
|
|
1668
|
-
defaultValue:
|
|
1669
|
-
hideControls:
|
|
1670
|
-
...
|
|
1671
|
-
} = e,
|
|
1672
|
-
delete
|
|
1673
|
-
const
|
|
1674
|
-
wrapper:
|
|
1681
|
+
emptyValueComponent: k,
|
|
1682
|
+
value: S,
|
|
1683
|
+
defaultValue: w,
|
|
1684
|
+
hideControls: A = !1,
|
|
1685
|
+
...B
|
|
1686
|
+
} = e, L = f(B, s), x = L;
|
|
1687
|
+
delete x.size, delete x.variant, delete x.radius;
|
|
1688
|
+
const g = {
|
|
1689
|
+
wrapper: ge.root,
|
|
1675
1690
|
// The nested Input internal relative wrapper bounding box
|
|
1676
|
-
input:
|
|
1677
|
-
section:
|
|
1678
|
-
controls:
|
|
1679
|
-
control:
|
|
1691
|
+
input: ge.input,
|
|
1692
|
+
section: ge.section,
|
|
1693
|
+
controls: ge.controls,
|
|
1694
|
+
control: ge.control
|
|
1680
1695
|
};
|
|
1681
1696
|
return /* @__PURE__ */ r(
|
|
1682
1697
|
de,
|
|
1683
1698
|
{
|
|
1684
1699
|
className: $,
|
|
1685
|
-
style:
|
|
1700
|
+
style: P,
|
|
1686
1701
|
controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
|
|
1687
1702
|
controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
|
|
1688
1703
|
overStyled: s,
|
|
@@ -1695,39 +1710,39 @@ const Fa = "NumberInput-module__root___C6rAn", Ea = "NumberInput-module__input__
|
|
|
1695
1710
|
label: p,
|
|
1696
1711
|
assistiveText: m,
|
|
1697
1712
|
assistiveWithIcon: N,
|
|
1698
|
-
error:
|
|
1699
|
-
required:
|
|
1700
|
-
withAsterisk:
|
|
1713
|
+
error: u,
|
|
1714
|
+
required: _,
|
|
1715
|
+
withAsterisk: y,
|
|
1701
1716
|
id: C,
|
|
1702
|
-
readOnly:
|
|
1717
|
+
readOnly: T,
|
|
1703
1718
|
readOnlyComponent: v,
|
|
1704
|
-
emptyValueComponent:
|
|
1719
|
+
emptyValueComponent: k,
|
|
1705
1720
|
readOnlyType: "text",
|
|
1706
|
-
readOnlyValue:
|
|
1721
|
+
readOnlyValue: S !== void 0 ? S == null ? void 0 : S.toString() : w == null ? void 0 : w.toString(),
|
|
1707
1722
|
readOnlyNativeProps: e,
|
|
1708
1723
|
activeComponent: (
|
|
1709
1724
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1710
1725
|
/* @__PURE__ */ r(
|
|
1711
|
-
|
|
1726
|
+
Mt,
|
|
1712
1727
|
{
|
|
1713
1728
|
ref: a,
|
|
1714
|
-
classNames:
|
|
1715
|
-
disabled:
|
|
1716
|
-
value:
|
|
1717
|
-
defaultValue:
|
|
1718
|
-
hideControls:
|
|
1729
|
+
classNames: g,
|
|
1730
|
+
disabled: b,
|
|
1731
|
+
value: S,
|
|
1732
|
+
defaultValue: w,
|
|
1733
|
+
hideControls: A,
|
|
1719
1734
|
label: void 0,
|
|
1720
1735
|
description: void 0,
|
|
1721
1736
|
error: void 0,
|
|
1722
1737
|
required: void 0,
|
|
1723
1738
|
withAsterisk: void 0,
|
|
1724
1739
|
wrapperProps: {
|
|
1725
|
-
"data-disabled":
|
|
1726
|
-
"data-error":
|
|
1727
|
-
"data-with-left-section":
|
|
1728
|
-
"data-with-right-section":
|
|
1740
|
+
"data-disabled": b ? "true" : void 0,
|
|
1741
|
+
"data-error": u ? "true" : void 0,
|
|
1742
|
+
"data-with-left-section": x.leftSection ? "true" : void 0,
|
|
1743
|
+
"data-with-right-section": x.rightSection || !A ? "true" : void 0
|
|
1729
1744
|
},
|
|
1730
|
-
...
|
|
1745
|
+
...L
|
|
1731
1746
|
}
|
|
1732
1747
|
)
|
|
1733
1748
|
)
|
|
@@ -1735,18 +1750,18 @@ const Fa = "NumberInput-module__root___C6rAn", Ea = "NumberInput-module__input__
|
|
|
1735
1750
|
);
|
|
1736
1751
|
}
|
|
1737
1752
|
);
|
|
1738
|
-
|
|
1739
|
-
const
|
|
1740
|
-
root:
|
|
1741
|
-
control:
|
|
1742
|
-
dots:
|
|
1743
|
-
iconWithLabel:
|
|
1744
|
-
baseIcon:
|
|
1745
|
-
},
|
|
1746
|
-
next:
|
|
1747
|
-
prev:
|
|
1748
|
-
first:
|
|
1749
|
-
last:
|
|
1753
|
+
Ua.displayName = "NumberInput";
|
|
1754
|
+
const Za = "Pagination-module__root___ITRjt", Ya = "Pagination-module__control___40yNT", Ka = "Pagination-module__dots___Yl9da", Qa = "Pagination-module__iconWithLabel___pLM4O", Xa = "Pagination-module__baseIcon___Qw3bJ", F = {
|
|
1755
|
+
root: Za,
|
|
1756
|
+
control: Ya,
|
|
1757
|
+
dots: Ka,
|
|
1758
|
+
iconWithLabel: Qa,
|
|
1759
|
+
baseIcon: Xa
|
|
1760
|
+
}, Ja = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", er = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", or = "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", tr = "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", sr = {
|
|
1761
|
+
next: Ja,
|
|
1762
|
+
prev: er,
|
|
1763
|
+
first: or,
|
|
1764
|
+
last: tr
|
|
1750
1765
|
}, Te = ({
|
|
1751
1766
|
type: l,
|
|
1752
1767
|
className: e,
|
|
@@ -1758,22 +1773,22 @@ const qa = "Pagination-module__root___ITRjt", Ha = "Pagination-module__control__
|
|
|
1758
1773
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1759
1774
|
className: `${F.baseIcon} ${e || ""}`.trim(),
|
|
1760
1775
|
...a,
|
|
1761
|
-
children: /* @__PURE__ */ r("path", { d:
|
|
1776
|
+
children: /* @__PURE__ */ r("path", { d: sr[l], fill: "currentColor" })
|
|
1762
1777
|
}
|
|
1763
|
-
),
|
|
1778
|
+
), Vo = (l) => /* @__PURE__ */ R("div", { className: F.iconWithLabel, children: [
|
|
1764
1779
|
/* @__PURE__ */ r("span", { children: "Next" }),
|
|
1765
1780
|
/* @__PURE__ */ r(Te, { type: "next", ...l })
|
|
1766
|
-
] }),
|
|
1781
|
+
] }), Go = (l) => /* @__PURE__ */ R("div", { className: F.iconWithLabel, children: [
|
|
1767
1782
|
/* @__PURE__ */ r(Te, { type: "prev", ...l }),
|
|
1768
1783
|
/* @__PURE__ */ r("span", { children: "Prev" })
|
|
1769
|
-
] }),
|
|
1784
|
+
] }), qo = (l) => /* @__PURE__ */ R("div", { className: F.iconWithLabel, children: [
|
|
1770
1785
|
/* @__PURE__ */ r(Te, { type: "first", ...l }),
|
|
1771
1786
|
/* @__PURE__ */ r("span", { children: "First" })
|
|
1772
|
-
] }),
|
|
1787
|
+
] }), Ho = (l) => /* @__PURE__ */ R("div", { className: F.iconWithLabel, children: [
|
|
1773
1788
|
/* @__PURE__ */ r("span", { children: "Last" }),
|
|
1774
1789
|
/* @__PURE__ */ r(Te, { type: "last", ...l })
|
|
1775
1790
|
] });
|
|
1776
|
-
function
|
|
1791
|
+
function Uo(l) {
|
|
1777
1792
|
const e = {
|
|
1778
1793
|
root: F.root,
|
|
1779
1794
|
control: F.control,
|
|
@@ -1786,9 +1801,9 @@ function Go(l) {
|
|
|
1786
1801
|
const s = l.className;
|
|
1787
1802
|
return { className: s ? `${F.root} ${s}` : F.root, classNames: e };
|
|
1788
1803
|
}
|
|
1789
|
-
const
|
|
1804
|
+
const Zo = h(
|
|
1790
1805
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1791
|
-
const t = f(a, e), o =
|
|
1806
|
+
const t = f(a, e), o = Uo(
|
|
1792
1807
|
t
|
|
1793
1808
|
);
|
|
1794
1809
|
return /* @__PURE__ */ r(
|
|
@@ -1802,9 +1817,9 @@ const qo = h(
|
|
|
1802
1817
|
);
|
|
1803
1818
|
}
|
|
1804
1819
|
);
|
|
1805
|
-
|
|
1806
|
-
const
|
|
1807
|
-
const o = a || (e ?
|
|
1820
|
+
Zo.displayName = "Pagination.Root";
|
|
1821
|
+
const Yo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1822
|
+
const o = a || (e ? Vo : void 0);
|
|
1808
1823
|
return /* @__PURE__ */ r(
|
|
1809
1824
|
te.Next,
|
|
1810
1825
|
{
|
|
@@ -1815,9 +1830,9 @@ const Ho = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1815
1830
|
}
|
|
1816
1831
|
);
|
|
1817
1832
|
});
|
|
1818
|
-
|
|
1819
|
-
const
|
|
1820
|
-
const o = a || (e ?
|
|
1833
|
+
Yo.displayName = "Pagination.Next";
|
|
1834
|
+
const Ko = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1835
|
+
const o = a || (e ? Go : void 0);
|
|
1821
1836
|
return /* @__PURE__ */ r(
|
|
1822
1837
|
te.Previous,
|
|
1823
1838
|
{
|
|
@@ -1828,9 +1843,9 @@ const Uo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1828
1843
|
}
|
|
1829
1844
|
);
|
|
1830
1845
|
});
|
|
1831
|
-
|
|
1832
|
-
const
|
|
1833
|
-
const o = a || (e ?
|
|
1846
|
+
Ko.displayName = "Pagination.Previous";
|
|
1847
|
+
const Qo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1848
|
+
const o = a || (e ? qo : void 0);
|
|
1834
1849
|
return /* @__PURE__ */ r(
|
|
1835
1850
|
te.First,
|
|
1836
1851
|
{
|
|
@@ -1841,9 +1856,9 @@ const Zo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1841
1856
|
}
|
|
1842
1857
|
);
|
|
1843
1858
|
});
|
|
1844
|
-
|
|
1845
|
-
const
|
|
1846
|
-
const o = a || (e ?
|
|
1859
|
+
Qo.displayName = "Pagination.First";
|
|
1860
|
+
const Xo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
1861
|
+
const o = a || (e ? Ho : void 0);
|
|
1847
1862
|
return /* @__PURE__ */ r(
|
|
1848
1863
|
te.Last,
|
|
1849
1864
|
{
|
|
@@ -1854,19 +1869,19 @@ const Yo = h(function({ withLabel: e, icon: a, ...s }, t) {
|
|
|
1854
1869
|
}
|
|
1855
1870
|
);
|
|
1856
1871
|
});
|
|
1857
|
-
|
|
1858
|
-
const
|
|
1872
|
+
Xo.displayName = "Pagination.Last";
|
|
1873
|
+
const Jo = h(
|
|
1859
1874
|
function({ overStyled: e = !1, getControlProps: a, withLabels: s, ...t }, o) {
|
|
1860
|
-
const n = f(t, e), i =
|
|
1875
|
+
const n = f(t, e), i = Uo(
|
|
1861
1876
|
n
|
|
1862
1877
|
), c = (p) => {
|
|
1863
1878
|
const m = { "data-variant": "text" };
|
|
1864
1879
|
return a ? { ...m, ...a(p) } : m;
|
|
1865
1880
|
}, d = s ? {
|
|
1866
|
-
nextIcon:
|
|
1867
|
-
previousIcon:
|
|
1868
|
-
firstIcon:
|
|
1869
|
-
lastIcon:
|
|
1881
|
+
nextIcon: Vo,
|
|
1882
|
+
previousIcon: Go,
|
|
1883
|
+
firstIcon: qo,
|
|
1884
|
+
lastIcon: Ho
|
|
1870
1885
|
} : {};
|
|
1871
1886
|
return /* @__PURE__ */ r(
|
|
1872
1887
|
te,
|
|
@@ -1881,26 +1896,26 @@ const Ko = h(
|
|
|
1881
1896
|
);
|
|
1882
1897
|
}
|
|
1883
1898
|
);
|
|
1884
|
-
|
|
1885
|
-
const ae =
|
|
1886
|
-
ae.Root =
|
|
1899
|
+
Jo.displayName = "Pagination";
|
|
1900
|
+
const ae = Jo;
|
|
1901
|
+
ae.Root = Zo;
|
|
1887
1902
|
ae.Items = te.Items;
|
|
1888
1903
|
ae.Control = te.Control;
|
|
1889
1904
|
ae.Dots = te.Dots;
|
|
1890
|
-
ae.Next =
|
|
1891
|
-
ae.Previous =
|
|
1892
|
-
ae.First =
|
|
1893
|
-
ae.Last =
|
|
1905
|
+
ae.Next = Yo;
|
|
1906
|
+
ae.Previous = Ko;
|
|
1907
|
+
ae.First = Qo;
|
|
1908
|
+
ae.Last = Xo;
|
|
1894
1909
|
ae.Icon = Te;
|
|
1895
|
-
const
|
|
1896
|
-
content:
|
|
1897
|
-
inner:
|
|
1898
|
-
header:
|
|
1899
|
-
title:
|
|
1900
|
-
titleTruncate:
|
|
1901
|
-
body:
|
|
1902
|
-
footer:
|
|
1903
|
-
},
|
|
1910
|
+
const ar = "Panel-module__content___wdGo-", rr = "Panel-module__inner___ruA2b", nr = "Panel-module__header___o7SiC", lr = "Panel-module__title___181OP recursica_brand_typography_h3", ir = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP recursica_brand_typography_h3", cr = "Panel-module__body___SEC3T", dr = "Panel-module__footer___t6-hz", ie = {
|
|
1911
|
+
content: ar,
|
|
1912
|
+
inner: rr,
|
|
1913
|
+
header: nr,
|
|
1914
|
+
title: lr,
|
|
1915
|
+
titleTruncate: ir,
|
|
1916
|
+
body: cr,
|
|
1917
|
+
footer: dr
|
|
1918
|
+
}, et = function({
|
|
1904
1919
|
overStyled: e = !1,
|
|
1905
1920
|
position: a = "right",
|
|
1906
1921
|
keepMounted: s = !0,
|
|
@@ -1931,15 +1946,15 @@ const or = "Panel-module__content___wdGo-", tr = "Panel-module__inner___ruA2b",
|
|
|
1931
1946
|
}
|
|
1932
1947
|
);
|
|
1933
1948
|
};
|
|
1934
|
-
|
|
1935
|
-
const
|
|
1949
|
+
et.displayName = "Panel";
|
|
1950
|
+
const ot = h(
|
|
1936
1951
|
function({ overStyled: e = !1, ...a }, s) {
|
|
1937
1952
|
const t = f(a, e), o = t.className, n = o ? `${ie.footer} ${o}` : ie.footer;
|
|
1938
1953
|
return /* @__PURE__ */ r("div", { ref: s, className: n, ...t });
|
|
1939
1954
|
}
|
|
1940
1955
|
);
|
|
1941
|
-
|
|
1942
|
-
const re =
|
|
1956
|
+
ot.displayName = "PanelFooter";
|
|
1957
|
+
const re = et;
|
|
1943
1958
|
re.Root = se.Root;
|
|
1944
1959
|
re.Overlay = se.Overlay;
|
|
1945
1960
|
re.Content = se.Content;
|
|
@@ -1948,18 +1963,18 @@ re.Title = se.Title;
|
|
|
1948
1963
|
re.CloseButton = se.CloseButton;
|
|
1949
1964
|
re.Body = se.Body;
|
|
1950
1965
|
re.Stack = se.Stack;
|
|
1951
|
-
re.Footer =
|
|
1952
|
-
const
|
|
1953
|
-
dropdown:
|
|
1954
|
-
arrow:
|
|
1955
|
-
},
|
|
1966
|
+
re.Footer = ot;
|
|
1967
|
+
const pr = "Popover-module__dropdown___svhS6", mr = "Popover-module__arrow___5A-0e", to = {
|
|
1968
|
+
dropdown: pr,
|
|
1969
|
+
arrow: mr
|
|
1970
|
+
}, tt = function({
|
|
1956
1971
|
overStyled: e = !1,
|
|
1957
1972
|
withBeak: a = !0,
|
|
1958
1973
|
...s
|
|
1959
1974
|
}) {
|
|
1960
1975
|
const t = f(s, e), o = {
|
|
1961
|
-
dropdown:
|
|
1962
|
-
arrow:
|
|
1976
|
+
dropdown: to.dropdown,
|
|
1977
|
+
arrow: to.arrow
|
|
1963
1978
|
}, n = t.classNames;
|
|
1964
1979
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
1965
1980
|
const p = n;
|
|
@@ -1969,7 +1984,7 @@ const ir = "Popover-module__dropdown___svhS6", cr = "Popover-module__arrow___5A-
|
|
|
1969
1984
|
}
|
|
1970
1985
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1971
1986
|
return /* @__PURE__ */ r(
|
|
1972
|
-
|
|
1987
|
+
qe,
|
|
1973
1988
|
{
|
|
1974
1989
|
position: "top",
|
|
1975
1990
|
arrowSize: i,
|
|
@@ -1979,38 +1994,38 @@ const ir = "Popover-module__dropdown___svhS6", cr = "Popover-module__arrow___5A-
|
|
|
1979
1994
|
}
|
|
1980
1995
|
);
|
|
1981
1996
|
};
|
|
1982
|
-
|
|
1983
|
-
const
|
|
1984
|
-
return /* @__PURE__ */ r(
|
|
1997
|
+
tt.displayName = "Popover";
|
|
1998
|
+
const st = function(e) {
|
|
1999
|
+
return /* @__PURE__ */ r(qe.Target, { ...e });
|
|
1985
2000
|
};
|
|
1986
|
-
|
|
1987
|
-
const
|
|
2001
|
+
st.displayName = "PopoverTarget";
|
|
2002
|
+
const at = function({
|
|
1988
2003
|
overStyled: e = !1,
|
|
1989
2004
|
...a
|
|
1990
2005
|
}) {
|
|
1991
2006
|
const s = f(a, e), t = s.className;
|
|
1992
2007
|
return /* @__PURE__ */ r(
|
|
1993
|
-
|
|
2008
|
+
qe.Dropdown,
|
|
1994
2009
|
{
|
|
1995
2010
|
className: t,
|
|
1996
2011
|
...s
|
|
1997
2012
|
}
|
|
1998
2013
|
);
|
|
1999
2014
|
};
|
|
2000
|
-
|
|
2001
|
-
const
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
const
|
|
2005
|
-
groupRoot:
|
|
2006
|
-
root:
|
|
2007
|
-
body:
|
|
2008
|
-
inner:
|
|
2009
|
-
radio:
|
|
2010
|
-
icon:
|
|
2011
|
-
labelWrapper:
|
|
2012
|
-
label:
|
|
2013
|
-
},
|
|
2015
|
+
at.displayName = "PopoverDropdown";
|
|
2016
|
+
const rt = tt;
|
|
2017
|
+
rt.Target = st;
|
|
2018
|
+
rt.Dropdown = at;
|
|
2019
|
+
const _r = "Radio-module__groupRoot___bfUii", ur = "Radio-module__root___kAjTD", br = "Radio-module__body___q2Wpj", yr = "Radio-module__inner___QaTBB", fr = "Radio-module__radio___MfgN-", Nr = "Radio-module__icon___DWznm", hr = "Radio-module__labelWrapper___dB0Gi", $r = "Radio-module__label___vAFIP", z = {
|
|
2020
|
+
groupRoot: _r,
|
|
2021
|
+
root: ur,
|
|
2022
|
+
body: br,
|
|
2023
|
+
inner: yr,
|
|
2024
|
+
radio: fr,
|
|
2025
|
+
icon: Nr,
|
|
2026
|
+
labelWrapper: hr,
|
|
2027
|
+
label: $r
|
|
2028
|
+
}, nt = h(
|
|
2014
2029
|
function(e, a) {
|
|
2015
2030
|
const {
|
|
2016
2031
|
overStyled: s = !1,
|
|
@@ -2025,26 +2040,26 @@ const dr = "Radio-module__groupRoot___bfUii", pr = "Radio-module__root___kAjTD",
|
|
|
2025
2040
|
label: p,
|
|
2026
2041
|
description: m,
|
|
2027
2042
|
assistiveText: N,
|
|
2028
|
-
assistiveWithIcon:
|
|
2029
|
-
error:
|
|
2030
|
-
required:
|
|
2043
|
+
assistiveWithIcon: u,
|
|
2044
|
+
error: _,
|
|
2045
|
+
required: y,
|
|
2031
2046
|
withAsterisk: C,
|
|
2032
2047
|
id: $,
|
|
2033
|
-
className:
|
|
2034
|
-
style:
|
|
2035
|
-
children:
|
|
2048
|
+
className: P,
|
|
2049
|
+
style: b,
|
|
2050
|
+
children: T,
|
|
2036
2051
|
readOnly: v,
|
|
2037
|
-
readOnlyComponent:
|
|
2038
|
-
emptyValueComponent:
|
|
2039
|
-
value:
|
|
2040
|
-
defaultValue:
|
|
2041
|
-
...
|
|
2042
|
-
} = e,
|
|
2043
|
-
return delete
|
|
2052
|
+
readOnlyComponent: k,
|
|
2053
|
+
emptyValueComponent: S,
|
|
2054
|
+
value: w,
|
|
2055
|
+
defaultValue: A,
|
|
2056
|
+
...B
|
|
2057
|
+
} = e, L = f(B, s), x = L;
|
|
2058
|
+
return delete x.size, /* @__PURE__ */ r(
|
|
2044
2059
|
de,
|
|
2045
2060
|
{
|
|
2046
|
-
className:
|
|
2047
|
-
style:
|
|
2061
|
+
className: P,
|
|
2062
|
+
style: b,
|
|
2048
2063
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
2049
2064
|
controlMinWidth: void 0,
|
|
2050
2065
|
overStyled: s,
|
|
@@ -2058,36 +2073,36 @@ const dr = "Radio-module__groupRoot___bfUii", pr = "Radio-module__root___kAjTD",
|
|
|
2058
2073
|
label: p,
|
|
2059
2074
|
description: m,
|
|
2060
2075
|
assistiveText: N,
|
|
2061
|
-
assistiveWithIcon:
|
|
2062
|
-
error:
|
|
2063
|
-
required:
|
|
2076
|
+
assistiveWithIcon: u,
|
|
2077
|
+
error: _,
|
|
2078
|
+
required: y,
|
|
2064
2079
|
withAsterisk: C,
|
|
2065
2080
|
id: $,
|
|
2066
|
-
readOnly: v && !!
|
|
2067
|
-
readOnlyComponent:
|
|
2068
|
-
emptyValueComponent:
|
|
2081
|
+
readOnly: v && !!k,
|
|
2082
|
+
readOnlyComponent: k,
|
|
2083
|
+
emptyValueComponent: S,
|
|
2069
2084
|
readOnlyType: "text",
|
|
2070
|
-
readOnlyValue:
|
|
2085
|
+
readOnlyValue: w !== void 0 ? w : A,
|
|
2071
2086
|
readOnlyNativeProps: e,
|
|
2072
2087
|
activeComponent: /* @__PURE__ */ r(
|
|
2073
|
-
|
|
2088
|
+
no.Group,
|
|
2074
2089
|
{
|
|
2075
2090
|
ref: a,
|
|
2076
|
-
...
|
|
2077
|
-
disabled: v ||
|
|
2078
|
-
value:
|
|
2079
|
-
defaultValue:
|
|
2080
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
2081
|
-
disabled: v ||
|
|
2082
|
-
}) :
|
|
2091
|
+
...L,
|
|
2092
|
+
disabled: v || x.disabled,
|
|
2093
|
+
value: w,
|
|
2094
|
+
defaultValue: A,
|
|
2095
|
+
children: /* @__PURE__ */ r("div", { className: z.groupRoot, "data-layout": t, children: I.Children.map(T, (g) => I.isValidElement(g) ? I.cloneElement(g, {
|
|
2096
|
+
disabled: v || g.props.disabled
|
|
2097
|
+
}) : g) })
|
|
2083
2098
|
}
|
|
2084
2099
|
)
|
|
2085
2100
|
}
|
|
2086
2101
|
);
|
|
2087
2102
|
}
|
|
2088
2103
|
);
|
|
2089
|
-
|
|
2090
|
-
const
|
|
2104
|
+
nt.displayName = "RadioGroup";
|
|
2105
|
+
const vr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
2091
2106
|
"svg",
|
|
2092
2107
|
{
|
|
2093
2108
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2097,7 +2112,7 @@ const Nr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2097
2112
|
style: e,
|
|
2098
2113
|
children: /* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "5" })
|
|
2099
2114
|
}
|
|
2100
|
-
),
|
|
2115
|
+
), lt = h(
|
|
2101
2116
|
function(e, a) {
|
|
2102
2117
|
const {
|
|
2103
2118
|
overStyled: s = !1,
|
|
@@ -2109,29 +2124,29 @@ const Nr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2109
2124
|
controlMaxWidth: d,
|
|
2110
2125
|
controlMinWidth: p,
|
|
2111
2126
|
...m
|
|
2112
|
-
} = e, N = f(m, s),
|
|
2113
|
-
delete
|
|
2114
|
-
const
|
|
2115
|
-
root:
|
|
2116
|
-
body:
|
|
2117
|
-
inner:
|
|
2118
|
-
radio:
|
|
2119
|
-
icon:
|
|
2120
|
-
labelWrapper:
|
|
2121
|
-
label:
|
|
2122
|
-
},
|
|
2123
|
-
if (
|
|
2124
|
-
const
|
|
2125
|
-
|
|
2127
|
+
} = e, N = f(m, s), u = N;
|
|
2128
|
+
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
2129
|
+
const _ = {
|
|
2130
|
+
root: z.root,
|
|
2131
|
+
body: z.body,
|
|
2132
|
+
inner: z.inner,
|
|
2133
|
+
radio: z.radio,
|
|
2134
|
+
icon: z.icon,
|
|
2135
|
+
labelWrapper: z.labelWrapper,
|
|
2136
|
+
label: z.label
|
|
2137
|
+
}, y = u.classNames;
|
|
2138
|
+
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
2139
|
+
const b = y;
|
|
2140
|
+
_.root = b.root ? `${z.root} ${b.root}` : z.root, _.body = b.body ? `${z.body} ${b.body}` : z.body, _.inner = b.inner ? `${z.inner} ${b.inner}` : z.inner, _.radio = b.radio ? `${z.radio} ${b.radio}` : z.radio, _.icon = b.icon ? `${z.icon} ${b.icon}` : z.icon, _.labelWrapper = b.labelWrapper ? `${z.labelWrapper} ${b.labelWrapper}` : z.labelWrapper, _.label = b.label ? `${z.label} ${b.label}` : z.label;
|
|
2126
2141
|
}
|
|
2127
|
-
const C =
|
|
2142
|
+
const C = u.className, $ = C ? `${z.root} ${C}` : z.root;
|
|
2128
2143
|
if (t && o) {
|
|
2129
|
-
const
|
|
2144
|
+
const b = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ r(
|
|
2130
2145
|
o,
|
|
2131
2146
|
{
|
|
2132
2147
|
...e,
|
|
2133
|
-
checked:
|
|
2134
|
-
label:
|
|
2148
|
+
checked: b,
|
|
2149
|
+
label: u.label
|
|
2135
2150
|
}
|
|
2136
2151
|
);
|
|
2137
2152
|
return i ? /* @__PURE__ */ r(
|
|
@@ -2145,13 +2160,13 @@ const Nr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2145
2160
|
}
|
|
2146
2161
|
) : /* @__PURE__ */ r(Ne, { children: v });
|
|
2147
2162
|
}
|
|
2148
|
-
const
|
|
2149
|
-
|
|
2163
|
+
const P = /* @__PURE__ */ r(
|
|
2164
|
+
no,
|
|
2150
2165
|
{
|
|
2151
2166
|
ref: a,
|
|
2152
|
-
icon:
|
|
2167
|
+
icon: vr,
|
|
2153
2168
|
className: $,
|
|
2154
|
-
classNames:
|
|
2169
|
+
classNames: _,
|
|
2155
2170
|
disabled: t || n,
|
|
2156
2171
|
...N
|
|
2157
2172
|
}
|
|
@@ -2163,21 +2178,21 @@ const Nr = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2163
2178
|
labelSize: c,
|
|
2164
2179
|
controlMaxWidth: d,
|
|
2165
2180
|
controlMinWidth: p,
|
|
2166
|
-
children:
|
|
2181
|
+
children: P
|
|
2167
2182
|
}
|
|
2168
|
-
) :
|
|
2183
|
+
) : P;
|
|
2169
2184
|
}
|
|
2170
2185
|
);
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
const
|
|
2174
|
-
|
|
2186
|
+
lt.displayName = "Radio";
|
|
2187
|
+
lt.Group = nt;
|
|
2188
|
+
const Cr = ({ checked: l, label: e }) => /* @__PURE__ */ R(
|
|
2189
|
+
Ve,
|
|
2175
2190
|
{
|
|
2176
2191
|
component: "span",
|
|
2177
|
-
className:
|
|
2192
|
+
className: ze.textField,
|
|
2178
2193
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
2179
2194
|
children: [
|
|
2180
|
-
e && /* @__PURE__ */
|
|
2195
|
+
e && /* @__PURE__ */ R("span", { style: { fontWeight: 500 }, children: [
|
|
2181
2196
|
e,
|
|
2182
2197
|
":"
|
|
2183
2198
|
] }),
|
|
@@ -2185,15 +2200,15 @@ const hr = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
|
2185
2200
|
]
|
|
2186
2201
|
}
|
|
2187
2202
|
);
|
|
2188
|
-
|
|
2189
|
-
const
|
|
2190
|
-
|
|
2203
|
+
Cr.displayName = "ReadOnlySwitchField";
|
|
2204
|
+
const Pr = ({ checked: l, label: e }) => /* @__PURE__ */ R(
|
|
2205
|
+
Ve,
|
|
2191
2206
|
{
|
|
2192
2207
|
component: "span",
|
|
2193
|
-
className:
|
|
2208
|
+
className: ze.textField,
|
|
2194
2209
|
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
2195
2210
|
children: [
|
|
2196
|
-
e && /* @__PURE__ */
|
|
2211
|
+
e && /* @__PURE__ */ R("span", { style: { fontWeight: 500 }, children: [
|
|
2197
2212
|
e,
|
|
2198
2213
|
":"
|
|
2199
2214
|
] }),
|
|
@@ -2201,14 +2216,14 @@ const $r = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
|
2201
2216
|
]
|
|
2202
2217
|
}
|
|
2203
2218
|
);
|
|
2204
|
-
|
|
2205
|
-
const
|
|
2206
|
-
root:
|
|
2207
|
-
label:
|
|
2208
|
-
control:
|
|
2209
|
-
indicator:
|
|
2219
|
+
Pr.displayName = "ReadOnlyBooleanField";
|
|
2220
|
+
const gr = "SegmentedControl-module__root___JFRhg", wr = "SegmentedControl-module__label___mS17q", Tr = "SegmentedControl-module__control___znOdQ", xr = "SegmentedControl-module__indicator___ZMcJy", V = {
|
|
2221
|
+
root: gr,
|
|
2222
|
+
label: wr,
|
|
2223
|
+
control: Tr,
|
|
2224
|
+
indicator: xr
|
|
2210
2225
|
};
|
|
2211
|
-
function
|
|
2226
|
+
function Sr(l) {
|
|
2212
2227
|
const e = {
|
|
2213
2228
|
root: V.root,
|
|
2214
2229
|
control: V.control,
|
|
@@ -2222,13 +2237,13 @@ function wr(l) {
|
|
|
2222
2237
|
const s = l.className;
|
|
2223
2238
|
return { className: s ? `${V.root} ${s}` : V.root, classNames: e };
|
|
2224
2239
|
}
|
|
2225
|
-
const
|
|
2240
|
+
const it = h(
|
|
2226
2241
|
function({ overStyled: e = !1, orientation: a = "horizontal", fullWidth: s, ...t }, o) {
|
|
2227
|
-
const n = f(t, e), i =
|
|
2242
|
+
const n = f(t, e), i = Sr(
|
|
2228
2243
|
n
|
|
2229
2244
|
);
|
|
2230
2245
|
return /* @__PURE__ */ r(
|
|
2231
|
-
|
|
2246
|
+
Bt,
|
|
2232
2247
|
{
|
|
2233
2248
|
ref: o,
|
|
2234
2249
|
className: i.className,
|
|
@@ -2241,10 +2256,10 @@ const rt = h(
|
|
|
2241
2256
|
);
|
|
2242
2257
|
}
|
|
2243
2258
|
);
|
|
2244
|
-
|
|
2245
|
-
const
|
|
2246
|
-
root:
|
|
2247
|
-
},
|
|
2259
|
+
it.displayName = "SegmentedControl";
|
|
2260
|
+
const Hn = it, Un = (l) => /* @__PURE__ */ r("div", { ...l, children: "Slider" }), Ar = "Stack-module__root___NUN-x", we = {
|
|
2261
|
+
root: Ar
|
|
2262
|
+
}, ct = h(function({ children: e, gap: a = "rec-default", ...s }, t) {
|
|
2248
2263
|
const o = {
|
|
2249
2264
|
root: we.root
|
|
2250
2265
|
}, n = s.classNames;
|
|
@@ -2254,35 +2269,34 @@ const Gn = rt, qn = (l) => /* @__PURE__ */ r("div", { ...l, children: "Slider" }
|
|
|
2254
2269
|
}
|
|
2255
2270
|
const i = s.className, c = i ? `${we.root} ${i}` : we.root;
|
|
2256
2271
|
return /* @__PURE__ */ r(
|
|
2257
|
-
|
|
2272
|
+
Ft,
|
|
2258
2273
|
{
|
|
2259
2274
|
ref: t,
|
|
2260
2275
|
className: c,
|
|
2261
2276
|
classNames: o,
|
|
2262
|
-
gap: a,
|
|
2263
|
-
...s,
|
|
2277
|
+
...Ue({ gap: a, ...s }),
|
|
2264
2278
|
children: e
|
|
2265
2279
|
}
|
|
2266
2280
|
);
|
|
2267
2281
|
});
|
|
2268
|
-
|
|
2269
|
-
const
|
|
2270
|
-
root:
|
|
2271
|
-
horizontal:
|
|
2272
|
-
steps:
|
|
2273
|
-
step:
|
|
2274
|
-
stepBody:
|
|
2275
|
-
stepLabel:
|
|
2276
|
-
stepDescription:
|
|
2277
|
-
separator:
|
|
2278
|
-
vertical:
|
|
2279
|
-
large:
|
|
2280
|
-
small:
|
|
2281
|
-
stepIcon:
|
|
2282
|
-
stepCompletedIcon:
|
|
2283
|
-
verticalSeparator:
|
|
2284
|
-
content:
|
|
2285
|
-
},
|
|
2282
|
+
ct.displayName = "Stack";
|
|
2283
|
+
const Zn = Y(ct), Wr = "Stepper-module__root___jbSYO", Lr = "Stepper-module__horizontal___USHT1", Ir = "Stepper-module__steps___4HPO6", Or = "Stepper-module__step___s2nqL", zr = "Stepper-module__stepBody___TBvys", Rr = "Stepper-module__stepLabel___N6nuy", kr = "Stepper-module__stepDescription___DnDAy", Mr = "Stepper-module__separator___pU0No", Br = "Stepper-module__vertical___d4mOs", Fr = "Stepper-module__large___J18-y", Er = "Stepper-module__small___Ub-zb", jr = "Stepper-module__stepIcon___YQHNq", Dr = "Stepper-module__stepCompletedIcon___B9MeL", Vr = "Stepper-module__verticalSeparator___frWc1", Gr = "Stepper-module__content___J-h8X", D = {
|
|
2284
|
+
root: Wr,
|
|
2285
|
+
horizontal: Lr,
|
|
2286
|
+
steps: Ir,
|
|
2287
|
+
step: Or,
|
|
2288
|
+
stepBody: zr,
|
|
2289
|
+
stepLabel: Rr,
|
|
2290
|
+
stepDescription: kr,
|
|
2291
|
+
separator: Mr,
|
|
2292
|
+
vertical: Br,
|
|
2293
|
+
large: Fr,
|
|
2294
|
+
small: Er,
|
|
2295
|
+
stepIcon: jr,
|
|
2296
|
+
stepCompletedIcon: Dr,
|
|
2297
|
+
verticalSeparator: Vr,
|
|
2298
|
+
content: Gr
|
|
2299
|
+
}, dt = h(
|
|
2286
2300
|
function(e, a) {
|
|
2287
2301
|
const {
|
|
2288
2302
|
overStyled: s = !1,
|
|
@@ -2293,7 +2307,7 @@ const Sr = "Stepper-module__root___jbSYO", Ar = "Stepper-module__horizontal___US
|
|
|
2293
2307
|
...c
|
|
2294
2308
|
} = e, d = f(c, s);
|
|
2295
2309
|
return /* @__PURE__ */ r(
|
|
2296
|
-
|
|
2310
|
+
je,
|
|
2297
2311
|
{
|
|
2298
2312
|
ref: a,
|
|
2299
2313
|
orientation: o,
|
|
@@ -2317,23 +2331,23 @@ const Sr = "Stepper-module__root___jbSYO", Ar = "Stepper-module__horizontal___US
|
|
|
2317
2331
|
}
|
|
2318
2332
|
);
|
|
2319
2333
|
}
|
|
2320
|
-
),
|
|
2321
|
-
Step:
|
|
2322
|
-
Completed:
|
|
2334
|
+
), Yn = Object.assign(dt, {
|
|
2335
|
+
Step: je.Step,
|
|
2336
|
+
Completed: je.Completed
|
|
2323
2337
|
});
|
|
2324
|
-
|
|
2325
|
-
const
|
|
2326
|
-
root:
|
|
2327
|
-
body:
|
|
2328
|
-
track:
|
|
2329
|
-
thumb:
|
|
2330
|
-
labelWrapper:
|
|
2331
|
-
label:
|
|
2332
|
-
thumbIconWrapper:
|
|
2333
|
-
checkIcon:
|
|
2334
|
-
closeIcon:
|
|
2335
|
-
groupRoot:
|
|
2336
|
-
},
|
|
2338
|
+
dt.displayName = "Stepper";
|
|
2339
|
+
const qr = "Switch-module__root___Y5Ydi", Hr = "Switch-module__body___Sw9Wr", Ur = "Switch-module__track___7ObdZ", Zr = "Switch-module__thumb___-FTeK", Yr = "Switch-module__labelWrapper___YSOwx", Kr = "Switch-module__label___LrH7V", Qr = "Switch-module__thumbIconWrapper___sCY-1", Xr = "Switch-module__checkIcon___ZBAQN", Jr = "Switch-module__closeIcon___bLLGw", en = "Switch-module__groupRoot___-Uepi", W = {
|
|
2340
|
+
root: qr,
|
|
2341
|
+
body: Hr,
|
|
2342
|
+
track: Ur,
|
|
2343
|
+
thumb: Zr,
|
|
2344
|
+
labelWrapper: Yr,
|
|
2345
|
+
label: Kr,
|
|
2346
|
+
thumbIconWrapper: Qr,
|
|
2347
|
+
checkIcon: Xr,
|
|
2348
|
+
closeIcon: Jr,
|
|
2349
|
+
groupRoot: en
|
|
2350
|
+
}, pt = h(
|
|
2337
2351
|
function(e, a) {
|
|
2338
2352
|
const {
|
|
2339
2353
|
overStyled: s = !1,
|
|
@@ -2348,26 +2362,26 @@ const Vr = "Switch-module__root___Y5Ydi", Gr = "Switch-module__body___Sw9Wr", qr
|
|
|
2348
2362
|
label: p,
|
|
2349
2363
|
description: m,
|
|
2350
2364
|
assistiveText: N,
|
|
2351
|
-
assistiveWithIcon:
|
|
2352
|
-
error:
|
|
2353
|
-
required:
|
|
2365
|
+
assistiveWithIcon: u,
|
|
2366
|
+
error: _,
|
|
2367
|
+
required: y,
|
|
2354
2368
|
withAsterisk: C,
|
|
2355
2369
|
id: $,
|
|
2356
|
-
className:
|
|
2357
|
-
style:
|
|
2358
|
-
children:
|
|
2370
|
+
className: P,
|
|
2371
|
+
style: b,
|
|
2372
|
+
children: T,
|
|
2359
2373
|
readOnly: v,
|
|
2360
|
-
readOnlyComponent:
|
|
2361
|
-
emptyValueComponent:
|
|
2362
|
-
value:
|
|
2363
|
-
defaultValue:
|
|
2364
|
-
...
|
|
2365
|
-
} = e,
|
|
2366
|
-
return delete
|
|
2374
|
+
readOnlyComponent: k,
|
|
2375
|
+
emptyValueComponent: S,
|
|
2376
|
+
value: w,
|
|
2377
|
+
defaultValue: A,
|
|
2378
|
+
...B
|
|
2379
|
+
} = e, L = f(B, s), x = L;
|
|
2380
|
+
return delete x.size, /* @__PURE__ */ r(
|
|
2367
2381
|
de,
|
|
2368
2382
|
{
|
|
2369
|
-
className:
|
|
2370
|
-
style:
|
|
2383
|
+
className: P,
|
|
2384
|
+
style: b,
|
|
2371
2385
|
controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
|
|
2372
2386
|
controlMinWidth: void 0,
|
|
2373
2387
|
overStyled: s,
|
|
@@ -2381,36 +2395,36 @@ const Vr = "Switch-module__root___Y5Ydi", Gr = "Switch-module__body___Sw9Wr", qr
|
|
|
2381
2395
|
label: p,
|
|
2382
2396
|
description: m,
|
|
2383
2397
|
assistiveText: N,
|
|
2384
|
-
assistiveWithIcon:
|
|
2385
|
-
error:
|
|
2386
|
-
required:
|
|
2398
|
+
assistiveWithIcon: u,
|
|
2399
|
+
error: _,
|
|
2400
|
+
required: y,
|
|
2387
2401
|
withAsterisk: C,
|
|
2388
2402
|
id: $,
|
|
2389
|
-
readOnly: v && !!
|
|
2390
|
-
readOnlyComponent:
|
|
2391
|
-
emptyValueComponent:
|
|
2403
|
+
readOnly: v && !!k,
|
|
2404
|
+
readOnlyComponent: k,
|
|
2405
|
+
emptyValueComponent: S,
|
|
2392
2406
|
readOnlyType: "text",
|
|
2393
|
-
readOnlyValue:
|
|
2407
|
+
readOnlyValue: w !== void 0 ? w : A,
|
|
2394
2408
|
readOnlyNativeProps: e,
|
|
2395
2409
|
activeComponent: /* @__PURE__ */ r(
|
|
2396
|
-
|
|
2410
|
+
lo.Group,
|
|
2397
2411
|
{
|
|
2398
2412
|
ref: a,
|
|
2399
|
-
...
|
|
2400
|
-
disabled: v ||
|
|
2401
|
-
value:
|
|
2402
|
-
defaultValue:
|
|
2403
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
2404
|
-
disabled: v ||
|
|
2405
|
-
}) :
|
|
2413
|
+
...L,
|
|
2414
|
+
disabled: v || x.disabled,
|
|
2415
|
+
value: w,
|
|
2416
|
+
defaultValue: A,
|
|
2417
|
+
children: /* @__PURE__ */ r("div", { className: W.groupRoot, children: I.Children.map(T, (g) => I.isValidElement(g) ? I.cloneElement(g, {
|
|
2418
|
+
disabled: v || g.props.disabled
|
|
2419
|
+
}) : g) })
|
|
2406
2420
|
}
|
|
2407
2421
|
)
|
|
2408
2422
|
}
|
|
2409
2423
|
);
|
|
2410
2424
|
}
|
|
2411
2425
|
);
|
|
2412
|
-
|
|
2413
|
-
const
|
|
2426
|
+
pt.displayName = "SwitchGroup";
|
|
2427
|
+
const mt = h(
|
|
2414
2428
|
function(e, a) {
|
|
2415
2429
|
const {
|
|
2416
2430
|
overStyled: s = !1,
|
|
@@ -2423,29 +2437,29 @@ const it = h(
|
|
|
2423
2437
|
controlMaxWidth: p,
|
|
2424
2438
|
controlMinWidth: m,
|
|
2425
2439
|
...N
|
|
2426
|
-
} = e,
|
|
2427
|
-
delete
|
|
2428
|
-
const
|
|
2429
|
-
root:
|
|
2430
|
-
body:
|
|
2431
|
-
track:
|
|
2432
|
-
thumb:
|
|
2433
|
-
trackLabel:
|
|
2434
|
-
labelWrapper:
|
|
2435
|
-
label:
|
|
2436
|
-
}, C =
|
|
2440
|
+
} = e, u = f(N, s), _ = u;
|
|
2441
|
+
delete _.size, delete _.color, delete _.radius, delete _.variant;
|
|
2442
|
+
const y = {
|
|
2443
|
+
root: W.root,
|
|
2444
|
+
body: W.body,
|
|
2445
|
+
track: W.track,
|
|
2446
|
+
thumb: W.thumb,
|
|
2447
|
+
trackLabel: W.trackLabel,
|
|
2448
|
+
labelWrapper: W.labelWrapper,
|
|
2449
|
+
label: W.label
|
|
2450
|
+
}, C = _.classNames;
|
|
2437
2451
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
2438
2452
|
const v = C;
|
|
2439
|
-
|
|
2453
|
+
y.root = v.root ? `${W.root} ${v.root}` : W.root, y.body = v.body ? `${W.body} ${v.body}` : W.body, y.track = v.track ? `${W.track} ${v.track}` : W.track, y.thumb = v.thumb ? `${W.thumb} ${v.thumb}` : W.thumb, y.trackLabel = v.trackLabel ? `${W.trackLabel} ${v.trackLabel}` : W.trackLabel, y.labelWrapper = v.labelWrapper ? `${W.labelWrapper} ${v.labelWrapper}` : W.labelWrapper, y.label = v.label ? `${W.label} ${v.label}` : W.label;
|
|
2440
2454
|
}
|
|
2441
|
-
const $ =
|
|
2455
|
+
const $ = _.className, P = $ ? `${W.root} ${$}` : W.root;
|
|
2442
2456
|
if (t && o) {
|
|
2443
|
-
const v = !!(
|
|
2457
|
+
const v = !!(_.checked ?? _.defaultChecked), S = /* @__PURE__ */ r(
|
|
2444
2458
|
o,
|
|
2445
2459
|
{
|
|
2446
2460
|
...e,
|
|
2447
2461
|
checked: v,
|
|
2448
|
-
label:
|
|
2462
|
+
label: _.label
|
|
2449
2463
|
}
|
|
2450
2464
|
);
|
|
2451
2465
|
return c ? /* @__PURE__ */ r(
|
|
@@ -2455,22 +2469,22 @@ const it = h(
|
|
|
2455
2469
|
labelSize: d,
|
|
2456
2470
|
controlMaxWidth: p,
|
|
2457
2471
|
controlMinWidth: m,
|
|
2458
|
-
children:
|
|
2472
|
+
children: S
|
|
2459
2473
|
}
|
|
2460
|
-
) : /* @__PURE__ */ r(Ne, { children:
|
|
2474
|
+
) : /* @__PURE__ */ r(Ne, { children: S });
|
|
2461
2475
|
}
|
|
2462
|
-
const
|
|
2463
|
-
/* @__PURE__ */ r(
|
|
2464
|
-
/* @__PURE__ */ r(
|
|
2465
|
-
] }),
|
|
2466
|
-
|
|
2476
|
+
const b = /* @__PURE__ */ R("div", { className: W.thumbIconWrapper, children: [
|
|
2477
|
+
/* @__PURE__ */ r(Et, { className: W.checkIcon }),
|
|
2478
|
+
/* @__PURE__ */ r(jt, { className: W.closeIcon })
|
|
2479
|
+
] }), T = /* @__PURE__ */ r(
|
|
2480
|
+
lo,
|
|
2467
2481
|
{
|
|
2468
2482
|
ref: a,
|
|
2469
|
-
className:
|
|
2470
|
-
classNames:
|
|
2483
|
+
className: P,
|
|
2484
|
+
classNames: y,
|
|
2471
2485
|
disabled: t || n,
|
|
2472
|
-
thumbIcon: i ??
|
|
2473
|
-
...
|
|
2486
|
+
thumbIcon: i ?? b,
|
|
2487
|
+
...u
|
|
2474
2488
|
}
|
|
2475
2489
|
);
|
|
2476
2490
|
return c ? /* @__PURE__ */ r(
|
|
@@ -2480,19 +2494,19 @@ const it = h(
|
|
|
2480
2494
|
labelSize: d,
|
|
2481
2495
|
controlMaxWidth: p,
|
|
2482
2496
|
controlMinWidth: m,
|
|
2483
|
-
children:
|
|
2497
|
+
children: T
|
|
2484
2498
|
}
|
|
2485
|
-
) :
|
|
2499
|
+
) : T;
|
|
2486
2500
|
}
|
|
2487
2501
|
);
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
const
|
|
2491
|
-
root:
|
|
2492
|
-
list:
|
|
2493
|
-
tab:
|
|
2494
|
-
panel:
|
|
2495
|
-
},
|
|
2502
|
+
mt.displayName = "Switch";
|
|
2503
|
+
mt.Group = pt;
|
|
2504
|
+
const Kn = (l) => /* @__PURE__ */ r("div", { ...l, children: "Table" }), on = "Tabs-module__root___-VKVI", tn = "Tabs-module__list___qRVME", sn = "Tabs-module__tab___IdDYc", an = "Tabs-module__panel___08i9c", Ae = {
|
|
2505
|
+
root: on,
|
|
2506
|
+
list: tn,
|
|
2507
|
+
tab: sn,
|
|
2508
|
+
panel: an
|
|
2509
|
+
}, _t = h(function(e, a) {
|
|
2496
2510
|
const {
|
|
2497
2511
|
variant: s = "default",
|
|
2498
2512
|
orientation: t = "horizontal",
|
|
@@ -2501,7 +2515,7 @@ const Un = (l) => /* @__PURE__ */ r("div", { ...l, children: "Table" }), Xr = "T
|
|
|
2501
2515
|
...i
|
|
2502
2516
|
} = e, c = f(i, o);
|
|
2503
2517
|
return /* @__PURE__ */ r(
|
|
2504
|
-
|
|
2518
|
+
Me,
|
|
2505
2519
|
{
|
|
2506
2520
|
ref: a,
|
|
2507
2521
|
variant: s,
|
|
@@ -2518,12 +2532,12 @@ const Un = (l) => /* @__PURE__ */ r("div", { ...l, children: "Table" }), Xr = "T
|
|
|
2518
2532
|
}
|
|
2519
2533
|
);
|
|
2520
2534
|
});
|
|
2521
|
-
|
|
2522
|
-
const
|
|
2535
|
+
_t.displayName = "Tabs";
|
|
2536
|
+
const ut = h(
|
|
2523
2537
|
function(e, a) {
|
|
2524
2538
|
const { overStyled: s = !1, ...t } = e;
|
|
2525
2539
|
return /* @__PURE__ */ r(
|
|
2526
|
-
|
|
2540
|
+
Me.List,
|
|
2527
2541
|
{
|
|
2528
2542
|
ref: a,
|
|
2529
2543
|
...f(t, s)
|
|
@@ -2531,12 +2545,12 @@ const dt = h(
|
|
|
2531
2545
|
);
|
|
2532
2546
|
}
|
|
2533
2547
|
);
|
|
2534
|
-
|
|
2535
|
-
const
|
|
2548
|
+
ut.displayName = "Tabs.List";
|
|
2549
|
+
const bt = h(
|
|
2536
2550
|
function(e, a) {
|
|
2537
2551
|
const { overStyled: s = !1, ...t } = e;
|
|
2538
2552
|
return /* @__PURE__ */ r(
|
|
2539
|
-
|
|
2553
|
+
Me.Tab,
|
|
2540
2554
|
{
|
|
2541
2555
|
ref: a,
|
|
2542
2556
|
...f(t, s)
|
|
@@ -2544,12 +2558,12 @@ const pt = h(
|
|
|
2544
2558
|
);
|
|
2545
2559
|
}
|
|
2546
2560
|
);
|
|
2547
|
-
|
|
2548
|
-
const
|
|
2561
|
+
bt.displayName = "Tabs.Tab";
|
|
2562
|
+
const yt = h(
|
|
2549
2563
|
function(e, a) {
|
|
2550
2564
|
const { overStyled: s = !1, ...t } = e;
|
|
2551
2565
|
return /* @__PURE__ */ r(
|
|
2552
|
-
|
|
2566
|
+
Me.Panel,
|
|
2553
2567
|
{
|
|
2554
2568
|
ref: a,
|
|
2555
2569
|
...f(t, s)
|
|
@@ -2557,15 +2571,15 @@ const mt = h(
|
|
|
2557
2571
|
);
|
|
2558
2572
|
}
|
|
2559
2573
|
);
|
|
2560
|
-
|
|
2561
|
-
const
|
|
2562
|
-
List:
|
|
2563
|
-
Tab:
|
|
2564
|
-
Panel:
|
|
2565
|
-
}),
|
|
2574
|
+
yt.displayName = "Tabs.Panel";
|
|
2575
|
+
const Qn = Object.assign(_t, {
|
|
2576
|
+
List: ut,
|
|
2577
|
+
Tab: bt,
|
|
2578
|
+
Panel: yt
|
|
2579
|
+
}), ft = h(function({ overStyled: e = !1, variant: a = "body", ...s }, t) {
|
|
2566
2580
|
const o = f(s, e), n = o.className, i = `recursica_brand_typography_${a}`, c = n ? `${i} ${n}` : i;
|
|
2567
2581
|
return /* @__PURE__ */ r(
|
|
2568
|
-
|
|
2582
|
+
Dt,
|
|
2569
2583
|
{
|
|
2570
2584
|
ref: t,
|
|
2571
2585
|
className: c,
|
|
@@ -2573,11 +2587,11 @@ const Zn = Object.assign(ct, {
|
|
|
2573
2587
|
}
|
|
2574
2588
|
);
|
|
2575
2589
|
});
|
|
2576
|
-
|
|
2577
|
-
const
|
|
2578
|
-
root:
|
|
2579
|
-
input:
|
|
2580
|
-
},
|
|
2590
|
+
ft.displayName = "Text";
|
|
2591
|
+
const Xn = Y(ft), rn = "TextArea-module__root___3dyeu", nn = "TextArea-module__input___8l36v", fe = {
|
|
2592
|
+
root: rn,
|
|
2593
|
+
input: nn
|
|
2594
|
+
}, ln = h(
|
|
2581
2595
|
function(e, a) {
|
|
2582
2596
|
const {
|
|
2583
2597
|
overStyled: s = !1,
|
|
@@ -2591,35 +2605,35 @@ const Yn = oe(_t), sn = "TextArea-module__root___3dyeu", an = "TextArea-module__
|
|
|
2591
2605
|
label: p,
|
|
2592
2606
|
assistiveText: m,
|
|
2593
2607
|
assistiveWithIcon: N,
|
|
2594
|
-
error:
|
|
2595
|
-
required:
|
|
2596
|
-
withAsterisk:
|
|
2608
|
+
error: u,
|
|
2609
|
+
required: _,
|
|
2610
|
+
withAsterisk: y,
|
|
2597
2611
|
id: C,
|
|
2598
2612
|
className: $,
|
|
2599
|
-
style:
|
|
2600
|
-
disabled:
|
|
2601
|
-
readOnly:
|
|
2613
|
+
style: P,
|
|
2614
|
+
disabled: b,
|
|
2615
|
+
readOnly: T,
|
|
2602
2616
|
readOnlyComponent: v,
|
|
2603
|
-
emptyValueComponent:
|
|
2604
|
-
value:
|
|
2605
|
-
defaultValue:
|
|
2606
|
-
...
|
|
2607
|
-
} = e,
|
|
2608
|
-
delete
|
|
2609
|
-
const
|
|
2617
|
+
emptyValueComponent: k,
|
|
2618
|
+
value: S,
|
|
2619
|
+
defaultValue: w,
|
|
2620
|
+
...A
|
|
2621
|
+
} = e, B = f(A, s), L = B;
|
|
2622
|
+
delete L.size, delete L.variant, delete L.radius;
|
|
2623
|
+
const x = {
|
|
2610
2624
|
wrapper: fe.root,
|
|
2611
2625
|
// The nested Input internal relative wrapper bounding box
|
|
2612
2626
|
input: fe.input
|
|
2613
|
-
},
|
|
2614
|
-
if (
|
|
2615
|
-
const
|
|
2616
|
-
|
|
2627
|
+
}, g = L.classNames;
|
|
2628
|
+
if (g && typeof g == "object" && !Array.isArray(g)) {
|
|
2629
|
+
const M = g;
|
|
2630
|
+
x.wrapper = M.wrapper ? `${fe.root} ${M.wrapper}` : fe.root, x.input = M.input ? `${fe.input} ${M.input}` : fe.input;
|
|
2617
2631
|
}
|
|
2618
2632
|
return /* @__PURE__ */ r(
|
|
2619
2633
|
de,
|
|
2620
2634
|
{
|
|
2621
2635
|
className: $,
|
|
2622
|
-
style:
|
|
2636
|
+
style: P,
|
|
2623
2637
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2624
2638
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2625
2639
|
overStyled: s,
|
|
@@ -2632,36 +2646,36 @@ const Yn = oe(_t), sn = "TextArea-module__root___3dyeu", an = "TextArea-module__
|
|
|
2632
2646
|
label: p,
|
|
2633
2647
|
assistiveText: m,
|
|
2634
2648
|
assistiveWithIcon: N,
|
|
2635
|
-
error:
|
|
2636
|
-
required:
|
|
2637
|
-
withAsterisk:
|
|
2649
|
+
error: u,
|
|
2650
|
+
required: _,
|
|
2651
|
+
withAsterisk: y,
|
|
2638
2652
|
id: C,
|
|
2639
|
-
readOnly:
|
|
2653
|
+
readOnly: T,
|
|
2640
2654
|
readOnlyComponent: v,
|
|
2641
|
-
emptyValueComponent:
|
|
2655
|
+
emptyValueComponent: k,
|
|
2642
2656
|
readOnlyType: "text",
|
|
2643
|
-
readOnlyValue:
|
|
2657
|
+
readOnlyValue: S !== void 0 ? S : w,
|
|
2644
2658
|
readOnlyNativeProps: e,
|
|
2645
2659
|
activeComponent: (
|
|
2646
2660
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2647
2661
|
/* @__PURE__ */ r(
|
|
2648
|
-
|
|
2662
|
+
Vt,
|
|
2649
2663
|
{
|
|
2650
2664
|
ref: a,
|
|
2651
|
-
classNames:
|
|
2652
|
-
disabled:
|
|
2653
|
-
value:
|
|
2654
|
-
defaultValue:
|
|
2665
|
+
classNames: x,
|
|
2666
|
+
disabled: b,
|
|
2667
|
+
value: S,
|
|
2668
|
+
defaultValue: w,
|
|
2655
2669
|
label: void 0,
|
|
2656
2670
|
description: void 0,
|
|
2657
2671
|
error: void 0,
|
|
2658
2672
|
required: void 0,
|
|
2659
2673
|
withAsterisk: void 0,
|
|
2660
2674
|
wrapperProps: {
|
|
2661
|
-
"data-disabled":
|
|
2662
|
-
"data-error":
|
|
2675
|
+
"data-disabled": b ? "true" : void 0,
|
|
2676
|
+
"data-error": u ? "true" : void 0
|
|
2663
2677
|
},
|
|
2664
|
-
...
|
|
2678
|
+
...B
|
|
2665
2679
|
}
|
|
2666
2680
|
)
|
|
2667
2681
|
)
|
|
@@ -2669,12 +2683,12 @@ const Yn = oe(_t), sn = "TextArea-module__root___3dyeu", an = "TextArea-module__
|
|
|
2669
2683
|
);
|
|
2670
2684
|
}
|
|
2671
2685
|
);
|
|
2672
|
-
|
|
2673
|
-
const
|
|
2674
|
-
root:
|
|
2675
|
-
input:
|
|
2676
|
-
section:
|
|
2677
|
-
},
|
|
2686
|
+
ln.displayName = "TextArea";
|
|
2687
|
+
const cn = "TextField-module__root___2ZYkG", dn = "TextField-module__input___RL-My", pn = "TextField-module__section___bCIJ0", X = {
|
|
2688
|
+
root: cn,
|
|
2689
|
+
input: dn,
|
|
2690
|
+
section: pn
|
|
2691
|
+
}, mn = h(
|
|
2678
2692
|
function(e, a) {
|
|
2679
2693
|
const {
|
|
2680
2694
|
overStyled: s = !1,
|
|
@@ -2688,36 +2702,36 @@ const nn = "TextField-module__root___2ZYkG", ln = "TextField-module__input___RL-
|
|
|
2688
2702
|
label: p,
|
|
2689
2703
|
assistiveText: m,
|
|
2690
2704
|
assistiveWithIcon: N,
|
|
2691
|
-
error:
|
|
2692
|
-
required:
|
|
2693
|
-
withAsterisk:
|
|
2705
|
+
error: u,
|
|
2706
|
+
required: _,
|
|
2707
|
+
withAsterisk: y,
|
|
2694
2708
|
id: C,
|
|
2695
2709
|
className: $,
|
|
2696
|
-
style:
|
|
2697
|
-
disabled:
|
|
2698
|
-
readOnly:
|
|
2710
|
+
style: P,
|
|
2711
|
+
disabled: b,
|
|
2712
|
+
readOnly: T,
|
|
2699
2713
|
readOnlyComponent: v,
|
|
2700
|
-
emptyValueComponent:
|
|
2701
|
-
value:
|
|
2702
|
-
defaultValue:
|
|
2703
|
-
...
|
|
2704
|
-
} = e,
|
|
2705
|
-
delete
|
|
2706
|
-
const
|
|
2707
|
-
wrapper:
|
|
2714
|
+
emptyValueComponent: k,
|
|
2715
|
+
value: S,
|
|
2716
|
+
defaultValue: w,
|
|
2717
|
+
...A
|
|
2718
|
+
} = e, B = f(A, s), L = B;
|
|
2719
|
+
delete L.size, delete L.variant, delete L.radius;
|
|
2720
|
+
const x = {
|
|
2721
|
+
wrapper: X.root,
|
|
2708
2722
|
// The nested Input internal relative wrapper bounding box
|
|
2709
|
-
input:
|
|
2710
|
-
section:
|
|
2711
|
-
},
|
|
2712
|
-
if (
|
|
2713
|
-
const
|
|
2714
|
-
|
|
2723
|
+
input: X.input,
|
|
2724
|
+
section: X.section
|
|
2725
|
+
}, g = L.classNames;
|
|
2726
|
+
if (g && typeof g == "object" && !Array.isArray(g)) {
|
|
2727
|
+
const M = g;
|
|
2728
|
+
x.wrapper = M.wrapper ? `${X.root} ${M.wrapper}` : X.root, x.input = M.input ? `${X.input} ${M.input}` : X.input, x.section = M.section ? `${X.section} ${M.section}` : X.section;
|
|
2715
2729
|
}
|
|
2716
2730
|
return /* @__PURE__ */ r(
|
|
2717
2731
|
de,
|
|
2718
2732
|
{
|
|
2719
2733
|
className: $,
|
|
2720
|
-
style:
|
|
2734
|
+
style: P,
|
|
2721
2735
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
2722
2736
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
2723
2737
|
overStyled: s,
|
|
@@ -2730,31 +2744,31 @@ const nn = "TextField-module__root___2ZYkG", ln = "TextField-module__input___RL-
|
|
|
2730
2744
|
label: p,
|
|
2731
2745
|
assistiveText: m,
|
|
2732
2746
|
assistiveWithIcon: N,
|
|
2733
|
-
error:
|
|
2734
|
-
required:
|
|
2735
|
-
withAsterisk:
|
|
2747
|
+
error: u,
|
|
2748
|
+
required: _,
|
|
2749
|
+
withAsterisk: y,
|
|
2736
2750
|
id: C,
|
|
2737
|
-
readOnly:
|
|
2751
|
+
readOnly: T,
|
|
2738
2752
|
readOnlyComponent: v,
|
|
2739
|
-
emptyValueComponent:
|
|
2753
|
+
emptyValueComponent: k,
|
|
2740
2754
|
readOnlyType: "text",
|
|
2741
|
-
readOnlyValue:
|
|
2755
|
+
readOnlyValue: S !== void 0 ? S : w,
|
|
2742
2756
|
readOnlyNativeProps: e,
|
|
2743
2757
|
activeComponent: (
|
|
2744
2758
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
2745
2759
|
/* @__PURE__ */ r(
|
|
2746
|
-
|
|
2760
|
+
ao,
|
|
2747
2761
|
{
|
|
2748
2762
|
ref: a,
|
|
2749
|
-
classNames:
|
|
2750
|
-
disabled:
|
|
2751
|
-
value:
|
|
2752
|
-
defaultValue:
|
|
2763
|
+
classNames: x,
|
|
2764
|
+
disabled: b,
|
|
2765
|
+
value: S,
|
|
2766
|
+
defaultValue: w,
|
|
2753
2767
|
wrapperProps: {
|
|
2754
|
-
"data-disabled":
|
|
2755
|
-
"data-error":
|
|
2768
|
+
"data-disabled": b ? "true" : void 0,
|
|
2769
|
+
"data-error": u ? "true" : void 0
|
|
2756
2770
|
},
|
|
2757
|
-
...
|
|
2771
|
+
...B
|
|
2758
2772
|
}
|
|
2759
2773
|
)
|
|
2760
2774
|
)
|
|
@@ -2762,17 +2776,17 @@ const nn = "TextField-module__root___2ZYkG", ln = "TextField-module__input___RL-
|
|
|
2762
2776
|
);
|
|
2763
2777
|
}
|
|
2764
2778
|
);
|
|
2765
|
-
|
|
2766
|
-
const
|
|
2767
|
-
root:
|
|
2768
|
-
item:
|
|
2769
|
-
itemBody:
|
|
2770
|
-
itemBullet:
|
|
2771
|
-
itemTitle:
|
|
2772
|
-
itemContent:
|
|
2773
|
-
description:
|
|
2774
|
-
timestamp:
|
|
2775
|
-
},
|
|
2779
|
+
mn.displayName = "TextField";
|
|
2780
|
+
const Jn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), _n = "Timeline-module__root___LwRdZ", un = "Timeline-module__item___T5xdQ", bn = "Timeline-module__itemBody___XAV-E", yn = "Timeline-module__itemBullet___rPXCy", fn = "Timeline-module__itemTitle___GgRRW", Nn = "Timeline-module__itemContent___vurs-", hn = "Timeline-module__description___f9sxV", $n = "Timeline-module__timestamp___owiRu", le = {
|
|
2781
|
+
root: _n,
|
|
2782
|
+
item: un,
|
|
2783
|
+
itemBody: bn,
|
|
2784
|
+
itemBullet: yn,
|
|
2785
|
+
itemTitle: fn,
|
|
2786
|
+
itemContent: Nn,
|
|
2787
|
+
description: hn,
|
|
2788
|
+
timestamp: $n
|
|
2789
|
+
}, Nt = I.forwardRef(
|
|
2776
2790
|
function({
|
|
2777
2791
|
overStyled: e = !1,
|
|
2778
2792
|
timestamp: a,
|
|
@@ -2793,12 +2807,12 @@ const Kn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), pn
|
|
|
2793
2807
|
c[N] ? c[N] = `${c[N]} ${m[N]}` : c[N] = m[N];
|
|
2794
2808
|
});
|
|
2795
2809
|
}
|
|
2796
|
-
const p = a ? /* @__PURE__ */
|
|
2810
|
+
const p = a ? /* @__PURE__ */ R(Ne, { children: [
|
|
2797
2811
|
t && /* @__PURE__ */ r("div", { className: le.description, children: t }),
|
|
2798
2812
|
/* @__PURE__ */ r("div", { className: le.timestamp, children: a })
|
|
2799
2813
|
] }) : t;
|
|
2800
2814
|
return /* @__PURE__ */ r(
|
|
2801
|
-
|
|
2815
|
+
Gt,
|
|
2802
2816
|
{
|
|
2803
2817
|
ref: n,
|
|
2804
2818
|
classNames: c,
|
|
@@ -2809,8 +2823,8 @@ const Kn = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), pn
|
|
|
2809
2823
|
);
|
|
2810
2824
|
}
|
|
2811
2825
|
);
|
|
2812
|
-
|
|
2813
|
-
const
|
|
2826
|
+
Nt.displayName = "TimelineItem";
|
|
2827
|
+
const ht = I.forwardRef(
|
|
2814
2828
|
function({ overStyled: e = !1, ...a }, s) {
|
|
2815
2829
|
const t = f(a, e), o = {
|
|
2816
2830
|
root: le.root
|
|
@@ -2822,7 +2836,7 @@ const bt = L.forwardRef(
|
|
|
2822
2836
|
});
|
|
2823
2837
|
}
|
|
2824
2838
|
return /* @__PURE__ */ r(
|
|
2825
|
-
|
|
2839
|
+
qt,
|
|
2826
2840
|
{
|
|
2827
2841
|
ref: s,
|
|
2828
2842
|
classNames: o,
|
|
@@ -2831,13 +2845,13 @@ const bt = L.forwardRef(
|
|
|
2831
2845
|
);
|
|
2832
2846
|
}
|
|
2833
2847
|
);
|
|
2834
|
-
|
|
2835
|
-
const
|
|
2836
|
-
|
|
2837
|
-
const
|
|
2848
|
+
ht.displayName = "Timeline";
|
|
2849
|
+
const vn = ht;
|
|
2850
|
+
vn.Item = Nt;
|
|
2851
|
+
const Cn = h(function({ overStyled: e = !1, order: a = 1, ...s }, t) {
|
|
2838
2852
|
const o = f(s, e), n = o.className, i = `recursica_brand_typography_h${a}`, c = n ? `${i} ${n}` : i;
|
|
2839
2853
|
return /* @__PURE__ */ r(
|
|
2840
|
-
|
|
2854
|
+
Ht,
|
|
2841
2855
|
{
|
|
2842
2856
|
ref: t,
|
|
2843
2857
|
order: a,
|
|
@@ -2846,16 +2860,16 @@ const $n = h(function({ overStyled: e = !1, order: a = 1, ...s }, t) {
|
|
|
2846
2860
|
}
|
|
2847
2861
|
);
|
|
2848
2862
|
});
|
|
2849
|
-
|
|
2850
|
-
const
|
|
2851
|
-
root:
|
|
2852
|
-
icon:
|
|
2853
|
-
loader:
|
|
2854
|
-
title:
|
|
2855
|
-
description:
|
|
2856
|
-
closeButton:
|
|
2857
|
-
body:
|
|
2858
|
-
},
|
|
2863
|
+
Cn.displayName = "Title";
|
|
2864
|
+
const Pn = "Toast-module__root___MUvfI", gn = "Toast-module__icon___VwvE1", wn = "Toast-module__loader___8Gxd-", Tn = "Toast-module__title___-H6R2", xn = "Toast-module__description___-QwfC", Sn = "Toast-module__closeButton___vGr7g", An = "Toast-module__body___VLkXA", be = {
|
|
2865
|
+
root: Pn,
|
|
2866
|
+
icon: gn,
|
|
2867
|
+
loader: wn,
|
|
2868
|
+
title: Tn,
|
|
2869
|
+
description: xn,
|
|
2870
|
+
closeButton: Sn,
|
|
2871
|
+
body: An
|
|
2872
|
+
}, Wn = I.forwardRef(
|
|
2859
2873
|
function({
|
|
2860
2874
|
overStyled: e = !1,
|
|
2861
2875
|
variant: a = "default",
|
|
@@ -2878,7 +2892,7 @@ const vn = "Toast-module__root___MUvfI", Cn = "Toast-module__icon___VwvE1", gn =
|
|
|
2878
2892
|
});
|
|
2879
2893
|
}
|
|
2880
2894
|
return /* @__PURE__ */ r(
|
|
2881
|
-
|
|
2895
|
+
Ut,
|
|
2882
2896
|
{
|
|
2883
2897
|
ref: o,
|
|
2884
2898
|
withCloseButton: s,
|
|
@@ -2891,18 +2905,18 @@ const vn = "Toast-module__root___MUvfI", Cn = "Toast-module__icon___VwvE1", gn =
|
|
|
2891
2905
|
);
|
|
2892
2906
|
}
|
|
2893
2907
|
);
|
|
2894
|
-
|
|
2895
|
-
const
|
|
2896
|
-
tooltip:
|
|
2897
|
-
arrow:
|
|
2898
|
-
},
|
|
2908
|
+
Wn.displayName = "Toast";
|
|
2909
|
+
const Ln = "Tooltip-module__tooltip___UA7H9", In = "Tooltip-module__arrow___4zROk", so = {
|
|
2910
|
+
tooltip: Ln,
|
|
2911
|
+
arrow: In
|
|
2912
|
+
}, $t = function({
|
|
2899
2913
|
overStyled: e = !1,
|
|
2900
2914
|
withBeak: a = !0,
|
|
2901
2915
|
...s
|
|
2902
2916
|
}) {
|
|
2903
2917
|
const t = f(s, e), o = {
|
|
2904
|
-
tooltip:
|
|
2905
|
-
arrow:
|
|
2918
|
+
tooltip: so.tooltip,
|
|
2919
|
+
arrow: so.arrow
|
|
2906
2920
|
}, n = t.classNames;
|
|
2907
2921
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
2908
2922
|
const p = n;
|
|
@@ -2912,7 +2926,7 @@ const An = "Tooltip-module__tooltip___UA7H9", Wn = "Tooltip-module__arrow___4zRO
|
|
|
2912
2926
|
}
|
|
2913
2927
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
2914
2928
|
return /* @__PURE__ */ r(
|
|
2915
|
-
|
|
2929
|
+
He,
|
|
2916
2930
|
{
|
|
2917
2931
|
position: "top",
|
|
2918
2932
|
multiline: !0,
|
|
@@ -2923,73 +2937,73 @@ const An = "Tooltip-module__tooltip___UA7H9", Wn = "Tooltip-module__arrow___4zRO
|
|
|
2923
2937
|
}
|
|
2924
2938
|
);
|
|
2925
2939
|
};
|
|
2926
|
-
|
|
2927
|
-
const
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
const
|
|
2940
|
+
$t.displayName = "Tooltip";
|
|
2941
|
+
const vt = $t;
|
|
2942
|
+
vt.Floating = He.Floating;
|
|
2943
|
+
vt.Group = He.Group;
|
|
2944
|
+
const el = (l) => /* @__PURE__ */ r("div", { ...l, children: "TransferList" });
|
|
2931
2945
|
export {
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2946
|
+
Ke as Accordion,
|
|
2947
|
+
Ze as AccordionControl,
|
|
2948
|
+
po as AccordionItem,
|
|
2949
|
+
Ye as AccordionPanel,
|
|
2950
|
+
kn as Avatar,
|
|
2951
|
+
Mn as Badge,
|
|
2952
|
+
ms as Breadcrumb,
|
|
2953
|
+
Bn as Button,
|
|
2954
|
+
Fn as Card,
|
|
2955
|
+
$o as CardContent,
|
|
2956
|
+
ho as CardFooter,
|
|
2957
|
+
No as CardHeader,
|
|
2958
|
+
fo as CardSection,
|
|
2959
|
+
wo as Checkbox,
|
|
2960
|
+
go as CheckboxGroup,
|
|
2961
|
+
la as Chip,
|
|
2962
|
+
ca as Container,
|
|
2963
|
+
jn as DatePicker,
|
|
2964
|
+
ba as Dropdown,
|
|
2965
|
+
Oe as EmptyValueRenderer,
|
|
2966
|
+
Dn as FileInput,
|
|
2967
|
+
Vn as FileUpload,
|
|
2968
|
+
Gn as Flex,
|
|
2955
2969
|
ce as FormControlLayout,
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2970
|
+
Na as Group,
|
|
2971
|
+
Wo as HoverCard,
|
|
2972
|
+
Co as Label,
|
|
2973
|
+
Vs as Layer,
|
|
2974
|
+
qn as Link,
|
|
2975
|
+
uo as Loader,
|
|
2962
2976
|
he as Menu,
|
|
2963
2977
|
pe as Modal,
|
|
2964
|
-
|
|
2978
|
+
Ua as NumberInput,
|
|
2965
2979
|
ae as Pagination,
|
|
2966
2980
|
re as Panel,
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2981
|
+
ot as PanelFooter,
|
|
2982
|
+
rt as Popover,
|
|
2983
|
+
lt as Radio,
|
|
2984
|
+
nt as RadioGroup,
|
|
2985
|
+
Pr as ReadOnlyBooleanField,
|
|
2986
|
+
Po as ReadOnlyField,
|
|
2987
|
+
Cr as ReadOnlySwitchField,
|
|
2974
2988
|
We as ReadOnlyTextField,
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2989
|
+
En as RecursicaThemeProvider,
|
|
2990
|
+
Hn as SegmentedControl,
|
|
2991
|
+
Un as Slider,
|
|
2992
|
+
Zn as Stack,
|
|
2993
|
+
Yn as Stepper,
|
|
2994
|
+
mt as Switch,
|
|
2995
|
+
pt as SwitchGroup,
|
|
2996
|
+
Kn as Table,
|
|
2997
|
+
Qn as Tabs,
|
|
2998
|
+
Xn as Text,
|
|
2999
|
+
ln as TextArea,
|
|
3000
|
+
mn as TextField,
|
|
3001
|
+
Jn as TimePicker,
|
|
3002
|
+
vn as Timeline,
|
|
3003
|
+
Cn as Title,
|
|
3004
|
+
Wn as Toast,
|
|
3005
|
+
vt as Tooltip,
|
|
3006
|
+
el as TransferList,
|
|
2993
3007
|
de as WithReadOnlyWrapper
|
|
2994
3008
|
};
|
|
2995
3009
|
//# sourceMappingURL=mantine-adapter.js.map
|