@sinco/react 1.2.4-rc.4 → 1.2.4-rc.6

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 +30 -93
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -7356,6 +7356,9 @@ var components = {
7356
7356
  outlined: {
7357
7357
  paddingBlock: "13px"
7358
7358
  },
7359
+ standard: {
7360
+ // padding: "2px 0 5px"
7361
+ },
7359
7362
  iconStandard: {
7360
7363
  "&.MuiSelect-iconStandard.MuiSvgIcon-root": {
7361
7364
  top: "calc(50% - .4em)"
@@ -7710,7 +7713,8 @@ var components = {
7710
7713
  }), ".MuiPaper-elevation", {
7711
7714
  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) "
7712
7715
  }), ".MuiBackdrop-root", {
7713
- backgroundColor: "#00000047"
7716
+ backgroundColor: "#f0f0f099",
7717
+ backdropFilter: "blur(2px) !important"
7714
7718
  });
7715
7719
  }
7716
7720
  }
@@ -8124,93 +8128,20 @@ var components = {
8124
8128
  }
8125
8129
  }],
8126
8130
  styleOverrides: {
8127
- message: function message(_ref8) {
8128
- var theme = _ref8.theme;
8129
- return {
8130
- padding: "0px 4px",
8131
- minWidth: 0,
8132
- variants: [{
8133
- props: {
8134
- variant: "standard"
8135
- },
8136
- style: {
8137
- color: theme.palette.text.primary
8138
- }
8139
- }, {
8140
- props: {
8141
- variant: "outlined"
8142
- },
8143
- style: {
8144
- color: theme.palette.text.primary
8145
- }
8146
- }]
8147
- };
8131
+ message: {
8132
+ padding: "0px 0px",
8133
+ minWidth: 0
8148
8134
  },
8149
- icon: function icon(_ref9) {
8150
- var theme = _ref9.theme;
8151
- return {
8152
- padding: "4px",
8153
- marginRight: 0,
8154
- display: "flex",
8155
- alignItems: "center",
8156
- borderRadius: 100,
8157
- variants: [{
8158
- props: {
8159
- variant: "standard",
8160
- color: "success"
8161
- },
8162
- style: {
8163
- backgroundColor: theme.palette.success[100]
8164
- }
8165
- }, {
8166
- props: {
8167
- variant: "standard",
8168
- color: "error"
8169
- },
8170
- style: {
8171
- backgroundColor: theme.palette.error[100]
8172
- }
8173
- }, {
8174
- props: {
8175
- variant: "standard",
8176
- color: "info"
8177
- },
8178
- style: {
8179
- backgroundColor: theme.palette.info[100]
8180
- }
8181
- }, {
8182
- props: {
8183
- variant: "standard",
8184
- color: "warning"
8185
- },
8186
- style: {
8187
- backgroundColor: theme.palette.warning[100]
8188
- }
8189
- }]
8190
- };
8135
+ icon: {
8136
+ padding: "4px",
8137
+ marginRight: 0,
8138
+ display: "flex",
8139
+ alignItems: "center"
8191
8140
  },
8192
- action: function action(_ref10) {
8193
- var theme = _ref10.theme;
8194
- return {
8195
- display: "flex",
8196
- gap: 1.5,
8197
- padding: "0px",
8198
- variants: [{
8199
- props: {
8200
- variant: "standard"
8201
- },
8202
- style: {
8203
- color: theme.palette.action.active
8204
- }
8205
- }, {
8206
- props: {
8207
- variant: "outlined"
8208
- },
8209
- style: {
8210
- color: theme.palette.action.active
8211
- }
8212
- }]
8213
- };
8141
+ action: {
8142
+ display: "flex",
8143
+ gap: 1.5,
8144
+ padding: "0px"
8214
8145
  },
8215
8146
  root: {
8216
8147
  padding: "8px 12px 8px 12px",
@@ -8377,9 +8308,6 @@ var components = {
8377
8308
  },
8378
8309
  MuiSvgIcon: {
8379
8310
  styleOverrides: {
8380
- root: {
8381
- color: "rgba(16, 24, 64, 0.04)"
8382
- },
8383
8311
  fontSizeLarge: {
8384
8312
  width: 35,
8385
8313
  height: 35,
@@ -8398,9 +8326,18 @@ var components = {
8398
8326
  }
8399
8327
  },
8400
8328
  MuiIconButton: {
8329
+ defaultProps: {
8330
+ color: "primary"
8331
+ },
8401
8332
  styleOverrides: {
8402
- root: function root(_ref11) {
8403
- var theme = _ref11.theme;
8333
+ colorInherit: function colorInherit(_ref8) {
8334
+ var theme = _ref8.theme;
8335
+ return {
8336
+ color: theme.palette.action.active
8337
+ };
8338
+ },
8339
+ root: function root(_ref9) {
8340
+ var theme = _ref9.theme;
8404
8341
  return {
8405
8342
  "&:hover": {
8406
8343
  backgroundColor: "rgba(16, 24, 64, 0.04)"
@@ -8488,8 +8425,8 @@ var components = {
8488
8425
  },
8489
8426
  MuiInputLabel: {
8490
8427
  styleOverrides: {
8491
- asterisk: function asterisk(_ref12) {
8492
- var theme = _ref12.theme;
8428
+ asterisk: function asterisk(_ref10) {
8429
+ var theme = _ref10.theme;
8493
8430
  return {
8494
8431
  color: theme.palette.error.main
8495
8432
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.4-rc.4",
3
+ "version": "1.2.4-rc.6",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",