@solostylist/ui-kit 1.0.34 → 1.0.35

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.
@@ -2,4 +2,9 @@ export declare const MuiAvatar: {
2
2
  defaultProps: {
3
3
  children: import("react/jsx-runtime").JSX.Element;
4
4
  };
5
+ styleOverrides: {
6
+ rounded: {
7
+ borderRadius: number;
8
+ };
9
+ };
5
10
  };
@@ -1,8 +1,11 @@
1
1
  import { j as r } from "../../jsx-runtime-C5mzlN2N.js";
2
2
  import { IconUser as o } from "@tabler/icons-react";
3
- const e = {
4
- defaultProps: { children: /* @__PURE__ */ r.jsx(o, {}) }
3
+ const t = {
4
+ defaultProps: { children: /* @__PURE__ */ r.jsx(o, {}) },
5
+ styleOverrides: {
6
+ rounded: { borderRadius: 12 }
7
+ }
5
8
  };
6
9
  export {
7
- e as MuiAvatar
10
+ t as MuiAvatar
8
11
  };
@@ -3,5 +3,33 @@ export declare const components: {
3
3
  defaultProps: {
4
4
  children: import("react/jsx-runtime").JSX.Element;
5
5
  };
6
+ styleOverrides: {
7
+ rounded: {
8
+ borderRadius: number;
9
+ };
10
+ };
11
+ };
12
+ MuiRating: {
13
+ styleOverrides: {
14
+ sizeSmall: {
15
+ fontSize: string;
16
+ };
17
+ };
18
+ };
19
+ MuiSlider: {
20
+ styleOverrides: {
21
+ valueLabel: {
22
+ borderRadius: number;
23
+ };
24
+ };
25
+ };
26
+ MuiSvgIcon: {
27
+ styleOverrides: {
28
+ root: {
29
+ '& .secondary': {
30
+ opacity: number;
31
+ };
32
+ };
33
+ };
6
34
  };
7
35
  };
@@ -1,7 +1,13 @@
1
1
  import { MuiAvatar as o } from "./avatar.js";
