@thecb/components 9.2.4-beta.7 → 9.2.4-beta.8
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/dist/index.cjs.js +13 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +13 -13
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/RadioSection.js +2 -2
- package/src/components/molecules/radio-section/radio-button/RadioButton.js +2 -3
package/dist/index.esm.js
CHANGED
|
@@ -27332,6 +27332,7 @@ var fallbackValues$v = {
|
|
|
27332
27332
|
inactiveColor: inactiveColor
|
|
27333
27333
|
};
|
|
27334
27334
|
|
|
27335
|
+
var _excluded$w = ["radioOn", "radioFocused", "toggleRadio", "name", "disabled", "ariaDescribedBy", "themeValues", "ariaLabelledBy", "ariaLabel"];
|
|
27335
27336
|
var HiddenRadioButton = styled.input.withConfig({
|
|
27336
27337
|
displayName: "RadioButton__HiddenRadioButton",
|
|
27337
27338
|
componentId: "sc-1jed2i-0"
|
|
@@ -27356,8 +27357,8 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27356
27357
|
ariaLabelledBy = _ref2$ariaLabelledBy === void 0 ? "" : _ref2$ariaLabelledBy,
|
|
27357
27358
|
_ref2$ariaLabel = _ref2.ariaLabel,
|
|
27358
27359
|
ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel,
|
|
27359
|
-
|
|
27360
|
-
|
|
27360
|
+
rest = _objectWithoutProperties(_ref2, _excluded$w);
|
|
27361
|
+
|
|
27361
27362
|
var buttonBorder = {
|
|
27362
27363
|
onFocused: {
|
|
27363
27364
|
borderColor: themeValues.activeColor,
|
|
@@ -27400,7 +27401,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27400
27401
|
width: "0px"
|
|
27401
27402
|
}
|
|
27402
27403
|
};
|
|
27403
|
-
var extraProps = {};
|
|
27404
|
+
var extraProps = rest !== null && rest !== void 0 && rest.length ? rest : {};
|
|
27404
27405
|
|
|
27405
27406
|
if (ariaLabelledBy && ariaLabelledBy.length) {
|
|
27406
27407
|
extraProps["aria-labelledby"] = ariaLabelledBy;
|
|
@@ -27419,8 +27420,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27419
27420
|
disabled: disabled,
|
|
27420
27421
|
onClick: toggleRadio,
|
|
27421
27422
|
"aria-describedby": ariaDescribedBy,
|
|
27422
|
-
tabIndex: "-1"
|
|
27423
|
-
required: isRequired
|
|
27423
|
+
tabIndex: "-1"
|
|
27424
27424
|
}, extraProps)), /*#__PURE__*/React.createElement(Motion, {
|
|
27425
27425
|
borderWidth: "1px",
|
|
27426
27426
|
borderStyle: "solid",
|
|
@@ -38689,7 +38689,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
38689
38689
|
return extraStyles;
|
|
38690
38690
|
});
|
|
38691
38691
|
|
|
38692
|
-
var _excluded$
|
|
38692
|
+
var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38693
38693
|
|
|
38694
38694
|
var TableRow = function TableRow(_ref) {
|
|
38695
38695
|
var children = _ref.children,
|
|
@@ -38699,7 +38699,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38699
38699
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38700
38700
|
onClick = _ref.onClick,
|
|
38701
38701
|
themeValues = _ref.themeValues,
|
|
38702
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38702
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
38703
38703
|
|
|
38704
38704
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
38705
38705
|
onClick: onClick,
|
|
@@ -47256,7 +47256,7 @@ var fallbackValues$N = {
|
|
|
47256
47256
|
labeledAmountTotal: labeledAmountTotal
|
|
47257
47257
|
};
|
|
47258
47258
|
|
|
47259
|
-
var _excluded$
|
|
47259
|
+
var _excluded$y = ["amount"],
|
|
47260
47260
|
_excluded2$1 = ["amount"];
|
|
47261
47261
|
|
|
47262
47262
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47501,7 +47501,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47501
47501
|
return fee.amount > 0;
|
|
47502
47502
|
}).map(function (_ref5) {
|
|
47503
47503
|
var amount = _ref5.amount,
|
|
47504
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47504
|
+
rest = _objectWithoutProperties(_ref5, _excluded$y);
|
|
47505
47505
|
|
|
47506
47506
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47507
47507
|
amount: displayCurrency(amount)
|
|
@@ -47904,12 +47904,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
47904
47904
|
}, errorMessage))))));
|
|
47905
47905
|
};
|
|
47906
47906
|
|
|
47907
|
-
var _excluded$
|
|
47907
|
+
var _excluded$z = ["version"];
|
|
47908
47908
|
|
|
47909
47909
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47910
47910
|
var _ref$version = _ref.version,
|
|
47911
47911
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
47912
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
47912
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
47913
47913
|
|
|
47914
47914
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47915
47915
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48698,7 +48698,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48698
48698
|
role: "radio",
|
|
48699
48699
|
"aria-checked": openSection === section.id,
|
|
48700
48700
|
"aria-disabled": section.disabled,
|
|
48701
|
-
required: !!(section !== null && section !== void 0 && section.required)
|
|
48701
|
+
"aria-required": !!(section !== null && section !== void 0 && section.required)
|
|
48702
48702
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48703
48703
|
childGap: "0"
|
|
48704
48704
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -48737,7 +48737,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48737
48737
|
return toggleOpenSection(section.id);
|
|
48738
48738
|
},
|
|
48739
48739
|
tabIndex: "-1",
|
|
48740
|
-
|
|
48740
|
+
"aria-required": !!(section !== null && section !== void 0 && section.required)
|
|
48741
48741
|
})), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
|
|
48742
48742
|
align: "center"
|
|
48743
48743
|
}, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
|