@solostylist/ui-kit 1.0.200 → 1.0.202

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.
Files changed (117) hide show
  1. package/dist/{Select-80JhW337.js → Select-D2l9rDWL.js} +1594 -1594
  2. package/dist/entries/core.d.ts +13 -13
  3. package/dist/entries/core.js +109 -110
  4. package/dist/main.js +175 -176
  5. package/dist/s-date-picker/s-date-picker.js +14 -10
  6. package/dist/s-datetime-picker/s-datetime-picker.js +103 -99
  7. package/dist/s-link/index.d.ts +2 -0
  8. package/dist/s-link/index.js +4 -0
  9. package/dist/{s-button-link/s-button-link.d.ts → s-link/s-link.d.ts} +5 -5
  10. package/dist/s-link/s-link.js +37 -0
  11. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  12. package/dist/s-theme-provider/s-theme-provider.js +24 -35
  13. package/dist/s-tool-bar/index.d.ts +2 -0
  14. package/dist/s-tool-bar/index.js +4 -0
  15. package/dist/{s-ai-tool-bar/s-ai-tool-bar.d.ts → s-tool-bar/s-tool-bar.d.ts} +23 -30
  16. package/dist/s-tool-bar/s-tool-bar.js +478 -0
  17. package/dist/theme/components/accordion-details.d.ts +8 -0
  18. package/dist/theme/components/accordion-details.js +8 -0
  19. package/dist/theme/components/accordion-summary.d.ts +1033 -0
  20. package/dist/theme/components/accordion-summary.js +17 -0
  21. package/dist/theme/components/accordion.d.ts +35 -0
  22. package/dist/theme/components/accordion.js +32 -0
  23. package/dist/theme/components/app-bar.d.ts +24 -0
  24. package/dist/theme/components/app-bar.js +18 -0
  25. package/dist/theme/components/autocomplete.d.ts +31 -0
  26. package/dist/theme/components/autocomplete.js +30 -0
  27. package/dist/theme/components/button-base.d.ts +12 -0
  28. package/dist/theme/components/button-base.js +15 -0
  29. package/dist/theme/components/card-actions.d.ts +7 -0
  30. package/dist/theme/components/card-actions.js +10 -0
  31. package/dist/theme/components/card-content.d.ts +7 -0
  32. package/dist/theme/components/card-content.js +11 -0
  33. package/dist/theme/components/card-header.d.ts +7 -0
  34. package/dist/theme/components/card-header.js +10 -0
  35. package/dist/theme/components/card.d.ts +2046 -0
  36. package/dist/theme/components/card.js +35 -0
  37. package/dist/theme/components/checkbox.d.ts +1046 -0
  38. package/dist/theme/components/checkbox.js +65 -0
  39. package/dist/theme/components/components.js +112 -30
  40. package/dist/theme/components/dialog-actions.d.ts +12 -0
  41. package/dist/theme/components/dialog-actions.js +10 -0
  42. package/dist/theme/components/dialog.d.ts +19 -0
  43. package/dist/theme/components/dialog.js +17 -0
  44. package/dist/theme/components/drawer.d.ts +12 -0
  45. package/dist/theme/components/drawer.js +10 -0
  46. package/dist/theme/components/form-label.d.ts +17 -0
  47. package/dist/theme/components/form-label.js +11 -0
  48. package/dist/theme/components/icon.d.ts +17 -0
  49. package/dist/theme/components/icon.js +22 -0
  50. package/dist/theme/components/input-adornment.d.ts +1027 -0
  51. package/dist/theme/components/input-adornment.js +13 -0
  52. package/dist/theme/components/input-base.d.ts +18 -0
  53. package/dist/theme/components/input-base.js +16 -0
  54. package/dist/theme/components/linear-progress.d.ts +1023 -0
  55. package/dist/theme/components/linear-progress.js +16 -0
  56. package/dist/theme/components/link.d.ts +42 -0
  57. package/dist/theme/components/link.js +38 -0
  58. package/dist/theme/components/list-item-button.d.ts +155 -0
  59. package/dist/theme/components/list-item-button.js +44 -0
  60. package/dist/theme/components/list-item-icon.d.ts +7 -0
  61. package/dist/theme/components/list-item-icon.js +10 -0
  62. package/dist/theme/components/list-item-text.d.ts +22 -0
  63. package/dist/theme/components/list-item-text.js +16 -0
  64. package/dist/theme/components/list-item.d.ts +92 -0
  65. package/dist/theme/components/list-item.js +20 -0
  66. package/dist/theme/components/list-subheader.d.ts +20 -0
  67. package/dist/theme/components/list-subheader.js +14 -0
  68. package/dist/theme/components/list.d.ts +10 -0
  69. package/dist/theme/components/list.js +13 -0
  70. package/dist/theme/components/menu-item.d.ts +8 -0
  71. package/dist/theme/components/menu-item.js +8 -0
  72. package/dist/theme/components/menu.d.ts +20 -0
  73. package/dist/theme/components/menu.js +23 -0
  74. package/dist/theme/components/outlined-input.d.ts +81 -0
  75. package/dist/theme/components/outlined-input.js +64 -0
  76. package/dist/theme/components/pagination-item.d.ts +1028 -0
  77. package/dist/theme/components/pagination-item.js +18 -0
  78. package/dist/theme/components/paper.d.ts +5 -0
  79. package/dist/theme/components/paper.js +8 -0
  80. package/dist/theme/components/select.d.ts +7 -0
  81. package/dist/theme/components/select.js +13 -0
  82. package/dist/theme/components/step-connector.d.ts +15 -0
  83. package/dist/theme/components/step-connector.js +13 -0
  84. package/dist/theme/components/step-icon.d.ts +1043 -0
  85. package/dist/theme/components/step-icon.js +46 -0
  86. package/dist/theme/components/step-label.d.ts +1025 -0
  87. package/dist/theme/components/step-label.js +13 -0
  88. package/dist/theme/components/tab.d.ts +1031 -0
  89. package/dist/theme/components/tab.js +34 -0
  90. package/dist/theme/components/table-cell.d.ts +12 -0
  91. package/dist/theme/components/table-cell.js +10 -0
  92. package/dist/theme/components/table-pagination.d.ts +14 -0
  93. package/dist/theme/components/table-pagination.js +18 -0
  94. package/dist/theme/components/tabs.d.ts +1046 -0
  95. package/dist/theme/components/tabs.js +24 -0
  96. package/dist/theme/components/toggle-button-group.d.ts +1024 -0
  97. package/dist/theme/components/toggle-button-group.js +23 -0
  98. package/dist/theme/components/toggle-button.d.ts +1027 -0
  99. package/dist/theme/components/toggle-button.js +21 -0
  100. package/dist/{useMobilePicker-DVnEuXv1.js → useMobilePicker-B-bNHHXB.js} +1 -1
  101. package/package.json +1 -1
  102. package/dist/s-ai-tool-bar/index.d.ts +0 -2
  103. package/dist/s-ai-tool-bar/index.js +0 -5
  104. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +0 -481
  105. package/dist/s-button-link/index.d.ts +0 -2
  106. package/dist/s-button-link/index.js +0 -4
  107. package/dist/s-button-link/s-button-link.js +0 -37
  108. package/dist/theme/customizations/data-display.d.ts +0 -2
  109. package/dist/theme/customizations/data-display.js +0 -142
  110. package/dist/theme/customizations/feedback.d.ts +0 -2
  111. package/dist/theme/customizations/feedback.js +0 -39
  112. package/dist/theme/customizations/inputs.d.ts +0 -2
  113. package/dist/theme/customizations/inputs.js +0 -230
  114. package/dist/theme/customizations/navigation.d.ts +0 -2
  115. package/dist/theme/customizations/navigation.js +0 -226
  116. package/dist/theme/customizations/surfaces.d.ts +0 -2
  117. package/dist/theme/customizations/surfaces.js +0 -111
