@solostylist/ui-kit 1.0.46 → 1.0.48
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as s from "react";
|
|
3
3
|
import { createTheme as p, ThemeProvider as c } from "@mui/material";
|
|
4
4
|
import { components as f } from "../theme/components/components.js";
|
|
5
5
|
import { dataDisplayCustomizations as u } from "../theme/customizations/data-display.js";
|
|
6
|
-
import { feedbackCustomizations as
|
|
7
|
-
import { inputsCustomizations as
|
|
6
|
+
import { feedbackCustomizations as h } from "../theme/customizations/feedback.js";
|
|
7
|
+
import { inputsCustomizations as d } from "../theme/customizations/inputs.js";
|
|
8
8
|
import { navigationCustomizations as l } from "../theme/customizations/navigation.js";
|
|
9
9
|
import { surfacesCustomizations as x } from "../theme/customizations/surfaces.js";
|
|
10
10
|
import { shape as z, shadows as g, typography as j, colorSchemes as S } from "../theme/theme-primitives.js";
|
|
@@ -12,41 +12,38 @@ const w = ({
|
|
|
12
12
|
children: r,
|
|
13
13
|
disableCustomTheme: o,
|
|
14
14
|
themeComponents: t,
|
|
15
|
-
defaultMode:
|
|
16
|
-
theme:
|
|
17
|
-
...
|
|
15
|
+
defaultMode: m = "dark",
|
|
16
|
+
theme: i,
|
|
17
|
+
...a
|
|
18
18
|
}) => {
|
|
19
|
-
const n =
|
|
19
|
+
const n = s.useMemo(() => o ? {} : p({
|
|
20
20
|
// For more details about CSS variables configuration, see https://mui.com/material-ui/customization/css-theme-variables/configuration/
|
|
21
21
|
cssVariables: {
|
|
22
22
|
colorSchemeSelector: "data-mui-color-scheme",
|
|
23
23
|
cssVarPrefix: "s"
|
|
24
24
|
},
|
|
25
|
-
palette: {
|
|
26
|
-
mode: "dark"
|
|
27
|
-
},
|
|
28
25
|
colorSchemes: S,
|
|
29
26
|
// Recently added in v6 for building light & dark mode app, see https://mui.com/material-ui/customization/palette/#color-schemes
|
|
30
27
|
typography: j,
|
|
31
28
|
shadows: g,
|
|
32
29
|
shape: z,
|
|
33
30
|
components: {
|
|
34
|
-
...h,
|
|
35
|
-
...u,
|
|
36
31
|
...d,
|
|
32
|
+
...u,
|
|
33
|
+
...h,
|
|
37
34
|
...l,
|
|
38
35
|
...x,
|
|
39
36
|
...f,
|
|
40
37
|
...t
|
|
41
38
|
}
|
|
42
39
|
}), [o, t]);
|
|
43
|
-
return o ? /* @__PURE__ */ e.jsx(
|
|
40
|
+
return o ? /* @__PURE__ */ e.jsx(s.Fragment, { children: r }) : /* @__PURE__ */ e.jsx(
|
|
44
41
|
c,
|
|
45
42
|
{
|
|
46
43
|
disableTransitionOnChange: !0,
|
|
47
|
-
...
|
|
48
|
-
theme: { ...n, ...
|
|
49
|
-
defaultMode:
|
|
44
|
+
...a,
|
|
45
|
+
theme: { ...n, ...i },
|
|
46
|
+
defaultMode: m,
|
|
50
47
|
children: r
|
|
51
48
|
}
|
|
52
49
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as n } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { IconCircleX as s } from "@tabler/icons-react";
|
|
3
|
-
import { gray as
|
|
3
|
+
import { gray as l, green as e, red as a } from "../theme-primitives.js";
|
|
4
4
|
import { i as c } from "../../iconButtonClasses-CpCspPuI.js";
|
|
5
5
|
import { g as d } from "../../generateUtilityClasses-CvAVhM6T.js";
|
|
6
6
|
import { s as i } from "../../svgIconClasses-SRBiyaM8.js";
|
|
7
7
|
import { b as p } from "../../buttonBaseClasses-CTVeu_V8.js";
|
|
8
8
|
import { t as y } from "../../typographyClasses-DVLfmcGt.js";
|
|
9
9
|
import { a as t } from "../../createTheme-CyFSna1a.js";
|
|
10
|
-
const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]),
|
|
10
|
+
const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), $ = {
|
|
11
11
|
MuiList: {
|
|
12
12
|
styleOverrides: {
|
|
13
13
|
root: {
|
|
@@ -104,22 +104,22 @@ const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
104
104
|
color: "default"
|
|
105
105
|
},
|
|
106
106
|
style: {
|
|
107
|
-
borderColor:
|
|
108
|
-
backgroundColor:
|
|
107
|
+
borderColor: l[200],
|
|
108
|
+
backgroundColor: l[100],
|
|
109
109
|
[`& .${r.label}`]: {
|
|
110
|
-
color:
|
|
110
|
+
color: l[500]
|
|
111
111
|
},
|
|
112
112
|
[`& .${r.icon}`]: {
|
|
113
|
-
color:
|
|
113
|
+
color: l[500]
|
|
114
114
|
},
|
|
115
115
|
...o.applyStyles("dark", {
|
|
116
|
-
borderColor:
|
|
117
|
-
backgroundColor:
|
|
116
|
+
borderColor: l[700],
|
|
117
|
+
backgroundColor: l[800],
|
|
118
118
|
[`& .${r.label}`]: {
|
|
119
|
-
color:
|
|
119
|
+
color: l[300]
|
|
120
120
|
},
|
|
121
121
|
[`& .${r.icon}`]: {
|
|
122
|
-
color:
|
|
122
|
+
color: l[300]
|
|
123
123
|
}
|
|
124
124
|
})
|
|
125
125
|
}
|
|
@@ -129,22 +129,22 @@ const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
129
129
|
color: "success"
|
|
130
130
|
},
|
|
131
131
|
style: {
|
|
132
|
-
borderColor:
|
|
133
|
-
backgroundColor:
|
|
132
|
+
borderColor: e[200],
|
|
133
|
+
backgroundColor: e[50],
|
|
134
134
|
[`& .${r.label}`]: {
|
|
135
|
-
color:
|
|
135
|
+
color: e[500]
|
|
136
136
|
},
|
|
137
137
|
[`& .${r.icon}`]: {
|
|
138
|
-
color:
|
|
138
|
+
color: e[500]
|
|
139
139
|
},
|
|
140
140
|
...o.applyStyles("dark", {
|
|
141
|
-
borderColor:
|
|
142
|
-
backgroundColor:
|
|
141
|
+
borderColor: e[800],
|
|
142
|
+
backgroundColor: e[900],
|
|
143
143
|
[`& .${r.label}`]: {
|
|
144
|
-
color:
|
|
144
|
+
color: e[300]
|
|
145
145
|
},
|
|
146
146
|
[`& .${r.icon}`]: {
|
|
147
|
-
color:
|
|
147
|
+
color: e[300]
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
}
|
|
@@ -193,11 +193,27 @@ const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
193
193
|
fontSize: o.typography.caption.fontSize
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
props: { color: "premium" },
|
|
199
|
+
style: {
|
|
200
|
+
background: "linear-gradient(90deg, #18181b 0%, #27272a 100%)",
|
|
201
|
+
color: "#fff",
|
|
202
|
+
border: "1px solid #64748b",
|
|
203
|
+
boxShadow: "0 4px 16px 0 rgba(100,116,139,0.18)",
|
|
204
|
+
[`& .${r.label}`]: {
|
|
205
|
+
color: "#fff",
|
|
206
|
+
fontWeight: 600
|
|
207
|
+
},
|
|
208
|
+
[`& .${r.icon}`]: {
|
|
209
|
+
color: "#fff"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
196
212
|
}
|
|
197
213
|
]
|
|
198
214
|
}),
|
|
199
215
|
labelSmall: { paddingInline: 12 },
|
|
200
|
-
colorSecondary: { color:
|
|
216
|
+
colorSecondary: { color: l[500], backgroundColor: l[100] }
|
|
201
217
|
}
|
|
202
218
|
},
|
|
203
219
|
MuiTablePagination: {
|
|
@@ -235,5 +251,5 @@ const r = d("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
235
251
|
}
|
|
236
252
|
};
|
|
237
253
|
export {
|
|
238
|
-
|
|
254
|
+
$ as dataDisplayCustomizations
|
|
239
255
|
};
|