@sinco/react 1.1.2-rc.92 → 1.1.2-rc.94
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +6 -9
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -14453,19 +14453,19 @@ var ProgressSinco = function ProgressSinco(_ref) {
|
|
14453
14453
|
id: "spinner",
|
14454
14454
|
viewBox: "0 0 91 60"
|
14455
14455
|
}, React__default.createElement("path", {
|
14456
|
-
id: "
|
14456
|
+
id: "react-module_path1__lkcOa" ,
|
14457
14457
|
d: "M16.8395 59.9966L34.0333 41.8759L23.6316 19.7821L0.100342 19.845L16.8395 59.9966Z",
|
14458
14458
|
fill: "#0C4271"
|
14459
14459
|
}), React__default.createElement("path", {
|
14460
|
-
id: "
|
14460
|
+
id: "react-module_path2__2EGp6",
|
14461
14461
|
d: "M0 18.1417H54.2501L69.5867 0L13.9796 0.160958L0 18.1417Z",
|
14462
14462
|
fill: "#3872A9"
|
14463
14463
|
}), React__default.createElement("path", {
|
14464
|
-
id: "
|
14464
|
+
id: "react-module_path3__ten1m",
|
14465
14465
|
d: "M90.177 41.0402L71.8396 0.0457764L55.4082 19.2962L65.6909 41.0332L90.177 41.0402Z",
|
14466
14466
|
fill: "#2063A0"
|
14467
14467
|
}), React__default.createElement("path", {
|
14468
|
-
id: "
|
14468
|
+
id: "react-module_path4__Hbv4b",
|
14469
14469
|
d: "M35.4515 42.6838L19.1216 59.9965L76.425 60L90.1772 42.6838H35.4515Z",
|
14470
14470
|
fill: "#4E91C3"
|
14471
14471
|
})), React__default.createElement("use", {
|
@@ -14524,7 +14524,7 @@ var CardRadio = function CardRadio(_ref) {
|
|
14524
14524
|
};
|
14525
14525
|
var getBackgroundColor = function getBackgroundColor() {
|
14526
14526
|
if (states === 'disabled') return '';
|
14527
|
-
return isChecked ? color === 'primary' ? '#
|
14527
|
+
return isChecked ? color === 'primary' ? '#E4ECF4' : color === 'secondary' ? '#00BCD414' : '#FBFBFB' : 'transparent';
|
14528
14528
|
};
|
14529
14529
|
var getBorderColor = function getBorderColor() {
|
14530
14530
|
return isChecked ? color === 'primary' ? '#2063A080' : color === 'secondary' ? '#00BCD480' : '#00BCD4' : '#0000001F';
|
@@ -14556,10 +14556,7 @@ var CardRadio = function CardRadio(_ref) {
|
|
14556
14556
|
flexDirection: 'row',
|
14557
14557
|
padding: '0px 16px 0 0',
|
14558
14558
|
gap: 1
|
14559
|
-
}, media && React__default.createElement(Stack$1, null, React__default.createElement(
|
14560
|
-
src: media,
|
14561
|
-
alt: "media"
|
14562
|
-
})), React__default.createElement(Stack$1, null, header && React__default.createElement(Typography$1, {
|
14559
|
+
}, media && React__default.createElement(Stack$1, null, media), React__default.createElement(Stack$1, null, header && React__default.createElement(Typography$1, {
|
14563
14560
|
variant: "subtitle2",
|
14564
14561
|
color: states === 'disabled' ? 'text.disabled' : isActive ? 'text.primary' : 'text.primary'
|
14565
14562
|
}, content), content && React__default.createElement(Typography$1, {
|