@sinco/react 1.2.5-rc.0 → 1.2.5-rc.1

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.
Files changed (2) hide show
  1. package/index.esm.js +27 -32
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -7716,20 +7716,15 @@ var components = {
7716
7716
  MuiDialog: {
7717
7717
  styleOverrides: {
7718
7718
  root: function root(_ref) {
7719
- var theme = _ref.theme;
7720
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, theme.breakpoints.only('xs'), {
7721
- width: "444px"
7722
- }), theme.breakpoints.only('sm'), {
7723
- width: "600px"
7724
- }), theme.breakpoints.only('md'), {
7725
- width: "900px"
7726
- }), theme.breakpoints.only('lg'), {
7727
- width: "1200px"
7728
- }), ".MuiPaper-elevation", {
7729
- boxShadow: "0px 1px 5px rgba(24, 39, 75, 0.12), 0px 2px 2px rgba(24, 39, 75, 0.14), 0px 3px 1px -2px rgba(24, 39, 75, 0.2) "
7730
- }), ".MuiBackdrop-root", {
7731
- backgroundColor: "#00000047"
7732
- });
7719
+ _ref.theme;
7720
+ return {
7721
+ ".MuiPaper-elevation": {
7722
+ boxShadow: "0px 1px 5px rgba(24, 39, 75, 0.12), 0px 2px 2px rgba(24, 39, 75, 0.14), 0px 3px 1px -2px rgba(24, 39, 75, 0.2) "
7723
+ },
7724
+ ".MuiBackdrop-root": {
7725
+ backgroundColor: "#00000047"
7726
+ }
7727
+ };
7733
7728
  }
7734
7729
  }
7735
7730
  },
@@ -7831,15 +7826,15 @@ var components = {
7831
7826
  height: 18,
7832
7827
  width: 18
7833
7828
  },
7834
- colorDefault: function colorDefault(_ref3) {
7835
- var theme = _ref3.theme;
7829
+ colorDefault: function colorDefault(_ref2) {
7830
+ var theme = _ref2.theme;
7836
7831
  return {
7837
7832
  backgroundColor: theme.palette.chipDefault.main,
7838
7833
  color: theme.palette.chipDefault.contrastText
7839
7834
  };
7840
7835
  },
7841
- deleteIcon: function deleteIcon(_ref4) {
7842
- var theme = _ref4.theme;
7836
+ deleteIcon: function deleteIcon(_ref3) {
7837
+ var theme = _ref3.theme;
7843
7838
  return {
7844
7839
  variants: [{
7845
7840
  props: {
@@ -7885,8 +7880,8 @@ var components = {
7885
7880
  }]
7886
7881
  };
7887
7882
  },
7888
- avatar: function avatar(_ref5) {
7889
- var theme = _ref5.theme;
7883
+ avatar: function avatar(_ref4) {
7884
+ var theme = _ref4.theme;
7890
7885
  return {
7891
7886
  lineHeight: 1.8,
7892
7887
  variants: [{
@@ -7963,12 +7958,12 @@ var components = {
7963
7958
  }]
7964
7959
  };
7965
7960
  },
7966
- label: function label(_ref6) {
7967
- var theme = _ref6.theme;
7961
+ label: function label(_ref5) {
7962
+ var theme = _ref5.theme;
7968
7963
  return _objectSpread2({}, theme.typography.caption);
7969
7964
  },
7970
- root: function root(_ref7) {
7971
- var theme = _ref7.theme;
7965
+ root: function root(_ref6) {
7966
+ var theme = _ref6.theme;
7972
7967
  return {
7973
7968
  height: "inherit",
7974
7969
  borderRadius: 4,
@@ -8142,8 +8137,8 @@ var components = {
8142
8137
  }
8143
8138
  }],
8144
8139
  styleOverrides: {
8145
- message: function message(_ref8) {
8146
- var theme = _ref8.theme;
8140
+ message: function message(_ref7) {
8141
+ var theme = _ref7.theme;
8147
8142
  return {
8148
8143
  padding: "0px 4px",
8149
8144
  minWidth: 0,
@@ -8164,8 +8159,8 @@ var components = {
8164
8159
  }]
8165
8160
  };
8166
8161
  },
8167
- icon: function icon(_ref9) {
8168
- var theme = _ref9.theme;
8162
+ icon: function icon(_ref8) {
8163
+ var theme = _ref8.theme;
8169
8164
  return {
8170
8165
  padding: "4px",
8171
8166
  marginRight: 0,
@@ -8207,8 +8202,8 @@ var components = {
8207
8202
  }]
8208
8203
  };
8209
8204
  },
8210
- action: function action(_ref10) {
8211
- var theme = _ref10.theme;
8205
+ action: function action(_ref9) {
8206
+ var theme = _ref9.theme;
8212
8207
  return {
8213
8208
  display: "flex",
8214
8209
  gap: 1.5,
@@ -8492,8 +8487,8 @@ var components = {
8492
8487
  },
8493
8488
  MuiInputLabel: {
8494
8489
  styleOverrides: {
8495
- asterisk: function asterisk(_ref11) {
8496
- var theme = _ref11.theme;
8490
+ asterisk: function asterisk(_ref10) {
8491
+ var theme = _ref10.theme;
8497
8492
  return {
8498
8493
  color: theme.palette.error.main
8499
8494
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.5-rc.0",
3
+ "version": "1.2.5-rc.1",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",