@solostylist/ui-kit 1.0.141 → 1.0.142
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.
|
@@ -392,7 +392,7 @@ export declare const MuiAlert: {
|
|
|
392
392
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | readonly NonNullable<import("csstype").Property.AnimationRange<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
393
393
|
background?: import("csstype").Property.Background<string | number> | readonly NonNullable<import("csstype").Property.Background<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
394
394
|
backgroundPosition?: import("csstype").Property.BackgroundPosition<string | number> | readonly NonNullable<import("csstype").Property.BackgroundPosition<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
395
|
-
border
|
|
395
|
+
border?: import("csstype").Property.Border<string | number> | readonly (string | (string & {}))[] | readonly NonNullable<import("csstype").Property.Border<string | number> | undefined>[] | undefined;
|
|
396
396
|
borderBlock?: import("csstype").Property.BorderBlock<string | number> | readonly NonNullable<import("csstype").Property.BorderBlock<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
397
397
|
borderBlockEnd?: import("csstype").Property.BorderBlockEnd<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockEnd<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
398
398
|
borderBlockStart?: import("csstype").Property.BorderBlockStart<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockStart<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
@@ -1365,7 +1365,7 @@ export declare const MuiAlert: {
|
|
|
1365
1365
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | readonly NonNullable<import("csstype").Property.AnimationRange<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
1366
1366
|
background?: import("csstype").Property.Background<string | number> | readonly NonNullable<import("csstype").Property.Background<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
1367
1367
|
backgroundPosition?: import("csstype").Property.BackgroundPosition<string | number> | readonly NonNullable<import("csstype").Property.BackgroundPosition<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
1368
|
-
border
|
|
1368
|
+
border?: import("csstype").Property.Border<string | number> | readonly (string | (string & {}))[] | readonly NonNullable<import("csstype").Property.Border<string | number> | undefined>[] | undefined;
|
|
1369
1369
|
borderBlock?: import("csstype").Property.BorderBlock<string | number> | readonly NonNullable<import("csstype").Property.BorderBlock<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
1370
1370
|
borderBlockEnd?: import("csstype").Property.BorderBlockEnd<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockEnd<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
1371
1371
|
borderBlockStart?: import("csstype").Property.BorderBlockStart<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockStart<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
@@ -2338,7 +2338,7 @@ export declare const MuiAlert: {
|
|
|
2338
2338
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | readonly NonNullable<import("csstype").Property.AnimationRange<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
2339
2339
|
background?: import("csstype").Property.Background<string | number> | readonly NonNullable<import("csstype").Property.Background<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
2340
2340
|
backgroundPosition?: import("csstype").Property.BackgroundPosition<string | number> | readonly NonNullable<import("csstype").Property.BackgroundPosition<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
2341
|
-
border
|
|
2341
|
+
border?: import("csstype").Property.Border<string | number> | readonly (string | (string & {}))[] | readonly NonNullable<import("csstype").Property.Border<string | number> | undefined>[] | undefined;
|
|
2342
2342
|
borderBlock?: import("csstype").Property.BorderBlock<string | number> | readonly NonNullable<import("csstype").Property.BorderBlock<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
2343
2343
|
borderBlockEnd?: import("csstype").Property.BorderBlockEnd<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockEnd<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
2344
2344
|
borderBlockStart?: import("csstype").Property.BorderBlockStart<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockStart<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
@@ -3311,7 +3311,7 @@ export declare const MuiAlert: {
|
|
|
3311
3311
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | readonly NonNullable<import("csstype").Property.AnimationRange<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
3312
3312
|
background?: import("csstype").Property.Background<string | number> | readonly NonNullable<import("csstype").Property.Background<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
3313
3313
|
backgroundPosition?: import("csstype").Property.BackgroundPosition<string | number> | readonly NonNullable<import("csstype").Property.BackgroundPosition<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
3314
|
-
border
|
|
3314
|
+
border?: import("csstype").Property.Border<string | number> | readonly (string | (string & {}))[] | readonly NonNullable<import("csstype").Property.Border<string | number> | undefined>[] | undefined;
|
|
3315
3315
|
borderBlock?: import("csstype").Property.BorderBlock<string | number> | readonly NonNullable<import("csstype").Property.BorderBlock<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
3316
3316
|
borderBlockEnd?: import("csstype").Property.BorderBlockEnd<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockEnd<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
3317
3317
|
borderBlockStart?: import("csstype").Property.BorderBlockStart<string | number> | readonly NonNullable<import("csstype").Property.BorderBlockStart<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
|
@@ -1,34 +1,32 @@
|
|
|
1
|
-
import { green as
|
|
2
|
-
const t = (e, r,
|
|
3
|
-
color: e[
|
|
1
|
+
import { green as i, lightGreen as s, red as n, lightRed as o, orange as c, lightOrange as a, blue as u, lightBlue as g } from "../theme-primitives.js";
|
|
2
|
+
const t = (e, r, l) => ({
|
|
3
|
+
color: e[50],
|
|
4
4
|
"& .MuiAlert-icon": {
|
|
5
|
-
color: e[
|
|
5
|
+
color: e[50],
|
|
6
6
|
alignSelf: "center"
|
|
7
7
|
},
|
|
8
8
|
"& .MuiAlert-message": {
|
|
9
9
|
alignSelf: "center"
|
|
10
10
|
},
|
|
11
11
|
"& .MuiAlert-action": {
|
|
12
|
-
color: e[
|
|
12
|
+
color: e[50]
|
|
13
13
|
},
|
|
14
|
-
backgroundColor: e[
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
color: r[400],
|
|
14
|
+
backgroundColor: e[700],
|
|
15
|
+
...l.applyStyles("dark", {
|
|
16
|
+
color: r[50],
|
|
18
17
|
"& .MuiAlert-icon": {
|
|
19
|
-
color: r[
|
|
18
|
+
color: r[50],
|
|
20
19
|
alignSelf: "center"
|
|
21
20
|
},
|
|
22
21
|
"& .MuiAlert-message": {
|
|
23
22
|
alignSelf: "center"
|
|
24
23
|
},
|
|
25
24
|
"& .MuiAlert-action": {
|
|
26
|
-
color: r[
|
|
25
|
+
color: r[50]
|
|
27
26
|
},
|
|
28
|
-
backgroundColor: r[
|
|
29
|
-
border: `1px solid ${r[800]}`
|
|
27
|
+
backgroundColor: r[700]
|
|
30
28
|
})
|
|
31
|
-
}),
|
|
29
|
+
}), p = {
|
|
32
30
|
styleOverrides: {
|
|
33
31
|
root: ({ theme: e }) => ({
|
|
34
32
|
borderRadius: 10,
|
|
@@ -38,7 +36,7 @@ const t = (e, r, i) => ({
|
|
|
38
36
|
severity: "success"
|
|
39
37
|
},
|
|
40
38
|
style: {
|
|
41
|
-
...t(
|
|
39
|
+
...t(s, i, e)
|
|
42
40
|
}
|
|
43
41
|
},
|
|
44
42
|
{
|
|
@@ -62,7 +60,7 @@ const t = (e, r, i) => ({
|
|
|
62
60
|
severity: "info"
|
|
63
61
|
},
|
|
64
62
|
style: {
|
|
65
|
-
...t(
|
|
63
|
+
...t(g, u, e)
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
66
|
]
|
|
@@ -70,5 +68,5 @@ const t = (e, r, i) => ({
|
|
|
70
68
|
}
|
|
71
69
|
};
|
|
72
70
|
export {
|
|
73
|
-
|
|
71
|
+
p as MuiAlert
|
|
74
72
|
};
|
|
@@ -12,7 +12,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
|
|
|
12
12
|
"&.Mui-disabled": {
|
|
13
13
|
backgroundColor: a(r.variant, i[700]),
|
|
14
14
|
color: i[900],
|
|
15
|
-
borderColor: r.variant === "outlined" ? i[
|
|
15
|
+
borderColor: r.variant === "outlined" ? i[900] : "transparent"
|
|
16
16
|
},
|
|
17
17
|
"&.MuiButton-loading": {
|
|
18
18
|
"& .MuiButton-loadingIndicator": {
|
|
@@ -22,11 +22,11 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
|
|
|
22
22
|
...n.applyStyles("dark", {
|
|
23
23
|
backgroundColor: a(r.variant, o[800]),
|
|
24
24
|
color: t(r.variant, o[100], o[500]),
|
|
25
|
-
borderColor: r.variant === "outlined" ? o[
|
|
25
|
+
borderColor: r.variant === "outlined" ? o[800] : "transparent",
|
|
26
26
|
"&:hover": {
|
|
27
|
-
backgroundColor: a(r.variant, o[
|
|
28
|
-
color: t(r.variant, o[50], o[
|
|
29
|
-
borderColor: r.variant === "outlined" ? o[
|
|
27
|
+
backgroundColor: a(r.variant, o[900]),
|
|
28
|
+
color: t(r.variant, o[50], o[600]),
|
|
29
|
+
borderColor: r.variant === "outlined" ? o[900] : "transparent"
|
|
30
30
|
},
|
|
31
31
|
"&:active": { filter: "brightness(1.1)" },
|
|
32
32
|
"&.Mui-disabled": {
|