@solostylist/ui-kit 1.0.37 → 1.0.39
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/theme/components/components.d.ts +7 -0
- package/dist/theme/components/components.js +12 -10
- package/dist/theme/components/form-control.d.ts +7 -0
- package/dist/theme/components/form-control.js +10 -0
- package/dist/theme/customizations/inputs.js +31 -6
- package/dist/theme/customizations/navigation.js +19 -8
- package/dist/theme/customizations/surfaces.js +9 -0
- package/package.json +1 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { MuiAvatar as o } from "./avatar.js";
|
|
2
2
|
import { MuiBackdrop as r } from "./backdrop.js";
|
|
3
3
|
import { MuiContainer as i } from "./container.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
4
|
+
import { MuiFormControl as m } from "./form-control.js";
|
|
5
|
+
import { MuiPopover as t } from "./popover.js";
|
|
6
|
+
import { MuiRating as p } from "./rating.js";
|
|
7
|
+
import { MuiSlider as f } from "./slider.js";
|
|
8
|
+
import { MuiSvgIcon as n } from "./svg-icon.js";
|
|
9
|
+
const l = {
|
|
9
10
|
MuiAvatar: o,
|
|
10
|
-
MuiRating:
|
|
11
|
-
MuiSlider:
|
|
12
|
-
MuiSvgIcon:
|
|
11
|
+
MuiRating: p,
|
|
12
|
+
MuiSlider: f,
|
|
13
|
+
MuiSvgIcon: n,
|
|
13
14
|
MuiContainer: i,
|
|
14
15
|
MuiBackdrop: r,
|
|
15
|
-
MuiPopover:
|
|
16
|
+
MuiPopover: t,
|
|
17
|
+
MuiFormControl: m
|
|
16
18
|
};
|
|
17
19
|
export {
|
|
18
|
-
|
|
20
|
+
l as components
|
|
19
21
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as a } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { c as l } from "../../createSvgIcon-FIMSBrG5.js";
|
|
3
3
|
import { brand as e, gray as r } from "../theme-primitives.js";
|
|
4
|
-
import { o as
|
|
5
|
-
import { g as
|
|
4
|
+
import { o as i } from "../../outlinedInputClasses-Y-zQ9ZHZ.js";
|
|
5
|
+
import { g as d } from "../../generateUtilityClasses-CvAVhM6T.js";
|
|
6
6
|
import { s } from "../../svgIconClasses-SRBiyaM8.js";
|
|
7
7
|
import { a as t } from "../../createTheme-CyFSna1a.js";
|
|
8
8
|
const c = l(/* @__PURE__ */ a.jsx("path", {
|
|
@@ -11,7 +11,7 @@ const c = 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
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 =
|
|
14
|
+
}), "RemoveRounded"), b = d("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]), n = d("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertical", "disabled", "grouped", "groupedHorizontal", "groupedVertical", "fullWidth", "firstButton", "lastButton", "middleButton"]), m = {
|
|
15
15
|
MuiButtonBase: {
|
|
16
16
|
defaultProps: {
|
|
17
17
|
disableTouchRipple: !0,
|
|
@@ -302,11 +302,11 @@ const c = l(/* @__PURE__ */ a.jsx("path", {
|
|
|
302
302
|
root: ({ theme: o }) => ({
|
|
303
303
|
borderRadius: "10px",
|
|
304
304
|
boxShadow: `0 4px 16px ${t(r[400], 0.2)}`,
|
|
305
|
-
[`& .${
|
|
305
|
+
[`& .${n.selected}`]: {
|
|
306
306
|
color: e[500]
|
|
307
307
|
},
|
|
308
308
|
...o.applyStyles("dark", {
|
|
309
|
-
[`& .${
|
|
309
|
+
[`& .${n.selected}`]: {
|
|
310
310
|
color: "#fff"
|
|
311
311
|
},
|
|
312
312
|
boxShadow: `0 4px 16px ${t(e[700], 0.5)}`
|
|
@@ -395,6 +395,31 @@ const c = l(/* @__PURE__ */ a.jsx("path", {
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
},
|
|
398
|
+
MuiAutocomplete: {
|
|
399
|
+
styleOverrides: {
|
|
400
|
+
paper: {
|
|
401
|
+
marginTop: 2
|
|
402
|
+
},
|
|
403
|
+
popupIndicator: {
|
|
404
|
+
background: "none",
|
|
405
|
+
"&:hover": {
|
|
406
|
+
background: "none"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
clearIndicator: {
|
|
410
|
+
background: "none",
|
|
411
|
+
"&:hover": {
|
|
412
|
+
background: "none"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
inputRoot: {
|
|
416
|
+
"& .MuiAutocomplete-input": {
|
|
417
|
+
padding: 0
|
|
418
|
+
// <-- your desired padding
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
398
423
|
MuiOutlinedInput: {
|
|
399
424
|
styleOverrides: {
|
|
400
425
|
input: ({ ownerState: o }) => ({
|
|
@@ -419,7 +444,7 @@ const c = l(/* @__PURE__ */ a.jsx("path", {
|
|
|
419
444
|
"&:hover": {
|
|
420
445
|
borderColor: r[400]
|
|
421
446
|
},
|
|
422
|
-
[`&.${
|
|
447
|
+
[`&.${i.focused}`]: {
|
|
423
448
|
outline: `3px solid ${t(e[500], 0.5)}`,
|
|
424
449
|
borderColor: e[400]
|
|
425
450
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as s } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import * as
|
|
3
|
-
import { c as
|
|
4
|
-
import { gray as r, brand as
|
|
5
|
-
import { g as
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { c as d } from "../../createSvgIcon-FIMSBrG5.js";
|
|
4
|
+
import { gray as r, brand as n } from "../theme-primitives.js";
|
|
5
|
+
import { g as p } from "../../generateUtilityClasses-CvAVhM6T.js";
|
|
6
6
|
import { s as e } from "../../selectClasses-DWL9Cxkn.js";
|
|
7
7
|
import { b as c } from "../../buttonBaseClasses-CTVeu_V8.js";
|
|
8
8
|
import { a } from "../../createTheme-CyFSna1a.js";
|
|
9
|
-
const b =
|
|
9
|
+
const b = d(/* @__PURE__ */ s.jsx("path", {
|
|
10
10
|
d: "m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L12.7 3.7a.996.996 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0zm0 12.34-2.46-2.46a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
|
|
11
|
-
}), "UnfoldMoreRounded"), t =
|
|
11
|
+
}), "UnfoldMoreRounded"), t = p("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), k = {
|
|
12
12
|
MuiMenu: {
|
|
13
13
|
styleOverrides: {
|
|
14
14
|
paper: ({ theme: o }) => ({
|
|
@@ -37,7 +37,18 @@ const b = i(/* @__PURE__ */ s.jsx("path", {
|
|
|
37
37
|
},
|
|
38
38
|
MuiSelect: {
|
|
39
39
|
defaultProps: {
|
|
40
|
-
IconComponent:
|
|
40
|
+
IconComponent: i.forwardRef((o, l) => /* @__PURE__ */ s.jsx(b, { fontSize: "small", ...o, ref: l })),
|
|
41
|
+
MenuProps: {
|
|
42
|
+
anchorOrigin: {
|
|
43
|
+
vertical: "bottom",
|
|
44
|
+
horizontal: "center"
|
|
45
|
+
},
|
|
46
|
+
transformOrigin: {
|
|
47
|
+
vertical: "top",
|
|
48
|
+
horizontal: "center"
|
|
49
|
+
},
|
|
50
|
+
marginThreshold: 0
|
|
51
|
+
}
|
|
41
52
|
},
|
|
42
53
|
styleOverrides: {
|
|
43
54
|
root: ({ theme: o }) => ({
|
|
@@ -112,7 +123,7 @@ const b = i(/* @__PURE__ */ s.jsx("path", {
|
|
|
112
123
|
width: 0
|
|
113
124
|
},
|
|
114
125
|
"&:focus-visible": {
|
|
115
|
-
outline: `3px solid ${a(
|
|
126
|
+
outline: `3px solid ${a(n[500], 0.5)}`,
|
|
116
127
|
outlineOffset: "4px",
|
|
117
128
|
borderRadius: "2px"
|
|
118
129
|
}
|
|
@@ -51,6 +51,15 @@ const i = {
|
|
|
51
51
|
MuiPaper: {
|
|
52
52
|
defaultProps: {
|
|
53
53
|
elevation: 0
|
|
54
|
+
},
|
|
55
|
+
styleOverrides: {
|
|
56
|
+
root: ({ theme: r }) => ({
|
|
57
|
+
backgroundColor: (r.vars || r).palette.background.paper,
|
|
58
|
+
boxShadow: (r.vars || r).shadows[8],
|
|
59
|
+
backgroundImage: (r.vars || r).overlays[8],
|
|
60
|
+
borderRadius: (r.vars || r).shape.borderRadius,
|
|
61
|
+
border: `1px solid ${(r.vars || r).palette.divider}`
|
|
62
|
+
})
|
|
54
63
|
}
|
|
55
64
|
},
|
|
56
65
|
MuiCard: {
|