@thecb/components 11.2.4 → 11.2.5-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": "11.2.4",
3
+ "version": "11.2.5-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",
Binary file
@@ -37,6 +37,7 @@ const RegistrationBanner = ({
37
37
  justify="space-between"
38
38
  overflow="visible"
39
39
  isMobile={isMobile}
40
+ nowrap
40
41
  >
41
42
  <Box padding="0" textAlign="left">
42
43
  <Heading
@@ -53,11 +54,11 @@ const RegistrationBanner = ({
53
54
  display: block;
54
55
  padding: ${isMobile ? ".125rem 0 1rem" : "0"}
55
56
  `}
56
- fontSize={isMobile ? FONT_SIZE.SM : FONT_SIZE.LG}
57
+ fontSize={isMobile ? FONT_SIZE.MD : FONT_SIZE.LG}
57
58
  color={themeValues.secondaryColor}
58
59
  >
59
- Save payment methods and information for fast, easy, and safe
60
- payments with {clientName}
60
+ Save payment methods and billing information for fast, easy, and
61
+ safe payments with {clientName}
61
62
  </Text>
62
63
  </Box>
63
64
  <Styled.ButtonContainer
@@ -73,7 +74,11 @@ const RegistrationBanner = ({
73
74
  fontWeight={FONT_WEIGHT_SEMIBOLD}
74
75
  url={registrationLink}
75
76
  >
76
- <Cluster justify="center" align="center">
77
+ <Cluster
78
+ justify="center"
79
+ align="center"
80
+ extraStyles="min-width: 100%"
81
+ >
77
82
  <Text
78
83
  extraStyles="margin-right: 0.5rem"
79
84
  fontSize={isMobile ? FONT_SIZE.MD : FONT_SIZE.LG}
@@ -6,12 +6,12 @@ import { adjustHexColor } from "../../../util/general";
6
6
  export const BannerContainer = styled(Cluster)`
7
7
  background: ${({ themeValues }) =>
8
8
  adjustHexColor(themeValues.background, 10, "lighten")};
9
- padding: ${({ isMobile }) => (isMobile ? "1rem 2rem" : " 2rem 8.25rem")};
9
+ padding: 2rem;
10
10
  `;
11
11
 
12
12
  export const ContentContainer = styled(Cluster)`
13
13
  padding: 0;
14
- width: ${({ isMobile }) => (isMobile ? "296px" : " 1176px")};
14
+ width: ${({ isMobile }) => (isMobile ? "100%" : " 1224px")};
15
15
  > div {
16
16
  flex-direction: ${({ isMobile }) => (isMobile ? "column" : "row")};
17
17
  }
@@ -19,8 +19,10 @@ export const ContentContainer = styled(Cluster)`
19
19
 
20
20
  export const ButtonContainer = styled(Stack)`
21
21
  align-items: center;
22
- > a {
23
- width: ${({ isMobile }) => (isMobile ? "296px" : "222px")};
22
+ width: ${({ isMobile }) => (isMobile ? "100%" : "222px")};
23
+ padding-left: ${({ isMobile }) => (isMobile ? "0" : "2rem")};
24
+ > * {
25
+ width: inherit;
24
26
  }
25
27
  `;
26
28