@solostylist/ui-kit 1.0.68 → 1.0.70

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