@sinco/react 1.2.3-rc.3 → 1.2.3-rc.5
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +14 -11
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +3 -3
package/index.esm.js
CHANGED
@@ -8210,15 +8210,18 @@ var components = {
|
|
8210
8210
|
},
|
8211
8211
|
MuiButton: {
|
8212
8212
|
styleOverrides: {
|
8213
|
-
root: {
|
8214
|
-
|
8215
|
-
|
8216
|
-
|
8217
|
-
|
8218
|
-
|
8219
|
-
|
8220
|
-
|
8221
|
-
|
8213
|
+
root: function root(_ref8) {
|
8214
|
+
_ref8.theme;
|
8215
|
+
return {
|
8216
|
+
fontFamily: "Roboto",
|
8217
|
+
textTransform: "unset",
|
8218
|
+
fontWeightLight: 300,
|
8219
|
+
fontSize: "13px",
|
8220
|
+
lineHeight: "normal",
|
8221
|
+
"@media(max-width: 885px)": {
|
8222
|
+
fontSize: 14
|
8223
|
+
}
|
8224
|
+
};
|
8222
8225
|
},
|
8223
8226
|
startIcon: {
|
8224
8227
|
marginLeft: 2
|
@@ -16911,7 +16914,7 @@ var DrawerComponent = function DrawerComponent(_ref) {
|
|
16911
16914
|
px: 1,
|
16912
16915
|
bgcolor: "secondary.main"
|
16913
16916
|
}, React__default.createElement(Typography, {
|
16914
|
-
color: "
|
16917
|
+
color: "action.active" ,
|
16915
16918
|
variant: "h6"
|
16916
16919
|
}, title), React__default.createElement(IconButton, {
|
16917
16920
|
onClick: onClose,
|
@@ -17165,7 +17168,7 @@ var PageHeaderComponent = function PageHeaderComponent(_ref2) {
|
|
17165
17168
|
item: title,
|
17166
17169
|
variant: "h6"
|
17167
17170
|
})), subtitle && React__default.createElement(Stack, {
|
17168
|
-
alignItems: "
|
17171
|
+
alignItems: "left",
|
17169
17172
|
flexDirection: "row",
|
17170
17173
|
gap: 2
|
17171
17174
|
}, React__default.createElement(PageHeaderWraps, {
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from "react";
|
2
|
-
import { SxProps } from "@mui/material";
|
2
|
+
import { SxProps, PaletteColor } from "@mui/material";
|
3
3
|
export type DrawerPosition = "left" | "right";
|
4
4
|
export interface DrawerComponentProperties {
|
5
5
|
title: string;
|
@@ -13,8 +13,8 @@ export interface DrawerComponentProperties {
|
|
13
13
|
onClose: () => void;
|
14
14
|
sx?: SxProps;
|
15
15
|
sxActions?: SxProps;
|
16
|
-
backgroundColor?:
|
17
|
-
color?:
|
16
|
+
backgroundColor?: React.CSSProperties;
|
17
|
+
color?: React.CSSProperties | PaletteColor;
|
18
18
|
headerColor?: string;
|
19
19
|
closeIcon?: string;
|
20
20
|
}
|