@thecb/components 7.13.0 → 7.13.1-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 CHANGED
@@ -46830,7 +46830,9 @@ var Pagination = function Pagination(_ref3) {
46830
46830
  var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
46831
46831
 
46832
46832
  var PaymentButtonBar = function PaymentButtonBar(_ref) {
46833
- var _ref$forwardButtonTex = _ref.forwardButtonText,
46833
+ var _ref$isForwardButtonD = _ref.isForwardButtonDisabled,
46834
+ isForwardButtonDisabled = _ref$isForwardButtonD === void 0 ? false : _ref$isForwardButtonD,
46835
+ _ref$forwardButtonTex = _ref.forwardButtonText,
46834
46836
  forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
46835
46837
  forwardButtonAction = _ref.forwardButtonAction,
46836
46838
  forwardButtonLoading = _ref.forwardButtonLoading,
@@ -46872,14 +46874,16 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
46872
46874
  text: redirectText,
46873
46875
  variant: forwardButtonVariant,
46874
46876
  extraStyles: isMobile && "flex-grow: 1",
46875
- dataQa: redirectText
46877
+ dataQa: redirectText,
46878
+ disabled: isForwardButtonDisabled
46876
46879
  }) : forwardButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
46877
46880
  text: forwardButtonText,
46878
46881
  variant: forwardButtonVariant,
46879
46882
  action: forwardButtonAction,
46880
46883
  isLoading: forwardButtonLoading,
46881
46884
  extraStyles: isMobile && "flex-grow: 1",
46882
- dataQa: forwardButtonText
46885
+ dataQa: forwardButtonText,
46886
+ disabled: isForwardButtonDisabled
46883
46887
  });
46884
46888
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
46885
46889
  padding: "1.25rem 0"