@thecb/components 7.12.2-beta.0 → 7.12.2-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.12.2-beta.0",
3
+ "version": "7.12.2-beta.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,5 +1,12 @@
1
1
  import React, { useState, Fragment } from "react";
2
- import { Stack, Cluster, Box, Motion } from "../../atoms/layouts";
2
+ import {
3
+ Stack,
4
+ Cluster,
5
+ Box,
6
+ Motion,
7
+ Cover,
8
+ Center
9
+ } from "../../atoms/layouts";
3
10
  import { fallbackValues } from "./PaymentDetails.theme";
4
11
 
5
12
  import { displayCurrency } from "../../../util/general";
@@ -114,7 +121,13 @@ const PaymentDetailsContent = ({
114
121
 
115
122
  const LoadingDetails = () => (
116
123
  <Box padding="0" background={GHOST_GREY} borderRadius="4px">
117
- <Spinner />
124
+ <Cover minHeight="100%" singleChild>
125
+ <Center intrinsic>
126
+ <Box>
127
+ <Spinner size="100" />
128
+ </Box>
129
+ </Center>
130
+ </Cover>
118
131
  </Box>
119
132
  );
120
133