@movable/ui 0.23.0 → 0.25.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/Switcher/InkSwitcher.d.ts +12 -0
- package/lib/components/Switcher/index.d.ts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.mjs +2991 -2687
- 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 +1 -1
|
@@ -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