@thecb/components 11.2.5-beta.0 → 11.2.5-beta.2

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.5-beta.0",
3
+ "version": "11.2.5-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -47,18 +47,18 @@ const RegistrationBanner = ({
47
47
  variant={titleVariant}
48
48
  weight={FONT_WEIGHT_SEMIBOLD}
49
49
  >
50
- Register for a {clientName} Wallet Account
50
+ Register for a {clientName} Wallet
51
51
  </Heading>
52
52
  <Text
53
53
  extraStyles={`
54
54
  display: block;
55
55
  padding: ${isMobile ? ".125rem 0 1rem" : "0"}
56
56
  `}
57
- fontSize={isMobile ? FONT_SIZE.SM : FONT_SIZE.LG}
57
+ fontSize={isMobile ? FONT_SIZE.MD : FONT_SIZE.LG}
58
58
  color={themeValues.secondaryColor}
59
59
  >
60
- Save payment methods and information for fast, easy, and safe
61
- payments with {clientName}
60
+ Save payment methods and billing information for fast, easy, and
61
+ safe payments with {clientName}
62
62
  </Text>
63
63
  </Box>
64
64
  <Styled.ButtonContainer
@@ -74,7 +74,11 @@ const RegistrationBanner = ({
74
74
  fontWeight={FONT_WEIGHT_SEMIBOLD}
75
75
  url={registrationLink}
76
76
  >
77
- <Cluster justify="center" align="center">
77
+ <Cluster
78
+ justify="center"
79
+ align="center"
80
+ extraStyles="min-width: 100%"
81
+ >
78
82
  <Text
79
83
  extraStyles="margin-right: 0.5rem"
80
84
  fontSize={isMobile ? FONT_SIZE.MD : FONT_SIZE.LG}
@@ -69,13 +69,10 @@ export default meta;
69
69
 
70
70
  export const StandardRegistrationBanner = {
71
71
  args: {},
72
- // parameters: {
73
- // viewport: {
74
- // defaultViewport: "responsive"
75
- // }
76
- // },
77
72
  parameters: {
78
- layout: "fullscreen"
73
+ viewport: {
74
+ defaultViewport: "responsive"
75
+ }
79
76
  },
80
77
  render: args => {
81
78
  return <RegistrationBanner {...args} key="registration-banner-standard" />;
@@ -6,7 +6,7 @@ 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 1rem")};
9
+ padding: 2rem;
10
10
  `;
11
11
 
12
12
  export const ContentContainer = styled(Cluster)`
@@ -19,10 +19,11 @@ 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 ? "100%" : "222px")};
22
+ width: ${({ isMobile }) => (isMobile ? "100%" : "222px")};
23
+ padding-left: ${({ isMobile }) => (isMobile ? "0" : "2rem")};
24
+ > * {
25
+ width: inherit;
24
26
  }
25
- padding-left: ${({ isMobile }) => (isMobile ? "0" : " 2rem")};
26
27
  `;
27
28
 
28
29
  export const RegisterLink = styled(ButtonWithLink)`