@recursica/mantine-adapter 0.23.0 → 0.26.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/ARCHITECTURE.md +15 -0
- package/CHANGELOG.md +32 -0
- package/SETUP.md +79 -0
- package/USAGE.md +55 -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 +928 -878
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Accordion/Accordion.d.ts +4 -24
- package/dist/src/components/AssistiveElement/AssistiveElement.d.ts +1 -6
- package/dist/src/components/AutoComplete/AutoComplete.d.ts +7 -3
- package/dist/src/components/Avatar/Avatar.d.ts +2 -6
- package/dist/src/components/Badge/Badge.d.ts +2 -5
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +1 -2
- package/dist/src/components/Button/Button.d.ts +2 -16
- package/dist/src/components/Card/Card.d.ts +4 -6
- package/dist/src/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/src/components/Checkbox/CheckboxGroup.d.ts +7 -3
- package/dist/src/components/Chip/Chip.d.ts +1 -10
- package/dist/src/components/Container/Container.d.ts +1 -11
- package/dist/src/components/DatePicker/DatePicker.d.ts +7 -3
- package/dist/src/components/Dropdown/Dropdown.d.ts +2 -4
- package/dist/src/components/Flex/Flex.d.ts +2 -11
- package/dist/src/components/FormControlLayout/FormControlLayout.d.ts +2 -7
- package/dist/src/components/FormControlWrapper/FormControlWrapper.d.ts +1 -15
- package/dist/src/components/Group/Group.d.ts +1 -10
- package/dist/src/components/HoverCard/HoverCard.d.ts +1 -11
- package/dist/src/components/Label/Label.d.ts +1 -14
- package/dist/src/components/Link/Link.d.ts +2 -11
- package/dist/src/components/Loader/Loader.d.ts +2 -7
- package/dist/src/components/Menu/Menu.d.ts +4 -3
- package/dist/src/components/Modal/Modal.d.ts +2 -1
- package/dist/src/components/NumberInput/NumberInput.d.ts +2 -4
- package/dist/src/components/Pagination/Pagination.d.ts +2 -4
- package/dist/src/components/Panel/Panel.d.ts +2 -9
- package/dist/src/components/Popover/Popover.d.ts +1 -11
- package/dist/src/components/Radio/Radio.d.ts +4 -4
- package/dist/src/components/Radio/RadioGroup.d.ts +7 -3
- package/dist/src/components/ReadOnlyField/ReadOnlyField.d.ts +2 -10
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -11
- package/dist/src/components/Slider/Slider.d.ts +7 -13
- package/dist/src/components/Stack/Stack.d.ts +2 -9
- package/dist/src/components/Stepper/Stepper.d.ts +2 -4
- package/dist/src/components/Switch/Switch.d.ts +4 -4
- package/dist/src/components/Switch/SwitchGroup.d.ts +7 -3
- package/dist/src/components/Table/Table.d.ts +2 -1
- package/dist/src/components/Tabs/Tabs.d.ts +2 -4
- package/dist/src/components/Text/Text.d.ts +2 -11
- package/dist/src/components/TextArea/TextArea.d.ts +2 -8
- package/dist/src/components/TextField/TextField.d.ts +7 -3
- package/dist/src/components/TimePicker/TimePicker.d.ts +2 -1
- package/dist/src/components/Timeline/Timeline.d.ts +2 -1
- package/dist/src/components/Timeline/TimelineItem.d.ts +1 -12
- package/dist/src/components/Title/Title.d.ts +1 -7
- package/dist/src/components/Toast/Toast.d.ts +1 -12
- package/dist/src/components/Tooltip/Tooltip.d.ts +1 -12
- package/dist/src/components/TransferList/TransferList.d.ts +2 -1
- package/dist/src/utils/RequireAccessibleLabel.d.ts +1 -18
- package/dist/src/utils/filterStylingProps.d.ts +1 -11
- package/llms.txt +16 -0
- package/package.json +9 -2
- package/src/components/Accordion/Accordion.module.css +1 -2
- package/src/components/Accordion/Accordion.tsx +15 -28
- package/src/components/AssistiveElement/AssistiveElement.tsx +1 -6
- package/src/components/AutoComplete/AutoComplete.tsx +4 -1
- package/src/components/Avatar/Avatar.tsx +1 -5
- package/src/components/Badge/Badge.tsx +1 -4
- package/src/components/Breadcrumb/Breadcrumb.tsx +1 -2
- package/src/components/Button/Button.module.css +18 -45
- package/src/components/Button/Button.tsx +1 -15
- package/src/components/Card/Card.tsx +11 -6
- package/src/components/Checkbox/Checkbox.module.css +6 -10
- package/src/components/Checkbox/Checkbox.tsx +19 -14
- package/src/components/Checkbox/CheckboxGroup.tsx +4 -1
- package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +4 -1
- package/src/components/Chip/Chip.module.css +36 -28
- package/src/components/Chip/Chip.tsx +8 -15
- package/src/components/Container/Container.tsx +1 -19
- package/src/components/DatePicker/DatePicker.module.css +2 -2
- package/src/components/DatePicker/DatePicker.tsx +4 -1
- package/src/components/Dropdown/Dropdown.tsx +4 -4
- package/src/components/Flex/Flex.tsx +2 -13
- package/src/components/FormControlLayout/FormControlLayout.module.css +6 -18
- package/src/components/FormControlLayout/FormControlLayout.tsx +4 -8
- package/src/components/FormControlWrapper/FormControlWrapper.tsx +2 -15
- package/src/components/Group/Group.tsx +2 -13
- package/src/components/HoverCard/HoverCard.tsx +1 -8
- package/src/components/Label/Label.module.css +5 -10
- package/src/components/Label/Label.tsx +1 -14
- package/src/components/Link/Link.module.css +4 -3
- package/src/components/Link/Link.stories.tsx +2 -3
- package/src/components/Link/Link.tsx +1 -10
- package/src/components/Loader/Loader.module.css +1 -2
- package/src/components/Loader/Loader.tsx +1 -7
- package/src/components/Menu/Menu.tsx +5 -1
- package/src/components/Modal/Modal.tsx +3 -1
- package/src/components/NumberInput/NumberInput.tsx +4 -4
- package/src/components/Pagination/Pagination.module.css +12 -24
- package/src/components/Pagination/Pagination.stories.tsx +0 -8
- package/src/components/Pagination/Pagination.tsx +5 -4
- package/src/components/Panel/Panel.tsx +1 -8
- package/src/components/Popover/Popover.tsx +1 -8
- package/src/components/Radio/Radio.module.css +4 -10
- package/src/components/Radio/Radio.tsx +19 -14
- package/src/components/Radio/RadioGroup.tsx +4 -1
- package/src/components/ReadOnlyField/ReadOnlyField.module.css +9 -18
- package/src/components/ReadOnlyField/ReadOnlyField.tsx +4 -11
- package/src/components/SegmentedControl/SegmentedControl.module.css +20 -44
- package/src/components/SegmentedControl/SegmentedControl.tsx +1 -11
- package/src/components/Slider/Slider.module.css +1 -4
- package/src/components/Slider/Slider.tsx +4 -12
- package/src/components/Stack/Stack.tsx +2 -11
- package/src/components/Stepper/Stepper.tsx +1 -7
- package/src/components/Switch/Switch.tsx +19 -11
- package/src/components/Switch/SwitchGroup.tsx +4 -1
- package/src/components/Table/Table.tsx +3 -1
- package/src/components/Tabs/Tabs.tsx +1 -7
- package/src/components/Text/Text.tsx +2 -16
- package/src/components/TextArea/TextArea.tsx +4 -8
- package/src/components/TextField/TextField.tsx +4 -1
- package/src/components/TimePicker/TimePicker.tsx +3 -1
- package/src/components/Timeline/Timeline.tsx +4 -1
- package/src/components/Timeline/TimelineItem.tsx +1 -12
- package/src/components/Title/Title.tsx +1 -6
- package/src/components/Toast/Toast.tsx +1 -13
- package/src/components/Tooltip/Tooltip.tsx +1 -9
- package/src/components/TransferList/TransferList.tsx +3 -1
- package/src/utils/RequireAccessibleLabel.ts +1 -12
- package/src/utils/filterStylingProps.ts +7 -20
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Accordion as Ge, Input as Co, Box as eo, Autocomplete as Zt, Avatar as Yt, createPolymorphicComponent as te, Badge as Kt, Breadcrumbs as Xt, Loader as Jt, Button as Qt, Card as He, Checkbox as
|
|
1
|
+
import { jsx as s, jsxs as z, Fragment as xe } from "react/jsx-runtime";
|
|
2
|
+
import j, { forwardRef as h, useId as Ut, useEffect as vo, useState as bo } from "react";
|
|
3
|
+
import { Accordion as Ge, Input as Co, Box as eo, Autocomplete as Zt, Avatar as Yt, createPolymorphicComponent as te, Badge as Kt, Breadcrumbs as Xt, Loader as Jt, Button as Qt, Card as He, Checkbox as Po, Chip as ea, Container as oa, Select as ta, Flex as aa, Group as ra, HoverCard as oo, Anchor as sa, Menu as ae, Modal as K, NumberInput as na, Pagination as ie, Drawer as ce, Popover as to, Radio as wo, SegmentedControl as la, Slider as ia, Stack as ca, Stepper as Je, Switch as go, CheckIcon as da, CloseIcon as pa, Tabs as qe, Text as _a, Textarea as ma, TimelineItem as ua, Timeline as ba, Title as ya, Notification as Na, Tooltip as ao } from "@mantine/core";
|
|
4
4
|
import { DatePickerInput as fa } from "@mantine/dates";
|
|
5
5
|
const ha = [
|
|
6
6
|
"className",
|
|
@@ -70,45 +70,45 @@ const ha = [
|
|
|
70
70
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
71
71
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function ro(l) {
|
|
74
74
|
const e = { ...l };
|
|
75
|
-
for (const [
|
|
76
|
-
typeof a == "string" && a.startsWith("rec-") && To.has(
|
|
75
|
+
for (const [r, a] of Object.entries(e))
|
|
76
|
+
typeof a == "string" && a.startsWith("rec-") && To.has(r) && a in Ve && (e[r] = Ve[a]);
|
|
77
77
|
return e;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function f(l, e) {
|
|
80
80
|
if (e)
|
|
81
81
|
return l;
|
|
82
|
-
const
|
|
82
|
+
const r = { ...l };
|
|
83
83
|
for (const a of ha)
|
|
84
|
-
a in
|
|
85
|
-
for (const [a, t] of Object.entries(
|
|
86
|
-
typeof t == "string" && t.startsWith("rec-") && To.has(a) && t in Ve && (
|
|
87
|
-
return
|
|
84
|
+
a in r && delete r[a];
|
|
85
|
+
for (const [a, t] of Object.entries(r))
|
|
86
|
+
typeof t == "string" && t.startsWith("rec-") && To.has(a) && t in Ve && (r[a] = Ve[t]);
|
|
87
|
+
return r;
|
|
88
88
|
}
|
|
89
|
-
const $a = "Accordion-module__root___Dem6d", va = "Accordion-module__item___7ryVk", Ca = "Accordion-module__noDivider___Ni2tT",
|
|
89
|
+
const $a = "Accordion-module__root___Dem6d", va = "Accordion-module__item___7ryVk", Ca = "Accordion-module__noDivider___Ni2tT", Pa = "Accordion-module__control___b4wgX", wa = "Accordion-module__label___Ss7uW", ga = "Accordion-module__chevron___i-HVZ", Ta = "Accordion-module__iconLeftWrapper___5oLen", Sa = "Accordion-module__panel___Wx50w", xa = "Accordion-module__content___PEM9t", se = {
|
|
90
90
|
root: $a,
|
|
91
91
|
item: va,
|
|
92
92
|
noDivider: Ca,
|
|
93
|
-
control:
|
|
94
|
-
label:
|
|
93
|
+
control: Pa,
|
|
94
|
+
label: wa,
|
|
95
95
|
chevron: ga,
|
|
96
96
|
iconLeftWrapper: Ta,
|
|
97
97
|
panel: Sa,
|
|
98
98
|
content: xa
|
|
99
99
|
}, So = function({
|
|
100
100
|
variant: e = "unstyled",
|
|
101
|
-
overStyled:
|
|
101
|
+
overStyled: r = !1,
|
|
102
102
|
...a
|
|
103
103
|
}) {
|
|
104
|
-
const t =
|
|
105
|
-
root:
|
|
106
|
-
item:
|
|
107
|
-
control:
|
|
108
|
-
label:
|
|
109
|
-
chevron:
|
|
110
|
-
panel:
|
|
111
|
-
content:
|
|
104
|
+
const t = f(a, r), o = {
|
|
105
|
+
root: se.root,
|
|
106
|
+
item: se.item,
|
|
107
|
+
control: se.control,
|
|
108
|
+
label: se.label,
|
|
109
|
+
chevron: se.chevron,
|
|
110
|
+
panel: se.panel,
|
|
111
|
+
content: se.content
|
|
112
112
|
}, n = t.classNames;
|
|
113
113
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
114
114
|
const c = n;
|
|
@@ -117,7 +117,7 @@ const $a = "Accordion-module__root___Dem6d", va = "Accordion-module__item___7ryV
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
const i = t.className;
|
|
120
|
-
return /* @__PURE__ */
|
|
120
|
+
return /* @__PURE__ */ s(
|
|
121
121
|
Ge,
|
|
122
122
|
{
|
|
123
123
|
variant: e,
|
|
@@ -128,39 +128,39 @@ const $a = "Accordion-module__root___Dem6d", va = "Accordion-module__item___7ryV
|
|
|
128
128
|
);
|
|
129
129
|
};
|
|
130
130
|
So.displayName = "Accordion";
|
|
131
|
-
const xo =
|
|
132
|
-
const c =
|
|
133
|
-
return /* @__PURE__ */
|
|
131
|
+
const xo = h(function({ title: e, leftIcon: r, divider: a = !0, children: t, overStyled: o = !1, ...n }, i) {
|
|
132
|
+
const c = f(n, o), d = c.className, p = [a ? void 0 : se.noDivider, d].filter(Boolean).join(" ") || void 0;
|
|
133
|
+
return /* @__PURE__ */ s(
|
|
134
134
|
Ge.Item,
|
|
135
135
|
{
|
|
136
136
|
ref: i,
|
|
137
137
|
className: p,
|
|
138
138
|
...c,
|
|
139
139
|
children: e ? /* @__PURE__ */ z(xe, { children: [
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ s(so, { leftIcon: r, children: e }),
|
|
141
|
+
/* @__PURE__ */ s(no, { children: t })
|
|
142
142
|
] }) : t
|
|
143
143
|
}
|
|
144
144
|
);
|
|
145
145
|
});
|
|
146
146
|
xo.displayName = "AccordionItem";
|
|
147
|
-
const
|
|
148
|
-
const n =
|
|
149
|
-
return /* @__PURE__ */
|
|
147
|
+
const so = h(function({ leftIcon: e, children: r, overStyled: a = !1, ...t }, o) {
|
|
148
|
+
const n = f(t, a), i = n.className;
|
|
149
|
+
return /* @__PURE__ */ s(
|
|
150
150
|
Ge.Control,
|
|
151
151
|
{
|
|
152
152
|
ref: o,
|
|
153
153
|
className: i,
|
|
154
|
-
icon: e ? /* @__PURE__ */
|
|
154
|
+
icon: e ? /* @__PURE__ */ s("span", { className: se.iconLeftWrapper, "aria-hidden": !0, children: e }) : void 0,
|
|
155
155
|
...n,
|
|
156
|
-
children:
|
|
156
|
+
children: r
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
159
|
});
|
|
160
|
-
|
|
161
|
-
const no =
|
|
162
|
-
const t =
|
|
163
|
-
return /* @__PURE__ */
|
|
160
|
+
so.displayName = "AccordionControl";
|
|
161
|
+
const no = h(function({ overStyled: e = !1, ...r }, a) {
|
|
162
|
+
const t = f(r, e), o = t.className;
|
|
163
|
+
return /* @__PURE__ */ s(
|
|
164
164
|
Ge.Panel,
|
|
165
165
|
{
|
|
166
166
|
ref: a,
|
|
@@ -172,7 +172,7 @@ const no = $(function({ overStyled: e = !1, ...s }, a) {
|
|
|
172
172
|
no.displayName = "AccordionPanel";
|
|
173
173
|
const lo = So;
|
|
174
174
|
lo.Item = xo;
|
|
175
|
-
lo.Control =
|
|
175
|
+
lo.Control = so;
|
|
176
176
|
lo.Panel = no;
|
|
177
177
|
const Aa = "Label-module__root___e6HXZ", Oa = "Label-module__labelText___rieFR", Wa = "Label-module__required___Ggrzc", La = "Label-module__optionalText___Y2yun", ka = "Label-module__actionAreaWrapper___ELoZK", Ia = "Label-module__editIconWrapper___NG2xW", X = {
|
|
178
178
|
root: Aa,
|
|
@@ -181,9 +181,9 @@ const Aa = "Label-module__root___e6HXZ", Oa = "Label-module__labelText___rieFR",
|
|
|
181
181
|
optionalText: La,
|
|
182
182
|
actionAreaWrapper: ka,
|
|
183
183
|
editIconWrapper: Ia
|
|
184
|
-
}, Ao =
|
|
184
|
+
}, Ao = h(function({
|
|
185
185
|
labelSize: e = "default",
|
|
186
|
-
labelAlignment:
|
|
186
|
+
labelAlignment: r,
|
|
187
187
|
required: a = !1,
|
|
188
188
|
labelOptionalText: t,
|
|
189
189
|
labelWithEditIcon: o,
|
|
@@ -193,32 +193,32 @@ const Aa = "Label-module__root___e6HXZ", Oa = "Label-module__labelText___rieFR",
|
|
|
193
193
|
overStyled: d = !1,
|
|
194
194
|
...p
|
|
195
195
|
}, _) {
|
|
196
|
-
const N =
|
|
196
|
+
const N = r || "left";
|
|
197
197
|
let u;
|
|
198
198
|
a || (t === !0 ? u = "optional" : t && (u = t));
|
|
199
|
-
const m =
|
|
199
|
+
const m = f(p, d), b = m, P = {
|
|
200
200
|
label: X.root,
|
|
201
201
|
required: X.required
|
|
202
|
-
},
|
|
203
|
-
if (
|
|
204
|
-
const A =
|
|
205
|
-
|
|
202
|
+
}, C = b.classNames;
|
|
203
|
+
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
204
|
+
const A = C;
|
|
205
|
+
P.label = A.label ? `${X.root} ${A.label}` : X.root, P.required = A.required ? `${X.required} ${A.required}` : X.required;
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const $ = b.className, y = $ ? `${X.root} ${$}` : X.root;
|
|
208
208
|
return /* @__PURE__ */ z(
|
|
209
209
|
Co.Label,
|
|
210
210
|
{
|
|
211
211
|
ref: _,
|
|
212
|
-
className:
|
|
213
|
-
classNames:
|
|
212
|
+
className: y,
|
|
213
|
+
classNames: P,
|
|
214
214
|
"data-size": e,
|
|
215
215
|
"data-alignment": N,
|
|
216
216
|
required: a && !o,
|
|
217
217
|
...m,
|
|
218
218
|
children: [
|
|
219
|
-
/* @__PURE__ */
|
|
220
|
-
u && /* @__PURE__ */
|
|
221
|
-
n ? /* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ s("span", { className: X.labelText, children: c }),
|
|
220
|
+
u && /* @__PURE__ */ s("span", { className: X.optionalText, children: typeof u == "string" ? `(${u})` : u }),
|
|
221
|
+
n ? /* @__PURE__ */ s("span", { className: X.actionAreaWrapper, children: n }) : o ? /* @__PURE__ */ s(
|
|
222
222
|
"button",
|
|
223
223
|
{
|
|
224
224
|
type: "button",
|
|
@@ -226,7 +226,7 @@ const Aa = "Label-module__root___e6HXZ", Oa = "Label-module__labelText___rieFR",
|
|
|
226
226
|
"data-replaces-asterisk": a ? "true" : void 0,
|
|
227
227
|
onClick: i,
|
|
228
228
|
"aria-label": "Edit",
|
|
229
|
-
children: /* @__PURE__ */
|
|
229
|
+
children: /* @__PURE__ */ s(
|
|
230
230
|
"svg",
|
|
231
231
|
{
|
|
232
232
|
width: "16",
|
|
@@ -234,7 +234,7 @@ const Aa = "Label-module__root___e6HXZ", Oa = "Label-module__labelText___rieFR",
|
|
|
234
234
|
viewBox: "0 0 16 16",
|
|
235
235
|
fill: "none",
|
|
236
236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
237
|
-
children: /* @__PURE__ */
|
|
237
|
+
children: /* @__PURE__ */ s(
|
|
238
238
|
"path",
|
|
239
239
|
{
|
|
240
240
|
d: "M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",
|
|
@@ -256,9 +256,9 @@ const Ma = "FormControlLayout-module__root___yNDhZ", za = "FormControlLayout-mod
|
|
|
256
256
|
root: Ma,
|
|
257
257
|
leftSection: za,
|
|
258
258
|
rightSection: Ra
|
|
259
|
-
}, Ne =
|
|
259
|
+
}, Ne = h(function({
|
|
260
260
|
formLayout: e = "stacked",
|
|
261
|
-
labelSize:
|
|
261
|
+
labelSize: r = "default",
|
|
262
262
|
controlMaxWidth: a,
|
|
263
263
|
controlMinWidth: t,
|
|
264
264
|
leftSection: o,
|
|
@@ -281,8 +281,8 @@ const Ma = "FormControlLayout-module__root___yNDhZ", za = "FormControlLayout-mod
|
|
|
281
281
|
},
|
|
282
282
|
...d,
|
|
283
283
|
children: [
|
|
284
|
-
u && /* @__PURE__ */
|
|
285
|
-
/* @__PURE__ */
|
|
284
|
+
u && /* @__PURE__ */ s("div", { className: Be.leftSection, "data-size": r, children: o }),
|
|
285
|
+
/* @__PURE__ */ s("div", { className: Be.rightSection, children: n })
|
|
286
286
|
]
|
|
287
287
|
}
|
|
288
288
|
);
|
|
@@ -303,12 +303,12 @@ const Ba = "AssistiveElement-module__root___WhQ43", Fa = "AssistiveElement-modul
|
|
|
303
303
|
strokeLinecap: "round",
|
|
304
304
|
strokeLinejoin: "round",
|
|
305
305
|
children: [
|
|
306
|
-
/* @__PURE__ */
|
|
307
|
-
/* @__PURE__ */
|
|
308
|
-
/* @__PURE__ */
|
|
306
|
+
/* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "10" }),
|
|
307
|
+
/* @__PURE__ */ s("path", { d: "M12 16v-4" }),
|
|
308
|
+
/* @__PURE__ */ s("path", { d: "M12 8h.01" })
|
|
309
309
|
]
|
|
310
310
|
}
|
|
311
|
-
),
|
|
311
|
+
), Da = () => /* @__PURE__ */ z(
|
|
312
312
|
"svg",
|
|
313
313
|
{
|
|
314
314
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -319,20 +319,20 @@ const Ba = "AssistiveElement-module__root___WhQ43", Fa = "AssistiveElement-modul
|
|
|
319
319
|
strokeLinecap: "round",
|
|
320
320
|
strokeLinejoin: "round",
|
|
321
321
|
children: [
|
|
322
|
-
/* @__PURE__ */
|
|
323
|
-
/* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ s("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
|
|
323
|
+
/* @__PURE__ */ s("path", { d: "M12 9v4" }),
|
|
324
|
+
/* @__PURE__ */ s("path", { d: "M12 17h.01" })
|
|
325
325
|
]
|
|
326
326
|
}
|
|
327
|
-
), Qe =
|
|
327
|
+
), Qe = h(function({
|
|
328
328
|
assistiveVariant: e = "help",
|
|
329
|
-
assistiveWithIcon:
|
|
329
|
+
assistiveWithIcon: r = !0,
|
|
330
330
|
children: a,
|
|
331
331
|
className: t,
|
|
332
332
|
overStyled: o = !1,
|
|
333
333
|
...n
|
|
334
334
|
}, i) {
|
|
335
|
-
const d =
|
|
335
|
+
const d = f(n, o), p = Xe.root, _ = t ? `${p} ${t}` : p, N = e === "error" ? Da : Va;
|
|
336
336
|
return /* @__PURE__ */ z(
|
|
337
337
|
"div",
|
|
338
338
|
{
|
|
@@ -342,19 +342,19 @@ const Ba = "AssistiveElement-module__root___WhQ43", Fa = "AssistiveElement-modul
|
|
|
342
342
|
style: d.style,
|
|
343
343
|
...d,
|
|
344
344
|
children: [
|
|
345
|
-
|
|
346
|
-
/* @__PURE__ */
|
|
345
|
+
r && /* @__PURE__ */ s("span", { className: Xe.iconWrapper, children: /* @__PURE__ */ s(N, {}) }),
|
|
346
|
+
/* @__PURE__ */ s("span", { className: Xe.textWrapper, children: a })
|
|
347
347
|
]
|
|
348
348
|
}
|
|
349
349
|
);
|
|
350
350
|
});
|
|
351
351
|
Qe.displayName = "AssistiveElement";
|
|
352
|
-
const
|
|
353
|
-
root:
|
|
352
|
+
const ja = "FormControlWrapper-module__root___c-UHo", Ga = "FormControlWrapper-module__inputSection___HenXk", yo = {
|
|
353
|
+
root: ja,
|
|
354
354
|
inputSection: Ga
|
|
355
|
-
},
|
|
355
|
+
}, De = h(function({
|
|
356
356
|
formLayout: e,
|
|
357
|
-
labelSize:
|
|
357
|
+
labelSize: r,
|
|
358
358
|
labelAlignment: a,
|
|
359
359
|
labelOptionalText: t,
|
|
360
360
|
labelWithEditIcon: o,
|
|
@@ -367,23 +367,23 @@ const Da = "FormControlWrapper-module__root___c-UHo", Ga = "FormControlWrapper-m
|
|
|
367
367
|
controlMaxWidth: N,
|
|
368
368
|
controlMinWidth: u,
|
|
369
369
|
error: m,
|
|
370
|
-
required:
|
|
371
|
-
withAsterisk:
|
|
372
|
-
id:
|
|
373
|
-
children:
|
|
374
|
-
className:
|
|
370
|
+
required: b,
|
|
371
|
+
withAsterisk: P,
|
|
372
|
+
id: C,
|
|
373
|
+
children: $,
|
|
374
|
+
className: y,
|
|
375
375
|
overStyled: A = !1,
|
|
376
376
|
labelElement: v,
|
|
377
377
|
// Extracted safely preventing bleeding into HTML domains
|
|
378
378
|
...I
|
|
379
379
|
}, x) {
|
|
380
|
-
const S = Ut(), O =
|
|
381
|
-
|
|
380
|
+
const S = Ut(), O = C || `recursica-fc-${S}`, W = p || d, w = W ? `${O}-assistive` : void 0, g = m ? `${O}-error` : void 0, R = f(I, A), T = y || R.className, he = yo.root, $e = T ? `${he} ${T}` : he, U = j.isValidElement($) ? j.cloneElement(
|
|
381
|
+
$,
|
|
382
382
|
{
|
|
383
|
-
...W &&
|
|
384
|
-
...m &&
|
|
383
|
+
...W && !$.props["aria-describedby"] ? { "aria-describedby": w } : {},
|
|
384
|
+
...m && !$.props["aria-errormessage"] ? { "aria-errormessage": g } : {}
|
|
385
385
|
}
|
|
386
|
-
) :
|
|
386
|
+
) : $, Ye = c ? /* @__PURE__ */ s(
|
|
387
387
|
Ao,
|
|
388
388
|
{
|
|
389
389
|
id: O,
|
|
@@ -392,34 +392,34 @@ const Da = "FormControlWrapper-module__root___c-UHo", Ga = "FormControlWrapper-m
|
|
|
392
392
|
labelWithEditIcon: o,
|
|
393
393
|
labelActionArea: n,
|
|
394
394
|
onLabelEditClick: i,
|
|
395
|
-
required:
|
|
395
|
+
required: P ?? b,
|
|
396
396
|
...v === "div" ? { as: "div" } : {},
|
|
397
397
|
children: c
|
|
398
398
|
}
|
|
399
399
|
) : void 0;
|
|
400
|
-
return /* @__PURE__ */
|
|
400
|
+
return /* @__PURE__ */ s(
|
|
401
401
|
Ne,
|
|
402
402
|
{
|
|
403
403
|
ref: x,
|
|
404
404
|
className: $e,
|
|
405
405
|
formLayout: e,
|
|
406
|
-
labelSize:
|
|
406
|
+
labelSize: r,
|
|
407
407
|
controlMaxWidth: N,
|
|
408
408
|
controlMinWidth: u,
|
|
409
409
|
leftSection: Ye,
|
|
410
410
|
...R,
|
|
411
411
|
children: /* @__PURE__ */ z("div", { className: yo.inputSection, children: [
|
|
412
412
|
U,
|
|
413
|
-
m && /* @__PURE__ */
|
|
413
|
+
m && /* @__PURE__ */ s(
|
|
414
414
|
Qe,
|
|
415
415
|
{
|
|
416
|
-
id:
|
|
416
|
+
id: g,
|
|
417
417
|
assistiveVariant: "error",
|
|
418
418
|
assistiveWithIcon: _,
|
|
419
419
|
children: m
|
|
420
420
|
}
|
|
421
421
|
),
|
|
422
|
-
!m && W && /* @__PURE__ */
|
|
422
|
+
!m && W && /* @__PURE__ */ s(
|
|
423
423
|
Qe,
|
|
424
424
|
{
|
|
425
425
|
id: w,
|
|
@@ -432,13 +432,13 @@ const Da = "FormControlWrapper-module__root___c-UHo", Ga = "FormControlWrapper-m
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
});
|
|
435
|
-
|
|
435
|
+
De.displayName = "FormControlWrapper";
|
|
436
436
|
const Ha = "_root_1qhn7_3", qa = "_contents_1qhn7_18", Te = {
|
|
437
437
|
root: Ha,
|
|
438
438
|
contents: qa
|
|
439
|
-
}, Ua =
|
|
439
|
+
}, Ua = h(function({ layer: l, contentsOnly: e, children: r, className: a, style: t, ...o }, n) {
|
|
440
440
|
const i = e ? a ? `${Te.root} ${Te.contents} ${a}` : `${Te.root} ${Te.contents}` : a ? `${Te.root} ${a}` : Te.root;
|
|
441
|
-
return /* @__PURE__ */
|
|
441
|
+
return /* @__PURE__ */ s(
|
|
442
442
|
"div",
|
|
443
443
|
{
|
|
444
444
|
ref: n,
|
|
@@ -446,50 +446,98 @@ const Ha = "_root_1qhn7_3", qa = "_contents_1qhn7_18", Te = {
|
|
|
446
446
|
style: t,
|
|
447
447
|
...e ? {} : { "data-recursica-layer": String(l) },
|
|
448
448
|
...o,
|
|
449
|
-
children:
|
|
449
|
+
children: r
|
|
450
450
|
}
|
|
451
451
|
);
|
|
452
452
|
});
|
|
453
453
|
Ua.displayName = "Layer";
|
|
454
|
-
const
|
|
455
|
-
|
|
456
|
-
|
|
454
|
+
const je = ({ emptyText: l = "N/A" }) => /* @__PURE__ */ s(j.Fragment, { children: l });
|
|
455
|
+
je.displayName = "EmptyValueRenderer";
|
|
456
|
+
je.check = (l) => l == null || l === "" || Array.isArray(l) && l.length === 0;
|
|
457
457
|
const No = "data-recursica-theme";
|
|
458
458
|
function Hl({
|
|
459
459
|
children: l,
|
|
460
460
|
theme: e = "light"
|
|
461
461
|
}) {
|
|
462
462
|
return vo(() => {
|
|
463
|
-
const
|
|
464
|
-
return
|
|
465
|
-
|
|
463
|
+
const r = document.documentElement;
|
|
464
|
+
return r.setAttribute(No, e), () => {
|
|
465
|
+
r.removeAttribute(No);
|
|
466
466
|
};
|
|
467
|
-
}, [e]), /* @__PURE__ */
|
|
467
|
+
}, [e]), /* @__PURE__ */ s(xe, { children: l });
|
|
468
468
|
}
|
|
469
|
-
const
|
|
469
|
+
const ql = [
|
|
470
|
+
"Accordion",
|
|
471
|
+
"AssistiveElement",
|
|
472
|
+
"Autocomplete",
|
|
473
|
+
"Avatar",
|
|
474
|
+
"Badge",
|
|
475
|
+
"Breadcrumb",
|
|
476
|
+
"Button",
|
|
477
|
+
"Card",
|
|
478
|
+
"Checkbox",
|
|
479
|
+
"Chip",
|
|
480
|
+
"Container",
|
|
481
|
+
"DatePicker",
|
|
482
|
+
"Dropdown",
|
|
483
|
+
"EmptyValueRenderer",
|
|
484
|
+
"Flex",
|
|
485
|
+
"FormControlLayout",
|
|
486
|
+
"FormControlWrapper",
|
|
487
|
+
"Group",
|
|
488
|
+
"HoverCard",
|
|
489
|
+
"Label",
|
|
490
|
+
"Layer",
|
|
491
|
+
"Link",
|
|
492
|
+
"Loader",
|
|
493
|
+
"Menu",
|
|
494
|
+
"Modal",
|
|
495
|
+
"NumberInput",
|
|
496
|
+
"Pagination",
|
|
497
|
+
"Panel",
|
|
498
|
+
"Popover",
|
|
499
|
+
"Radio",
|
|
500
|
+
"ReadOnlyField",
|
|
501
|
+
"SegmentedControl",
|
|
502
|
+
"Slider",
|
|
503
|
+
"Stack",
|
|
504
|
+
"Stepper",
|
|
505
|
+
"Switch",
|
|
506
|
+
"Table",
|
|
507
|
+
"Tabs",
|
|
508
|
+
"Text",
|
|
509
|
+
"TextArea",
|
|
510
|
+
"TextField",
|
|
511
|
+
"TimePicker",
|
|
512
|
+
"Timeline",
|
|
513
|
+
"Title",
|
|
514
|
+
"Toast",
|
|
515
|
+
"Tooltip",
|
|
516
|
+
"TransferList"
|
|
517
|
+
], Za = "ReadOnlyField-module__layoutOverride___9fSsG", Ya = "ReadOnlyField-module__textField___qKn25", Se = {
|
|
470
518
|
layoutOverride: Za,
|
|
471
519
|
textField: Ya
|
|
472
520
|
}, Ee = ({
|
|
473
521
|
value: l,
|
|
474
522
|
overStyled: e = !1,
|
|
475
|
-
...
|
|
523
|
+
...r
|
|
476
524
|
}) => {
|
|
477
|
-
const a =
|
|
478
|
-
return /* @__PURE__ */
|
|
525
|
+
const a = f(r, e), t = a.className;
|
|
526
|
+
return /* @__PURE__ */ s(
|
|
479
527
|
eo,
|
|
480
528
|
{
|
|
481
529
|
component: "p",
|
|
482
530
|
className: t ? `${Se.textField} ${t}` : Se.textField,
|
|
483
531
|
...a,
|
|
484
|
-
children: l != null ?
|
|
532
|
+
children: l != null ? j.isValidElement(l) ? l : Array.isArray(l) ? l.join(", ") : String(l) : ""
|
|
485
533
|
}
|
|
486
534
|
);
|
|
487
535
|
};
|
|
488
536
|
Ee.displayName = "ReadOnlyTextField";
|
|
489
|
-
const Oo =
|
|
537
|
+
const Oo = h(
|
|
490
538
|
function({
|
|
491
539
|
value: e,
|
|
492
|
-
type:
|
|
540
|
+
type: r = "text",
|
|
493
541
|
emptyValueComponent: a,
|
|
494
542
|
overStyled: t = !1,
|
|
495
543
|
className: o,
|
|
@@ -497,10 +545,10 @@ const Oo = $(
|
|
|
497
545
|
...i
|
|
498
546
|
}, c) {
|
|
499
547
|
let d = null;
|
|
500
|
-
const p =
|
|
501
|
-
switch (
|
|
548
|
+
const p = f(i, t), _ = a || je, u = (_.check ? _.check(e) : je.check(e)) ? /* @__PURE__ */ s(_, { value: e }) : e;
|
|
549
|
+
switch (r) {
|
|
502
550
|
case "boolean":
|
|
503
|
-
d = /* @__PURE__ */
|
|
551
|
+
d = /* @__PURE__ */ s(
|
|
504
552
|
Ee,
|
|
505
553
|
{
|
|
506
554
|
value: e === !0 ? "True" : e === !1 ? "False" : u,
|
|
@@ -509,7 +557,7 @@ const Oo = $(
|
|
|
509
557
|
);
|
|
510
558
|
break;
|
|
511
559
|
case "switch":
|
|
512
|
-
d = /* @__PURE__ */
|
|
560
|
+
d = /* @__PURE__ */ s(
|
|
513
561
|
Ee,
|
|
514
562
|
{
|
|
515
563
|
value: e === !0 ? "On" : e === !1 ? "Off" : u,
|
|
@@ -519,7 +567,7 @@ const Oo = $(
|
|
|
519
567
|
break;
|
|
520
568
|
case "text":
|
|
521
569
|
default:
|
|
522
|
-
d = /* @__PURE__ */
|
|
570
|
+
d = /* @__PURE__ */ s(
|
|
523
571
|
Ee,
|
|
524
572
|
{
|
|
525
573
|
value: u,
|
|
@@ -529,8 +577,8 @@ const Oo = $(
|
|
|
529
577
|
break;
|
|
530
578
|
}
|
|
531
579
|
const m = o ? `${Se.layoutOverride} ${o}` : Se.layoutOverride;
|
|
532
|
-
return /* @__PURE__ */
|
|
533
|
-
|
|
580
|
+
return /* @__PURE__ */ s(
|
|
581
|
+
De,
|
|
534
582
|
{
|
|
535
583
|
ref: c,
|
|
536
584
|
overStyled: t,
|
|
@@ -543,9 +591,9 @@ const Oo = $(
|
|
|
543
591
|
}
|
|
544
592
|
);
|
|
545
593
|
Oo.displayName = "ReadOnlyField";
|
|
546
|
-
const oe =
|
|
594
|
+
const oe = h(function({
|
|
547
595
|
readOnly: e,
|
|
548
|
-
readOnlyComponent:
|
|
596
|
+
readOnlyComponent: r,
|
|
549
597
|
readOnlyType: a = "text",
|
|
550
598
|
readOnlyValue: t,
|
|
551
599
|
readOnlyNativeProps: o,
|
|
@@ -555,16 +603,16 @@ const oe = $(function({
|
|
|
555
603
|
onLabelEditClick: d,
|
|
556
604
|
...p
|
|
557
605
|
}, _) {
|
|
558
|
-
return e ?
|
|
559
|
-
|
|
606
|
+
return e ? r ? /* @__PURE__ */ s(
|
|
607
|
+
De,
|
|
560
608
|
{
|
|
561
609
|
ref: _,
|
|
562
610
|
...p,
|
|
563
611
|
onLabelEditClick: d,
|
|
564
612
|
overStyled: c,
|
|
565
|
-
children: /* @__PURE__ */ r
|
|
613
|
+
children: /* @__PURE__ */ s(r, { ...o })
|
|
566
614
|
}
|
|
567
|
-
) : /* @__PURE__ */
|
|
615
|
+
) : /* @__PURE__ */ s(
|
|
568
616
|
Oo,
|
|
569
617
|
{
|
|
570
618
|
ref: _,
|
|
@@ -575,8 +623,8 @@ const oe = $(function({
|
|
|
575
623
|
overStyled: c,
|
|
576
624
|
...p
|
|
577
625
|
}
|
|
578
|
-
) : /* @__PURE__ */
|
|
579
|
-
|
|
626
|
+
) : /* @__PURE__ */ s(
|
|
627
|
+
De,
|
|
580
628
|
{
|
|
581
629
|
ref: _,
|
|
582
630
|
...p,
|
|
@@ -587,15 +635,15 @@ const oe = $(function({
|
|
|
587
635
|
);
|
|
588
636
|
});
|
|
589
637
|
oe.displayName = "WithReadOnlyWrapper";
|
|
590
|
-
const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-module__root___kANza", Ja = "AutoComplete-module__input___g51MC", Qa = "AutoComplete-module__section___WAbf1",
|
|
638
|
+
const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-module__root___kANza", Ja = "AutoComplete-module__input___g51MC", Qa = "AutoComplete-module__section___WAbf1", er = "AutoComplete-module__dropdown___NqO3E", or = "AutoComplete-module__option___Y-Kja", V = {
|
|
591
639
|
layoutOverride: Ka,
|
|
592
640
|
root: Xa,
|
|
593
641
|
input: Ja,
|
|
594
642
|
section: Qa,
|
|
595
|
-
dropdown:
|
|
596
|
-
option:
|
|
597
|
-
},
|
|
598
|
-
function(e,
|
|
643
|
+
dropdown: er,
|
|
644
|
+
option: or
|
|
645
|
+
}, tr = h(
|
|
646
|
+
function(e, r) {
|
|
599
647
|
const {
|
|
600
648
|
overStyled: a = !1,
|
|
601
649
|
formLayout: t = "stacked",
|
|
@@ -610,20 +658,20 @@ const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-mod
|
|
|
610
658
|
assistiveWithIcon: N,
|
|
611
659
|
error: u,
|
|
612
660
|
required: m,
|
|
613
|
-
withAsterisk:
|
|
614
|
-
id:
|
|
615
|
-
className:
|
|
616
|
-
style:
|
|
617
|
-
disabled:
|
|
661
|
+
withAsterisk: b,
|
|
662
|
+
id: P,
|
|
663
|
+
className: C,
|
|
664
|
+
style: $,
|
|
665
|
+
disabled: y,
|
|
618
666
|
readOnly: A,
|
|
619
667
|
readOnlyComponent: v,
|
|
620
668
|
emptyValueComponent: I,
|
|
621
669
|
value: x,
|
|
622
670
|
defaultValue: S,
|
|
623
671
|
...O
|
|
624
|
-
} = e, W =
|
|
672
|
+
} = e, W = f(O, a), w = W;
|
|
625
673
|
delete w.size, delete w.variant, delete w.radius;
|
|
626
|
-
const
|
|
674
|
+
const g = {
|
|
627
675
|
wrapper: V.root,
|
|
628
676
|
// The nested Input internal relative wrapper bounding box
|
|
629
677
|
input: V.input,
|
|
@@ -632,15 +680,15 @@ const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-mod
|
|
|
632
680
|
option: V.option
|
|
633
681
|
}, L = w.classNames;
|
|
634
682
|
if (L && typeof L == "object" && !Array.isArray(L)) {
|
|
635
|
-
const
|
|
636
|
-
|
|
683
|
+
const T = L;
|
|
684
|
+
g.wrapper = T.wrapper ? `${V.root} ${T.wrapper}` : V.root, g.input = T.input ? `${V.input} ${T.input}` : V.input, g.section = T.section ? `${V.section} ${T.section}` : V.section, g.dropdown = T.dropdown ? `${V.dropdown} ${T.dropdown}` : V.dropdown, g.option = T.option ? `${V.option} ${T.option}` : V.option;
|
|
637
685
|
}
|
|
638
|
-
const R =
|
|
639
|
-
return /* @__PURE__ */
|
|
686
|
+
const R = C ? `${V.layoutOverride} ${C}` : V.layoutOverride;
|
|
687
|
+
return /* @__PURE__ */ s(
|
|
640
688
|
oe,
|
|
641
689
|
{
|
|
642
690
|
className: R,
|
|
643
|
-
style:
|
|
691
|
+
style: $,
|
|
644
692
|
controlMaxWidth: "var(--recursica_ui-kit_components_autocomplete_properties_max-width)",
|
|
645
693
|
controlMinWidth: "var(--recursica_ui-kit_components_autocomplete_properties_min-width)",
|
|
646
694
|
overStyled: a,
|
|
@@ -655,8 +703,8 @@ const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-mod
|
|
|
655
703
|
assistiveWithIcon: N,
|
|
656
704
|
error: u,
|
|
657
705
|
required: m,
|
|
658
|
-
withAsterisk:
|
|
659
|
-
id:
|
|
706
|
+
withAsterisk: b,
|
|
707
|
+
id: P,
|
|
660
708
|
readOnly: A,
|
|
661
709
|
readOnlyComponent: v,
|
|
662
710
|
emptyValueComponent: I,
|
|
@@ -665,16 +713,16 @@ const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-mod
|
|
|
665
713
|
readOnlyNativeProps: e,
|
|
666
714
|
activeComponent: (
|
|
667
715
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
668
|
-
/* @__PURE__ */
|
|
716
|
+
/* @__PURE__ */ s(
|
|
669
717
|
Zt,
|
|
670
718
|
{
|
|
671
|
-
ref:
|
|
672
|
-
classNames:
|
|
673
|
-
disabled:
|
|
719
|
+
ref: r,
|
|
720
|
+
classNames: g,
|
|
721
|
+
disabled: y,
|
|
674
722
|
value: x,
|
|
675
723
|
defaultValue: S,
|
|
676
724
|
wrapperProps: {
|
|
677
|
-
"data-disabled":
|
|
725
|
+
"data-disabled": y ? "true" : void 0,
|
|
678
726
|
"data-error": u ? "true" : void 0
|
|
679
727
|
},
|
|
680
728
|
...W
|
|
@@ -685,16 +733,16 @@ const Ka = "AutoComplete-module__layoutOverride___-K9WL", Xa = "AutoComplete-mod
|
|
|
685
733
|
);
|
|
686
734
|
}
|
|
687
735
|
);
|
|
688
|
-
|
|
689
|
-
const
|
|
690
|
-
root:
|
|
691
|
-
iconWrapper:
|
|
692
|
-
textWrapper:
|
|
693
|
-
image:
|
|
694
|
-
placeholder:
|
|
695
|
-
}, Wo =
|
|
736
|
+
tr.displayName = "AutoComplete";
|
|
737
|
+
const ar = "Avatar-module__root___fXu-J", rr = "Avatar-module__iconWrapper___ojly2", sr = "Avatar-module__textWrapper___zp-jD", nr = "Avatar-module__image___ieqGp", lr = "Avatar-module__placeholder___IDW7-", Q = {
|
|
738
|
+
root: ar,
|
|
739
|
+
iconWrapper: rr,
|
|
740
|
+
textWrapper: sr,
|
|
741
|
+
image: nr,
|
|
742
|
+
placeholder: lr
|
|
743
|
+
}, Wo = h(function({
|
|
696
744
|
size: e = "default",
|
|
697
|
-
variant:
|
|
745
|
+
variant: r = "solid",
|
|
698
746
|
icon: a,
|
|
699
747
|
children: t,
|
|
700
748
|
src: o,
|
|
@@ -709,51 +757,51 @@ const as = "Avatar-module__root___fXu-J", ss = "Avatar-module__iconWrapper___ojl
|
|
|
709
757
|
default: "md",
|
|
710
758
|
small: "sm",
|
|
711
759
|
large: "lg"
|
|
712
|
-
}, _ =
|
|
760
|
+
}, _ = f(i, n), N = _;
|
|
713
761
|
let u = "text";
|
|
714
762
|
o ? u = "image" : a && (u = "icon");
|
|
715
763
|
const m = {
|
|
716
764
|
root: Q.root,
|
|
717
765
|
image: Q.image,
|
|
718
766
|
placeholder: Q.placeholder
|
|
719
|
-
},
|
|
720
|
-
if (
|
|
721
|
-
const
|
|
722
|
-
m.root =
|
|
767
|
+
}, b = N.classNames;
|
|
768
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
769
|
+
const C = b;
|
|
770
|
+
m.root = C.root ? `${Q.root} ${C.root}` : Q.root, m.image = C.image ? `${Q.image} ${C.image}` : Q.image, m.placeholder = C.placeholder ? `${Q.placeholder} ${C.placeholder}` : Q.placeholder;
|
|
723
771
|
}
|
|
724
|
-
const
|
|
725
|
-
return /* @__PURE__ */
|
|
772
|
+
const P = N.className;
|
|
773
|
+
return /* @__PURE__ */ s(
|
|
726
774
|
Yt,
|
|
727
775
|
{
|
|
728
776
|
ref: c,
|
|
729
|
-
className:
|
|
777
|
+
className: P,
|
|
730
778
|
classNames: m,
|
|
731
|
-
variant: d[
|
|
779
|
+
variant: d[r],
|
|
732
780
|
size: p[e],
|
|
733
781
|
src: o,
|
|
734
|
-
"data-variant":
|
|
782
|
+
"data-variant": r,
|
|
735
783
|
"data-size": e,
|
|
736
784
|
"data-style": u,
|
|
737
785
|
..._,
|
|
738
|
-
children: a != null ? /* @__PURE__ */
|
|
786
|
+
children: a != null ? /* @__PURE__ */ s("span", { className: Q.iconWrapper, "aria-hidden": !0, children: a }) : t != null ? /* @__PURE__ */ s("span", { className: Q.textWrapper, children: t }) : void 0
|
|
739
787
|
}
|
|
740
788
|
);
|
|
741
789
|
});
|
|
742
790
|
Wo.displayName = "Avatar";
|
|
743
|
-
const
|
|
744
|
-
root:
|
|
745
|
-
}, Lo =
|
|
746
|
-
const o =
|
|
747
|
-
root:
|
|
748
|
-
section:
|
|
749
|
-
label:
|
|
791
|
+
const Ul = te(Wo), ir = "Badge-module__root___5osNT", re = {
|
|
792
|
+
root: ir
|
|
793
|
+
}, Lo = h(function({ variant: e = "primary-color", overStyled: r = !1, ...a }, t) {
|
|
794
|
+
const o = f(a, r), n = {
|
|
795
|
+
root: re.root,
|
|
796
|
+
section: re.section,
|
|
797
|
+
label: re.label
|
|
750
798
|
}, i = o.classNames;
|
|
751
799
|
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
752
800
|
const p = i;
|
|
753
|
-
n.root = p.root ? `${
|
|
801
|
+
n.root = p.root ? `${re.root} ${p.root}` : re.root, n.section = p.section ?? re.section, n.label = p.label ?? re.label;
|
|
754
802
|
}
|
|
755
|
-
const c = o.className, d = c ? `${
|
|
756
|
-
return /* @__PURE__ */
|
|
803
|
+
const c = o.className, d = c ? `${re.root} ${c}` : re.root;
|
|
804
|
+
return /* @__PURE__ */ s(
|
|
757
805
|
Kt,
|
|
758
806
|
{
|
|
759
807
|
ref: t,
|
|
@@ -766,13 +814,13 @@ const ql = te(Wo), is = "Badge-module__root___5osNT", se = {
|
|
|
766
814
|
);
|
|
767
815
|
});
|
|
768
816
|
Lo.displayName = "Badge";
|
|
769
|
-
const
|
|
770
|
-
root:
|
|
771
|
-
separator:
|
|
772
|
-
},
|
|
773
|
-
function({ overStyled: e = !1, separator:
|
|
774
|
-
const o =
|
|
775
|
-
{ separator:
|
|
817
|
+
const Zl = te(Lo), cr = "Breadcrumb-module__root___x-9ln", dr = "Breadcrumb-module__separator___qrUX-", me = {
|
|
818
|
+
root: cr,
|
|
819
|
+
separator: dr
|
|
820
|
+
}, pr = h(
|
|
821
|
+
function({ overStyled: e = !1, separator: r = ">", ...a }, t) {
|
|
822
|
+
const o = f(
|
|
823
|
+
{ separator: r, ...a },
|
|
776
824
|
e
|
|
777
825
|
), n = {
|
|
778
826
|
root: me.root,
|
|
@@ -783,7 +831,7 @@ const Ul = te(Lo), cs = "Breadcrumb-module__root___x-9ln", ds = "Breadcrumb-modu
|
|
|
783
831
|
n.root = p.root ? `${me.root} ${p.root}` : me.root, n.separator = p.separator ? `${me.separator} ${p.separator}` : me.separator;
|
|
784
832
|
}
|
|
785
833
|
const c = o.className, d = c ? `${me.root} ${c}` : me.root;
|
|
786
|
-
return /* @__PURE__ */
|
|
834
|
+
return /* @__PURE__ */ s(
|
|
787
835
|
Xt,
|
|
788
836
|
{
|
|
789
837
|
ref: t,
|
|
@@ -794,10 +842,10 @@ const Ul = te(Lo), cs = "Breadcrumb-module__root___x-9ln", ds = "Breadcrumb-modu
|
|
|
794
842
|
);
|
|
795
843
|
}
|
|
796
844
|
);
|
|
797
|
-
|
|
798
|
-
const
|
|
799
|
-
root:
|
|
800
|
-
}, ko =
|
|
845
|
+
pr.displayName = "Breadcrumb";
|
|
846
|
+
const _r = "Loader-module__root___6iYOP", We = {
|
|
847
|
+
root: _r
|
|
848
|
+
}, ko = h(function({ variant: e = "oval", size: r = "default", overStyled: a = !1, ...t }, o) {
|
|
801
849
|
const i = {
|
|
802
850
|
sm: "small",
|
|
803
851
|
md: "default",
|
|
@@ -805,7 +853,7 @@ const _s = "Loader-module__root___6iYOP", We = {
|
|
|
805
853
|
small: "small",
|
|
806
854
|
default: "default",
|
|
807
855
|
large: "large"
|
|
808
|
-
}[
|
|
856
|
+
}[r] || "default", c = f(t, a), d = {
|
|
809
857
|
root: We.root
|
|
810
858
|
}, p = c.classNames;
|
|
811
859
|
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
@@ -813,7 +861,7 @@ const _s = "Loader-module__root___6iYOP", We = {
|
|
|
813
861
|
d.root = u.root ? `${We.root} ${u.root}` : We.root;
|
|
814
862
|
}
|
|
815
863
|
const _ = c.className, N = _ ? `${We.root} ${_}` : We.root;
|
|
816
|
-
return /* @__PURE__ */
|
|
864
|
+
return /* @__PURE__ */ s(
|
|
817
865
|
Jt,
|
|
818
866
|
{
|
|
819
867
|
ref: o,
|
|
@@ -827,20 +875,20 @@ const _s = "Loader-module__root___6iYOP", We = {
|
|
|
827
875
|
);
|
|
828
876
|
});
|
|
829
877
|
ko.displayName = "Loader";
|
|
830
|
-
const
|
|
831
|
-
root:
|
|
832
|
-
loader:
|
|
833
|
-
label:
|
|
834
|
-
labelText:
|
|
835
|
-
iconWrapper:
|
|
836
|
-
section:
|
|
878
|
+
const mr = "Button-module__root___Q2R8-", ur = "Button-module__loader___X-9u-", br = "Button-module__label___UJ3Zt", yr = "Button-module__labelText___rFV5p", Nr = "Button-module__iconWrapper___uEKPa", fr = "Button-module__section___f2mKr", J = {
|
|
879
|
+
root: mr,
|
|
880
|
+
loader: ur,
|
|
881
|
+
label: br,
|
|
882
|
+
labelText: yr,
|
|
883
|
+
iconWrapper: Nr,
|
|
884
|
+
section: fr
|
|
837
885
|
};
|
|
838
|
-
function
|
|
886
|
+
function hr(l) {
|
|
839
887
|
return l == null || l === "" ? !1 : typeof l == "string" ? l.trim() !== "" : !0;
|
|
840
888
|
}
|
|
841
|
-
const Io =
|
|
889
|
+
const Io = h(function({
|
|
842
890
|
variant: e = "solid",
|
|
843
|
-
size:
|
|
891
|
+
size: r = "default",
|
|
844
892
|
icon: a,
|
|
845
893
|
children: t,
|
|
846
894
|
overStyled: o = !1,
|
|
@@ -856,11 +904,11 @@ const Io = $(function({
|
|
|
856
904
|
}, N = {
|
|
857
905
|
default: "md",
|
|
858
906
|
small: "sm"
|
|
859
|
-
}, u =
|
|
907
|
+
}, u = f(d, o), m = u;
|
|
860
908
|
delete m.fullWidth;
|
|
861
|
-
const
|
|
862
|
-
let
|
|
863
|
-
|
|
909
|
+
const b = !!a || !!m.leftSection, P = !!m.rightSection, C = hr(t), $ = (b || P) && !C;
|
|
910
|
+
let y = "label";
|
|
911
|
+
$ ? y = "icon-only" : (b || P) && (y = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !m["aria-label"] && console.warn(
|
|
864
912
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
865
913
|
);
|
|
866
914
|
const A = {
|
|
@@ -873,41 +921,41 @@ const Io = $(function({
|
|
|
873
921
|
const w = v;
|
|
874
922
|
A.root = w.root ? `${J.root} ${w.root}` : J.root, A.section = w.section ?? J.section, A.label = w.label ?? J.label;
|
|
875
923
|
}
|
|
876
|
-
const I = m.className, x = I ? `${J.root} ${I}` : J.root, S = m.loaderProps, O = i ?? (
|
|
924
|
+
const I = m.className, x = I ? `${J.root} ${I}` : J.root, S = m.loaderProps, O = i ?? (r === "small" ? "small" : "default");
|
|
877
925
|
let W = S;
|
|
878
926
|
return c && (W = {
|
|
879
|
-
children: /* @__PURE__ */
|
|
927
|
+
children: /* @__PURE__ */ s(ko, { variant: n, size: O }),
|
|
880
928
|
...S
|
|
881
|
-
}), /* @__PURE__ */
|
|
929
|
+
}), /* @__PURE__ */ s(
|
|
882
930
|
Qt,
|
|
883
931
|
{
|
|
884
932
|
ref: p,
|
|
885
933
|
className: x,
|
|
886
934
|
classNames: A,
|
|
887
935
|
variant: _[e],
|
|
888
|
-
size: N[
|
|
936
|
+
size: N[r],
|
|
889
937
|
loaderProps: W,
|
|
890
|
-
leftSection: a != null ? /* @__PURE__ */
|
|
938
|
+
leftSection: a != null ? /* @__PURE__ */ s("span", { className: J.iconWrapper, "aria-hidden": !0, children: a }) : void 0,
|
|
891
939
|
"data-variant": e,
|
|
892
|
-
"data-size":
|
|
893
|
-
"data-content":
|
|
940
|
+
"data-size": r,
|
|
941
|
+
"data-content": y,
|
|
894
942
|
...u,
|
|
895
943
|
disabled: !!m.disabled || !!m.loading,
|
|
896
|
-
children: /* @__PURE__ */
|
|
944
|
+
children: /* @__PURE__ */ s("span", { className: J.labelText, children: t })
|
|
897
945
|
}
|
|
898
946
|
);
|
|
899
947
|
});
|
|
900
948
|
Io.displayName = "Button";
|
|
901
|
-
const
|
|
949
|
+
const Yl = te(
|
|
902
950
|
Io
|
|
903
|
-
), $
|
|
904
|
-
root: $
|
|
905
|
-
header:
|
|
906
|
-
footer:
|
|
907
|
-
section:
|
|
908
|
-
content:
|
|
909
|
-
}, Mo =
|
|
910
|
-
const t =
|
|
951
|
+
), $r = "Card-module__root___c9KvZ", vr = "Card-module__header___PTXf2", Cr = "Card-module__footer___Mu-JC", Pr = "Card-module__section___BRT8H", wr = "Card-module__content___oFIQa", le = {
|
|
952
|
+
root: $r,
|
|
953
|
+
header: vr,
|
|
954
|
+
footer: Cr,
|
|
955
|
+
section: Pr,
|
|
956
|
+
content: wr
|
|
957
|
+
}, Mo = h(function({ overStyled: e = !1, ...r }, a) {
|
|
958
|
+
const t = f(r, e), o = {
|
|
911
959
|
root: le.root
|
|
912
960
|
}, n = t.classNames;
|
|
913
961
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
@@ -917,7 +965,7 @@ const Zl = te(
|
|
|
917
965
|
});
|
|
918
966
|
}
|
|
919
967
|
const i = t.className;
|
|
920
|
-
return /* @__PURE__ */
|
|
968
|
+
return /* @__PURE__ */ s(
|
|
921
969
|
He,
|
|
922
970
|
{
|
|
923
971
|
ref: a,
|
|
@@ -928,10 +976,10 @@ const Zl = te(
|
|
|
928
976
|
);
|
|
929
977
|
});
|
|
930
978
|
Mo.displayName = "Card";
|
|
931
|
-
const zo =
|
|
932
|
-
function({ overStyled: e = !1, ...
|
|
933
|
-
const t =
|
|
934
|
-
return /* @__PURE__ */
|
|
979
|
+
const zo = h(
|
|
980
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
981
|
+
const t = f(r, e), o = t.className;
|
|
982
|
+
return /* @__PURE__ */ s(
|
|
935
983
|
He.Section,
|
|
936
984
|
{
|
|
937
985
|
ref: a,
|
|
@@ -942,10 +990,10 @@ const zo = $(
|
|
|
942
990
|
}
|
|
943
991
|
);
|
|
944
992
|
zo.displayName = "CardSection";
|
|
945
|
-
const Ro =
|
|
946
|
-
function({ overStyled: e = !1, ...
|
|
947
|
-
const t =
|
|
948
|
-
return /* @__PURE__ */
|
|
993
|
+
const Ro = h(
|
|
994
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
995
|
+
const t = f(r, e), o = t.className;
|
|
996
|
+
return /* @__PURE__ */ s(
|
|
949
997
|
He.Section,
|
|
950
998
|
{
|
|
951
999
|
ref: a,
|
|
@@ -956,10 +1004,10 @@ const Ro = $(
|
|
|
956
1004
|
}
|
|
957
1005
|
);
|
|
958
1006
|
Ro.displayName = "CardHeader";
|
|
959
|
-
const Bo =
|
|
960
|
-
function({ overStyled: e = !1, ...
|
|
961
|
-
const t =
|
|
962
|
-
return /* @__PURE__ */
|
|
1007
|
+
const Bo = h(
|
|
1008
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1009
|
+
const t = f(r, e), o = t.className;
|
|
1010
|
+
return /* @__PURE__ */ s(
|
|
963
1011
|
He.Section,
|
|
964
1012
|
{
|
|
965
1013
|
ref: a,
|
|
@@ -970,10 +1018,10 @@ const Bo = $(
|
|
|
970
1018
|
}
|
|
971
1019
|
);
|
|
972
1020
|
Bo.displayName = "CardFooter";
|
|
973
|
-
const Fo =
|
|
974
|
-
function({ overStyled: e = !1, ...
|
|
975
|
-
const t =
|
|
976
|
-
return /* @__PURE__ */
|
|
1021
|
+
const Fo = h(
|
|
1022
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1023
|
+
const t = f(r, e), o = t.className;
|
|
1024
|
+
return /* @__PURE__ */ s(
|
|
977
1025
|
"div",
|
|
978
1026
|
{
|
|
979
1027
|
ref: a,
|
|
@@ -989,17 +1037,17 @@ Ue.Section = zo;
|
|
|
989
1037
|
Ue.Header = Ro;
|
|
990
1038
|
Ue.Footer = Bo;
|
|
991
1039
|
Ue.Content = Fo;
|
|
992
|
-
const
|
|
993
|
-
groupRoot:
|
|
994
|
-
root:
|
|
995
|
-
body:
|
|
996
|
-
inner:
|
|
997
|
-
input:
|
|
998
|
-
icon:
|
|
999
|
-
labelWrapper:
|
|
1000
|
-
label:
|
|
1001
|
-
}, Vo =
|
|
1002
|
-
function(e,
|
|
1040
|
+
const Kl = Eo, gr = "Checkbox-module__groupRoot___cBS0o", Tr = "Checkbox-module__root___mY3qk", Sr = "Checkbox-module__body___5yC7q", xr = "Checkbox-module__inner___rTke4", Ar = "Checkbox-module__input___2kt-h", Or = "Checkbox-module__icon___-O7i6", Wr = "Checkbox-module__labelWrapper___GpZkr", Lr = "Checkbox-module__label___cwRtI", B = {
|
|
1041
|
+
groupRoot: gr,
|
|
1042
|
+
root: Tr,
|
|
1043
|
+
body: Sr,
|
|
1044
|
+
inner: xr,
|
|
1045
|
+
input: Ar,
|
|
1046
|
+
icon: Or,
|
|
1047
|
+
labelWrapper: Wr,
|
|
1048
|
+
label: Lr
|
|
1049
|
+
}, Vo = h(
|
|
1050
|
+
function(e, r) {
|
|
1003
1051
|
const {
|
|
1004
1052
|
overStyled: a = !1,
|
|
1005
1053
|
formLayout: t = "stacked",
|
|
@@ -1015,11 +1063,11 @@ const Yl = Eo, gs = "Checkbox-module__groupRoot___cBS0o", Ts = "Checkbox-module_
|
|
|
1015
1063
|
assistiveText: N,
|
|
1016
1064
|
assistiveWithIcon: u,
|
|
1017
1065
|
error: m,
|
|
1018
|
-
required:
|
|
1019
|
-
withAsterisk:
|
|
1020
|
-
id:
|
|
1021
|
-
className:
|
|
1022
|
-
style:
|
|
1066
|
+
required: b,
|
|
1067
|
+
withAsterisk: P,
|
|
1068
|
+
id: C,
|
|
1069
|
+
className: $,
|
|
1070
|
+
style: y,
|
|
1023
1071
|
children: A,
|
|
1024
1072
|
readOnly: v,
|
|
1025
1073
|
readOnlyComponent: I,
|
|
@@ -1027,12 +1075,12 @@ const Yl = Eo, gs = "Checkbox-module__groupRoot___cBS0o", Ts = "Checkbox-module_
|
|
|
1027
1075
|
value: S,
|
|
1028
1076
|
defaultValue: O,
|
|
1029
1077
|
...W
|
|
1030
|
-
} = e, w =
|
|
1031
|
-
return delete
|
|
1078
|
+
} = e, w = f(W, a), g = w;
|
|
1079
|
+
return delete g.size, /* @__PURE__ */ s(
|
|
1032
1080
|
oe,
|
|
1033
1081
|
{
|
|
1034
|
-
className:
|
|
1035
|
-
style:
|
|
1082
|
+
className: $,
|
|
1083
|
+
style: y,
|
|
1036
1084
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
1037
1085
|
controlMinWidth: void 0,
|
|
1038
1086
|
overStyled: a,
|
|
@@ -1048,24 +1096,24 @@ const Yl = Eo, gs = "Checkbox-module__groupRoot___cBS0o", Ts = "Checkbox-module_
|
|
|
1048
1096
|
assistiveText: N,
|
|
1049
1097
|
assistiveWithIcon: u,
|
|
1050
1098
|
error: m,
|
|
1051
|
-
required:
|
|
1052
|
-
withAsterisk:
|
|
1053
|
-
id:
|
|
1099
|
+
required: b,
|
|
1100
|
+
withAsterisk: P,
|
|
1101
|
+
id: C,
|
|
1054
1102
|
readOnly: v && !!I,
|
|
1055
1103
|
readOnlyComponent: I,
|
|
1056
1104
|
emptyValueComponent: x,
|
|
1057
1105
|
readOnlyType: "text",
|
|
1058
1106
|
readOnlyValue: S !== void 0 ? S : O,
|
|
1059
1107
|
readOnlyNativeProps: e,
|
|
1060
|
-
activeComponent: /* @__PURE__ */
|
|
1061
|
-
|
|
1108
|
+
activeComponent: /* @__PURE__ */ s(
|
|
1109
|
+
Po.Group,
|
|
1062
1110
|
{
|
|
1063
|
-
ref:
|
|
1111
|
+
ref: r,
|
|
1064
1112
|
...w,
|
|
1065
|
-
disabled: v ||
|
|
1113
|
+
disabled: v || g.disabled,
|
|
1066
1114
|
value: S,
|
|
1067
1115
|
defaultValue: O,
|
|
1068
|
-
children: /* @__PURE__ */
|
|
1116
|
+
children: /* @__PURE__ */ s("div", { className: B.groupRoot, "data-layout": t, children: A })
|
|
1069
1117
|
}
|
|
1070
1118
|
)
|
|
1071
1119
|
}
|
|
@@ -1073,8 +1121,8 @@ const Yl = Eo, gs = "Checkbox-module__groupRoot___cBS0o", Ts = "Checkbox-module_
|
|
|
1073
1121
|
}
|
|
1074
1122
|
);
|
|
1075
1123
|
Vo.displayName = "CheckboxGroup";
|
|
1076
|
-
const
|
|
1077
|
-
function(e,
|
|
1124
|
+
const Do = h(
|
|
1125
|
+
function(e, r) {
|
|
1078
1126
|
const {
|
|
1079
1127
|
overStyled: a = !1,
|
|
1080
1128
|
readOnly: t,
|
|
@@ -1085,7 +1133,7 @@ const jo = $(
|
|
|
1085
1133
|
controlMaxWidth: d,
|
|
1086
1134
|
controlMinWidth: p,
|
|
1087
1135
|
..._
|
|
1088
|
-
} = e, N =
|
|
1136
|
+
} = e, N = f(_, a), u = N;
|
|
1089
1137
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
1090
1138
|
const m = {
|
|
1091
1139
|
root: B.root,
|
|
@@ -1095,22 +1143,22 @@ const jo = $(
|
|
|
1095
1143
|
icon: B.icon,
|
|
1096
1144
|
labelWrapper: B.labelWrapper,
|
|
1097
1145
|
label: B.label
|
|
1098
|
-
},
|
|
1099
|
-
if (
|
|
1100
|
-
const
|
|
1101
|
-
m.root =
|
|
1146
|
+
}, b = u.classNames;
|
|
1147
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
1148
|
+
const y = b;
|
|
1149
|
+
m.root = y.root ? `${B.root} ${y.root}` : B.root, m.body = y.body ? `${B.body} ${y.body}` : B.body, m.inner = y.inner ? `${B.inner} ${y.inner}` : B.inner, m.input = y.input ? `${B.input} ${y.input}` : B.input, m.icon = y.icon ? `${B.icon} ${y.icon}` : B.icon, m.labelWrapper = y.labelWrapper ? `${B.labelWrapper} ${y.labelWrapper}` : B.labelWrapper, m.label = y.label ? `${B.label} ${y.label}` : B.label;
|
|
1102
1150
|
}
|
|
1103
|
-
const
|
|
1151
|
+
const P = u.className, C = P ? `${B.root} ${P}` : B.root;
|
|
1104
1152
|
if (t && o) {
|
|
1105
|
-
const
|
|
1153
|
+
const y = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ s(
|
|
1106
1154
|
o,
|
|
1107
1155
|
{
|
|
1108
1156
|
...e,
|
|
1109
|
-
checked:
|
|
1157
|
+
checked: y,
|
|
1110
1158
|
label: u.label
|
|
1111
1159
|
}
|
|
1112
1160
|
);
|
|
1113
|
-
return i ? /* @__PURE__ */
|
|
1161
|
+
return i ? /* @__PURE__ */ s(
|
|
1114
1162
|
Ne,
|
|
1115
1163
|
{
|
|
1116
1164
|
formLayout: i,
|
|
@@ -1119,42 +1167,42 @@ const jo = $(
|
|
|
1119
1167
|
controlMinWidth: p,
|
|
1120
1168
|
children: v
|
|
1121
1169
|
}
|
|
1122
|
-
) : /* @__PURE__ */
|
|
1170
|
+
) : /* @__PURE__ */ s(xe, { children: v });
|
|
1123
1171
|
}
|
|
1124
|
-
const
|
|
1125
|
-
|
|
1172
|
+
const $ = /* @__PURE__ */ s(
|
|
1173
|
+
Po,
|
|
1126
1174
|
{
|
|
1127
|
-
ref:
|
|
1128
|
-
className:
|
|
1175
|
+
ref: r,
|
|
1176
|
+
className: C,
|
|
1129
1177
|
classNames: m,
|
|
1130
1178
|
disabled: t || n,
|
|
1131
1179
|
...N
|
|
1132
1180
|
}
|
|
1133
1181
|
);
|
|
1134
|
-
return i ? /* @__PURE__ */
|
|
1182
|
+
return i ? /* @__PURE__ */ s(
|
|
1135
1183
|
Ne,
|
|
1136
1184
|
{
|
|
1137
1185
|
formLayout: i,
|
|
1138
1186
|
labelSize: c,
|
|
1139
1187
|
controlMaxWidth: d,
|
|
1140
1188
|
controlMinWidth: p,
|
|
1141
|
-
children:
|
|
1189
|
+
children: $
|
|
1142
1190
|
}
|
|
1143
|
-
) :
|
|
1191
|
+
) : $;
|
|
1144
1192
|
}
|
|
1145
1193
|
);
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
const
|
|
1149
|
-
root:
|
|
1150
|
-
label:
|
|
1151
|
-
mantineIconWrapper:
|
|
1152
|
-
innerWrapper:
|
|
1153
|
-
children:
|
|
1154
|
-
leadingIcon:
|
|
1155
|
-
removeIcon:
|
|
1194
|
+
Do.displayName = "Checkbox";
|
|
1195
|
+
Do.Group = Vo;
|
|
1196
|
+
const kr = "Chip-module__root___f5pFk", Ir = "Chip-module__label___Ov9pg", Mr = "Chip-module__mantineIconWrapper___KLSz6", zr = "Chip-module__innerWrapper___EnrTF", Rr = "Chip-module__children___zbRAR", Br = "Chip-module__leadingIcon___JBtjQ", Fr = "Chip-module__removeIcon___pVju-", H = {
|
|
1197
|
+
root: kr,
|
|
1198
|
+
label: Ir,
|
|
1199
|
+
mantineIconWrapper: Mr,
|
|
1200
|
+
innerWrapper: zr,
|
|
1201
|
+
children: Rr,
|
|
1202
|
+
leadingIcon: Br,
|
|
1203
|
+
removeIcon: Fr
|
|
1156
1204
|
};
|
|
1157
|
-
function
|
|
1205
|
+
function Er(l) {
|
|
1158
1206
|
return /* @__PURE__ */ z(
|
|
1159
1207
|
"svg",
|
|
1160
1208
|
{
|
|
@@ -1169,22 +1217,22 @@ function Es(l) {
|
|
|
1169
1217
|
strokeLinejoin: "round",
|
|
1170
1218
|
...l,
|
|
1171
1219
|
children: [
|
|
1172
|
-
/* @__PURE__ */
|
|
1173
|
-
/* @__PURE__ */
|
|
1220
|
+
/* @__PURE__ */ s("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
1221
|
+
/* @__PURE__ */ s("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
1174
1222
|
]
|
|
1175
1223
|
}
|
|
1176
1224
|
);
|
|
1177
1225
|
}
|
|
1178
|
-
const
|
|
1226
|
+
const Vr = h(function({
|
|
1179
1227
|
error: e = !1,
|
|
1180
|
-
icon:
|
|
1228
|
+
icon: r,
|
|
1181
1229
|
onRemove: a,
|
|
1182
1230
|
removeLabel: t = "Remove",
|
|
1183
1231
|
children: o,
|
|
1184
1232
|
overStyled: n = !1,
|
|
1185
1233
|
...i
|
|
1186
1234
|
}, c) {
|
|
1187
|
-
const d =
|
|
1235
|
+
const d = f(i, n), p = d, _ = {
|
|
1188
1236
|
root: H.root,
|
|
1189
1237
|
label: H.label,
|
|
1190
1238
|
input: H.input,
|
|
@@ -1192,49 +1240,50 @@ const Vs = $(function({
|
|
|
1192
1240
|
checkIcon: H.checkIcon
|
|
1193
1241
|
}, N = p.classNames;
|
|
1194
1242
|
if (N && typeof N == "object" && !Array.isArray(N)) {
|
|
1195
|
-
const
|
|
1196
|
-
_.root =
|
|
1243
|
+
const $ = N;
|
|
1244
|
+
_.root = $.root ? `${H.root} ${$.root}` : H.root, _.label = $.label ? `${H.label} ${$.label}` : H.label;
|
|
1197
1245
|
}
|
|
1198
|
-
const u = p.className, m = u ? `${H.root} ${u}` : H.root;
|
|
1199
|
-
return /* @__PURE__ */
|
|
1246
|
+
const u = p.className, m = u ? `${H.root} ${u}` : H.root, b = e ? "" : void 0, P = !o && (!!r || !!a), C = p.checked !== void 0 || p.defaultChecked !== void 0 || a !== void 0 || p.onClick !== void 0;
|
|
1247
|
+
return /* @__PURE__ */ s(
|
|
1200
1248
|
ea,
|
|
1201
1249
|
{
|
|
1202
1250
|
ref: c,
|
|
1203
1251
|
className: m,
|
|
1204
1252
|
classNames: _,
|
|
1205
|
-
|
|
1206
|
-
|
|
1253
|
+
wrapperProps: b !== void 0 ? { "data-error": "" } : void 0,
|
|
1254
|
+
...P ? { "data-icon-only": "" } : {},
|
|
1255
|
+
...C ? {} : { tabIndex: -1, "aria-hidden": !0 },
|
|
1207
1256
|
...d,
|
|
1208
1257
|
children: /* @__PURE__ */ z("span", { className: H.innerWrapper, children: [
|
|
1209
|
-
|
|
1210
|
-
/* @__PURE__ */
|
|
1211
|
-
a && /* @__PURE__ */
|
|
1258
|
+
r && /* @__PURE__ */ s("span", { className: H.leadingIcon, "aria-hidden": !0, children: r }),
|
|
1259
|
+
/* @__PURE__ */ s("span", { className: H.children, children: o }),
|
|
1260
|
+
a && /* @__PURE__ */ s(
|
|
1212
1261
|
"span",
|
|
1213
1262
|
{
|
|
1214
1263
|
role: "button",
|
|
1215
1264
|
className: H.removeIcon,
|
|
1216
|
-
onClick: (
|
|
1217
|
-
|
|
1265
|
+
onClick: ($) => {
|
|
1266
|
+
$.preventDefault(), $.stopPropagation(), a($);
|
|
1218
1267
|
},
|
|
1219
1268
|
"aria-label": t,
|
|
1220
|
-
onKeyDown: (
|
|
1221
|
-
(
|
|
1222
|
-
|
|
1269
|
+
onKeyDown: ($) => {
|
|
1270
|
+
($.key === "Enter" || $.key === " ") && ($.preventDefault(), $.stopPropagation(), a(
|
|
1271
|
+
$
|
|
1223
1272
|
));
|
|
1224
1273
|
},
|
|
1225
1274
|
tabIndex: 0,
|
|
1226
|
-
children: /* @__PURE__ */
|
|
1275
|
+
children: /* @__PURE__ */ s(Er, {})
|
|
1227
1276
|
}
|
|
1228
1277
|
)
|
|
1229
1278
|
] })
|
|
1230
1279
|
}
|
|
1231
1280
|
);
|
|
1232
1281
|
});
|
|
1233
|
-
|
|
1234
|
-
const
|
|
1235
|
-
root:
|
|
1236
|
-
},
|
|
1237
|
-
function({ children: e, size:
|
|
1282
|
+
Vr.displayName = "Chip";
|
|
1283
|
+
const Dr = "Container-module__root___UVssr", Le = {
|
|
1284
|
+
root: Dr
|
|
1285
|
+
}, jr = h(
|
|
1286
|
+
function({ children: e, size: r, ...a }, t) {
|
|
1238
1287
|
const o = {
|
|
1239
1288
|
"rec-sm": "sm",
|
|
1240
1289
|
"rec-default": "md",
|
|
@@ -1242,7 +1291,7 @@ const js = "Container-module__root___UVssr", Le = {
|
|
|
1242
1291
|
"rec-lg": "lg",
|
|
1243
1292
|
"rec-xl": "xl",
|
|
1244
1293
|
"rec-2xl": "xl"
|
|
1245
|
-
}, n = typeof
|
|
1294
|
+
}, n = typeof r == "string" && o[r] ? o[r] : r, i = {
|
|
1246
1295
|
root: Le.root
|
|
1247
1296
|
}, c = a.classNames;
|
|
1248
1297
|
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
@@ -1250,7 +1299,7 @@ const js = "Container-module__root___UVssr", Le = {
|
|
|
1250
1299
|
i.root = _.root ? `${Le.root} ${_.root}` : Le.root;
|
|
1251
1300
|
}
|
|
1252
1301
|
const d = a.className, p = d ? `${Le.root} ${d}` : Le.root;
|
|
1253
|
-
return /* @__PURE__ */
|
|
1302
|
+
return /* @__PURE__ */ s(
|
|
1254
1303
|
oa,
|
|
1255
1304
|
{
|
|
1256
1305
|
ref: t,
|
|
@@ -1263,17 +1312,17 @@ const js = "Container-module__root___UVssr", Le = {
|
|
|
1263
1312
|
);
|
|
1264
1313
|
}
|
|
1265
1314
|
);
|
|
1266
|
-
|
|
1267
|
-
const
|
|
1268
|
-
layoutOverride:
|
|
1269
|
-
root:
|
|
1270
|
-
input:
|
|
1271
|
-
section:
|
|
1272
|
-
dropdown:
|
|
1273
|
-
calendarHeader:
|
|
1274
|
-
day:
|
|
1275
|
-
},
|
|
1276
|
-
function(e,
|
|
1315
|
+
jr.displayName = "Container";
|
|
1316
|
+
const Gr = "DatePicker-module__layoutOverride___X9yaM", Hr = "DatePicker-module__root___6XvRT", qr = "DatePicker-module__input___pcSW8", Ur = "DatePicker-module__section___n3iWA", Zr = "DatePicker-module__dropdown___wjt08", Yr = "DatePicker-module__calendarHeader___KHxno", Kr = "DatePicker-module__day___U03J2", Z = {
|
|
1317
|
+
layoutOverride: Gr,
|
|
1318
|
+
root: Hr,
|
|
1319
|
+
input: qr,
|
|
1320
|
+
section: Ur,
|
|
1321
|
+
dropdown: Zr,
|
|
1322
|
+
calendarHeader: Yr,
|
|
1323
|
+
day: Kr
|
|
1324
|
+
}, Xr = h(
|
|
1325
|
+
function(e, r) {
|
|
1277
1326
|
const {
|
|
1278
1327
|
overStyled: a = !1,
|
|
1279
1328
|
formLayout: t = "stacked",
|
|
@@ -1288,20 +1337,20 @@ const Gs = "DatePicker-module__layoutOverride___X9yaM", Hs = "DatePicker-module_
|
|
|
1288
1337
|
assistiveWithIcon: N,
|
|
1289
1338
|
error: u,
|
|
1290
1339
|
required: m,
|
|
1291
|
-
withAsterisk:
|
|
1292
|
-
id:
|
|
1293
|
-
className:
|
|
1294
|
-
style:
|
|
1295
|
-
disabled:
|
|
1340
|
+
withAsterisk: b,
|
|
1341
|
+
id: P,
|
|
1342
|
+
className: C,
|
|
1343
|
+
style: $,
|
|
1344
|
+
disabled: y,
|
|
1296
1345
|
readOnly: A,
|
|
1297
1346
|
readOnlyComponent: v,
|
|
1298
1347
|
emptyValueComponent: I,
|
|
1299
1348
|
value: x,
|
|
1300
1349
|
defaultValue: S,
|
|
1301
1350
|
...O
|
|
1302
|
-
} = e, W =
|
|
1351
|
+
} = e, W = f(O, a), w = W;
|
|
1303
1352
|
delete w.size, delete w.variant, delete w.radius, delete w.description;
|
|
1304
|
-
const
|
|
1353
|
+
const g = {
|
|
1305
1354
|
wrapper: Z.root,
|
|
1306
1355
|
// The nested Input internal relative wrapper bounding box
|
|
1307
1356
|
input: Z.input,
|
|
@@ -1311,15 +1360,15 @@ const Gs = "DatePicker-module__layoutOverride___X9yaM", Hs = "DatePicker-module_
|
|
|
1311
1360
|
calendarHeader: Z.calendarHeader
|
|
1312
1361
|
}, L = w.classNames;
|
|
1313
1362
|
if (L && typeof L == "object" && !Array.isArray(L)) {
|
|
1314
|
-
const
|
|
1315
|
-
|
|
1363
|
+
const T = L;
|
|
1364
|
+
g.wrapper = T.wrapper ? `${Z.root} ${T.wrapper}` : Z.root, g.input = T.input ? `${Z.input} ${T.input}` : Z.input, g.section = T.section ? `${Z.section} ${T.section}` : Z.section;
|
|
1316
1365
|
}
|
|
1317
|
-
const R =
|
|
1318
|
-
return /* @__PURE__ */
|
|
1366
|
+
const R = C ? `${Z.layoutOverride} ${C}` : Z.layoutOverride;
|
|
1367
|
+
return /* @__PURE__ */ s(
|
|
1319
1368
|
oe,
|
|
1320
1369
|
{
|
|
1321
1370
|
className: R,
|
|
1322
|
-
style:
|
|
1371
|
+
style: $,
|
|
1323
1372
|
controlMaxWidth: void 0,
|
|
1324
1373
|
controlMinWidth: void 0,
|
|
1325
1374
|
overStyled: a,
|
|
@@ -1334,8 +1383,8 @@ const Gs = "DatePicker-module__layoutOverride___X9yaM", Hs = "DatePicker-module_
|
|
|
1334
1383
|
assistiveWithIcon: N,
|
|
1335
1384
|
error: u,
|
|
1336
1385
|
required: m,
|
|
1337
|
-
withAsterisk:
|
|
1338
|
-
id:
|
|
1386
|
+
withAsterisk: b,
|
|
1387
|
+
id: P,
|
|
1339
1388
|
readOnly: A,
|
|
1340
1389
|
readOnlyComponent: v,
|
|
1341
1390
|
emptyValueComponent: I,
|
|
@@ -1344,12 +1393,12 @@ const Gs = "DatePicker-module__layoutOverride___X9yaM", Hs = "DatePicker-module_
|
|
|
1344
1393
|
readOnlyNativeProps: e,
|
|
1345
1394
|
activeComponent: (
|
|
1346
1395
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1347
|
-
/* @__PURE__ */
|
|
1396
|
+
/* @__PURE__ */ s(
|
|
1348
1397
|
fa,
|
|
1349
1398
|
{
|
|
1350
|
-
ref:
|
|
1351
|
-
classNames:
|
|
1352
|
-
disabled:
|
|
1399
|
+
ref: r,
|
|
1400
|
+
classNames: g,
|
|
1401
|
+
disabled: y,
|
|
1353
1402
|
value: x,
|
|
1354
1403
|
defaultValue: S,
|
|
1355
1404
|
label: void 0,
|
|
@@ -1357,7 +1406,7 @@ const Gs = "DatePicker-module__layoutOverride___X9yaM", Hs = "DatePicker-module_
|
|
|
1357
1406
|
error: void 0,
|
|
1358
1407
|
withAsterisk: !1,
|
|
1359
1408
|
wrapperProps: {
|
|
1360
|
-
"data-disabled":
|
|
1409
|
+
"data-disabled": y ? "true" : void 0,
|
|
1361
1410
|
"data-error": u ? "true" : void 0
|
|
1362
1411
|
},
|
|
1363
1412
|
...W
|
|
@@ -1368,16 +1417,16 @@ const Gs = "DatePicker-module__layoutOverride___X9yaM", Hs = "DatePicker-module_
|
|
|
1368
1417
|
);
|
|
1369
1418
|
}
|
|
1370
1419
|
);
|
|
1371
|
-
|
|
1372
|
-
const
|
|
1373
|
-
layoutOverride:
|
|
1374
|
-
root:
|
|
1375
|
-
input:
|
|
1376
|
-
section:
|
|
1377
|
-
dropdown:
|
|
1378
|
-
option:
|
|
1379
|
-
},
|
|
1380
|
-
function(e,
|
|
1420
|
+
Xr.displayName = "DatePicker";
|
|
1421
|
+
const Jr = "Dropdown-module__layoutOverride___FNcvP", Qr = "Dropdown-module__root___uVyL0", es = "Dropdown-module__input___dK4dN", os = "Dropdown-module__section___j3MRB", ts = "Dropdown-module__dropdown___gG-Sw", as = "Dropdown-module__option___nAGU-", D = {
|
|
1422
|
+
layoutOverride: Jr,
|
|
1423
|
+
root: Qr,
|
|
1424
|
+
input: es,
|
|
1425
|
+
section: os,
|
|
1426
|
+
dropdown: ts,
|
|
1427
|
+
option: as
|
|
1428
|
+
}, rs = h(
|
|
1429
|
+
function(e, r) {
|
|
1381
1430
|
const {
|
|
1382
1431
|
overStyled: a = !1,
|
|
1383
1432
|
formLayout: t = "stacked",
|
|
@@ -1392,11 +1441,11 @@ const Js = "Dropdown-module__layoutOverride___FNcvP", Qs = "Dropdown-module__roo
|
|
|
1392
1441
|
assistiveText: N,
|
|
1393
1442
|
assistiveWithIcon: u,
|
|
1394
1443
|
error: m,
|
|
1395
|
-
required:
|
|
1396
|
-
withAsterisk:
|
|
1397
|
-
id:
|
|
1398
|
-
className:
|
|
1399
|
-
style:
|
|
1444
|
+
required: b,
|
|
1445
|
+
withAsterisk: P,
|
|
1446
|
+
id: C,
|
|
1447
|
+
className: $,
|
|
1448
|
+
style: y,
|
|
1400
1449
|
disabled: A,
|
|
1401
1450
|
readOnly: v,
|
|
1402
1451
|
readOnlyComponent: I,
|
|
@@ -1405,25 +1454,25 @@ const Js = "Dropdown-module__layoutOverride___FNcvP", Qs = "Dropdown-module__roo
|
|
|
1405
1454
|
defaultValue: O,
|
|
1406
1455
|
data: W,
|
|
1407
1456
|
...w
|
|
1408
|
-
} = e,
|
|
1457
|
+
} = e, g = f(w, a), L = g;
|
|
1409
1458
|
delete L.size, delete L.variant, delete L.radius;
|
|
1410
1459
|
const R = {
|
|
1411
|
-
wrapper:
|
|
1460
|
+
wrapper: D.root,
|
|
1412
1461
|
// The nested Input internal relative wrapper bounding box
|
|
1413
|
-
input:
|
|
1414
|
-
section:
|
|
1415
|
-
dropdown:
|
|
1416
|
-
option:
|
|
1417
|
-
},
|
|
1418
|
-
if (
|
|
1419
|
-
const U =
|
|
1420
|
-
R.wrapper = U.wrapper ? `${
|
|
1462
|
+
input: D.input,
|
|
1463
|
+
section: D.section,
|
|
1464
|
+
dropdown: D.dropdown,
|
|
1465
|
+
option: D.option
|
|
1466
|
+
}, T = L.classNames;
|
|
1467
|
+
if (T && typeof T == "object" && !Array.isArray(T)) {
|
|
1468
|
+
const U = T;
|
|
1469
|
+
R.wrapper = U.wrapper ? `${D.root} ${U.wrapper}` : D.root, R.input = U.input ? `${D.input} ${U.input}` : D.input, R.section = U.section ? `${D.section} ${U.section}` : D.section, R.dropdown = U.dropdown ? `${D.dropdown} ${U.dropdown}` : D.dropdown, R.option = U.option ? `${D.option} ${U.option}` : D.option;
|
|
1421
1470
|
}
|
|
1422
1471
|
const he = {
|
|
1423
|
-
...
|
|
1472
|
+
...y || {},
|
|
1424
1473
|
width: o || "100%"
|
|
1425
|
-
}, $e =
|
|
1426
|
-
return /* @__PURE__ */
|
|
1474
|
+
}, $e = $ ? `${D.layoutOverride} ${$}` : D.layoutOverride;
|
|
1475
|
+
return /* @__PURE__ */ s(
|
|
1427
1476
|
oe,
|
|
1428
1477
|
{
|
|
1429
1478
|
className: $e,
|
|
@@ -1441,9 +1490,9 @@ const Js = "Dropdown-module__layoutOverride___FNcvP", Qs = "Dropdown-module__roo
|
|
|
1441
1490
|
assistiveText: N,
|
|
1442
1491
|
assistiveWithIcon: u,
|
|
1443
1492
|
error: m,
|
|
1444
|
-
required:
|
|
1445
|
-
withAsterisk:
|
|
1446
|
-
id:
|
|
1493
|
+
required: b,
|
|
1494
|
+
withAsterisk: P,
|
|
1495
|
+
id: C,
|
|
1447
1496
|
readOnly: v,
|
|
1448
1497
|
readOnlyComponent: I,
|
|
1449
1498
|
emptyValueComponent: x,
|
|
@@ -1452,10 +1501,10 @@ const Js = "Dropdown-module__layoutOverride___FNcvP", Qs = "Dropdown-module__roo
|
|
|
1452
1501
|
readOnlyNativeProps: e,
|
|
1453
1502
|
activeComponent: (
|
|
1454
1503
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1455
|
-
/* @__PURE__ */
|
|
1504
|
+
/* @__PURE__ */ s(
|
|
1456
1505
|
ta,
|
|
1457
1506
|
{
|
|
1458
|
-
ref:
|
|
1507
|
+
ref: r,
|
|
1459
1508
|
classNames: R,
|
|
1460
1509
|
disabled: A,
|
|
1461
1510
|
value: S,
|
|
@@ -1470,7 +1519,7 @@ const Js = "Dropdown-module__layoutOverride___FNcvP", Qs = "Dropdown-module__roo
|
|
|
1470
1519
|
"data-disabled": A ? "true" : void 0,
|
|
1471
1520
|
"data-error": m ? "true" : void 0
|
|
1472
1521
|
},
|
|
1473
|
-
...
|
|
1522
|
+
...g
|
|
1474
1523
|
}
|
|
1475
1524
|
)
|
|
1476
1525
|
)
|
|
@@ -1478,10 +1527,10 @@ const Js = "Dropdown-module__layoutOverride___FNcvP", Qs = "Dropdown-module__roo
|
|
|
1478
1527
|
);
|
|
1479
1528
|
}
|
|
1480
1529
|
);
|
|
1481
|
-
|
|
1482
|
-
const
|
|
1483
|
-
root:
|
|
1484
|
-
},
|
|
1530
|
+
rs.displayName = "Dropdown";
|
|
1531
|
+
const Xl = (l) => /* @__PURE__ */ s("div", { ...l, children: "FileInput" }), Jl = (l) => /* @__PURE__ */ s("div", { ...l, children: "FileUpload" }), ss = "Flex-module__root___yYser", ke = {
|
|
1532
|
+
root: ss
|
|
1533
|
+
}, jo = h(function({ children: e, gap: r = "rec-default", rowGap: a, columnGap: t, ...o }, n) {
|
|
1485
1534
|
const i = {
|
|
1486
1535
|
root: ke.root
|
|
1487
1536
|
}, c = o.classNames;
|
|
@@ -1490,21 +1539,21 @@ const Kl = (l) => /* @__PURE__ */ r("div", { ...l, children: "FileInput" }), Xl
|
|
|
1490
1539
|
i.root = _.root ? `${ke.root} ${_.root}` : ke.root;
|
|
1491
1540
|
}
|
|
1492
1541
|
const d = o.className, p = d ? `${ke.root} ${d}` : ke.root;
|
|
1493
|
-
return /* @__PURE__ */
|
|
1542
|
+
return /* @__PURE__ */ s(
|
|
1494
1543
|
aa,
|
|
1495
1544
|
{
|
|
1496
1545
|
ref: n,
|
|
1497
1546
|
className: p,
|
|
1498
1547
|
classNames: i,
|
|
1499
|
-
...
|
|
1548
|
+
...ro({ gap: r, rowGap: a, columnGap: t, ...o }),
|
|
1500
1549
|
children: e
|
|
1501
1550
|
}
|
|
1502
1551
|
);
|
|
1503
1552
|
});
|
|
1504
|
-
|
|
1505
|
-
const
|
|
1506
|
-
root:
|
|
1507
|
-
},
|
|
1553
|
+
jo.displayName = "Flex";
|
|
1554
|
+
const Ql = te(jo), ns = "Group-module__root___ftO64", Ie = {
|
|
1555
|
+
root: ns
|
|
1556
|
+
}, ls = h(function({ children: e, gap: r = "rec-default", ...a }, t) {
|
|
1508
1557
|
const o = {
|
|
1509
1558
|
root: Ie.root
|
|
1510
1559
|
}, n = a.classNames;
|
|
@@ -1513,27 +1562,27 @@ const Jl = te(Do), nr = "Group-module__root___ftO64", Ie = {
|
|
|
1513
1562
|
o.root = d.root ? `${Ie.root} ${d.root}` : Ie.root;
|
|
1514
1563
|
}
|
|
1515
1564
|
const i = a.className, c = i ? `${Ie.root} ${i}` : Ie.root;
|
|
1516
|
-
return /* @__PURE__ */
|
|
1517
|
-
|
|
1565
|
+
return /* @__PURE__ */ s(
|
|
1566
|
+
ra,
|
|
1518
1567
|
{
|
|
1519
1568
|
ref: t,
|
|
1520
1569
|
className: c,
|
|
1521
1570
|
classNames: o,
|
|
1522
|
-
...
|
|
1571
|
+
...ro({ gap: r, ...a }),
|
|
1523
1572
|
children: e
|
|
1524
1573
|
}
|
|
1525
1574
|
);
|
|
1526
1575
|
});
|
|
1527
|
-
|
|
1528
|
-
const
|
|
1529
|
-
dropdown:
|
|
1530
|
-
arrow:
|
|
1576
|
+
ls.displayName = "Group";
|
|
1577
|
+
const is = "HoverCard-module__dropdown___FBPFW", cs = "HoverCard-module__arrow___S9AkE", fo = {
|
|
1578
|
+
dropdown: is,
|
|
1579
|
+
arrow: cs
|
|
1531
1580
|
}, Go = function({
|
|
1532
1581
|
overStyled: e = !1,
|
|
1533
|
-
withBeak:
|
|
1582
|
+
withBeak: r = !0,
|
|
1534
1583
|
...a
|
|
1535
1584
|
}) {
|
|
1536
|
-
const t =
|
|
1585
|
+
const t = f(a, e), o = {
|
|
1537
1586
|
dropdown: fo.dropdown,
|
|
1538
1587
|
arrow: fo.arrow
|
|
1539
1588
|
}, n = t.classNames;
|
|
@@ -1544,12 +1593,12 @@ const ir = "HoverCard-module__dropdown___FBPFW", cr = "HoverCard-module__arrow__
|
|
|
1544
1593
|
});
|
|
1545
1594
|
}
|
|
1546
1595
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
1547
|
-
return /* @__PURE__ */
|
|
1596
|
+
return /* @__PURE__ */ s(
|
|
1548
1597
|
oo,
|
|
1549
1598
|
{
|
|
1550
1599
|
position: "top",
|
|
1551
1600
|
arrowSize: i,
|
|
1552
|
-
withArrow:
|
|
1601
|
+
withArrow: r ?? c,
|
|
1553
1602
|
classNames: o,
|
|
1554
1603
|
...t
|
|
1555
1604
|
}
|
|
@@ -1557,15 +1606,15 @@ const ir = "HoverCard-module__dropdown___FBPFW", cr = "HoverCard-module__arrow__
|
|
|
1557
1606
|
};
|
|
1558
1607
|
Go.displayName = "HoverCard";
|
|
1559
1608
|
const Ho = function(e) {
|
|
1560
|
-
return /* @__PURE__ */
|
|
1609
|
+
return /* @__PURE__ */ s(oo.Target, { ...e });
|
|
1561
1610
|
};
|
|
1562
1611
|
Ho.displayName = "HoverCardTarget";
|
|
1563
1612
|
const qo = function({
|
|
1564
1613
|
overStyled: e = !1,
|
|
1565
|
-
...
|
|
1614
|
+
...r
|
|
1566
1615
|
}) {
|
|
1567
|
-
const a =
|
|
1568
|
-
return /* @__PURE__ */
|
|
1616
|
+
const a = f(r, e), t = a.className;
|
|
1617
|
+
return /* @__PURE__ */ s(
|
|
1569
1618
|
oo.Dropdown,
|
|
1570
1619
|
{
|
|
1571
1620
|
className: t,
|
|
@@ -1577,12 +1626,12 @@ qo.displayName = "HoverCardDropdown";
|
|
|
1577
1626
|
const Uo = Go;
|
|
1578
1627
|
Uo.Target = Ho;
|
|
1579
1628
|
Uo.Dropdown = qo;
|
|
1580
|
-
const
|
|
1581
|
-
root:
|
|
1582
|
-
iconWrapper:
|
|
1583
|
-
labelText:
|
|
1584
|
-
}, Zo =
|
|
1585
|
-
const n =
|
|
1629
|
+
const ds = "Link-module__root___I0VGE", ps = "Link-module__iconWrapper___W-LlF", _s = "Link-module__labelText___wSvUy", Ce = {
|
|
1630
|
+
root: ds,
|
|
1631
|
+
iconWrapper: ps,
|
|
1632
|
+
labelText: _s
|
|
1633
|
+
}, Zo = h(function({ icon: e, children: r, overStyled: a = !1, ...t }, o) {
|
|
1634
|
+
const n = f(t, a), i = n, c = {
|
|
1586
1635
|
root: Ce.root
|
|
1587
1636
|
}, d = i.classNames;
|
|
1588
1637
|
if (d && typeof d == "object" && !Array.isArray(d)) {
|
|
@@ -1591,7 +1640,7 @@ const dr = "Link-module__root___I0VGE", pr = "Link-module__iconWrapper___W-LlF",
|
|
|
1591
1640
|
}
|
|
1592
1641
|
const p = i.className, _ = p ? `${Ce.root} ${p}` : Ce.root;
|
|
1593
1642
|
return /* @__PURE__ */ z(
|
|
1594
|
-
|
|
1643
|
+
sa,
|
|
1595
1644
|
{
|
|
1596
1645
|
ref: o,
|
|
1597
1646
|
className: _,
|
|
@@ -1600,30 +1649,30 @@ const dr = "Link-module__root___I0VGE", pr = "Link-module__iconWrapper___W-LlF",
|
|
|
1600
1649
|
...e ? { "data-has-icon": "" } : {},
|
|
1601
1650
|
...n,
|
|
1602
1651
|
children: [
|
|
1603
|
-
e && /* @__PURE__ */
|
|
1604
|
-
/* @__PURE__ */
|
|
1652
|
+
e && /* @__PURE__ */ s("span", { className: Ce.iconWrapper, "aria-hidden": !0, children: e }),
|
|
1653
|
+
/* @__PURE__ */ s("span", { className: Ce.labelText, children: r })
|
|
1605
1654
|
]
|
|
1606
1655
|
}
|
|
1607
1656
|
);
|
|
1608
1657
|
});
|
|
1609
1658
|
Zo.displayName = "Link";
|
|
1610
|
-
const
|
|
1611
|
-
dropdown:
|
|
1612
|
-
item:
|
|
1613
|
-
itemLabel:
|
|
1614
|
-
itemSection:
|
|
1615
|
-
divider:
|
|
1616
|
-
label:
|
|
1617
|
-
chevron:
|
|
1618
|
-
}, Yo = function({ overStyled: e = !1, ...
|
|
1619
|
-
const a =
|
|
1620
|
-
dropdown:
|
|
1621
|
-
item:
|
|
1622
|
-
itemLabel:
|
|
1623
|
-
itemSection:
|
|
1624
|
-
divider:
|
|
1625
|
-
label:
|
|
1626
|
-
chevron:
|
|
1659
|
+
const ei = te(Zo), ms = "Menu-module__dropdown___j4xuA", us = "Menu-module__item___NMXha", bs = "Menu-module__itemLabel___zvcqC", ys = "Menu-module__itemSection___pRIcn", Ns = "Menu-module__divider___wPiNq", fs = "Menu-module__label___4FBGa", hs = "Menu-module__chevron___hEEiy", Pe = {
|
|
1660
|
+
dropdown: ms,
|
|
1661
|
+
item: us,
|
|
1662
|
+
itemLabel: bs,
|
|
1663
|
+
itemSection: ys,
|
|
1664
|
+
divider: Ns,
|
|
1665
|
+
label: fs,
|
|
1666
|
+
chevron: hs
|
|
1667
|
+
}, Yo = function({ overStyled: e = !1, ...r }) {
|
|
1668
|
+
const a = f(r, e), t = {
|
|
1669
|
+
dropdown: Pe.dropdown,
|
|
1670
|
+
item: Pe.item,
|
|
1671
|
+
itemLabel: Pe.itemLabel,
|
|
1672
|
+
itemSection: Pe.itemSection,
|
|
1673
|
+
divider: Pe.divider,
|
|
1674
|
+
label: Pe.label,
|
|
1675
|
+
chevron: Pe.chevron
|
|
1627
1676
|
}, o = a.classNames;
|
|
1628
1677
|
if (o && typeof o == "object" && !Array.isArray(o)) {
|
|
1629
1678
|
const n = o;
|
|
@@ -1631,7 +1680,7 @@ const Ql = te(Zo), mr = "Menu-module__dropdown___j4xuA", ur = "Menu-module__item
|
|
|
1631
1680
|
t[i] ? t[i] = `${t[i]} ${n[i]}` : t[i] = n[i];
|
|
1632
1681
|
});
|
|
1633
1682
|
}
|
|
1634
|
-
return /* @__PURE__ */
|
|
1683
|
+
return /* @__PURE__ */ s(
|
|
1635
1684
|
ae,
|
|
1636
1685
|
{
|
|
1637
1686
|
classNames: t,
|
|
@@ -1641,13 +1690,13 @@ const Ql = te(Zo), mr = "Menu-module__dropdown___j4xuA", ur = "Menu-module__item
|
|
|
1641
1690
|
};
|
|
1642
1691
|
Yo.displayName = "Menu";
|
|
1643
1692
|
const Ko = function(e) {
|
|
1644
|
-
return /* @__PURE__ */
|
|
1693
|
+
return /* @__PURE__ */ s(ae.Target, { ...e });
|
|
1645
1694
|
};
|
|
1646
1695
|
Ko.displayName = "MenuTarget";
|
|
1647
|
-
const Xo =
|
|
1648
|
-
function({ overStyled: e = !1, ...
|
|
1649
|
-
const t =
|
|
1650
|
-
return /* @__PURE__ */
|
|
1696
|
+
const Xo = h(
|
|
1697
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1698
|
+
const t = f(r, e), o = t.className;
|
|
1699
|
+
return /* @__PURE__ */ s(
|
|
1651
1700
|
ae.Dropdown,
|
|
1652
1701
|
{
|
|
1653
1702
|
ref: a,
|
|
@@ -1658,12 +1707,12 @@ const Xo = $(
|
|
|
1658
1707
|
}
|
|
1659
1708
|
);
|
|
1660
1709
|
Xo.displayName = "MenuDropdown";
|
|
1661
|
-
const Jo =
|
|
1662
|
-
function({ overStyled: e = !1, ...
|
|
1663
|
-
const t =
|
|
1710
|
+
const Jo = h(
|
|
1711
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1712
|
+
const t = f(r, e), o = t;
|
|
1664
1713
|
e || delete o.color;
|
|
1665
1714
|
const n = o.className;
|
|
1666
|
-
return /* @__PURE__ */
|
|
1715
|
+
return /* @__PURE__ */ s(
|
|
1667
1716
|
ae.Item,
|
|
1668
1717
|
{
|
|
1669
1718
|
ref: a,
|
|
@@ -1674,10 +1723,10 @@ const Jo = $(
|
|
|
1674
1723
|
}
|
|
1675
1724
|
);
|
|
1676
1725
|
Jo.displayName = "MenuItem";
|
|
1677
|
-
const $
|
|
1678
|
-
function({ overStyled: e = !1, ...
|
|
1679
|
-
const t =
|
|
1680
|
-
return /* @__PURE__ */
|
|
1726
|
+
const $s = te(Jo), Qo = h(
|
|
1727
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1728
|
+
const t = f(r, e), o = t.className;
|
|
1729
|
+
return /* @__PURE__ */ s(
|
|
1681
1730
|
ae.Divider,
|
|
1682
1731
|
{
|
|
1683
1732
|
ref: a,
|
|
@@ -1688,9 +1737,9 @@ const $r = te(Jo), Qo = $(
|
|
|
1688
1737
|
}
|
|
1689
1738
|
);
|
|
1690
1739
|
Qo.displayName = "MenuDivider";
|
|
1691
|
-
const et =
|
|
1692
|
-
const t =
|
|
1693
|
-
return /* @__PURE__ */
|
|
1740
|
+
const et = h(function({ overStyled: e = !1, ...r }, a) {
|
|
1741
|
+
const t = f(r, e), o = t.className;
|
|
1742
|
+
return /* @__PURE__ */ s(
|
|
1694
1743
|
ae.Label,
|
|
1695
1744
|
{
|
|
1696
1745
|
ref: a,
|
|
@@ -1701,19 +1750,19 @@ const et = $(function({ overStyled: e = !1, ...s }, a) {
|
|
|
1701
1750
|
});
|
|
1702
1751
|
et.displayName = "MenuLabel";
|
|
1703
1752
|
const ot = function(e) {
|
|
1704
|
-
return /* @__PURE__ */
|
|
1753
|
+
return /* @__PURE__ */ s(ae.Sub, { ...e });
|
|
1705
1754
|
};
|
|
1706
1755
|
ot.displayName = "MenuSub";
|
|
1707
1756
|
const tt = function(e) {
|
|
1708
|
-
return /* @__PURE__ */
|
|
1757
|
+
return /* @__PURE__ */ s(ae.Sub.Target, { ...e });
|
|
1709
1758
|
};
|
|
1710
1759
|
tt.displayName = "MenuSubTarget";
|
|
1711
|
-
const at =
|
|
1712
|
-
function({ overStyled: e = !1, ...
|
|
1713
|
-
const t =
|
|
1760
|
+
const at = h(
|
|
1761
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1762
|
+
const t = f(r, e), o = t;
|
|
1714
1763
|
e || delete o.color;
|
|
1715
1764
|
const n = o.className;
|
|
1716
|
-
return /* @__PURE__ */
|
|
1765
|
+
return /* @__PURE__ */ s(
|
|
1717
1766
|
ae.Sub.Item,
|
|
1718
1767
|
{
|
|
1719
1768
|
ref: a,
|
|
@@ -1724,12 +1773,12 @@ const at = $(
|
|
|
1724
1773
|
}
|
|
1725
1774
|
);
|
|
1726
1775
|
at.displayName = "MenuSubItem";
|
|
1727
|
-
const
|
|
1776
|
+
const vs = te(
|
|
1728
1777
|
at
|
|
1729
|
-
),
|
|
1730
|
-
function({ overStyled: e = !1, ...
|
|
1731
|
-
const t =
|
|
1732
|
-
return /* @__PURE__ */
|
|
1778
|
+
), rt = h(
|
|
1779
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
1780
|
+
const t = f(r, e), o = t.className;
|
|
1781
|
+
return /* @__PURE__ */ s(
|
|
1733
1782
|
ae.Sub.Dropdown,
|
|
1734
1783
|
{
|
|
1735
1784
|
ref: a,
|
|
@@ -1739,31 +1788,31 @@ const vr = te(
|
|
|
1739
1788
|
);
|
|
1740
1789
|
}
|
|
1741
1790
|
);
|
|
1742
|
-
|
|
1791
|
+
rt.displayName = "MenuSubDropdown";
|
|
1743
1792
|
const Ze = ot;
|
|
1744
1793
|
Ze.Target = tt;
|
|
1745
|
-
Ze.Item =
|
|
1746
|
-
Ze.Dropdown =
|
|
1794
|
+
Ze.Item = vs;
|
|
1795
|
+
Ze.Dropdown = rt;
|
|
1747
1796
|
const Ae = Yo;
|
|
1748
1797
|
Ae.Target = Ko;
|
|
1749
1798
|
Ae.Dropdown = Xo;
|
|
1750
|
-
Ae.Item = $
|
|
1799
|
+
Ae.Item = $s;
|
|
1751
1800
|
Ae.Divider = Qo;
|
|
1752
1801
|
Ae.Label = et;
|
|
1753
1802
|
Ae.Sub = Ze;
|
|
1754
|
-
const
|
|
1755
|
-
root:
|
|
1756
|
-
inner:
|
|
1757
|
-
content:
|
|
1758
|
-
header:
|
|
1759
|
-
title:
|
|
1760
|
-
bodyWrapper:
|
|
1761
|
-
scrollArea:
|
|
1762
|
-
footer:
|
|
1763
|
-
close:
|
|
1764
|
-
},
|
|
1803
|
+
const Cs = "Modal-module__root___ytPLl", Ps = "Modal-module__inner___SSUJE", ws = "Modal-module__content___dWO-B", gs = "Modal-module__header___ILG9i", Ts = "Modal-module__title___A5OeE", Ss = "Modal-module__bodyWrapper___5CCL-", xs = "Modal-module__scrollArea___KD-hm", As = "Modal-module__footer___rro2w", Os = "Modal-module__close___-ER1C", ne = {
|
|
1804
|
+
root: Cs,
|
|
1805
|
+
inner: Ps,
|
|
1806
|
+
content: ws,
|
|
1807
|
+
header: gs,
|
|
1808
|
+
title: Ts,
|
|
1809
|
+
bodyWrapper: Ss,
|
|
1810
|
+
scrollArea: xs,
|
|
1811
|
+
footer: As,
|
|
1812
|
+
close: Os
|
|
1813
|
+
}, st = j.forwardRef(function({
|
|
1765
1814
|
overStyled: e = !1,
|
|
1766
|
-
children:
|
|
1815
|
+
children: r,
|
|
1767
1816
|
title: a,
|
|
1768
1817
|
withCloseButton: t = !0,
|
|
1769
1818
|
overlayProps: o,
|
|
@@ -1771,7 +1820,7 @@ const Cr = "Modal-module__root___ytPLl", wr = "Modal-module__inner___SSUJE", Pr
|
|
|
1771
1820
|
closeButtonProps: i,
|
|
1772
1821
|
...c
|
|
1773
1822
|
}, d) {
|
|
1774
|
-
const p =
|
|
1823
|
+
const p = f(c, e), _ = {
|
|
1775
1824
|
root: ne.root,
|
|
1776
1825
|
inner: ne.inner,
|
|
1777
1826
|
content: ne.content,
|
|
@@ -1792,56 +1841,56 @@ const Cr = "Modal-module__root___ytPLl", wr = "Modal-module__inner___SSUJE", Pr
|
|
|
1792
1841
|
classNames: _,
|
|
1793
1842
|
...p,
|
|
1794
1843
|
children: [
|
|
1795
|
-
n && /* @__PURE__ */
|
|
1844
|
+
n && /* @__PURE__ */ s(K.Overlay, { ...o }),
|
|
1796
1845
|
/* @__PURE__ */ z(K.Content, { children: [
|
|
1797
1846
|
(a || t) && /* @__PURE__ */ z(K.Header, { children: [
|
|
1798
|
-
a && /* @__PURE__ */
|
|
1799
|
-
t && /* @__PURE__ */
|
|
1847
|
+
a && /* @__PURE__ */ s(K.Title, { children: a }),
|
|
1848
|
+
t && /* @__PURE__ */ s(K.CloseButton, { ...i })
|
|
1800
1849
|
] }),
|
|
1801
|
-
/* @__PURE__ */
|
|
1850
|
+
/* @__PURE__ */ s(co, { children: r })
|
|
1802
1851
|
] })
|
|
1803
1852
|
]
|
|
1804
1853
|
}
|
|
1805
1854
|
);
|
|
1806
1855
|
});
|
|
1807
|
-
|
|
1808
|
-
const io =
|
|
1809
|
-
return /* @__PURE__ */
|
|
1856
|
+
st.displayName = "Modal";
|
|
1857
|
+
const io = j.forwardRef(function({ className: e, ...r }, a) {
|
|
1858
|
+
return /* @__PURE__ */ s(
|
|
1810
1859
|
"div",
|
|
1811
1860
|
{
|
|
1812
1861
|
ref: a,
|
|
1813
1862
|
className: `${ne.footer} ${e || ""}`,
|
|
1814
|
-
...
|
|
1863
|
+
...r
|
|
1815
1864
|
}
|
|
1816
1865
|
);
|
|
1817
1866
|
});
|
|
1818
1867
|
io.displayName = "Modal.Footer";
|
|
1819
|
-
const co =
|
|
1820
|
-
const n =
|
|
1868
|
+
const co = j.forwardRef(function({ className: e, onScroll: r, children: a, ...t }, o) {
|
|
1869
|
+
const n = j.useRef(null), [i, c] = j.useState(!1), [d, p] = j.useState(!1), _ = j.useCallback(() => {
|
|
1821
1870
|
if (n.current) {
|
|
1822
|
-
const { scrollTop:
|
|
1823
|
-
c(
|
|
1871
|
+
const { scrollTop: b, scrollHeight: P, clientHeight: C } = n.current;
|
|
1872
|
+
c(b > 0), p(Math.ceil(b + C) < P);
|
|
1824
1873
|
}
|
|
1825
1874
|
}, []);
|
|
1826
|
-
|
|
1827
|
-
const N = (
|
|
1828
|
-
_(),
|
|
1875
|
+
j.useEffect(() => (_(), window.addEventListener("resize", _), () => window.removeEventListener("resize", _)), [_, a]);
|
|
1876
|
+
const N = (b) => {
|
|
1877
|
+
_(), r == null || r(b);
|
|
1829
1878
|
};
|
|
1830
1879
|
let u = null;
|
|
1831
1880
|
const m = [];
|
|
1832
|
-
return
|
|
1833
|
-
var
|
|
1834
|
-
|
|
1881
|
+
return j.Children.forEach(a, (b) => {
|
|
1882
|
+
var P;
|
|
1883
|
+
j.isValidElement(b) && (b.type === io || ((P = b.type) == null ? void 0 : P.displayName) === "Modal.Footer") ? u = b : m.push(b);
|
|
1835
1884
|
}), /* @__PURE__ */ z(
|
|
1836
1885
|
K.Body,
|
|
1837
1886
|
{
|
|
1838
1887
|
...t,
|
|
1839
|
-
ref: (
|
|
1840
|
-
typeof o == "function" ? o(
|
|
1888
|
+
ref: (b) => {
|
|
1889
|
+
typeof o == "function" ? o(b) : o && (o.current = b);
|
|
1841
1890
|
},
|
|
1842
1891
|
className: `${ne.bodyWrapper} ${e || ""}`,
|
|
1843
1892
|
children: [
|
|
1844
|
-
/* @__PURE__ */
|
|
1893
|
+
/* @__PURE__ */ s(
|
|
1845
1894
|
"div",
|
|
1846
1895
|
{
|
|
1847
1896
|
ref: n,
|
|
@@ -1858,7 +1907,7 @@ const co = D.forwardRef(function({ className: e, onScroll: s, children: a, ...t
|
|
|
1858
1907
|
);
|
|
1859
1908
|
});
|
|
1860
1909
|
co.displayName = "Modal.Body";
|
|
1861
|
-
const fe =
|
|
1910
|
+
const fe = st;
|
|
1862
1911
|
fe.Root = K.Root;
|
|
1863
1912
|
fe.Overlay = K.Overlay;
|
|
1864
1913
|
fe.Content = K.Content;
|
|
@@ -1867,15 +1916,15 @@ fe.Title = K.Title;
|
|
|
1867
1916
|
fe.CloseButton = K.CloseButton;
|
|
1868
1917
|
fe.Body = co;
|
|
1869
1918
|
fe.Footer = io;
|
|
1870
|
-
const
|
|
1871
|
-
layoutOverride:
|
|
1872
|
-
root:
|
|
1873
|
-
input:
|
|
1874
|
-
section:
|
|
1875
|
-
controls:
|
|
1876
|
-
control:
|
|
1877
|
-
},
|
|
1878
|
-
function(e,
|
|
1919
|
+
const Ws = "NumberInput-module__layoutOverride___5-9T4", Ls = "NumberInput-module__root___C6rAn", ks = "NumberInput-module__input___Ss8p7", Is = "NumberInput-module__section___MijP0", Ms = "NumberInput-module__controls___8UfQ2", zs = "NumberInput-module__control___Qre9-", we = {
|
|
1920
|
+
layoutOverride: Ws,
|
|
1921
|
+
root: Ls,
|
|
1922
|
+
input: ks,
|
|
1923
|
+
section: Is,
|
|
1924
|
+
controls: Ms,
|
|
1925
|
+
control: zs
|
|
1926
|
+
}, Rs = h(
|
|
1927
|
+
function(e, r) {
|
|
1879
1928
|
const {
|
|
1880
1929
|
overStyled: a = !1,
|
|
1881
1930
|
formLayout: t = "stacked",
|
|
@@ -1890,11 +1939,11 @@ const Wr = "NumberInput-module__layoutOverride___5-9T4", Lr = "NumberInput-modul
|
|
|
1890
1939
|
assistiveWithIcon: N,
|
|
1891
1940
|
error: u,
|
|
1892
1941
|
required: m,
|
|
1893
|
-
withAsterisk:
|
|
1894
|
-
id:
|
|
1895
|
-
className:
|
|
1896
|
-
style:
|
|
1897
|
-
disabled:
|
|
1942
|
+
withAsterisk: b,
|
|
1943
|
+
id: P,
|
|
1944
|
+
className: C,
|
|
1945
|
+
style: $,
|
|
1946
|
+
disabled: y,
|
|
1898
1947
|
readOnly: A,
|
|
1899
1948
|
readOnlyComponent: v,
|
|
1900
1949
|
emptyValueComponent: I,
|
|
@@ -1902,21 +1951,21 @@ const Wr = "NumberInput-module__layoutOverride___5-9T4", Lr = "NumberInput-modul
|
|
|
1902
1951
|
defaultValue: S,
|
|
1903
1952
|
hideControls: O = !1,
|
|
1904
1953
|
...W
|
|
1905
|
-
} = e, w =
|
|
1906
|
-
delete
|
|
1954
|
+
} = e, w = f(W, a), g = w;
|
|
1955
|
+
delete g.size, delete g.variant, delete g.radius;
|
|
1907
1956
|
const L = {
|
|
1908
|
-
wrapper:
|
|
1957
|
+
wrapper: we.root,
|
|
1909
1958
|
// The nested Input internal relative wrapper bounding box
|
|
1910
|
-
input:
|
|
1911
|
-
section:
|
|
1912
|
-
controls:
|
|
1913
|
-
control:
|
|
1914
|
-
}, R =
|
|
1915
|
-
return /* @__PURE__ */
|
|
1959
|
+
input: we.input,
|
|
1960
|
+
section: we.section,
|
|
1961
|
+
controls: we.controls,
|
|
1962
|
+
control: we.control
|
|
1963
|
+
}, R = C ? `${we.layoutOverride} ${C}` : we.layoutOverride;
|
|
1964
|
+
return /* @__PURE__ */ s(
|
|
1916
1965
|
oe,
|
|
1917
1966
|
{
|
|
1918
1967
|
className: R,
|
|
1919
|
-
style:
|
|
1968
|
+
style: $,
|
|
1920
1969
|
controlMaxWidth: "var(--recursica_ui-kit_components_number-input_properties_max-width)",
|
|
1921
1970
|
controlMinWidth: "var(--recursica_ui-kit_components_number-input_properties_min-width)",
|
|
1922
1971
|
overStyled: a,
|
|
@@ -1931,8 +1980,8 @@ const Wr = "NumberInput-module__layoutOverride___5-9T4", Lr = "NumberInput-modul
|
|
|
1931
1980
|
assistiveWithIcon: N,
|
|
1932
1981
|
error: u,
|
|
1933
1982
|
required: m,
|
|
1934
|
-
withAsterisk:
|
|
1935
|
-
id:
|
|
1983
|
+
withAsterisk: b,
|
|
1984
|
+
id: P,
|
|
1936
1985
|
readOnly: A,
|
|
1937
1986
|
readOnlyComponent: v,
|
|
1938
1987
|
emptyValueComponent: I,
|
|
@@ -1941,12 +1990,12 @@ const Wr = "NumberInput-module__layoutOverride___5-9T4", Lr = "NumberInput-modul
|
|
|
1941
1990
|
readOnlyNativeProps: e,
|
|
1942
1991
|
activeComponent: (
|
|
1943
1992
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1944
|
-
/* @__PURE__ */
|
|
1993
|
+
/* @__PURE__ */ s(
|
|
1945
1994
|
na,
|
|
1946
1995
|
{
|
|
1947
|
-
ref:
|
|
1996
|
+
ref: r,
|
|
1948
1997
|
classNames: L,
|
|
1949
|
-
disabled:
|
|
1998
|
+
disabled: y,
|
|
1950
1999
|
value: x,
|
|
1951
2000
|
defaultValue: S,
|
|
1952
2001
|
hideControls: O,
|
|
@@ -1956,10 +2005,10 @@ const Wr = "NumberInput-module__layoutOverride___5-9T4", Lr = "NumberInput-modul
|
|
|
1956
2005
|
required: void 0,
|
|
1957
2006
|
withAsterisk: void 0,
|
|
1958
2007
|
wrapperProps: {
|
|
1959
|
-
"data-disabled":
|
|
2008
|
+
"data-disabled": y ? "true" : void 0,
|
|
1960
2009
|
"data-error": u ? "true" : void 0,
|
|
1961
|
-
"data-with-left-section":
|
|
1962
|
-
"data-with-right-section":
|
|
2010
|
+
"data-with-left-section": g.leftSection ? "true" : void 0,
|
|
2011
|
+
"data-with-right-section": g.rightSection || !O ? "true" : void 0
|
|
1963
2012
|
},
|
|
1964
2013
|
...w
|
|
1965
2014
|
}
|
|
@@ -1969,63 +2018,63 @@ const Wr = "NumberInput-module__layoutOverride___5-9T4", Lr = "NumberInput-modul
|
|
|
1969
2018
|
);
|
|
1970
2019
|
}
|
|
1971
2020
|
);
|
|
1972
|
-
|
|
1973
|
-
const
|
|
1974
|
-
root:
|
|
1975
|
-
control:
|
|
1976
|
-
dots:
|
|
1977
|
-
iconWithLabel:
|
|
1978
|
-
baseIcon:
|
|
1979
|
-
},
|
|
1980
|
-
next:
|
|
1981
|
-
prev:
|
|
1982
|
-
first:
|
|
1983
|
-
last:
|
|
2021
|
+
Rs.displayName = "NumberInput";
|
|
2022
|
+
const Bs = "Pagination-module__root___ITRjt", Fs = "Pagination-module__control___40yNT", Es = "Pagination-module__dots___Yl9da", Vs = "Pagination-module__iconWithLabel___pLM4O", Ds = "Pagination-module__baseIcon___Qw3bJ", G = {
|
|
2023
|
+
root: Bs,
|
|
2024
|
+
control: Fs,
|
|
2025
|
+
dots: Es,
|
|
2026
|
+
iconWithLabel: Vs,
|
|
2027
|
+
baseIcon: Ds
|
|
2028
|
+
}, js = "M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z", Gs = "M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z", Hs = "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", qs = "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", Us = {
|
|
2029
|
+
next: js,
|
|
2030
|
+
prev: Gs,
|
|
2031
|
+
first: Hs,
|
|
2032
|
+
last: qs
|
|
1984
2033
|
}, ze = ({
|
|
1985
2034
|
type: l,
|
|
1986
2035
|
className: e,
|
|
1987
|
-
...
|
|
1988
|
-
}) => /* @__PURE__ */
|
|
2036
|
+
...r
|
|
2037
|
+
}) => /* @__PURE__ */ s(
|
|
1989
2038
|
"svg",
|
|
1990
2039
|
{
|
|
1991
2040
|
viewBox: "0 0 16 16",
|
|
1992
2041
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1993
2042
|
className: `${G.baseIcon} ${e || ""}`.trim(),
|
|
1994
|
-
...
|
|
1995
|
-
children: /* @__PURE__ */
|
|
2043
|
+
...r,
|
|
2044
|
+
children: /* @__PURE__ */ s("path", { d: Us[l], fill: "currentColor" })
|
|
1996
2045
|
}
|
|
1997
2046
|
), nt = (l) => /* @__PURE__ */ z("div", { className: G.iconWithLabel, children: [
|
|
1998
|
-
/* @__PURE__ */
|
|
1999
|
-
/* @__PURE__ */
|
|
2047
|
+
/* @__PURE__ */ s("span", { children: "Next" }),
|
|
2048
|
+
/* @__PURE__ */ s(ze, { type: "next", ...l })
|
|
2000
2049
|
] }), lt = (l) => /* @__PURE__ */ z("div", { className: G.iconWithLabel, children: [
|
|
2001
|
-
/* @__PURE__ */
|
|
2002
|
-
/* @__PURE__ */
|
|
2050
|
+
/* @__PURE__ */ s(ze, { type: "prev", ...l }),
|
|
2051
|
+
/* @__PURE__ */ s("span", { children: "Prev" })
|
|
2003
2052
|
] }), it = (l) => /* @__PURE__ */ z("div", { className: G.iconWithLabel, children: [
|
|
2004
|
-
/* @__PURE__ */
|
|
2005
|
-
/* @__PURE__ */
|
|
2053
|
+
/* @__PURE__ */ s(ze, { type: "first", ...l }),
|
|
2054
|
+
/* @__PURE__ */ s("span", { children: "First" })
|
|
2006
2055
|
] }), ct = (l) => /* @__PURE__ */ z("div", { className: G.iconWithLabel, children: [
|
|
2007
|
-
/* @__PURE__ */
|
|
2008
|
-
/* @__PURE__ */
|
|
2056
|
+
/* @__PURE__ */ s("span", { children: "Last" }),
|
|
2057
|
+
/* @__PURE__ */ s(ze, { type: "last", ...l })
|
|
2009
2058
|
] });
|
|
2010
2059
|
function dt(l) {
|
|
2011
2060
|
const e = {
|
|
2012
2061
|
root: G.root,
|
|
2013
2062
|
control: G.control,
|
|
2014
2063
|
dots: G.dots
|
|
2015
|
-
},
|
|
2016
|
-
if (
|
|
2017
|
-
const o =
|
|
2064
|
+
}, r = l.classNames;
|
|
2065
|
+
if (r && typeof r == "object" && !Array.isArray(r)) {
|
|
2066
|
+
const o = r;
|
|
2018
2067
|
e.root = o.root ? `${G.root} ${o.root}` : G.root, e.control = o.control ? `${G.control} ${o.control}` : G.control, e.dots = o.dots ? `${G.dots} ${o.dots}` : G.dots;
|
|
2019
2068
|
}
|
|
2020
2069
|
const a = l.className;
|
|
2021
2070
|
return { className: a ? `${G.root} ${a}` : G.root, classNames: e };
|
|
2022
2071
|
}
|
|
2023
|
-
const pt =
|
|
2024
|
-
function({ overStyled: e = !1, ...
|
|
2025
|
-
const t =
|
|
2072
|
+
const pt = h(
|
|
2073
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
2074
|
+
const t = f(r, e), o = dt(
|
|
2026
2075
|
t
|
|
2027
2076
|
);
|
|
2028
|
-
return /* @__PURE__ */
|
|
2077
|
+
return /* @__PURE__ */ s(
|
|
2029
2078
|
ie.Root,
|
|
2030
2079
|
{
|
|
2031
2080
|
ref: a,
|
|
@@ -2037,9 +2086,9 @@ const pt = $(
|
|
|
2037
2086
|
}
|
|
2038
2087
|
);
|
|
2039
2088
|
pt.displayName = "Pagination.Root";
|
|
2040
|
-
const _t =
|
|
2041
|
-
const o =
|
|
2042
|
-
return /* @__PURE__ */
|
|
2089
|
+
const _t = h(function({ withLabel: e, icon: r, ...a }, t) {
|
|
2090
|
+
const o = r || (e ? nt : void 0);
|
|
2091
|
+
return /* @__PURE__ */ s(
|
|
2043
2092
|
ie.Next,
|
|
2044
2093
|
{
|
|
2045
2094
|
ref: t,
|
|
@@ -2050,9 +2099,9 @@ const _t = $(function({ withLabel: e, icon: s, ...a }, t) {
|
|
|
2050
2099
|
);
|
|
2051
2100
|
});
|
|
2052
2101
|
_t.displayName = "Pagination.Next";
|
|
2053
|
-
const mt =
|
|
2054
|
-
const o =
|
|
2055
|
-
return /* @__PURE__ */
|
|
2102
|
+
const mt = h(function({ withLabel: e, icon: r, ...a }, t) {
|
|
2103
|
+
const o = r || (e ? lt : void 0);
|
|
2104
|
+
return /* @__PURE__ */ s(
|
|
2056
2105
|
ie.Previous,
|
|
2057
2106
|
{
|
|
2058
2107
|
ref: t,
|
|
@@ -2063,9 +2112,9 @@ const mt = $(function({ withLabel: e, icon: s, ...a }, t) {
|
|
|
2063
2112
|
);
|
|
2064
2113
|
});
|
|
2065
2114
|
mt.displayName = "Pagination.Previous";
|
|
2066
|
-
const ut =
|
|
2067
|
-
const o =
|
|
2068
|
-
return /* @__PURE__ */
|
|
2115
|
+
const ut = h(function({ withLabel: e, icon: r, ...a }, t) {
|
|
2116
|
+
const o = r || (e ? it : void 0);
|
|
2117
|
+
return /* @__PURE__ */ s(
|
|
2069
2118
|
ie.First,
|
|
2070
2119
|
{
|
|
2071
2120
|
ref: t,
|
|
@@ -2076,9 +2125,9 @@ const ut = $(function({ withLabel: e, icon: s, ...a }, t) {
|
|
|
2076
2125
|
);
|
|
2077
2126
|
});
|
|
2078
2127
|
ut.displayName = "Pagination.First";
|
|
2079
|
-
const bt =
|
|
2080
|
-
const o =
|
|
2081
|
-
return /* @__PURE__ */
|
|
2128
|
+
const bt = h(function({ withLabel: e, icon: r, ...a }, t) {
|
|
2129
|
+
const o = r || (e ? ct : void 0);
|
|
2130
|
+
return /* @__PURE__ */ s(
|
|
2082
2131
|
ie.Last,
|
|
2083
2132
|
{
|
|
2084
2133
|
ref: t,
|
|
@@ -2089,20 +2138,20 @@ const bt = $(function({ withLabel: e, icon: s, ...a }, t) {
|
|
|
2089
2138
|
);
|
|
2090
2139
|
});
|
|
2091
2140
|
bt.displayName = "Pagination.Last";
|
|
2092
|
-
const yt =
|
|
2093
|
-
function({ overStyled: e = !1, getControlProps:
|
|
2094
|
-
const n =
|
|
2141
|
+
const yt = h(
|
|
2142
|
+
function({ overStyled: e = !1, getControlProps: r, withLabels: a, ...t }, o) {
|
|
2143
|
+
const n = f(t, e), i = dt(
|
|
2095
2144
|
n
|
|
2096
2145
|
), c = (p) => {
|
|
2097
2146
|
const _ = { "data-variant": "text" };
|
|
2098
|
-
return
|
|
2147
|
+
return r ? { ..._, ...r(p) } : _;
|
|
2099
2148
|
}, d = a ? {
|
|
2100
2149
|
nextIcon: nt,
|
|
2101
2150
|
previousIcon: lt,
|
|
2102
2151
|
firstIcon: it,
|
|
2103
2152
|
lastIcon: ct
|
|
2104
2153
|
} : {};
|
|
2105
|
-
return /* @__PURE__ */
|
|
2154
|
+
return /* @__PURE__ */ s(
|
|
2106
2155
|
ie,
|
|
2107
2156
|
{
|
|
2108
2157
|
ref: o,
|
|
@@ -2126,22 +2175,22 @@ de.Previous = mt;
|
|
|
2126
2175
|
de.First = ut;
|
|
2127
2176
|
de.Last = bt;
|
|
2128
2177
|
de.Icon = ze;
|
|
2129
|
-
const
|
|
2130
|
-
content:
|
|
2131
|
-
inner:
|
|
2132
|
-
header:
|
|
2133
|
-
title:
|
|
2134
|
-
titleTruncate:
|
|
2135
|
-
body:
|
|
2178
|
+
const Zs = "Panel-module__content___wdGo-", Ys = "Panel-module__inner___ruA2b", Ks = "Panel-module__header___o7SiC", Xs = "Panel-module__title___181OP", Js = "Panel-module__titleTruncate___fuP6V Panel-module__title___181OP", Qs = "Panel-module__body___SEC3T", en = "Panel-module__footer___t6-hz", ye = {
|
|
2179
|
+
content: Zs,
|
|
2180
|
+
inner: Ys,
|
|
2181
|
+
header: Ks,
|
|
2182
|
+
title: Xs,
|
|
2183
|
+
titleTruncate: Js,
|
|
2184
|
+
body: Qs,
|
|
2136
2185
|
footer: en
|
|
2137
2186
|
}, Nt = function({
|
|
2138
2187
|
overStyled: e = !1,
|
|
2139
|
-
position:
|
|
2188
|
+
position: r = "right",
|
|
2140
2189
|
keepMounted: a = !0,
|
|
2141
2190
|
wrapHeaderText: t = !1,
|
|
2142
2191
|
...o
|
|
2143
2192
|
}) {
|
|
2144
|
-
const n =
|
|
2193
|
+
const n = f(o, e), i = {
|
|
2145
2194
|
content: ye.content,
|
|
2146
2195
|
header: ye.header,
|
|
2147
2196
|
title: t ? ye.titleTruncate : ye.title,
|
|
@@ -2154,10 +2203,10 @@ const Zr = "Panel-module__content___wdGo-", Yr = "Panel-module__inner___ruA2b",
|
|
|
2154
2203
|
i[p] ? i[p] = `${i[p]} ${d[p]}` : i[p] = d[p];
|
|
2155
2204
|
});
|
|
2156
2205
|
}
|
|
2157
|
-
return /* @__PURE__ */
|
|
2206
|
+
return /* @__PURE__ */ s(
|
|
2158
2207
|
ce,
|
|
2159
2208
|
{
|
|
2160
|
-
position:
|
|
2209
|
+
position: r,
|
|
2161
2210
|
keepMounted: a,
|
|
2162
2211
|
closeOnClickOutside: o.closeOnClickOutside ?? !!o.opened,
|
|
2163
2212
|
...n,
|
|
@@ -2166,10 +2215,10 @@ const Zr = "Panel-module__content___wdGo-", Yr = "Panel-module__inner___ruA2b",
|
|
|
2166
2215
|
);
|
|
2167
2216
|
};
|
|
2168
2217
|
Nt.displayName = "Panel";
|
|
2169
|
-
const ft =
|
|
2170
|
-
function({ overStyled: e = !1, ...
|
|
2171
|
-
const t =
|
|
2172
|
-
return /* @__PURE__ */
|
|
2218
|
+
const ft = h(
|
|
2219
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
2220
|
+
const t = f(r, e), o = t.className, n = o ? `${ye.footer} ${o}` : ye.footer;
|
|
2221
|
+
return /* @__PURE__ */ s("div", { ref: a, className: n, ...t });
|
|
2173
2222
|
}
|
|
2174
2223
|
);
|
|
2175
2224
|
ft.displayName = "PanelFooter";
|
|
@@ -2188,10 +2237,10 @@ const on = "Popover-module__dropdown___svhS6", tn = "Popover-module__arrow___5A-
|
|
|
2188
2237
|
arrow: tn
|
|
2189
2238
|
}, ht = function({
|
|
2190
2239
|
overStyled: e = !1,
|
|
2191
|
-
withBeak:
|
|
2240
|
+
withBeak: r = !0,
|
|
2192
2241
|
...a
|
|
2193
2242
|
}) {
|
|
2194
|
-
const t =
|
|
2243
|
+
const t = f(a, e), o = {
|
|
2195
2244
|
dropdown: ho.dropdown,
|
|
2196
2245
|
arrow: ho.arrow
|
|
2197
2246
|
}, n = t.classNames;
|
|
@@ -2202,12 +2251,12 @@ const on = "Popover-module__dropdown___svhS6", tn = "Popover-module__arrow___5A-
|
|
|
2202
2251
|
});
|
|
2203
2252
|
}
|
|
2204
2253
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
2205
|
-
return /* @__PURE__ */
|
|
2254
|
+
return /* @__PURE__ */ s(
|
|
2206
2255
|
to,
|
|
2207
2256
|
{
|
|
2208
2257
|
position: "top",
|
|
2209
2258
|
arrowSize: i,
|
|
2210
|
-
withArrow:
|
|
2259
|
+
withArrow: r ?? c,
|
|
2211
2260
|
classNames: o,
|
|
2212
2261
|
...t
|
|
2213
2262
|
}
|
|
@@ -2215,15 +2264,15 @@ const on = "Popover-module__dropdown___svhS6", tn = "Popover-module__arrow___5A-
|
|
|
2215
2264
|
};
|
|
2216
2265
|
ht.displayName = "Popover";
|
|
2217
2266
|
const $t = function(e) {
|
|
2218
|
-
return /* @__PURE__ */
|
|
2267
|
+
return /* @__PURE__ */ s(to.Target, { ...e });
|
|
2219
2268
|
};
|
|
2220
2269
|
$t.displayName = "PopoverTarget";
|
|
2221
2270
|
const vt = function({
|
|
2222
2271
|
overStyled: e = !1,
|
|
2223
|
-
...
|
|
2272
|
+
...r
|
|
2224
2273
|
}) {
|
|
2225
|
-
const a =
|
|
2226
|
-
return /* @__PURE__ */
|
|
2274
|
+
const a = f(r, e), t = a.className;
|
|
2275
|
+
return /* @__PURE__ */ s(
|
|
2227
2276
|
to.Dropdown,
|
|
2228
2277
|
{
|
|
2229
2278
|
className: t,
|
|
@@ -2235,17 +2284,17 @@ vt.displayName = "PopoverDropdown";
|
|
|
2235
2284
|
const Ct = ht;
|
|
2236
2285
|
Ct.Target = $t;
|
|
2237
2286
|
Ct.Dropdown = vt;
|
|
2238
|
-
const an = "Radio-module__groupRoot___bfUii",
|
|
2287
|
+
const an = "Radio-module__groupRoot___bfUii", rn = "Radio-module__root___kAjTD", sn = "Radio-module__body___q2Wpj", nn = "Radio-module__inner___QaTBB", ln = "Radio-module__radio___MfgN-", cn = "Radio-module__icon___DWznm", dn = "Radio-module__labelWrapper___dB0Gi", pn = "Radio-module__label___vAFIP", F = {
|
|
2239
2288
|
groupRoot: an,
|
|
2240
|
-
root:
|
|
2241
|
-
body:
|
|
2289
|
+
root: rn,
|
|
2290
|
+
body: sn,
|
|
2242
2291
|
inner: nn,
|
|
2243
2292
|
radio: ln,
|
|
2244
2293
|
icon: cn,
|
|
2245
2294
|
labelWrapper: dn,
|
|
2246
2295
|
label: pn
|
|
2247
|
-
},
|
|
2248
|
-
function(e,
|
|
2296
|
+
}, Pt = h(
|
|
2297
|
+
function(e, r) {
|
|
2249
2298
|
const {
|
|
2250
2299
|
overStyled: a = !1,
|
|
2251
2300
|
formLayout: t = "stacked",
|
|
@@ -2261,11 +2310,11 @@ const an = "Radio-module__groupRoot___bfUii", sn = "Radio-module__root___kAjTD",
|
|
|
2261
2310
|
assistiveText: N,
|
|
2262
2311
|
assistiveWithIcon: u,
|
|
2263
2312
|
error: m,
|
|
2264
|
-
required:
|
|
2265
|
-
withAsterisk:
|
|
2266
|
-
id:
|
|
2267
|
-
className:
|
|
2268
|
-
style:
|
|
2313
|
+
required: b,
|
|
2314
|
+
withAsterisk: P,
|
|
2315
|
+
id: C,
|
|
2316
|
+
className: $,
|
|
2317
|
+
style: y,
|
|
2269
2318
|
children: A,
|
|
2270
2319
|
readOnly: v,
|
|
2271
2320
|
readOnlyComponent: I,
|
|
@@ -2273,12 +2322,12 @@ const an = "Radio-module__groupRoot___bfUii", sn = "Radio-module__root___kAjTD",
|
|
|
2273
2322
|
value: S,
|
|
2274
2323
|
defaultValue: O,
|
|
2275
2324
|
...W
|
|
2276
|
-
} = e, w =
|
|
2277
|
-
return delete
|
|
2325
|
+
} = e, w = f(W, a), g = w;
|
|
2326
|
+
return delete g.size, /* @__PURE__ */ s(
|
|
2278
2327
|
oe,
|
|
2279
2328
|
{
|
|
2280
|
-
className:
|
|
2281
|
-
style:
|
|
2329
|
+
className: $,
|
|
2330
|
+
style: y,
|
|
2282
2331
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
2283
2332
|
controlMinWidth: void 0,
|
|
2284
2333
|
overStyled: a,
|
|
@@ -2294,32 +2343,32 @@ const an = "Radio-module__groupRoot___bfUii", sn = "Radio-module__root___kAjTD",
|
|
|
2294
2343
|
assistiveText: N,
|
|
2295
2344
|
assistiveWithIcon: u,
|
|
2296
2345
|
error: m,
|
|
2297
|
-
required:
|
|
2298
|
-
withAsterisk:
|
|
2299
|
-
id:
|
|
2346
|
+
required: b,
|
|
2347
|
+
withAsterisk: P,
|
|
2348
|
+
id: C,
|
|
2300
2349
|
readOnly: v && !!I,
|
|
2301
2350
|
readOnlyComponent: I,
|
|
2302
2351
|
emptyValueComponent: x,
|
|
2303
2352
|
readOnlyType: "text",
|
|
2304
2353
|
readOnlyValue: S !== void 0 ? S : O,
|
|
2305
2354
|
readOnlyNativeProps: e,
|
|
2306
|
-
activeComponent: /* @__PURE__ */
|
|
2307
|
-
|
|
2355
|
+
activeComponent: /* @__PURE__ */ s(
|
|
2356
|
+
wo.Group,
|
|
2308
2357
|
{
|
|
2309
|
-
ref:
|
|
2358
|
+
ref: r,
|
|
2310
2359
|
...w,
|
|
2311
|
-
disabled: v ||
|
|
2360
|
+
disabled: v || g.disabled,
|
|
2312
2361
|
value: S,
|
|
2313
2362
|
defaultValue: O,
|
|
2314
|
-
children: /* @__PURE__ */
|
|
2363
|
+
children: /* @__PURE__ */ s("div", { className: F.groupRoot, "data-layout": t, children: A })
|
|
2315
2364
|
}
|
|
2316
2365
|
)
|
|
2317
2366
|
}
|
|
2318
2367
|
);
|
|
2319
2368
|
}
|
|
2320
2369
|
);
|
|
2321
|
-
|
|
2322
|
-
const _n = ({ className: l, style: e }) => /* @__PURE__ */
|
|
2370
|
+
Pt.displayName = "RadioGroup";
|
|
2371
|
+
const _n = ({ className: l, style: e }) => /* @__PURE__ */ s(
|
|
2323
2372
|
"svg",
|
|
2324
2373
|
{
|
|
2325
2374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2327,10 +2376,10 @@ const _n = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2327
2376
|
fill: "currentColor",
|
|
2328
2377
|
className: l,
|
|
2329
2378
|
style: e,
|
|
2330
|
-
children: /* @__PURE__ */
|
|
2379
|
+
children: /* @__PURE__ */ s("circle", { cx: "8", cy: "8", r: "5" })
|
|
2331
2380
|
}
|
|
2332
|
-
),
|
|
2333
|
-
function(e,
|
|
2381
|
+
), wt = h(
|
|
2382
|
+
function(e, r) {
|
|
2334
2383
|
const {
|
|
2335
2384
|
overStyled: a = !1,
|
|
2336
2385
|
readOnly: t,
|
|
@@ -2341,7 +2390,7 @@ const _n = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2341
2390
|
controlMaxWidth: d,
|
|
2342
2391
|
controlMinWidth: p,
|
|
2343
2392
|
..._
|
|
2344
|
-
} = e, N =
|
|
2393
|
+
} = e, N = f(_, a), u = N;
|
|
2345
2394
|
delete u.size, delete u.color, delete u.radius, delete u.variant, delete u.iconColor;
|
|
2346
2395
|
const m = {
|
|
2347
2396
|
root: F.root,
|
|
@@ -2351,22 +2400,22 @@ const _n = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2351
2400
|
icon: F.icon,
|
|
2352
2401
|
labelWrapper: F.labelWrapper,
|
|
2353
2402
|
label: F.label
|
|
2354
|
-
},
|
|
2355
|
-
if (
|
|
2356
|
-
const
|
|
2357
|
-
m.root =
|
|
2403
|
+
}, b = u.classNames;
|
|
2404
|
+
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
2405
|
+
const y = b;
|
|
2406
|
+
m.root = y.root ? `${F.root} ${y.root}` : F.root, m.body = y.body ? `${F.body} ${y.body}` : F.body, m.inner = y.inner ? `${F.inner} ${y.inner}` : F.inner, m.radio = y.radio ? `${F.radio} ${y.radio}` : F.radio, m.icon = y.icon ? `${F.icon} ${y.icon}` : F.icon, m.labelWrapper = y.labelWrapper ? `${F.labelWrapper} ${y.labelWrapper}` : F.labelWrapper, m.label = y.label ? `${F.label} ${y.label}` : F.label;
|
|
2358
2407
|
}
|
|
2359
|
-
const
|
|
2408
|
+
const P = u.className, C = P ? `${F.root} ${P}` : F.root;
|
|
2360
2409
|
if (t && o) {
|
|
2361
|
-
const
|
|
2410
|
+
const y = !!(u.checked ?? u.defaultChecked), v = /* @__PURE__ */ s(
|
|
2362
2411
|
o,
|
|
2363
2412
|
{
|
|
2364
2413
|
...e,
|
|
2365
|
-
checked:
|
|
2414
|
+
checked: y,
|
|
2366
2415
|
label: u.label
|
|
2367
2416
|
}
|
|
2368
2417
|
);
|
|
2369
|
-
return i ? /* @__PURE__ */
|
|
2418
|
+
return i ? /* @__PURE__ */ s(
|
|
2370
2419
|
Ne,
|
|
2371
2420
|
{
|
|
2372
2421
|
formLayout: i,
|
|
@@ -2375,33 +2424,33 @@ const _n = ({ className: l, style: e }) => /* @__PURE__ */ r(
|
|
|
2375
2424
|
controlMinWidth: p,
|
|
2376
2425
|
children: v
|
|
2377
2426
|
}
|
|
2378
|
-
) : /* @__PURE__ */
|
|
2427
|
+
) : /* @__PURE__ */ s(xe, { children: v });
|
|
2379
2428
|
}
|
|
2380
|
-
const
|
|
2381
|
-
|
|
2429
|
+
const $ = /* @__PURE__ */ s(
|
|
2430
|
+
wo,
|
|
2382
2431
|
{
|
|
2383
|
-
ref:
|
|
2432
|
+
ref: r,
|
|
2384
2433
|
icon: _n,
|
|
2385
|
-
className:
|
|
2434
|
+
className: C,
|
|
2386
2435
|
classNames: m,
|
|
2387
2436
|
disabled: t || n,
|
|
2388
2437
|
...N
|
|
2389
2438
|
}
|
|
2390
2439
|
);
|
|
2391
|
-
return i ? /* @__PURE__ */
|
|
2440
|
+
return i ? /* @__PURE__ */ s(
|
|
2392
2441
|
Ne,
|
|
2393
2442
|
{
|
|
2394
2443
|
formLayout: i,
|
|
2395
2444
|
labelSize: c,
|
|
2396
2445
|
controlMaxWidth: d,
|
|
2397
2446
|
controlMinWidth: p,
|
|
2398
|
-
children:
|
|
2447
|
+
children: $
|
|
2399
2448
|
}
|
|
2400
|
-
) :
|
|
2449
|
+
) : $;
|
|
2401
2450
|
}
|
|
2402
2451
|
);
|
|
2403
|
-
|
|
2404
|
-
|
|
2452
|
+
wt.displayName = "Radio";
|
|
2453
|
+
wt.Group = Pt;
|
|
2405
2454
|
const mn = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
2406
2455
|
eo,
|
|
2407
2456
|
{
|
|
@@ -2413,7 +2462,7 @@ const mn = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
|
2413
2462
|
e,
|
|
2414
2463
|
":"
|
|
2415
2464
|
] }),
|
|
2416
|
-
/* @__PURE__ */
|
|
2465
|
+
/* @__PURE__ */ s("span", { children: l ? "On" : "Off" })
|
|
2417
2466
|
]
|
|
2418
2467
|
}
|
|
2419
2468
|
);
|
|
@@ -2429,7 +2478,7 @@ const un = ({ checked: l, label: e }) => /* @__PURE__ */ z(
|
|
|
2429
2478
|
e,
|
|
2430
2479
|
":"
|
|
2431
2480
|
] }),
|
|
2432
|
-
/* @__PURE__ */
|
|
2481
|
+
/* @__PURE__ */ s("span", { children: l ? "True" : "False" })
|
|
2433
2482
|
]
|
|
2434
2483
|
}
|
|
2435
2484
|
);
|
|
@@ -2446,40 +2495,40 @@ function hn(l) {
|
|
|
2446
2495
|
control: Y.control,
|
|
2447
2496
|
label: Y.label,
|
|
2448
2497
|
indicator: Y.indicator
|
|
2449
|
-
},
|
|
2450
|
-
if (
|
|
2451
|
-
const o =
|
|
2498
|
+
}, r = l.classNames;
|
|
2499
|
+
if (r && typeof r == "object" && !Array.isArray(r)) {
|
|
2500
|
+
const o = r;
|
|
2452
2501
|
e.root = o.root ? `${Y.root} ${o.root}` : Y.root, e.control = o.control ? `${Y.control} ${o.control}` : Y.control, e.label = o.label ? `${Y.label} ${o.label}` : Y.label, e.indicator = o.indicator ? `${Y.indicator} ${o.indicator}` : Y.indicator;
|
|
2453
2502
|
}
|
|
2454
2503
|
const a = l.className;
|
|
2455
2504
|
return { className: a ? `${Y.root} ${a}` : Y.root, classNames: e };
|
|
2456
2505
|
}
|
|
2457
|
-
const gt =
|
|
2458
|
-
function({ overStyled: e = !1, orientation:
|
|
2459
|
-
const n =
|
|
2506
|
+
const gt = h(
|
|
2507
|
+
function({ overStyled: e = !1, orientation: r = "horizontal", fullWidth: a, ...t }, o) {
|
|
2508
|
+
const n = f(t, e), i = n;
|
|
2460
2509
|
delete i.disabled;
|
|
2461
2510
|
const c = hn(i);
|
|
2462
|
-
return /* @__PURE__ */
|
|
2511
|
+
return /* @__PURE__ */ s(
|
|
2463
2512
|
la,
|
|
2464
2513
|
{
|
|
2465
2514
|
ref: o,
|
|
2466
2515
|
className: c.className,
|
|
2467
2516
|
classNames: c.classNames,
|
|
2468
|
-
orientation:
|
|
2517
|
+
orientation: r,
|
|
2469
2518
|
fullWidth: a,
|
|
2470
|
-
"data-orientation":
|
|
2519
|
+
"data-orientation": r,
|
|
2471
2520
|
...n
|
|
2472
2521
|
}
|
|
2473
2522
|
);
|
|
2474
2523
|
}
|
|
2475
2524
|
);
|
|
2476
2525
|
gt.displayName = "SegmentedControl";
|
|
2477
|
-
const
|
|
2526
|
+
const oi = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module__sliderContainer___y8I0J", Cn = "Slider-module__sliderTrackWrapper___UHpVh", Pn = "Slider-module__iconWrapper___uqHpC", wn = "Slider-module__sliderRoot___LI86H", gn = "Slider-module__sliderTrack___oqnlG", Tn = "Slider-module__sliderBar___TI4VY", Sn = "Slider-module__sliderThumb___OFn8p", xn = "Slider-module__sliderMark___1lM2B", An = "Slider-module__minMaxGuide___TaGqz", On = "Slider-module__rightGuideContainer___8dOT8", Wn = "Slider-module__currentValue___dGV2T", Ln = "Slider-module__inputField___6x578", kn = "Slider-module__readOnlyValue___-ZzMW", k = {
|
|
2478
2527
|
layoutOverride: $n,
|
|
2479
2528
|
sliderContainer: vn,
|
|
2480
2529
|
sliderTrackWrapper: Cn,
|
|
2481
|
-
iconWrapper:
|
|
2482
|
-
sliderRoot:
|
|
2530
|
+
iconWrapper: Pn,
|
|
2531
|
+
sliderRoot: wn,
|
|
2483
2532
|
sliderTrack: gn,
|
|
2484
2533
|
sliderBar: Tn,
|
|
2485
2534
|
sliderThumb: Sn,
|
|
@@ -2489,8 +2538,8 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2489
2538
|
currentValue: Wn,
|
|
2490
2539
|
inputField: Ln,
|
|
2491
2540
|
readOnlyValue: kn
|
|
2492
|
-
}, In = ({ value: l }) => /* @__PURE__ */
|
|
2493
|
-
function(e,
|
|
2541
|
+
}, In = ({ value: l }) => /* @__PURE__ */ s("div", { className: k.readOnlyValue, children: l }), Mn = h(
|
|
2542
|
+
function(e, r) {
|
|
2494
2543
|
const {
|
|
2495
2544
|
overStyled: a = !1,
|
|
2496
2545
|
formLayout: t = "stacked",
|
|
@@ -2505,11 +2554,11 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2505
2554
|
tooltipLabel: N,
|
|
2506
2555
|
assistiveText: u,
|
|
2507
2556
|
assistiveWithIcon: m,
|
|
2508
|
-
error:
|
|
2509
|
-
required:
|
|
2510
|
-
withAsterisk:
|
|
2511
|
-
id:
|
|
2512
|
-
className:
|
|
2557
|
+
error: b,
|
|
2558
|
+
required: P,
|
|
2559
|
+
withAsterisk: C,
|
|
2560
|
+
id: $,
|
|
2561
|
+
className: y,
|
|
2513
2562
|
style: A,
|
|
2514
2563
|
disabled: v,
|
|
2515
2564
|
readOnly: I,
|
|
@@ -2518,10 +2567,10 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2518
2567
|
value: O,
|
|
2519
2568
|
defaultValue: W,
|
|
2520
2569
|
icon: w,
|
|
2521
|
-
showInput:
|
|
2570
|
+
showInput: g = !1,
|
|
2522
2571
|
showMinMaxLabels: L = !0,
|
|
2523
2572
|
min: R = 0,
|
|
2524
|
-
max:
|
|
2573
|
+
max: T = 100,
|
|
2525
2574
|
step: he = 1,
|
|
2526
2575
|
onChange: $e,
|
|
2527
2576
|
onChangeEnd: U,
|
|
@@ -2534,17 +2583,17 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2534
2583
|
}, [_e]);
|
|
2535
2584
|
const po = (E) => {
|
|
2536
2585
|
O === void 0 && Et(E), $e == null || $e(E);
|
|
2537
|
-
},
|
|
2586
|
+
}, Dt = (E) => {
|
|
2538
2587
|
const mo = E.target.value;
|
|
2539
2588
|
Ke(mo);
|
|
2540
2589
|
const uo = parseFloat(mo);
|
|
2541
2590
|
if (!isNaN(uo)) {
|
|
2542
|
-
const qt = Math.max(R, Math.min(
|
|
2591
|
+
const qt = Math.max(R, Math.min(T, uo));
|
|
2543
2592
|
po(qt);
|
|
2544
2593
|
}
|
|
2545
|
-
},
|
|
2594
|
+
}, jt = () => {
|
|
2546
2595
|
Ke(_e.toString());
|
|
2547
|
-
}, _o =
|
|
2596
|
+
}, _o = f(Ye, a), Oe = _o;
|
|
2548
2597
|
delete Oe.size, delete Oe.variant, delete Oe.radius, delete Oe.wrapperProps;
|
|
2549
2598
|
const ve = {
|
|
2550
2599
|
root: k.sliderRoot,
|
|
@@ -2558,11 +2607,11 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2558
2607
|
const E = Re;
|
|
2559
2608
|
ve.root = E.root ? `${k.sliderRoot} ${E.root}` : k.sliderRoot, ve.track = E.track ? `${k.sliderTrack} ${E.track}` : k.sliderTrack, ve.bar = E.bar ? `${k.sliderBar} ${E.bar}` : k.sliderBar, ve.thumb = E.thumb ? `${k.sliderThumb} ${E.thumb}` : k.sliderThumb, ve.mark = E.mark ? `${k.sliderMark} ${E.mark}` : k.sliderMark, ve.markLabel = E.markLabel ? `${k.sliderMarkLabel} ${E.markLabel}` : k.sliderMarkLabel;
|
|
2560
2609
|
}
|
|
2561
|
-
const Gt =
|
|
2562
|
-
return /* @__PURE__ */
|
|
2610
|
+
const Gt = y ? `${k.layoutOverride} ${y}` : k.layoutOverride, Ht = w ? /* @__PURE__ */ s("span", { className: k.iconWrapper, "aria-hidden": !0, children: w }) : null;
|
|
2611
|
+
return /* @__PURE__ */ s(
|
|
2563
2612
|
oe,
|
|
2564
2613
|
{
|
|
2565
|
-
ref:
|
|
2614
|
+
ref: r,
|
|
2566
2615
|
className: Gt,
|
|
2567
2616
|
style: A,
|
|
2568
2617
|
controlMaxWidth: void 0,
|
|
@@ -2578,10 +2627,10 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2578
2627
|
label: _,
|
|
2579
2628
|
assistiveText: u,
|
|
2580
2629
|
assistiveWithIcon: m,
|
|
2581
|
-
error:
|
|
2582
|
-
required:
|
|
2583
|
-
withAsterisk:
|
|
2584
|
-
id:
|
|
2630
|
+
error: b,
|
|
2631
|
+
required: P,
|
|
2632
|
+
withAsterisk: C,
|
|
2633
|
+
id: $,
|
|
2585
2634
|
readOnly: I,
|
|
2586
2635
|
readOnlyComponent: x || In,
|
|
2587
2636
|
emptyValueComponent: S,
|
|
@@ -2594,11 +2643,11 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2594
2643
|
className: k.sliderContainer,
|
|
2595
2644
|
"data-form-layout": t,
|
|
2596
2645
|
"data-disabled": v ? "true" : void 0,
|
|
2597
|
-
"data-error":
|
|
2646
|
+
"data-error": b ? "true" : void 0,
|
|
2598
2647
|
children: [
|
|
2599
2648
|
Ht,
|
|
2600
|
-
L && /* @__PURE__ */
|
|
2601
|
-
/* @__PURE__ */
|
|
2649
|
+
L && /* @__PURE__ */ s("span", { className: k.minMaxGuide, children: R }),
|
|
2650
|
+
/* @__PURE__ */ s("div", { className: k.sliderTrackWrapper, children: /* @__PURE__ */ s(
|
|
2602
2651
|
ia,
|
|
2603
2652
|
{
|
|
2604
2653
|
classNames: ve,
|
|
@@ -2607,29 +2656,29 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2607
2656
|
onChange: po,
|
|
2608
2657
|
onChangeEnd: U,
|
|
2609
2658
|
min: R,
|
|
2610
|
-
max:
|
|
2659
|
+
max: T,
|
|
2611
2660
|
step: he,
|
|
2612
2661
|
label: N,
|
|
2613
2662
|
..._o
|
|
2614
2663
|
}
|
|
2615
2664
|
) }),
|
|
2616
2665
|
/* @__PURE__ */ z("div", { className: k.rightGuideContainer, children: [
|
|
2617
|
-
!
|
|
2618
|
-
L && /* @__PURE__ */
|
|
2666
|
+
!g && /* @__PURE__ */ s("span", { className: k.currentValue, children: _e }),
|
|
2667
|
+
L && /* @__PURE__ */ s("span", { className: k.minMaxGuide, children: T })
|
|
2619
2668
|
] }),
|
|
2620
|
-
|
|
2669
|
+
g && /* @__PURE__ */ s(
|
|
2621
2670
|
"input",
|
|
2622
2671
|
{
|
|
2623
2672
|
type: "number",
|
|
2624
2673
|
className: k.inputField,
|
|
2625
2674
|
value: Vt,
|
|
2626
|
-
onChange:
|
|
2627
|
-
onBlur:
|
|
2675
|
+
onChange: Dt,
|
|
2676
|
+
onBlur: jt,
|
|
2628
2677
|
min: R,
|
|
2629
|
-
max:
|
|
2678
|
+
max: T,
|
|
2630
2679
|
step: he,
|
|
2631
2680
|
disabled: v,
|
|
2632
|
-
"data-error":
|
|
2681
|
+
"data-error": b ? "true" : void 0
|
|
2633
2682
|
}
|
|
2634
2683
|
)
|
|
2635
2684
|
]
|
|
@@ -2642,7 +2691,7 @@ const ei = gt, $n = "Slider-module__layoutOverride___zYPun", vn = "Slider-module
|
|
|
2642
2691
|
Mn.displayName = "Slider";
|
|
2643
2692
|
const zn = "Stack-module__root___NUN-x", Me = {
|
|
2644
2693
|
root: zn
|
|
2645
|
-
}, Tt =
|
|
2694
|
+
}, Tt = h(function({ children: e, gap: r = "rec-default", ...a }, t) {
|
|
2646
2695
|
const o = {
|
|
2647
2696
|
root: Me.root
|
|
2648
2697
|
}, n = a.classNames;
|
|
@@ -2651,26 +2700,26 @@ const zn = "Stack-module__root___NUN-x", Me = {
|
|
|
2651
2700
|
o.root = d.root ? `${Me.root} ${d.root}` : Me.root;
|
|
2652
2701
|
}
|
|
2653
2702
|
const i = a.className, c = i ? `${Me.root} ${i}` : Me.root;
|
|
2654
|
-
return /* @__PURE__ */
|
|
2703
|
+
return /* @__PURE__ */ s(
|
|
2655
2704
|
ca,
|
|
2656
2705
|
{
|
|
2657
2706
|
ref: t,
|
|
2658
2707
|
className: c,
|
|
2659
2708
|
classNames: o,
|
|
2660
|
-
...
|
|
2709
|
+
...ro({ gap: r, ...a }),
|
|
2661
2710
|
children: e
|
|
2662
2711
|
}
|
|
2663
2712
|
);
|
|
2664
2713
|
});
|
|
2665
2714
|
Tt.displayName = "Stack";
|
|
2666
|
-
const
|
|
2715
|
+
const ti = te(Tt), Rn = "Stepper-module__root___jbSYO", Bn = "Stepper-module__horizontal___USHT1", Fn = "Stepper-module__steps___4HPO6", En = "Stepper-module__step___s2nqL", Vn = "Stepper-module__stepBody___TBvys", Dn = "Stepper-module__stepLabel___N6nuy", jn = "Stepper-module__stepDescription___DnDAy", Gn = "Stepper-module__separator___pU0No", Hn = "Stepper-module__vertical___d4mOs", qn = "Stepper-module__large___J18-y", Un = "Stepper-module__small___Ub-zb", Zn = "Stepper-module__stepIcon___YQHNq", Yn = "Stepper-module__stepCompletedIcon___B9MeL", Kn = "Stepper-module__verticalSeparator___frWc1", Xn = "Stepper-module__content___J-h8X", q = {
|
|
2667
2716
|
root: Rn,
|
|
2668
2717
|
horizontal: Bn,
|
|
2669
2718
|
steps: Fn,
|
|
2670
2719
|
step: En,
|
|
2671
2720
|
stepBody: Vn,
|
|
2672
|
-
stepLabel:
|
|
2673
|
-
stepDescription:
|
|
2721
|
+
stepLabel: Dn,
|
|
2722
|
+
stepDescription: jn,
|
|
2674
2723
|
separator: Gn,
|
|
2675
2724
|
vertical: Hn,
|
|
2676
2725
|
large: qn,
|
|
@@ -2679,8 +2728,8 @@ const oi = te(Tt), Rn = "Stepper-module__root___jbSYO", Bn = "Stepper-module__ho
|
|
|
2679
2728
|
stepCompletedIcon: Yn,
|
|
2680
2729
|
verticalSeparator: Kn,
|
|
2681
2730
|
content: Xn
|
|
2682
|
-
}, St =
|
|
2683
|
-
function(e,
|
|
2731
|
+
}, St = h(
|
|
2732
|
+
function(e, r) {
|
|
2684
2733
|
const {
|
|
2685
2734
|
overStyled: a = !1,
|
|
2686
2735
|
size: t = "large",
|
|
@@ -2688,11 +2737,11 @@ const oi = te(Tt), Rn = "Stepper-module__root___jbSYO", Bn = "Stepper-module__ho
|
|
|
2688
2737
|
className: n,
|
|
2689
2738
|
style: i,
|
|
2690
2739
|
...c
|
|
2691
|
-
} = e, d =
|
|
2692
|
-
return /* @__PURE__ */
|
|
2740
|
+
} = e, d = f(c, a);
|
|
2741
|
+
return /* @__PURE__ */ s(
|
|
2693
2742
|
Je,
|
|
2694
2743
|
{
|
|
2695
|
-
ref:
|
|
2744
|
+
ref: r,
|
|
2696
2745
|
orientation: o,
|
|
2697
2746
|
className: `${q.root} ${o === "horizontal" ? q.horizontal : q.vertical} ${t === "large" ? q.large : q.small} ${n || ""}`,
|
|
2698
2747
|
style: i,
|
|
@@ -2714,24 +2763,24 @@ const oi = te(Tt), Rn = "Stepper-module__root___jbSYO", Bn = "Stepper-module__ho
|
|
|
2714
2763
|
}
|
|
2715
2764
|
);
|
|
2716
2765
|
}
|
|
2717
|
-
),
|
|
2766
|
+
), ai = Object.assign(St, {
|
|
2718
2767
|
Step: Je.Step,
|
|
2719
2768
|
Completed: Je.Completed
|
|
2720
2769
|
});
|
|
2721
2770
|
St.displayName = "Stepper";
|
|
2722
|
-
const Jn = "Switch-module__root___Y5Ydi", Qn = "Switch-module__body___Sw9Wr", el = "Switch-module__track___7ObdZ", ol = "Switch-module__thumb___-FTeK", tl = "Switch-module__labelWrapper___YSOwx", al = "Switch-module__label___LrH7V",
|
|
2771
|
+
const Jn = "Switch-module__root___Y5Ydi", Qn = "Switch-module__body___Sw9Wr", el = "Switch-module__track___7ObdZ", ol = "Switch-module__thumb___-FTeK", tl = "Switch-module__labelWrapper___YSOwx", al = "Switch-module__label___LrH7V", rl = "Switch-module__thumbIconWrapper___sCY-1", sl = "Switch-module__checkIcon___ZBAQN", nl = "Switch-module__closeIcon___bLLGw", ll = "Switch-module__groupRoot___-Uepi", M = {
|
|
2723
2772
|
root: Jn,
|
|
2724
2773
|
body: Qn,
|
|
2725
2774
|
track: el,
|
|
2726
2775
|
thumb: ol,
|
|
2727
2776
|
labelWrapper: tl,
|
|
2728
2777
|
label: al,
|
|
2729
|
-
thumbIconWrapper:
|
|
2730
|
-
checkIcon:
|
|
2778
|
+
thumbIconWrapper: rl,
|
|
2779
|
+
checkIcon: sl,
|
|
2731
2780
|
closeIcon: nl,
|
|
2732
2781
|
groupRoot: ll
|
|
2733
|
-
}, xt =
|
|
2734
|
-
function(e,
|
|
2782
|
+
}, xt = h(
|
|
2783
|
+
function(e, r) {
|
|
2735
2784
|
const {
|
|
2736
2785
|
overStyled: a = !1,
|
|
2737
2786
|
formLayout: t = "stacked",
|
|
@@ -2747,11 +2796,11 @@ const Jn = "Switch-module__root___Y5Ydi", Qn = "Switch-module__body___Sw9Wr", el
|
|
|
2747
2796
|
assistiveText: N,
|
|
2748
2797
|
assistiveWithIcon: u,
|
|
2749
2798
|
error: m,
|
|
2750
|
-
required:
|
|
2751
|
-
withAsterisk:
|
|
2752
|
-
id:
|
|
2753
|
-
className:
|
|
2754
|
-
style:
|
|
2799
|
+
required: b,
|
|
2800
|
+
withAsterisk: P,
|
|
2801
|
+
id: C,
|
|
2802
|
+
className: $,
|
|
2803
|
+
style: y,
|
|
2755
2804
|
children: A,
|
|
2756
2805
|
readOnly: v,
|
|
2757
2806
|
readOnlyComponent: I,
|
|
@@ -2759,12 +2808,12 @@ const Jn = "Switch-module__root___Y5Ydi", Qn = "Switch-module__body___Sw9Wr", el
|
|
|
2759
2808
|
value: S,
|
|
2760
2809
|
defaultValue: O,
|
|
2761
2810
|
...W
|
|
2762
|
-
} = e, w =
|
|
2763
|
-
return delete
|
|
2811
|
+
} = e, w = f(W, a), g = w;
|
|
2812
|
+
return delete g.size, /* @__PURE__ */ s(
|
|
2764
2813
|
oe,
|
|
2765
2814
|
{
|
|
2766
|
-
className:
|
|
2767
|
-
style:
|
|
2815
|
+
className: $,
|
|
2816
|
+
style: y,
|
|
2768
2817
|
controlMaxWidth: "var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",
|
|
2769
2818
|
controlMinWidth: void 0,
|
|
2770
2819
|
overStyled: a,
|
|
@@ -2780,24 +2829,24 @@ const Jn = "Switch-module__root___Y5Ydi", Qn = "Switch-module__body___Sw9Wr", el
|
|
|
2780
2829
|
assistiveText: N,
|
|
2781
2830
|
assistiveWithIcon: u,
|
|
2782
2831
|
error: m,
|
|
2783
|
-
required:
|
|
2784
|
-
withAsterisk:
|
|
2785
|
-
id:
|
|
2832
|
+
required: b,
|
|
2833
|
+
withAsterisk: P,
|
|
2834
|
+
id: C,
|
|
2786
2835
|
readOnly: v && !!I,
|
|
2787
2836
|
readOnlyComponent: I,
|
|
2788
2837
|
emptyValueComponent: x,
|
|
2789
2838
|
readOnlyType: "text",
|
|
2790
2839
|
readOnlyValue: S !== void 0 ? S : O,
|
|
2791
2840
|
readOnlyNativeProps: e,
|
|
2792
|
-
activeComponent: /* @__PURE__ */
|
|
2841
|
+
activeComponent: /* @__PURE__ */ s(
|
|
2793
2842
|
go.Group,
|
|
2794
2843
|
{
|
|
2795
|
-
ref:
|
|
2844
|
+
ref: r,
|
|
2796
2845
|
...w,
|
|
2797
|
-
disabled: v ||
|
|
2846
|
+
disabled: v || g.disabled,
|
|
2798
2847
|
value: S,
|
|
2799
2848
|
defaultValue: O,
|
|
2800
|
-
children: /* @__PURE__ */
|
|
2849
|
+
children: /* @__PURE__ */ s("div", { className: M.groupRoot, "data-layout": t, children: A })
|
|
2801
2850
|
}
|
|
2802
2851
|
)
|
|
2803
2852
|
}
|
|
@@ -2805,8 +2854,8 @@ const Jn = "Switch-module__root___Y5Ydi", Qn = "Switch-module__body___Sw9Wr", el
|
|
|
2805
2854
|
}
|
|
2806
2855
|
);
|
|
2807
2856
|
xt.displayName = "SwitchGroup";
|
|
2808
|
-
const At =
|
|
2809
|
-
function(e,
|
|
2857
|
+
const At = h(
|
|
2858
|
+
function(e, r) {
|
|
2810
2859
|
const {
|
|
2811
2860
|
overStyled: a = !1,
|
|
2812
2861
|
readOnly: t,
|
|
@@ -2818,9 +2867,9 @@ const At = $(
|
|
|
2818
2867
|
controlMaxWidth: p,
|
|
2819
2868
|
controlMinWidth: _,
|
|
2820
2869
|
...N
|
|
2821
|
-
} = e, u =
|
|
2870
|
+
} = e, u = f(N, a), m = u;
|
|
2822
2871
|
delete m.size, delete m.color, delete m.radius, delete m.variant;
|
|
2823
|
-
const
|
|
2872
|
+
const b = {
|
|
2824
2873
|
root: M.root,
|
|
2825
2874
|
body: M.body,
|
|
2826
2875
|
track: M.track,
|
|
@@ -2828,14 +2877,14 @@ const At = $(
|
|
|
2828
2877
|
trackLabel: M.trackLabel,
|
|
2829
2878
|
labelWrapper: M.labelWrapper,
|
|
2830
2879
|
label: M.label
|
|
2831
|
-
},
|
|
2832
|
-
if (
|
|
2833
|
-
const v =
|
|
2834
|
-
|
|
2880
|
+
}, P = m.classNames;
|
|
2881
|
+
if (P && typeof P == "object" && !Array.isArray(P)) {
|
|
2882
|
+
const v = P;
|
|
2883
|
+
b.root = v.root ? `${M.root} ${v.root}` : M.root, b.body = v.body ? `${M.body} ${v.body}` : M.body, b.track = v.track ? `${M.track} ${v.track}` : M.track, b.thumb = v.thumb ? `${M.thumb} ${v.thumb}` : M.thumb, b.trackLabel = v.trackLabel ? `${M.trackLabel} ${v.trackLabel}` : M.trackLabel, b.labelWrapper = v.labelWrapper ? `${M.labelWrapper} ${v.labelWrapper}` : M.labelWrapper, b.label = v.label ? `${M.label} ${v.label}` : M.label;
|
|
2835
2884
|
}
|
|
2836
|
-
const
|
|
2885
|
+
const C = m.className, $ = C ? `${M.root} ${C}` : M.root;
|
|
2837
2886
|
if (t && o) {
|
|
2838
|
-
const v = !!(m.checked ?? m.defaultChecked), x = /* @__PURE__ */
|
|
2887
|
+
const v = !!(m.checked ?? m.defaultChecked), x = /* @__PURE__ */ s(
|
|
2839
2888
|
o,
|
|
2840
2889
|
{
|
|
2841
2890
|
...e,
|
|
@@ -2843,7 +2892,7 @@ const At = $(
|
|
|
2843
2892
|
label: m.label
|
|
2844
2893
|
}
|
|
2845
2894
|
);
|
|
2846
|
-
return c ? /* @__PURE__ */
|
|
2895
|
+
return c ? /* @__PURE__ */ s(
|
|
2847
2896
|
Ne,
|
|
2848
2897
|
{
|
|
2849
2898
|
formLayout: c,
|
|
@@ -2852,24 +2901,24 @@ const At = $(
|
|
|
2852
2901
|
controlMinWidth: _,
|
|
2853
2902
|
children: x
|
|
2854
2903
|
}
|
|
2855
|
-
) : /* @__PURE__ */
|
|
2904
|
+
) : /* @__PURE__ */ s(xe, { children: x });
|
|
2856
2905
|
}
|
|
2857
|
-
const
|
|
2858
|
-
/* @__PURE__ */
|
|
2859
|
-
/* @__PURE__ */
|
|
2860
|
-
] }), A = /* @__PURE__ */
|
|
2906
|
+
const y = /* @__PURE__ */ z("div", { className: M.thumbIconWrapper, children: [
|
|
2907
|
+
/* @__PURE__ */ s(da, { className: M.checkIcon }),
|
|
2908
|
+
/* @__PURE__ */ s(pa, { className: M.closeIcon })
|
|
2909
|
+
] }), A = /* @__PURE__ */ s(
|
|
2861
2910
|
go,
|
|
2862
2911
|
{
|
|
2863
|
-
ref:
|
|
2864
|
-
className:
|
|
2865
|
-
classNames:
|
|
2912
|
+
ref: r,
|
|
2913
|
+
className: $,
|
|
2914
|
+
classNames: b,
|
|
2866
2915
|
disabled: t || n,
|
|
2867
2916
|
"data-disabled": t || n || void 0,
|
|
2868
|
-
thumbIcon: i ??
|
|
2917
|
+
thumbIcon: i ?? y,
|
|
2869
2918
|
...u
|
|
2870
2919
|
}
|
|
2871
2920
|
);
|
|
2872
|
-
return c ? /* @__PURE__ */
|
|
2921
|
+
return c ? /* @__PURE__ */ s(
|
|
2873
2922
|
Ne,
|
|
2874
2923
|
{
|
|
2875
2924
|
formLayout: c,
|
|
@@ -2883,23 +2932,23 @@ const At = $(
|
|
|
2883
2932
|
);
|
|
2884
2933
|
At.displayName = "Switch";
|
|
2885
2934
|
At.Group = xt;
|
|
2886
|
-
const
|
|
2935
|
+
const ri = (l) => /* @__PURE__ */ s("div", { ...l, children: "Table" }), il = "Tabs-module__root___-VKVI", cl = "Tabs-module__list___qRVME", dl = "Tabs-module__tab___IdDYc", pl = "Tabs-module__panel___08i9c", Fe = {
|
|
2887
2936
|
root: il,
|
|
2888
2937
|
list: cl,
|
|
2889
2938
|
tab: dl,
|
|
2890
2939
|
panel: pl
|
|
2891
|
-
}, Ot =
|
|
2940
|
+
}, Ot = h(function(e, r) {
|
|
2892
2941
|
const {
|
|
2893
2942
|
variant: a = "default",
|
|
2894
2943
|
orientation: t = "horizontal",
|
|
2895
2944
|
overStyled: o = !1,
|
|
2896
2945
|
className: n,
|
|
2897
2946
|
...i
|
|
2898
|
-
} = e, c =
|
|
2899
|
-
return /* @__PURE__ */
|
|
2947
|
+
} = e, c = f(i, o);
|
|
2948
|
+
return /* @__PURE__ */ s(
|
|
2900
2949
|
qe,
|
|
2901
2950
|
{
|
|
2902
|
-
ref:
|
|
2951
|
+
ref: r,
|
|
2903
2952
|
variant: a,
|
|
2904
2953
|
orientation: t,
|
|
2905
2954
|
className: `${Fe.root} ${n || ""}`,
|
|
@@ -2915,40 +2964,40 @@ const ai = (l) => /* @__PURE__ */ r("div", { ...l, children: "Table" }), il = "T
|
|
|
2915
2964
|
);
|
|
2916
2965
|
});
|
|
2917
2966
|
Ot.displayName = "Tabs";
|
|
2918
|
-
const Wt =
|
|
2919
|
-
function(e,
|
|
2967
|
+
const Wt = h(
|
|
2968
|
+
function(e, r) {
|
|
2920
2969
|
const { overStyled: a = !1, ...t } = e;
|
|
2921
|
-
return /* @__PURE__ */
|
|
2970
|
+
return /* @__PURE__ */ s(
|
|
2922
2971
|
qe.List,
|
|
2923
2972
|
{
|
|
2924
|
-
ref:
|
|
2925
|
-
...
|
|
2973
|
+
ref: r,
|
|
2974
|
+
...f(t, a)
|
|
2926
2975
|
}
|
|
2927
2976
|
);
|
|
2928
2977
|
}
|
|
2929
2978
|
);
|
|
2930
2979
|
Wt.displayName = "Tabs.List";
|
|
2931
|
-
const Lt =
|
|
2932
|
-
function(e,
|
|
2980
|
+
const Lt = h(
|
|
2981
|
+
function(e, r) {
|
|
2933
2982
|
const { overStyled: a = !1, ...t } = e;
|
|
2934
|
-
return /* @__PURE__ */
|
|
2983
|
+
return /* @__PURE__ */ s(
|
|
2935
2984
|
qe.Tab,
|
|
2936
2985
|
{
|
|
2937
|
-
ref:
|
|
2938
|
-
...
|
|
2986
|
+
ref: r,
|
|
2987
|
+
...f(t, a)
|
|
2939
2988
|
}
|
|
2940
2989
|
);
|
|
2941
2990
|
}
|
|
2942
2991
|
);
|
|
2943
2992
|
Lt.displayName = "Tabs.Tab";
|
|
2944
|
-
const kt =
|
|
2945
|
-
function(e,
|
|
2993
|
+
const kt = h(
|
|
2994
|
+
function(e, r) {
|
|
2946
2995
|
const { overStyled: a = !1, ...t } = e;
|
|
2947
|
-
return /* @__PURE__ */
|
|
2996
|
+
return /* @__PURE__ */ s(
|
|
2948
2997
|
qe.Panel,
|
|
2949
2998
|
{
|
|
2950
|
-
ref:
|
|
2951
|
-
...
|
|
2999
|
+
ref: r,
|
|
3000
|
+
...f(t, a)
|
|
2952
3001
|
}
|
|
2953
3002
|
);
|
|
2954
3003
|
}
|
|
@@ -2958,9 +3007,9 @@ const si = Object.assign(Ot, {
|
|
|
2958
3007
|
List: Wt,
|
|
2959
3008
|
Tab: Lt,
|
|
2960
3009
|
Panel: kt
|
|
2961
|
-
}), It =
|
|
2962
|
-
const o =
|
|
2963
|
-
return /* @__PURE__ */
|
|
3010
|
+
}), It = h(function({ overStyled: e = !1, variant: r = "body", ...a }, t) {
|
|
3011
|
+
const o = f(a, e), n = o.className, i = `recursica_brand_typography_${r}`, c = n ? `${i} ${n}` : i;
|
|
3012
|
+
return /* @__PURE__ */ s(
|
|
2964
3013
|
_a,
|
|
2965
3014
|
{
|
|
2966
3015
|
ref: t,
|
|
@@ -2970,12 +3019,12 @@ const si = Object.assign(Ot, {
|
|
|
2970
3019
|
);
|
|
2971
3020
|
});
|
|
2972
3021
|
It.displayName = "Text";
|
|
2973
|
-
const
|
|
3022
|
+
const ni = te(It), _l = "TextArea-module__layoutOverride___4MCdm", ml = "TextArea-module__root___3dyeu", ul = "TextArea-module__input___8l36v", ue = {
|
|
2974
3023
|
layoutOverride: _l,
|
|
2975
3024
|
root: ml,
|
|
2976
3025
|
input: ul
|
|
2977
|
-
}, bl =
|
|
2978
|
-
function(e,
|
|
3026
|
+
}, bl = h(
|
|
3027
|
+
function(e, r) {
|
|
2979
3028
|
const {
|
|
2980
3029
|
overStyled: a = !1,
|
|
2981
3030
|
formLayout: t = "stacked",
|
|
@@ -2990,34 +3039,34 @@ const ri = te(It), _l = "TextArea-module__layoutOverride___4MCdm", ml = "TextAre
|
|
|
2990
3039
|
assistiveWithIcon: N,
|
|
2991
3040
|
error: u,
|
|
2992
3041
|
required: m,
|
|
2993
|
-
withAsterisk:
|
|
2994
|
-
id:
|
|
2995
|
-
className:
|
|
2996
|
-
style:
|
|
2997
|
-
disabled:
|
|
3042
|
+
withAsterisk: b,
|
|
3043
|
+
id: P,
|
|
3044
|
+
className: C,
|
|
3045
|
+
style: $,
|
|
3046
|
+
disabled: y,
|
|
2998
3047
|
readOnly: A,
|
|
2999
3048
|
readOnlyComponent: v,
|
|
3000
3049
|
emptyValueComponent: I,
|
|
3001
3050
|
value: x,
|
|
3002
3051
|
defaultValue: S,
|
|
3003
3052
|
...O
|
|
3004
|
-
} = e, W =
|
|
3053
|
+
} = e, W = f(O, a), w = W;
|
|
3005
3054
|
delete w.size, delete w.variant, delete w.radius;
|
|
3006
|
-
const
|
|
3055
|
+
const g = {
|
|
3007
3056
|
wrapper: ue.root,
|
|
3008
3057
|
// The nested Input internal relative wrapper bounding box
|
|
3009
3058
|
input: ue.input
|
|
3010
3059
|
}, L = w.classNames;
|
|
3011
3060
|
if (L && typeof L == "object" && !Array.isArray(L)) {
|
|
3012
|
-
const
|
|
3013
|
-
|
|
3061
|
+
const T = L;
|
|
3062
|
+
g.wrapper = T.wrapper ? `${ue.root} ${T.wrapper}` : ue.root, g.input = T.input ? `${ue.input} ${T.input}` : ue.input;
|
|
3014
3063
|
}
|
|
3015
|
-
const R =
|
|
3016
|
-
return /* @__PURE__ */
|
|
3064
|
+
const R = C ? `${ue.layoutOverride} ${C}` : ue.layoutOverride;
|
|
3065
|
+
return /* @__PURE__ */ s(
|
|
3017
3066
|
oe,
|
|
3018
3067
|
{
|
|
3019
3068
|
className: R,
|
|
3020
|
-
style:
|
|
3069
|
+
style: $,
|
|
3021
3070
|
controlMaxWidth: "var(--recursica_ui-kit_components_textarea_properties_max-width)",
|
|
3022
3071
|
controlMinWidth: "var(--recursica_ui-kit_components_textarea_properties_min-width)",
|
|
3023
3072
|
overStyled: a,
|
|
@@ -3032,8 +3081,8 @@ const ri = te(It), _l = "TextArea-module__layoutOverride___4MCdm", ml = "TextAre
|
|
|
3032
3081
|
assistiveWithIcon: N,
|
|
3033
3082
|
error: u,
|
|
3034
3083
|
required: m,
|
|
3035
|
-
withAsterisk:
|
|
3036
|
-
id:
|
|
3084
|
+
withAsterisk: b,
|
|
3085
|
+
id: P,
|
|
3037
3086
|
readOnly: A,
|
|
3038
3087
|
readOnlyComponent: v,
|
|
3039
3088
|
emptyValueComponent: I,
|
|
@@ -3042,12 +3091,12 @@ const ri = te(It), _l = "TextArea-module__layoutOverride___4MCdm", ml = "TextAre
|
|
|
3042
3091
|
readOnlyNativeProps: e,
|
|
3043
3092
|
activeComponent: (
|
|
3044
3093
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
3045
|
-
/* @__PURE__ */
|
|
3094
|
+
/* @__PURE__ */ s(
|
|
3046
3095
|
ma,
|
|
3047
3096
|
{
|
|
3048
|
-
ref:
|
|
3049
|
-
classNames:
|
|
3050
|
-
disabled:
|
|
3097
|
+
ref: r,
|
|
3098
|
+
classNames: g,
|
|
3099
|
+
disabled: y,
|
|
3051
3100
|
value: x,
|
|
3052
3101
|
defaultValue: S,
|
|
3053
3102
|
label: void 0,
|
|
@@ -3056,7 +3105,7 @@ const ri = te(It), _l = "TextArea-module__layoutOverride___4MCdm", ml = "TextAre
|
|
|
3056
3105
|
required: void 0,
|
|
3057
3106
|
withAsterisk: void 0,
|
|
3058
3107
|
wrapperProps: {
|
|
3059
|
-
"data-disabled":
|
|
3108
|
+
"data-disabled": y ? "true" : void 0,
|
|
3060
3109
|
"data-error": u ? "true" : void 0
|
|
3061
3110
|
},
|
|
3062
3111
|
...W
|
|
@@ -3073,8 +3122,8 @@ const yl = "TextField-module__layoutOverride___SNZqc", Nl = "TextField-module__r
|
|
|
3073
3122
|
root: Nl,
|
|
3074
3123
|
input: fl,
|
|
3075
3124
|
section: hl
|
|
3076
|
-
}, $l =
|
|
3077
|
-
function(e,
|
|
3125
|
+
}, $l = h(
|
|
3126
|
+
function(e, r) {
|
|
3078
3127
|
const {
|
|
3079
3128
|
overStyled: a = !1,
|
|
3080
3129
|
formLayout: t = "stacked",
|
|
@@ -3089,35 +3138,35 @@ const yl = "TextField-module__layoutOverride___SNZqc", Nl = "TextField-module__r
|
|
|
3089
3138
|
assistiveWithIcon: N,
|
|
3090
3139
|
error: u,
|
|
3091
3140
|
required: m,
|
|
3092
|
-
withAsterisk:
|
|
3093
|
-
id:
|
|
3094
|
-
className:
|
|
3095
|
-
style:
|
|
3096
|
-
disabled:
|
|
3141
|
+
withAsterisk: b,
|
|
3142
|
+
id: P,
|
|
3143
|
+
className: C,
|
|
3144
|
+
style: $,
|
|
3145
|
+
disabled: y,
|
|
3097
3146
|
readOnly: A,
|
|
3098
3147
|
readOnlyComponent: v,
|
|
3099
3148
|
emptyValueComponent: I,
|
|
3100
3149
|
value: x,
|
|
3101
3150
|
defaultValue: S,
|
|
3102
3151
|
...O
|
|
3103
|
-
} = e, W =
|
|
3152
|
+
} = e, W = f(O, a), w = W;
|
|
3104
3153
|
delete w.size, delete w.variant, delete w.radius;
|
|
3105
|
-
const
|
|
3154
|
+
const g = {
|
|
3106
3155
|
wrapper: ee.root,
|
|
3107
3156
|
// The nested Input internal relative wrapper bounding box
|
|
3108
3157
|
input: ee.input,
|
|
3109
3158
|
section: ee.section
|
|
3110
3159
|
}, L = w.classNames;
|
|
3111
3160
|
if (L && typeof L == "object" && !Array.isArray(L)) {
|
|
3112
|
-
const
|
|
3113
|
-
|
|
3161
|
+
const T = L;
|
|
3162
|
+
g.wrapper = T.wrapper ? `${ee.root} ${T.wrapper}` : ee.root, g.input = T.input ? `${ee.input} ${T.input}` : ee.input, g.section = T.section ? `${ee.section} ${T.section}` : ee.section;
|
|
3114
3163
|
}
|
|
3115
|
-
const R =
|
|
3116
|
-
return /* @__PURE__ */
|
|
3164
|
+
const R = C ? `${ee.layoutOverride} ${C}` : ee.layoutOverride;
|
|
3165
|
+
return /* @__PURE__ */ s(
|
|
3117
3166
|
oe,
|
|
3118
3167
|
{
|
|
3119
3168
|
className: R,
|
|
3120
|
-
style:
|
|
3169
|
+
style: $,
|
|
3121
3170
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
3122
3171
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
3123
3172
|
overStyled: a,
|
|
@@ -3132,8 +3181,8 @@ const yl = "TextField-module__layoutOverride___SNZqc", Nl = "TextField-module__r
|
|
|
3132
3181
|
assistiveWithIcon: N,
|
|
3133
3182
|
error: u,
|
|
3134
3183
|
required: m,
|
|
3135
|
-
withAsterisk:
|
|
3136
|
-
id:
|
|
3184
|
+
withAsterisk: b,
|
|
3185
|
+
id: P,
|
|
3137
3186
|
readOnly: A,
|
|
3138
3187
|
readOnlyComponent: v,
|
|
3139
3188
|
emptyValueComponent: I,
|
|
@@ -3142,16 +3191,16 @@ const yl = "TextField-module__layoutOverride___SNZqc", Nl = "TextField-module__r
|
|
|
3142
3191
|
readOnlyNativeProps: e,
|
|
3143
3192
|
activeComponent: (
|
|
3144
3193
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
3145
|
-
/* @__PURE__ */
|
|
3194
|
+
/* @__PURE__ */ s(
|
|
3146
3195
|
Co,
|
|
3147
3196
|
{
|
|
3148
|
-
ref:
|
|
3149
|
-
classNames:
|
|
3150
|
-
disabled:
|
|
3197
|
+
ref: r,
|
|
3198
|
+
classNames: g,
|
|
3199
|
+
disabled: y,
|
|
3151
3200
|
value: x,
|
|
3152
3201
|
defaultValue: S,
|
|
3153
3202
|
wrapperProps: {
|
|
3154
|
-
"data-disabled":
|
|
3203
|
+
"data-disabled": y ? "true" : void 0,
|
|
3155
3204
|
"data-error": u ? "true" : void 0
|
|
3156
3205
|
},
|
|
3157
3206
|
...W
|
|
@@ -3163,24 +3212,24 @@ const yl = "TextField-module__layoutOverride___SNZqc", Nl = "TextField-module__r
|
|
|
3163
3212
|
}
|
|
3164
3213
|
);
|
|
3165
3214
|
$l.displayName = "TextField";
|
|
3166
|
-
const
|
|
3215
|
+
const li = (l) => /* @__PURE__ */ s("div", { ...l, children: "TimePicker" }), vl = "Timeline-module__root___LwRdZ", Cl = "Timeline-module__item___T5xdQ", Pl = "Timeline-module__itemBody___XAV-E", wl = "Timeline-module__itemBullet___rPXCy", gl = "Timeline-module__itemTitle___GgRRW", Tl = "Timeline-module__itemContent___vurs-", Sl = "Timeline-module__description___f9sxV", xl = "Timeline-module__timestamp___owiRu", be = {
|
|
3167
3216
|
root: vl,
|
|
3168
3217
|
item: Cl,
|
|
3169
|
-
itemBody:
|
|
3170
|
-
itemBullet:
|
|
3218
|
+
itemBody: Pl,
|
|
3219
|
+
itemBullet: wl,
|
|
3171
3220
|
itemTitle: gl,
|
|
3172
3221
|
itemContent: Tl,
|
|
3173
3222
|
description: Sl,
|
|
3174
3223
|
timestamp: xl
|
|
3175
|
-
}, Mt =
|
|
3224
|
+
}, Mt = j.forwardRef(
|
|
3176
3225
|
function({
|
|
3177
3226
|
overStyled: e = !1,
|
|
3178
|
-
timestamp:
|
|
3227
|
+
timestamp: r,
|
|
3179
3228
|
bulletVariant: a = "default",
|
|
3180
3229
|
children: t,
|
|
3181
3230
|
...o
|
|
3182
3231
|
}, n) {
|
|
3183
|
-
const i =
|
|
3232
|
+
const i = f(o, e), c = {
|
|
3184
3233
|
item: be.item,
|
|
3185
3234
|
itemBody: be.itemBody,
|
|
3186
3235
|
itemContent: be.itemContent,
|
|
@@ -3193,11 +3242,11 @@ const ni = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), vl
|
|
|
3193
3242
|
c[N] ? c[N] = `${c[N]} ${_[N]}` : c[N] = _[N];
|
|
3194
3243
|
});
|
|
3195
3244
|
}
|
|
3196
|
-
const p =
|
|
3197
|
-
t && /* @__PURE__ */
|
|
3198
|
-
/* @__PURE__ */
|
|
3245
|
+
const p = r ? /* @__PURE__ */ z(xe, { children: [
|
|
3246
|
+
t && /* @__PURE__ */ s("div", { className: be.description, children: t }),
|
|
3247
|
+
/* @__PURE__ */ s("div", { className: be.timestamp, children: r })
|
|
3199
3248
|
] }) : t;
|
|
3200
|
-
return /* @__PURE__ */
|
|
3249
|
+
return /* @__PURE__ */ s(
|
|
3201
3250
|
ua,
|
|
3202
3251
|
{
|
|
3203
3252
|
ref: n,
|
|
@@ -3210,9 +3259,9 @@ const ni = (l) => /* @__PURE__ */ r("div", { ...l, children: "TimePicker" }), vl
|
|
|
3210
3259
|
}
|
|
3211
3260
|
);
|
|
3212
3261
|
Mt.displayName = "TimelineItem";
|
|
3213
|
-
const zt =
|
|
3214
|
-
function({ overStyled: e = !1, ...
|
|
3215
|
-
const t =
|
|
3262
|
+
const zt = j.forwardRef(
|
|
3263
|
+
function({ overStyled: e = !1, ...r }, a) {
|
|
3264
|
+
const t = f(r, e), o = {
|
|
3216
3265
|
root: be.root
|
|
3217
3266
|
}, n = t.classNames;
|
|
3218
3267
|
if (n && typeof n == "object" && !Array.isArray(n)) {
|
|
@@ -3221,7 +3270,7 @@ const zt = D.forwardRef(
|
|
|
3221
3270
|
o[c] ? o[c] = `${o[c]} ${i[c]}` : o[c] = i[c];
|
|
3222
3271
|
});
|
|
3223
3272
|
}
|
|
3224
|
-
return /* @__PURE__ */
|
|
3273
|
+
return /* @__PURE__ */ s(
|
|
3225
3274
|
ba,
|
|
3226
3275
|
{
|
|
3227
3276
|
ref: a,
|
|
@@ -3234,13 +3283,13 @@ const zt = D.forwardRef(
|
|
|
3234
3283
|
zt.displayName = "Timeline";
|
|
3235
3284
|
const Al = zt;
|
|
3236
3285
|
Al.Item = Mt;
|
|
3237
|
-
const Ol =
|
|
3238
|
-
const o =
|
|
3239
|
-
return /* @__PURE__ */
|
|
3286
|
+
const Ol = h(function({ overStyled: e = !1, order: r = 1, ...a }, t) {
|
|
3287
|
+
const o = f(a, e), n = o.className, i = `recursica_brand_typography_h${r}`, c = n ? `${i} ${n}` : i;
|
|
3288
|
+
return /* @__PURE__ */ s(
|
|
3240
3289
|
ya,
|
|
3241
3290
|
{
|
|
3242
3291
|
ref: t,
|
|
3243
|
-
order:
|
|
3292
|
+
order: r,
|
|
3244
3293
|
className: c,
|
|
3245
3294
|
...o
|
|
3246
3295
|
}
|
|
@@ -3255,14 +3304,14 @@ const Wl = "Toast-module__root___MUvfI", Ll = "Toast-module__icon___VwvE1", kl =
|
|
|
3255
3304
|
description: Ml,
|
|
3256
3305
|
closeButton: zl,
|
|
3257
3306
|
body: Rl
|
|
3258
|
-
}, Bl =
|
|
3307
|
+
}, Bl = j.forwardRef(
|
|
3259
3308
|
function({
|
|
3260
3309
|
overStyled: e = !1,
|
|
3261
|
-
variant:
|
|
3310
|
+
variant: r = "default",
|
|
3262
3311
|
withCloseButton: a = !0,
|
|
3263
3312
|
...t
|
|
3264
3313
|
}, o) {
|
|
3265
|
-
const n =
|
|
3314
|
+
const n = f(t, e), i = {
|
|
3266
3315
|
root: ge.root,
|
|
3267
3316
|
body: ge.body,
|
|
3268
3317
|
title: ge.title,
|
|
@@ -3277,13 +3326,13 @@ const Wl = "Toast-module__root___MUvfI", Ll = "Toast-module__icon___VwvE1", kl =
|
|
|
3277
3326
|
i[p] ? i[p] = `${i[p]} ${d[p]}` : i[p] = d[p];
|
|
3278
3327
|
});
|
|
3279
3328
|
}
|
|
3280
|
-
return /* @__PURE__ */
|
|
3329
|
+
return /* @__PURE__ */ s(
|
|
3281
3330
|
Na,
|
|
3282
3331
|
{
|
|
3283
3332
|
ref: o,
|
|
3284
3333
|
withCloseButton: a,
|
|
3285
3334
|
withBorder: !1,
|
|
3286
|
-
"data-variant":
|
|
3335
|
+
"data-variant": r,
|
|
3287
3336
|
classNames: i,
|
|
3288
3337
|
loading: !1,
|
|
3289
3338
|
...n
|
|
@@ -3297,10 +3346,10 @@ const Fl = "Tooltip-module__tooltip___UA7H9", El = "Tooltip-module__arrow___4zRO
|
|
|
3297
3346
|
arrow: El
|
|
3298
3347
|
}, Rt = function({
|
|
3299
3348
|
overStyled: e = !1,
|
|
3300
|
-
withBeak:
|
|
3349
|
+
withBeak: r = !0,
|
|
3301
3350
|
...a
|
|
3302
3351
|
}) {
|
|
3303
|
-
const t =
|
|
3352
|
+
const t = f(a, e), o = {
|
|
3304
3353
|
tooltip: $o.tooltip,
|
|
3305
3354
|
arrow: $o.arrow
|
|
3306
3355
|
}, n = t.classNames;
|
|
@@ -3311,13 +3360,13 @@ const Fl = "Tooltip-module__tooltip___UA7H9", El = "Tooltip-module__arrow___4zRO
|
|
|
3311
3360
|
});
|
|
3312
3361
|
}
|
|
3313
3362
|
const i = t.arrowSize ?? 16, c = t.withArrow;
|
|
3314
|
-
return /* @__PURE__ */
|
|
3363
|
+
return /* @__PURE__ */ s(
|
|
3315
3364
|
ao,
|
|
3316
3365
|
{
|
|
3317
3366
|
position: "top",
|
|
3318
3367
|
multiline: !0,
|
|
3319
3368
|
arrowSize: i,
|
|
3320
|
-
withArrow:
|
|
3369
|
+
withArrow: r ?? c,
|
|
3321
3370
|
classNames: o,
|
|
3322
3371
|
...t
|
|
3323
3372
|
}
|
|
@@ -3327,70 +3376,71 @@ Rt.displayName = "Tooltip";
|
|
|
3327
3376
|
const Bt = Rt;
|
|
3328
3377
|
Bt.Floating = ao.Floating;
|
|
3329
3378
|
Bt.Group = ao.Group;
|
|
3330
|
-
const
|
|
3379
|
+
const ii = (l) => /* @__PURE__ */ s("div", { ...l, children: "TransferList" });
|
|
3331
3380
|
export {
|
|
3332
3381
|
lo as Accordion,
|
|
3333
|
-
|
|
3382
|
+
so as AccordionControl,
|
|
3334
3383
|
xo as AccordionItem,
|
|
3335
3384
|
no as AccordionPanel,
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3385
|
+
tr as AutoComplete,
|
|
3386
|
+
Ul as Avatar,
|
|
3387
|
+
Zl as Badge,
|
|
3388
|
+
pr as Breadcrumb,
|
|
3389
|
+
Yl as Button,
|
|
3390
|
+
Kl as Card,
|
|
3342
3391
|
Fo as CardContent,
|
|
3343
3392
|
Bo as CardFooter,
|
|
3344
3393
|
Ro as CardHeader,
|
|
3345
3394
|
zo as CardSection,
|
|
3346
|
-
|
|
3395
|
+
Do as Checkbox,
|
|
3347
3396
|
Vo as CheckboxGroup,
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3397
|
+
Vr as Chip,
|
|
3398
|
+
jr as Container,
|
|
3399
|
+
Xr as DatePicker,
|
|
3400
|
+
rs as Dropdown,
|
|
3401
|
+
je as EmptyValueRenderer,
|
|
3402
|
+
Xl as FileInput,
|
|
3403
|
+
Jl as FileUpload,
|
|
3404
|
+
Ql as Flex,
|
|
3356
3405
|
Ne as FormControlLayout,
|
|
3357
|
-
|
|
3406
|
+
ls as Group,
|
|
3358
3407
|
Uo as HoverCard,
|
|
3359
3408
|
Ao as Label,
|
|
3360
3409
|
Ua as Layer,
|
|
3361
|
-
|
|
3410
|
+
ei as Link,
|
|
3362
3411
|
ko as Loader,
|
|
3363
3412
|
Ae as Menu,
|
|
3364
3413
|
fe as Modal,
|
|
3365
|
-
|
|
3414
|
+
Rs as NumberInput,
|
|
3366
3415
|
de as Pagination,
|
|
3367
3416
|
pe as Panel,
|
|
3368
3417
|
ft as PanelFooter,
|
|
3369
3418
|
Ct as Popover,
|
|
3370
|
-
|
|
3371
|
-
wt as
|
|
3419
|
+
ql as RECURSICA_COMPONENTS,
|
|
3420
|
+
wt as Radio,
|
|
3421
|
+
Pt as RadioGroup,
|
|
3372
3422
|
un as ReadOnlyBooleanField,
|
|
3373
3423
|
Oo as ReadOnlyField,
|
|
3374
3424
|
mn as ReadOnlySwitchField,
|
|
3375
3425
|
Ee as ReadOnlyTextField,
|
|
3376
3426
|
Hl as RecursicaThemeProvider,
|
|
3377
|
-
|
|
3427
|
+
oi as SegmentedControl,
|
|
3378
3428
|
Mn as Slider,
|
|
3379
|
-
|
|
3380
|
-
|
|
3429
|
+
ti as Stack,
|
|
3430
|
+
ai as Stepper,
|
|
3381
3431
|
At as Switch,
|
|
3382
3432
|
xt as SwitchGroup,
|
|
3383
|
-
|
|
3433
|
+
ri as Table,
|
|
3384
3434
|
si as Tabs,
|
|
3385
|
-
|
|
3435
|
+
ni as Text,
|
|
3386
3436
|
bl as TextArea,
|
|
3387
3437
|
$l as TextField,
|
|
3388
|
-
|
|
3438
|
+
li as TimePicker,
|
|
3389
3439
|
Al as Timeline,
|
|
3390
3440
|
Ol as Title,
|
|
3391
3441
|
Bl as Toast,
|
|
3392
3442
|
Bt as Tooltip,
|
|
3393
|
-
|
|
3443
|
+
ii as TransferList,
|
|
3394
3444
|
oe as WithReadOnlyWrapper
|
|
3395
3445
|
};
|
|
3396
3446
|
//# sourceMappingURL=mantine-adapter.js.map
|