@thecb/components 9.2.4-beta.7 → 9.2.4-beta.9
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 +12 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/RadioSection.js +1 -1
- package/src/components/molecules/radio-section/radio-button/RadioButton.js +3 -2
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", "isRequired"];
|
|
27335
27336
|
var HiddenRadioButton = styled.input.withConfig({
|
|
27336
27337
|
displayName: "RadioButton__HiddenRadioButton",
|
|
27337
27338
|
componentId: "sc-1jed2i-0"
|
|
@@ -27357,7 +27358,9 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27357
27358
|
_ref2$ariaLabel = _ref2.ariaLabel,
|
|
27358
27359
|
ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel,
|
|
27359
27360
|
_ref2$isRequired = _ref2.isRequired,
|
|
27360
|
-
isRequired = _ref2$isRequired === void 0 ? false : _ref2$isRequired
|
|
27361
|
+
isRequired = _ref2$isRequired === void 0 ? false : _ref2$isRequired,
|
|
27362
|
+
rest = _objectWithoutProperties(_ref2, _excluded$w);
|
|
27363
|
+
|
|
27361
27364
|
var buttonBorder = {
|
|
27362
27365
|
onFocused: {
|
|
27363
27366
|
borderColor: themeValues.activeColor,
|
|
@@ -27400,7 +27403,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27400
27403
|
width: "0px"
|
|
27401
27404
|
}
|
|
27402
27405
|
};
|
|
27403
|
-
var extraProps = {};
|
|
27406
|
+
var extraProps = rest !== null && rest !== void 0 && rest.length ? rest : {};
|
|
27404
27407
|
|
|
27405
27408
|
if (ariaLabelledBy && ariaLabelledBy.length) {
|
|
27406
27409
|
extraProps["aria-labelledby"] = ariaLabelledBy;
|
|
@@ -38689,7 +38692,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
38689
38692
|
return extraStyles;
|
|
38690
38693
|
});
|
|
38691
38694
|
|
|
38692
|
-
var _excluded$
|
|
38695
|
+
var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38693
38696
|
|
|
38694
38697
|
var TableRow = function TableRow(_ref) {
|
|
38695
38698
|
var children = _ref.children,
|
|
@@ -38699,7 +38702,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38699
38702
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38700
38703
|
onClick = _ref.onClick,
|
|
38701
38704
|
themeValues = _ref.themeValues,
|
|
38702
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38705
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
38703
38706
|
|
|
38704
38707
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
38705
38708
|
onClick: onClick,
|
|
@@ -47256,7 +47259,7 @@ var fallbackValues$N = {
|
|
|
47256
47259
|
labeledAmountTotal: labeledAmountTotal
|
|
47257
47260
|
};
|
|
47258
47261
|
|
|
47259
|
-
var _excluded$
|
|
47262
|
+
var _excluded$y = ["amount"],
|
|
47260
47263
|
_excluded2$1 = ["amount"];
|
|
47261
47264
|
|
|
47262
47265
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47501,7 +47504,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47501
47504
|
return fee.amount > 0;
|
|
47502
47505
|
}).map(function (_ref5) {
|
|
47503
47506
|
var amount = _ref5.amount,
|
|
47504
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47507
|
+
rest = _objectWithoutProperties(_ref5, _excluded$y);
|
|
47505
47508
|
|
|
47506
47509
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47507
47510
|
amount: displayCurrency(amount)
|
|
@@ -47904,12 +47907,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
47904
47907
|
}, errorMessage))))));
|
|
47905
47908
|
};
|
|
47906
47909
|
|
|
47907
|
-
var _excluded$
|
|
47910
|
+
var _excluded$z = ["version"];
|
|
47908
47911
|
|
|
47909
47912
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47910
47913
|
var _ref$version = _ref.version,
|
|
47911
47914
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
47912
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
47915
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
47913
47916
|
|
|
47914
47917
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47915
47918
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48698,7 +48701,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48698
48701
|
role: "radio",
|
|
48699
48702
|
"aria-checked": openSection === section.id,
|
|
48700
48703
|
"aria-disabled": section.disabled,
|
|
48701
|
-
required: !!(section !== null && section !== void 0 && section.required)
|
|
48704
|
+
"aria-required": !!(section !== null && section !== void 0 && section.required)
|
|
48702
48705
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48703
48706
|
childGap: "0"
|
|
48704
48707
|
}, /*#__PURE__*/React.createElement(Box, {
|