@sinco/react 1.2.4-rc.7 → 1.2.4-rc.9

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 +88 -33
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -7356,9 +7356,6 @@ var components = {
7356
7356
  outlined: {
7357
7357
  paddingBlock: "13px"
7358
7358
  },
7359
- standard: {
7360
- // padding: "2px 0 5px"
7361
- },
7362
7359
  iconStandard: {
7363
7360
  "&.MuiSelect-iconStandard.MuiSvgIcon-root": {
7364
7361
  top: "calc(50% - .4em)"
@@ -7713,8 +7710,7 @@ var components = {
7713
7710
  }), ".MuiPaper-elevation", {
7714
7711
  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) "
7715
7712
  }), ".MuiBackdrop-root", {
7716
- backgroundColor: "#f0f0f099",
7717
- backdropFilter: "blur(2px) !important"
7713
+ backgroundColor: "#00000047"
7718
7714
  });
7719
7715
  }
7720
7716
  }
@@ -8128,20 +8124,93 @@ var components = {
8128
8124
  }
8129
8125
  }],
8130
8126
  styleOverrides: {
8131
- message: {
8132
- padding: "0px 0px",
8133
- minWidth: 0
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
+ };
8134
8148
  },
8135
- icon: {
8136
- padding: "4px",
8137
- marginRight: 0,
8138
- display: "flex",
8139
- alignItems: "center"
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
+ };
8140
8191
  },
8141
- action: {
8142
- display: "flex",
8143
- gap: 1.5,
8144
- padding: "0px"
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
+ };
8145
8214
  },
8146
8215
  root: {
8147
8216
  padding: "8px 12px 8px 12px",
@@ -8326,21 +8395,7 @@ var components = {
8326
8395
  }
8327
8396
  },
8328
8397
  MuiIconButton: {
8329
- defaultProps: {
8330
- color: "primary"
8331
- },
8332
8398
  styleOverrides: {
8333
- root: function root(_ref8) {
8334
- var theme = _ref8.theme;
8335
- return {
8336
- "&:hover": {
8337
- backgroundColor: "rgba(16, 24, 64, 0.04)"
8338
- },
8339
- "&>.MuiSvgIcon-root": {
8340
- color: theme.palette.action.active
8341
- }
8342
- };
8343
- },
8344
8399
  sizeSmall: {
8345
8400
  padding: 3
8346
8401
  },
@@ -8419,8 +8474,8 @@ var components = {
8419
8474
  },
8420
8475
  MuiInputLabel: {
8421
8476
  styleOverrides: {
8422
- asterisk: function asterisk(_ref9) {
8423
- var theme = _ref9.theme;
8477
+ asterisk: function asterisk(_ref11) {
8478
+ var theme = _ref11.theme;
8424
8479
  return {
8425
8480
  color: theme.palette.error.main
8426
8481
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.4-rc.7",
3
+ "version": "1.2.4-rc.9",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",