@sinco/react 1.0.14-rc.32 → 1.0.14-rc.34
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +8 -12
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -2
package/index.js
CHANGED
@@ -10546,9 +10546,9 @@ const components = {
|
|
10546
10546
|
styleOverrides: {
|
10547
10547
|
root: {
|
10548
10548
|
boxShadow: "0px 3px 1px -2px rgba(24, 39, 75, 0.20), 0px 2px 2px 0px rgba(24, 39, 75, 0.14), 0px 1px 5px 0px rgba(24, 39, 75, 0.12)",
|
10549
|
-
"&.
|
10550
|
-
backgroundColor: "#
|
10551
|
-
backdropFilter: "blur(
|
10549
|
+
"&.MuiDrawer-root": {
|
10550
|
+
backgroundColor: "#f0f0f099",
|
10551
|
+
backdropFilter: "blur(4px) !important"
|
10552
10552
|
}
|
10553
10553
|
}
|
10554
10554
|
}
|
@@ -16509,7 +16509,7 @@ const DrawerComponent = ({
|
|
16509
16509
|
width,
|
16510
16510
|
open,
|
16511
16511
|
onClose,
|
16512
|
-
|
16512
|
+
sx
|
16513
16513
|
}) => {
|
16514
16514
|
const [stateActions, setActionsState] = useState(showActions);
|
16515
16515
|
const handleDrawerActions = () => {
|
@@ -16525,14 +16525,10 @@ const DrawerComponent = ({
|
|
16525
16525
|
}, /*#__PURE__*/React__default.createElement(Box$2, {
|
16526
16526
|
sx: DrawerHeader
|
16527
16527
|
}, /*#__PURE__*/React__default.createElement(Typography$1, {
|
16528
|
-
sx: {
|
16529
|
-
|
16530
|
-
|
16531
|
-
|
16532
|
-
}
|
16533
|
-
},
|
16534
|
-
variant: "h6",
|
16535
|
-
component: "h6"
|
16528
|
+
sx: Object.assign({}, SincoTheme.typography.h6, {
|
16529
|
+
color: sx
|
16530
|
+
}),
|
16531
|
+
variant: "h6"
|
16536
16532
|
}, title), /*#__PURE__*/React__default.createElement(Box$2, null, /*#__PURE__*/React__default.createElement(IconButton$1, {
|
16537
16533
|
onClick: onClose,
|
16538
16534
|
size: "small"
|
package/package.json
CHANGED
@@ -9,6 +9,6 @@ export interface DrawerComponentProperties {
|
|
9
9
|
width: string;
|
10
10
|
open: boolean;
|
11
11
|
onClose: () => void;
|
12
|
-
|
12
|
+
sx: React.CSSProperties;
|
13
13
|
}
|
14
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose,
|
14
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;
|