@thecb/components 9.1.2-beta.1 → 9.1.3-beta.0
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 +5 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -11
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/line-item/LineItem.js +1 -1
- package/src/components/molecules/.DS_Store +0 -0
- package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +0 -5
- /package/src/components/atoms/icons/{ExternalLinkIcon.js → ExternalLinkicon.js} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -26635,7 +26635,7 @@ var LineItem = function LineItem(_ref) {
|
|
|
26635
26635
|
};
|
|
26636
26636
|
|
|
26637
26637
|
var visibleCustomAttrs = customAttributes === null || customAttributes === void 0 ? void 0 : (_customAttributes$fil = customAttributes.filter(function (attr) {
|
|
26638
|
-
return visibleFields.includes(attr.key) && attr.key !== "description";
|
|
26638
|
+
return (visibleFields === null || visibleFields === void 0 ? void 0 : visibleFields.includes(attr.key)) && attr.key !== "description";
|
|
26639
26639
|
})) === null || _customAttributes$fil === void 0 ? void 0 : _customAttributes$fil.map(function (attr) {
|
|
26640
26640
|
return /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
26641
26641
|
variant: "pS",
|
|
@@ -47066,8 +47066,6 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47066
47066
|
forwardButtonLoading = _ref.forwardButtonLoading,
|
|
47067
47067
|
_ref$forwardButtonVar = _ref.forwardButtonVariant,
|
|
47068
47068
|
forwardButtonVariant = _ref$forwardButtonVar === void 0 ? "primary" : _ref$forwardButtonVar,
|
|
47069
|
-
_ref$forwardButtonAri = _ref.forwardButtonAriaRole,
|
|
47070
|
-
forwardButtonAriaRole = _ref$forwardButtonAri === void 0 ? "button" : _ref$forwardButtonAri,
|
|
47071
47069
|
_ref$backButtonVarian = _ref.backButtonVariant,
|
|
47072
47070
|
backButtonVariant = _ref$backButtonVarian === void 0 ? "secondary" : _ref$backButtonVarian,
|
|
47073
47071
|
backButtonAction = _ref.backButtonAction,
|
|
@@ -47091,15 +47089,13 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47091
47089
|
url: cancelURL,
|
|
47092
47090
|
variant: backButtonVariant,
|
|
47093
47091
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47094
|
-
dataQa: cancelText
|
|
47095
|
-
role: "link"
|
|
47092
|
+
dataQa: cancelText
|
|
47096
47093
|
}) : backButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47097
47094
|
text: "Back",
|
|
47098
47095
|
variant: backButtonVariant,
|
|
47099
47096
|
action: backButtonAction,
|
|
47100
47097
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47101
|
-
dataQa: "Back"
|
|
47102
|
-
role: "link"
|
|
47098
|
+
dataQa: "Back"
|
|
47103
47099
|
});
|
|
47104
47100
|
var forwardButton = !!redirectURL ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
|
|
47105
47101
|
url: redirectURL,
|
|
@@ -47107,8 +47103,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47107
47103
|
variant: forwardButtonVariant,
|
|
47108
47104
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47109
47105
|
dataQa: redirectText,
|
|
47110
|
-
disabled: isForwardButtonDisabled
|
|
47111
|
-
role: forwardButtonAriaRole
|
|
47106
|
+
disabled: isForwardButtonDisabled
|
|
47112
47107
|
}) : forwardButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47113
47108
|
text: forwardButtonText,
|
|
47114
47109
|
variant: forwardButtonVariant,
|
|
@@ -47116,8 +47111,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47116
47111
|
isLoading: forwardButtonLoading,
|
|
47117
47112
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47118
47113
|
dataQa: forwardButtonText,
|
|
47119
|
-
disabled: isForwardButtonDisabled
|
|
47120
|
-
role: forwardButtonAriaRole
|
|
47114
|
+
disabled: isForwardButtonDisabled
|
|
47121
47115
|
});
|
|
47122
47116
|
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
47123
47117
|
padding: "1.25rem 0"
|