@solostylist/ui-kit 1.0.6 → 1.0.9

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 (83) hide show
  1. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +1 -1
  2. package/dist/AppDataTable/AppDataTable.js +30 -29
  3. package/dist/AppDialogConfirm/AppDialogConfirm.js +1 -1
  4. package/dist/AppDialogMessage/AppDialogMessage.js +1 -1
  5. package/dist/AppFileDropzone/AppFileDropzone.js +3 -3
  6. package/dist/AppFileIcon/AppFileIcon.js +1 -1
  7. package/dist/AppMultiSelect/AppMultiSelect.js +2 -2
  8. package/dist/AppOption/AppOption.js +1 -1
  9. package/dist/AppTextEditor/AppTextEditor.js +1 -1
  10. package/dist/AppTextEditor/TextEditorToolbar.js +299 -303
  11. package/dist/AppTip/AppTip.js +2 -2
  12. package/dist/{Box-MNdIcw0w.js → Box-DyPisl7H.js} +11 -11
  13. package/dist/{ButtonBase-D7WZejV5.js → ButtonBase-C9K74oZC.js} +117 -120
  14. package/dist/{Menu-BymLGoMc.js → Menu-DrTy5vbc.js} +30 -30
  15. package/dist/{MenuItem-l3xZOND-.js → MenuItem-CSmlAERi.js} +84 -88
  16. package/dist/SThemeProvider/SThemeProvider.d.ts +12 -0
  17. package/dist/SThemeProvider/SThemeProvider.js +35 -0
  18. package/dist/SThemeProvider/index.d.ts +1 -0
  19. package/dist/SThemeProvider/index.js +4 -0
  20. package/dist/{Stack-CxKx2YGj.js → Stack-CP2l9Ko9.js} +14 -15
  21. package/dist/{Typography-QQx_YSAW.js → Typography-CgNLUV5h.js} +49 -54
  22. package/dist/backdropClasses-lc38rgzd.js +10 -0
  23. package/dist/buttonBaseClasses-DxKwiRBX.js +10 -0
  24. package/dist/createSvgIcon-CoYExp5F.js +247 -0
  25. package/dist/{createTheme-dX0MILsf.js → createTheme-BZxWCiBm.js} +9 -10
  26. package/dist/{extendSxProp-CTBBOYHX.js → extendSxProp-SCsFy5tr.js} +1 -1
  27. package/dist/generateUtilityClass-CRH_bFW6.js +34 -0
  28. package/dist/generateUtilityClasses-STjIp_B9.js +10 -0
  29. package/dist/iconButtonClasses-CqYTUZq-.js +10 -0
  30. package/dist/{clsx-DfguY6FT.js → identifier-CHPjnqaz.js} +50 -48
  31. package/dist/{index-f-gkJ93Q.js → index-BB439voV.js} +11 -10
  32. package/dist/{inputBaseClasses-s6dljKxi.js → inputBaseClasses-BRd7g4Od.js} +6 -5
  33. package/dist/{listItemIconClasses-CTdclC9V.js → listItemIconClasses-D-kc0Y9u.js} +1 -1
  34. package/dist/main.d.ts +1 -1
  35. package/dist/main.js +6 -6
  36. package/dist/memoTheme-B7hT_l31.js +291 -0
  37. package/dist/menuItemClasses-BxqenSTj.js +12 -0
  38. package/dist/outlinedInputClasses-BTtPbpE5.js +14 -0
  39. package/dist/{paperClasses-Bf2rrWVr.js → paperClasses-D1WMlaxU.js} +6 -5
  40. package/dist/selectClasses-BaagNb21.js +10 -0
  41. package/dist/styles/theme/components/autocomplete.js +2 -2
  42. package/dist/styles/theme/components/backdrop.js +1 -1
  43. package/dist/styles/theme/components/button.js +1 -1
  44. package/dist/styles/theme/components/card-header.js +1 -1
  45. package/dist/styles/theme/components/card.js +1 -1
  46. package/dist/styles/theme/components/filled-input.js +1 -1
  47. package/dist/styles/theme/components/input.js +1 -1
  48. package/dist/styles/theme/components/menu-item.js +1 -1
  49. package/dist/styles/theme/components/outlined-input.js +2 -2
  50. package/dist/styles/theme/components/table-head.js +1 -1
  51. package/dist/styles/theme/components/tabs.js +5 -4
  52. package/dist/styles/theme/customizations/data-display.d.ts +2 -0
  53. package/dist/styles/theme/customizations/data-display.js +234 -0
  54. package/dist/styles/theme/customizations/feedback.d.ts +2 -0
  55. package/dist/styles/theme/customizations/feedback.js +47 -0
  56. package/dist/styles/theme/customizations/inputs.d.ts +2 -0
  57. package/dist/styles/theme/customizations/inputs.js +447 -0
  58. package/dist/styles/theme/customizations/navigation.d.ts +2 -0
  59. package/dist/styles/theme/customizations/navigation.js +276 -0
  60. package/dist/styles/theme/customizations/surfaces.d.ts +2 -0
  61. package/dist/styles/theme/customizations/surfaces.js +112 -0
  62. package/dist/styles/theme/theme-primitives.d.ts +366 -0
  63. package/dist/styles/theme/theme-primitives.js +351 -0
  64. package/dist/svgIconClasses-SzHbWjUv.js +10 -0
  65. package/dist/tabClasses-CDDkt7la.js +5 -0
  66. package/dist/tableCellClasses-CBw1aep0.js +10 -0
  67. package/dist/typographyClasses-BrhUWCU3.js +10 -0
  68. package/dist/useControlled-QI8qSFYJ.js +38 -0
  69. package/dist/{useSlot-Tj9CW-Xc.js → useSlot-CX_V7IfD.js} +2 -2
  70. package/dist/{useTheme-CNZ6Hnpo.js → useTheme-DrS6mww6.js} +3 -3
  71. package/package.json +2 -2
  72. package/dist/AppThemeProvider/AppThemeProvider.d.ts +0 -9
  73. package/dist/AppThemeProvider/AppThemeProvider.js +0 -141
  74. package/dist/AppThemeProvider/index.d.ts +0 -1
  75. package/dist/AppThemeProvider/index.js +0 -4
  76. package/dist/DefaultPropsProvider-Cw67t9bx.js +0 -71
  77. package/dist/backdropClasses-DDhytLTQ.js +0 -9
  78. package/dist/generateUtilityClasses-CuEy5gtx.js +0 -41
  79. package/dist/memoTheme-DOlCkXD8.js +0 -223
  80. package/dist/outlinedInputClasses-rXE3T3sa.js +0 -13
  81. package/dist/tableCellClasses-BIg5orIQ.js +0 -9
  82. package/dist/useControlled-DyL3m721.js +0 -287
  83. /package/dist/{AppThemeProvider → SThemeProvider}/package.json +0 -0
