@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/dist/index.cjs.js +15 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -17
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/registration-banner/RegistrationBanner.js +9 -5
- package/src/components/molecules/registration-banner/RegistrationBanner.stories.js +3 -6
- package/src/components/molecules/registration-banner/RegistrationBanner.styled.js +5 -4
package/package.json
CHANGED
|
@@ -47,18 +47,18 @@ const RegistrationBanner = ({
|
|
|
47
47
|
variant={titleVariant}
|
|
48
48
|
weight={FONT_WEIGHT_SEMIBOLD}
|
|
49
49
|
>
|
|
50
|
-
Register for a {clientName} Wallet
|
|
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.
|
|
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
|
|
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
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
23
|
-
|
|
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)`
|