@axos-web-dev/shared-components 2.0.0-dev.6 → 2.0.0-dev.7-fixdependencies

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 (116) hide show
  1. package/README.md +111 -111
  2. package/dist/ATMLocator/ATMLocator.js +1 -1
  3. package/dist/Accordion/Accordion.js +3 -3
  4. package/dist/AlertBanner/index.js +1 -1
  5. package/dist/Article/Article.js +1 -1
  6. package/dist/Auth/ErrorAlert.js +1 -1
  7. package/dist/Avatar/Avatar.module.js +7 -7
  8. package/dist/Blockquote/Blockquote.module.js +3 -3
  9. package/dist/Button/Button.js +1 -1
  10. package/dist/Calculators/AnnualFeeCalculator/index.js +1 -1
  11. package/dist/Calculators/ApyCalculator/index.js +1 -1
  12. package/dist/Calculators/BuyDownCalculator/index.js +1 -1
  13. package/dist/Calculators/Calculator.js +1 -1
  14. package/dist/Calculators/MarginTradingCalculator/index.js +2 -2
  15. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +1 -1
  16. package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
  17. package/dist/Calculators/MonthlyPaymentCalculator/index.js +1 -1
  18. package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +1 -1
  19. package/dist/Carousel/index.js +2 -2
  20. package/dist/Chatbot/Chatbot.js +1 -1
  21. package/dist/Chevron/index.js +1 -1
  22. package/dist/Comparison/Comparison.js +1 -1
  23. package/dist/ContentBanner/index.js +1 -1
  24. package/dist/ExecutiveBio/ExecutiveBio.js +2 -2
  25. package/dist/ExecutiveBio/ExecutiveBioSet.js +1 -1
  26. package/dist/FaqAccordion/index.js +2 -2
  27. package/dist/FdicCallout/FdicCallout.module.js +2 -2
  28. package/dist/FooterDisclosure/FooterDisclosure.js +1 -1
  29. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -1
  30. package/dist/Forms/ApplyNow.js +1 -1
  31. package/dist/Forms/ContactUsBusiness.js +1 -1
  32. package/dist/Forms/ContactUsBusinessNameEmail.js +1 -1
  33. package/dist/Forms/ContactUsNMLSId.js +1 -1
  34. package/dist/Forms/CpraRequest.js +1 -1
  35. package/dist/Forms/CraPublicFile.js +1 -1
  36. package/dist/Forms/EmailOnly.js +1 -1
  37. package/dist/Forms/MortgageRate/MortgageRateForm.js +2 -2
  38. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -1
  39. package/dist/Forms/MortgageWarehouseLending.js +1 -1
  40. package/dist/Forms/SuccesForm.js +1 -1
  41. package/dist/HeroBanner/HeroBanner.css.d.ts +1 -0
  42. package/dist/HeroBanner/HeroBanner.css.js +19 -16
  43. package/dist/HeroBanner/HeroBanner.d.ts +1 -1
  44. package/dist/HeroBanner/HeroBanner.interface.d.ts +4 -1
  45. package/dist/HeroBanner/HeroBanner.js +26 -160
  46. package/dist/HeroBanner/HeroVideoPoster.d.ts +5 -0
  47. package/dist/HeroBanner/HeroVideoPoster.js +24 -0
  48. package/dist/HeroBanner/LargeBanner.css.d.ts +110 -0
  49. package/dist/HeroBanner/LargeBanner.css.js +22 -8
  50. package/dist/HeroBanner/LargeHeroBanner.d.ts +5 -0
  51. package/dist/HeroBanner/LargeHeroBanner.js +223 -0
  52. package/dist/HeroBanner/index.js +3 -2
  53. package/dist/Hyperlink/index.js +1 -1
  54. package/dist/IconBillboard/IconBillboardSet.js +1 -1
  55. package/dist/ImageBillboard/ImageBillboard.js +1 -1
  56. package/dist/ImageLink/index.js +1 -1
  57. package/dist/Input/Checkbox.js +2 -2
  58. package/dist/Input/DownPaymentInput.js +1 -1
  59. package/dist/Input/Dropdown.js +1 -1
  60. package/dist/Input/Input.js +1 -1
  61. package/dist/Input/InputTextArea.js +1 -1
  62. package/dist/Insight/Featured/CategorySelector.js +1 -1
  63. package/dist/Insight/Featured/Featured.js +3 -3
  64. package/dist/Insight/Featured/Header.js +1 -1
  65. package/dist/Interstitial/Interstitial.module.js +10 -10
  66. package/dist/LandingPageHeader/LandingPageHeader.js +1 -1
  67. package/dist/Modal/Modal.js +1 -1
  68. package/dist/Modal/contextApi/store.js +1 -1
  69. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
  70. package/dist/NavigationMenu/AxosALTS/index.js +1 -1
  71. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  72. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  73. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +1 -1
  74. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
  75. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  76. package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -1
  77. package/dist/NavigationMenu/AxosBank/index.js +1 -1
  78. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  79. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
  80. package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
  81. package/dist/NavigationMenu/LaVictoire/index.js +1 -1
  82. package/dist/NavigationMenu/Navbar.js +1 -1
  83. package/dist/NavigationMenu/SignInNavButton.js +1 -1
  84. package/dist/PageNavItem/PageNavItem.js +1 -1
  85. package/dist/SetContainer/SetContainer.js +1 -1
  86. package/dist/SocialMediaBar/iconsRepository.js +1 -1
  87. package/dist/StepItem/StepItem.js +1 -1
  88. package/dist/StepItemSet/StepItemSet.js +1 -1
  89. package/dist/Table/Table.js +1 -1
  90. package/dist/Topic/Topic.js +1 -1
  91. package/dist/VideoTile/VideoTile.js +1 -1
  92. package/dist/VideoWrapper/index.js +1 -1
  93. package/dist/WalnutIframe/wrapper.module.js +3 -3
  94. package/dist/assets/Avatar/Avatar.css +59 -59
  95. package/dist/assets/Blockquote/Blockquote.css +72 -72
  96. package/dist/assets/FdicCallout/FdicCallout.css +48 -48
  97. package/dist/assets/HeroBanner/HeroBanner.css +82 -65
  98. package/dist/assets/HeroBanner/LargeBanner.css +126 -59
  99. package/dist/assets/Interstitial/Interstitial.css +142 -142
  100. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +264 -264
  101. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
  102. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +630 -630
  103. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -353
  104. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +445 -445
  105. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +484 -484
  106. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +427 -427
  107. package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +429 -429
  108. package/dist/assets/WalnutIframe/wrapper.css +48 -48
  109. package/dist/assets/globals.css +6 -6
  110. package/dist/assets/utils/optimizeImage/optimizeImage.css +47 -47
  111. package/dist/main.js +3 -2
  112. package/dist/utils/getPosition.d.ts +1 -0
  113. package/dist/utils/getPosition.js +17 -0
  114. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  115. package/dist/utils/variant.types.d.ts +1 -0
  116. package/package.json +148 -148
