@thecb/components 11.2.17-beta.3 → 11.2.17-beta.4

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.4",
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,12 @@ 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 size="100" centerSpinner color={WHITE} />
66
67
  ) : (
67
68
  heading
68
69
  )}
@@ -70,7 +71,7 @@ const Jumbo = ({
70
71
  {subHeading && (
71
72
  <Heading
72
73
  variant={isMobile ? "h6" : "h2"}
73
- color="#ffffff"
74
+ color={WHITE}
74
75
  className="themeJumboSubheading"
75
76
  >
76
77
  {subHeading}