@thecb/components 11.2.17-beta.3 → 11.2.17-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.2.17-beta.3",
3
+ "version": "11.2.17-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",
@@ -7,6 +7,7 @@ import { Box, Cluster, Center, Cover, Switcher } from "../layouts";
7
7
  import Heading from "../heading";
8
8
  import Title from "../title";
9
9
  import withWindowSize from "../../withWindowSize";
10
+ import { WHITE } from "../../../constants/colors";
10
11
 
11
12
  const Jumbo = ({
12
13
  showButton,
@@ -57,12 +58,20 @@ const Jumbo = ({
57
58
  <Title
58
59
  variant={isMobile ? "small" : "large"}
59
60
  as="h1"
60
- color="#ffffff"
61
+ color={WHITE}
61
62
  className="themeJumboHeading"
62
63
  extraStyles={showCartStatus && isMobile && `max-width: 60%;`}
63
64
  >
64
65
  {isHeadingLoading ? (
65
- <Spinner size="100" color="#ffffff" />
66
+ <Spinner
67
+ size="50"
68
+ cx="25"
69
+ cy="25"
70
+ radius="12.5"
71
+ strokeWidth="3"
72
+ centerSpinner
73
+ color={WHITE}
74
+ />
66
75
  ) : (
67
76
  heading
68
77
  )}
@@ -70,7 +79,7 @@ const Jumbo = ({
70
79
  {subHeading && (
71
80
  <Heading
72
81
  variant={isMobile ? "h6" : "h2"}
73
- color="#ffffff"
82
+ color={WHITE}
74
83
  className="themeJumboSubheading"
75
84
  >
76
85
  {subHeading}