@solostylist/ui-kit 1.0.181 → 1.0.182
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-CEeqSc-C.js → ArrowUpward-BfB2C5u-.js} +1 -1
- package/dist/{Box-CE3rycd-.js → Box-CPF4N-9A.js} +10 -10
- package/dist/{ButtonBase-C_YYB9Ry.js → ButtonBase-DVt-j9E6.js} +5 -5
- package/dist/{ChevronLeft-6gdh4lRt.js → ChevronLeft-q54vKmLl.js} +1 -1
- package/dist/{ChevronRight-CC3l-wPC.js → ChevronRight-BW4N4T8D.js} +1 -1
- package/dist/{Close-DOHlPcFK.js → Close-C-h8ZFj9.js} +1 -1
- package/dist/{ContentCopy-2xxDThyB.js → ContentCopy-BOEcgmUk.js} +1 -1
- package/dist/{DefaultPropsProvider-sk0uWcA6.js → DefaultPropsProvider-DAGo4Ecg.js} +2 -2
- package/dist/{Download-Chao5NQl.js → Download-Csm36pg6.js} +1 -1
- package/dist/{ExpandMore-DIGPB4Mj.js → ExpandMore-o5VIASx2.js} +1 -1
- package/dist/{Favorite-wp65zwWq.js → Favorite-BaBSxOMM.js} +1 -1
- package/dist/{Menu-DZYzE2Mg.js → Menu-BWsB9Go5.js} +7 -7
- package/dist/{MenuItem-BXiIhfBS.js → MenuItem-mL6pZnEn.js} +7 -7
- package/dist/{Paper-DnctZB5U.js → Paper-BWzM4LQE.js} +9 -9
- package/dist/{Select-DY7XGVsv.js → Select-D8afBVNf.js} +16 -16
- package/dist/{Stack-BScsuyQy.js → Stack-xJbxRUTT.js} +10 -10
- package/dist/{Typography-9Kg27dDw.js → Typography-LWwPvg9q.js} +5 -5
- package/dist/{buttonBaseClasses-jCihfot4.js → buttonBaseClasses-jtnoTmPn.js} +2 -2
- package/dist/{createSvgIcon-BKymXuBG.js → createSvgIcon-C1CFzLiI.js} +4 -4
- package/dist/{createTheme-f5g1s6ww.js → createTheme-pt_I2IXq.js} +984 -850
- package/dist/defaultTheme-DAwi26G6.js +5 -0
- package/dist/{extendSxProp-DitxZ8We.js → extendSxProp-CbzPilO0.js} +1 -1
- package/dist/generateUtilityClass-BhfUaMgk.js +35 -0
- package/dist/{generateUtilityClasses-BtVDwGrk.js → generateUtilityClasses-E9gROIFd.js} +1 -1
- package/dist/{iconButtonClasses-qz3jor3M.js → iconButtonClasses-BMfIhNTh.js} +2 -2
- package/dist/{index-DtYP8YE7.js → index-BXB9E4It.js} +4 -4
- package/dist/{outlinedInputClasses-DM19xjo3.js → outlinedInputClasses-DnwW3ujt.js} +2 -2
- package/dist/s-accordion/s-accordion.js +26 -26
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +3 -3
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +3 -3
- package/dist/s-chat-message/s-chat-message.js +2 -2
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +3 -3
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/s-data-table.js +7 -7
- package/dist/s-date-picker/s-date-picker.js +9 -9
- package/dist/s-datetime-picker/s-datetime-picker.js +29 -29
- 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-flex-box/s-flex-box.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +3 -3
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +6 -6
- 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-review/s-review.js +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +3 -3
- package/dist/s-select/s-select.js +1 -1
- 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/s-text-shimmer.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +2 -2
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{styled-B0KflPi-.js → styled-CknIVk7Y.js} +20 -20
- package/dist/{svgIconClasses-CBCi8U9g.js → svgIconClasses-C6auqaBA.js} +2 -2
- package/dist/{tabClasses-Bub2PPlp.js → tabClasses-DFvXsFrN.js} +2 -2
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/customizations/data-display.js +23 -18
- package/dist/theme/customizations/inputs.js +4 -65
- package/dist/theme/customizations/navigation.js +3 -3
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +33 -34
- package/dist/{typographyClasses-C7fhAsUD.js → typographyClasses-jmoWZuXc.js} +2 -2
- package/dist/{useMobilePicker-C4AYe0Ch.js → useMobilePicker-DWIymD7G.js} +26 -26
- package/dist/{useTheme-CtdhfT4P.js → useTheme-CqoE8eXY.js} +1 -1
- package/dist/{useThemeProps-_apS-Aua.js → useThemeProps-COgSP9Ca.js} +1 -1
- package/dist/{warning-DnPRVtW6.js → warning-BKtg2mqc.js} +3 -3
- package/package.json +1 -1
- package/dist/colorManipulator-ep5lERxB.js +0 -179
- package/dist/defaultTheme-LSr-S9un.js +0 -5
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { a as e } from "../colorManipulator-ep5lERxB.js";
|
|
1
|
+
import { b, a as e } from "../createTheme-pt_I2IXq.js";
|
|
3
2
|
const r = {
|
|
4
3
|
50: "hsl(210, 100%, 95%)",
|
|
5
4
|
100: "hsl(210, 100%, 92%)",
|
|
@@ -77,7 +76,7 @@ const r = {
|
|
|
77
76
|
700: "hsl(45, 94%, 20%)",
|
|
78
77
|
800: "hsl(45, 95%, 16%)",
|
|
79
78
|
900: "hsl(45, 93%, 12%)"
|
|
80
|
-
},
|
|
79
|
+
}, d = {
|
|
81
80
|
50: "hsl(48, 100%, 98%)",
|
|
82
81
|
100: "hsl(48, 95%, 94%)",
|
|
83
82
|
200: "hsl(48, 90%, 86%)",
|
|
@@ -88,7 +87,7 @@ const r = {
|
|
|
88
87
|
700: "hsl(48, 100%, 35%)",
|
|
89
88
|
800: "hsl(48, 100%, 28%)",
|
|
90
89
|
900: "hsl(48, 100%, 22%)"
|
|
91
|
-
},
|
|
90
|
+
}, p = {
|
|
92
91
|
50: "hsl(210, 100%, 98%)",
|
|
93
92
|
100: "hsl(210, 95%, 94%)",
|
|
94
93
|
200: "hsl(210, 90%, 87%)",
|
|
@@ -121,7 +120,7 @@ const r = {
|
|
|
121
120
|
700: "hsl(0, 94%, 18%)",
|
|
122
121
|
800: "hsl(0, 95%, 12%)",
|
|
123
122
|
900: "hsl(0, 93%, 6%)"
|
|
124
|
-
},
|
|
123
|
+
}, y = {
|
|
125
124
|
50: "hsl(356, 100%, 98%)",
|
|
126
125
|
100: "hsl(356, 95%, 94%)",
|
|
127
126
|
200: "hsl(356, 90%, 87%)",
|
|
@@ -132,7 +131,7 @@ const r = {
|
|
|
132
131
|
700: "hsl(356, 100%, 34%)",
|
|
133
132
|
800: "hsl(356, 100%, 27%)",
|
|
134
133
|
900: "hsl(356, 100%, 21%)"
|
|
135
|
-
},
|
|
134
|
+
}, R = {
|
|
136
135
|
50: "hsl(270, 100%, 98%)",
|
|
137
136
|
100: "hsl(270, 95%, 94%)",
|
|
138
137
|
200: "hsl(270, 90%, 87%)",
|
|
@@ -143,7 +142,7 @@ const r = {
|
|
|
143
142
|
700: "hsl(270, 75%, 25%)",
|
|
144
143
|
800: "hsl(270, 80%, 15%)",
|
|
145
144
|
900: "hsl(270, 85%, 10%)"
|
|
146
|
-
},
|
|
145
|
+
}, W = {
|
|
147
146
|
50: "hsl(280, 60%, 98%)",
|
|
148
147
|
100: "hsl(280, 55%, 95%)",
|
|
149
148
|
200: "hsl(280, 50%, 88%)",
|
|
@@ -170,7 +169,7 @@ const r = {
|
|
|
170
169
|
60: "rgba(255,255,255,0.6)",
|
|
171
170
|
80: "rgba(255,255,255,0.8)",
|
|
172
171
|
100: "rgba(255,255,255,1)"
|
|
173
|
-
},
|
|
172
|
+
}, m = {
|
|
174
173
|
primary: "linear-gradient(90deg, #1469be 0%, #43ecff 100%)",
|
|
175
174
|
secondary: "linear-gradient(90deg, #0088F6 0%, #1DDD83 77.25%)",
|
|
176
175
|
indigo: "linear-gradient(to right, transparent, #6366f1, transparent)",
|
|
@@ -194,9 +193,9 @@ const r = {
|
|
|
194
193
|
ring: s[80],
|
|
195
194
|
background: s[80],
|
|
196
195
|
radialGradient: `radial-gradient(circle, ${s[30]} 0%, ${s[10]} 50%, transparent 100%)`
|
|
197
|
-
}, l =
|
|
196
|
+
}, l = b(), T = {
|
|
198
197
|
palette: {
|
|
199
|
-
gradient:
|
|
198
|
+
gradient: m,
|
|
200
199
|
blackAlpha: {
|
|
201
200
|
zero: s[0],
|
|
202
201
|
light: s[10],
|
|
@@ -223,10 +222,10 @@ const r = {
|
|
|
223
222
|
black: "#000000"
|
|
224
223
|
},
|
|
225
224
|
info: {
|
|
226
|
-
contrastText:
|
|
227
|
-
light:
|
|
228
|
-
main:
|
|
229
|
-
dark:
|
|
225
|
+
contrastText: p[50],
|
|
226
|
+
light: p[400],
|
|
227
|
+
main: p[500],
|
|
228
|
+
dark: p[700]
|
|
230
229
|
},
|
|
231
230
|
warning: {
|
|
232
231
|
contrastText: g[50],
|
|
@@ -297,16 +296,16 @@ const r = {
|
|
|
297
296
|
dark: c[700]
|
|
298
297
|
},
|
|
299
298
|
warning: {
|
|
300
|
-
contrastText:
|
|
301
|
-
light:
|
|
302
|
-
main:
|
|
303
|
-
dark:
|
|
299
|
+
contrastText: d[50],
|
|
300
|
+
light: d[200],
|
|
301
|
+
main: d[500],
|
|
302
|
+
dark: d[700]
|
|
304
303
|
},
|
|
305
304
|
error: {
|
|
306
|
-
contrastText:
|
|
307
|
-
light:
|
|
308
|
-
main:
|
|
309
|
-
dark:
|
|
305
|
+
contrastText: y[50],
|
|
306
|
+
light: y[200],
|
|
307
|
+
main: y[500],
|
|
308
|
+
dark: y[700]
|
|
310
309
|
},
|
|
311
310
|
success: {
|
|
312
311
|
contrastText: o[50],
|
|
@@ -330,7 +329,7 @@ const r = {
|
|
|
330
329
|
},
|
|
331
330
|
baseShadow: "rgba(15, 23, 42, 0.08) 0px 2px 8px 0px, rgba(15, 23, 42, 0.04) 0px 1px 2px -1px"
|
|
332
331
|
}
|
|
333
|
-
},
|
|
332
|
+
}, v = { light: w, dark: T }, A = {
|
|
334
333
|
fontFamily: "Outfit, sans-serif",
|
|
335
334
|
h1: {
|
|
336
335
|
fontSize: l.typography.pxToRem(48),
|
|
@@ -384,26 +383,26 @@ const r = {
|
|
|
384
383
|
fontWeight: 400,
|
|
385
384
|
color: "var(--s-palette-text-secondary)"
|
|
386
385
|
}
|
|
387
|
-
},
|
|
386
|
+
}, G = {
|
|
388
387
|
borderRadius: 8
|
|
389
|
-
}, S = ["none", "var(--s-palette-baseShadow)", ...l.shadows.slice(2)],
|
|
388
|
+
}, S = ["none", "var(--s-palette-baseShadow)", ...l.shadows.slice(2)], H = S;
|
|
390
389
|
export {
|
|
391
|
-
|
|
390
|
+
p as blue,
|
|
392
391
|
r as brand,
|
|
393
|
-
|
|
392
|
+
v as colorSchemes,
|
|
394
393
|
t as gray,
|
|
395
394
|
n as green,
|
|
396
395
|
c as lightBlue,
|
|
397
396
|
i as lightBrand,
|
|
398
397
|
a as lightGray,
|
|
399
398
|
o as lightGreen,
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
399
|
+
d as lightOrange,
|
|
400
|
+
W as lightPurple,
|
|
401
|
+
y as lightRed,
|
|
403
402
|
g as orange,
|
|
404
|
-
|
|
403
|
+
R as purple,
|
|
405
404
|
f as red,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
H as shadows,
|
|
406
|
+
G as shape,
|
|
407
|
+
A as typography
|
|
409
408
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as a } from "./generateUtilityClasses-
|
|
2
|
-
import { g as i } from "./
|
|
1
|
+
import { g as a } from "./generateUtilityClasses-E9gROIFd.js";
|
|
2
|
+
import { g as i } from "./generateUtilityClass-BhfUaMgk.js";
|
|
3
3
|
function e(t) {
|
|
4
4
|
return i("MuiTypography", t);
|
|
5
5
|
}
|
|
@@ -2,26 +2,26 @@ import { _ as ce, a as S } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import Mo from "react";
|
|
4
4
|
import { c as he } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { g as be } from "./generateUtilityClasses-
|
|
6
|
-
import { g as xe
|
|
7
|
-
import { u as ot, a as xt, f as As, b as ve, H as mn, F as
|
|
5
|
+
import { g as be } from "./generateUtilityClasses-E9gROIFd.js";
|
|
6
|
+
import { g as xe } from "./generateUtilityClass-BhfUaMgk.js";
|
|
7
|
+
import { u as ot, a as xt, f as As, b as ve, H as mn, F as Vt, G as Ns, h as js, L as pn, i as $s, j as Ls, B as Bs } from "./Menu-BWsB9Go5.js";
|
|
8
8
|
import { j as P } from "./jsx-runtime-tc70JA_2.js";
|
|
9
|
-
import { L as Ws, u as Re, P as zs, w as Hs } from "./warning-
|
|
10
|
-
import { s as B, b as Ct, r as mr } from "./styled-
|
|
11
|
-
import { T as Bt } from "./Typography-
|
|
12
|
-
import { c as ge, u as ze, m as rt } from "./DefaultPropsProvider-
|
|
13
|
-
import { _ as _s, f as U, u as Me, r as mt, d as hr, B as hn, c as $e, i as Ro, e as qs, b as Rt, a as pt, j as gr } from "./ButtonBase-
|
|
14
|
-
import { f as Us, T as br, c as Ys, P as _n, u as qn } from "./Paper-
|
|
15
|
-
import { P as n, c as ee } from "./createTheme-
|
|
9
|
+
import { L as Ws, u as Re, P as zs, w as Hs } from "./warning-BKtg2mqc.js";
|
|
10
|
+
import { s as B, b as Ct, r as mr } from "./styled-CknIVk7Y.js";
|
|
11
|
+
import { T as Bt } from "./Typography-LWwPvg9q.js";
|
|
12
|
+
import { c as ge, u as ze, m as rt } from "./DefaultPropsProvider-DAGo4Ecg.js";
|
|
13
|
+
import { _ as _s, f as U, u as Me, r as mt, d as hr, B as hn, c as $e, i as Ro, e as qs, b as Rt, a as pt, j as gr } from "./ButtonBase-DVt-j9E6.js";
|
|
14
|
+
import { f as Us, T as br, c as Ys, P as _n, u as qn } from "./Paper-BWzM4LQE.js";
|
|
15
|
+
import { P as n, c as ee, a as Ft } from "./createTheme-pt_I2IXq.js";
|
|
16
16
|
import { u as qe } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
17
17
|
import { u as At } from "./useControlled-D1L5tREc.js";
|
|
18
|
-
import { u as Wt, C as Ks, i as yr, f as Un, O as Gs, a as Qs, b as Xs, S as Zs, F as vr, I as gn } from "./Select-
|
|
18
|
+
import { u as Wt, C as Ks, i as yr, f as Un, O as Gs, a as Qs, b as Xs, S as Zs, F as vr, I as gn } from "./Select-D8afBVNf.js";
|
|
19
19
|
import { u as zt, F as Js } from "./useFormControl-CatNKXAi.js";
|
|
20
20
|
import { c as It } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
21
|
-
import { c as lt } from "./createSvgIcon-
|
|
21
|
+
import { c as lt } from "./createSvgIcon-C1CFzLiI.js";
|
|
22
22
|
import { T as ea } from "./identifier-BKLqN993.js";
|
|
23
|
-
import { a as ta } from "./useTheme-
|
|
24
|
-
import { g as na } from "./useThemeProps-
|
|
23
|
+
import { a as ta } from "./useTheme-CqoE8eXY.js";
|
|
24
|
+
import { g as na } from "./useThemeProps-COgSP9Ca.js";
|
|
25
25
|
import { r as oa } from "./resolveProps-BDH0VJjn.js";
|
|
26
26
|
function ra(e, t, o, r, s) {
|
|
27
27
|
const [a, i] = f.useState(() => s && o ? o(e).matches : r ? r(e).matches : t);
|
|
@@ -2833,7 +2833,7 @@ function Il(e) {
|
|
|
2833
2833
|
}) : g();
|
|
2834
2834
|
}), [C, D, V] = Ol(c, k), T = f.useRef(null), A = Me(T, l), I = Me(A, C), E = (M) => {
|
|
2835
2835
|
M.key === "Escape" && (M.stopPropagation(), g());
|
|
2836
|
-
}, R = s?.desktopTransition ?? u ?
|
|
2836
|
+
}, R = s?.desktopTransition ?? u ? Vt : Ns, w = s?.desktopTrapFocus ?? js, O = s?.desktopPaper ?? Dl, N = s?.popper ?? Cl, j = ve({
|
|
2837
2837
|
elementType: N,
|
|
2838
2838
|
externalSlotProps: a?.popper,
|
|
2839
2839
|
additionalProps: {
|
|
@@ -10000,7 +10000,7 @@ function vs(e) {
|
|
|
10000
10000
|
return r ? i : /* @__PURE__ */ P.jsx(Qu, {
|
|
10001
10001
|
className: he(l.root, o),
|
|
10002
10002
|
ownerState: c,
|
|
10003
|
-
children: /* @__PURE__ */ P.jsx(
|
|
10003
|
+
children: /* @__PURE__ */ P.jsx(Vt, {
|
|
10004
10004
|
appear: !1,
|
|
10005
10005
|
mountOnEnter: !0,
|
|
10006
10006
|
unmountOnExit: !0,
|
|
@@ -10072,11 +10072,11 @@ const Zu = ["autoFocus", "className", "classes", "hidden", "isAnimating", "onCli
|
|
|
10072
10072
|
color: (e.vars || e).palette.text.primary,
|
|
10073
10073
|
"@media (pointer: fine)": {
|
|
10074
10074
|
"&:hover": {
|
|
10075
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
10075
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})` : Ft(e.palette.primary.main, e.palette.action.hoverOpacity)
|
|
10076
10076
|
}
|
|
10077
10077
|
},
|
|
10078
10078
|
"&:focus": {
|
|
10079
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})` :
|
|
10079
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})` : Ft(e.palette.primary.main, e.palette.action.focusOpacity),
|
|
10080
10080
|
[`&.${vt.selected}`]: {
|
|
10081
10081
|
willChange: "background-color",
|
|
10082
10082
|
backgroundColor: (e.vars || e).palette.primary.dark
|
|
@@ -10827,10 +10827,10 @@ const un = be("MuiMonthCalendar", ["root", "button", "disabled", "selected"]), S
|
|
|
10827
10827
|
borderRadius: 18,
|
|
10828
10828
|
cursor: "pointer",
|
|
10829
10829
|
"&:focus": {
|
|
10830
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
10830
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` : Ft(e.palette.action.active, e.palette.action.hoverOpacity)
|
|
10831
10831
|
},
|
|
10832
10832
|
"&:hover": {
|
|
10833
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
10833
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` : Ft(e.palette.action.active, e.palette.action.hoverOpacity)
|
|
10834
10834
|
},
|
|
10835
10835
|
"&:disabled": {
|
|
10836
10836
|
cursor: "auto",
|
|
@@ -11187,10 +11187,10 @@ const dn = be("MuiYearCalendar", ["root", "button", "disabled", "selected"]), Md
|
|
|
11187
11187
|
borderRadius: 18,
|
|
11188
11188
|
cursor: "pointer",
|
|
11189
11189
|
"&:focus": {
|
|
11190
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})` :
|
|
11190
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})` : Ft(e.palette.action.active, e.palette.action.focusOpacity)
|
|
11191
11191
|
},
|
|
11192
11192
|
"&:hover": {
|
|
11193
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
11193
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` : Ft(e.palette.action.active, e.palette.action.hoverOpacity)
|
|
11194
11194
|
},
|
|
11195
11195
|
"&:disabled": {
|
|
11196
11196
|
cursor: "auto",
|
|
@@ -11864,7 +11864,7 @@ const Kd = ["slots", "slotProps", "currentMonth", "disabled", "disableFuture", "
|
|
|
11864
11864
|
}), x.length > 1 && !u && /* @__PURE__ */ P.jsx(R, S({}, w, {
|
|
11865
11865
|
children: /* @__PURE__ */ P.jsx(O, S({}, j))
|
|
11866
11866
|
}))]
|
|
11867
|
-
}), /* @__PURE__ */ P.jsx(
|
|
11867
|
+
}), /* @__PURE__ */ P.jsx(Vt, {
|
|
11868
11868
|
in: p === "day",
|
|
11869
11869
|
appear: !y,
|
|
11870
11870
|
enter: !y,
|
|
@@ -12792,7 +12792,7 @@ const hp = B(Bs, {
|
|
|
12792
12792
|
scroll: V = "paper",
|
|
12793
12793
|
slots: T = {},
|
|
12794
12794
|
slotProps: A = {},
|
|
12795
|
-
TransitionComponent: I =
|
|
12795
|
+
TransitionComponent: I = Vt,
|
|
12796
12796
|
transitionDuration: E = a,
|
|
12797
12797
|
TransitionProps: R,
|
|
12798
12798
|
...w
|
|
@@ -12845,7 +12845,7 @@ const hp = B(Bs, {
|
|
|
12845
12845
|
ownerState: O,
|
|
12846
12846
|
className: N.container
|
|
12847
12847
|
}), [W, K] = $e("transition", {
|
|
12848
|
-
elementType:
|
|
12848
|
+
elementType: Vt,
|
|
12849
12849
|
externalForwardedProps: X,
|
|
12850
12850
|
ownerState: O,
|
|
12851
12851
|
additionalProps: {
|
|
@@ -13077,7 +13077,7 @@ function Sp(e) {
|
|
|
13077
13077
|
} = on(), {
|
|
13078
13078
|
dismissViews: a,
|
|
13079
13079
|
onPopperExited: i
|
|
13080
|
-
} = Fe(), c = o?.dialog ?? xp, l = o?.mobileTransition ??
|
|
13080
|
+
} = Fe(), c = o?.dialog ?? xp, l = o?.mobileTransition ?? Vt;
|
|
13081
13081
|
return /* @__PURE__ */ P.jsx(c, S({
|
|
13082
13082
|
open: s,
|
|
13083
13083
|
onClose: () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as L, a as P } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import { P as e } from "./createTheme-
|
|
3
|
+
import { P as e } from "./createTheme-pt_I2IXq.js";
|
|
4
4
|
import { j as E } from "./jsx-runtime-tc70JA_2.js";
|
|
5
|
-
import { d as M } from "./defaultTheme-
|
|
5
|
+
import { d as M } from "./defaultTheme-DAwi26G6.js";
|
|
6
6
|
import { T as j } from "./identifier-BKLqN993.js";
|
|
7
|
-
import { u as v } from "./useThemeProps-
|
|
7
|
+
import { u as v } from "./useThemeProps-COgSP9Ca.js";
|
|
8
8
|
function w({
|
|
9
9
|
props: o,
|
|
10
10
|
name: a
|
package/package.json
CHANGED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
const f = (e) => e, E = () => {
|
|
2
|
-
let e = f;
|
|
3
|
-
return {
|
|
4
|
-
configure(t) {
|
|
5
|
-
e = t;
|
|
6
|
-
},
|
|
7
|
-
generate(t) {
|
|
8
|
-
return e(t);
|
|
9
|
-
},
|
|
10
|
-
reset() {
|
|
11
|
-
e = f;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}, v = E();
|
|
15
|
-
function g(e, ...t) {
|
|
16
|
-
const n = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
17
|
-
return t.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`;
|
|
18
|
-
}
|
|
19
|
-
const $ = {
|
|
20
|
-
active: "active",
|
|
21
|
-
checked: "checked",
|
|
22
|
-
completed: "completed",
|
|
23
|
-
disabled: "disabled",
|
|
24
|
-
error: "error",
|
|
25
|
-
expanded: "expanded",
|
|
26
|
-
focused: "focused",
|
|
27
|
-
focusVisible: "focusVisible",
|
|
28
|
-
open: "open",
|
|
29
|
-
readOnly: "readOnly",
|
|
30
|
-
required: "required",
|
|
31
|
-
selected: "selected"
|
|
32
|
-
};
|
|
33
|
-
function V(e, t, n = "Mui") {
|
|
34
|
-
const r = $[t];
|
|
35
|
-
return r ? `${n}-${r}` : `${v.generate(e)}-${t}`;
|
|
36
|
-
}
|
|
37
|
-
function N(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
|
|
38
|
-
return Math.max(t, Math.min(e, n));
|
|
39
|
-
}
|
|
40
|
-
function o(e, t = 0, n = 1) {
|
|
41
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), N(e, t, n);
|
|
42
|
-
}
|
|
43
|
-
function M(e) {
|
|
44
|
-
e = e.slice(1);
|
|
45
|
-
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
46
|
-
let n = e.match(t);
|
|
47
|
-
return n && n[0].length === 1 && (n = n.map((r) => r + r)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, s) => s < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
48
|
-
}
|
|
49
|
-
function a(e) {
|
|
50
|
-
if (e.type)
|
|
51
|
-
return e;
|
|
52
|
-
if (e.charAt(0) === "#")
|
|
53
|
-
return a(M(e));
|
|
54
|
-
const t = e.indexOf("("), n = e.substring(0, t);
|
|
55
|
-
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(n))
|
|
56
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
57
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : g(9, e));
|
|
58
|
-
let r = e.substring(t + 1, e.length - 1), s;
|
|
59
|
-
if (n === "color") {
|
|
60
|
-
if (r = r.split(" "), s = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(s))
|
|
61
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${s}\` color space.
|
|
62
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : g(10, s));
|
|
63
|
-
} else
|
|
64
|
-
r = r.split(",");
|
|
65
|
-
return r = r.map((u) => parseFloat(u)), {
|
|
66
|
-
type: n,
|
|
67
|
-
values: r,
|
|
68
|
-
colorSpace: s
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
const _ = (e) => {
|
|
72
|
-
const t = a(e);
|
|
73
|
-
return t.values.slice(0, 3).map((n, r) => t.type.includes("hsl") && r !== 0 ? `${n}%` : n).join(" ");
|
|
74
|
-
}, w = (e, t) => {
|
|
75
|
-
try {
|
|
76
|
-
return _(e);
|
|
77
|
-
} catch {
|
|
78
|
-
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
function i(e) {
|
|
82
|
-
const {
|
|
83
|
-
type: t,
|
|
84
|
-
colorSpace: n
|
|
85
|
-
} = e;
|
|
86
|
-
let {
|
|
87
|
-
values: r
|
|
88
|
-
} = e;
|
|
89
|
-
return t.includes("rgb") ? r = r.map((s, u) => u < 3 ? parseInt(s, 10) : s) : t.includes("hsl") && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.includes("color") ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
|
|
90
|
-
}
|
|
91
|
-
function C(e) {
|
|
92
|
-
e = a(e);
|
|
93
|
-
const {
|
|
94
|
-
values: t
|
|
95
|
-
} = e, n = t[0], r = t[1] / 100, s = t[2] / 100, u = r * Math.min(s, 1 - s), p = (y, d = (y + n / 30) % 12) => s - u * Math.max(Math.min(d - 3, 9 - d, 1), -1);
|
|
96
|
-
let c = "rgb";
|
|
97
|
-
const h = [Math.round(p(0) * 255), Math.round(p(8) * 255), Math.round(p(4) * 255)];
|
|
98
|
-
return e.type === "hsla" && (c += "a", h.push(t[3])), i({
|
|
99
|
-
type: c,
|
|
100
|
-
values: h
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function l(e) {
|
|
104
|
-
e = a(e);
|
|
105
|
-
let t = e.type === "hsl" || e.type === "hsla" ? a(C(e)).values : e.values;
|
|
106
|
-
return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
107
|
-
}
|
|
108
|
-
function D(e, t) {
|
|
109
|
-
const n = l(e), r = l(t);
|
|
110
|
-
return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
|
|
111
|
-
}
|
|
112
|
-
function I(e, t) {
|
|
113
|
-
return e = a(e), t = o(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, i(e);
|
|
114
|
-
}
|
|
115
|
-
function x(e, t, n) {
|
|
116
|
-
try {
|
|
117
|
-
return I(e, t);
|
|
118
|
-
} catch {
|
|
119
|
-
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function m(e, t) {
|
|
123
|
-
if (e = a(e), t = o(t), e.type.includes("hsl"))
|
|
124
|
-
e.values[2] *= 1 - t;
|
|
125
|
-
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
126
|
-
for (let n = 0; n < 3; n += 1)
|
|
127
|
-
e.values[n] *= 1 - t;
|
|
128
|
-
return i(e);
|
|
129
|
-
}
|
|
130
|
-
function T(e, t, n) {
|
|
131
|
-
try {
|
|
132
|
-
return m(e, t);
|
|
133
|
-
} catch {
|
|
134
|
-
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
function b(e, t) {
|
|
138
|
-
if (e = a(e), t = o(t), e.type.includes("hsl"))
|
|
139
|
-
e.values[2] += (100 - e.values[2]) * t;
|
|
140
|
-
else if (e.type.includes("rgb"))
|
|
141
|
-
for (let n = 0; n < 3; n += 1)
|
|
142
|
-
e.values[n] += (255 - e.values[n]) * t;
|
|
143
|
-
else if (e.type.includes("color"))
|
|
144
|
-
for (let n = 0; n < 3; n += 1)
|
|
145
|
-
e.values[n] += (1 - e.values[n]) * t;
|
|
146
|
-
return i(e);
|
|
147
|
-
}
|
|
148
|
-
function U(e, t, n) {
|
|
149
|
-
try {
|
|
150
|
-
return b(e, t);
|
|
151
|
-
} catch {
|
|
152
|
-
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
function O(e, t = 0.15) {
|
|
156
|
-
return l(e) > 0.5 ? m(e, t) : b(e, t);
|
|
157
|
-
}
|
|
158
|
-
function A(e, t, n) {
|
|
159
|
-
try {
|
|
160
|
-
return O(e, t);
|
|
161
|
-
} catch {
|
|
162
|
-
return e;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
export {
|
|
166
|
-
v as C,
|
|
167
|
-
I as a,
|
|
168
|
-
D as b,
|
|
169
|
-
U as c,
|
|
170
|
-
m as d,
|
|
171
|
-
x as e,
|
|
172
|
-
g as f,
|
|
173
|
-
V as g,
|
|
174
|
-
A as h,
|
|
175
|
-
w as i,
|
|
176
|
-
C as j,
|
|
177
|
-
b as l,
|
|
178
|
-
T as p
|
|
179
|
-
};
|