@@ -85,8 +85,8 @@ import "../Chatbot/store/messages.js";
85
85
  /* empty css */
86
86
  import "../Comparison/Comparison.css.js";
87
87
  import "next/image.js";
88
- import "../HeroBanner/HeroBanner.css.js";
89
88
  import "../HeroBanner/LargeBanner.css.js";
89
+ import "../HeroBanner/HeroBanner.css.js";
90
90
  import "../HeroBanner/SelectionBanner.css.js";
91
91
  import "../SetContainer/SetContainer.css.js";
92
92
  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";
@@ -47,7 +47,7 @@ import "../../Input/RadioButton.js";
47
47
  import "../../Input/PercentageInput.js";
48
48
  import { useForm, FormProvider } from "react-hook-form";
49
49
  import "../../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
50
- import { iconForm, headerForm, form, descriptionField, headerContainer, fullRowSelect, formWrapper, centerSelect, mt2rem, fullRowForm, disclosureForm, actions, formBtns, na_cursor, formContainer } from "../Forms.css.js";
50
+ import { iconForm, headerForm, form, descriptionField, headerContainer, fullRowSelect, centerSelect, formWrapper, mt2rem, fullRowForm, disclosureForm, actions, formBtns, na_cursor, formContainer } from "../Forms.css.js";
51
51
  import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "../HoneyPot/index.js";
