@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.cjs.js
CHANGED
|
@@ -27340,6 +27340,7 @@ var fallbackValues$v = {
|
|
|
27340
27340
|
inactiveColor: inactiveColor
|
|
27341
27341
|
};
|
|
27342
27342
|
|
|
27343
|
+
var _excluded$w = ["radioOn", "radioFocused", "toggleRadio", "name", "disabled", "ariaDescribedBy", "themeValues", "ariaLabelledBy", "ariaLabel", "isRequired"];
|
|
27343
27344
|
var HiddenRadioButton = styled__default.input.withConfig({
|
|
27344
27345
|
displayName: "RadioButton__HiddenRadioButton",
|
|
27345
27346
|
componentId: "sc-1jed2i-0"
|
|
@@ -27365,7 +27366,9 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27365
27366
|
_ref2$ariaLabel = _ref2.ariaLabel,
|
|
27366
27367
|
ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel,
|
|
27367
27368
|
_ref2$isRequired = _ref2.isRequired,
|
|
27368
|
-
isRequired = _ref2$isRequired === void 0 ? false : _ref2$isRequired
|
|
27369
|
+
isRequired = _ref2$isRequired === void 0 ? false : _ref2$isRequired,
|
|
27370
|
+
rest = _objectWithoutProperties(_ref2, _excluded$w);
|
|
27371
|
+
|
|
27369
27372
|
var buttonBorder = {
|
|
27370
27373
|
onFocused: {
|
|
27371
27374
|
borderColor: themeValues.activeColor,
|
|
@@ -27408,7 +27411,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27408
27411
|
width: "0px"
|
|
27409
27412
|
}
|
|
27410
27413
|
};
|
|
27411
|
-
var extraProps = {};
|
|
27414
|
+
var extraProps = rest !== null && rest !== void 0 && rest.length ? rest : {};
|
|
27412
27415
|
|
|
27413
27416
|
if (ariaLabelledBy && ariaLabelledBy.length) {
|
|
27414
27417
|
extraProps["aria-labelledby"] = ariaLabelledBy;
|
|
@@ -38697,7 +38700,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
38697
38700
|
return extraStyles;
|
|
38698
38701
|
});
|
|
38699
38702
|
|
|
38700
|
-
var _excluded$
|
|
38703
|
+
var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38701
38704
|
|
|
38702
38705
|
var TableRow = function TableRow(_ref) {
|
|
38703
38706
|
var children = _ref.children,
|
|
@@ -38707,7 +38710,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38707
38710
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38708
38711
|
onClick = _ref.onClick,
|
|
38709
38712
|
themeValues = _ref.themeValues,
|
|
38710
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38713
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
38711
38714
|
|
|
38712
38715
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
38713
38716
|
onClick: onClick,
|
|
@@ -47264,7 +47267,7 @@ var fallbackValues$N = {
|
|
|
47264
47267
|
labeledAmountTotal: labeledAmountTotal
|
|
47265
47268
|
};
|
|
47266
47269
|
|
|
47267
|
-
var _excluded$
|
|
47270
|
+
var _excluded$y = ["amount"],
|
|
47268
47271
|
_excluded2$1 = ["amount"];
|
|
47269
47272
|
|
|
47270
47273
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47509,7 +47512,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47509
47512
|
return fee.amount > 0;
|
|
47510
47513
|
}).map(function (_ref5) {
|
|
47511
47514
|
var amount = _ref5.amount,
|
|
47512
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47515
|
+
rest = _objectWithoutProperties(_ref5, _excluded$y);
|
|
47513
47516
|
|
|
47514
47517
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47515
47518
|
amount: displayCurrency(amount)
|
|
@@ -47912,12 +47915,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
47912
47915
|
}, errorMessage))))));
|
|
47913
47916
|
};
|
|
47914
47917
|
|
|
47915
|
-
var _excluded$
|
|
47918
|
+
var _excluded$z = ["version"];
|
|
47916
47919
|
|
|
47917
47920
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47918
47921
|
var _ref$version = _ref.version,
|
|
47919
47922
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
47920
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
47923
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
47921
47924
|
|
|
47922
47925
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47923
47926
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48706,7 +48709,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48706
48709
|
role: "radio",
|
|
48707
48710
|
"aria-checked": openSection === section.id,
|
|
48708
48711
|
"aria-disabled": section.disabled,
|
|
48709
|
-
required: !!(section !== null && section !== void 0 && section.required)
|
|
48712
|
+
"aria-required": !!(section !== null && section !== void 0 && section.required)
|
|
48710
48713
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
48711
48714
|
childGap: "0"
|
|
48712
48715
|
}, /*#__PURE__*/React__default.createElement(Box, {
|