@solostylist/ui-kit 1.0.190 → 1.0.191

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.
@@ -1074,6 +1074,7 @@ export declare const MuiButton: {
1074
1074
  opacity: number;
1075
1075
  };
1076
1076
  '&.MuiButton-loading': {
1077
+ color: string;
1077
1078
  '& .MuiButton-loadingIndicator': {
1078
1079
  color: string;
1079
1080
  };
@@ -2112,6 +2113,7 @@ export declare const MuiButton: {
2112
2113
  opacity: number;
2113
2114
  };
2114
2115
  '&.MuiButton-loading': {
2116
+ color: string;
2115
2117
  '& .MuiButton-loadingIndicator': {
2116
2118
  color: string;
2117
2119
  };
@@ -3150,6 +3152,7 @@ export declare const MuiButton: {
3150
3152
  opacity: number;
3151
3153
  };
3152
3154
  '&.MuiButton-loading': {
3155
+ color: string;
3153
3156
  '& .MuiButton-loadingIndicator': {
3154
3157
  color: string;
3155
3158
  };
@@ -4188,6 +4191,7 @@ export declare const MuiButton: {
4188
4191
  opacity: number;
4189
4192
  };
4190
4193
  '&.MuiButton-loading': {
4194
+ color: string;
4191
4195
  '& .MuiButton-loadingIndicator': {
4192
4196
  color: string;
4193
4197
  };
@@ -5226,6 +5230,7 @@ export declare const MuiButton: {
5226
5230
  opacity: number;
5227
5231
  };
5228
5232
  '&.MuiButton-loading': {
5233
+ color: string;
5229
5234
  '& .MuiButton-loadingIndicator': {
5230
5235
  color: string;
5231
5236
  };
@@ -6264,6 +6269,7 @@ export declare const MuiButton: {
6264
6269
  opacity: number;
6265
6270
  };
6266
6271
  '&.MuiButton-loading': {
6272
+ color: string;
6267
6273
  '& .MuiButton-loadingIndicator': {
6268
6274
  color: string;
6269
6275
  };
@@ -1,44 +1,46 @@
1
- import { brand as u, lightBrand as e, purple as l, lightPurple as p, green as c, lightGreen as d, red as v, lightRed as b, blue as g, lightBlue as y, orange as f, lightOrange as B } from "../theme-primitives.js";
2
- const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n, r, i) => n === "text" || n === "outlined" ? i : r, s = (n, r, i, o) => ({
3
- backgroundColor: a(r.variant, i[700]),
4
- color: t(r.variant, i[50], i[500]),
5
- borderColor: r.variant === "outlined" ? i[300] : "transparent",
1
+ import { brand as u, lightBrand as c, purple as p, lightPurple as e, green as l, lightGreen as d, red as v, lightRed as b, blue as y, lightBlue as g, orange as f, lightOrange as B } from "../theme-primitives.js";
2
+ const o = (i, r) => i === "text" || i === "outlined" ? "transparent" : r, s = (i, r, n) => i === "text" || i === "outlined" ? n : r, t = (i, r, n, a) => ({
3
+ backgroundColor: o(r.variant, n[700]),
4
+ color: s(r.variant, n[50], n[500]),
5
+ borderColor: r.variant === "outlined" ? n[300] : "transparent",
6
6
  "&:hover": {
7
- backgroundColor: a(r.variant, i[800]),
8
- color: t(r.variant, i[100], i[600]),
9
- borderColor: r.variant === "outlined" ? i[400] : "transparent"
7
+ backgroundColor: o(r.variant, n[800]),
8
+ color: s(r.variant, n[100], n[600]),
9
+ borderColor: r.variant === "outlined" ? n[400] : "transparent"
10
10
  },
11
11
  "&:active": { filter: "brightness(1.1)" },
12
12
  "&.Mui-disabled": {
13
- backgroundColor: a(r.variant, i[700]),
14
- color: i[50],
15
- borderColor: r.variant === "outlined" ? i[900] : "transparent",
13
+ backgroundColor: o(r.variant, n[700]),
14
+ color: n[50],
15
+ borderColor: r.variant === "outlined" ? n[900] : "transparent",
16
16
  opacity: 0.5
17
17
  },
18
18
  "&.MuiButton-loading": {
19
+ color: s(r.variant, n[50], n[500]),
19
20
  "& .MuiButton-loadingIndicator": {
20
- color: i[50]
21
+ color: s(r.variant, n[50], n[500])
21
22
  }
22
23
  },
23
- ...n.applyStyles("dark", {
24
- backgroundColor: a(r.variant, o[800]),
25
- color: t(r.variant, o[100], o[500]),
26
- borderColor: r.variant === "outlined" ? o[800] : "transparent",
24
+ ...i.applyStyles("dark", {
25
+ backgroundColor: o(r.variant, a[800]),
26
+ color: s(r.variant, a[100], a[500]),
27
+ borderColor: r.variant === "outlined" ? a[800] : "transparent",
27
28
  "&:hover": {
28
- backgroundColor: a(r.variant, o[900]),
29
- color: t(r.variant, o[50], o[600]),
30
- borderColor: r.variant === "outlined" ? o[900] : "transparent"
29
+ backgroundColor: o(r.variant, a[900]),
30
+ color: s(r.variant, a[50], a[600]),
31
+ borderColor: r.variant === "outlined" ? a[900] : "transparent"
31
32
  },
32
33
  "&:active": { filter: "brightness(1.1)" },
33
34
  "&.Mui-disabled": {
34
- backgroundColor: a(r.variant, o[800]),
35
- color: o[100],
36
- borderColor: r.variant === "outlined" ? o[900] : "transparent",
35
+ backgroundColor: o(r.variant, a[800]),
36
+ color: a[100],
37
+ borderColor: r.variant === "outlined" ? a[900] : "transparent",
37
38
  opacity: 0.5
38
39
  },
39
40
  "&.MuiButton-loading": {
41
+ color: s(r.variant, a[100], a[500]),
40
42
  "& .MuiButton-loadingIndicator": {
41
- color: o[100]
43
+ color: s(r.variant, a[100], a[500])
42
44
  }
43
45
  }
44
46
  })
@@ -47,9 +49,9 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
47
49
  variant: "contained"
48
50
  },
49
51
  styleOverrides: {
50
- root: ({ theme: n, ownerState: r }) => ({
52
+ root: ({ theme: i, ownerState: r }) => ({
51
53
  boxShadow: "none",
52
- borderRadius: (n.vars || n).shape.borderRadius,
54
+ borderRadius: (i.vars || i).shape.borderRadius,
53
55
  textTransform: "none",
54
56
  transition: "all 0.2s ease-in-out",
55
57
  variants: [
@@ -85,7 +87,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
85
87
  color: "primary"
86
88
  },
87
89
  style: {
88
- ...s(n, r, e, u)
90
+ ...t(i, r, c, u)
89
91
  }
90
92
  },
91
93
  {
@@ -93,7 +95,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
93
95
  color: "secondary"
94
96
  },
95
97
  style: {
96
- ...s(n, r, p, l)
98
+ ...t(i, r, e, p)
97
99
  }
98
100
  },
99
101
  {
@@ -101,7 +103,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
101
103
  color: "success"
102
104
  },
103
105
  style: {
104
- ...s(n, r, d, c)
106
+ ...t(i, r, d, l)
105
107
  }
106
108
  },
107
109
  {
@@ -109,7 +111,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
109
111
  color: "error"
110
112
  },
111
113
  style: {
112
- ...s(n, r, b, v)
114
+ ...t(i, r, b, v)
113
115
  }
114
116
  },
115
117
  {
@@ -117,7 +119,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
117
119
  color: "info"
118
120
  },
119
121
  style: {
120
- ...s(n, r, y, g)
122
+ ...t(i, r, g, y)
121
123
  }
122
124
  },
123
125
  {
@@ -125,7 +127,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
125
127
  color: "warning"
126
128
  },
127
129
  style: {
128
- ...s(n, r, B, f)
130
+ ...t(i, r, B, f)
129
131
  }
130
132
  }
131
133
  ]
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.190",
6
+ "version": "1.0.191",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "type": "module",
9
9
  "main": "dist/main.js",