@zidsa/zidmui 2.5.16 → 2.5.18
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/dist/react/cjs/components/app-card.js +51 -0
- package/dist/react/cjs/components/app-card.js.map +1 -0
- package/dist/react/cjs/components/app-status.js +1 -43
- package/dist/react/cjs/components/app-status.js.map +1 -1
- package/dist/react/cjs/theme/components/accordion.js +1 -0
- package/dist/react/cjs/theme/components/accordion.js.map +1 -1
- package/dist/react/cjs/theme/components/card.js +71 -10
- package/dist/react/cjs/theme/components/card.js.map +1 -1
- package/dist/react/cjs/theme/components/chip.js +151 -0
- package/dist/react/cjs/theme/components/chip.js.map +1 -1
- package/dist/react/cjs/theme/palette.dark.js +53 -18
- package/dist/react/cjs/theme/palette.dark.js.map +1 -1
- package/dist/react/cjs/theme/palette.js +45 -10
- package/dist/react/cjs/theme/palette.js.map +1 -1
- package/dist/react/es/components/app-card.js +51 -0
- package/dist/react/es/components/app-card.js.map +1 -0
- package/dist/react/es/components/app-status.js +2 -44
- package/dist/react/es/components/app-status.js.map +1 -1
- package/dist/react/es/theme/components/accordion.js +1 -0
- package/dist/react/es/theme/components/accordion.js.map +1 -1
- package/dist/react/es/theme/components/card.js +71 -10
- package/dist/react/es/theme/components/card.js.map +1 -1
- package/dist/react/es/theme/components/chip.js +151 -0
- package/dist/react/es/theme/components/chip.js.map +1 -1
- package/dist/react/es/theme/palette.dark.js +53 -18
- package/dist/react/es/theme/palette.dark.js.map +1 -1
- package/dist/react/es/theme/palette.js +45 -10
- package/dist/react/es/theme/palette.js.map +1 -1
- package/dist/react/types/components/app-card.d.ts +20 -0
- package/dist/react/types/components/app-status.d.ts +1 -3
- package/dist/react/types/theme/types.d.ts +40 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ChipProps, TooltipProps } from '@mui/material';
|
|
3
|
-
export type
|
|
4
|
-
export type AppStatusProps = Omit<ChipProps, 'color' | 'variant' | 'size'> & {
|
|
3
|
+
export type AppStatusProps = Omit<ChipProps, 'size'> & {
|
|
5
4
|
size?: 'small' | 'medium';
|
|
6
|
-
color?: AppStatusColor;
|
|
7
5
|
tooltip?: TooltipProps['title'];
|
|
8
6
|
tooltipProps?: Omit<TooltipProps, 'title' | 'children'>;
|
|
9
7
|
};
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import '@mui/material';
|
|
2
2
|
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
declare module '@mui/material/Chip' {
|
|
7
|
+
interface ChipPropsColorOverrides {
|
|
8
|
+
neutral: true;
|
|
9
|
+
disabled: true;
|
|
10
|
+
orange: true;
|
|
11
|
+
blue: true;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
3
15
|
declare module '@mui/material/Button' {
|
|
4
16
|
interface ButtonPropsColorOverrides {
|
|
5
17
|
primaryDark: true;
|
|
@@ -19,6 +31,17 @@ declare module '@mui/material/Accordion' {
|
|
|
19
31
|
}
|
|
20
32
|
}
|
|
21
33
|
|
|
34
|
+
declare module '@mui/material/Card' {
|
|
35
|
+
interface CardPropsColorOverrides {
|
|
36
|
+
primary: true;
|
|
37
|
+
success: true;
|
|
38
|
+
error: true;
|
|
39
|
+
warning: true;
|
|
40
|
+
info: true;
|
|
41
|
+
neutral: true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
22
45
|
declare module '@mui/material/IconButton' {
|
|
23
46
|
interface IconButtonPropsSizeOverrides {
|
|
24
47
|
extraSmall: true;
|
|
@@ -172,15 +195,15 @@ declare module '@mui/material' {
|
|
|
172
195
|
};
|
|
173
196
|
};
|
|
174
197
|
status: {
|
|
175
|
-
success: { background: string; color: string };
|
|
176
|
-
error: { background: string; color: string };
|
|
177
|
-
warning: { background: string; color: string };
|
|
178
|
-
neutral: { background: string; color: string };
|
|
179
|
-
disabled: { background: string; color: string };
|
|
180
|
-
info: { background: string; color: string };
|
|
181
|
-
orange: { background: string; color: string };
|
|
182
|
-
blue: { background: string; color: string };
|
|
183
|
-
primary: { background: string; color: string };
|
|
198
|
+
success: { background: string; color: string; outlined: string };
|
|
199
|
+
error: { background: string; color: string; outlined: string };
|
|
200
|
+
warning: { background: string; color: string; outlined: string };
|
|
201
|
+
neutral: { background: string; color: string; outlined: string };
|
|
202
|
+
disabled: { background: string; color: string; outlined: string };
|
|
203
|
+
info: { background: string; color: string; outlined: string };
|
|
204
|
+
orange: { background: string; color: string; outlined: string };
|
|
205
|
+
blue: { background: string; color: string; outlined: string };
|
|
206
|
+
primary: { background: string; color: string; outlined: string };
|
|
184
207
|
};
|
|
185
208
|
accordion: {
|
|
186
209
|
primary: { background: string; border: string };
|
|
@@ -190,6 +213,14 @@ declare module '@mui/material' {
|
|
|
190
213
|
info: { background: string; border: string };
|
|
191
214
|
neutral: { background: string; border: string };
|
|
192
215
|
};
|
|
216
|
+
card: {
|
|
217
|
+
primary: { background: string; border: string };
|
|
218
|
+
success: { background: string; border: string };
|
|
219
|
+
error: { background: string; border: string };
|
|
220
|
+
warning: { background: string; border: string };
|
|
221
|
+
info: { background: string; border: string };
|
|
222
|
+
neutral: { background: string; border: string };
|
|
223
|
+
};
|
|
193
224
|
stepper: {
|
|
194
225
|
connector: string;
|
|
195
226
|
};
|