@thecb/components 7.12.2-beta.20 → 7.12.2-beta.22
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 +9 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +3 -0
- package/src/components/molecules/payment-details/PaymentDetails.js +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -46918,7 +46918,9 @@ var Pagination = function Pagination(_ref3) {
|
|
|
46918
46918
|
var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
|
|
46919
46919
|
|
|
46920
46920
|
var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
46921
|
-
var _ref$
|
|
46921
|
+
var _ref$isForwardButtonD = _ref.isForwardButtonDisabled,
|
|
46922
|
+
isForwardButtonDisabled = _ref$isForwardButtonD === void 0 ? false : _ref$isForwardButtonD,
|
|
46923
|
+
_ref$forwardButtonTex = _ref.forwardButtonText,
|
|
46922
46924
|
forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
|
|
46923
46925
|
forwardButtonAction = _ref.forwardButtonAction,
|
|
46924
46926
|
forwardButtonLoading = _ref.forwardButtonLoading,
|
|
@@ -46960,14 +46962,16 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
46960
46962
|
text: redirectText,
|
|
46961
46963
|
variant: forwardButtonVariant,
|
|
46962
46964
|
extraStyles: isMobile && "flex-grow: 1",
|
|
46963
|
-
dataQa: redirectText
|
|
46965
|
+
dataQa: redirectText,
|
|
46966
|
+
disabled: isForwardButtonDisabled
|
|
46964
46967
|
}) : forwardButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46965
46968
|
text: forwardButtonText,
|
|
46966
46969
|
variant: forwardButtonVariant,
|
|
46967
46970
|
action: forwardButtonAction,
|
|
46968
46971
|
isLoading: forwardButtonLoading,
|
|
46969
46972
|
extraStyles: isMobile && "flex-grow: 1",
|
|
46970
|
-
dataQa: forwardButtonText
|
|
46973
|
+
dataQa: forwardButtonText,
|
|
46974
|
+
disabled: isForwardButtonDisabled
|
|
46971
46975
|
});
|
|
46972
46976
|
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
46973
46977
|
padding: "1.25rem 0"
|
|
@@ -47104,8 +47108,8 @@ var ErrorDetails = function ErrorDetails() {
|
|
|
47104
47108
|
noBorder: true,
|
|
47105
47109
|
enableBoxShadow: true,
|
|
47106
47110
|
enableSmallText: true,
|
|
47107
|
-
innerContentPadding: "0 0.75rem",
|
|
47108
|
-
iconPadding: "0 0 0 0
|
|
47111
|
+
innerContentPadding: "0 0 0 0.75rem",
|
|
47112
|
+
iconPadding: "0 0 0 0",
|
|
47109
47113
|
height: "67px",
|
|
47110
47114
|
minHeight: "67px",
|
|
47111
47115
|
padding: "0.75rem"
|