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

Sign up to get free protection for your applications and to get access to all the features.
package/index.esm.js CHANGED
@@ -8210,15 +8210,18 @@ var components = {
8210
8210
  },
8211
8211
  MuiButton: {
8212
8212
  styleOverrides: {
8213
- root: {
8214
- fontFamily: "Roboto",
8215
- textTransform: "unset",
8216
- fontWeightLight: 300,
8217
- fontSize: "13px",
8218
- lineHeight: "normal",
8219
- "@media(max-width: 885px)": {
8220
- fontSize: 14
8221
- }
8213
+ root: function root(_ref8) {
8214
+ _ref8.theme;
8215
+ return {
8216
+ fontFamily: "Roboto",
8217
+ textTransform: "unset",
8218
+ fontWeightLight: 300,
8219
+ fontSize: "13px",
8220
+ lineHeight: "normal",
8221
+ "@media(max-width: 885px)": {
8222
+ fontSize: 14
8223
+ }
8224
+ };
8222
8225
  },
8223
8226
  startIcon: {
8224
8227
  marginLeft: 2
@@ -16911,7 +16914,7 @@ var DrawerComponent = function DrawerComponent(_ref) {
16911
16914
  px: 1,
16912
16915
  bgcolor: "secondary.main"
16913
16916
  }, React__default.createElement(Typography, {
16914
- color: "background.paper" ,
16917
+ color: "action.active" ,
16915
16918
  variant: "h6"
16916
16919
  }, title), React__default.createElement(IconButton, {
16917
16920
  onClick: onClose,
@@ -17165,7 +17168,7 @@ var PageHeaderComponent = function PageHeaderComponent(_ref2) {
17165
17168
  item: title,
17166
17169
  variant: "h6"
17167
17170
  })), subtitle && React__default.createElement(Stack, {
17168
- alignItems: "center",
17171
+ alignItems: "left",
17169
17172
  flexDirection: "row",
17170
17173
  gap: 2
17171
17174
  }, React__default.createElement(PageHeaderWraps, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.3-rc.3",
3
+ "version": "1.2.3-rc.5",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from "react";
2
- import { SxProps } from "@mui/material";
2
+ import { SxProps, PaletteColor } from "@mui/material";
3
3
  export type DrawerPosition = "left" | "right";
4
4
  export interface DrawerComponentProperties {
5
5
  title: string;
@@ -13,8 +13,8 @@ export interface DrawerComponentProperties {
13
13
  onClose: () => void;
14
14
  sx?: SxProps;
15
15
  sxActions?: SxProps;
16
- backgroundColor?: string;
17
- color?: string;
16
+ backgroundColor?: React.CSSProperties;
17
+ color?: React.CSSProperties | PaletteColor;
18
18
  headerColor?: string;
19
19
  closeIcon?: string;
20
20
  }