@sinco/react 1.2.2-rc.9 → 1.2.3-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +105 -66
- package/package.json +1 -1
- package/src/lib/Components/index.d.ts +1 -1
package/index.esm.js
CHANGED
@@ -7806,8 +7806,33 @@ var components = {
|
|
7806
7806
|
icon: {
|
7807
7807
|
opacity: "70%"
|
7808
7808
|
},
|
7809
|
-
|
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: "
|
7871
|
+
variant: "filled",
|
7847
7872
|
color: "default"
|
7848
7873
|
},
|
7849
7874
|
style: {
|
7850
|
-
color: theme.palette.
|
7851
|
-
opacity: "
|
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
|
-
|
7861
|
-
|
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,22 +7941,24 @@ var components = {
|
|
7938
7941
|
color: "default"
|
7939
7942
|
},
|
7940
7943
|
style: {
|
7941
|
-
backgroundColor: theme.palette.
|
7942
|
-
color: theme.palette.background.paper
|
7943
|
-
|
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(
|
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
7963
|
root: function root(_ref6) {
|
7959
7964
|
var theme = _ref6.theme;
|
@@ -7961,6 +7966,55 @@ var components = {
|
|
7961
7966
|
height: "inherit",
|
7962
7967
|
borderRadius: 4,
|
7963
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
|
+
}, {
|
7964
8018
|
props: {
|
7965
8019
|
variant: "standard",
|
7966
8020
|
avatar: true
|
@@ -8565,43 +8619,28 @@ var components = {
|
|
8565
8619
|
dense: false
|
8566
8620
|
},
|
8567
8621
|
styleOverrides: {
|
8568
|
-
|
8569
|
-
|
8570
|
-
|
8571
|
-
|
8572
|
-
MuiListItemText: {
|
8573
|
-
styleOverrides: {
|
8574
|
-
multiline: {},
|
8575
|
-
root: {
|
8576
|
-
marginBlock: " 4.4px ",
|
8577
|
-
lineHeight: "20px",
|
8578
|
-
letterSpacing: 0.17
|
8579
|
-
},
|
8580
|
-
dense: {
|
8581
|
-
lineHeight: "14.3px",
|
8582
|
-
letterSpacing: 0.15
|
8583
|
-
}
|
8584
|
-
}
|
8585
|
-
},
|
8586
|
-
MuiListItem: {
|
8587
|
-
styleOverrides: {
|
8588
|
-
root: {
|
8589
|
-
padding: "8px 16px 8px 16px"
|
8622
|
+
padding: {
|
8623
|
+
".MuiListItem-padding": {
|
8624
|
+
paddingBlock: 1
|
8625
|
+
}
|
8590
8626
|
},
|
8591
8627
|
dense: {
|
8592
|
-
|
8628
|
+
".MuiListItem-dense": {
|
8629
|
+
padding: "0.25px 0px 0.25px 16px"
|
8630
|
+
}
|
8593
8631
|
}
|
8594
8632
|
}
|
8595
8633
|
},
|
8596
8634
|
MuiListItemButton: {
|
8597
8635
|
styleOverrides: {
|
8598
8636
|
dense: {
|
8599
|
-
|
8600
|
-
padding: 0
|
8637
|
+
padding: "4px 16px 4px 16px "
|
8601
8638
|
},
|
8602
8639
|
root: {
|
8603
|
-
|
8604
|
-
|
8640
|
+
padding: "8.21px 16px",
|
8641
|
+
".MuiListItemText-multiline": {
|
8642
|
+
marginBlock: "4px"
|
8643
|
+
}
|
8605
8644
|
}
|
8606
8645
|
}
|
8607
8646
|
},
|
package/package.json
CHANGED