@sinco/react 1.0.14-rc.33 → 1.0.14-rc.35
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/index.js +6 -9
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -2
package/index.js
CHANGED
|
@@ -10545,11 +10545,7 @@ const components = {
|
|
|
10545
10545
|
MuiDrawer: {
|
|
10546
10546
|
styleOverrides: {
|
|
10547
10547
|
root: {
|
|
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
|
-
"&.MuiBackdrop-root": {
|
|
10550
|
-
backgroundColor: "#f0f0f0",
|
|
10551
|
-
backdropFilter: "blur(2px) !important"
|
|
10552
|
-
}
|
|
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)"
|
|
10553
10549
|
}
|
|
10554
10550
|
}
|
|
10555
10551
|
},
|
|
@@ -16509,7 +16505,7 @@ const DrawerComponent = ({
|
|
|
16509
16505
|
width,
|
|
16510
16506
|
open,
|
|
16511
16507
|
onClose,
|
|
16512
|
-
|
|
16508
|
+
sx
|
|
16513
16509
|
}) => {
|
|
16514
16510
|
const [stateActions, setActionsState] = useState(showActions);
|
|
16515
16511
|
const handleDrawerActions = () => {
|
|
@@ -16526,10 +16522,11 @@ const DrawerComponent = ({
|
|
|
16526
16522
|
sx: DrawerHeader
|
|
16527
16523
|
}, /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
16528
16524
|
sx: Object.assign({}, SincoTheme.typography.h6, {
|
|
16529
|
-
|
|
16525
|
+
backgroundColor: "#f0f0f099",
|
|
16526
|
+
backdropFilter: "blur(4px) !important",
|
|
16527
|
+
color: sx
|
|
16530
16528
|
}),
|
|
16531
|
-
variant: "h6"
|
|
16532
|
-
component: "h6"
|
|
16529
|
+
variant: "h6"
|
|
16533
16530
|
}, title), /*#__PURE__*/React__default.createElement(Box$2, null, /*#__PURE__*/React__default.createElement(IconButton$1, {
|
|
16534
16531
|
onClick: onClose,
|
|
16535
16532
|
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;
|