@thecb/components 11.2.3-beta.1 → 11.2.3-beta.3

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.3-beta.1",
3
+ "version": "11.2.3-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -29,6 +29,7 @@ export { default as PhoneForm } from "./phone-form";
29
29
  export { default as Popover } from "./popover";
30
30
  export { default as RadioGroup } from "./radio-group";
31
31
  export { default as RadioSection } from "./radio-section";
32
+ export { default as RegistrationBanner } from "./registration-banner";
32
33
  export { default as RegistrationForm } from "./registration-form";
33
34
  export { default as ResetConfirmationForm } from "./reset-confirmation-form";
34
35
  export { default as ResetPasswordForm } from "./reset-password-form";
@@ -32,6 +32,7 @@ const RegistrationBanner = ({
32
32
  isMobile={isMobile}
33
33
  role="banner"
34
34
  aria-label="Registration Banner"
35
+ justify="center"
35
36
  >
36
37
  <Styled.ContentContainer
37
38
  role="main"
@@ -3,7 +3,7 @@ import { Box, Cluster, Stack } from "../../atoms/layouts";
3
3
  import ButtonWithLink from "../../atoms/button-with-link/ButtonWithLink";
4
4
  import { hexToRGBA } from "../../../util/general";
5
5
 
6
- export const BannerContainer = styled(Box)`
6
+ export const BannerContainer = styled(Cluster)`
7
7
  background: ${({ themeValues }) => hexToRGBA(themeValues.background, 0.9)};
8
8
  padding: ${({ isMobile }) => (isMobile ? "1rem 2rem" : " 2rem 8.25rem")};
9
9
  `;