52
52
  import { SalesforceSchema } from "../SalesforceFieldsForm.js";
53
53
  import "../../Input/RadioButton.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";
@@ -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";
@@ -85,8 +85,8 @@ import "../Chatbot/store/messages.js";
85
85
  /* empty css */
86
86
  import "../Comparison/Comparison.css.js";
87
87
  import "next/image.js";
88
- import "../HeroBanner/HeroBanner.css.js";
89
88
  import "../HeroBanner/LargeBanner.css.js";
89
+ import "../HeroBanner/HeroBanner.css.js";
90
90
  import "../HeroBanner/SelectionBanner.css.js";
91
91
  import "../SetContainer/SetContainer.css.js";
92
92
  import "../Tab/Tab.css.js";
@@ -69,8 +69,8 @@ import "../Chatbot/store/messages.js";
69
69
  /* empty css */
70
70
  import "../Comparison/Comparison.css.js";
71
71
  import "next/image.js";
72
- import "../HeroBanner/HeroBanner.css.js";
73
72
  import "../HeroBanner/LargeBanner.css.js";
73
+ import "../HeroBanner/HeroBanner.css.js";
74
74
  import "../HeroBanner/SelectionBanner.css.js";
75
75
  import "../SetContainer/SetContainer.css.js";
76
76
  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_banner, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_bullet_item, hero_sub_bullets, hero_btns, hero_img, img_contents, reversed_lg_image } from "./HeroBanner.css.js";
20
- import { lg_hero_banner, lg_hero_content, lg_hero_text, lg_hero_eyebrow, lg_headline_text, lg_hero_img, lg_hero_sizing } 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
+ };
@@ -1,3 +1,4 @@
1
+ export declare const video_bg: string;
1
2
  export declare const lg_hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
2
3
  variant: {
3
4
  primary: {
@@ -14,24 +15,51 @@ export declare const lg_hero_banner: import('@vanilla-extract/recipes').RuntimeF
14
15
  };
15
16
  };
16
17
  }>;
18
+ export declare const lg_hero_container: string;
17
19
  export declare const lg_hero_content: string;
20
+ export declare const content_display_lg: string;
21
+ export declare const lg_hero_content_mobile: string;
18
22
  export declare const lg_hero_text: import('@vanilla-extract/recipes').RuntimeFn<{
19
23
  variant: {
20
24
  primary: {
21
25
  background: `var(--${string})`;
22
26
  color: `var(--${string})`;
27
+ selectors: {
28
+ [x: string]: {
29
+ background: `var(--${string})`;
30
+ color: `var(--${string})`;
31
+ };
32
+ };
23
33
  };
24
34
  secondary: {
25
35
  background: `var(--${string})`;
26
36
  color: `var(--${string})`;
37
+ selectors: {
38
+ [x: string]: {
39
+ background: `var(--${string})`;
40
+ color: `var(--${string})`;
41
+ };
42
+ };
27
43
  };
28
44
  tertiary: {
29
45
  background: `var(--${string})`;
30
46
  color: `var(--${string})`;
47
+ selectors: {
48
+ [x: string]: {
49
+ background: `var(--${string})`;
50
+ color: `var(--${string})`;
51
+ };
52
+ };
31
53
  };
32
54
  quaternary: {
33
55
  background: `var(--${string})`;
34
56
  color: `var(--${string})`;
57
+ selectors: {
58
+ [x: string]: {
59
+ background: `var(--${string})`;
60
+ color: `var(--${string})`;
61
+ };
62
+ };
35
63
  };
36
64
  };
37
65
  }>;
