@thecb/components 11.2.4 → 11.2.5-beta.0
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 +9 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/registration-banner/RegistrationBanner.js +1 -0
- package/src/components/molecules/registration-banner/RegistrationBanner.stories.js +6 -3
- package/src/components/molecules/registration-banner/RegistrationBanner.styled.js +4 -3
package/package.json
CHANGED
|
Binary file
|
|
@@ -69,10 +69,13 @@ export default meta;
|
|
|
69
69
|
|
|
70
70
|
export const StandardRegistrationBanner = {
|
|
71
71
|
args: {},
|
|
72
|
+
// parameters: {
|
|
73
|
+
// viewport: {
|
|
74
|
+
// defaultViewport: "responsive"
|
|
75
|
+
// }
|
|
76
|
+
// },
|
|
72
77
|
parameters: {
|
|
73
|
-
|
|
74
|
-
defaultViewport: "responsive"
|
|
75
|
-
}
|
|
78
|
+
layout: "fullscreen"
|
|
76
79
|
},
|
|
77
80
|
render: args => {
|
|
78
81
|
return <RegistrationBanner {...args} key="registration-banner-standard" />;
|
|
@@ -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
|
|
9
|
+
padding: ${({ isMobile }) => (isMobile ? "1rem 2rem" : " 2rem 1rem")};
|
|
10
10
|
`;
|
|
11
11
|
|
|
12
12
|
export const ContentContainer = styled(Cluster)`
|
|
13
13
|
padding: 0;
|
|
14
|
-
width: ${({ isMobile }) => (isMobile ? "
|
|
14
|
+
width: ${({ isMobile }) => (isMobile ? "100%" : " 1224px")};
|
|
15
15
|
> div {
|
|
16
16
|
flex-direction: ${({ isMobile }) => (isMobile ? "column" : "row")};
|
|
17
17
|
}
|
|
@@ -20,8 +20,9 @@ export const ContentContainer = styled(Cluster)`
|
|
|
20
20
|
export const ButtonContainer = styled(Stack)`
|
|
21
21
|
align-items: center;
|
|
22
22
|
> a {
|
|
23
|
-
width: ${({ isMobile }) => (isMobile ? "
|
|
23
|
+
width: ${({ isMobile }) => (isMobile ? "100%" : "222px")};
|
|
24
24
|
}
|
|
25
|
+
padding-left: ${({ isMobile }) => (isMobile ? "0" : " 2rem")};
|
|
25
26
|
`;
|
|
26
27
|
|
|
27
28
|
export const RegisterLink = styled(ButtonWithLink)`
|