@axos-web-dev/shared-components 1.0.77-patch.66 → 1.0.77-patch.68

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.
Files changed (62) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -1
  2. package/dist/Auth/ErrorAlert.js +1 -1
  3. package/dist/Button/Button.js +1 -1
  4. package/dist/Calculators/Calculator.js +1 -1
  5. package/dist/Carousel/index.js +1 -1
  6. package/dist/Chevron/index.js +1 -1
  7. package/dist/Comparison/Comparison.js +1 -1
  8. package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
  9. package/dist/FaqAccordion/index.js +1 -1
  10. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -1
  11. package/dist/Forms/ApplyNow.js +1 -1
  12. package/dist/Forms/ContactUsBusiness.js +1 -1
  13. package/dist/Forms/ContactUsBusinessNameEmail.js +1 -1
  14. package/dist/Forms/ContactUsNMLSId.js +1 -1
  15. package/dist/Forms/CraPublicFile.js +1 -1
  16. package/dist/Forms/EmailOnly.js +1 -1
  17. package/dist/Forms/FormEnums.js +0 -1
  18. package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -1
  19. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -1
  20. package/dist/Forms/MortgageWarehouseLending.js +1 -1
  21. package/dist/Forms/SuccesForm.js +1 -1
  22. package/dist/HeroBanner/HeroBanner.css.d.ts +1 -0
  23. package/dist/HeroBanner/HeroBanner.css.js +19 -16
  24. package/dist/HeroBanner/HeroBanner.d.ts +1 -1
  25. package/dist/HeroBanner/HeroBanner.interface.d.ts +4 -1
  26. package/dist/HeroBanner/HeroBanner.js +26 -160
  27. package/dist/HeroBanner/HeroVideoPoster.d.ts +5 -0
  28. package/dist/HeroBanner/HeroVideoPoster.js +24 -0
  29. package/dist/HeroBanner/LargeBanner.css.d.ts +110 -0
  30. package/dist/HeroBanner/LargeBanner.css.js +22 -8
  31. package/dist/HeroBanner/LargeHeroBanner.d.ts +5 -0
  32. package/dist/HeroBanner/LargeHeroBanner.js +228 -0
  33. package/dist/HeroBanner/index.js +3 -2
  34. package/dist/Hyperlink/index.js +1 -1
  35. package/dist/ImageLink/index.js +1 -1
  36. package/dist/Insight/Featured/CategorySelector.js +1 -1
  37. package/dist/Insight/Featured/Featured.js +1 -1
  38. package/dist/Insight/Featured/Header.js +1 -1
  39. package/dist/Modal/Modal.js +1 -1
  40. package/dist/NavigationMenu/AxosALTS/NavData.js +1 -1
  41. package/dist/NavigationMenu/AxosALTS/index.js +1 -1
  42. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -0
  43. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +4 -1
  44. package/dist/NavigationMenu/AxosBank/NavData.js +1 -1
  45. package/dist/NavigationMenu/AxosBank/SubNavBar.js +10 -1
  46. package/dist/NavigationMenu/AxosBank/index.js +1 -1
  47. package/dist/NavigationMenu/LaVictoire/NavData.js +1 -1
  48. package/dist/NavigationMenu/LaVictoire/index.js +1 -1
  49. package/dist/NavigationMenu/NavDataJson.js +1 -1
  50. package/dist/NavigationMenu/Navbar.js +1 -1
  51. package/dist/NavigationMenu/SignInNavButton.js +1 -1
  52. package/dist/SocialMediaBar/iconsRepository.js +1 -1
  53. package/dist/VideoTile/VideoTile.js +1 -1
  54. package/dist/VideoWrapper/index.js +1 -1
  55. package/dist/assets/HeroBanner/HeroBanner.css +82 -65
  56. package/dist/assets/HeroBanner/LargeBanner.css +126 -59
  57. package/dist/assets/globals.css +27 -18
  58. package/dist/main.js +3 -2
  59. package/dist/utils/getPosition.d.ts +1 -0
  60. package/dist/utils/getPosition.js +17 -0
  61. package/dist/utils/variant.types.d.ts +1 -0
  62. package/package.json +1 -1