@@ -39,15 +67,35 @@ export declare const lg_hero_eyebrow: import('@vanilla-extract/recipes').Runtime
39
67
  variant: {
40
68
  primary: {
41
69
  color: `var(--${string})`;
70
+ selectors: {
71
+ [x: string]: {
72
+ color: `var(--${string})`;
73
+ };
74
+ };
42
75
  };
43
76
  secondary: {
44
77
  color: `var(--${string})`;
78
+ selectors: {
79
+ [x: string]: {
80
+ color: `var(--${string})`;
81
+ };
82
+ };
45
83
  };
46
84
  tertiary: {
47
85
  color: `var(--${string})`;
86
+ selectors: {
87
+ [x: string]: {
88
+ color: `var(--${string})`;
89
+ };
90
+ };
48
91
  };
49
92
  quaternary: {
50
93
  color: `var(--${string})`;
94
+ selectors: {
95
+ [x: string]: {
96
+ color: `var(--${string})`;
97
+ };
98
+ };
51
99
  };
52
100
  };
53
101
  }>;
@@ -55,17 +103,79 @@ export declare const lg_headline_text: import('@vanilla-extract/recipes').Runtim
55
103
  variant: {
56
104
  primary: {
57
105
  color: `var(--${string})`;
106
+ selectors: {
107
+ [x: string]: {
108
+ color: `var(--${string})`;
109
+ };
110
+ };
58
111
  };
59
112
  secondary: {
60
113
  color: `var(--${string})`;
114
+ selectors: {
115
+ [x: string]: {
116
+ color: `var(--${string})`;
117
+ };
118
+ };
61
119
  };
62
120
  tertiary: {
63
121
  color: `var(--${string})`;
122
+ selectors: {
123
+ [x: string]: {
124
+ color: `var(--${string})`;
125
+ };
126
+ };
64
127
  };
65
128
  quaternary: {
66
129
  color: `var(--${string})`;
130
+ selectors: {
131
+ [x: string]: {
132
+ color: `var(--${string})`;
133
+ };
134
+ };
67
135
  };
68
136
  };
69
137
  }>;
70
138
  export declare const lg_hero_img: string;
71
139
  export declare const lg_hero_sizing: string;
