@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.12.2-beta.20",
3
+ "version": "7.12.2-beta.22",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -7,6 +7,7 @@ import { Box, Cluster } from "../../atoms/layouts";
7
7
  import SolidDivider from "../../atoms/solid-divider";
8
8
 
9
9
  const PaymentButtonBar = ({
10
+ isForwardButtonDisabled = false,
10
11
  forwardButtonText = "Next",
11
12
  forwardButtonAction,
12
13
  forwardButtonLoading,
@@ -51,6 +52,7 @@ const PaymentButtonBar = ({
51
52
  variant={forwardButtonVariant}
52
53
  extraStyles={isMobile && "flex-grow: 1"}
53
54
  dataQa={redirectText}
55
+ disabled={isForwardButtonDisabled}
54
56
  />
55
57
  ) : (
56
58
  forwardButtonAction && (
@@ -61,6 +63,7 @@ const PaymentButtonBar = ({
61
63
  isLoading={forwardButtonLoading}
62
64
  extraStyles={isMobile && "flex-grow: 1"}
63
65
  dataQa={forwardButtonText}
66
+ disabled={isForwardButtonDisabled}
64
67
  />
65
68
  )
66
69
  );
@@ -149,8 +149,8 @@ const ErrorDetails = () => (
149
149
  noBorder
150
150
  enableBoxShadow
151
151
  enableSmallText
152
- innerContentPadding="0 0.75rem"
153
- iconPadding="0 0 0 0.25rem"
152
+ innerContentPadding="0 0 0 0.75rem"
153
+ iconPadding="0 0 0 0"
154
154
  height="67px"
155
155
  minHeight="67px"
156
156
  padding={"0.75rem"}