@@ -78,8 +78,8 @@ import "../Chatbot/store/messages.js";
78
78
  /* empty css */
79
79
  import "../Comparison/Comparison.css.js";
80
80
  import "next/image.js";
81
- import "../HeroBanner/HeroBanner.css.js";
82
81
  import "../HeroBanner/LargeBanner.css.js";
82
+ import "../HeroBanner/HeroBanner.css.js";
83
83
  import "../HeroBanner/SelectionBanner.css.js";
84
84
  import "../SetContainer/SetContainer.css.js";
85
85
  import "../Tab/Tab.css.js";
@@ -71,8 +71,8 @@ import { Hyperlink } from "../Hyperlink/index.js";
71
71
  /* empty css */
72
72
  import "../Comparison/Comparison.css.js";
73
73
  import "next/image.js";
74
- import "../HeroBanner/HeroBanner.css.js";
75
74
  import "../HeroBanner/LargeBanner.css.js";
75
+ import "../HeroBanner/HeroBanner.css.js";
76
76
  import "../HeroBanner/SelectionBanner.css.js";
77
77
  import "../SetContainer/SetContainer.css.js";
78
78
  import "../Tab/Tab.css.js";
@@ -81,8 +81,8 @@ import "../Chatbot/store/messages.js";
81
81
  /* empty css */
82
82
  import "../Comparison/Comparison.css.js";
83
83
  import "next/image.js";
84
- import "../HeroBanner/HeroBanner.css.js";
85
84
  import "../HeroBanner/LargeBanner.css.js";
85
+ import "../HeroBanner/HeroBanner.css.js";
86
86
  import "../HeroBanner/SelectionBanner.css.js";
87
87
  import "../SetContainer/SetContainer.css.js";
88
88
  import "../Tab/Tab.css.js";
@@ -61,8 +61,8 @@ import "../Chatbot/store/messages.js";
61
61
  /* empty css */
62
62
  import "../Comparison/Comparison.css.js";
63
63
  import "next/image.js";
64
- import "../HeroBanner/HeroBanner.css.js";
65
64
  import "../HeroBanner/LargeBanner.css.js";
65
+ import "../HeroBanner/HeroBanner.css.js";
66
66
  import "../HeroBanner/SelectionBanner.css.js";
67
67
  import "../SetContainer/SetContainer.css.js";
68
68
  import "../Tab/Tab.css.js";
@@ -83,8 +83,8 @@ import "../Chatbot/store/messages.js";
83
83
  /* empty css */
84
84
  import "../Comparison/Comparison.css.js";
85
85
  import "next/image.js";
86
- import "../HeroBanner/HeroBanner.css.js";
87
86
  import "../HeroBanner/LargeBanner.css.js";
87
+ import "../HeroBanner/HeroBanner.css.js";
88
88
  import "../HeroBanner/SelectionBanner.css.js";
89
89
  import "../SetContainer/SetContainer.css.js";
90
90
  import "../Tab/Tab.css.js";
@@ -83,8 +83,8 @@ import "../Chatbot/store/messages.js";
83
83
  /* empty css */
84
84
  import "../Comparison/Comparison.css.js";
85
85
  import "next/image.js";
86
- import "../HeroBanner/HeroBanner.css.js";
87
86
  import "../HeroBanner/LargeBanner.css.js";
87
+ import "../HeroBanner/HeroBanner.css.js";
88
88
  import "../HeroBanner/SelectionBanner.css.js";
89
89
  import "../SetContainer/SetContainer.css.js";
90
90
  import "../Tab/Tab.css.js";
@@ -83,8 +83,8 @@ import "../Chatbot/store/messages.js";
83
83
  /* empty css */
84
84
  import { comparison_layout, comparison_content, headerComparison, feature_header, feature_title, comparison_feature, comparison_list, comparison_buttons, comparison } from "./Comparison.css.js";
85
85
  import "next/image.js";
86
- import "../HeroBanner/HeroBanner.css.js";
87
86
  import "../HeroBanner/LargeBanner.css.js";
87
+ import "../HeroBanner/HeroBanner.css.js";
88
88
  import "../HeroBanner/SelectionBanner.css.js";
