@zesty-io/material 0.15.9 → 0.16.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/es/IconButton/index.d.ts +2 -27
- package/es/index.d.ts +0 -2
- package/es/index.js +0 -2
- package/es/theme/index.js +4 -2
- package/package.json +9 -7
package/es/IconButton/index.d.ts
CHANGED
|
@@ -2,31 +2,6 @@
|
|
|
2
2
|
export declare type Props = {
|
|
3
3
|
variant?: "standard" | "contained";
|
|
4
4
|
};
|
|
5
|
-
export declare const IconButton: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
children?: import("react").ReactNode;
|
|
7
|
-
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
8
|
-
color?: "error" | "inherit" | "primary" | "secondary" | "info" | "success" | "warning" | "default" | undefined;
|
|
9
|
-
disabled?: boolean | undefined;
|
|
10
|
-
disableFocusRipple?: boolean | undefined;
|
|
11
|
-
edge?: false | "end" | "start" | undefined;
|
|
12
|
-
size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | undefined;
|
|
13
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
-
} & Omit<{
|
|
15
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
16
|
-
centerRipple?: boolean | undefined;
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
19
|
-
disabled?: boolean | undefined;
|
|
20
|
-
disableRipple?: boolean | undefined;
|
|
21
|
-
disableTouchRipple?: boolean | undefined;
|
|
22
|
-
focusRipple?: boolean | undefined;
|
|
23
|
-
focusVisibleClassName?: string | undefined;
|
|
24
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
25
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
26
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
27
|
-
tabIndex?: number | undefined;
|
|
28
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
29
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
30
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
5
|
+
export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
31
6
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
32
|
-
},
|
|
7
|
+
}, "classes" | "className" | "style" | "children" | "color" | "disabled" | "size" | "sx" | "tabIndex" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Props, {}, {}>;
|
package/es/index.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ export { theme, darkTheme } from "./theme";
|
|
|
3
3
|
export { default as FieldTypeText } from "./FieldTypeText";
|
|
4
4
|
export { default as FieldTypeSort } from "./FieldTypeSort";
|
|
5
5
|
export { default as FieldTypeUrl } from "./FieldTypeUrl";
|
|
6
|
-
export { default as FieldTypeDate } from "./FieldTypeDate";
|
|
7
|
-
export { default as FieldTypeDateTime } from "./FieldTypeDateTime";
|
|
8
6
|
export { default as FieldTypeColor } from "./FieldTypeColor";
|
|
9
7
|
export { default as FieldTypeNumber } from "./FieldTypeNumber";
|
|
10
8
|
export { default as FieldTypeOneToOne } from "./FieldTypeOneToOne";
|
package/es/index.js
CHANGED
|
@@ -3,8 +3,6 @@ export { theme, darkTheme } from "./theme";
|
|
|
3
3
|
export { default as FieldTypeText } from "./FieldTypeText";
|
|
4
4
|
export { default as FieldTypeSort } from "./FieldTypeSort";
|
|
5
5
|
export { default as FieldTypeUrl } from "./FieldTypeUrl";
|
|
6
|
-
export { default as FieldTypeDate } from "./FieldTypeDate";
|
|
7
|
-
export { default as FieldTypeDateTime } from "./FieldTypeDateTime";
|
|
8
6
|
export { default as FieldTypeColor } from "./FieldTypeColor";
|
|
9
7
|
export { default as FieldTypeNumber } from "./FieldTypeNumber";
|
|
10
8
|
export { default as FieldTypeOneToOne } from "./FieldTypeOneToOne";
|
package/es/theme/index.js
CHANGED
|
@@ -431,6 +431,7 @@ const components = {
|
|
|
431
431
|
}),
|
|
432
432
|
},
|
|
433
433
|
},
|
|
434
|
+
// @ts-expect-error MuiDataGrid not slotted
|
|
434
435
|
MuiDataGrid: {
|
|
435
436
|
styleOverrides: {
|
|
436
437
|
root: ({ theme }) => ({
|
|
@@ -448,12 +449,13 @@ const components = {
|
|
|
448
449
|
borderColor: theme.palette.border,
|
|
449
450
|
backgroundColor: theme.palette.grey[100],
|
|
450
451
|
}),
|
|
451
|
-
columnHeader: {
|
|
452
|
+
columnHeader: ({ theme }) => ({
|
|
452
453
|
padding: "0 16px",
|
|
453
454
|
"&:focus": {
|
|
454
455
|
outline: "none",
|
|
455
456
|
},
|
|
456
|
-
|
|
457
|
+
backgroundColor: theme.palette.grey[100],
|
|
458
|
+
}),
|
|
457
459
|
columnHeaderTitle: {
|
|
458
460
|
fontWeight: 600,
|
|
459
461
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zesty-io/material",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Contains custom components which are in addition to the @mui design-system",
|
|
5
5
|
"author": "Zesty.io",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,12 +27,14 @@
|
|
|
27
27
|
"build-storybook": "build-storybook"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@emotion/react": "^11.
|
|
31
|
-
"@emotion/styled": "^11.
|
|
32
|
-
"@mui/icons-material": "^
|
|
33
|
-
"@mui/lab": "^
|
|
34
|
-
"@mui/material": "^
|
|
35
|
-
"@mui/x-
|
|
30
|
+
"@emotion/react": "^11.14.0",
|
|
31
|
+
"@emotion/styled": "^11.14.0",
|
|
32
|
+
"@mui/icons-material": "^7.0.1",
|
|
33
|
+
"@mui/lab": "^7.0.0-beta.10",
|
|
34
|
+
"@mui/material": "^7.0.1",
|
|
35
|
+
"@mui/x-data-grid-pro": "^7.28.3",
|
|
36
|
+
"@mui/x-date-pickers-pro": "^7.28.3",
|
|
37
|
+
"@mui/x-tree-view": "^7.28.1",
|
|
36
38
|
"date-fns": "^2.28.0",
|
|
37
39
|
"react-window": "^1.8.7"
|
|
38
40
|
},
|