2
- const r = {
3
- MuiAvatar: o
2
+ import { MuiRating as r } from "./rating.js";
3
+ import { MuiSlider as i } from "./slider.js";
4
+ import { MuiSvgIcon as m } from "./svg-icon.js";
5
+ const u = {
6
+ MuiAvatar: o,
7
+ MuiRating: r,
8
+ MuiSlider: i,
9
+ MuiSvgIcon: m
4
10
  };
5
11
  export {
6
- r as components
12
+ u as components
7
13
  };
@@ -0,0 +1,7 @@
1
+ export declare const MuiRating: {
2
+ styleOverrides: {
3
+ sizeSmall: {
4
+ fontSize: string;
5
+ };
6
+ };
7
+ };
@@ -0,0 +1,8 @@
1
+ const e = {
2
+ styleOverrides: {
3
+ sizeSmall: { fontSize: "1rem" }
4
+ }
5
+ };
6
+ export {
7
+ e as MuiRating
8
+ };
@@ -0,0 +1,7 @@
1
+ export declare const MuiSlider: {
2
+ styleOverrides: {
3
+ valueLabel: {
4
+ borderRadius: number;
5
+ };
6
+ };
7
+ };
@@ -0,0 +1,8 @@
1
+ const e = {
2
+ styleOverrides: {
3
+ valueLabel: { borderRadius: 8 }
4
+ }
5
+ };
6
+ export {
7
+ e as MuiSlider
8
+ };
@@ -0,0 +1,9 @@
1
+ export declare const MuiSvgIcon: {
2
+ styleOverrides: {
3
+ root: {
4
+ '& .secondary': {
5
+ opacity: number;
6
+ };
7
+ };
8
+ };
9
+ };
@@ -0,0 +1,10 @@
1
+ const o = {
2
+ styleOverrides: {
3
+ root: {
4
+ "& .secondary": { opacity: 0.4 }
5
+ }
6
+ }
7
+ };
8
+ export {
9
+ o as MuiSvgIcon
10
+ };
@@ -1,17 +1,17 @@
1
- import { j as t } from "../../jsx-runtime-C5mzlN2N.js";
1
+ import { j as a } from "../../jsx-runtime-C5mzlN2N.js";
2
2
  import { c as l } from "../../createSvgIcon-GD-thYZm.js";
3
3
  import { brand as e, gray as o } from "../theme-primitives.js";
4
- import { o as i } from "../../outlinedInputClasses-Y-zQ9ZHZ.js";
5
- import { g as n } from "../../generateUtilityClasses-CvAVhM6T.js";
4
+ import { o as n } from "../../outlinedInputClasses-Y-zQ9ZHZ.js";
5
+ import { g as i } from "../../generateUtilityClasses-CvAVhM6T.js";
6
6
  import { s } from "../../svgIconClasses-SRBiyaM8.js";
7
- import { a } from "../../createTheme-CyFSna1a.js";
8
- const p = l(/* @__PURE__ */ t.jsx("path", {
7
+ import { a as t } from "../../createTheme-CyFSna1a.js";
8
+ const c = l(/* @__PURE__ */ a.jsx("path", {
9
9
  d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1m1-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
10
- }), "CheckBoxOutlineBlankRounded"), c = l(/* @__PURE__ */ t.jsx("path", {
10
+ }), "CheckBoxOutlineBlankRounded"), p = l(/* @__PURE__ */ a.jsx("path", {
11
11
  d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
12
- }), "CheckRounded"), u = l(/* @__PURE__ */ t.jsx("path", {
12
+ }), "CheckRounded"), u = l(/* @__PURE__ */ a.jsx("path", {
13
13
  d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"
14
- }), "RemoveRounded"), b = n("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]), d = n("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertical", "disabled", "grouped", "groupedHorizontal", "groupedVertical", "fullWidth", "firstButton", "lastButton", "middleButton"]), m = {
14
+ }), "RemoveRounded"), b = i("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]), d = i("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertical", "disabled", "grouped", "groupedHorizontal", "groupedVertical", "fullWidth", "firstButton", "lastButton", "middleButton"]), m = {
15
15
  MuiButtonBase: {
16
16
  defaultProps: {
17
17
  disableTouchRipple: !0,
@@ -22,7 +22,7 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
22
22
  boxSizing: "border-box",
23
23
  transition: "all 100ms ease-in",
24
24
  "&:focus-visible": {
25
- outline: `3px solid ${a(r.palette.primary.main, 0.5)}`,
25
+ outline: `3px solid ${t(r.palette.primary.main, 0.5)}`,
26
26
  outlineOffset: "2px"
27
27
  }
28
28
  })
@@ -72,6 +72,11 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
72
72
  "&:active": {
73
73
  backgroundColor: o[800]
74
74
  },
75
+ "&.MuiButton-loading": {
76
+ "& .MuiButton-loadingIndicator": {
77
+ color: "white"
78
+ }
79
+ },
75
80
  ...r.applyStyles("dark", {
76
81
  color: "black",
77
82
  backgroundColor: o[50],
@@ -85,6 +90,11 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
85
90
  },
86
91
  "&:active": {
87
92
  backgroundColor: o[400]
93
+ },
94
+ "&.MuiButton-loading": {
95
+ "& .MuiButton-loadingIndicator": {
96
+ color: "black"
97
+ }
88
98
  }
89
99
  })
90
100
  }
@@ -97,8 +107,8 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
97
107
  style: {
98
108
  color: "white",
99
109
  backgroundColor: e[300],
100
- backgroundImage: `linear-gradient(to bottom, ${a(e[400], 0.8)}, ${e[500]})`,
101
- boxShadow: `inset 0 2px 0 ${a(e[200], 0.2)}, inset 0 -2px 0 ${a(e[700], 0.4)}`,
110
+ backgroundImage: `linear-gradient(to bottom, ${t(e[400], 0.8)}, ${e[500]})`,
111
+ boxShadow: `inset 0 2px 0 ${t(e[200], 0.2)}, inset 0 -2px 0 ${t(e[700], 0.4)}`,
102
112
  border: `1px solid ${e[500]}`,
103
113
  "&:hover": {
104
114
  backgroundColor: e[700],
@@ -107,6 +117,11 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
107
117
  "&:active": {
108
118
  backgroundColor: e[700],
109
119
  backgroundImage: "none"
120
+ },
121
+ "&.MuiButton-loading": {
122
+ "& .MuiButton-loadingIndicator": {
123
+ color: "white"
124
+ }
110
125
  }
111
126
  }
112
127
  },
@@ -118,7 +133,7 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
118
133
  color: (r.vars || r).palette.text.primary,
119
134
  border: "1px solid",
120
135
  borderColor: o[200],
121
- backgroundColor: a(o[50], 0.3),
136
+ backgroundColor: t(o[50], 0.3),
122
137
  "&:hover": {
123
138
  backgroundColor: o[100],
124
139
  borderColor: o[300]
@@ -126,6 +141,11 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
126
141
  "&:active": {
127
142
  backgroundColor: o[200]
128
143
  },
144
+ "&.MuiButton-loading": {
145
+ "& .MuiButton-loadingIndicator": {
146
+ color: (r.vars || r).palette.text.primary
147
+ }
148
+ },
129
149
  ...r.applyStyles("dark", {
130
150
  backgroundColor: o[800],
131
151
  borderColor: o[700],
@@ -154,19 +174,19 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
154
174
  borderColor: e[400]
155
175
  },
156
176
  "&:active": {
157
- backgroundColor: a(e[200], 0.7)
177
+ backgroundColor: t(e[200], 0.7)
158
178
  },
159
179
  ...r.applyStyles("dark", {
160
180
  color: e[50],
161
181
  border: "1px solid",
162
182
  borderColor: e[900],
163
- backgroundColor: a(e[900], 0.3),
183
+ backgroundColor: t(e[900], 0.3),
164
184
  "&:hover": {
165
185
  borderColor: e[700],
166
- backgroundColor: a(e[900], 0.6)
186
+ backgroundColor: t(e[900], 0.6)
167
187
  },
168
188
  "&:active": {
169
- backgroundColor: a(e[900], 0.5)
189
+ backgroundColor: t(e[900], 0.5)
170
190
  }
171
191
  })
172
192
  }
@@ -189,7 +209,7 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
189
209
  backgroundColor: o[700]
190
210
  },
191
211
  "&:active": {
192
- backgroundColor: a(o[700], 0.7)
212
+ backgroundColor: t(o[700], 0.7)
193
213
  }
194
214
  })
