@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.
@@ -64,4 +64,11 @@ export declare const components: {
64
64
  };
65
65
  };
66
66
  };
67
+ MuiFormControl: {
68
+ styleOverrides: {
69
+ root: {
70
+ position: "unset";
71
+ };
72
+ };
73
+ };
67
74
  };
@@ -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 { MuiPopover as m } from "./popover.js";
5
- import { MuiRating as t } from "./rating.js";
6
- import { MuiSlider as p } from "./slider.js";
7
- import { MuiSvgIcon as f } from "./svg-icon.js";
8
- const d = {
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: t,
11
- MuiSlider: p,
12
- MuiSvgIcon: f,
11
+ MuiRating: p,
12
+ MuiSlider: f,
13
+ MuiSvgIcon: n,
13
14
  MuiContainer: i,
14
15
  MuiBackdrop: r,
15
- MuiPopover: m
16
+ MuiPopover: t,
17
+ MuiFormControl: m
16
18
  };
17
19
  export {
18
- d as components
20
+ l as components
19
21
  };
@@ -0,0 +1,7 @@
1
+ export declare const MuiFormControl: {
2
+ styleOverrides: {
3
+ root: {
4
+ position: "unset";
5
+ };
6
+ };
7
+ };
@@ -0,0 +1,10 @@
1
+ const o = {
2
+ styleOverrides: {
3
+ root: {
4
+ position: "unset"
5
+ }
6
+ }
7
+ };
8
+ export {
9
+ o as MuiFormControl
10
+ };
@@ -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 n } from "../../outlinedInputClasses-Y-zQ9ZHZ.js";
5
- import { g as i } from "../../generateUtilityClasses-CvAVhM6T.js";
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 = 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 = {
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
- [`& .${d.selected}`]: {
305
+ [`& .${n.selected}`]: {
306
306
  color: e[500]
307
307
  },
308
308
  ...o.applyStyles("dark", {
309
- [`& .${d.selected}`]: {
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
- [`&.${n.focused}`]: {
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 d from "react";
3
- import { c as i } from "../../createSvgIcon-FIMSBrG5.js";
4
- import { gray as r, brand as p } from "../theme-primitives.js";
5
- import { g as n } from "../../generateUtilityClasses-CvAVhM6T.js";
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 = i(/* @__PURE__ */ s.jsx("path", {
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 = n("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), k = {
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: d.forwardRef((o, l) => /* @__PURE__ */ s.jsx(b, { fontSize: "small", ...o, ref: l }))
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(p[500], 0.5)}`,
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: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.37",
6
+ "version": "1.0.39",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",