89
89
  import "../SetContainer/SetContainer.css.js";
90
90
  import { active_content } from "../Tab/Tab.css.js";
@@ -84,8 +84,8 @@ import "../Chatbot/store/messages.js";
84
84
  /* empty css */
85
85
  import "../Comparison/Comparison.css.js";
86
86
  import "next/image.js";
87
- import "../HeroBanner/HeroBanner.css.js";
88
87
  import "../HeroBanner/LargeBanner.css.js";
88
+ import "../HeroBanner/HeroBanner.css.js";
89
89
  import "../HeroBanner/SelectionBanner.css.js";
90
90
  import "../SetContainer/SetContainer.css.js";
91
91
  import "../Tab/Tab.css.js";
@@ -84,8 +84,8 @@ import "../Chatbot/store/messages.js";
84
84
  /* empty css */
85
85
  import "../Comparison/Comparison.css.js";
86
86
  import "next/image.js";
87
- import "../HeroBanner/HeroBanner.css.js";
88
87
  import "../HeroBanner/LargeBanner.css.js";
88
+ import "../HeroBanner/HeroBanner.css.js";
89
89
  import "../HeroBanner/SelectionBanner.css.js";
90
90
  import { setcontainer_section_text } from "../SetContainer/SetContainer.css.js";
91
91
  import "../Tab/Tab.css.js";
@@ -79,8 +79,8 @@ import "../../Chatbot/store/messages.js";
79
79
  /* empty css */
80
80
  import "../../Comparison/Comparison.css.js";
81
81
  import "next/image.js";
82
- import "../../HeroBanner/HeroBanner.css.js";
83
82
  import "../../HeroBanner/LargeBanner.css.js";
83
+ import "../../HeroBanner/HeroBanner.css.js";
84
84
  import "../../HeroBanner/SelectionBanner.css.js";
85
85
  import "../../SetContainer/SetContainer.css.js";
86
86
  import "../../Tab/Tab.css.js";
@@ -84,8 +84,8 @@ import "../Chatbot/store/messages.js";
84
84
  /* empty css */
85
85
  import "../Comparison/Comparison.css.js";
86
86
  import "next/image.js";
87
- import "../HeroBanner/HeroBanner.css.js";
88
87
  import "../HeroBanner/LargeBanner.css.js";
88
+ import "../HeroBanner/HeroBanner.css.js";
89
89
  import "../HeroBanner/SelectionBanner.css.js";
90
90
  import "../SetContainer/SetContainer.css.js";
91
91
  import "../Tab/Tab.css.js";
@@ -86,8 +86,8 @@ import "../Chatbot/store/messages.js";
86
86
  /* empty css */
87
87
  import "../Comparison/Comparison.css.js";
88
88
  import "next/image.js";
89
- import "../HeroBanner/HeroBanner.css.js";
90
89
  import "../HeroBanner/LargeBanner.css.js";
90
+ import "../HeroBanner/HeroBanner.css.js";
91
91
  import "../HeroBanner/SelectionBanner.css.js";
92
92
  import "../SetContainer/SetContainer.css.js";
93
93
  import "../Tab/Tab.css.js";
@@ -86,8 +86,8 @@ import "../Chatbot/store/messages.js";
86
86
  /* empty css */
87
87
  import "../Comparison/Comparison.css.js";
88
88
  import "next/image.js";
89
- import "../HeroBanner/HeroBanner.css.js";
90
89
  import "../HeroBanner/LargeBanner.css.js";
90
+ import "../HeroBanner/HeroBanner.css.js";
91
91
  import "../HeroBanner/SelectionBanner.css.js";
92
92
  import "../SetContainer/SetContainer.css.js";
93
93
  import "../Tab/Tab.css.js";
@@ -86,8 +86,8 @@ import "../Chatbot/store/messages.js";
86
86
  /* empty css */
87
87
  import "../Comparison/Comparison.css.js";
88
88
  import "next/image.js";
89
- import "../HeroBanner/HeroBanner.css.js";
90
89
  import "../HeroBanner/LargeBanner.css.js";