195
215
  }
@@ -202,18 +222,18 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
202
222
  style: {
203
223
  color: e[700],
204
224
  "&:hover": {
205
- backgroundColor: a(e[100], 0.5)
225
+ backgroundColor: t(e[100], 0.5)
206
226
  },
207
227
  "&:active": {
208
- backgroundColor: a(e[200], 0.7)
228
+ backgroundColor: t(e[200], 0.7)
209
229
  },
210
230
  ...r.applyStyles("dark", {
211
231
  color: e[100],
212
232
  "&:hover": {
213
- backgroundColor: a(e[900], 0.5)
233
+ backgroundColor: t(e[900], 0.5)
214
234
  },
215
235
  "&:active": {
216
- backgroundColor: a(e[900], 0.3)
236
+ backgroundColor: t(e[900], 0.3)
217
237
  }
218
238
  })
219
239
  }
@@ -281,7 +301,7 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
281
301
  styleOverrides: {
282
302
  root: ({ theme: r }) => ({
283
303
  borderRadius: "10px",
284
- boxShadow: `0 4px 16px ${a(o[400], 0.2)}`,
304
+ boxShadow: `0 4px 16px ${t(o[400], 0.2)}`,
285
305
  [`& .${d.selected}`]: {
286
306
  color: e[500]
287
307
  },
@@ -289,7 +309,7 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
289
309
  [`& .${d.selected}`]: {
290
310
  color: "#fff"
291
311
  },
292
- boxShadow: `0 4px 16px ${a(e[700], 0.5)}`
312
+ boxShadow: `0 4px 16px ${t(e[700], 0.5)}`
293
313
  })
294
314
  })
