@sinco/react 1.0.14-rc.33 → 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 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
- "&.MuiBackdrop-root": {
10550
- backgroundColor: "#f0f0f0",
10551
- backdropFilter: "blur(2px) !important"
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
- titleColor
16512
+ sx
16513
16513
  }) => {
16514
16514
  const [stateActions, setActionsState] = useState(showActions);
16515
16515
  const handleDrawerActions = () => {
@@ -16526,10 +16526,9 @@ const DrawerComponent = ({
16526
16526
  sx: DrawerHeader
16527
16527
  }, /*#__PURE__*/React__default.createElement(Typography$1, {
16528
16528
  sx: Object.assign({}, SincoTheme.typography.h6, {
16529
- color: titleColor
16529
+ color: sx
16530
16530
  }),
16531
- variant: "h6",
16532
- component: "h6"
16531
+ variant: "h6"
16533
16532
  }, title), /*#__PURE__*/React__default.createElement(Box$2, null, /*#__PURE__*/React__default.createElement(IconButton$1, {
16534
16533
  onClick: onClose,
16535
16534
  size: "small"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.14-rc.33",
3
+ "version": "1.0.14-rc.34",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -9,6 +9,6 @@ export interface DrawerComponentProperties {
9
9
  width: string;
10
10
  open: boolean;
11
11
  onClose: () => void;
12
- titleColor: React.CSSProperties;
12
+ sx: React.CSSProperties;
13
13
  }
14
- export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, titleColor, }: DrawerComponentProperties) => JSX.Element;
14
+ export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;