@sinco/react 1.0.13-rc.3 → 1.0.13-rc.5

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -17734,9 +17734,7 @@ const FooterActionComponent = ({
17734
17734
  }), /*#__PURE__*/React__default.createElement(Box$2, null, labelChangeCounter), renderRightContent));
17735
17735
  };
17736
17736
 
17737
- const PageHeaderContent = styled$1(Stack$1)(({
17738
- theme
17739
- }) => ({
17737
+ const PageHeaderContent = styled$1(Stack$1)(() => ({
17740
17738
  backgroundColor: '#fff',
17741
17739
  boxShadow: '0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2)',
17742
17740
  zIndex: 100,
@@ -17756,7 +17754,7 @@ const PageHeaderComponent = ({
17756
17754
  theme: SincoTheme
17757
17755
  }, /*#__PURE__*/React__default.createElement("div", {
17758
17756
  style: {
17759
- minHeight: 56
17757
+ height: 56
17760
17758
  }
17761
17759
  }, /*#__PURE__*/React__default.createElement(PageHeaderContent, null, /*#__PURE__*/React__default.createElement(Stack$1, {
17762
17760
  width: "90%",
@@ -17888,8 +17886,6 @@ const ToastNotificationComponent = toast => {
17888
17886
  theme: SincoTheme
17889
17887
  }, /*#__PURE__*/React__default.createElement(Stack$1, {
17890
17888
  height: 105,
17891
- top: 16,
17892
- right: 16,
17893
17889
  position: "absolute",
17894
17890
  zIndex: 1400
17895
17891
  }, /*#__PURE__*/React__default.createElement(ToastContainer, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.13-rc.3",
3
+ "version": "1.0.13-rc.5",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -3,7 +3,7 @@ export declare const PageHeaderContent: import("@emotion/styled").StyledComponen
3
3
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
4
4
  }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
5
  interface PageheaderProperties {
6
- title: string;
6
+ title?: string;
7
7
  subtitle?: string;
8
8
  actions?: React.ReactNode;
9
9
  buttonBack?: React.ReactNode;