@thecb/components 7.12.0-beta.1 → 7.12.1

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.esm.js CHANGED
@@ -14774,7 +14774,9 @@ var PencilIcon = function PencilIcon(_ref) {
14774
14774
 
14775
14775
  var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$2, "info");
14776
14776
 
14777
- var PendingIcon = function PendingIcon() {
14777
+ var PendingIcon = function PendingIcon(_ref) {
14778
+ var _ref$fill = _ref.fill,
14779
+ fill = _ref$fill === void 0 ? STORM_GREY : _ref$fill;
14778
14780
  return /*#__PURE__*/React.createElement("svg", {
14779
14781
  width: "32px",
14780
14782
  height: "32px",
@@ -14791,7 +14793,7 @@ var PendingIcon = function PendingIcon() {
14791
14793
  }, /*#__PURE__*/React.createElement("g", {
14792
14794
  id: "Icons",
14793
14795
  transform: "translate(-64.000000, -448.000000)",
14794
- fill: "#6D717E"
14796
+ fill: fill
14795
14797
  }, /*#__PURE__*/React.createElement("path", {
14796
14798
  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",
14797
14799
  id: "status-icon---pending"
@@ -46820,7 +46822,9 @@ var Pagination = function Pagination(_ref3) {
46820
46822
  var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
46821
46823
 
46822
46824
  var PaymentButtonBar = function PaymentButtonBar(_ref) {
46823
- var _ref$forwardButtonTex = _ref.forwardButtonText,
46825
+ var _ref$isForwardButtonD = _ref.isForwardButtonDisabled,
46826
+ isForwardButtonDisabled = _ref$isForwardButtonD === void 0 ? false : _ref$isForwardButtonD,
46827
+ _ref$forwardButtonTex = _ref.forwardButtonText,
46824
46828
  forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
46825
46829
  forwardButtonAction = _ref.forwardButtonAction,
46826
46830
  forwardButtonLoading = _ref.forwardButtonLoading,
@@ -46862,14 +46866,16 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
46862
46866
  text: redirectText,
46863
46867
  variant: forwardButtonVariant,
46864
46868
  extraStyles: isMobile && "flex-grow: 1",
46865
- dataQa: redirectText
46869
+ dataQa: redirectText,
46870
+ disabled: isForwardButtonDisabled
46866
46871
  }) : forwardButtonAction && /*#__PURE__*/React.createElement(ButtonWithAction, {
46867
46872
  text: forwardButtonText,
46868
46873
  variant: forwardButtonVariant,
46869
46874
  action: forwardButtonAction,
46870
46875
  isLoading: forwardButtonLoading,
46871
46876
  extraStyles: isMobile && "flex-grow: 1",
46872
- dataQa: forwardButtonText
46877
+ dataQa: forwardButtonText,
46878
+ disabled: isForwardButtonDisabled
46873
46879
  });
46874
46880
  return /*#__PURE__*/React.createElement(Fragment$1, null, /*#__PURE__*/React.createElement(Box, {
46875
46881
  padding: "1.25rem 0"