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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.esm.js +30 -60
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -8527,101 +8527,70 @@ var components = {
8527
8527
  height: 20,
8528
8528
  width: 20
8529
8529
  },
8530
- color: SincoTheme.palette.text.primary
8530
+ color: "#101840de",
8531
+ ".MuiChip-deleteIcon": {
8532
+ color: "#1018408a",
8533
+ "&:hover": {
8534
+ color: "#1018408a"
8535
+ }
8536
+ }
8531
8537
  },
8532
8538
  filled: {
8533
8539
  "&.MuiChip-filledPrimary": {
8534
- backgroundColor: SincoTheme.palette.primary[100],
8535
- ".MuiChip-deleteIconColorPrimary": {
8536
- color: SincoTheme.palette.action.active,
8537
- "&:hover": {
8538
- color: SincoTheme.palette.action.active
8539
- }
8540
- },
8540
+ backgroundColor: "#BCD0E3",
8541
8541
  "&:hover": {
8542
- backgroundColor: "".concat(SincoTheme.palette.primary[100], " !important"),
8542
+ backgroundColor: "#BCD0E3 !important",
8543
8543
  "&.MuiChip-clickableColorPrimary": {
8544
- backgroundColor: "".concat(SincoTheme.palette.primary[200], " !important")
8544
+ backgroundColor: "#8FB1D0 !important"
8545
8545
  }
8546
8546
  }
8547
8547
  },
8548
8548
  "&.MuiChip-filledSecondary": {
8549
- backgroundColor: SincoTheme.palette.secondary[100],
8550
- ".MuiChip-deleteIconColorSecondary": {
8551
- color: SincoTheme.palette.action.active,
8552
- "&:hover": {
8553
- color: SincoTheme.palette.action.active
8554
- }
8555
- },
8549
+ backgroundColor: "#B3EBF2",
8556
8550
  "&:hover": {
8557
- backgroundColor: "".concat(SincoTheme.palette.secondary[100], " !important"),
8551
+ backgroundColor: "#B3EBF2 !important",
8558
8552
  "&.MuiChip-clickableColorSecondary": {
8559
- backgroundColor: "".concat(SincoTheme.palette.secondary[200], " !important")
8553
+ backgroundColor: "#80DEEA !important"
8560
8554
  }
8561
8555
  }
8562
8556
  },
8563
8557
  "&.MuiChip-filledError": {
8564
- backgroundColor: SincoTheme.palette.error[100],
8565
- ".MuiChip-deleteIconColorError": {
8566
- color: SincoTheme.palette.action.active,
8567
- "&:hover": {
8568
- color: SincoTheme.palette.action.active
8569
- }
8570
- },
8558
+ backgroundColor: "#F1C7C7",
8571
8559
  "&:hover": {
8572
- backgroundColor: "".concat(SincoTheme.palette.error[100], " !important"),
8560
+ backgroundColor: "#F1C7C7 !important",
8573
8561
  "&.MuiChip-clickableColorError": {
8574
- backgroundColor: "".concat(SincoTheme.palette.error[200], " !important")
8562
+ backgroundColor: "#E8A1A1 !important"
8575
8563
  }
8576
8564
  }
8577
8565
  },
8578
8566
  "&.MuiChip-filledSuccess": {
8579
- backgroundColor: SincoTheme.palette.success[100],
8580
- ".MuiChip-deleteIconColorSuccess": {
8581
- color: SincoTheme.palette.action.active,
8582
- "&:hover": {
8583
- color: SincoTheme.palette.action.active
8584
- }
8585
- },
8567
+ backgroundColor: "#DDEFC4",
8586
8568
  "&:hover": {
8587
- backgroundColor: "".concat(SincoTheme.palette.success[100], " !important"),
8569
+ backgroundColor: "#DDEFC4 !important",
8588
8570
  "&.MuiChip-clickableColorSuccess": {
8589
- backgroundColor: "".concat(SincoTheme.palette.success[200], " !important")
8571
+ backgroundColor: "#C7E49D !important"
8590
8572
  }
8591
8573
  }
8592
8574
  },
8593
8575
  "&.MuiChip-filledInfo": {
8594
- backgroundColor: SincoTheme.palette.info[100],
8595
- ".MuiChip-deleteIconColorInfo": {
8596
- color: SincoTheme.palette.action.active,
8597
- "&:hover": {
8598
- color: SincoTheme.palette.action.active
8599
- }
8600
- },
8576
+ backgroundColor: "#C0E2EE",
8601
8577
  "&:hover": {
8602
- backgroundColor: "".concat(SincoTheme.palette.info[100], " !important"),
8578
+ backgroundColor: "#C0E2EE !important",
8603
8579
  "&.MuiChip-clickableColorInfo": {
8604
- backgroundColor: "".concat(SincoTheme.palette.info[200], " !important")
8580
+ backgroundColor: "#96CFE2 !important"
8605
8581
  }
8606
8582
  }
8607
8583
  },
8608
8584
  "&.MuiChip-filledWarning": {
8609
- backgroundColor: SincoTheme.palette.warning[100],
8610
- ".MuiChip-deleteIconColorWarning": {
8611
- color: SincoTheme.palette.action.active,
8612
- "&:hover": {
8613
- color: SincoTheme.palette.action.active
8614
- }
8615
- },
8585
+ backgroundColor: "#FEDAB3",
8616
8586
  "&:hover": {
8617
- backgroundColor: "".concat(SincoTheme.palette.warning[100], " !important"),
8587
+ backgroundColor: "#FEDAB3 !important",
8618
8588
  "&.MuiChip-clickableColorWarning": {
8619
- backgroundColor: "".concat(SincoTheme.palette.warning[200], " !important")
8589
+ backgroundColor: "#FDC280 !important"
8620
8590
  }
8621
8591
  }
8622
8592
  }
8623
- },
8624
- outlined: {}
8593
+ }
8625
8594
  }
8626
8595
  },
8627
8596
  MuiAlert: {
@@ -16827,7 +16796,8 @@ var CardRadio = function CardRadio(_ref) {
16827
16796
  var _ref2;
16828
16797
  var _ref$RadioPosition = _ref.RadioPosition,
16829
16798
  RadioPosition = _ref$RadioPosition === void 0 ? 'right' : _ref$RadioPosition,
16830
- state = _ref.state,
16799
+ _ref$state = _ref.state,
16800
+ state = _ref$state === void 0 ? 'default' : _ref$state,
16831
16801
  media = _ref.media,
16832
16802
  header = _ref.header,
16833
16803
  content = _ref.content,
@@ -16887,13 +16857,13 @@ var CardRadio = function CardRadio(_ref) {
16887
16857
  }, media && React__default.createElement(Stack, null, media), React__default.createElement(Stack, null, header && React__default.createElement(Typography, {
16888
16858
  variant: "subtitle2",
16889
16859
  color: state === 'disabled' ? 'text.disabled' : isActive ? 'text.primary' : 'text.primary'
16890
- }, content), content && React__default.createElement(Typography, {
16860
+ }, header), content && React__default.createElement(Typography, {
16891
16861
  variant: "caption",
16892
16862
  color: state === 'disabled' ? 'text.disabled' : isActive ? 'text.secondary' : 'text.secondary'
16893
16863
  }, content))), React__default.createElement(Stack, {
16894
16864
  justifyContent: topRadioPosition === true ? 'flex-start' : 'center'
16895
16865
  }, React__default.createElement(Radio, {
16896
- checked: isChecked || isActive,
16866
+ checked: isChecked || isChecked,
16897
16867
  color: color,
16898
16868
  disabled: state === 'disabled'
16899
16869
  }))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0-rc.1",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",