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