@zidsa/zidmui 2.5.16 → 2.5.17

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.
@@ -1,9 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { ChipProps, TooltipProps } from '@mui/material';
3
- export type AppStatusColor = 'primary' | 'success' | 'warning' | 'error' | 'neutral' | 'default' | 'disabled' | 'info' | 'orange' | 'blue';
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;
@@ -172,15 +184,15 @@ declare module '@mui/material' {
172
184
  };
173
185
  };
174
186
  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 };
187
+ success: { background: string; color: string; outlined: string };
188
+ error: { background: string; color: string; outlined: string };
189
+ warning: { background: string; color: string; outlined: string };
190
+ neutral: { background: string; color: string; outlined: string };
191
+ disabled: { background: string; color: string; outlined: string };
192
+ info: { background: string; color: string; outlined: string };
193
+ orange: { background: string; color: string; outlined: string };
194
+ blue: { background: string; color: string; outlined: string };
195
+ primary: { background: string; color: string; outlined: string };
184
196
  };
185
197
  accordion: {
186
198
  primary: { background: string; border: string };