@sinco/react 1.2.2-rc.10 → 1.2.2-rc.11

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 +96 -49
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -7806,8 +7806,33 @@ var components = {
7806
7806
  icon: {
7807
7807
  opacity: "70%"
7808
7808
  },
7809
- deleteIcon: function deleteIcon(_ref2) {
7809
+ deleteIconSmall: {
7810
+ height: 16,
7811
+ width: 16
7812
+ },
7813
+ deleteIconMedium: {
7814
+ height: 20,
7815
+ width: 20
7816
+ },
7817
+ sizeSmall: {
7818
+ height: 16
7819
+ },
7820
+ sizeMedium: {
7821
+ height: 20
7822
+ },
7823
+ avatarMedium: {
7824
+ height: 18,
7825
+ width: 18
7826
+ },
7827
+ colorDefault: function colorDefault(_ref2) {
7810
7828
  var theme = _ref2.theme;
7829
+ return {
7830
+ backgroundColor: theme.palette["default"].main,
7831
+ color: theme.palette["default"].contrastText
7832
+ };
7833
+ },
7834
+ deleteIcon: function deleteIcon(_ref3) {
7835
+ var theme = _ref3.theme;
7811
7836
  return {
7812
7837
  variants: [{
7813
7838
  props: {
@@ -7843,40 +7868,18 @@ var components = {
7843
7868
  }
7844
7869
  }, {
7845
7870
  props: {
7846
- variant: "outlined",
7871
+ variant: "filled",
7847
7872
  color: "default"
7848
7873
  },
7849
7874
  style: {
7850
- color: theme.palette.action.active,
7851
- opacity: "54%",
7852
- ":hover": {
7853
- color: theme.palette.action.active,
7854
- opacity: "54%"
7855
- }
7875
+ color: theme.palette["default"].contrastText,
7876
+ opacity: "30%"
7856
7877
  }
7857
7878
  }]
7858
7879
  };
7859
7880
  },
7860
- deleteIconSmall: {
7861
- height: 16,
7862
- width: 16
7863
- },
7864
- deleteIconMedium: {
7865
- height: 20,
7866
- width: 20
7867
- },
7868
- sizeSmall: {
7869
- height: 16
7870
- },
7871
- sizeMedium: {
7872
- height: 20
7873
- },
7874
- avatarMedium: {
7875
- height: 18,
7876
- width: 18
7877
- },
7878
- avatar: function avatar(_ref3) {
7879
- var theme = _ref3.theme;
7881
+ avatar: function avatar(_ref4) {
7882
+ var theme = _ref4.theme;
7880
7883
  return {
7881
7884
  lineHeight: 1.8,
7882
7885
  variants: [{
@@ -7938,36 +7941,80 @@ var components = {
7938
7941
  color: "default"
7939
7942
  },
7940
7943
  style: {
7941
- backgroundColor: theme.palette.action.active,
7942
- color: theme.palette.background.paper,
7943
- opacity: "54%"
7944
+ backgroundColor: theme.palette.grey[400],
7945
+ color: theme.palette.background.paper
7946
+ }
7947
+ }, {
7948
+ props: {
7949
+ variant: "filled",
7950
+ color: "default"
7951
+ },
7952
+ style: {
7953
+ backgroundColor: theme.palette["default"].contrastText,
7954
+ color: theme.palette.background.paper
7944
7955
  }
7945
7956
  }]
7946
7957
  };
7947
7958
  },
7948
- label: function label(_ref4) {
7949
- var theme = _ref4.theme;
7950
- return _objectSpread2({}, theme.typography.caption);
7951
- },
7952
- filled: function filled(_ref5) {
7959
+ label: function label(_ref5) {
7953
7960
  var theme = _ref5.theme;
7954
- return {
7955
- color: theme.palette.background.paper
7956
- };
7961
+ return _objectSpread2({}, theme.typography.caption);
7957
7962
  },
7958
- colorDefault: function colorDefault(_ref6) {
7963
+ root: function root(_ref6) {
7959
7964
  var theme = _ref6.theme;
7960
- return {
7961
- backgroundColor: theme.palette["default"].dark,
7962
- color: theme.palette["default"].contrastText
7963
- };
7964
- },
7965
- root: function root(_ref7) {
7966
- var theme = _ref7.theme;
7967
7965
  return {
7968
7966
  height: "inherit",
7969
7967
  borderRadius: 4,
7970
7968
  variants: [{
7969
+ props: {
7970
+ variant: "outlined",
7971
+ color: "default"
7972
+ },
7973
+ style: {
7974
+ border: "1px solid ".concat(theme.palette.grey[400]),
7975
+ backgroundColor: "transparent !important",
7976
+ color: theme.palette["default"].contrastText,
7977
+ ":hover": {
7978
+ backgroundColor: theme.palette["default"].main
7979
+ }
7980
+ }
7981
+ }, {
7982
+ props: {
7983
+ variant: "standard",
7984
+ color: "default"
7985
+ },
7986
+ style: {
7987
+ backgroundColor: theme.palette["default"].main,
7988
+ color: theme.palette["default"].contrastText,
7989
+ ":hover": {
7990
+ backgroundColor: theme.palette["default"].dark
7991
+ }
7992
+ }
7993
+ }, {
7994
+ props: {
7995
+ variant: "filled",
7996
+ color: "default"
7997
+ },
7998
+ style: {
7999
+ backgroundColor: theme.palette.grey[50],
8000
+ color: theme.palette["default"].contrastText,
8001
+ ":hover": {
8002
+ backgroundColor: theme.palette.grey[100]
8003
+ }
8004
+ }
8005
+ }, {
8006
+ props: {
8007
+ variant: "filled",
8008
+ color: "default"
8009
+ },
8010
+ style: {
8011
+ backgroundColor: theme.palette.grey[50],
8012
+ color: theme.palette["default"].contrastText,
8013
+ ":hover": {
8014
+ backgroundColor: theme.palette.grey[100]
8015
+ }
8016
+ }
8017
+ }, {
7971
8018
  props: {
7972
8019
  variant: "standard",
7973
8020
  avatar: true
@@ -8092,8 +8139,8 @@ var components = {
8092
8139
  padding: "0px 0px",
8093
8140
  minWidth: 0
8094
8141
  },
8095
- icon: function icon(_ref8) {
8096
- var theme = _ref8.theme;
8142
+ icon: function icon(_ref7) {
8143
+ var theme = _ref7.theme;
8097
8144
  return {
8098
8145
  padding: "4px",
8099
8146
  marginRight: "8px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.2-rc.10",
3
+ "version": "1.2.2-rc.11",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",