@movable/ui 0.24.0 → 0.26.0
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/lib/components/Chip/InkChip.d.ts +7 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/ChipGroup/InkChipGroup.d.ts +9 -0
- package/lib/components/ChipGroup/index.d.ts +1 -0
- package/lib/components/InkEmptyTableMessage/InkEmptyTableMessage.d.ts +8 -0
- package/lib/components/InkEmptyTableMessage/index.d.ts +1 -0
- package/lib/index.mjs +2436 -2158
- package/lib/index.mjs.map +1 -1
- package/lib/theme/components/chip.d.ts +305 -0
- package/lib/theme/palette.d.ts +5 -0
- package/package.json +3 -5
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
declare module '@mui/material/Chip' {
|
|
2
|
+
interface ChipPropsVariantOverrides {
|
|
3
|
+
contrastFilled: true;
|
|
4
|
+
}
|
|
5
|
+
interface ChipPropsColorOverrides {
|
|
6
|
+
ai: true;
|
|
7
|
+
inProgress: true;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const chip: {
|
|
11
|
+
MuiChip: {
|
|
12
|
+
styleOverrides: {
|
|
13
|
+
filledDefault: {
|
|
14
|
+
backgroundColor: "#eeeeee";
|
|
15
|
+
color: "#212121";
|
|
16
|
+
'&.MuiChip-clickable': {
|
|
17
|
+
'&:hover, &:focus, &:active': {
|
|
18
|
+
color: "#212121";
|
|
19
|
+
backgroundColor: "#e0e0e0";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'.MuiChip-deleteIcon': {
|
|
23
|
+
color: "#616161";
|
|
24
|
+
opacity: number;
|
|
25
|
+
'&:hover, &:focus, &:active': {
|
|
26
|
+
color: "#616161";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
filledPrimary: {
|
|
31
|
+
backgroundColor: "#e3f2fd";
|
|
32
|
+
color: string;
|
|
33
|
+
'&.MuiChip-clickable': {
|
|
34
|
+
'&:hover, &:focus, &:active': {
|
|
35
|
+
color: string;
|
|
36
|
+
backgroundColor: "#bbdefb";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
'.MuiChip-deleteIcon': {
|
|
40
|
+
color: string;
|
|
41
|
+
opacity: number;
|
|
42
|
+
'&:hover, &:focus, &:active': {
|
|
43
|
+
color: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
filledSecondary: {
|
|
48
|
+
backgroundColor: "#f3e5f5";
|
|
49
|
+
color: string;
|
|
50
|
+
'&.MuiChip-clickable': {
|
|
51
|
+
'&:hover, &:focus, &:active': {
|
|
52
|
+
color: string;
|
|
53
|
+
backgroundColor: "#e1bee7";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
'.MuiChip-deleteIcon': {
|
|
57
|
+
color: "#7b1fa2";
|
|
58
|
+
opacity: number;
|
|
59
|
+
'&:hover, &:focus, &:active': {
|
|
60
|
+
color: "#7b1fa2";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
filledError: {
|
|
65
|
+
backgroundColor: "#ffebee";
|
|
66
|
+
color: string;
|
|
67
|
+
'&.MuiChip-clickable': {
|
|
68
|
+
'&:hover, &:focus, &:active': {
|
|
69
|
+
color: string;
|
|
70
|
+
backgroundColor: "#ffcdd2";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
'.MuiChip-deleteIcon': {
|
|
74
|
+
color: "#c62828";
|
|
75
|
+
opacity: number;
|
|
76
|
+
'&:hover, &:focus, &:active': {
|
|
77
|
+
color: "#c62828";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
filledWarning: {
|
|
82
|
+
backgroundColor: "#fff3e0";
|
|
83
|
+
color: string;
|
|
84
|
+
'&.MuiChip-clickable': {
|
|
85
|
+
'&:hover, &:focus, &:active': {
|
|
86
|
+
color: string;
|
|
87
|
+
backgroundColor: "#ffe0b2";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
'.MuiChip-deleteIcon': {
|
|
91
|
+
color: string;
|
|
92
|
+
opacity: number;
|
|
93
|
+
'&:hover, &:focus, &:active': {
|
|
94
|
+
color: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
filledInfo: {
|
|
99
|
+
backgroundColor: "#e0f7fa";
|
|
100
|
+
color: "#006064";
|
|
101
|
+
'&.MuiChip-clickable': {
|
|
102
|
+
'&:hover, &:focus, &:active': {
|
|
103
|
+
color: "#006064";
|
|
104
|
+
backgroundColor: "#b2ebf2";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
'.MuiChip-deleteIcon': {
|
|
108
|
+
color: "#01579b";
|
|
109
|
+
opacity: number;
|
|
110
|
+
'&:hover, &:focus, &:active': {
|
|
111
|
+
color: "#01579b";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
filledSuccess: {
|
|
116
|
+
backgroundColor: string;
|
|
117
|
+
color: string;
|
|
118
|
+
'&.MuiChip-clickable': {
|
|
119
|
+
'&:hover, &:focus, &:active': {
|
|
120
|
+
color: string;
|
|
121
|
+
backgroundColor: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
'.MuiChip-deleteIcon': {
|
|
125
|
+
color: "#388e3c";
|
|
126
|
+
opacity: number;
|
|
127
|
+
'&:hover, &:focus, &:active': {
|
|
128
|
+
color: "#388e3c";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
filledAi: {
|
|
133
|
+
backgroundColor: "#ede7f6";
|
|
134
|
+
color: "#311b92";
|
|
135
|
+
'&.MuiChip-clickable': {
|
|
136
|
+
'&:hover, &:focus, &:active': {
|
|
137
|
+
color: "#311b92";
|
|
138
|
+
backgroundColor: "#d1c4e9";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
'.MuiChip-deleteIcon': {
|
|
142
|
+
color: "#311b92";
|
|
143
|
+
opacity: number;
|
|
144
|
+
'&:hover, &:focus, &:active': {
|
|
145
|
+
color: "#311b92";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
contrastFilledDefault: {
|
|
150
|
+
color: string;
|
|
151
|
+
backgroundColor: "#616161";
|
|
152
|
+
'&.MuiChip-clickable': {
|
|
153
|
+
'&:hover, &:focus, &:active': {
|
|
154
|
+
color: string;
|
|
155
|
+
backgroundColor: "#424242";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
'.MuiChip-deleteIcon': {
|
|
159
|
+
color: string;
|
|
160
|
+
opacity: number;
|
|
161
|
+
'&:hover, &:focus, &:active': {
|
|
162
|
+
color: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
contrastFilledPrimary: {
|
|
167
|
+
color: string;
|
|
168
|
+
backgroundColor: "#0091ea";
|
|
169
|
+
'&.MuiChip-clickable': {
|
|
170
|
+
'&:hover, &:focus, &:active': {
|
|
171
|
+
color: string;
|
|
172
|
+
backgroundColor: "#01579b";
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
'.MuiChip-deleteIcon': {
|
|
176
|
+
color: string;
|
|
177
|
+
opacity: number;
|
|
178
|
+
'&:hover, &:focus, &:active': {
|
|
179
|
+
color: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
contrastFilledSecondary: {
|
|
184
|
+
color: string;
|
|
185
|
+
backgroundColor: "#aa00ff";
|
|
186
|
+
'&.MuiChip-clickable': {
|
|
187
|
+
'&:hover, &:focus, &:active': {
|
|
188
|
+
color: string;
|
|
189
|
+
backgroundColor: "#7b1fa2";
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
'.MuiChip-deleteIcon': {
|
|
193
|
+
color: string;
|
|
194
|
+
opacity: number;
|
|
195
|
+
'&:hover, &:focus, &:active': {
|
|
196
|
+
color: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
contrastFilledError: {
|
|
201
|
+
color: string;
|
|
202
|
+
backgroundColor: "#d50000";
|
|
203
|
+
'&.MuiChip-clickable': {
|
|
204
|
+
'&:hover, &:focus, &:active': {
|
|
205
|
+
color: string;
|
|
206
|
+
backgroundColor: "#c62828";
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
'.MuiChip-deleteIcon': {
|
|
210
|
+
color: string;
|
|
211
|
+
opacity: number;
|
|
212
|
+
'&:hover,&:focus, &:active': {
|
|
213
|
+
color: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
contrastFilledWarning: {
|
|
218
|
+
color: string;
|
|
219
|
+
backgroundColor: "#f9a825";
|
|
220
|
+
'&.MuiChip-clickable': {
|
|
221
|
+
'&:hover, &:focus, &:active': {
|
|
222
|
+
color: string;
|
|
223
|
+
backgroundColor: "#f57f17";
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
'.MuiChip-deleteIcon': {
|
|
227
|
+
color: string;
|
|
228
|
+
opacity: number;
|
|
229
|
+
'&:hover,&:focus, &:active': {
|
|
230
|
+
color: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
contrastFilledInfo: {
|
|
235
|
+
color: string;
|
|
236
|
+
backgroundColor: "#00b8d4";
|
|
237
|
+
'&.MuiChip-clickable': {
|
|
238
|
+
'&:hover, &:focus, &:active': {
|
|
239
|
+
color: string;
|
|
240
|
+
backgroundColor: "#0097a7";
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
'.MuiChip-deleteIcon': {
|
|
244
|
+
color: string;
|
|
245
|
+
opacity: number;
|
|
246
|
+
'&:hover,&:focus, &:active': {
|
|
247
|
+
color: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
contrastFilledSuccess: {
|
|
252
|
+
color: string;
|
|
253
|
+
backgroundColor: string;
|
|
254
|
+
'&.MuiChip-clickable': {
|
|
255
|
+
'&:hover, &:focus, &:active': {
|
|
256
|
+
color: string;
|
|
257
|
+
backgroundColor: "#388e3c";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
'.MuiChip-deleteIcon': {
|
|
261
|
+
color: string;
|
|
262
|
+
opacity: number;
|
|
263
|
+
'&:hover,&:focus, &:active': {
|
|
264
|
+
color: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
contrastFilledAi: {
|
|
269
|
+
color: string;
|
|
270
|
+
backgroundColor: "#6200ea";
|
|
271
|
+
'&.MuiChip-clickable': {
|
|
272
|
+
'&:hover, &:focus, &:active': {
|
|
273
|
+
color: string;
|
|
274
|
+
backgroundColor: "#6200ea";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
'.MuiChip-deleteIcon': {
|
|
278
|
+
color: string;
|
|
279
|
+
opacity: number;
|
|
280
|
+
'&:hover,&:focus, &:active': {
|
|
281
|
+
color: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
contrastFilledInProgress: {
|
|
286
|
+
color: string;
|
|
287
|
+
backgroundColor: string;
|
|
288
|
+
'&.MuiChip-clickable': {
|
|
289
|
+
'&:hover, &:focus, &:active': {
|
|
290
|
+
color: string;
|
|
291
|
+
backgroundColor: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
'.MuiChip-deleteIcon': {
|
|
295
|
+
color: string;
|
|
296
|
+
opacity: number;
|
|
297
|
+
'&:hover,&:focus, &:active': {
|
|
298
|
+
color: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
export default chip;
|
package/lib/theme/palette.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movable/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
|
|
5
5
|
"module": "lib/index.mjs",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"@emotion/styled": "^11.11.0",
|
|
47
47
|
"@movable/prettier-config": "^2.0.0",
|
|
48
48
|
"@mui/material": "^5.14.8",
|
|
49
|
+
"@mui/icons-material": "^5.15.6",
|
|
49
50
|
"@percy/cli": "^1.28.2",
|
|
50
51
|
"@percy/cypress": "^3.1.2",
|
|
51
52
|
"@percy/storybook": "^5.0.1",
|
|
@@ -89,15 +90,12 @@
|
|
|
89
90
|
"peerDependencies": {
|
|
90
91
|
"@emotion/react": "^11.11.1",
|
|
91
92
|
"@emotion/styled": "^11.11.0",
|
|
92
|
-
"@mui/icons-material": "^5.
|
|
93
|
+
"@mui/icons-material": "^5.15.6",
|
|
93
94
|
"@mui/material": "^5.14.8",
|
|
94
95
|
"react": "^18.2.0",
|
|
95
96
|
"react-dom": "^18.2.0"
|
|
96
97
|
},
|
|
97
98
|
"volta": {
|
|
98
99
|
"node": "18.17.0"
|
|
99
|
-
},
|
|
100
|
-
"dependencies": {
|
|
101
|
-
"@mui/icons-material": "^5.15.6"
|
|
102
100
|
}
|
|
103
101
|
}
|