@@ -1,142 +0,0 @@
1
- import { i } from "../../iconButtonClasses-BMfIhNTh.js";
2
- import { b as a } from "../../buttonBaseClasses-jtnoTmPn.js";
3
- import { t as e } from "../../typographyClasses-jmoWZuXc.js";
4
- import { s as t } from "../../svgIconClasses-C6auqaBA.js";
5
- const r = (o) => ({
6
- alignItems: "center",
7
- display: "flex",
8
- gap: 8,
9
- padding: "0.5rem 1rem",
10
- borderRadius: 0,
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.vars ?? 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.vars ?? o).palette.action.selected
24
- },
25
- "&:hover": {
26
- backgroundColor: (o.vars ?? o).palette.action.selected
27
- }
28
- },
29
- "&:hover:not(.Mui-selected)": {
30
- backgroundColor: (o.vars ?? 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 = {
40
- MuiTableCell: {
41
- styleOverrides: {
42
- root: ({ theme: o }) => ({
43
- borderColor: (o.vars ?? o).palette.divider
44
- })
45
- }
46
- },
47
- MuiList: {
48
- styleOverrides: {
49
- root: {
50
- paddingY: 1,
51
- display: "flex",
52
- flexDirection: "column",
53
- gap: 0
54
- }
55
- }
56
- },
57
- MuiListItem: {
58
- styleOverrides: {
59
- root: ({ theme: o }) => ({
60
- [`& .${t.root}`]: {
61
- color: (o.vars ?? o).palette.text.secondary
62
- },
63
- [`& .${e.root}`]: {
64
- fontWeight: 500
65
- },
66
- [`& .${a.root}`]: r(o)
67
- })
68
- }
69
- },
70
- MuiListItemButton: {
71
- styleOverrides: {
72
- root: ({ theme: o }) => r(o)
73
- }
74
- },
75
- MuiListItemText: {
76
- styleOverrides: {
77
- primary: ({ theme: o }) => ({
78
- fontSize: o.typography.body2.fontSize,
79
- fontWeight: 500,
80
- lineHeight: o.typography.body2.lineHeight
81
- }),
82
- secondary: ({ theme: o }) => ({
83
- fontSize: o.typography.caption.fontSize,
84
- lineHeight: o.typography.caption.lineHeight
85
- })
86
- }
87
- },
88
- MuiListSubheader: {
89
- styleOverrides: {
90
- root: ({ theme: o }) => ({
91
- backgroundColor: "transparent",
92
- padding: "4px 8px",
93
- fontSize: o.typography.caption.fontSize,
94
- fontWeight: 500,
95
- lineHeight: o.typography.caption.lineHeight
96
- })
97
- }
98
- },
99
- MuiListItemIcon: {
100
- styleOverrides: {
101
- root: {
102
- minWidth: 0
103
- }
104
- }
105
- },
106
- MuiTablePagination: {
107
- styleOverrides: {
108
- actions: {
109
- display: "flex",
110
- gap: 8,
111
- marginRight: 6,
112
- [`& .${i.root}`]: {
113
- minWidth: 0,
114
- width: 36,
115
- height: 36
116
- }
117
- }
118
- }
119
- },
120
- MuiIcon: {
121
- defaultProps: {
122
- fontSize: "small"
123
- },
124
- styleOverrides: {
125
- root: {
126
- variants: [
127
- {
128
- props: {
129
- fontSize: "small"
130
- },
131
- style: {
132
- fontSize: "0.75rem"
133
- }
134
- }
135
- ]
136
- }
137
- }
138
- }
139
- };
140
- export {
141
- d as dataDisplayCustomizations
142
- };
@@ -1,2 +0,0 @@
1
- import { Components, Theme } from '@mui/material/styles';
2
- export declare const feedbackCustomizations: Components<Theme>;
@@ -1,39 +0,0 @@
1
- import { gray as r } from "../theme-primitives.js";
2
- const i = {
3
- MuiDialog: {
4
- styleOverrides: {
5
- root: ({ theme: o }) => ({
6
- "& .MuiDialog-paper": {
7
- borderRadius: "10px",
8
- border: "1px solid",
9
- borderColor: (o.vars ?? o).palette.divider,
10
- backgroundColor: (o.vars ?? o).palette.background.paper,
11
- backgroundImage: "none",
12
- boxShadow: "none"
13
- }
14
- })
15
- }
16
- },
17
- MuiDialogActions: {
18
- styleOverrides: {
19
- root: ({ theme: o }) => ({
20
- padding: `${o.spacing(2)} ${o.spacing(3)}`
21
- })
22
- }
23
- },
24
- MuiLinearProgress: {
25
- styleOverrides: {
26
- root: ({ theme: o }) => ({
27
- height: 8,
28
- borderRadius: 8,
29
- backgroundColor: r[200],
30
- ...o.applyStyles("dark", {
31
- backgroundColor: r[800]
32
- })
33
- })
34
- }
35
- }
36
- };
37
- export {
38
- i as feedbackCustomizations
39
- };
@@ -1,2 +0,0 @@
1
- import { Components, Theme } from '@mui/material/styles';
2
- export declare const inputsCustomizations: Components<Theme>;
@@ -1,230 +0,0 @@
1
- import { j as i } from "../../jsx-runtime-tc70JA_2.js";
2
- import { c as d } from "../../createSvgIcon-BkbeLOhM.js";
3
- import { brand as e, gray as t } from "../theme-primitives.js";
4
- import { o as n } from "../../outlinedInputClasses-DnwW3ujt.js";
5
- import { g as l } from "../../generateUtilityClasses-E9gROIFd.js";
6
- import { a as r } from "../../createTheme-DgoJyWM-.js";
7
- const p = d(/* @__PURE__ */ i.jsx("path", {
8
- 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"
9
- }), "CheckBoxOutlineBlankRounded"), u = d(/* @__PURE__ */ i.jsx("path", {
10
- 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"
11
- }), "CheckRounded"), c = d(/* @__PURE__ */ i.jsx("path", {
12
- d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"
13
- }), "RemoveRounded"), b = l("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]), s = l("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertical", "disabled", "grouped", "groupedHorizontal", "groupedVertical", "fullWidth", "firstButton", "lastButton", "middleButton"]), f = {
14
- MuiButtonBase: {
15
- defaultProps: {
16
- disableTouchRipple: !0,
17
- disableRipple: !0
18
- },
19
- styleOverrides: {
20
- root: {
21
- boxSizing: "border-box",
22
- transition: "all 100ms ease-in"
23
- }
24
- }
25
- },
26
- MuiToggleButtonGroup: {
27
- styleOverrides: {
28
- root: ({ theme: o }) => ({
29
- borderRadius: "10px",
30
- boxShadow: `0 4px 16px ${r(t[400], 0.2)}`,
31
- [`& .${s.selected}`]: {
32
- color: e[500]
33
- },
34
- ...o.applyStyles("dark", {
35
- [`& .${s.selected}`]: {
36
- color: "#fff"
37
- },
38
- boxShadow: `0 4px 16px ${r(e[700], 0.5)}`
39
- })
40
- })
41
- }
42
- },
43
- MuiToggleButton: {
44
- styleOverrides: {
45
- root: ({ theme: o }) => ({
46
- padding: "12px 16px",
47
- textTransform: "none",
48
- borderRadius: "10px",
49
- fontWeight: 500,
50
- ...o.applyStyles("dark", {
51
- color: t[400],
52
- [`&.${b.selected}`]: {
53
- color: e[300]
54
- }
55
- })
56
- })
57
- }
58
- },
59
- MuiCheckbox: {
60
- defaultProps: {
61
- disableRipple: !0,
62
- icon: /* @__PURE__ */ i.jsx(p, { sx: { color: "hsla(210, 0%, 0%, 0.0)" } }),
63
- checkedIcon: /* @__PURE__ */ i.jsx(u, { sx: { height: 14, width: 14 } }),
64
- indeterminateIcon: /* @__PURE__ */ i.jsx(c, { sx: { height: 14, width: 14 } })
65
- },
66
- styleOverrides: {
67
- root: ({ theme: o }) => ({
68
- margin: 8,
69
- marginLeft: 0,
70
- height: 16,
71
- width: 16,
72
- borderRadius: 5,
73
- border: "1px solid",
74
- borderColor: r(t[300], 0.8),
75
- boxShadow: "0 0 0 1.5px hsla(210, 0%, 0%, 0.04) inset",
76
- backgroundColor: r(t[100], 0.4),
77
- transition: "border-color, background-color, 120ms ease-in",
78
- "&:hover": {
79
- borderColor: e[300]
80
- },
81
- "&.Mui-focusVisible": {
82
- outline: `3px solid ${r(e[500], 0.5)}`,
83
- outlineOffset: "2px",
84
- borderColor: e[400]
85
- },
86
- "&.Mui-checked": {
87
- color: "white",
88
- backgroundColor: e[500],
89
- borderColor: e[500],
90
- boxShadow: "none",
91
- "&:hover": {
92
- backgroundColor: e[600]
93
- }
94
- },
95
- ...o.applyStyles("dark", {
96
- borderColor: r(t[700], 0.8),
97
- boxShadow: "0 0 0 1.5px hsl(210, 0%, 0%) inset",
98
- backgroundColor: r(t[900], 0.8),
99
- "&:hover": {
100
- borderColor: e[300]
101
- },
102
- "&.Mui-focusVisible": {
103
- borderColor: e[400],
104
- outline: `3px solid ${r(e[500], 0.5)}`,
105
- outlineOffset: "2px"
106
- }
107
- })
108
- })
109
- }
110
- },
111
- MuiInputBase: {
112
- styleOverrides: {
113
- root: {
114
- border: "none"
115
- },
116
- input: ({ theme: o }) => ({
117
- "&::placeholder": {
118
- opacity: 1,
119
- color: (o.vars ?? o).palette.divider
120
- }
121
- })
122
- }
123
- },
124
- MuiAutocomplete: {
125
- styleOverrides: {
126
- paper: ({ theme: o }) => ({
127
- marginTop: 2,
128
- border: "1px solid",
129
- borderColor: (o.vars ?? o).palette.divider
130
- }),
131
- popupIndicator: {
132
- background: "none",
133
- "&:hover": {
134
- background: "none"
135
- }
136
- },
137
- clearIndicator: {
138
- background: "none",
139
- "&:hover": {
140
- background: "none"
141
- }
142
- },
143
- inputRoot: {
144
- "& .MuiAutocomplete-input": {
145
- padding: 0
146
- // <-- your desired padding
147
- }
148
- }
149
- }
150
- },
151
- MuiOutlinedInput: {
152
- styleOverrides: {
153
- input: ({ ownerState: o, theme: a }) => ({
154
- padding: 0,
155
- ...o.type === "number" && {
156
- // Remove spinner buttons (cross-browser)
157
- "&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
158
- WebkitAppearance: "none",
159
- margin: 0
160
- },
161
- MozAppearance: "textfield"
162
- // Firefox
163
- },
164
- "&:-webkit-autofill": {
165
- boxShadow: `${(a.vars ?? a).palette.background.default} 0px 0px 0px 100px inset !important`
166
- },
167
- "&:-moz-autofill": {
168
- boxShadow: `${(a.vars ?? a).palette.background.default} 0px 0px 0px 100px inset !important`
169
- }
170
- }),
171
- root: ({ theme: o }) => ({
172
- padding: "8px 12px",
173
- color: (o.vars ?? o).palette.text.primary,
174
- borderRadius: (o.vars ?? o).shape.borderRadius,
175
- border: `1px solid ${(o.vars ?? o).palette.divider}`,
176
- backgroundColor: (o.vars ?? o).palette.background.default,
177
- transition: "border 120ms ease-in",
178
- "&:hover": {
179
- borderColor: t[500]
180
- },
181
- [`&.${n.focused}`]: {
182
- outline: `3px solid ${r(e[500], 0.5)}`,
183
- borderColor: e[400]
184
- },
185
- variants: [
186
- {
187
- props: {
188
- size: "small"
189
- },
190
- style: {
191
- height: "2.25rem"
192
- }
193
- },
194
- {
195
- props: {
196
- size: "medium"
197
- },
198
- style: {
199
- minHeight: "2.5rem"
200
- }
201
- }
202
- ]
203
- }),
204
- notchedOutline: {
205
- border: "none"
206
- }
207
- }
208
- },
209
- MuiInputAdornment: {
210
- styleOverrides: {
211
- root: ({ theme: o }) => ({
212
- color: (o.vars ?? o).palette.grey[500],
213
- ...o.applyStyles("dark", {
214
- color: (o.vars ?? o).palette.grey[400]
215
- })
216
- })
217
- }
218
- },
219
- MuiFormLabel: {
220
- styleOverrides: {
221
- root: ({ theme: o }) => ({
222
- typography: o.typography.caption,
223
- marginBottom: 8
224
- })
225
- }
226
- }
227
- };
228
- export {
229
- f as inputsCustomizations
230
- };
@@ -1,2 +0,0 @@
1
- import { Components, Theme } from '@mui/material/styles';
2
- export declare const navigationCustomizations: Components<Theme>;
@@ -1,226 +0,0 @@
1
- import { j as e } from "../../jsx-runtime-tc70JA_2.js";
2
- import * as i from "react";
3
- import { c as l } from "../../createSvgIcon-BkbeLOhM.js";
4
- import { gray as a, brand as s } from "../theme-primitives.js";
5
- import { t } from "../../tabClasses-DFvXsFrN.js";
6
- import { a as d } from "../../createTheme-DgoJyWM-.js";
7
- const n = l(/* @__PURE__ */ e.jsx("path", {
8
- 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"
9
- }), "UnfoldMoreRounded"), y = {
10
- MuiAppBar: {
11
- styleOverrides: {
12
- root: ({ theme: r }) => ({
13
- backgroundColor: (r.vars ?? r).palette.background.default,
14
- color: (r.vars ?? r).palette.text.primary,
15
- "&.MuiAppBar-colorPrimary": {
16
- backgroundColor: (r.vars ?? r).palette.background.default
17
- },
18
- boxShadow: "none",
19
- backgroundImage: "none",
20
- borderBottom: "1px solid",
21
- borderColor: (r.vars ?? r).palette.divider
22
- })
23
- }
24
- },
25
- MuiMenu: {
26
- styleOverrides: {
27
- list: {
28
- padding: 0,
29
- paddingTop: 8,
30
- paddingBottom: 8
31
- }
32
- },
33
- defaultProps: {
34
- anchorOrigin: {
35
- vertical: "bottom",
36
- horizontal: "center"
37
- },
38
- transformOrigin: {
39
- vertical: "top",
40
- horizontal: "center"
41
- },
42
- marginThreshold: 0
43
- }
44
- },
45
- MuiMenuItem: {
46
- styleOverrides: {
47
- root: { paddingTop: 8, paddingBottom: 8 }
48
- }
49
- },
50
- MuiSelect: {
51
- defaultProps: {
52
- IconComponent: i.forwardRef((r, o) => /* @__PURE__ */ e.jsx(n, { fontSize: "small", ...r, ref: o }))
53
- }
54
- },
55
- MuiLink: {
56
- defaultProps: {
57
- underline: "none"
58
- },
59
- styleOverrides: {
60
- root: ({ theme: r }) => ({
61
- color: (r.vars ?? r).palette.text.primary,
62
- fontWeight: 500,
63
- position: "relative",
64
- textDecoration: "none",
65
- width: "fit-content",
66
- "&::before": {
67
- content: '""',
68
- position: "absolute",
69
- width: "100%",
70
- height: "1px",
71
- bottom: 0,
72
- left: 0,
73
- backgroundColor: (r.vars ?? r).palette.text.secondary,
74
- opacity: 0.3,
75
- transition: "width 0.3s ease, opacity 0.3s ease"
76
- },
77
- "&:hover::before": {
78
- width: 0
79
- },
80
- "&:focus-visible": {
81
- outline: `3px solid ${d(s[500], 0.5)}`,
82
- outlineOffset: "4px",
83
- borderRadius: "2px"
84
- }
85
- })
86
- }
87
- },
88
- MuiDrawer: {
89
- styleOverrides: {
90
- paper: ({ theme: r }) => ({
91
- backgroundColor: (r.vars ?? r).palette.background.default
92
- })
93
- }
94
- },
95
- MuiPaginationItem: {
96
- styleOverrides: {
97
- root: ({ theme: r }) => ({
98
- ...r.applyStyles("dark", {
99
- "&.Mui-selected": {
100
- color: (r.vars ?? r).palette.grey[900],
101
- backgroundColor: (r.vars ?? r).palette.grey[50],
102
- "&:hover": {
103
- backgroundColor: (r.vars ?? r).palette.grey[200]
104
- }
105
- }
106
- })
107
- })
108
- }
109
- },
110
- MuiTabs: {
111
- styleOverrides: {
112
- root: ({ theme: r, ownerState: o }) => ({
113
- minHeight: "fit-content",
114
- border: 0,
115
- ...o.orientation === "vertical" ? {
116
- borderRight: "1px solid",
117
- borderColor: (r.vars ?? r).palette.divider
118
- } : {
119
- borderBottom: "1px solid",
120
- borderColor: (r.vars ?? r).palette.divider
121
- }
122
- }),
123
- indicator: ({ theme: r }) => ({
124
- backgroundColor: (r.vars ?? r).palette.grey[800],
125
- ...r.applyStyles("dark", {
126
- backgroundColor: (r.vars ?? r).palette.grey[200]
127
- })
128
- })
129
- }
130
- },
131
- MuiTab: {
132
- styleOverrides: {
133
- root: ({ theme: r }) => ({
134
- textTransform: "none",
135
- ".MuiTabs-vertical &": {
136
- alignItems: "flex-start"
137
- },
138
- minWidth: "fit-content",
139
- minHeight: "fit-content",
140
- color: (r.vars ?? r).palette.text.secondary,
141
- borderTopLeftRadius: (r.vars ?? r).shape.borderRadius,
142
- borderTopRightRadius: (r.vars ?? r).shape.borderRadius,
143
- border: 0,
144
- ":hover": {
145
- color: (r.vars ?? r).palette.text.primary
146
- },
147
- [`&.${t.selected}`]: {
148
- color: (r.vars ?? r).palette.text.primary
149
- },
150
- ...r.applyStyles("dark", {
151
- ":hover": {
152
- color: (r.vars ?? r).palette.text.primary
153
- },
154
- [`&.${t.selected}`]: {
155
- color: (r.vars ?? r).palette.text.primary
156
- }
157
- })
158
- })
159
- }
160
- },
161
- MuiStepConnector: {
162
- styleOverrides: {
163
- line: ({ theme: r }) => ({
164
- borderTop: "1px solid",
165
- borderColor: (r.vars ?? r).palette.divider,
166
- flex: 1,
167
- borderRadius: "99px"
168
- })
169
- }
170
- },
171
- MuiStepIcon: {
172
- styleOverrides: {
173
- root: ({ theme: r }) => ({
174
- color: "transparent",
175
- border: `1px solid ${a[400]}`,
176
- width: 12,
177
- height: 12,
178
- borderRadius: "50%",
179
- "& text": {
180
- display: "none"
181
- },
182
- "&.Mui-active": {
183
- border: "none",
184
- color: (r.vars ?? r).palette.primary.main
185
- },
186
- "&.Mui-completed": {
187
- border: "none",
188
- color: (r.vars ?? r).palette.success.main
189
- },
190
- ...r.applyStyles("dark", {
191
- border: `1px solid ${a[700]}`,
192
- "&.Mui-active": {
193
- border: "none",
194
- color: (r.vars ?? r).palette.primary.light
195
- },
196
- "&.Mui-completed": {
197
- border: "none",
198
- color: (r.vars ?? r).palette.success.light
199
- }
200
- }),
201
- variants: [
202
- {
203
- props: { completed: !0 },
204
- style: {
205
- width: 12,
206
- height: 12
207
- }
208
- }
209
- ]
210
- })
211
- }
212
- },
213
- MuiStepLabel: {
214
- styleOverrides: {
215
- label: ({ theme: r }) => ({
216
- "&.Mui-completed": {
217
- opacity: 0.6,
218
- ...r.applyStyles("dark", { opacity: 0.5 })
219
- }
220
- })
221
- }
222
- }
223
- };
224
- export {
225
- y as navigationCustomizations
226
- };
@@ -1,2 +0,0 @@
1
- import { Components, Theme } from '@mui/material/styles';
2
- export declare const surfacesCustomizations: Components<Theme>;