@sinco/react 1.2.4-rc.8 → 1.2.4
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.
- package/index.esm.js +29 -29
- package/package.json +1 -1
- package/src/lib/Theme/module.d.ts +2 -2
package/index.esm.js
CHANGED
@@ -7816,8 +7816,8 @@ var components = {
|
|
7816
7816
|
colorDefault: function colorDefault(_ref3) {
|
7817
7817
|
var theme = _ref3.theme;
|
7818
7818
|
return {
|
7819
|
-
backgroundColor: theme.palette
|
7820
|
-
color: theme.palette
|
7819
|
+
backgroundColor: theme.palette.chipDefault.main,
|
7820
|
+
color: theme.palette.chipDefault.contrastText
|
7821
7821
|
};
|
7822
7822
|
},
|
7823
7823
|
deleteIcon: function deleteIcon(_ref4) {
|
@@ -7836,10 +7836,10 @@ var components = {
|
|
7836
7836
|
variant: "standard"
|
7837
7837
|
},
|
7838
7838
|
style: {
|
7839
|
-
color: theme.palette
|
7839
|
+
color: theme.palette.chipDefault.contrastText,
|
7840
7840
|
opacity: "30%",
|
7841
7841
|
":hover": {
|
7842
|
-
color: theme.palette
|
7842
|
+
color: theme.palette.chipDefault.contrastText,
|
7843
7843
|
opacity: "30%"
|
7844
7844
|
}
|
7845
7845
|
}
|
@@ -7861,7 +7861,7 @@ var components = {
|
|
7861
7861
|
color: "default"
|
7862
7862
|
},
|
7863
7863
|
style: {
|
7864
|
-
color: theme.palette
|
7864
|
+
color: theme.palette.chipDefault.contrastText,
|
7865
7865
|
opacity: "30%"
|
7866
7866
|
}
|
7867
7867
|
}]
|
@@ -7878,14 +7878,14 @@ var components = {
|
|
7878
7878
|
style: {
|
7879
7879
|
backgroundColor: theme.palette.background.paper,
|
7880
7880
|
opacity: "70%",
|
7881
|
-
color: theme.palette
|
7881
|
+
color: theme.palette.chipDefault.contrastText
|
7882
7882
|
}
|
7883
7883
|
}, {
|
7884
7884
|
props: {
|
7885
7885
|
variant: "standard"
|
7886
7886
|
},
|
7887
7887
|
style: {
|
7888
|
-
backgroundColor: theme.palette
|
7888
|
+
backgroundColor: theme.palette.chipDefault.contrastText,
|
7889
7889
|
color: theme.palette.primary.contrastText
|
7890
7890
|
}
|
7891
7891
|
}, {
|
@@ -7939,7 +7939,7 @@ var components = {
|
|
7939
7939
|
color: "default"
|
7940
7940
|
},
|
7941
7941
|
style: {
|
7942
|
-
backgroundColor: theme.palette
|
7942
|
+
backgroundColor: theme.palette.chipDefault.contrastText,
|
7943
7943
|
color: theme.palette.background.paper
|
7944
7944
|
}
|
7945
7945
|
}]
|
@@ -7962,9 +7962,9 @@ var components = {
|
|
7962
7962
|
style: {
|
7963
7963
|
border: "1px solid ".concat(theme.palette.grey[400]),
|
7964
7964
|
backgroundColor: "transparent !important",
|
7965
|
-
color: theme.palette
|
7965
|
+
color: theme.palette.chipDefault.contrastText,
|
7966
7966
|
":hover": {
|
7967
|
-
backgroundColor: theme.palette
|
7967
|
+
backgroundColor: theme.palette.chipDefault.main
|
7968
7968
|
}
|
7969
7969
|
}
|
7970
7970
|
}, {
|
@@ -7973,10 +7973,10 @@ var components = {
|
|
7973
7973
|
color: "default"
|
7974
7974
|
},
|
7975
7975
|
style: {
|
7976
|
-
backgroundColor: theme.palette
|
7977
|
-
color: theme.palette
|
7976
|
+
backgroundColor: theme.palette.chipDefault.main,
|
7977
|
+
color: theme.palette.chipDefault.contrastText,
|
7978
7978
|
":hover": {
|
7979
|
-
backgroundColor: theme.palette
|
7979
|
+
backgroundColor: theme.palette.chipDefault.dark
|
7980
7980
|
}
|
7981
7981
|
}
|
7982
7982
|
}, {
|
@@ -7986,7 +7986,7 @@ var components = {
|
|
7986
7986
|
},
|
7987
7987
|
style: {
|
7988
7988
|
backgroundColor: theme.palette.grey[50],
|
7989
|
-
color: theme.palette
|
7989
|
+
color: theme.palette.chipDefault.contrastText,
|
7990
7990
|
":hover": {
|
7991
7991
|
backgroundColor: theme.palette.grey[100]
|
7992
7992
|
}
|
@@ -7998,7 +7998,7 @@ var components = {
|
|
7998
7998
|
},
|
7999
7999
|
style: {
|
8000
8000
|
backgroundColor: theme.palette.grey[50],
|
8001
|
-
color: theme.palette
|
8001
|
+
color: theme.palette.chipDefault.contrastText,
|
8002
8002
|
":hover": {
|
8003
8003
|
backgroundColor: theme.palette.grey[100]
|
8004
8004
|
}
|
@@ -8009,16 +8009,16 @@ var components = {
|
|
8009
8009
|
avatar: true
|
8010
8010
|
},
|
8011
8011
|
style: {
|
8012
|
-
backgroundColor: theme.palette
|
8013
|
-
color: theme.palette
|
8012
|
+
backgroundColor: theme.palette.chipDefault.contrastText,
|
8013
|
+
color: theme.palette.chipDefault.contrastText
|
8014
8014
|
}
|
8015
8015
|
}, {
|
8016
8016
|
props: {
|
8017
8017
|
variant: "standard"
|
8018
8018
|
},
|
8019
8019
|
style: {
|
8020
|
-
backgroundColor: theme.palette
|
8021
|
-
color: theme.palette
|
8020
|
+
backgroundColor: theme.palette.chipDefault.contrastText,
|
8021
|
+
color: theme.palette.chipDefault.contrastText
|
8022
8022
|
}
|
8023
8023
|
}, {
|
8024
8024
|
props: {
|
@@ -8376,9 +8376,6 @@ var components = {
|
|
8376
8376
|
}
|
8377
8377
|
},
|
8378
8378
|
MuiSvgIcon: {
|
8379
|
-
defaultProps: {
|
8380
|
-
color: "action"
|
8381
|
-
},
|
8382
8379
|
styleOverrides: {
|
8383
8380
|
fontSizeLarge: {
|
8384
8381
|
width: 35,
|
@@ -8398,6 +8395,9 @@ var components = {
|
|
8398
8395
|
}
|
8399
8396
|
},
|
8400
8397
|
MuiIconButton: {
|
8398
|
+
defaultProps: {
|
8399
|
+
color: "primary"
|
8400
|
+
},
|
8401
8401
|
styleOverrides: {
|
8402
8402
|
sizeSmall: {
|
8403
8403
|
padding: 3
|
@@ -8702,12 +8702,6 @@ var components = {
|
|
8702
8702
|
};
|
8703
8703
|
|
8704
8704
|
var BasicPalette = {
|
8705
|
-
"default": {
|
8706
|
-
main: "#E4E5E7",
|
8707
|
-
dark: "#D1D3D7",
|
8708
|
-
light: "#F2F2F3",
|
8709
|
-
contrastText: "#5A5E73"
|
8710
|
-
},
|
8711
8705
|
chipInfo: {
|
8712
8706
|
main: "#C0E8FC",
|
8713
8707
|
dark: "#9CD8FA",
|
@@ -8837,7 +8831,13 @@ var BasicPalette = {
|
|
8837
8831
|
black: "#000",
|
8838
8832
|
white: "#fff"
|
8839
8833
|
},
|
8840
|
-
divider: "#0000001f"
|
8834
|
+
divider: "#0000001f",
|
8835
|
+
chipDefault: {
|
8836
|
+
main: "#E4E5E7",
|
8837
|
+
dark: "#D1D3D7",
|
8838
|
+
light: "#F2F2F3",
|
8839
|
+
contrastText: "#5A5E73"
|
8840
|
+
}
|
8841
8841
|
};
|
8842
8842
|
var paletteERP = _objectSpread2({
|
8843
8843
|
primary: {
|
package/package.json
CHANGED
@@ -28,7 +28,7 @@ declare module "@mui/material/Checkbox" {
|
|
28
28
|
}
|
29
29
|
declare module '@mui/material/styles' {
|
30
30
|
interface Palette {
|
31
|
-
|
31
|
+
chipDefault: Palette['primary'];
|
32
32
|
chipPrimary: Palette['primary'];
|
33
33
|
chipSecondary: Palette['secondary'];
|
34
34
|
chipInfo: Palette['info'];
|
@@ -37,7 +37,7 @@ declare module '@mui/material/styles' {
|
|
37
37
|
chipSuccess: Palette['success'];
|
38
38
|
}
|
39
39
|
interface PaletteOptions {
|
40
|
-
|
40
|
+
chipDefault?: Palette['primary'];
|
41
41
|
chipPrimary?: Palette['primary'];
|
42
42
|
chipSecondary?: Palette['secondary'];
|
43
43
|
chipInfo?: Palette['info'];
|