@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.esm.js
CHANGED
|
@@ -26627,7 +26627,7 @@ var LineItem = function LineItem(_ref) {
|
|
|
26627
26627
|
};
|
|
26628
26628
|
|
|
26629
26629
|
var visibleCustomAttrs = customAttributes === null || customAttributes === void 0 ? void 0 : (_customAttributes$fil = customAttributes.filter(function (attr) {
|
|
26630
|
-
return visibleFields.includes(attr.key) && attr.key !== "description";
|
|
26630
|
+
return (visibleFields === null || visibleFields === void 0 ? void 0 : visibleFields.includes(attr.key)) && attr.key !== "description";
|
|
26631
26631
|
})) === null || _customAttributes$fil === void 0 ? void 0 : _customAttributes$fil.map(function (attr) {
|
|
26632
26632
|
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
26633
26633
|
variant: "pS",
|
|
@@ -47058,8 +47058,6 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47058
47058
|
forwardButtonLoading = _ref.forwardButtonLoading,
|
|
47059
47059
|
_ref$forwardButtonVar = _ref.forwardButtonVariant,
|
|
47060
47060
|
forwardButtonVariant = _ref$forwardButtonVar === void 0 ? "primary" : _ref$forwardButtonVar,
|
|
47061
|
-
_ref$forwardButtonAri = _ref.forwardButtonAriaRole,
|
|
47062
|
-
forwardButtonAriaRole = _ref$forwardButtonAri === void 0 ? "button" : _ref$forwardButtonAri,
|
|
47063
47061
|
_ref$backButtonVarian = _ref.backButtonVariant,
|
|
47064
47062
|
backButtonVariant = _ref$backButtonVarian === void 0 ? "secondary" : _ref$backButtonVarian,
|
|
47065
47063
|
backButtonAction = _ref.backButtonAction,
|
|
@@ -47083,15 +47081,13 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47083
47081
|
url: cancelURL,
|
|
47084
47082
|
variant: backButtonVariant,
|
|
47085
47083
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47086
|
-
dataQa: cancelText
|
|
47087
|
-
role: "link"
|
|
47084
|
+
dataQa: cancelText
|
|
47088
47085
|
}) : backButtonAction && /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
47089
47086
|
text: "Back",
|
|
47090
47087
|
variant: backButtonVariant,
|
|
47091
47088
|
action: backButtonAction,
|
|
47092
47089
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47093
|
-
dataQa: "Back"
|
|
47094
|
-
role: "link"
|
|
47090
|
+
dataQa: "Back"
|
|
47095
47091
|
});
|
|
47096
47092
|
var forwardButton = !!redirectURL ? /*#__PURE__*/React.createElement(ButtonWithLink, {
|
|
47097
47093
|
url: redirectURL,
|
|
@@ -47099,8 +47095,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47099
47095
|
variant: forwardButtonVariant,
|
|
47100
47096
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47101
47097
|
dataQa: redirectText,
|
|
47102
|
-
disabled: isForwardButtonDisabled
|
|
47103
|
-
role: forwardButtonAriaRole
|
|
47098
|
+
disabled: isForwardButtonDisabled
|
|
47104
47099
|
}) : forwardButtonAction && /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
47105
47100
|
text: forwardButtonText,
|
|
47106
47101
|
variant: forwardButtonVariant,
|
|
@@ -47108,8 +47103,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47108
47103
|
isLoading: forwardButtonLoading,
|
|
47109
47104
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47110
47105
|
dataQa: forwardButtonText,
|
|
47111
|
-
disabled: isForwardButtonDisabled
|
|
47112
|
-
role: forwardButtonAriaRole
|
|
47106
|
+
disabled: isForwardButtonDisabled
|
|
47113
47107
|
});
|
|
47114
47108
|
return /*#__PURE__*/React.createElement(Fragment$1, null, /*#__PURE__*/React.createElement(Box, {
|
|
47115
47109
|
padding: "1.25rem 0"
|