@thecb/components 7.12.0 → 7.12.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 CHANGED
@@ -14782,7 +14782,9 @@ var PencilIcon = function PencilIcon(_ref) {
14782
14782
 
14783
14783
  var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$2, "info");
14784
14784
 
14785
- var PendingIcon = function PendingIcon() {
14785
+ var PendingIcon = function PendingIcon(_ref) {
14786
+ var _ref$fill = _ref.fill,
14787
+ fill = _ref$fill === void 0 ? STORM_GREY : _ref$fill;
14786
14788
  return /*#__PURE__*/React__default.createElement("svg", {
14787
14789
  width: "32px",
14788
14790
  height: "32px",
@@ -14799,7 +14801,7 @@ var PendingIcon = function PendingIcon() {
14799
14801
  }, /*#__PURE__*/React__default.createElement("g", {
14800
14802
  id: "Icons",
14801
14803
  transform: "translate(-64.000000, -448.000000)",
14802
- fill: "#6D717E"
14804
+ fill: fill
14803
14805
  }, /*#__PURE__*/React__default.createElement("path", {
14804
14806
  d: "M80,480 C88.836556,480 96,472.836556 96,464 C96,455.163444 88.836556,448 80,448 C71.163444,448 64,455.163444 64,464 C64,472.836556 71.163444,480 80,480 Z M87,466 C88.1045695,466 89,465.104569 89,464 C89,462.895431 88.1045695,462 87,462 C85.8954305,462 85,462.895431 85,464 C85,465.104569 85.8954305,466 87,466 Z M80,462 C81.1045695,462 82,462.895431 82,464 C82,465.104569 81.1045695,466 80,466 C78.8954305,466 78,465.104569 78,464 C78,462.895431 78.8954305,462 80,462 Z M73,462 C74.1045695,462 75,462.895431 75,464 C75,465.104569 74.1045695,466 73,466 C71.8954305,466 71,465.104569 71,464 C71,462.895431 71.8954305,462 73,462 Z",
14805
14807
  id: "status-icon---pending"
@@ -46828,7 +46830,9 @@ var Pagination = function Pagination(_ref3) {
46828
46830
  var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
46829
46831
 
46830
46832
  var PaymentButtonBar = function PaymentButtonBar(_ref) {
46831
- 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,
46832
46836
  forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
46833
46837
  forwardButtonAction = _ref.forwardButtonAction,
46834
46838
  forwardButtonLoading = _ref.forwardButtonLoading,
@@ -46870,14 +46874,16 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
46870
46874
  text: redirectText,
46871
46875
  variant: forwardButtonVariant,
46872
46876
  extraStyles: isMobile && "flex-grow: 1",
46873
- dataQa: redirectText
46877
+ dataQa: redirectText,
46878
+ disabled: isForwardButtonDisabled
46874
46879
  }) : forwardButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
46875
46880
  text: forwardButtonText,
46876
46881
  variant: forwardButtonVariant,
46877
46882
  action: forwardButtonAction,
46878
46883
  isLoading: forwardButtonLoading,
46879
46884
  extraStyles: isMobile && "flex-grow: 1",
46880
- dataQa: forwardButtonText
46885
+ dataQa: forwardButtonText,
46886
+ disabled: isForwardButtonDisabled
46881
46887
  });
46882
46888
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
46883
46889
  padding: "1.25rem 0"