@sinco/react 1.0.14-rc.33 → 1.0.14-rc.35

Sign up to get free protection for your applications and to get access to all the features.
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
- titleColor
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
- color: titleColor
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.14-rc.33",
3
+ "version": "1.0.14-rc.35",
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;