@solostylist/ui-kit 1.0.92 → 1.0.93
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/dist/{Box-CJmG1mTu.js → Box-Deehc8LF.js} +3 -3
- package/dist/{ButtonBase-C0g54hXq.js → ButtonBase-Cn3itpEl.js} +7 -6
- package/dist/{ChevronRight-CtkI4XwH.js → ChevronRight-G7jhiUBG.js} +1 -1
- package/dist/{Close--Sf9yZGB.js → Close-BSG2-e7H.js} +1 -1
- package/dist/{Menu-BuktPpzX.js → Menu-DYOw-I_3.js} +6 -5
- package/dist/{MenuItem-sL2AcofB.js → MenuItem-DTRBXdpX.js} +11 -10
- package/dist/{Paper-CH6cuu9i.js → Paper-DEq2MLtq.js} +22 -21
- package/dist/{Select-D2lV25sl.js → Select-DmB-tjlR.js} +8 -7
- package/dist/{Stack-CIrlOUXL.js → Stack-GTpsqQv0.js} +19 -18
- package/dist/{TransitionGroup-SToIdl-5.js → TransitionGroup--1HPPUFY.js} +1 -1
- package/dist/{Typography-D-VP4V1G.js → Typography-zQXZ4jKl.js} +27 -26
- package/dist/assets/s-carousel.css +1 -0
- package/dist/createSvgIcon-CS-Z7P80.js +318 -0
- package/dist/{createTheme-DbdaZ0Ku.js → createTheme-YLBX8GSj.js} +3 -3
- package/dist/defaultTheme-DXvvOU_p.js +5 -0
- package/dist/{extendSxProp-CQnEn3aw.js → extendSxProp-BNyKHzap.js} +1 -1
- package/dist/{index-CjPqjRDL.js → index-B3csTTDl.js} +4 -4
- package/dist/main.d.ts +4 -0
- package/dist/main.js +49 -45
- package/dist/{mergeSlotProps-N47mO9C9.js → mergeSlotProps-BbDReBm1.js} +1 -1
- package/dist/resolveProps-61uUKnlS.js +52 -0
- package/dist/s-accordion/s-accordion.js +26 -25
- package/dist/s-carousel/index.d.ts +2 -0
- package/dist/s-carousel/index.js +4 -0
- package/dist/s-carousel/package.json +5 -0
- package/dist/s-carousel/s-carousel.d.ts +11 -0
- package/dist/s-carousel/s-carousel.js +2446 -0
- package/dist/s-chat-input/s-chat-input.js +2 -2
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/s-data-table.js +33 -32
- package/dist/s-date-picker/s-date-picker.js +9 -8
- package/dist/s-datetime-picker/s-datetime-picker.js +20 -19
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +1 -1
- package/dist/s-image-modal/s-image-modal.js +2 -2
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-radial-pulse-animate/index.d.ts +2 -0
- package/dist/s-radial-pulse-animate/index.js +4 -0
- package/dist/s-radial-pulse-animate/package.json +5 -0
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +13 -0
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +131 -0
- package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
- package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/s-text-shimmer/index.d.ts +2 -0
- package/dist/s-text-shimmer/index.js +4 -0
- package/dist/s-text-shimmer/package.json +5 -0
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +8 -0
- package/dist/s-text-shimmer/s-text-shimmer.js +37 -0
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/styled-DOEEZAON.js +206 -0
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/customizations/inputs.js +1 -1
- package/dist/theme/customizations/navigation.js +1 -1
- package/dist/theme/theme-primitives.d.ts +94 -0
- package/dist/theme/theme-primitives.js +91 -84
- package/dist/{useMobilePicker-CRxlxUeh.js → useMobilePicker-By8yrJS0.js} +55 -54
- package/dist/{useTheme-CjYoxoob.js → useTheme-w9o5xUBz.js} +1 -1
- package/dist/{useThemeProps-DdCEfRBE.js → useThemeProps-CPsDWmFG.js} +2 -2
- package/dist/{warning-CiVr8tE6.js → warning-KQY_8msi.js} +3 -3
- package/package.json +6 -3
- package/dist/createSvgIcon-DpVs_nKR.js +0 -517
- package/dist/defaultTheme-CFAmbghg.js +0 -55
|
@@ -1,517 +0,0 @@
|
|
|
1
|
-
import * as N from "react";
|
|
2
|
-
import { j as k } from "./jsx-runtime-DywqP_6a.js";
|
|
3
|
-
import { l as H, b as te, s as W, i as ne, c as j, P as i } from "./createTheme-DbdaZ0Ku.js";
|
|
4
|
-
import { i as E, a as oe, s as re } from "./index-B6k9mhKf.js";
|
|
5
|
-
import { g as se } from "./svgIconClasses-CBCi8U9g.js";
|
|
6
|
-
import { r as U, d as ie } from "./defaultTheme-CFAmbghg.js";
|
|
7
|
-
import { T as ce } from "./identifier-BKLqN993.js";
|
|
8
|
-
function G(e) {
|
|
9
|
-
var t, n, o = "";
|
|
10
|
-
if (typeof e == "string" || typeof e == "number") o += e;
|
|
11
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
12
|
-
var r = e.length;
|
|
13
|
-
for (t = 0; t < r; t++) e[t] && (n = G(e[t])) && (o && (o += " "), o += n);
|
|
14
|
-
} else for (n in e) e[n] && (o && (o += " "), o += n);
|
|
15
|
-
return o;
|
|
16
|
-
}
|
|
17
|
-
function ae() {
|
|
18
|
-
for (var e, t, n = 0, o = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = G(e)) && (o && (o += " "), o += t);
|
|
19
|
-
return o;
|
|
20
|
-
}
|
|
21
|
-
function le(e, t, n = void 0) {
|
|
22
|
-
const o = {};
|
|
23
|
-
for (const r in e) {
|
|
24
|
-
const c = e[r];
|
|
25
|
-
let l = "", s = !0;
|
|
26
|
-
for (let f = 0; f < c.length; f += 1) {
|
|
27
|
-
const a = c[f];
|
|
28
|
-
a && (l += (s === !0 ? "" : " ") + t(a), s = !1, n && n[a] && (l += " " + n[a]));
|
|
29
|
-
}
|
|
30
|
-
o[r] = l;
|
|
31
|
-
}
|
|
32
|
-
return o;
|
|
33
|
-
}
|
|
34
|
-
function J(e, t = "") {
|
|
35
|
-
return e.displayName || e.name || t;
|
|
36
|
-
}
|
|
37
|
-
function q(e, t, n) {
|
|
38
|
-
const o = J(t);
|
|
39
|
-
return e.displayName || (o !== "" ? `${n}(${o})` : n);
|
|
40
|
-
}
|
|
41
|
-
function ue(e) {
|
|
42
|
-
if (e != null) {
|
|
43
|
-
if (typeof e == "string")
|
|
44
|
-
return e;
|
|
45
|
-
if (typeof e == "function")
|
|
46
|
-
return J(e, "Component");
|
|
47
|
-
if (typeof e == "object")
|
|
48
|
-
switch (e.$$typeof) {
|
|
49
|
-
case H.ForwardRef:
|
|
50
|
-
return q(e, e.render, "ForwardRef");
|
|
51
|
-
case H.Memo:
|
|
52
|
-
return q(e, e.type, "memo");
|
|
53
|
-
default:
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
function Q(e) {
|
|
59
|
-
const {
|
|
60
|
-
variants: t,
|
|
61
|
-
...n
|
|
62
|
-
} = e, o = {
|
|
63
|
-
variants: t,
|
|
64
|
-
style: E(n),
|
|
65
|
-
isProcessed: !0
|
|
66
|
-
};
|
|
67
|
-
return o.style === n || t && t.forEach((r) => {
|
|
68
|
-
typeof r.style != "function" && (r.style = E(r.style));
|
|
69
|
-
}), o;
|
|
70
|
-
}
|
|
71
|
-
const fe = te();
|
|
72
|
-
function D(e) {
|
|
73
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
74
|
-
}
|
|
75
|
-
function R(e, t) {
|
|
76
|
-
return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
|
|
77
|
-
}
|
|
78
|
-
function de(e) {
|
|
79
|
-
return e ? (t, n) => n[e] : null;
|
|
80
|
-
}
|
|
81
|
-
function me(e, t, n) {
|
|
82
|
-
e.theme = Se(e.theme) ? n : e.theme[t] || e.theme;
|
|
83
|
-
}
|
|
84
|
-
function _(e, t, n) {
|
|
85
|
-
const o = typeof t == "function" ? t(e) : t;
|
|
86
|
-
if (Array.isArray(o))
|
|
87
|
-
return o.flatMap((r) => _(e, r, n));
|
|
88
|
-
if (Array.isArray(o == null ? void 0 : o.variants)) {
|
|
89
|
-
let r;
|
|
90
|
-
if (o.isProcessed)
|
|
91
|
-
r = n ? R(o.style, n) : o.style;
|
|
92
|
-
else {
|
|
93
|
-
const {
|
|
94
|
-
variants: c,
|
|
95
|
-
...l
|
|
96
|
-
} = o;
|
|
97
|
-
r = n ? R(E(l), n) : l;
|
|
98
|
-
}
|
|
99
|
-
return X(e, o.variants, [r], n);
|
|
100
|
-
}
|
|
101
|
-
return o != null && o.isProcessed ? n ? R(E(o.style), n) : o.style : n ? R(E(o), n) : o;
|
|
102
|
-
}
|
|
103
|
-
function X(e, t, n = [], o = void 0) {
|
|
104
|
-
var c;
|
|
105
|
-
let r;
|
|
106
|
-
e: for (let l = 0; l < t.length; l += 1) {
|
|
107
|
-
const s = t[l];
|
|
108
|
-
if (typeof s.props == "function") {
|
|
109
|
-
if (r ?? (r = {
|
|
110
|
-
...e,
|
|
111
|
-
...e.ownerState,
|
|
112
|
-
ownerState: e.ownerState
|
|
113
|
-
}), !s.props(r))
|
|
114
|
-
continue;
|
|
115
|
-
} else
|
|
116
|
-
for (const f in s.props)
|
|
117
|
-
if (e[f] !== s.props[f] && ((c = e.ownerState) == null ? void 0 : c[f]) !== s.props[f])
|
|
118
|
-
continue e;
|
|
119
|
-
typeof s.style == "function" ? (r ?? (r = {
|
|
120
|
-
...e,
|
|
121
|
-
...e.ownerState,
|
|
122
|
-
ownerState: e.ownerState
|
|
123
|
-
}), n.push(o ? R(E(s.style(r)), o) : s.style(r))) : n.push(o ? R(E(s.style), o) : s.style);
|
|
124
|
-
}
|
|
125
|
-
return n;
|
|
126
|
-
}
|
|
127
|
-
function pe(e = {}) {
|
|
128
|
-
const {
|
|
129
|
-
themeId: t,
|
|
130
|
-
defaultTheme: n = fe,
|
|
131
|
-
rootShouldForwardProp: o = D,
|
|
132
|
-
slotShouldForwardProp: r = D
|
|
133
|
-
} = e;
|
|
134
|
-
function c(s) {
|
|
135
|
-
me(s, t, n);
|
|
136
|
-
}
|
|
137
|
-
return (s, f = {}) => {
|
|
138
|
-
oe(s, (m) => m.filter((p) => p !== W));
|
|
139
|
-
const {
|
|
140
|
-
name: a,
|
|
141
|
-
slot: u,
|
|
142
|
-
skipVariantsResolver: h,
|
|
143
|
-
skipSx: w,
|
|
144
|
-
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
145
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
146
|
-
overridesResolver: x = de(Y(u)),
|
|
147
|
-
...g
|
|
148
|
-
} = f, d = a && a.startsWith("Mui") || u ? "components" : "custom", b = h !== void 0 ? h : (
|
|
149
|
-
// TODO v6: remove `Root` in the next major release
|
|
150
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
151
|
-
u && u !== "Root" && u !== "root" || !1
|
|
152
|
-
), P = w || !1;
|
|
153
|
-
let V = D;
|
|
154
|
-
u === "Root" || u === "root" ? V = o : u ? V = r : ve(s) && (V = void 0);
|
|
155
|
-
const F = re(s, {
|
|
156
|
-
shouldForwardProp: V,
|
|
157
|
-
label: he(a, u),
|
|
158
|
-
...g
|
|
159
|
-
}), Z = (m) => {
|
|
160
|
-
if (m.__emotion_real === m)
|
|
161
|
-
return m;
|
|
162
|
-
if (typeof m == "function")
|
|
163
|
-
return function(T) {
|
|
164
|
-
return _(T, m, T.theme.modularCssLayers ? d : void 0);
|
|
165
|
-
};
|
|
166
|
-
if (ne(m)) {
|
|
167
|
-
const p = Q(m);
|
|
168
|
-
return function(v) {
|
|
169
|
-
return p.variants ? _(v, p, v.theme.modularCssLayers ? d : void 0) : v.theme.modularCssLayers ? R(p.style, d) : p.style;
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
return m;
|
|
173
|
-
}, L = (...m) => {
|
|
174
|
-
const p = [], T = m.map(Z), v = [];
|
|
175
|
-
if (p.push(c), a && x && v.push(function(y) {
|
|
176
|
-
var $, M;
|
|
177
|
-
const S = (M = ($ = y.theme.components) == null ? void 0 : $[a]) == null ? void 0 : M.styleOverrides;
|
|
178
|
-
if (!S)
|
|
179
|
-
return null;
|
|
180
|
-
const A = {};
|
|
181
|
-
for (const B in S)
|
|
182
|
-
A[B] = _(y, S[B], y.theme.modularCssLayers ? "theme" : void 0);
|
|
183
|
-
return x(y, A);
|
|
184
|
-
}), a && !b && v.push(function(y) {
|
|
185
|
-
var A, $;
|
|
186
|
-
const O = y.theme, S = ($ = (A = O == null ? void 0 : O.components) == null ? void 0 : A[a]) == null ? void 0 : $.variants;
|
|
187
|
-
return S ? X(y, S, [], y.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
188
|
-
}), P || v.push(W), Array.isArray(T[0])) {
|
|
189
|
-
const C = T.shift(), y = new Array(p.length).fill(""), O = new Array(v.length).fill("");
|
|
190
|
-
let S;
|
|
191
|
-
S = [...y, ...C, ...O], S.raw = [...y, ...C.raw, ...O], p.unshift(S);
|
|
192
|
-
}
|
|
193
|
-
const ee = [...p, ...T, ...v], I = F(...ee);
|
|
194
|
-
return s.muiName && (I.muiName = s.muiName), process.env.NODE_ENV !== "production" && (I.displayName = ye(a, u, s)), I;
|
|
195
|
-
};
|
|
196
|
-
return F.withConfig && (L.withConfig = F.withConfig), L;
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
function ye(e, t, n) {
|
|
200
|
-
return e ? `${e}${j(t || "")}` : `Styled(${ue(n)})`;
|
|
201
|
-
}
|
|
202
|
-
function he(e, t) {
|
|
203
|
-
let n;
|
|
204
|
-
return process.env.NODE_ENV !== "production" && e && (n = `${e}-${Y(t || "Root")}`), n;
|
|
205
|
-
}
|
|
206
|
-
function Se(e) {
|
|
207
|
-
for (const t in e)
|
|
208
|
-
return !1;
|
|
209
|
-
return !0;
|
|
210
|
-
}
|
|
211
|
-
function ve(e) {
|
|
212
|
-
return typeof e == "string" && // 96 is one less than the char code
|
|
213
|
-
// for "a" so this is checking that
|
|
214
|
-
// it's a lowercase character
|
|
215
|
-
e.charCodeAt(0) > 96;
|
|
216
|
-
}
|
|
217
|
-
function Y(e) {
|
|
218
|
-
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
219
|
-
}
|
|
220
|
-
const ge = /* @__PURE__ */ N.createContext(void 0);
|
|
221
|
-
process.env.NODE_ENV !== "production" && (i.node, i.object);
|
|
222
|
-
function we(e) {
|
|
223
|
-
const {
|
|
224
|
-
theme: t,
|
|
225
|
-
name: n,
|
|
226
|
-
props: o
|
|
227
|
-
} = e;
|
|
228
|
-
if (!t || !t.components || !t.components[n])
|
|
229
|
-
return o;
|
|
230
|
-
const r = t.components[n];
|
|
231
|
-
return r.defaultProps ? U(r.defaultProps, o, t.components.mergeClassNameAndStyle) : !r.styleOverrides && !r.variants ? U(r, o, t.components.mergeClassNameAndStyle) : o;
|
|
232
|
-
}
|
|
233
|
-
function xe({
|
|
234
|
-
props: e,
|
|
235
|
-
name: t
|
|
236
|
-
}) {
|
|
237
|
-
const n = N.useContext(ge);
|
|
238
|
-
return we({
|
|
239
|
-
props: e,
|
|
240
|
-
name: t,
|
|
241
|
-
theme: {
|
|
242
|
-
components: n
|
|
243
|
-
}
|
|
244
|
-
});
|
|
245
|
-
}
|
|
246
|
-
const K = {
|
|
247
|
-
theme: void 0
|
|
248
|
-
};
|
|
249
|
-
function be(e) {
|
|
250
|
-
let t, n;
|
|
251
|
-
return function(r) {
|
|
252
|
-
let c = t;
|
|
253
|
-
return (c === void 0 || r.theme !== n) && (K.theme = r.theme, c = Q(e(K)), t = c, n = r.theme), c;
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
function Te(e) {
|
|
257
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
258
|
-
}
|
|
259
|
-
const Oe = (e) => Te(e) && e !== "classes", Re = pe({
|
|
260
|
-
themeId: ce,
|
|
261
|
-
defaultTheme: ie,
|
|
262
|
-
rootShouldForwardProp: Oe
|
|
263
|
-
}), Ee = be;
|
|
264
|
-
process.env.NODE_ENV !== "production" && (i.node, i.object.isRequired);
|
|
265
|
-
function Pe(e) {
|
|
266
|
-
return xe(e);
|
|
267
|
-
}
|
|
268
|
-
const Ne = (e) => {
|
|
269
|
-
const {
|
|
270
|
-
color: t,
|
|
271
|
-
fontSize: n,
|
|
272
|
-
classes: o
|
|
273
|
-
} = e, r = {
|
|
274
|
-
root: ["root", t !== "inherit" && `color${j(t)}`, `fontSize${j(n)}`]
|
|
275
|
-
};
|
|
276
|
-
return le(r, se, o);
|
|
277
|
-
}, Ae = Re("svg", {
|
|
278
|
-
name: "MuiSvgIcon",
|
|
279
|
-
slot: "Root",
|
|
280
|
-
overridesResolver: (e, t) => {
|
|
281
|
-
const {
|
|
282
|
-
ownerState: n
|
|
283
|
-
} = e;
|
|
284
|
-
return [t.root, n.color !== "inherit" && t[`color${j(n.color)}`], t[`fontSize${j(n.fontSize)}`]];
|
|
285
|
-
}
|
|
286
|
-
})(Ee(({
|
|
287
|
-
theme: e
|
|
288
|
-
}) => {
|
|
289
|
-
var t, n, o, r, c, l, s, f, a, u, h, w, x, g;
|
|
290
|
-
return {
|
|
291
|
-
userSelect: "none",
|
|
292
|
-
width: "1em",
|
|
293
|
-
height: "1em",
|
|
294
|
-
display: "inline-block",
|
|
295
|
-
flexShrink: 0,
|
|
296
|
-
transition: (r = (t = e.transitions) == null ? void 0 : t.create) == null ? void 0 : r.call(t, "fill", {
|
|
297
|
-
duration: (o = (n = (e.vars ?? e).transitions) == null ? void 0 : n.duration) == null ? void 0 : o.shorter
|
|
298
|
-
}),
|
|
299
|
-
variants: [
|
|
300
|
-
{
|
|
301
|
-
props: (d) => !d.hasSvgAsChild,
|
|
302
|
-
style: {
|
|
303
|
-
// the <svg> will define the property that has `currentColor`
|
|
304
|
-
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
305
|
-
fill: "currentColor"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
props: {
|
|
310
|
-
fontSize: "inherit"
|
|
311
|
-
},
|
|
312
|
-
style: {
|
|
313
|
-
fontSize: "inherit"
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
props: {
|
|
318
|
-
fontSize: "small"
|
|
319
|
-
},
|
|
320
|
-
style: {
|
|
321
|
-
fontSize: ((l = (c = e.typography) == null ? void 0 : c.pxToRem) == null ? void 0 : l.call(c, 20)) || "1.25rem"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
props: {
|
|
326
|
-
fontSize: "medium"
|
|
327
|
-
},
|
|
328
|
-
style: {
|
|
329
|
-
fontSize: ((f = (s = e.typography) == null ? void 0 : s.pxToRem) == null ? void 0 : f.call(s, 24)) || "1.5rem"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
props: {
|
|
334
|
-
fontSize: "large"
|
|
335
|
-
},
|
|
336
|
-
style: {
|
|
337
|
-
fontSize: ((u = (a = e.typography) == null ? void 0 : a.pxToRem) == null ? void 0 : u.call(a, 35)) || "2.1875rem"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
// TODO v5 deprecate color prop, v6 remove for sx
|
|
341
|
-
...Object.entries((e.vars ?? e).palette).filter(([, d]) => d && d.main).map(([d]) => {
|
|
342
|
-
var b, P;
|
|
343
|
-
return {
|
|
344
|
-
props: {
|
|
345
|
-
color: d
|
|
346
|
-
},
|
|
347
|
-
style: {
|
|
348
|
-
color: (P = (b = (e.vars ?? e).palette) == null ? void 0 : b[d]) == null ? void 0 : P.main
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
}),
|
|
352
|
-
{
|
|
353
|
-
props: {
|
|
354
|
-
color: "action"
|
|
355
|
-
},
|
|
356
|
-
style: {
|
|
357
|
-
color: (w = (h = (e.vars ?? e).palette) == null ? void 0 : h.action) == null ? void 0 : w.active
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
props: {
|
|
362
|
-
color: "disabled"
|
|
363
|
-
},
|
|
364
|
-
style: {
|
|
365
|
-
color: (g = (x = (e.vars ?? e).palette) == null ? void 0 : x.action) == null ? void 0 : g.disabled
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
props: {
|
|
370
|
-
color: "inherit"
|
|
371
|
-
},
|
|
372
|
-
style: {
|
|
373
|
-
color: void 0
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
]
|
|
377
|
-
};
|
|
378
|
-
})), z = /* @__PURE__ */ N.forwardRef(function(t, n) {
|
|
379
|
-
const o = Pe({
|
|
380
|
-
props: t,
|
|
381
|
-
name: "MuiSvgIcon"
|
|
382
|
-
}), {
|
|
383
|
-
children: r,
|
|
384
|
-
className: c,
|
|
385
|
-
color: l = "inherit",
|
|
386
|
-
component: s = "svg",
|
|
387
|
-
fontSize: f = "medium",
|
|
388
|
-
htmlColor: a,
|
|
389
|
-
inheritViewBox: u = !1,
|
|
390
|
-
titleAccess: h,
|
|
391
|
-
viewBox: w = "0 0 24 24",
|
|
392
|
-
...x
|
|
393
|
-
} = o, g = /* @__PURE__ */ N.isValidElement(r) && r.type === "svg", d = {
|
|
394
|
-
...o,
|
|
395
|
-
color: l,
|
|
396
|
-
component: s,
|
|
397
|
-
fontSize: f,
|
|
398
|
-
instanceFontSize: t.fontSize,
|
|
399
|
-
inheritViewBox: u,
|
|
400
|
-
viewBox: w,
|
|
401
|
-
hasSvgAsChild: g
|
|
402
|
-
}, b = {};
|
|
403
|
-
u || (b.viewBox = w);
|
|
404
|
-
const P = Ne(d);
|
|
405
|
-
return /* @__PURE__ */ k.jsxs(Ae, {
|
|
406
|
-
as: s,
|
|
407
|
-
className: ae(P.root, c),
|
|
408
|
-
focusable: "false",
|
|
409
|
-
color: a,
|
|
410
|
-
"aria-hidden": h ? void 0 : !0,
|
|
411
|
-
role: h ? "img" : void 0,
|
|
412
|
-
ref: n,
|
|
413
|
-
...b,
|
|
414
|
-
...x,
|
|
415
|
-
...g && r.props,
|
|
416
|
-
ownerState: d,
|
|
417
|
-
children: [g ? r.props.children : r, h ? /* @__PURE__ */ k.jsx("title", {
|
|
418
|
-
children: h
|
|
419
|
-
}) : null]
|
|
420
|
-
});
|
|
421
|
-
});
|
|
422
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
423
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
424
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
425
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
426
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
427
|
-
/**
|
|
428
|
-
* Node passed into the SVG element.
|
|
429
|
-
*/
|
|
430
|
-
children: i.node,
|
|
431
|
-
/**
|
|
432
|
-
* Override or extend the styles applied to the component.
|
|
433
|
-
*/
|
|
434
|
-
classes: i.object,
|
|
435
|
-
/**
|
|
436
|
-
* @ignore
|
|
437
|
-
*/
|
|
438
|
-
className: i.string,
|
|
439
|
-
/**
|
|
440
|
-
* The color of the component.
|
|
441
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
442
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
443
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
444
|
-
* @default 'inherit'
|
|
445
|
-
*/
|
|
446
|
-
color: i.oneOfType([i.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), i.string]),
|
|
447
|
-
/**
|
|
448
|
-
* The component used for the root node.
|
|
449
|
-
* Either a string to use a HTML element or a component.
|
|
450
|
-
*/
|
|
451
|
-
component: i.elementType,
|
|
452
|
-
/**
|
|
453
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
454
|
-
* @default 'medium'
|
|
455
|
-
*/
|
|
456
|
-
fontSize: i.oneOfType([i.oneOf(["inherit", "large", "medium", "small"]), i.string]),
|
|
457
|
-
/**
|
|
458
|
-
* Applies a color attribute to the SVG element.
|
|
459
|
-
*/
|
|
460
|
-
htmlColor: i.string,
|
|
461
|
-
/**
|
|
462
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
463
|
-
* prop will be ignored.
|
|
464
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
465
|
-
* `component`'s viewBox to the root node.
|
|
466
|
-
* @default false
|
|
467
|
-
*/
|
|
468
|
-
inheritViewBox: i.bool,
|
|
469
|
-
/**
|
|
470
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
471
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
472
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
|
473
|
-
*/
|
|
474
|
-
shapeRendering: i.string,
|
|
475
|
-
/**
|
|
476
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
477
|
-
*/
|
|
478
|
-
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
|
|
479
|
-
/**
|
|
480
|
-
* Provides a human-readable title for the element that contains it.
|
|
481
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
482
|
-
*/
|
|
483
|
-
titleAccess: i.string,
|
|
484
|
-
/**
|
|
485
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
486
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
487
|
-
* and you pass viewBox="0 0 50 20",
|
|
488
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
489
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
|
490
|
-
* @default '0 0 24 24'
|
|
491
|
-
*/
|
|
492
|
-
viewBox: i.string
|
|
493
|
-
});
|
|
494
|
-
z.muiName = "SvgIcon";
|
|
495
|
-
function Fe(e, t) {
|
|
496
|
-
function n(o, r) {
|
|
497
|
-
return /* @__PURE__ */ k.jsx(z, {
|
|
498
|
-
"data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0,
|
|
499
|
-
ref: r,
|
|
500
|
-
...o,
|
|
501
|
-
children: e
|
|
502
|
-
});
|
|
503
|
-
}
|
|
504
|
-
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = z.muiName, /* @__PURE__ */ N.memo(/* @__PURE__ */ N.forwardRef(n));
|
|
505
|
-
}
|
|
506
|
-
export {
|
|
507
|
-
le as a,
|
|
508
|
-
Fe as b,
|
|
509
|
-
ae as c,
|
|
510
|
-
pe as d,
|
|
511
|
-
Te as e,
|
|
512
|
-
D as f,
|
|
513
|
-
Ee as m,
|
|
514
|
-
Oe as r,
|
|
515
|
-
Re as s,
|
|
516
|
-
Pe as u
|
|
517
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { a as r } from "./createTheme-DbdaZ0Ku.js";
|
|
2
|
-
function f(t) {
|
|
3
|
-
var n, s, e = "";
|
|
4
|
-
if (typeof t == "string" || typeof t == "number") e += t;
|
|
5
|
-
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
6
|
-
var i = t.length;
|
|
7
|
-
for (n = 0; n < i; n++) t[n] && (s = f(t[n])) && (e && (e += " "), e += s);
|
|
8
|
-
} else for (s in t) t[s] && (e && (e += " "), e += s);
|
|
9
|
-
return e;
|
|
10
|
-
}
|
|
11
|
-
function m() {
|
|
12
|
-
for (var t, n, s = 0, e = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (n = f(t)) && (e && (e += " "), e += n);
|
|
13
|
-
return e;
|
|
14
|
-
}
|
|
15
|
-
function h(t, n, s = !1) {
|
|
16
|
-
const e = {
|
|
17
|
-
...n
|
|
18
|
-
};
|
|
19
|
-
for (const i in t)
|
|
20
|
-
if (Object.prototype.hasOwnProperty.call(t, i)) {
|
|
21
|
-
const c = i;
|
|
22
|
-
if (c === "components" || c === "slots")
|
|
23
|
-
e[c] = {
|
|
24
|
-
...t[c],
|
|
25
|
-
...e[c]
|
|
26
|
-
};
|
|
27
|
-
else if (c === "componentsProps" || c === "slotProps") {
|
|
28
|
-
const o = t[c], l = n[c];
|
|
29
|
-
if (!l)
|
|
30
|
-
e[c] = o || {};
|
|
31
|
-
else if (!o)
|
|
32
|
-
e[c] = l;
|
|
33
|
-
else {
|
|
34
|
-
e[c] = {
|
|
35
|
-
...l
|
|
36
|
-
};
|
|
37
|
-
for (const y in o)
|
|
38
|
-
if (Object.prototype.hasOwnProperty.call(o, y)) {
|
|
39
|
-
const a = y;
|
|
40
|
-
e[c][a] = h(o[a], l[a], s);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
} else c === "className" && s && n.className ? e.className = m(t == null ? void 0 : t.className, n == null ? void 0 : n.className) : c === "style" && s && n.style ? e.style = {
|
|
44
|
-
...t == null ? void 0 : t.style,
|
|
45
|
-
...n == null ? void 0 : n.style
|
|
46
|
-
} : e[c] === void 0 && (e[c] = t[c]);
|
|
47
|
-
}
|
|
48
|
-
return e;
|
|
49
|
-
}
|
|
50
|
-
const b = r();
|
|
51
|
-
export {
|
|
52
|
-
m as c,
|
|
53
|
-
b as d,
|
|
54
|
-
h as r
|
|
55
|
-
};
|