@thecb/components 11.1.0-beta.3 → 11.1.0-beta.5

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": "11.1.0-beta.3",
3
+ "version": "11.1.0-beta.5",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -554,8 +554,8 @@ export const CartEnabledObligation = {
554
554
  agencyName: "Water",
555
555
  isInCustomerManagement: false,
556
556
  cartEnabled: true,
557
- cartConfig: undefined,
558
- isInCart: false,
557
+ cartConfig: {},
558
+ isInCart: true,
559
559
  multiCartParams: undefined
560
560
  },
561
561
  render: args => (
@@ -178,7 +178,7 @@ const PaymentDetailsActions = ({
178
178
  text={text}
179
179
  variant={variant}
180
180
  dataQa={text}
181
- disabled={disableActions}
181
+ disabled={disableActions || isInCart}
182
182
  />
183
183
  </Box>
184
184
  )}
@@ -192,7 +192,7 @@ const PaymentDetailsActions = ({
192
192
  variant={variant}
193
193
  dataQa={text}
194
194
  extraStyles={isMobile && `flex-grow: 1; width: 100%; margin: 0;`}
195
- disabled={disableActions}
195
+ disabled={disableActions || isInCart}
196
196
  />
197
197
  </Box>
198
198
  )}