@solostylist/ui-kit 1.0.182 → 1.0.183

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,8 +1,42 @@
1
- import { i as r } from "../../iconButtonClasses-BMfIhNTh.js";
2
- import { b as i } from "../../buttonBaseClasses-jtnoTmPn.js";
1
+ import { i } from "../../iconButtonClasses-BMfIhNTh.js";
2
+ import { b as e } from "../../buttonBaseClasses-jtnoTmPn.js";
3
+ import { t as a } from "../../typographyClasses-jmoWZuXc.js";
3
4
  import { s as t } from "../../svgIconClasses-C6auqaBA.js";
4
- import { t as e } from "../../typographyClasses-jmoWZuXc.js";
5
- const p = {
5
+ const r = (o) => ({
6
+ alignItems: "center",
7
+ display: "flex",
8
+ gap: 8,
9
+ padding: "0.5rem 1rem",
10
+ borderRadius: (o.vars || o).shape.borderRadius,
11
+ whiteSpace: "nowrap",
12
+ color: (o.vars || o).palette.text.secondary,
13
+ [`& .${t.root}`]: {
14
+ color: (o.vars || o).palette.text.secondary
15
+ },
16
+ "&.Mui-selected": {
17
+ backgroundColor: o.palette.action.selected,
18
+ color: (o.vars || o).palette.text.primary,
19
+ [`& .${t.root}`]: {
20
+ color: (o.vars || o).palette.text.primary
21
+ },
22
+ "&:focus-visible": {
23
+ backgroundColor: o.palette.action.selected
24
+ },
25
+ "&:hover": {
26
+ backgroundColor: o.palette.action.selected
27
+ }
28
+ },
29
+ "&:hover:not(.Mui-selected)": {
30
+ backgroundColor: o.palette.action.hover,
31
+ color: (o.vars || o).palette.text.primary,
32
+ [`& .${t.root}`]: {
33
+ color: (o.vars || o).palette.text.primary
34
+ }
35
+ },
36
+ "&:focus-visible": {
37
+ backgroundColor: "transparent"
38
+ }
39
+ }), d = {
6
40
  MuiTableCell: {
7
41
  styleOverrides: {
8
42
  root: ({ theme: o }) => ({
@@ -26,41 +60,18 @@ const p = {
26
60
  [`& .${t.root}`]: {
27
61
  color: (o.vars || o).palette.text.secondary
28
62
  },
29
- [`& .${e.root}`]: {
63
+ [`& .${a.root}`]: {
30
64
  fontWeight: 500
31
65
  },
32
- [`& .${i.root}`]: {
33
- alignItems: "center",
34
- display: "flex",
35
- gap: 8,
36
- padding: "0.5rem 1rem",
37
- borderRadius: (o.vars || o).shape.borderRadius,
38
- whiteSpace: "nowrap",
39
- color: (o.vars || o).palette.text.secondary,
40
- "&.Mui-selected": {
41
- backgroundColor: o.palette.action.selected,
42
- color: (o.vars || o).palette.text.primary,
43
- [`& .${t.root}`]: {
44
- color: (o.vars || o).palette.text.primary
45
- },
46
- "&:focus-visible": {
47
- backgroundColor: o.palette.action.selected
48
- },
49
- "&:hover": {
50
- backgroundColor: o.palette.action.selected
51
- }
52
- },
53
- "&:hover:not(.Mui-selected)": {
54
- backgroundColor: o.palette.action.hover,
55
- color: (o.vars || o).palette.text.primary
56
- },
57
- "&:focus-visible": {
58
- backgroundColor: "transparent"
59
- }
60
- }
66
+ [`& .${e.root}`]: r(o)
61
67
  })
62
68
  }
63
69
  },
70
+ MuiListItemButton: {
71
+ styleOverrides: {
72
+ root: ({ theme: o }) => r(o)
73
+ }
74
+ },
64
75
  MuiListItemText: {
65
76
  styleOverrides: {
66
77
  primary: ({ theme: o }) => ({
@@ -98,7 +109,7 @@ const p = {
98
109
  display: "flex",
99
110
  gap: 8,
100
111
  marginRight: 6,
101
- [`& .${r.root}`]: {
112
+ [`& .${i.root}`]: {
102
113
  minWidth: 0,
103
114
  width: 36,
104
115
  height: 36
@@ -127,5 +138,5 @@ const p = {
127
138
  }
128
139
  };
129
140
  export {
130
- p as dataDisplayCustomizations
141
+ d as dataDisplayCustomizations
131
142
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.182",
6
+ "version": "1.0.183",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "type": "module",
9
9
  "main": "dist/main.js",