90
+ import "../HeroBanner/HeroBanner.css.js";
91
91
  import "../HeroBanner/SelectionBanner.css.js";
92
92
  import "../SetContainer/SetContainer.css.js";
93
93
  import "../Tab/Tab.css.js";
@@ -86,8 +86,8 @@ import "../Chatbot/store/messages.js";
86
86
  /* empty css */
87
87
  import "../Comparison/Comparison.css.js";
88
88
  import "next/image.js";
89
- import "../HeroBanner/HeroBanner.css.js";
90
89
  import "../HeroBanner/LargeBanner.css.js";
90
+ import "../HeroBanner/HeroBanner.css.js";
91
91
  import "../HeroBanner/SelectionBanner.css.js";
92
92
  import "../SetContainer/SetContainer.css.js";
93
93
  import "../Tab/Tab.css.js";
@@ -87,8 +87,8 @@ import "../Chatbot/store/messages.js";
87
87
  /* empty css */
88
88
  import "../Comparison/Comparison.css.js";
89
89
  import "next/image.js";
90
- import "../HeroBanner/HeroBanner.css.js";
91
90
  import "../HeroBanner/LargeBanner.css.js";
91
+ import "../HeroBanner/HeroBanner.css.js";
92
92
  import "../HeroBanner/SelectionBanner.css.js";
93
93
  import "../SetContainer/SetContainer.css.js";
94
94
  import "../Tab/Tab.css.js";
@@ -64,7 +64,6 @@ const RepresentativesFico = [
64
64
  ];
