@sinco/react 1.1.2-rc.92 → 1.1.2-rc.93
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +2 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -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, {
|