140
+ export declare const video_wrapper: string;
141
+ export declare const player: string;
142
+ export declare const placement: import('@vanilla-extract/recipes').RuntimeFn<{
143
+ position: {
144
+ "top left": {
145
+ "@media": {
146
+ "(min-width: 1024px)": {
147
+ borderRadius: "0 0 1rem 0";
148
+ left: number;
149
+ top: number;
150
+ };
151
+ };
152
+ };
153
+ "top right": {
154
+ "@media": {
155
+ "(min-width: 1024px)": {
156
+ borderRadius: "0 0 0 1rem";
157
+ right: number;
158
+ top: number;
159
+ };
160
+ };
161
+ };
162
+ "bottom left": {
163
+ "@media": {
164
+ "(min-width: 1024px)": {
165
+ borderRadius: "0 1rem 0 0";
166
+ bottom: number;
167
+ left: number;
168
+ };
169
+ };
170
+ };
171
+ "bottom right": {
172
+ "@media": {
173
+ "(min-width: 1024px)": {
174
+ borderRadius: "1rem 0 0 0";
175
+ bottom: number;
176
+ right: number;
177
+ };
178
+ };
179
+ };
180
+ };
181
+ }>;
@@ -5,19 +5,33 @@ import '../assets/HeroBanner/LargeBanner.css';import '../assets/Typography/Typog
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
8
- var lg_hero_banner = createRuntimeFn({ defaultClassName: "_1bsyngo0", variantClassNames: { variant: { primary: "_1bsyngo1", secondary: "_1bsyngo2", tertiary: "_1bsyngo3", quaternary: "_1bsyngo4" } }, defaultVariants: {}, compoundVariants: [] });
9
- var lg_hero_content = "_1bsyngo5";
10
- var lg_hero_text = createRuntimeFn({ defaultClassName: "_1bsyngo6", variantClassNames: { variant: { primary: "_1bsyngo7", secondary: "_1bsyngo8", tertiary: "_1bsyngo9", quaternary: "_1bsyngoa" } }, defaultVariants: {}, compoundVariants: [] });
11
- var lg_hero_eyebrow = createRuntimeFn({ defaultClassName: "_1bsyngob", variantClassNames: { variant: { primary: "_1bsyngoc", secondary: "_1bsyngod", tertiary: "_1bsyngoe", quaternary: "_1bsyngof" } }, defaultVariants: {}, compoundVariants: [] });
12
- var lg_headline_text = createRuntimeFn({ defaultClassName: "_1bsyngog", variantClassNames: { variant: { primary: "_1bsyngoh", secondary: "_1bsyngoi", tertiary: "_1bsyngoj", quaternary: "_1bsyngok" } }, defaultVariants: {}, compoundVariants: [] });
13
- var lg_hero_img = "_1bsyngol";
14
- var lg_hero_sizing = "_1bsyngom";
8
+ var video_bg = "_1bsyngo0";
9
+ var lg_hero_banner = createRuntimeFn({ defaultClassName: "_1bsyngo1", variantClassNames: { variant: { primary: "_1bsyngo2", secondary: "_1bsyngo3", tertiary: "_1bsyngo4", quaternary: "_1bsyngo5" } }, defaultVariants: {}, compoundVariants: [] });
10
+ var lg_hero_container = "_1bsyngo6";
11
+ var lg_hero_content = "_1bsyngo7";
12
+ var content_display_lg = "_1bsyngo8";
13
+ var lg_hero_content_mobile = "_1bsyngo9";
14
+ var lg_hero_text = createRuntimeFn({ defaultClassName: "_1bsyngoa", variantClassNames: { variant: { primary: "_1bsyngob", secondary: "_1bsyngoc", tertiary: "_1bsyngod", quaternary: "_1bsyngoe" } }, defaultVariants: {}, compoundVariants: [] });
15
+ var lg_hero_eyebrow = createRuntimeFn({ defaultClassName: "_1bsyngof", variantClassNames: { variant: { primary: "_1bsyngog", secondary: "_1bsyngoh", tertiary: "_1bsyngoi", quaternary: "_1bsyngoj" } }, defaultVariants: {}, compoundVariants: [] });
16
+ var lg_headline_text = createRuntimeFn({ defaultClassName: "_1bsyngok", variantClassNames: { variant: { primary: "_1bsyngol", secondary: "_1bsyngom", tertiary: "_1bsyngon", quaternary: "_1bsyngoo" } }, defaultVariants: {}, compoundVariants: [] });
17
+ var lg_hero_img = "_1bsyngop";
18
+ var lg_hero_sizing = "_1bsyngoq";
19
+ var video_wrapper = "_1bsyngor";
20
+ var player = "_1bsyngos";
21
+ var placement = createRuntimeFn({ defaultClassName: "_1bsyngot", variantClassNames: { position: { "top left": "_1bsyngou", "top right": "_1bsyngov", "bottom left": "_1bsyngow", "bottom right": "_1bsyngox" } }, defaultVariants: {}, compoundVariants: [] });
15
22
  export {
23
+ content_display_lg,
16
24
  lg_headline_text,
17
25
  lg_hero_banner,
26
+ lg_hero_container,
18
27
  lg_hero_content,
28
+ lg_hero_content_mobile,
19
29
  lg_hero_eyebrow,
20
30
  lg_hero_img,
21
31
  lg_hero_sizing,
22
- lg_hero_text
32
+ lg_hero_text,
33
+ placement,
34
+ player,
35
+ video_bg,
36
+ video_wrapper
23
37
  };
@@ -0,0 +1,5 @@
1
+ import { HeroBannerInterface } from './HeroBanner.interface';
2
+
3
+ type LargeHeroBannerProps = Pick<HeroBannerInterface, "id" | "eyebrow" | "headline" | "bodyCopy" | "bullets" | "callToActionRow" | "image" | "imagePlacement" | "variant" | "video" | "bannerType" | "videoTextPosition">;
4
+ export declare const LargeHeroBanner: ({ id, eyebrow, headline, bodyCopy, bullets, callToActionRow, image, imagePlacement, variant, video, bannerType, videoTextPosition, }: LargeHeroBannerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};