@sinco/react 1.1.2-rc.88 → 1.1.2-rc.89
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
CHANGED
@@ -14503,7 +14503,9 @@ var CardRadio = function CardRadio(_ref) {
|
|
14503
14503
|
_ref$heightPosition = _ref.heightPosition,
|
14504
14504
|
heightPosition = _ref$heightPosition === void 0 ? 'top' : _ref$heightPosition,
|
14505
14505
|
_ref$color = _ref.color,
|
14506
|
-
color = _ref$color === void 0 ? 'primary' : _ref$color
|
14506
|
+
color = _ref$color === void 0 ? 'primary' : _ref$color,
|
14507
|
+
_ref$width = _ref.width,
|
14508
|
+
width = _ref$width === void 0 ? 180 : _ref$width;
|
14507
14509
|
var _useState = useState(states === 'active'),
|
14508
14510
|
_useState2 = _slicedToArray(_useState, 2),
|
14509
14511
|
isChecked = _useState2[0],
|
@@ -14530,6 +14532,7 @@ var CardRadio = function CardRadio(_ref) {
|
|
14530
14532
|
};
|
14531
14533
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement(Stack$1, {
|
14532
14534
|
minWidth: 160,
|
14535
|
+
width: width,
|
14533
14536
|
"data-testid": "card-radio",
|
14534
14537
|
padding: '8px 16px',
|
14535
14538
|
borderRadius: 1,
|
package/package.json
CHANGED