@solostylist/ui-kit 1.0.174 → 1.0.176
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/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
- package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
- package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
- package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
- package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
- package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
- package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
- package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
- package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
- package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
- package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
- package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
- package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
- package/dist/Paper-DnctZB5U.js +689 -0
- package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
- package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
- package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/assets/s-overlay-scrollbar.css +1 -9
- package/dist/createSvgIcon-BKymXuBG.js +242 -0
- package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
- package/dist/defaultTheme-LSr-S9un.js +5 -0
- package/dist/entries/carousel.d.ts +10 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/chat.d.ts +9 -0
- package/dist/entries/chat.js +4 -0
- package/dist/entries/code.d.ts +9 -0
- package/dist/entries/code.js +4 -0
- package/dist/entries/core.d.ts +100 -0
- package/dist/entries/core.js +122 -0
- package/dist/entries/dates.d.ts +16 -0
- package/dist/entries/dates.js +12 -0
- package/dist/entries/dropzone.d.ts +9 -0
- package/dist/entries/dropzone.js +4 -0
- package/dist/entries/editor.d.ts +12 -0
- package/dist/entries/editor.js +4 -0
- package/dist/entries/gallery.d.ts +17 -0
- package/dist/entries/gallery.js +13 -0
- package/dist/entries/i18n.d.ts +13 -0
- package/dist/entries/i18n.js +8 -0
- package/dist/entries/motion.d.ts +29 -0
- package/dist/entries/motion.js +28 -0
- package/dist/entries/scrollbar.d.ts +9 -0
- package/dist/entries/scrollbar.js +4 -0
- package/dist/entries/stripe.d.ts +10 -0
- package/dist/entries/stripe.js +10 -0
- package/dist/extendSxProp-DitxZ8We.js +36 -0
- package/dist/hooks/index.js +8 -9
- package/dist/hooks/use-is-passed-position.js +10 -10
- package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
- package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
- package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
- package/dist/main.d.ts +29 -145
- package/dist/main.js +187 -187
- package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
- package/dist/resolveProps-BDH0VJjn.js +39 -0
- package/dist/s-accordion/package.json +5 -5
- package/dist/s-accordion/s-accordion.js +374 -358
- package/dist/s-action-overlay/package.json +5 -5
- package/dist/s-action-overlay/s-action-overlay.js +64 -79
- package/dist/s-ai-tool-bar/package.json +5 -5
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
- package/dist/s-autocomplete/s-autocomplete.js +19 -25
- package/dist/s-avatar/package.json +5 -5
- package/dist/s-avatar/s-avatar.js +14 -25
- package/dist/s-blur-text/package.json +5 -5
- package/dist/s-blur-text/s-blur-text.js +55 -59
- package/dist/s-breadcrumbs/package.json +5 -5
- package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
- package/dist/s-button/package.json +5 -5
- package/dist/s-button/s-button.js +7 -15
- package/dist/s-button-link/s-button-link.js +28 -36
- package/dist/s-carousel/package.json +4 -4
- package/dist/s-carousel/s-carousel.js +267 -280
- package/dist/s-category-card/package.json +4 -4
- package/dist/s-category-card/s-category-card.js +60 -77
- package/dist/s-chat-input/package.json +5 -5
- package/dist/s-chat-input/s-chat-input.d.ts +4 -0
- package/dist/s-chat-input/s-chat-input.js +103 -109
- package/dist/s-chat-message/s-chat-message.js +111 -120
- package/dist/s-checkbox/s-checkbox.js +12 -20
- package/dist/s-chip/package.json +5 -5
- package/dist/s-chip/s-chip.js +7 -15
- package/dist/s-chips/s-chips.js +47 -56
- package/dist/s-code-block/package.json +5 -5
- package/dist/s-code-block/s-code-block.js +35 -43
- package/dist/s-comment-message/package.json +5 -5
- package/dist/s-comment-message/s-comment-message.js +90 -94
- package/dist/s-copyable-text/s-copyable-text.js +24 -32
- package/dist/s-countdown/s-count-box.js +42 -50
- package/dist/s-countdown/s-count-down.js +79 -107
- package/dist/s-data-table/s-data-table.js +374 -384
- package/dist/s-date-picker/s-date-picker.js +164 -164
- package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
- package/dist/s-dialog/s-dialog.js +24 -32
- package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
- package/dist/s-dialog-message/s-dialog-message.js +40 -44
- package/dist/s-empty/s-empty.js +6 -14
- package/dist/s-error/s-error.js +9 -17
- package/dist/s-error-layout/s-error-layout.js +38 -47
- package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
- package/dist/s-file-icon/s-file-icon.js +9 -13
- package/dist/s-flex-box/s-flex-box.js +6 -14
- package/dist/s-form/s-form.js +11 -19
- package/dist/s-gallery/index.js +3 -33
- package/dist/s-gallery/s-gallery.js +91 -114
- package/dist/s-glow-button/s-glow-button.js +22 -26
- package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
- package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
- package/dist/s-icon-button/s-icon-button.js +6 -14
- package/dist/s-image-comparison/package.json +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +48 -53
- package/dist/s-image-modal/package.json +5 -5
- package/dist/s-image-modal/s-image-modal.js +137 -150
- package/dist/s-item-not-found/s-item-not-found.js +13 -22
- package/dist/s-label/s-label.js +12 -20
- package/dist/s-language-switcher/s-language-switcher.js +119 -141
- package/dist/s-lazy-image/index.js +2 -10
- package/dist/s-lazy-image/s-lazy-image.js +33 -37
- package/dist/s-localization-provider/s-localization-provider.js +368 -380
- package/dist/s-moving-border/s-moving-border.js +52 -67
- package/dist/s-multi-select/s-multi-select.js +43 -51
- package/dist/s-no-ssr/s-no-ssr.js +13 -21
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
- package/dist/s-pagination/s-pagination.js +13 -17
- package/dist/s-pixel-reveal/package.json +5 -5
- package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
- package/dist/s-radial-pulse-animate/package.json +5 -5
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
- package/dist/s-rating/package.json +5 -5
- package/dist/s-rating/s-rating.js +7 -15
- package/dist/s-review/package.json +5 -5
- package/dist/s-review/s-review.js +101 -106
- package/dist/s-scroll-reveal/package.json +5 -5
- package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
- package/dist/s-scroll-to-top/package.json +5 -5
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
- package/dist/s-scroll-velocity/package.json +5 -5
- package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
- package/dist/s-select/s-select.js +67 -75
- package/dist/s-select-list/s-select-list.js +28 -32
- package/dist/s-skeleton/s-skeleton.js +20 -28
- package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
- package/dist/s-stripe/s-stripe-cvc.js +8 -12
- package/dist/s-stripe/s-stripe-expiry.js +8 -12
- package/dist/s-stripe/s-stripe-number.js +8 -12
- package/dist/s-stripe/s-stripe.d.ts +2 -2
- package/dist/s-stripe/s-stripe.js +17 -26
- package/dist/s-stripe/stripe-input.js +25 -29
- package/dist/s-tabs/package.json +3 -3
- package/dist/s-tabs/s-tab-panel.js +17 -25
- package/dist/s-tabs/s-tab.js +5 -9
- package/dist/s-tabs/s-tabs.js +19 -27
- package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
- package/dist/s-text-editor/s-text-editor.js +33 -45
- package/dist/s-text-field/s-text-field.js +31 -40
- package/dist/s-text-shimmer/package.json +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
- package/dist/s-text-truncation/s-text-truncation.js +24 -32
- package/dist/s-theme-demo/package.json +5 -5
- package/dist/s-theme-demo/s-theme-demo.js +219 -234
- package/dist/s-theme-provider/s-theme-provider.js +37 -45
- package/dist/s-theme-switch/package.json +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +19 -23
- package/dist/s-tip/s-tip.js +14 -22
- package/dist/s-two-pane-layout/index.js +2 -10
- package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
- package/dist/s-typewriter-text/package.json +5 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
- package/dist/s-zoom-image/index.js +2 -10
- package/dist/s-zoom-image/package.json +5 -5
- package/dist/s-zoom-image/s-zoom-image.js +53 -62
- package/dist/styled-B0KflPi-.js +203 -0
- package/dist/theme/components/alert.d.ts +484 -264
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/button.d.ts +726 -396
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/components/components.js +14 -12
- package/dist/theme/components/icon-button.d.ts +6191 -0
- package/dist/theme/components/icon-button.js +90 -0
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.d.ts +8 -246
- package/dist/theme/theme-primitives.js +76 -87
- package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
- package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
- package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
- package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
- package/dist/utils/dayjs.js +7 -7
- package/dist/utils/logger.js +29 -32
- package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
- package/package.json +240 -81
- package/README.md +0 -13
- package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
- package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
- package/dist/Paper-hkbPWyBT.js +0 -553
- package/dist/createSvgIcon-DxwgGAVe.js +0 -247
- package/dist/defaultTheme-fEi1x1Gb.js +0 -5
- package/dist/extendSxProp-BKWjdW12.js +0 -37
- package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
- package/dist/resolveProps-61uUKnlS.js +0 -52
- package/dist/styled-B0Z4EDy9.js +0 -206
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import * as h from "react";
|
|
2
|
-
import { j as w } from "./jsx-runtime-OVHDjVDe.js";
|
|
3
|
-
import { c as x, P as o } from "./createTheme-3Wd3hHrj.js";
|
|
4
|
-
import { u as N, c as b, a as O, m as R } from "./DefaultPropsProvider-CaCsvQaq.js";
|
|
5
|
-
import { g as T } from "./svgIconClasses-CBCi8U9g.js";
|
|
6
|
-
import { s as I } from "./styled-B0Z4EDy9.js";
|
|
7
|
-
const j = (e) => {
|
|
8
|
-
const {
|
|
9
|
-
color: r,
|
|
10
|
-
fontSize: n,
|
|
11
|
-
classes: i
|
|
12
|
-
} = e, s = {
|
|
13
|
-
root: ["root", r !== "inherit" && `color${x(r)}`, `fontSize${x(n)}`]
|
|
14
|
-
};
|
|
15
|
-
return O(s, T, i);
|
|
16
|
-
}, C = I("svg", {
|
|
17
|
-
name: "MuiSvgIcon",
|
|
18
|
-
slot: "Root",
|
|
19
|
-
overridesResolver: (e, r) => {
|
|
20
|
-
const {
|
|
21
|
-
ownerState: n
|
|
22
|
-
} = e;
|
|
23
|
-
return [r.root, n.color !== "inherit" && r[`color${x(n.color)}`], r[`fontSize${x(n.fontSize)}`]];
|
|
24
|
-
}
|
|
25
|
-
})(R(({
|
|
26
|
-
theme: e
|
|
27
|
-
}) => {
|
|
28
|
-
var r, n, i, s, l, g, a, S, p, m, c, d, v, f;
|
|
29
|
-
return {
|
|
30
|
-
userSelect: "none",
|
|
31
|
-
width: "1em",
|
|
32
|
-
height: "1em",
|
|
33
|
-
display: "inline-block",
|
|
34
|
-
flexShrink: 0,
|
|
35
|
-
transition: (s = (r = e.transitions) == null ? void 0 : r.create) == null ? void 0 : s.call(r, "fill", {
|
|
36
|
-
duration: (i = (n = (e.vars ?? e).transitions) == null ? void 0 : n.duration) == null ? void 0 : i.shorter
|
|
37
|
-
}),
|
|
38
|
-
variants: [
|
|
39
|
-
{
|
|
40
|
-
props: (t) => !t.hasSvgAsChild,
|
|
41
|
-
style: {
|
|
42
|
-
// the <svg> will define the property that has `currentColor`
|
|
43
|
-
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
44
|
-
fill: "currentColor"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
props: {
|
|
49
|
-
fontSize: "inherit"
|
|
50
|
-
},
|
|
51
|
-
style: {
|
|
52
|
-
fontSize: "inherit"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
props: {
|
|
57
|
-
fontSize: "small"
|
|
58
|
-
},
|
|
59
|
-
style: {
|
|
60
|
-
fontSize: ((g = (l = e.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : g.call(l, 20)) || "1.25rem"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
props: {
|
|
65
|
-
fontSize: "medium"
|
|
66
|
-
},
|
|
67
|
-
style: {
|
|
68
|
-
fontSize: ((S = (a = e.typography) == null ? void 0 : a.pxToRem) == null ? void 0 : S.call(a, 24)) || "1.5rem"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
props: {
|
|
73
|
-
fontSize: "large"
|
|
74
|
-
},
|
|
75
|
-
style: {
|
|
76
|
-
fontSize: ((m = (p = e.typography) == null ? void 0 : p.pxToRem) == null ? void 0 : m.call(p, 35)) || "2.1875rem"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
// TODO v5 deprecate color prop, v6 remove for sx
|
|
80
|
-
...Object.entries((e.vars ?? e).palette).filter(([, t]) => t && t.main).map(([t]) => {
|
|
81
|
-
var u, y;
|
|
82
|
-
return {
|
|
83
|
-
props: {
|
|
84
|
-
color: t
|
|
85
|
-
},
|
|
86
|
-
style: {
|
|
87
|
-
color: (y = (u = (e.vars ?? e).palette) == null ? void 0 : u[t]) == null ? void 0 : y.main
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
}),
|
|
91
|
-
{
|
|
92
|
-
props: {
|
|
93
|
-
color: "action"
|
|
94
|
-
},
|
|
95
|
-
style: {
|
|
96
|
-
color: (d = (c = (e.vars ?? e).palette) == null ? void 0 : c.action) == null ? void 0 : d.active
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
props: {
|
|
101
|
-
color: "disabled"
|
|
102
|
-
},
|
|
103
|
-
style: {
|
|
104
|
-
color: (f = (v = (e.vars ?? e).palette) == null ? void 0 : v.action) == null ? void 0 : f.disabled
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
props: {
|
|
109
|
-
color: "inherit"
|
|
110
|
-
},
|
|
111
|
-
style: {
|
|
112
|
-
color: void 0
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
};
|
|
117
|
-
})), z = /* @__PURE__ */ h.forwardRef(function(r, n) {
|
|
118
|
-
const i = N({
|
|
119
|
-
props: r,
|
|
120
|
-
name: "MuiSvgIcon"
|
|
121
|
-
}), {
|
|
122
|
-
children: s,
|
|
123
|
-
className: l,
|
|
124
|
-
color: g = "inherit",
|
|
125
|
-
component: a = "svg",
|
|
126
|
-
fontSize: S = "medium",
|
|
127
|
-
htmlColor: p,
|
|
128
|
-
inheritViewBox: m = !1,
|
|
129
|
-
titleAccess: c,
|
|
130
|
-
viewBox: d = "0 0 24 24",
|
|
131
|
-
...v
|
|
132
|
-
} = i, f = /* @__PURE__ */ h.isValidElement(s) && s.type === "svg", t = {
|
|
133
|
-
...i,
|
|
134
|
-
color: g,
|
|
135
|
-
component: a,
|
|
136
|
-
fontSize: S,
|
|
137
|
-
instanceFontSize: r.fontSize,
|
|
138
|
-
inheritViewBox: m,
|
|
139
|
-
viewBox: d,
|
|
140
|
-
hasSvgAsChild: f
|
|
141
|
-
}, u = {};
|
|
142
|
-
m || (u.viewBox = d);
|
|
143
|
-
const y = j(t);
|
|
144
|
-
return /* @__PURE__ */ w.jsxs(C, {
|
|
145
|
-
as: a,
|
|
146
|
-
className: b(y.root, l),
|
|
147
|
-
focusable: "false",
|
|
148
|
-
color: p,
|
|
149
|
-
"aria-hidden": c ? void 0 : !0,
|
|
150
|
-
role: c ? "img" : void 0,
|
|
151
|
-
ref: n,
|
|
152
|
-
...u,
|
|
153
|
-
...v,
|
|
154
|
-
...f && s.props,
|
|
155
|
-
ownerState: t,
|
|
156
|
-
children: [f ? s.props.children : s, c ? /* @__PURE__ */ w.jsx("title", {
|
|
157
|
-
children: c
|
|
158
|
-
}) : null]
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
162
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
163
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
164
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
165
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
166
|
-
/**
|
|
167
|
-
* Node passed into the SVG element.
|
|
168
|
-
*/
|
|
169
|
-
children: o.node,
|
|
170
|
-
/**
|
|
171
|
-
* Override or extend the styles applied to the component.
|
|
172
|
-
*/
|
|
173
|
-
classes: o.object,
|
|
174
|
-
/**
|
|
175
|
-
* @ignore
|
|
176
|
-
*/
|
|
177
|
-
className: o.string,
|
|
178
|
-
/**
|
|
179
|
-
* The color of the component.
|
|
180
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
181
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
182
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
183
|
-
* @default 'inherit'
|
|
184
|
-
*/
|
|
185
|
-
color: o.oneOfType([o.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
|
|
186
|
-
/**
|
|
187
|
-
* The component used for the root node.
|
|
188
|
-
* Either a string to use a HTML element or a component.
|
|
189
|
-
*/
|
|
190
|
-
component: o.elementType,
|
|
191
|
-
/**
|
|
192
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
193
|
-
* @default 'medium'
|
|
194
|
-
*/
|
|
195
|
-
fontSize: o.oneOfType([o.oneOf(["inherit", "large", "medium", "small"]), o.string]),
|
|
196
|
-
/**
|
|
197
|
-
* Applies a color attribute to the SVG element.
|
|
198
|
-
*/
|
|
199
|
-
htmlColor: o.string,
|
|
200
|
-
/**
|
|
201
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
202
|
-
* prop will be ignored.
|
|
203
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
204
|
-
* `component`'s viewBox to the root node.
|
|
205
|
-
* @default false
|
|
206
|
-
*/
|
|
207
|
-
inheritViewBox: o.bool,
|
|
208
|
-
/**
|
|
209
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
210
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
211
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
|
212
|
-
*/
|
|
213
|
-
shapeRendering: o.string,
|
|
214
|
-
/**
|
|
215
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
216
|
-
*/
|
|
217
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
218
|
-
/**
|
|
219
|
-
* Provides a human-readable title for the element that contains it.
|
|
220
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
221
|
-
*/
|
|
222
|
-
titleAccess: o.string,
|
|
223
|
-
/**
|
|
224
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
225
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
226
|
-
* and you pass viewBox="0 0 50 20",
|
|
227
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
228
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
|
229
|
-
* @default '0 0 24 24'
|
|
230
|
-
*/
|
|
231
|
-
viewBox: o.string
|
|
232
|
-
});
|
|
233
|
-
z.muiName = "SvgIcon";
|
|
234
|
-
function D(e, r) {
|
|
235
|
-
function n(i, s) {
|
|
236
|
-
return /* @__PURE__ */ w.jsx(z, {
|
|
237
|
-
"data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
|
|
238
|
-
ref: s,
|
|
239
|
-
...i,
|
|
240
|
-
children: e
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
return process.env.NODE_ENV !== "production" && (n.displayName = `${r}Icon`), n.muiName = z.muiName, /* @__PURE__ */ h.memo(/* @__PURE__ */ h.forwardRef(n));
|
|
244
|
-
}
|
|
245
|
-
export {
|
|
246
|
-
D as c
|
|
247
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { i as c, d as l } from "./createTheme-3Wd3hHrj.js";
|
|
2
|
-
const a = (t) => {
|
|
3
|
-
var s;
|
|
4
|
-
const e = {
|
|
5
|
-
systemProps: {},
|
|
6
|
-
otherProps: {}
|
|
7
|
-
}, i = ((s = t == null ? void 0 : t.theme) == null ? void 0 : s.unstable_sxConfig) ?? l;
|
|
8
|
-
return Object.keys(t).forEach((n) => {
|
|
9
|
-
i[n] ? e.systemProps[n] = t[n] : e.otherProps[n] = t[n];
|
|
10
|
-
}), e;
|
|
11
|
-
};
|
|
12
|
-
function x(t) {
|
|
13
|
-
const {
|
|
14
|
-
sx: e,
|
|
15
|
-
...i
|
|
16
|
-
} = t, {
|
|
17
|
-
systemProps: s,
|
|
18
|
-
otherProps: n
|
|
19
|
-
} = a(i);
|
|
20
|
-
let r;
|
|
21
|
-
return Array.isArray(e) ? r = [s, ...e] : typeof e == "function" ? r = (...f) => {
|
|
22
|
-
const o = e(...f);
|
|
23
|
-
return c(o) ? {
|
|
24
|
-
...s,
|
|
25
|
-
...o
|
|
26
|
-
} : s;
|
|
27
|
-
} : r = {
|
|
28
|
-
...s,
|
|
29
|
-
...e
|
|
30
|
-
}, {
|
|
31
|
-
...n,
|
|
32
|
-
sx: r
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export {
|
|
36
|
-
x as e
|
|
37
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { c as f } from "./DefaultPropsProvider-CaCsvQaq.js";
|
|
2
|
-
function H(c, m) {
|
|
3
|
-
const N = c.charCodeAt(2);
|
|
4
|
-
return c[0] === "o" && c[1] === "n" && N >= 65 && N <= 90 && typeof m == "function";
|
|
5
|
-
}
|
|
6
|
-
function j(c, m) {
|
|
7
|
-
if (!c)
|
|
8
|
-
return m;
|
|
9
|
-
function N(h, i) {
|
|
10
|
-
const s = {};
|
|
11
|
-
return Object.keys(i).forEach((A) => {
|
|
12
|
-
H(A, i[A]) && typeof h[A] == "function" && (s[A] = (...n) => {
|
|
13
|
-
h[A](...n), i[A](...n);
|
|
14
|
-
});
|
|
15
|
-
}), s;
|
|
16
|
-
}
|
|
17
|
-
if (typeof c == "function" || typeof m == "function")
|
|
18
|
-
return (h) => {
|
|
19
|
-
const i = typeof m == "function" ? m(h) : m, s = typeof c == "function" ? c({
|
|
20
|
-
...h,
|
|
21
|
-
...i
|
|
22
|
-
}) : c, A = f(h == null ? void 0 : h.className, i == null ? void 0 : i.className, s == null ? void 0 : s.className), n = N(s, i);
|
|
23
|
-
return {
|
|
24
|
-
...i,
|
|
25
|
-
...s,
|
|
26
|
-
...n,
|
|
27
|
-
...!!A && {
|
|
28
|
-
className: A
|
|
29
|
-
},
|
|
30
|
-
...(i == null ? void 0 : i.style) && (s == null ? void 0 : s.style) && {
|
|
31
|
-
style: {
|
|
32
|
-
...i.style,
|
|
33
|
-
...s.style
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
...(i == null ? void 0 : i.sx) && (s == null ? void 0 : s.sx) && {
|
|
37
|
-
sx: [...Array.isArray(i.sx) ? i.sx : [i.sx], ...Array.isArray(s.sx) ? s.sx : [s.sx]]
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
const y = m, E = N(c, y), C = f(y == null ? void 0 : y.className, c == null ? void 0 : c.className);
|
|
42
|
-
return {
|
|
43
|
-
...m,
|
|
44
|
-
...c,
|
|
45
|
-
...E,
|
|
46
|
-
...!!C && {
|
|
47
|
-
className: C
|
|
48
|
-
},
|
|
49
|
-
...(y == null ? void 0 : y.style) && (c == null ? void 0 : c.style) && {
|
|
50
|
-
style: {
|
|
51
|
-
...y.style,
|
|
52
|
-
...c.style
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
...(y == null ? void 0 : y.sx) && (c == null ? void 0 : c.sx) && {
|
|
56
|
-
sx: [...Array.isArray(y.sx) ? y.sx : [y.sx], ...Array.isArray(c.sx) ? c.sx : [c.sx]]
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
export {
|
|
61
|
-
j as m
|
|
62
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
function r(t) {
|
|
2
|
-
var e, s, n = "";
|
|
3
|
-
if (typeof t == "string" || typeof t == "number") n += t;
|
|
4
|
-
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
5
|
-
var i = t.length;
|
|
6
|
-
for (e = 0; e < i; e++) t[e] && (s = r(t[e])) && (n && (n += " "), n += s);
|
|
7
|
-
} else for (s in t) t[s] && (n && (n += " "), n += s);
|
|
8
|
-
return n;
|
|
9
|
-
}
|
|
10
|
-
function a() {
|
|
11
|
-
for (var t, e, s = 0, n = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (e = r(t)) && (n && (n += " "), n += e);
|
|
12
|
-
return n;
|
|
13
|
-
}
|
|
14
|
-
function m(t, e, s = !1) {
|
|
15
|
-
const n = {
|
|
16
|
-
...e
|
|
17
|
-
};
|
|
18
|
-
for (const i in t)
|
|
19
|
-
if (Object.prototype.hasOwnProperty.call(t, i)) {
|
|
20
|
-
const c = i;
|
|
21
|
-
if (c === "components" || c === "slots")
|
|
22
|
-
n[c] = {
|
|
23
|
-
...t[c],
|
|
24
|
-
...n[c]
|
|
25
|
-
};
|
|
26
|
-
else if (c === "componentsProps" || c === "slotProps") {
|
|
27
|
-
const o = t[c], l = e[c];
|
|
28
|
-
if (!l)
|
|
29
|
-
n[c] = o || {};
|
|
30
|
-
else if (!o)
|
|
31
|
-
n[c] = l;
|
|
32
|
-
else {
|
|
33
|
-
n[c] = {
|
|
34
|
-
...l
|
|
35
|
-
};
|
|
36
|
-
for (const f in o)
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(o, f)) {
|
|
38
|
-
const y = f;
|
|
39
|
-
n[c][y] = m(o[y], l[y], s);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
} else c === "className" && s && e.className ? n.className = a(t == null ? void 0 : t.className, e == null ? void 0 : e.className) : c === "style" && s && e.style ? n.style = {
|
|
43
|
-
...t == null ? void 0 : t.style,
|
|
44
|
-
...e == null ? void 0 : e.style
|
|
45
|
-
} : n[c] === void 0 && (n[c] = t[c]);
|
|
46
|
-
}
|
|
47
|
-
return n;
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
a as c,
|
|
51
|
-
m as r
|
|
52
|
-
};
|
package/dist/styled-B0Z4EDy9.js
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { d as G } from "./defaultTheme-fEi1x1Gb.js";
|
|
2
|
-
import { T as J } from "./identifier-BKLqN993.js";
|
|
3
|
-
import { i as w, a as Q, s as U } from "./index-BGvzecIA.js";
|
|
4
|
-
import { j as k, b as X, s as j, i as Y, c as Z } from "./createTheme-3Wd3hHrj.js";
|
|
5
|
-
function I(e, r = "") {
|
|
6
|
-
return e.displayName || e.name || r;
|
|
7
|
-
}
|
|
8
|
-
function D(e, r, t) {
|
|
9
|
-
const n = I(r);
|
|
10
|
-
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
11
|
-
}
|
|
12
|
-
function z(e) {
|
|
13
|
-
if (e != null) {
|
|
14
|
-
if (typeof e == "string")
|
|
15
|
-
return e;
|
|
16
|
-
if (typeof e == "function")
|
|
17
|
-
return I(e, "Component");
|
|
18
|
-
if (typeof e == "object")
|
|
19
|
-
switch (e.$$typeof) {
|
|
20
|
-
case k.ForwardRef:
|
|
21
|
-
return D(e, e.render, "ForwardRef");
|
|
22
|
-
case k.Memo:
|
|
23
|
-
return D(e, e.type, "memo");
|
|
24
|
-
default:
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function ee(e) {
|
|
30
|
-
const {
|
|
31
|
-
variants: r,
|
|
32
|
-
...t
|
|
33
|
-
} = e, n = {
|
|
34
|
-
variants: r,
|
|
35
|
-
style: w(t),
|
|
36
|
-
isProcessed: !0
|
|
37
|
-
};
|
|
38
|
-
return n.style === t || r && r.forEach((o) => {
|
|
39
|
-
typeof o.style != "function" && (o.style = w(o.style));
|
|
40
|
-
}), n;
|
|
41
|
-
}
|
|
42
|
-
const te = X();
|
|
43
|
-
function b(e) {
|
|
44
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
45
|
-
}
|
|
46
|
-
function S(e, r) {
|
|
47
|
-
return r && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${r}{${String(e.styles)}}`), e;
|
|
48
|
-
}
|
|
49
|
-
function ne(e) {
|
|
50
|
-
return e ? (r, t) => t[e] : null;
|
|
51
|
-
}
|
|
52
|
-
function re(e, r, t) {
|
|
53
|
-
e.theme = ue(e.theme) ? t : e.theme[r] || e.theme;
|
|
54
|
-
}
|
|
55
|
-
function R(e, r, t) {
|
|
56
|
-
const n = typeof r == "function" ? r(e) : r;
|
|
57
|
-
if (Array.isArray(n))
|
|
58
|
-
return n.flatMap((o) => R(e, o, t));
|
|
59
|
-
if (Array.isArray(n == null ? void 0 : n.variants)) {
|
|
60
|
-
let o;
|
|
61
|
-
if (n.isProcessed)
|
|
62
|
-
o = t ? S(n.style, t) : n.style;
|
|
63
|
-
else {
|
|
64
|
-
const {
|
|
65
|
-
variants: v,
|
|
66
|
-
...y
|
|
67
|
-
} = n;
|
|
68
|
-
o = t ? S(w(y), t) : y;
|
|
69
|
-
}
|
|
70
|
-
return M(e, n.variants, [o], t);
|
|
71
|
-
}
|
|
72
|
-
return n != null && n.isProcessed ? t ? S(w(n.style), t) : n.style : t ? S(w(n), t) : n;
|
|
73
|
-
}
|
|
74
|
-
function M(e, r, t = [], n = void 0) {
|
|
75
|
-
var v;
|
|
76
|
-
let o;
|
|
77
|
-
e: for (let y = 0; y < r.length; y += 1) {
|
|
78
|
-
const s = r[y];
|
|
79
|
-
if (typeof s.props == "function") {
|
|
80
|
-
if (o ?? (o = {
|
|
81
|
-
...e,
|
|
82
|
-
...e.ownerState,
|
|
83
|
-
ownerState: e.ownerState
|
|
84
|
-
}), !s.props(o))
|
|
85
|
-
continue;
|
|
86
|
-
} else
|
|
87
|
-
for (const p in s.props)
|
|
88
|
-
if (e[p] !== s.props[p] && ((v = e.ownerState) == null ? void 0 : v[p]) !== s.props[p])
|
|
89
|
-
continue e;
|
|
90
|
-
typeof s.style == "function" ? (o ?? (o = {
|
|
91
|
-
...e,
|
|
92
|
-
...e.ownerState,
|
|
93
|
-
ownerState: e.ownerState
|
|
94
|
-
}), t.push(n ? S(w(s.style(o)), n) : s.style(o))) : t.push(n ? S(w(s.style), n) : s.style);
|
|
95
|
-
}
|
|
96
|
-
return t;
|
|
97
|
-
}
|
|
98
|
-
function se(e = {}) {
|
|
99
|
-
const {
|
|
100
|
-
themeId: r,
|
|
101
|
-
defaultTheme: t = te,
|
|
102
|
-
rootShouldForwardProp: n = b,
|
|
103
|
-
slotShouldForwardProp: o = b
|
|
104
|
-
} = e;
|
|
105
|
-
function v(s) {
|
|
106
|
-
re(s, r, t);
|
|
107
|
-
}
|
|
108
|
-
return (s, p = {}) => {
|
|
109
|
-
Q(s, (i) => i.filter((u) => u !== j));
|
|
110
|
-
const {
|
|
111
|
-
name: d,
|
|
112
|
-
slot: a,
|
|
113
|
-
skipVariantsResolver: g,
|
|
114
|
-
skipSx: W,
|
|
115
|
-
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
116
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
117
|
-
overridesResolver: _ = ne(H(a)),
|
|
118
|
-
...C
|
|
119
|
-
} = p, $ = d && d.startsWith("Mui") || a ? "components" : "custom", B = g !== void 0 ? g : (
|
|
120
|
-
// TODO v6: remove `Root` in the next major release
|
|
121
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
122
|
-
a && a !== "Root" && a !== "root" || !1
|
|
123
|
-
), K = W || !1;
|
|
124
|
-
let T = b;
|
|
125
|
-
a === "Root" || a === "root" ? T = n : a ? T = o : fe(s) && (T = void 0);
|
|
126
|
-
const A = U(s, {
|
|
127
|
-
shouldForwardProp: T,
|
|
128
|
-
label: ie(d, a),
|
|
129
|
-
...C
|
|
130
|
-
}), N = (i) => {
|
|
131
|
-
if (i.__emotion_real === i)
|
|
132
|
-
return i;
|
|
133
|
-
if (typeof i == "function")
|
|
134
|
-
return function(h) {
|
|
135
|
-
return R(h, i, h.theme.modularCssLayers ? $ : void 0);
|
|
136
|
-
};
|
|
137
|
-
if (Y(i)) {
|
|
138
|
-
const u = ee(i);
|
|
139
|
-
return function(l) {
|
|
140
|
-
return u.variants ? R(l, u, l.theme.modularCssLayers ? $ : void 0) : l.theme.modularCssLayers ? S(u.style, $) : u.style;
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
return i;
|
|
144
|
-
}, E = (...i) => {
|
|
145
|
-
const u = [], h = i.map(N), l = [];
|
|
146
|
-
if (u.push(v), d && _ && l.push(function(f) {
|
|
147
|
-
var P, L;
|
|
148
|
-
const c = (L = (P = f.theme.components) == null ? void 0 : P[d]) == null ? void 0 : L.styleOverrides;
|
|
149
|
-
if (!c)
|
|
150
|
-
return null;
|
|
151
|
-
const F = {};
|
|
152
|
-
for (const V in c)
|
|
153
|
-
F[V] = R(f, c[V], f.theme.modularCssLayers ? "theme" : void 0);
|
|
154
|
-
return _(f, F);
|
|
155
|
-
}), d && !B && l.push(function(f) {
|
|
156
|
-
var F, P;
|
|
157
|
-
const m = f.theme, c = (P = (F = m == null ? void 0 : m.components) == null ? void 0 : F[d]) == null ? void 0 : P.variants;
|
|
158
|
-
return c ? M(f, c, [], f.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
159
|
-
}), K || l.push(j), Array.isArray(h[0])) {
|
|
160
|
-
const x = h.shift(), f = new Array(u.length).fill(""), m = new Array(l.length).fill("");
|
|
161
|
-
let c;
|
|
162
|
-
c = [...f, ...x, ...m], c.raw = [...f, ...x.raw, ...m], u.unshift(c);
|
|
163
|
-
}
|
|
164
|
-
const q = [...u, ...h, ...l], O = A(...q);
|
|
165
|
-
return s.muiName && (O.muiName = s.muiName), process.env.NODE_ENV !== "production" && (O.displayName = oe(d, a, s)), O;
|
|
166
|
-
};
|
|
167
|
-
return A.withConfig && (E.withConfig = A.withConfig), E;
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
function oe(e, r, t) {
|
|
171
|
-
return e ? `${e}${Z(r || "")}` : `Styled(${z(t)})`;
|
|
172
|
-
}
|
|
173
|
-
function ie(e, r) {
|
|
174
|
-
let t;
|
|
175
|
-
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${H(r || "Root")}`), t;
|
|
176
|
-
}
|
|
177
|
-
function ue(e) {
|
|
178
|
-
for (const r in e)
|
|
179
|
-
return !1;
|
|
180
|
-
return !0;
|
|
181
|
-
}
|
|
182
|
-
function fe(e) {
|
|
183
|
-
return typeof e == "string" && // 96 is one less than the char code
|
|
184
|
-
// for "a" so this is checking that
|
|
185
|
-
// it's a lowercase character
|
|
186
|
-
e.charCodeAt(0) > 96;
|
|
187
|
-
}
|
|
188
|
-
function H(e) {
|
|
189
|
-
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
190
|
-
}
|
|
191
|
-
function ae(e) {
|
|
192
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
193
|
-
}
|
|
194
|
-
const ce = (e) => ae(e) && e !== "classes", me = se({
|
|
195
|
-
themeId: J,
|
|
196
|
-
defaultTheme: G,
|
|
197
|
-
rootShouldForwardProp: ce
|
|
198
|
-
});
|
|
199
|
-
export {
|
|
200
|
-
ae as a,
|
|
201
|
-
b,
|
|
202
|
-
se as c,
|
|
203
|
-
ee as p,
|
|
204
|
-
ce as r,
|
|
205
|
-
me as s
|
|
206
|
-
};
|