@midas-ds/components 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +63 -1
- package/accordion/AccordionItem.d.ts +2 -2
- package/index.cjs +138 -0
- package/index.css +1 -0
- package/index.d.ts +0 -2
- package/index.js +27094 -105
- package/package.json +22 -4
- package/table/Table.d.ts +3 -4
- package/textfield/TextField.d.ts +15 -4
- package/theme.cjs +1 -0
- package/theme.js +20 -0
- package/tokens-BskyMDHv.cjs +1 -0
- package/Breadcrumbs.css +0 -1
- package/Button-DL6nqUco.js +0 -182
- package/Button.css +0 -1
- package/ButtonGroup.css +0 -1
- package/Card.css +0 -1
- package/Checkbox-q0dugR2t.js +0 -402
- package/Checkbox.css +0 -1
- package/Collection-KMFfVuzU.js +0 -510
- package/ComboBox.css +0 -1
- package/DatePicker.css +0 -1
- package/Dialog-D6Bqrpn-.js +0 -1952
- package/Disclosure-dAZYXyTH.js +0 -225
- package/Disclosure.css +0 -1
- package/DragAndDrop-B0T3WgjL.js +0 -40
- package/Dropdown.css +0 -1
- package/FileUpload.css +0 -1
- package/Flex.css +0 -1
- package/Flex.module-CpoxBzQX.js +0 -37
- package/FocusScope-B7CkxXNC.js +0 -513
- package/Form-BWBjJC6v.js +0 -238
- package/Grid.css +0 -1
- package/Grid.module-Ia0e9Dix.js +0 -36
- package/Group-D7_8007y.js +0 -42
- package/Heading-RCRHv6hd.js +0 -15
- package/Hidden-CVlUgUJM.js +0 -37
- package/InfoBanner.css +0 -1
- package/Layout.css +0 -1
- package/Link-BnQvB-hH.js +0 -75
- package/Link.css +0 -1
- package/LinkButton.css +0 -1
- package/ListBox-DBBiqvcR.js +0 -474
- package/ListKeyboardDelegate-gCXy-Xnn.js +0 -172
- package/Logo.css +0 -1
- package/Modal.css +0 -1
- package/MultiSelect.css +0 -1
- package/PressResponder-B4g56kDz.js +0 -31
- package/RSPContexts-BW2SEIqe.js +0 -11
- package/Radio.css +0 -1
- package/SearchField.css +0 -1
- package/Select.css +0 -1
- package/SelectionManager-BfXUE1qg.js +0 -1031
- package/Separator-BBX9m2O2.js +0 -49
- package/Spinner.css +0 -1
- package/Table.css +0 -1
- package/Tabs.css +0 -1
- package/Tag-DWt0koFj.js +0 -728
- package/Tag.css +0 -1
- package/Text-BCF0xvqL.js +0 -15
- package/TextArea.css +0 -1
- package/TextField-CX4eOQf6.js +0 -225
- package/TextField.css +0 -1
- package/TextField.module-DdICj682.js +0 -143
- package/Toast.css +0 -1
- package/VisuallyHidden-Dhr5caPC.js +0 -39
- package/chevron-down-Cd1bkzXT.js +0 -13
- package/chevron-right-DBMc9VMi.js +0 -23
- package/clsx-OuTLNxxd.js +0 -16
- package/context-BpJLnOuu.js +0 -80
- package/createLucideIcon-DeWljiyi.js +0 -79
- package/index-B-jHjTDC.js +0 -120
- package/index-BPdc9gJ8.js +0 -3122
- package/index-KSgQWWiy.js +0 -26984
- package/index10.js +0 -4
- package/index11.js +0 -5
- package/index12.js +0 -4
- package/index13.js +0 -4
- package/index14.js +0 -4
- package/index15.js +0 -6
- package/index16.js +0 -6
- package/index17.js +0 -6
- package/index18.js +0 -4
- package/index19.js +0 -6
- package/index2.js +0 -8
- package/index20.js +0 -6
- package/index21.js +0 -4
- package/index22.js +0 -5
- package/index23.js +0 -5
- package/index24.js +0 -5
- package/index25.js +0 -6
- package/index26.js +0 -6
- package/index27.js +0 -6
- package/index28.js +0 -4
- package/index29.js +0 -6
- package/index3.js +0 -6
- package/index30.js +0 -21
- package/index31.js +0 -22
- package/index32.js +0 -14
- package/index33.js +0 -11
- package/index34.js +0 -31
- package/index35.js +0 -8
- package/index36.js +0 -9
- package/index37.js +0 -19
- package/index38.js +0 -9
- package/index39.js +0 -9
- package/index4.js +0 -4
- package/index40.js +0 -23
- package/index41.js +0 -63
- package/index42.js +0 -53
- package/index43.js +0 -18
- package/index44.js +0 -27
- package/index45.js +0 -18
- package/index46.js +0 -21
- package/index47.js +0 -49
- package/index48.js +0 -5
- package/index49.js +0 -25
- package/index5.js +0 -5
- package/index50.js +0 -18
- package/index51.js +0 -9
- package/index52.js +0 -25
- package/index53.js +0 -18
- package/index54.js +0 -11
- package/index55.js +0 -12
- package/index56.js +0 -15
- package/index57.js +0 -9
- package/index58.js +0 -9
- package/index59.js +0 -19
- package/index6.js +0 -4
- package/index60.js +0 -22
- package/index61.js +0 -61
- package/index62.js +0 -15
- package/index63.js +0 -11
- package/index64.js +0 -53
- package/index65.js +0 -85
- package/index66.js +0 -74
- package/index67.js +0 -24
- package/index68.js +0 -69
- package/index69.js +0 -80
- package/index7.js +0 -9
- package/index70.js +0 -140
- package/index71.js +0 -70
- package/index72.js +0 -42
- package/index73.js +0 -82
- package/index74.js +0 -71
- package/index75.js +0 -104
- package/index76.js +0 -275
- package/index77.js +0 -723
- package/index78.js +0 -489
- package/index79.js +0 -314
- package/index8.js +0 -4
- package/index80.js +0 -389
- package/index81.js +0 -252
- package/index82.js +0 -1364
- package/index83.js +0 -1009
- package/index84.js +0 -386
- package/index85.js +0 -2101
- package/index86.js +0 -2368
- package/index87.js +0 -6831
- package/index88.js +0 -17
- package/index89.js +0 -14
- package/index9.js +0 -5
- package/index90.js +0 -6
- package/index91.js +0 -9
- package/intlStrings-Cd44R5hT.js +0 -278
- package/react.esm-sMU8Z7rL.js +0 -11060
- package/triangle-alert-1OYl9KWz.js +0 -56
- package/useControlledState-Kv9K2AYu.js +0 -30
- package/useDescription-B7stiK3j.js +0 -32
- package/useEvent-Xk5kn5Ns.js +0 -21
- package/useField-DMzJIIN4.js +0 -67
- package/useFilter-Bt9dbV1U.js +0 -35
- package/useFocusRing-9PXyKy2A.js +0 -1297
- package/useFocusable-CcEBZe40.js +0 -59
- package/useGridSelectionCheckbox-DYgEnElE.js +0 -22
- package/useHasTabbableChild-D6DwR81L.js +0 -34
- package/useHighlightSelectionDescription-WYAbP4No.js +0 -552
- package/useLabels-9zaZ9oa0.js +0 -17
- package/useListState-BfTeKTk5.js +0 -119
- package/useLocalizedStringFormatter-BlCbn-hX.js +0 -96
- package/useSingleSelectListState-DPkaL0la.js +0 -34
- package/useUpdateEffect-Dtz-i14F.js +0 -12
- package/x-JK7i-TQC.js +0 -14
package/Tag.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._button_m4kn4_4{min-height:unset;padding:.25rem!important;border-radius:1.5rem}._button_m4kn4_4[data-pressed]{background-color:#d9d9d9}._tag_m4kn4_14{display:inline-flex;align-items:center;border-radius:1.25rem;background-color:#f2f2f2;font-size:.875rem;font-family:Inter,sans-serif}._tag_m4kn4_14[data-disabled]{color:#bfbfbf;pointer-events:none;background-color:#f2f2f2;border-color:#bfbfbf}._tag_m4kn4_14[data-focused],._tag_m4kn4_14[data-focus-visible]{outline:none}._tag_m4kn4_14._dismissable_m4kn4_34[data-focus-visible]{outline-offset:2px;outline:2px solid #000000}._tagText_m4kn4_42{line-height:1.15;padding:.25rem .75rem .25rem .5rem}._tagList_m4kn4_47{display:flex;flex-wrap:wrap;gap:.25rem}
|
package/Text-BCF0xvqL.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { a as c } from "./useFocusRing-9PXyKy2A.js";
|
|
2
|
-
import o, { forwardRef as $, createContext as f } from "react";
|
|
3
|
-
const n = /* @__PURE__ */ f({}), s = /* @__PURE__ */ $(function(e, t) {
|
|
4
|
-
[e, t] = c(e, t, n);
|
|
5
|
-
let { elementType: a = "span", ...r } = e;
|
|
6
|
-
return /* @__PURE__ */ o.createElement(a, {
|
|
7
|
-
className: "react-aria-Text",
|
|
8
|
-
...r,
|
|
9
|
-
ref: t
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
export {
|
|
13
|
-
n as $,
|
|
14
|
-
s as a
|
|
15
|
-
};
|
package/TextArea.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._textArea_1tbo6_4{all:unset;display:flex!important;grid-area:Input;border-bottom:1px solid #000000;align-items:center;justify-content:center;font-size:1rem;padding:1rem 1rem 1.25rem;background-color:#f2f2f2;box-sizing:border-box;word-wrap:break-word;width:100%}._textArea_1tbo6_4:hover{background-color:#e6e6e6}._textArea_1tbo6_4[data-focused],._textArea_1tbo6_4[data-focus-visible]{box-shadow:0 0 0 2px #fff,0 0 0 4px #000}._textArea_1tbo6_4[data-invalid]{border:none;box-shadow:inset 0 0 0 3px #e62323}._textArea_1tbo6_4[data-disabled]{pointer-events:none;background-color:#f2f2f2;border:none;opacity:.7}._count_1tbo6_40{font-size:.875rem;color:#1f1f1f;text-align:right;grid-area:Count;align-self:flex-end}._countExceeded_1tbo6_48{color:#e62323}
|
package/TextField-CX4eOQf6.js
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as $, Fragment as k } from "react/jsx-runtime";
|
|
2
|
-
import b, { forwardRef as y, createContext as N, useRef as A, useState as O, useCallback as _ } from "react";
|
|
3
|
-
import { $ as q, a as j, b as C } from "./Form-BWBjJC6v.js";
|
|
4
|
-
import { $ as w, a as W, T as n, b as z } from "./TextField.module-DdICj682.js";
|
|
5
|
-
import { $ as L, a as G } from "./useField-DMzJIIN4.js";
|
|
6
|
-
import { $ as J, a as H } from "./Text-BCF0xvqL.js";
|
|
7
|
-
import { a as g, b as K, c as M, d as I, e as B, y as Q, z as U, A as X, o as Y, B as Z } from "./useFocusRing-9PXyKy2A.js";
|
|
8
|
-
import { Button as ee } from "./index66.js";
|
|
9
|
-
import { c as te } from "./clsx-OuTLNxxd.js";
|
|
10
|
-
const S = /* @__PURE__ */ N({});
|
|
11
|
-
let ae = (s) => {
|
|
12
|
-
let { onHoverStart: e, onHoverChange: t, onHoverEnd: d, ...i } = s;
|
|
13
|
-
return i;
|
|
14
|
-
};
|
|
15
|
-
const xe = /* @__PURE__ */ y(function(e, t) {
|
|
16
|
-
[e, t] = g(e, t, S);
|
|
17
|
-
let { hoverProps: d, isHovered: i } = K(e), { isFocused: a, isFocusVisible: u, focusProps: f } = M({
|
|
18
|
-
isTextInput: !0,
|
|
19
|
-
autoFocus: e.autoFocus
|
|
20
|
-
}), l = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = I({
|
|
21
|
-
...e,
|
|
22
|
-
values: {
|
|
23
|
-
isHovered: i,
|
|
24
|
-
isFocused: a,
|
|
25
|
-
isFocusVisible: u,
|
|
26
|
-
isDisabled: e.disabled || !1,
|
|
27
|
-
isInvalid: l
|
|
28
|
-
},
|
|
29
|
-
defaultClassName: "react-aria-TextArea"
|
|
30
|
-
});
|
|
31
|
-
return /* @__PURE__ */ b.createElement("textarea", {
|
|
32
|
-
...B(ae(e), f, d),
|
|
33
|
-
...c,
|
|
34
|
-
ref: t,
|
|
35
|
-
"data-focused": a || void 0,
|
|
36
|
-
"data-disabled": e.disabled || void 0,
|
|
37
|
-
"data-hovered": i || void 0,
|
|
38
|
-
"data-focus-visible": u || void 0,
|
|
39
|
-
"data-invalid": l || void 0
|
|
40
|
-
});
|
|
41
|
-
}), de = /* @__PURE__ */ N(null), ne = /* @__PURE__ */ y(function(e, t) {
|
|
42
|
-
[e, t] = g(e, t, de);
|
|
43
|
-
let { validationBehavior: d } = Q(q) || {};
|
|
44
|
-
var i, a;
|
|
45
|
-
let u = (a = (i = e.validationBehavior) !== null && i !== void 0 ? i : d) !== null && a !== void 0 ? a : "native", f = A(null), [l, c] = g({}, f, w), [p, v] = U(), [x, o] = O("input"), { labelProps: m, inputProps: F, descriptionProps: D, errorMessageProps: V, ...h } = W({
|
|
46
|
-
...X(e),
|
|
47
|
-
inputElementType: x,
|
|
48
|
-
label: v,
|
|
49
|
-
validationBehavior: u
|
|
50
|
-
}, c), R = _((P) => {
|
|
51
|
-
c.current = P, P && o(P instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
52
|
-
}, [
|
|
53
|
-
c
|
|
54
|
-
]), E = I({
|
|
55
|
-
...e,
|
|
56
|
-
values: {
|
|
57
|
-
isDisabled: e.isDisabled || !1,
|
|
58
|
-
isInvalid: h.isInvalid,
|
|
59
|
-
isReadOnly: e.isReadOnly || !1,
|
|
60
|
-
isRequired: e.isRequired || !1
|
|
61
|
-
},
|
|
62
|
-
defaultClassName: "react-aria-TextField"
|
|
63
|
-
}), T = Y(e);
|
|
64
|
-
return delete T.id, /* @__PURE__ */ b.createElement("div", {
|
|
65
|
-
...T,
|
|
66
|
-
...E,
|
|
67
|
-
ref: t,
|
|
68
|
-
slot: e.slot || void 0,
|
|
69
|
-
"data-disabled": e.isDisabled || void 0,
|
|
70
|
-
"data-invalid": h.isInvalid || void 0,
|
|
71
|
-
"data-readonly": e.isReadOnly || void 0,
|
|
72
|
-
"data-required": e.isRequired || void 0
|
|
73
|
-
}, /* @__PURE__ */ b.createElement(Z, {
|
|
74
|
-
values: [
|
|
75
|
-
[
|
|
76
|
-
L,
|
|
77
|
-
{
|
|
78
|
-
...m,
|
|
79
|
-
ref: p
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
[
|
|
83
|
-
w,
|
|
84
|
-
{
|
|
85
|
-
...B(F, l),
|
|
86
|
-
ref: R
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
[
|
|
90
|
-
S,
|
|
91
|
-
{
|
|
92
|
-
...F,
|
|
93
|
-
ref: R
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
J,
|
|
98
|
-
{
|
|
99
|
-
slots: {
|
|
100
|
-
description: D,
|
|
101
|
-
errorMessage: V
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
[
|
|
106
|
-
j,
|
|
107
|
-
h
|
|
108
|
-
]
|
|
109
|
-
]
|
|
110
|
-
}, E.children));
|
|
111
|
-
}), me = ({
|
|
112
|
-
label: s,
|
|
113
|
-
description: e,
|
|
114
|
-
errorMessage: t,
|
|
115
|
-
validationType: d,
|
|
116
|
-
validate: i,
|
|
117
|
-
maxCharacters: a,
|
|
118
|
-
showCounter: u,
|
|
119
|
-
...f
|
|
120
|
-
}) => {
|
|
121
|
-
const [l, c] = b.useState(""), p = (o) => {
|
|
122
|
-
const m = o.target.value;
|
|
123
|
-
c(m);
|
|
124
|
-
}, v = (o) => d === "ssn" ? re.test(o) ? null : "Felaktigt personnummer" : d instanceof RegExp ? new RegExp(d).test(o) ? null : t == null ? void 0 : t.toString() : a ? a && o.length > a ? `Du har angett ${o.length - a} tecken för mycket. Fältet är begränsat till ${a} tecken.` : null : i ? i(o) : !0, x = () => a ? /* @__PURE__ */ $(
|
|
125
|
-
"span",
|
|
126
|
-
{
|
|
127
|
-
className: te(
|
|
128
|
-
n.count,
|
|
129
|
-
l.length > a && n.countExceeded
|
|
130
|
-
),
|
|
131
|
-
children: [
|
|
132
|
-
l.length,
|
|
133
|
-
" / ",
|
|
134
|
-
a
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
) : u ? /* @__PURE__ */ r("span", { className: n.count, children: l.length }) : null;
|
|
138
|
-
return /* @__PURE__ */ r(
|
|
139
|
-
ne,
|
|
140
|
-
{
|
|
141
|
-
className: n.inputField,
|
|
142
|
-
validate: v,
|
|
143
|
-
...f,
|
|
144
|
-
children: /* @__PURE__ */ $(
|
|
145
|
-
se,
|
|
146
|
-
{
|
|
147
|
-
label: s,
|
|
148
|
-
description: e,
|
|
149
|
-
errorMessage: t,
|
|
150
|
-
children: [
|
|
151
|
-
/* @__PURE__ */ r(x, {}),
|
|
152
|
-
/* @__PURE__ */ $("div", { className: n.wrap, children: [
|
|
153
|
-
/* @__PURE__ */ r(
|
|
154
|
-
z,
|
|
155
|
-
{
|
|
156
|
-
type: f.type,
|
|
157
|
-
className: n.input,
|
|
158
|
-
onChange: p,
|
|
159
|
-
onBlur: p
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
/* @__PURE__ */ r(
|
|
163
|
-
ie,
|
|
164
|
-
{
|
|
165
|
-
type: f.type,
|
|
166
|
-
input: l
|
|
167
|
-
}
|
|
168
|
-
)
|
|
169
|
-
] })
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
)
|
|
173
|
-
}
|
|
174
|
-
);
|
|
175
|
-
}, ie = ({
|
|
176
|
-
type: s,
|
|
177
|
-
input: e
|
|
178
|
-
}) => {
|
|
179
|
-
const [t, d] = b.useState(!1);
|
|
180
|
-
return s === "password" ? /* @__PURE__ */ $(k, { children: [
|
|
181
|
-
t && /* @__PURE__ */ r(
|
|
182
|
-
H,
|
|
183
|
-
{
|
|
184
|
-
slot: "description",
|
|
185
|
-
className: n.passwordText,
|
|
186
|
-
children: e
|
|
187
|
-
}
|
|
188
|
-
),
|
|
189
|
-
/* @__PURE__ */ r(
|
|
190
|
-
ee,
|
|
191
|
-
{
|
|
192
|
-
variant: "tertiary",
|
|
193
|
-
onPress: () => d(!t),
|
|
194
|
-
className: n.passwordButton,
|
|
195
|
-
children: t ? "Dölj" : "Visa"
|
|
196
|
-
}
|
|
197
|
-
)
|
|
198
|
-
] }) : null;
|
|
199
|
-
}, se = ({
|
|
200
|
-
label: s,
|
|
201
|
-
description: e,
|
|
202
|
-
errorMessage: t,
|
|
203
|
-
children: d
|
|
204
|
-
}) => /* @__PURE__ */ $("div", { className: n.inputWrapper, children: [
|
|
205
|
-
s && /* @__PURE__ */ r(G, { className: n.label, children: s }),
|
|
206
|
-
e && /* @__PURE__ */ r(
|
|
207
|
-
H,
|
|
208
|
-
{
|
|
209
|
-
slot: "description",
|
|
210
|
-
className: n.text,
|
|
211
|
-
children: e
|
|
212
|
-
}
|
|
213
|
-
),
|
|
214
|
-
/* @__PURE__ */ r(C, { className: n.fieldError, children: t }),
|
|
215
|
-
d
|
|
216
|
-
] }), re = new RegExp(
|
|
217
|
-
"^(?:(?:19|20)?\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4})?|\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4}))$"
|
|
218
|
-
);
|
|
219
|
-
export {
|
|
220
|
-
ne as $,
|
|
221
|
-
se as I,
|
|
222
|
-
me as T,
|
|
223
|
-
xe as a,
|
|
224
|
-
re as s
|
|
225
|
-
};
|
package/TextField.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._inputField_1kepw_4{height:100%}._inputField_1kepw_4[data-disabled]{color:#bfbfbf}._inputWrapper_1kepw_12{font-family:Inter,sans-serif;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr 1fr;grid-template-columns:1fr auto;grid-template-rows:min-content min-content min-content min-content;gap:.25rem .5rem;grid-template-areas:"Label Count" "Desc Count" "Error Error" "Input Input";height:100%;width:100%;align-content:flex-end}._label_1kepw_30{grid-area:Label;font-size:1rem;font-weight:500}._text_1kepw_36{grid-area:Desc;font-size:.875rem;font-weight:400}._fieldError_1kepw_42{color:#e62323;grid-area:Error;font-size:.875rem;display:flex;align-items:center;column-gap:.5rem;margin:.25rem 0;line-height:1.28}._fieldError_1kepw_42:before{content:"";background-color:#e62323;display:block;width:1rem;height:1rem;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgY2xhc3M9Imx1Y2lkZSBsdWNpZGUtdHJpYW5nbGUtYWxlcnQiPjxwYXRoIGQ9Im0yMS43MyAxOC04LTE0YTIgMiAwIDAgMC0zLjQ4IDBsLTggMTRBMiAyIDAgMCAwIDQgMjFoMTZhMiAyIDAgMCAwIDEuNzMtMyIvPjxwYXRoIGQ9Ik0xMiA5djQiLz48cGF0aCBkPSJNMTIgMTdoLjAxIi8+PC9zdmc+);-webkit-mask-size:1rem 1rem;mask-size:1rem 1rem;flex:0 0 auto;align-self:flex-start;margin:2px}._passwordText_1kepw_66{background-color:#f2f2f2;position:absolute;display:flex;align-items:center;z-index:2;top:0;left:1rem;width:calc(100% - 1rem);height:46px;pointer-events:none}._count_1kepw_79{font-size:.875rem;color:#1f1f1f;text-align:right;grid-area:Count;align-self:flex-end}._countExceeded_1kepw_87{color:#e62323}._input_1kepw_4{all:unset;grid-area:Input;border-bottom:1px solid #000000;min-height:48px;font-size:1rem;padding-left:1rem;line-height:1;background-color:#f2f2f2;border-radius:0;box-sizing:border-box;width:100%}._input_1kepw_4:hover{background-color:#e6e6e6}._input_1kepw_4:hover+._passwordText_1kepw_66{background-color:#e6e6e6}._input_1kepw_4[data-focused],._input_1kepw_4[data-focus-visible]{box-shadow:0 0 0 2px #fff,0 0 0 4px #000}._input_1kepw_4[data-invalid]{border:none;box-shadow:inset 0 0 0 3px #e62323}._input_1kepw_4[data-disabled]{pointer-events:none;background-color:#f2f2f2;border:none;opacity:.7}._wrap_1kepw_130{grid-area:Input;position:relative}._passwordButton_1kepw_135{background:transparent!important;border-color:transparent!important;position:absolute;width:max-content;right:0;top:0;box-sizing:border-box;cursor:pointer;z-index:3}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import C, { useEffect as y, createContext as w } from "react";
|
|
2
|
-
import { o as k, s as E, e as p, a as I, b as F, c as T, d as H } from "./useFocusRing-9PXyKy2A.js";
|
|
3
|
-
import { c as R, d as S, e as M } from "./Form-BWBjJC6v.js";
|
|
4
|
-
import { $ as B } from "./useControlledState-Kv9K2AYu.js";
|
|
5
|
-
import { b as V } from "./useField-DMzJIIN4.js";
|
|
6
|
-
import { $ as W } from "./useFocusable-CcEBZe40.js";
|
|
7
|
-
import { $ as D } from "./Hidden-CVlUgUJM.js";
|
|
8
|
-
import './TextField.css';function me(e, a) {
|
|
9
|
-
let { inputElementType: o = "input", isDisabled: i = !1, isRequired: t = !1, isReadOnly: d = !1, type: r = "text", validationBehavior: s = "aria" } = e, [n, l] = B(e.value, e.defaultValue || "", e.onChange), { focusableProps: $ } = W(e, a), f = R({
|
|
10
|
-
...e,
|
|
11
|
-
value: n
|
|
12
|
-
}), { isInvalid: u, validationErrors: b, validationDetails: v } = f.displayValidation, { labelProps: m, fieldProps: x, descriptionProps: _, errorMessageProps: g } = V({
|
|
13
|
-
...e,
|
|
14
|
-
isInvalid: u,
|
|
15
|
-
errorMessage: e.errorMessage || b
|
|
16
|
-
}), P = k(e, {
|
|
17
|
-
labelable: !0
|
|
18
|
-
});
|
|
19
|
-
const h = {
|
|
20
|
-
type: r,
|
|
21
|
-
pattern: e.pattern
|
|
22
|
-
};
|
|
23
|
-
return S(a, n, l), M(e, f, a), y(() => {
|
|
24
|
-
if (a.current instanceof E(a.current).HTMLTextAreaElement) {
|
|
25
|
-
let c = a.current;
|
|
26
|
-
Object.defineProperty(c, "defaultValue", {
|
|
27
|
-
get: () => c.value,
|
|
28
|
-
set: () => {
|
|
29
|
-
},
|
|
30
|
-
configurable: !0
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}, [
|
|
34
|
-
a
|
|
35
|
-
]), {
|
|
36
|
-
labelProps: m,
|
|
37
|
-
inputProps: p(P, o === "input" ? h : void 0, {
|
|
38
|
-
disabled: i,
|
|
39
|
-
readOnly: d,
|
|
40
|
-
required: t && s === "native",
|
|
41
|
-
"aria-required": t && s === "aria" || void 0,
|
|
42
|
-
"aria-invalid": u || void 0,
|
|
43
|
-
"aria-errormessage": e["aria-errormessage"],
|
|
44
|
-
"aria-activedescendant": e["aria-activedescendant"],
|
|
45
|
-
"aria-autocomplete": e["aria-autocomplete"],
|
|
46
|
-
"aria-haspopup": e["aria-haspopup"],
|
|
47
|
-
"aria-controls": e["aria-controls"],
|
|
48
|
-
value: n,
|
|
49
|
-
onChange: (c) => l(c.target.value),
|
|
50
|
-
autoComplete: e.autoComplete,
|
|
51
|
-
autoCapitalize: e.autoCapitalize,
|
|
52
|
-
maxLength: e.maxLength,
|
|
53
|
-
minLength: e.minLength,
|
|
54
|
-
name: e.name,
|
|
55
|
-
placeholder: e.placeholder,
|
|
56
|
-
inputMode: e.inputMode,
|
|
57
|
-
autoCorrect: e.autoCorrect,
|
|
58
|
-
spellCheck: e.spellCheck,
|
|
59
|
-
// Clipboard events
|
|
60
|
-
onCopy: e.onCopy,
|
|
61
|
-
onCut: e.onCut,
|
|
62
|
-
onPaste: e.onPaste,
|
|
63
|
-
// Composition events
|
|
64
|
-
onCompositionEnd: e.onCompositionEnd,
|
|
65
|
-
onCompositionStart: e.onCompositionStart,
|
|
66
|
-
onCompositionUpdate: e.onCompositionUpdate,
|
|
67
|
-
// Selection events
|
|
68
|
-
onSelect: e.onSelect,
|
|
69
|
-
// Input events
|
|
70
|
-
onBeforeInput: e.onBeforeInput,
|
|
71
|
-
onInput: e.onInput,
|
|
72
|
-
...$,
|
|
73
|
-
...x
|
|
74
|
-
}),
|
|
75
|
-
descriptionProps: _,
|
|
76
|
-
errorMessageProps: g,
|
|
77
|
-
isInvalid: u,
|
|
78
|
-
validationErrors: b,
|
|
79
|
-
validationDetails: v
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
const L = /* @__PURE__ */ w({});
|
|
83
|
-
let O = (e) => {
|
|
84
|
-
let { onHoverStart: a, onHoverChange: o, onHoverEnd: i, ...t } = e;
|
|
85
|
-
return t;
|
|
86
|
-
};
|
|
87
|
-
const xe = /* @__PURE__ */ D(function(a, o) {
|
|
88
|
-
[a, o] = I(a, o, L);
|
|
89
|
-
let { hoverProps: i, isHovered: t } = F(a), { isFocused: d, isFocusVisible: r, focusProps: s } = T({
|
|
90
|
-
isTextInput: !0,
|
|
91
|
-
autoFocus: a.autoFocus
|
|
92
|
-
}), n = !!a["aria-invalid"] && a["aria-invalid"] !== "false", l = H({
|
|
93
|
-
...a,
|
|
94
|
-
values: {
|
|
95
|
-
isHovered: t,
|
|
96
|
-
isFocused: d,
|
|
97
|
-
isFocusVisible: r,
|
|
98
|
-
isDisabled: a.disabled || !1,
|
|
99
|
-
isInvalid: n
|
|
100
|
-
},
|
|
101
|
-
defaultClassName: "react-aria-Input"
|
|
102
|
-
});
|
|
103
|
-
return /* @__PURE__ */ C.createElement("input", {
|
|
104
|
-
...p(O(a), s, i),
|
|
105
|
-
...l,
|
|
106
|
-
ref: o,
|
|
107
|
-
"data-focused": d || void 0,
|
|
108
|
-
"data-disabled": a.disabled || void 0,
|
|
109
|
-
"data-hovered": t || void 0,
|
|
110
|
-
"data-focus-visible": r || void 0,
|
|
111
|
-
"data-invalid": n || void 0
|
|
112
|
-
});
|
|
113
|
-
}), q = '"../theme/tokens.css"', z = '"Inter", sans-serif', U = "#ffdfdf", j = "#f2f2f2", A = "#e6e6e6", N = "#bfbfbf", G = "#000000", J = "#e62323", K = "500", Q = "400", X = "#1f1f1f", Y = "0 0 0 2px #ffffff, 0 0 0 4px #000000", Z = "_inputField_1kepw_4", ee = "_inputWrapper_1kepw_12", ae = "_label_1kepw_30", te = "_text_1kepw_36", oe = "_fieldError_1kepw_42", ne = "_passwordText_1kepw_66", ie = "_count_1kepw_79", de = "_countExceeded_1kepw_87", re = "_input_1kepw_4", se = "_wrap_1kepw_130", le = "_passwordButton_1kepw_135", _e = {
|
|
114
|
-
tokens: q,
|
|
115
|
-
display: z,
|
|
116
|
-
signalRed10: U,
|
|
117
|
-
gray10: j,
|
|
118
|
-
gray20: A,
|
|
119
|
-
gray50: N,
|
|
120
|
-
black: G,
|
|
121
|
-
signalRed100: J,
|
|
122
|
-
mediumWeight: K,
|
|
123
|
-
regularWeight: Q,
|
|
124
|
-
inputText: X,
|
|
125
|
-
focus: Y,
|
|
126
|
-
inputField: Z,
|
|
127
|
-
inputWrapper: ee,
|
|
128
|
-
label: ae,
|
|
129
|
-
text: te,
|
|
130
|
-
fieldError: oe,
|
|
131
|
-
passwordText: ne,
|
|
132
|
-
count: ie,
|
|
133
|
-
countExceeded: de,
|
|
134
|
-
input: re,
|
|
135
|
-
wrap: se,
|
|
136
|
-
passwordButton: le
|
|
137
|
-
};
|
|
138
|
-
export {
|
|
139
|
-
L as $,
|
|
140
|
-
_e as T,
|
|
141
|
-
me as a,
|
|
142
|
-
xe as b
|
|
143
|
-
};
|
package/Toast.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes _slideInEnd_i4o11_1{0%{transform:translate(calc(100% + 1rem));opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutEnd_i4o11_1{0%{transform:translate(0);opacity:1}to{transform:translate(calc(100% + 1rem));opacity:0}}@keyframes _slideInTop_i4o11_1{0%{transform:translateY(calc(-100% + 1rem));opacity:0}to{transform:translateY(1rem);opacity:1}}@keyframes _slideOutTop_i4o11_1{0%{transform:translateY(1rem);opacity:1}to{transform:translateY(calc(-100% + 1rem));opacity:0}}._toastRegion_i4o11_52{position:fixed;left:50%;top:calc(92px + 1rem);transform:translate(-50%);display:flex;flex-direction:column;gap:8px;border:none;width:calc(100% - 2rem);z-index:1001}._toastRegion_i4o11_52:focus-visible{outline:none}@media (min-width: 768px){._toastRegion_i4o11_52{width:unset;left:unset;transform:unset;top:calc(80px + 1rem);right:1rem}}._toast_i4o11_52{font-family:Inter,sans-serif;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;background:#fff;color:#1f1f1f;padding-left:calc(1rem - 3px);border-left:3px solid transparent;width:calc(100% - 1rem);font-size:.875rem}._toast_i4o11_52[data-focus-visible],._toast_i4o11_52:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #000}._toast_i4o11_52._success_i4o11_96{--bg: #d5f2d9;--border: #008d3c;background:var(--bg);border-left-color:var(--border)}._toast_i4o11_52._info_i4o11_104{--bg: #eaf2f6;--border: #0066cc;background:var(--bg);border-left-color:var(--border)}._toast_i4o11_52._important_i4o11_112{--bg: #fff8e1;--border: #f1c21b;background:var(--bg);border-left-color:var(--border)}._toast_i4o11_52._warning_i4o11_120{--bg: #ffdfdf;--border: #e62323;background:var(--bg);border-left-color:var(--border)}._toast_i4o11_52 ._icon_i4o11_128{color:var(--border);flex:0 0 auto}@media (min-width: 768px){._toast_i4o11_52{width:18rem}}._toastContent_i4o11_138{padding:.875rem 0;display:flex;align-items:flex-start;gap:1rem}._toastMessage_i4o11_145{padding:.125rem 0 0;margin:0;line-height:1.2}._toast_i4o11_52[data-animation=entering]{animation-name:_slideInTop_i4o11_1;animation-duration:.5s;animation-timing-function:cubic-bezier(.16,1,.3,1);animation-direction:normal;animation-fill-mode:both}@media (min-width: 768px){._toast_i4o11_52[data-animation=entering]{animation-name:_slideInEnd_i4o11_1}}._toast_i4o11_52[data-animation=exiting]{animation-name:_slideOutTop_i4o11_1;animation-duration:.5s;animation-timing-function:cubic-bezier(.16,1,.3,1);animation-direction:normal;animation-fill-mode:both}@media (min-width: 768px){._toast_i4o11_52[data-animation=exiting]{animation-name:_slideOutEnd_i4o11_1}}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { f as n, e as d } from "./useFocusRing-9PXyKy2A.js";
|
|
2
|
-
import u, { useState as f, useMemo as p } from "react";
|
|
3
|
-
const a = {
|
|
4
|
-
border: 0,
|
|
5
|
-
clip: "rect(0 0 0 0)",
|
|
6
|
-
clipPath: "inset(50%)",
|
|
7
|
-
height: "1px",
|
|
8
|
-
margin: "-1px",
|
|
9
|
-
overflow: "hidden",
|
|
10
|
-
padding: 0,
|
|
11
|
-
position: "absolute",
|
|
12
|
-
width: "1px",
|
|
13
|
-
whiteSpace: "nowrap"
|
|
14
|
-
};
|
|
15
|
-
function $(t = {}) {
|
|
16
|
-
let { style: e, isFocusable: s } = t, [i, r] = f(!1), { focusWithinProps: l } = n({
|
|
17
|
-
isDisabled: !s,
|
|
18
|
-
onFocusWithinChange: (c) => r(c)
|
|
19
|
-
}), o = p(() => i ? e : e ? {
|
|
20
|
-
...a,
|
|
21
|
-
...e
|
|
22
|
-
} : a, [
|
|
23
|
-
i
|
|
24
|
-
]);
|
|
25
|
-
return {
|
|
26
|
-
visuallyHiddenProps: {
|
|
27
|
-
...l,
|
|
28
|
-
style: o
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function y(t) {
|
|
33
|
-
let { children: e, elementType: s = "div", isFocusable: i, style: r, ...l } = t, { visuallyHiddenProps: o } = $(t);
|
|
34
|
-
return /* @__PURE__ */ u.createElement(s, d(l, o), e);
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
$,
|
|
38
|
-
y as a
|
|
39
|
-
};
|
package/chevron-down-Cd1bkzXT.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-DeWljiyi.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.453.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const n = o("ChevronDown", [
|
|
9
|
-
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
10
|
-
]);
|
|
11
|
-
export {
|
|
12
|
-
n as C
|
|
13
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { c as e } from "./createLucideIcon-DeWljiyi.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.453.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const h = e("ChevronLeft", [
|
|
9
|
-
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
|
|
10
|
-
]);
|
|
11
|
-
/**
|
|
12
|
-
* @license lucide-react v0.453.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/
|
|
17
|
-
const o = e("ChevronRight", [
|
|
18
|
-
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
19
|
-
]);
|
|
20
|
-
export {
|
|
21
|
-
h as C,
|
|
22
|
-
o as a
|
|
23
|
-
};
|
package/clsx-OuTLNxxd.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
function a(r) {
|
|
2
|
-
var f, n, t = "";
|
|
3
|
-
if (typeof r == "string" || typeof r == "number") t += r;
|
|
4
|
-
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
5
|
-
var o = r.length;
|
|
6
|
-
for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
|
|
7
|
-
} else for (n in r) r[n] && (t && (t += " "), t += n);
|
|
8
|
-
return t;
|
|
9
|
-
}
|
|
10
|
-
function i() {
|
|
11
|
-
for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
|
|
12
|
-
return t;
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
i as c
|
|
16
|
-
};
|
package/context-BpJLnOuu.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import l, { useState as d, useEffect as i, useContext as $ } from "react";
|
|
2
|
-
import { g as u } from "./useFocusRing-9PXyKy2A.js";
|
|
3
|
-
const s = /* @__PURE__ */ new Set([
|
|
4
|
-
"Arab",
|
|
5
|
-
"Syrc",
|
|
6
|
-
"Samr",
|
|
7
|
-
"Mand",
|
|
8
|
-
"Thaa",
|
|
9
|
-
"Mend",
|
|
10
|
-
"Nkoo",
|
|
11
|
-
"Adlm",
|
|
12
|
-
"Rohg",
|
|
13
|
-
"Hebr"
|
|
14
|
-
]), b = /* @__PURE__ */ new Set([
|
|
15
|
-
"ae",
|
|
16
|
-
"ar",
|
|
17
|
-
"arc",
|
|
18
|
-
"bcc",
|
|
19
|
-
"bqi",
|
|
20
|
-
"ckb",
|
|
21
|
-
"dv",
|
|
22
|
-
"fa",
|
|
23
|
-
"glk",
|
|
24
|
-
"he",
|
|
25
|
-
"ku",
|
|
26
|
-
"mzn",
|
|
27
|
-
"nqo",
|
|
28
|
-
"pnb",
|
|
29
|
-
"ps",
|
|
30
|
-
"sd",
|
|
31
|
-
"ug",
|
|
32
|
-
"ur",
|
|
33
|
-
"yi"
|
|
34
|
-
]);
|
|
35
|
-
function g(e) {
|
|
36
|
-
if (Intl.Locale) {
|
|
37
|
-
let a = new Intl.Locale(e).maximize(), o = typeof a.getTextInfo == "function" ? a.getTextInfo() : a.textInfo;
|
|
38
|
-
if (o) return o.direction === "rtl";
|
|
39
|
-
if (a.script) return s.has(a.script);
|
|
40
|
-
}
|
|
41
|
-
let n = e.split("-")[0];
|
|
42
|
-
return b.has(n);
|
|
43
|
-
}
|
|
44
|
-
const p = Symbol.for("react-aria.i18n.locale");
|
|
45
|
-
function c() {
|
|
46
|
-
let e = typeof window < "u" && window[p] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
|
|
47
|
-
try {
|
|
48
|
-
Intl.DateTimeFormat.supportedLocalesOf([
|
|
49
|
-
e
|
|
50
|
-
]);
|
|
51
|
-
} catch {
|
|
52
|
-
e = "en-US";
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
locale: e,
|
|
56
|
-
direction: g(e) ? "rtl" : "ltr"
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
let r = c(), t = /* @__PURE__ */ new Set();
|
|
60
|
-
function f() {
|
|
61
|
-
r = c();
|
|
62
|
-
for (let e of t) e(r);
|
|
63
|
-
}
|
|
64
|
-
function x() {
|
|
65
|
-
let e = u(), [n, a] = d(r);
|
|
66
|
-
return i(() => (t.size === 0 && window.addEventListener("languagechange", f), t.add(a), () => {
|
|
67
|
-
t.delete(a), t.size === 0 && window.removeEventListener("languagechange", f);
|
|
68
|
-
}), []), e ? {
|
|
69
|
-
locale: "en-US",
|
|
70
|
-
direction: "ltr"
|
|
71
|
-
} : n;
|
|
72
|
-
}
|
|
73
|
-
const S = /* @__PURE__ */ l.createContext(null);
|
|
74
|
-
function L() {
|
|
75
|
-
let e = x();
|
|
76
|
-
return $(S) || e;
|
|
77
|
-
}
|
|
78
|
-
export {
|
|
79
|
-
L as $
|
|
80
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { forwardRef as c, createElement as a } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.453.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const p = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), i = (...e) => e.filter((r, t, o) => !!r && o.indexOf(r) === t).join(" ");
|
|
9
|
-
/**
|
|
10
|
-
* @license lucide-react v0.453.0 - ISC
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the ISC license.
|
|
13
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
var f = {
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
-
width: 24,
|
|
18
|
-
height: 24,
|
|
19
|
-
viewBox: "0 0 24 24",
|
|
20
|
-
fill: "none",
|
|
21
|
-
stroke: "currentColor",
|
|
22
|
-
strokeWidth: 2,
|
|
23
|
-
strokeLinecap: "round",
|
|
24
|
-
strokeLinejoin: "round"
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* @license lucide-react v0.453.0 - ISC
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the ISC license.
|
|
30
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/
|
|
32
|
-
const g = c(
|
|
33
|
-
({
|
|
34
|
-
color: e = "currentColor",
|
|
35
|
-
size: r = 24,
|
|
36
|
-
strokeWidth: t = 2,
|
|
37
|
-
absoluteStrokeWidth: o,
|
|
38
|
-
className: s = "",
|
|
39
|
-
children: n,
|
|
40
|
-
iconNode: u,
|
|
41
|
-
...l
|
|
42
|
-
}, d) => a(
|
|
43
|
-
"svg",
|
|
44
|
-
{
|
|
45
|
-
ref: d,
|
|
46
|
-
...f,
|
|
47
|
-
width: r,
|
|
48
|
-
height: r,
|
|
49
|
-
stroke: e,
|
|
50
|
-
strokeWidth: o ? Number(t) * 24 / Number(r) : t,
|
|
51
|
-
className: i("lucide", s),
|
|
52
|
-
...l
|
|
53
|
-
},
|
|
54
|
-
[
|
|
55
|
-
...u.map(([m, w]) => a(m, w)),
|
|
56
|
-
...Array.isArray(n) ? n : [n]
|
|
57
|
-
]
|
|
58
|
-
)
|
|
59
|
-
);
|
|
60
|
-
/**
|
|
61
|
-
* @license lucide-react v0.453.0 - ISC
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the ISC license.
|
|
64
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/
|
|
66
|
-
const C = (e, r) => {
|
|
67
|
-
const t = c(
|
|
68
|
-
({ className: o, ...s }, n) => a(g, {
|
|
69
|
-
ref: n,
|
|
70
|
-
iconNode: r,
|
|
71
|
-
className: i(`lucide-${p(e)}`, o),
|
|
72
|
-
...s
|
|
73
|
-
})
|
|
74
|
-
);
|
|
75
|
-
return t.displayName = `${e}`, t;
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
C as c
|
|
79
|
-
};
|