295
315
  }
@@ -314,9 +334,9 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
314
334
  MuiCheckbox: {
315
335
  defaultProps: {
316
336
  disableRipple: !0,
317
- icon: /* @__PURE__ */ t.jsx(p, { sx: { color: "hsla(210, 0%, 0%, 0.0)" } }),
318
- checkedIcon: /* @__PURE__ */ t.jsx(c, { sx: { height: 14, width: 14 } }),
319
- indeterminateIcon: /* @__PURE__ */ t.jsx(u, { sx: { height: 14, width: 14 } })
337
+ icon: /* @__PURE__ */ a.jsx(c, { sx: { color: "hsla(210, 0%, 0%, 0.0)" } }),
338
+ checkedIcon: /* @__PURE__ */ a.jsx(p, { sx: { height: 14, width: 14 } }),
339
+ indeterminateIcon: /* @__PURE__ */ a.jsx(u, { sx: { height: 14, width: 14 } })
320
340
  },
321
341
  styleOverrides: {
322
342
  root: ({ theme: r }) => ({
@@ -325,15 +345,15 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
325
345
  width: 16,
326
346
  borderRadius: 5,
327
347
  border: "1px solid ",
328
- borderColor: a(o[300], 0.8),
348
+ borderColor: t(o[300], 0.8),
329
349
  boxShadow: "0 0 0 1.5px hsla(210, 0%, 0%, 0.04) inset",
330
- backgroundColor: a(o[100], 0.4),
350
+ backgroundColor: t(o[100], 0.4),
331
351
  transition: "border-color, background-color, 120ms ease-in",
332
352
  "&:hover": {
333
353
  borderColor: e[300]
334
354
  },
335
355
  "&.Mui-focusVisible": {
336
- outline: `3px solid ${a(e[500], 0.5)}`,
356
+ outline: `3px solid ${t(e[500], 0.5)}`,
337
357
  outlineOffset: "2px",
338
358
  borderColor: e[400]
339
359
  },
@@ -347,15 +367,15 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
347
367
  }
348
368
  },
349
369
  ...r.applyStyles("dark", {
350
- borderColor: a(o[700], 0.8),
370
+ borderColor: t(o[700], 0.8),
351
371
  boxShadow: "0 0 0 1.5px hsl(210, 0%, 0%) inset",
352
- backgroundColor: a(o[900], 0.8),
372
+ backgroundColor: t(o[900], 0.8),
353
373
  "&:hover": {
354
374
  borderColor: e[300]
355
375
  },
356
376
  "&.Mui-focusVisible": {
357
377
  borderColor: e[400],
358
- outline: `3px solid ${a(e[500], 0.5)}`,
378
+ outline: `3px solid ${t(e[500], 0.5)}`,
359
379
  outlineOffset: "2px"
360
380
  }
361
381
  })
@@ -399,8 +419,8 @@ const p = l(/* @__PURE__ */ t.jsx("path", {
399
419
  "&:hover": {
400
420
  borderColor: o[400]
401
421
  },
402
- [`&.${i.focused}`]: {
403
- outline: `3px solid ${a(e[500], 0.5)}`,
422
+ [`&.${n.focused}`]: {
423
+ outline: `3px solid ${t(e[500], 0.5)}`,
404
424
  borderColor: e[400]
405
425
  },
406
426
  ...r.applyStyles("dark", {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.34",
6
+ "version": "1.0.35",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",