65
65
  const DocType = [
66
66
  { value: "FullDoc", text: "Full Doc" },
67
- { value: "AssetDepletion", text: "Asset Depletion" },
68
67
  { value: "PersonalBankStmt12Mos", text: "Personal Bank Stmt: 12 Mos" },
69
68
  { value: "BusinessBankStmt12Mos", text: "Business Bank Stmt: 12 Mos" },
70
69
  { value: "PersonalBankStmt24Mos", text: "Personal Bank Stmt: 24 Mos" },
@@ -87,8 +87,8 @@ import "../../Chatbot/store/messages.js";
87
87
  /* empty css */
88
88
  import "../../Comparison/Comparison.css.js";
89
89
  import "next/image.js";
90
- import "../../HeroBanner/HeroBanner.css.js";
91
90
  import "../../HeroBanner/LargeBanner.css.js";
91
+ import "../../HeroBanner/HeroBanner.css.js";
92
92
  import "../../HeroBanner/SelectionBanner.css.js";
93
93
  import "../../SetContainer/SetContainer.css.js";
94
94
  import "../../Tab/Tab.css.js";
@@ -82,8 +82,8 @@ import "../../Chatbot/store/messages.js";
82
82
  /* empty css */
83
83
  import "../../Comparison/Comparison.css.js";
84
84
  import "next/image.js";
85
- import "../../HeroBanner/HeroBanner.css.js";
86
85
  import "../../HeroBanner/LargeBanner.css.js";
86
+ import "../../HeroBanner/HeroBanner.css.js";
87
87
  import "../../HeroBanner/SelectionBanner.css.js";
88
88
  import "../../SetContainer/SetContainer.css.js";
89
89
  import "../../Tab/Tab.css.js";
@@ -86,8 +86,8 @@ import "../Chatbot/store/messages.js";
86
86
  /* empty css */
87
87
  import "../Comparison/Comparison.css.js";
88
88
  import "next/image.js";
89
- import "../HeroBanner/HeroBanner.css.js";
90
89
  import "../HeroBanner/LargeBanner.css.js";
90
+ import "../HeroBanner/HeroBanner.css.js";
91
91
  import "../HeroBanner/SelectionBanner.css.js";
92
92
  import "../SetContainer/SetContainer.css.js";
93
93
  import "../Tab/Tab.css.js";
@@ -70,8 +70,8 @@ import "../Chatbot/store/messages.js";
70
70
  /* empty css */
71
71
  import "../Comparison/Comparison.css.js";
72
72
  import "next/image.js";
73
- import "../HeroBanner/HeroBanner.css.js";
74
73
  import "../HeroBanner/LargeBanner.css.js";
74
+ import "../HeroBanner/HeroBanner.css.js";
75
75
  import "../HeroBanner/SelectionBanner.css.js";
76
76
  import "../SetContainer/SetContainer.css.js";
77
77
  import "../Tab/Tab.css.js";
@@ -1,4 +1,5 @@
1
1
  export declare const logout: string;
2
+ export declare const xl: string;
2
3
  export declare const hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
3
4
  variant: {
4
5
  primary: {
@@ -1,27 +1,29 @@
1
- import '../assets/HeroBanner/HeroBanner.css';import '../assets/Insight/Insight.css';import '../assets/HeroBanner/SelectionBanner.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';import '../assets/Typography/Typography.css';/* empty css */
1
+ import '../assets/HeroBanner/HeroBanner.css';import '../assets/HeroBanner/LargeBanner.css';import '../assets/Insight/Insight.css';import '../assets/HeroBanner/SelectionBanner.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';import '../assets/Typography/Typography.css';/* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
+ /* empty css */
8
9
  /* empty css */
9
10
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
10
11
  var logout = "_1ye8k3f0";
11
- var hero_banner = createRuntimeFn({ defaultClassName: "_1ye8k3f1", variantClassNames: { variant: { primary: "_1ye8k3f2", secondary: "_1ye8k3f3", tertiary: "_1ye8k3f4", quaternary: "_1ye8k3f5" } }, defaultVariants: {}, compoundVariants: [] });
12
- var hero_content = "_1ye8k3f6";
13
- var reversed = "_1ye8k3f7";
14
- var reversed_lg_image = "_1ye8k3f8";
15
- var hero_text = "_1ye8k3f9";
16
- var hero_wrapper = "_1ye8k3fa";
17
- var hero_img = "_1ye8k3fb";
18
- var img_contents = "_1ye8k3fc";
19
- var heroSupertag = createRuntimeFn({ defaultClassName: "_1ye8k3fd", variantClassNames: { variant: { primary: "_1ye8k3fe", secondary: "_1ye8k3ff", tertiary: "_1ye8k3fg", quaternary: "_1ye8k3fh" } }, defaultVariants: {}, compoundVariants: [] });
20
- var headline_text = createRuntimeFn({ defaultClassName: "_1ye8k3fi", variantClassNames: { variant: { primary: "_1ye8k3fj", secondary: "_1ye8k3fk", tertiary: "_1ye8k3fl", quaternary: "_1ye8k3fm" } }, defaultVariants: {}, compoundVariants: [] });
21
- var hero_btns = "_1ye8k3fn";
22
- var hero_embedded_image = "_1ye8k3fo";
23
- var hero_sub_bullets = "_1ye8k3fp";
24
- var hero_bullet_item = "_1ye8k3fq";
12
+ var xl = "_1ye8k3f1";
13
+ var hero_banner = createRuntimeFn({ defaultClassName: "_1ye8k3f2", variantClassNames: { variant: { primary: "_1ye8k3f3", secondary: "_1ye8k3f4", tertiary: "_1ye8k3f5", quaternary: "_1ye8k3f6" } }, defaultVariants: {}, compoundVariants: [] });
14
+ var hero_content = "_1ye8k3f7";
15
+ var reversed = "_1ye8k3f8";
16
+ var reversed_lg_image = "_1ye8k3f9";
17
+ var hero_text = "_1ye8k3fa";
18
+ var hero_wrapper = "_1ye8k3fb";
19
+ var hero_img = "_1ye8k3fc";
20
+ var img_contents = "_1ye8k3fd";
21
+ var heroSupertag = createRuntimeFn({ defaultClassName: "_1ye8k3fe", variantClassNames: { variant: { primary: "_1ye8k3ff", secondary: "_1ye8k3fg", tertiary: "_1ye8k3fh", quaternary: "_1ye8k3fi" } }, defaultVariants: {}, compoundVariants: [] });
22
+ var headline_text = createRuntimeFn({ defaultClassName: "_1ye8k3fj", variantClassNames: { variant: { primary: "_1ye8k3fk", secondary: "_1ye8k3fl", tertiary: "_1ye8k3fm", quaternary: "_1ye8k3fn" } }, defaultVariants: {}, compoundVariants: [] });
23
+ var hero_btns = "_1ye8k3fo";
24
+ var hero_embedded_image = "_1ye8k3fp";
25
+ var hero_sub_bullets = "_1ye8k3fq";
26
+ var hero_bullet_item = "_1ye8k3fr";
25
27
  export {
26
28
  headline_text,
27
29
  heroSupertag,
@@ -37,5 +39,6 @@ export {
37
39
  img_contents,
38
40
  logout,
39
41
  reversed,
40
- reversed_lg_image
42
+ reversed_lg_image,
43
+ xl
41
44
  };
@@ -1,3 +1,3 @@
1
1
  import { HeroBannerInterface } from './HeroBanner.interface';
2
2
 
3
- export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, bullets, subBodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, selection, isSelectionBanner, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, bullets, subBodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, selection, isSelectionBanner, video, videoTextPosition, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { BulletItemProps } from '../BulletItem';
2
2
  import { ChevronProps } from '../Chevron/Chevron.interface';
3
3
  import { ReactNode } from 'react';
4
+ import { HeroVideoPosterProps } from './HeroVideoPoster';
4
5
 
5
6
  export interface HeroImageInterface {
6
7
  src: string;
@@ -20,7 +21,7 @@ export type HeroBannerWithSelection = {
20
21
  };
21
22
  export interface HeroBannerInterface extends HeroBannerWithImage, HeroBannerWithSelection {
22
23
  id?: string;
23
- bannerType?: string;
24
+ bannerType?: "Hero" | "Logout" | "Large" | "Video Poster" | "Extra Large";
24
25
  className?: string;
25
26
  variant?: string;
26
27
  eyebrow?: string | ReactNode;
@@ -29,4 +30,6 @@ export interface HeroBannerInterface extends HeroBannerWithImage, HeroBannerWith
29
30
  bullets: BulletItemProps[];
30
31
  subBodyCopy?: string | ReactNode;
31
32
  callToActionRow?: ChevronProps[];
33
+ video?: HeroVideoPosterProps;
34
+ videoTextPosition?: "default" | "top left" | "top right" | "bottom left" | "bottom right";
32
35
  }
@@ -16,8 +16,8 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
16
16
  import { getVariant } from "../utils/getVariant.js";
17
17
  import Image from "next/image.js";
18
18
  import clsx from "clsx";
19
- import { logout, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_bullet_item, hero_sub_bullets, hero_btns, hero_img, img_contents, hero_banner, reversed_lg_image } from "./HeroBanner.css.js";
20
- import { lg_hero_content, lg_hero_eyebrow, lg_headline_text, lg_hero_text, lg_hero_img, lg_hero_sizing, lg_hero_banner } from "./LargeBanner.css.js";
19
+ import { LargeHeroBanner } from "./LargeHeroBanner.js";
20
+ import { logout, xl, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_bullet_item, hero_sub_bullets, hero_btns, hero_img, img_contents, hero_banner } from "./HeroBanner.css.js";
21
21
  import { selection_section_icon_img, selection_section_icon, selection_section, selection_section_bg, selection_section_content, selection_headline_text } from "./SelectionBanner.css.js";
22
22
  const HeroBanner = ({
23
23
  id,
@@ -32,13 +32,17 @@ const HeroBanner = ({
32
32
  imagePlacement = "Right",
33
33
  variant,
34
34
  selection,
35
- isSelectionBanner = false
35
+ isSelectionBanner = false,
36
+ video,
37
+ videoTextPosition
36
38
  }) => {
37
- return /* @__PURE__ */ jsx(Fragment, { children: bannerType === "Hero" || bannerType === "Logout" ? /* @__PURE__ */ jsx(
39
+ const imageDimensions = bannerType === "Extra Large" ? { width: 708, height: 740 } : { width: 604, height: 480 };
40
+ const imageSrcBase = `https:${image?.src}`;
41
+ return /* @__PURE__ */ jsx(Fragment, { children: bannerType === "Hero" || bannerType === "Logout" || bannerType === "Extra Large" ? /* @__PURE__ */ jsx(
38
42
  "section",
39
43
  {
40
44
  id,
41
- className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })}`,
45
+ className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })} ${bannerType === "Extra Large" ? xl : ""} `,
42
46
  children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
43
47
  "div",
44
48
  {
@@ -160,14 +164,14 @@ const HeroBanner = ({
160
164
  /* @__PURE__ */ jsx(
161
165
  "source",
162
166
  {
163
- srcSet: `https:${image?.src}?fm=avif&w=604&h=480&fit=fill`,
167
+ srcSet: `${imageSrcBase}?fm=avif&w=${imageDimensions.width}&h=${imageDimensions.height}&fit=fill`,
164
168
  type: "image/avif"
165
169
  }
166
170
  ),
167
171
  /* @__PURE__ */ jsx(
168
172
  "source",
169
173
  {
170
- srcSet: `https:${image?.src}?fm=webp&w=604&h=480&fit=fill`,
174
+ srcSet: `${imageSrcBase}?fm=webp&w=${imageDimensions.width}&h=${imageDimensions.height}&fit=fill`,
171
175
  type: "image/webp"
172
176
  }
173
177
  ),
@@ -176,10 +180,10 @@ const HeroBanner = ({
176
180
  {
177
181
  className: "img_fluid",
178
182
  style: { color: "transparent" },
179
- src: `https:${image?.src}?w=604&h=480&fit=fill&q=85`,
183
+ src: `${imageSrcBase}?w=${imageDimensions.width}&h=${imageDimensions.height}&fit=fill&q=85`,
180
184
  alt: "",
181
- height: 480,
182
- width: 604,
185
+ height: imageDimensions.height,
186
+ width: imageDimensions.width,
183
187
  priority: true
184
188
  }
185
189
  )
@@ -270,158 +274,20 @@ const HeroBanner = ({
270
274
  },
271
275
  id
272
276
  ) : /* @__PURE__ */ jsx(
273
- "section",
277
+ LargeHeroBanner,
274
278
  {
275
- className: lg_hero_banner({ variant: getVariant(variant) }),
276
279
  id,
277
- children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
278
- "div",
279
- {
280
- className: `${lg_hero_content} ${imagePlacement !== "Right" ? reversed : ""} flex between middle `,
281
- children: [
282
- /* @__PURE__ */ jsx(
283
- "div",
284
- {
285
- className: `${lg_hero_text({ variant: getVariant(variant) })} rounded`,
286
- children: /* @__PURE__ */ jsxs("div", { className: "containment", children: [
287
- eyebrow && /* @__PURE__ */ jsx(
288
- "h1",
289
- {
290
- className: lg_hero_eyebrow({
291
- variant: getVariant(variant)
292
- }),
293
- children: eyebrow
294
- }
295
- ),
296
- eyebrow ? /* @__PURE__ */ jsx(
297
- "h2",
298
- {
299
- className: lg_headline_text({
300
- variant: getVariant(variant)
301
- }),
302
- children: headline
303
- }
304
- ) : /* @__PURE__ */ jsx(
305
- "h1",
306
- {
307
- className: lg_headline_text({
308
- variant: getVariant(variant)
309
- }),
310
- children: headline
311
- }
312
- ),
313
- /* @__PURE__ */ jsxs("div", { className: "push_up", children: [
314
- /* @__PURE__ */ jsx(Fragment, { children: bodyCopy }),
315
- bullets && bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up_24", children: bullets.map(
316
- ({ id: id2, icon, copy, subBullet }) => !subBullet ? /* @__PURE__ */ jsxs(
317
- "li",
318
- {
319
- className: `list_item flex ${hero_bullet_item}`,
320
- children: [
321
- /* @__PURE__ */ jsx("div", { className: "img_item", children: getVariant(variant) ? /* @__PURE__ */ jsx(
322
- SvgCheckIcon,
323
- {
324
- variant: getVariant(variant) === "primary" || getVariant(variant) === "secondary" ? "secondary" : "primary"
325
- }
326
- ) : /* @__PURE__ */ jsx("img", { src: icon?.src, alt: icon?.altText }) }),
327
- /* @__PURE__ */ jsx("span", { children: copy })
328
- ]
329
- },
330
- id2
331
- ) : /* @__PURE__ */ jsx(
332
- "ul",
333
- {
334
- className: clsx(
335
- hero_sub_bullets,
336
- "mb_0",
337
- "push_up"
338
- ),
339
- children: /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
340
- /* @__PURE__ */ jsx("div", { className: "img_item", children: /* @__PURE__ */ jsx(
341
- "img",
342
- {
343
- style: { maxWidth: "max-content" },
344
- src: icon?.src,
345
- alt: icon?.altText
346
- }
347
- ) }),
348
- /* @__PURE__ */ jsx("span", { children: copy })
349
- ] })
350
- },
351
- id2
352
- )
353
- ) })
354
- ] }),
355
- callToActionRow && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
356
- ({
357
- id: id2,
358
- variant: variant2,
359
- displayText,
360
- targetUrl,
361
- type,
362
- newTab
363
- }) => type === "Button" ? /* @__PURE__ */ jsx(
364
- Button,
365
- {
366
- targetUrl,
367
- color: getVariant(variant2),
368
- size: "large",
369
- rounded: "medium",
370
- newTab,
371
- children: displayText
372
- },
373
- id2
374
- ) : /* @__PURE__ */ jsx(
375
- Chevron,
376
- {
377
- targetUrl,
378
- variant: getVariant(variant2),
379
- newTab,
380
- children: displayText
381
- },
382
- id2
383
- )
384
- ) })
385
- ] })
386
- }
387
- ),
388
- /* @__PURE__ */ jsx(
389
- "div",
390
- {
391
- className: `${lg_hero_img} ${imagePlacement !== "Right" ? reversed_lg_image : ""} rounded`,
392
- role: "presentation",
393
- children: /* @__PURE__ */ jsxs("picture", { className: img_contents, children: [
394
- /* @__PURE__ */ jsx(
395
- "source",
396
- {
397
- srcSet: `https:${image?.src}?fm=avif`,
398
- type: "image/avif"
399
- }
400
- ),
401
- /* @__PURE__ */ jsx(
402
- "source",
403
- {
404
- srcSet: `https:${image?.src}?fm=webp`,
405
- type: "image/webp"
406
- }
407
- ),
408
- /* @__PURE__ */ jsx(
409
- Image,
410
- {
411
- src: `https:${image?.src}?q=85`,
412
- className: lg_hero_sizing,
413
- alt: "",
414
- height: 600,
415
- width: 792,
416
- priority: true
417
- }
418
- )
419
- ] })
420
- }
421
- )
422
- ]
423
- }
424
- ) })
280
+ eyebrow,
281
+ headline,
282
+ bodyCopy,
283
+ bullets,
284
+ callToActionRow,
285
+ image,
286
+ imagePlacement,
287
+ variant,
288
+ bannerType,
289
+ video,
290
+ videoTextPosition
425
291
  }
426
292
  ) });
427
293
  };
@@ -0,0 +1,5 @@
1
+ export interface HeroVideoPosterProps {
2
+ otherSource: string;
3
+ thumbnailImage?: string;
4
+ }
5
+ export declare const HeroVideoPoster: ({ otherSource, thumbnailImage, }: HeroVideoPosterProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
+ import { player } from "./LargeBanner.css.js";
3
+ const HeroVideoPoster = ({
4
+ otherSource,
5
+ thumbnailImage
6
+ }) => {
7
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", { className: player, children: /* @__PURE__ */ jsxs(
8
+ "video",
9
+ {
10
+ autoPlay: true,
11
+ loop: true,
12
+ muted: true,
13
+ playsInline: true,
14
+ ...thumbnailImage ? { poster: thumbnailImage } : {},
15
+ children: [
16
+ /* @__PURE__ */ jsx("source", { src: otherSource, type: "video/mp4" }),
17
+ "Your browser does not support the video tag."
18
+ ]
19
+ }
20
+ ) }) });
21
+ };
22
+ export {
23
+ HeroVideoPoster
24
+ };