@@ -1,5 +1,5 @@
1
- import { i as e } from "../../../inputBaseClasses-s6dljKxi.js";
2
- import { o } from "../../../outlinedInputClasses-rXE3T3sa.js";
1
+ import { i as e } from "../../../inputBaseClasses-BRd7g4Od.js";
2
+ import { o } from "../../../outlinedInputClasses-BTtPbpE5.js";
3
3
  const i = {
4
4
  styleOverrides: {
5
5
  inputRoot: {
@@ -1,4 +1,4 @@
1
- import { b as o } from "../../../backdropClasses-DDhytLTQ.js";
1
+ import { b as o } from "../../../backdropClasses-lc38rgzd.js";
2
2
  const a = {
3
3
  styleOverrides: {
4
4
  root: { [`&:not(.${o.invisible})`]: { backgroundColor: "var(--mui-palette-Backdrop-bg)" } }
@@ -1,4 +1,4 @@
1
- import { g as a } from "../../../generateUtilityClasses-CuEy5gtx.js";
1
+ import { g as a } from "../../../generateUtilityClasses-STjIp_B9.js";
2
2
  const d = a("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge", "loading", "loadingWrapper", "loadingIconPlaceholder", "loadingIndicator", "loadingPositionCenter", "loadingPositionStart", "loadingPositionEnd"]);
3
3
  function t(e) {
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { g as a } from "../../../generateUtilityClasses-CuEy5gtx.js";
1
+ import { g as a } from "../../../generateUtilityClasses-STjIp_B9.js";
2
2
  const r = a("MuiAvatar", ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"]), t = {
3
3
  defaultProps: { titleTypographyProps: { variant: "h6" }, subheaderTypographyProps: { variant: "body2" } },
4
4
  styleOverrides: {
@@ -1,4 +1,4 @@
1
- import { p as a } from "../../../paperClasses-Bf2rrWVr.js";
1
+ import { p as a } from "../../../paperClasses-D1WMlaxU.js";
2
2
  const o = {
3
3
  styleOverrides: {
4
4
  root: ({ theme: r }) => ({
@@ -1,4 +1,4 @@
1
- import { i } from "../../../inputBaseClasses-s6dljKxi.js";
1
+ import { i } from "../../../inputBaseClasses-BRd7g4Od.js";
2
2
  const a = {
3
3
  defaultProps: { disableUnderline: !0 },
4
4
  styleOverrides: {
@@ -1,4 +1,4 @@
1
- import { i as n } from "../../../inputBaseClasses-s6dljKxi.js";
1
+ import { i as n } from "../../../inputBaseClasses-BRd7g4Od.js";
2
2
  const a = {
3
3
  defaultProps: { disableUnderline: !0 },
4
4
  styleOverrides: {
@@ -1,4 +1,4 @@
1
- import { l as e } from "../../../listItemIconClasses-CTdclC9V.js";
1
+ import { l as e } from "../../../listItemIconClasses-D-kc0Y9u.js";
2
2
  const i = {
3
3
  defaultProps: { disableRipple: !0 },
4
4
  styleOverrides: {
@@ -1,5 +1,5 @@
1
- import { i as t } from "../../../inputBaseClasses-s6dljKxi.js";
2
- import { o } from "../../../outlinedInputClasses-rXE3T3sa.js";
1
+ import { i as t } from "../../../inputBaseClasses-BRd7g4Od.js";
2
+ import { o } from "../../../outlinedInputClasses-BTtPbpE5.js";
3
3
  const n = {
4
4
  defaultProps: { notched: !1 },
5
5
  styleOverrides: {
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../tableCellClasses-BIg5orIQ.js";
1
+ import { t as e } from "../../../tableCellClasses-CBw1aep0.js";
2
2
  const t = {
3
3
  styleOverrides: {
4
4
  root: {
@@ -1,5 +1,6 @@
1
- import { g as e } from "../../../generateUtilityClasses-CuEy5gtx.js";
2
- const o = e("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), t = e("MuiTabs", ["root", "vertical", "list", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), i = {
1
+ import { t as e } from "../../../tabClasses-CDDkt7la.js";
2
+ import { g as r } from "../../../generateUtilityClasses-STjIp_B9.js";
3
+ const t = r("MuiTabs", ["root", "vertical", "list", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), a = {
3
4
  styleOverrides: {
4
5
  flexContainer: { [`&:not(.${t.flexContainerVertical})`]: { gap: "24px" } },
5
6
  indicator: { height: "2px", borderTopLeftRadius: "0px", borderTopRightRadius: "0px" },
@@ -11,10 +12,10 @@ const o = e("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimar
11
12
  right: "auto",
12
13
  width: "4px"
13
14
  },
14
- [`& .${o.root}`]: { justifyContent: "flex-start", paddingInline: "24px" }
15
+ [`& .${e.root}`]: { justifyContent: "flex-start", paddingInline: "24px" }
15
16
  }
16
17
  }
17
18
  };
18
19
  export {
19
- i as MuiTabs
20
+ a as MuiTabs
20
21
  };
@@ -0,0 +1,2 @@
1
+ import { Components, Theme } from '@mui/material/styles';
2
+ export declare const dataDisplayCustomizations: Components<Theme>;
@@ -0,0 +1,234 @@
1
+ import { gray as e, green as l, red as a } from "../theme-primitives.js";
2
+ import { i as n } from "../../../iconButtonClasses-CqYTUZq-.js";
3
+ import { g as s } from "../../../generateUtilityClasses-STjIp_B9.js";
4
+ import { s as i } from "../../../svgIconClasses-SzHbWjUv.js";
5
+ import { b as c } from "../../../buttonBaseClasses-DxKwiRBX.js";
6
+ import { t as d } from "../../../typographyClasses-BrhUWCU3.js";
7
+ import { a as t } from "../../../createTheme-BZxWCiBm.js";
8
+ const r = s("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), m = {
9
+ MuiList: {
10
+ styleOverrides: {
11
+ root: {
12
+ padding: "8px",
13
+ display: "flex",
14
+ flexDirection: "column",
15
+ gap: 0
16
+ }
17
+ }
18
+ },
19
+ MuiListItem: {
20
+ styleOverrides: {
21
+ root: ({ theme: o }) => ({
22
+ [`& .${i.root}`]: {
23
+ width: "1rem",
24
+ height: "1rem",
25
+ color: (o.vars || o).palette.text.secondary
26
+ },
27
+ [`& .${d.root}`]: {
28
+ fontWeight: 500
29
+ },
30
+ [`& .${c.root}`]: {
31
+ display: "flex",
32
+ gap: 8,
33
+ padding: "2px 8px",
34
+ borderRadius: (o.vars || o).shape.borderRadius,
35
+ opacity: 0.7,
36
+ "&.Mui-selected": {
37
+ opacity: 1,
38
+ backgroundColor: t(o.palette.action.selected, 0.3),
39
+ [`& .${i.root}`]: {
40
+ color: (o.vars || o).palette.text.primary
41
+ },
42
+ "&:focus-visible": {
43
+ backgroundColor: t(o.palette.action.selected, 0.3)
44
+ },
45
+ "&:hover": {
46
+ backgroundColor: t(o.palette.action.selected, 0.5)
47
+ }
48
+ },
49
+ "&:focus-visible": {
50
+ backgroundColor: "transparent"
51
+ }
52
+ }
53
+ })
54
+ }
55
+ },
56
+ MuiListItemText: {
57
+ styleOverrides: {
58
+ primary: ({ theme: o }) => ({
59
+ fontSize: o.typography.body2.fontSize,
60
+ fontWeight: 500,
61
+ lineHeight: o.typography.body2.lineHeight
62
+ }),
63
+ secondary: ({ theme: o }) => ({
64
+ fontSize: o.typography.caption.fontSize,
65
+ lineHeight: o.typography.caption.lineHeight
66
+ })
67
+ }
68
+ },
69
+ MuiListSubheader: {
70
+ styleOverrides: {
71
+ root: ({ theme: o }) => ({
72
+ backgroundColor: "transparent",
73
+ padding: "4px 8px",
74
+ fontSize: o.typography.caption.fontSize,
75
+ fontWeight: 500,
76
+ lineHeight: o.typography.caption.lineHeight
77
+ })
78
+ }
79
+ },
80
+ MuiListItemIcon: {
81
+ styleOverrides: {
82
+ root: {
83
+ minWidth: 0
84
+ }
85
+ }
86
+ },
87
+ MuiChip: {
88
+ defaultProps: {
89
+ size: "small"
90
+ },
91
+ styleOverrides: {
92
+ root: ({ theme: o }) => ({
93
+ border: "1px solid",
94
+ borderRadius: "999px",
95
+ [`& .${r.label}`]: {
96
+ fontWeight: 600
97
+ },
98
+ variants: [
99
+ {
100
+ props: {
101
+ color: "default"
102
+ },
103
+ style: {
104
+ borderColor: e[200],
105
+ backgroundColor: e[100],
106
+ [`& .${r.label}`]: {
107
+ color: e[500]
108
+ },
109
+ [`& .${r.icon}`]: {
110
+ color: e[500]
111
+ },
112
+ ...o.applyStyles("dark", {
113
+ borderColor: e[700],
114
+ backgroundColor: e[800],
115
+ [`& .${r.label}`]: {
116
+ color: e[300]
117
+ },
118
+ [`& .${r.icon}`]: {
119
+ color: e[300]
120
+ }
121
+ })
122
+ }
123
+ },
124
+ {
125
+ props: {
126
+ color: "success"
127
+ },
128
+ style: {
129
+ borderColor: l[200],
130
+ backgroundColor: l[50],
131
+ [`& .${r.label}`]: {
132
+ color: l[500]
133
+ },
134
+ [`& .${r.icon}`]: {
135
+ color: l[500]
136
+ },
137
+ ...o.applyStyles("dark", {
138
+ borderColor: l[800],
139
+ backgroundColor: l[900],
140
+ [`& .${r.label}`]: {
141
+ color: l[300]
142
+ },
143
+ [`& .${r.icon}`]: {
144
+ color: l[300]
145
+ }
146
+ })
147
+ }
148
+ },
149
+ {
150
+ props: {
151
+ color: "error"
152
+ },
153
+ style: {
154
+ borderColor: a[100],
155
+ backgroundColor: a[50],
156
+ [`& .${r.label}`]: {
157
+ color: a[500]
158
+ },
159
+ [`& .${r.icon}`]: {
160
+ color: a[500]
161
+ },
162
+ ...o.applyStyles("dark", {
163
+ borderColor: a[800],
164
+ backgroundColor: a[900],
165
+ [`& .${r.label}`]: {
166
+ color: a[200]
167
+ },
168
+ [`& .${r.icon}`]: {
169
+ color: a[300]
170
+ }
171
+ })
172
+ }
173
+ },
174
+ {
175
+ props: { size: "small" },
176
+ style: {
177
+ maxHeight: 20,
178
+ [`& .${r.label}`]: {
179
+ fontSize: o.typography.caption.fontSize
180
+ },
181
+ [`& .${i.root}`]: {
182
+ fontSize: o.typography.caption.fontSize
183
+ }
184
+ }
185
+ },
186
+ {
187
+ props: { size: "medium" },
188
+ style: {
189
+ [`& .${r.label}`]: {
190
+ fontSize: o.typography.caption.fontSize
191
+ }
192
+ }
193
+ }
194
+ ]
195
+ })
196
+ }
197
+ },
198
+ MuiTablePagination: {
199
+ styleOverrides: {
200
+ actions: {
201
+ display: "flex",
202
+ gap: 8,
203
+ marginRight: 6,
204
+ [`& .${n.root}`]: {
205
+ minWidth: 0,
206
+ width: 36,
207
+ height: 36
208
+ }
209
+ }
210
+ }
211
+ },
212
+ MuiIcon: {
213
+ defaultProps: {
214
+ fontSize: "small"
215
+ },
216
+ styleOverrides: {
217
+ root: {
218
+ variants: [
219
+ {
220
+ props: {
221
+ fontSize: "small"
222
+ },
223
+ style: {
224
+ fontSize: "1rem"
225
+ }
226
+ }
227
+ ]
228
+ }
229
+ }
230
+ }
231
+ };
232
+ export {
233
+ m as dataDisplayCustomizations
234
+ };
@@ -0,0 +1,2 @@
1
+ import { Components, Theme } from '@mui/material/styles';
2
+ export declare const feedbackCustomizations: Components<Theme>;
@@ -0,0 +1,47 @@
1
+ import { gray as e, orange as o } from "../theme-primitives.js";
2
+ import { a } from "../../../createTheme-BZxWCiBm.js";
3
+ const l = {
4
+ MuiAlert: {
5
+ styleOverrides: {
6
+ root: ({ theme: r }) => ({
7
+ borderRadius: 10,
8
+ backgroundColor: o[100],
9
+ color: (r.vars || r).palette.text.primary,
10
+ border: `1px solid ${a(o[300], 0.5)}`,
11
+ "& .MuiAlert-icon": {
12
+ color: o[500]
13
+ },
14
+ ...r.applyStyles("dark", {
15
+ backgroundColor: `${a(o[900], 0.5)}`,
16
+ border: `1px solid ${a(o[800], 0.5)}`
17
+ })
18
+ })
19
+ }
20
+ },
21
+ MuiDialog: {
22
+ styleOverrides: {
23
+ root: ({ theme: r }) => ({
24
+ "& .MuiDialog-paper": {
25
+ borderRadius: "10px",
26
+ border: "1px solid",
27
+ borderColor: (r.vars || r).palette.divider
28
+ }
29
+ })
30
+ }
31
+ },
32
+ MuiLinearProgress: {
33
+ styleOverrides: {
34
+ root: ({ theme: r }) => ({
35
+ height: 8,
36
+ borderRadius: 8,
37
+ backgroundColor: e[200],
38
+ ...r.applyStyles("dark", {
39
+ backgroundColor: e[800]
40
+ })
41
+ })
42
+ }
43
+ }
44
+ };
45
+ export {
46
+ l as feedbackCustomizations
47
+ };
@@ -0,0 +1,2 @@
1
+ import { Components, Theme } from '@mui/material/styles';
2
+ export declare const inputsCustomizations: Components<Theme>;