@axos-web-dev/shared-components 2.0.0-queryparams.2 → 2.1.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.
Files changed (208) hide show
  1. package/README.md +111 -111
  2. package/dist/ATMLocator/ATMLocator.js +11 -6
  3. package/dist/Auth/ErrorAlert.js +13 -8
  4. package/dist/Auth/SignInPassword.js +1 -0
  5. package/dist/Avatar/Avatar.module.js +7 -7
  6. package/dist/Blockquote/Blockquote.module.js +3 -3
  7. package/dist/BulletItem/BulletItem.js +1 -0
  8. package/dist/Button/Button.js +14 -26
  9. package/dist/Calculators/AnnualFeeCalculator/index.js +2 -1
  10. package/dist/Calculators/ApyCalculator/index.js +1 -3
  11. package/dist/Calculators/AxosOneCalculator/index.js +6 -7
  12. package/dist/Calculators/BalanceAPYCalculator/index.js +1 -0
  13. package/dist/Calculators/BuyDownCalculator/index.js +1 -0
  14. package/dist/Calculators/Calculator.js +12 -7
  15. package/dist/Calculators/MarginTradingCalculator/index.js +2 -119
  16. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +2 -1
  17. package/dist/Calculators/MaxLoanCalculator/index.js +2 -1
  18. package/dist/Calculators/MonthlyPaymentCalculator/index.js +2 -1
  19. package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +1 -0
  20. package/dist/Calculators/SummitApyCalculator/index.js +2 -3
  21. package/dist/Calculators/calculator.css.d.ts +21 -1
  22. package/dist/Calculators/calculator.css.js +3 -3
  23. package/dist/Carousel/index.js +11 -6
  24. package/dist/Chatbot/AnimatedGradientBorder.css.d.ts +5 -0
  25. package/dist/Chatbot/AnimatedGradientBorder.css.js +13 -3
  26. package/dist/Chatbot/Bubble.css.js +2 -1
  27. package/dist/Chatbot/Bubble.d.ts +1 -0
  28. package/dist/Chatbot/Bubble.js +3 -12
  29. package/dist/Chatbot/Chat.js +17 -7
  30. package/dist/Chatbot/ChatWindow.css.d.ts +4 -0
  31. package/dist/Chatbot/ChatWindow.css.js +39 -31
  32. package/dist/Chatbot/ChatWindow.js +163 -95
  33. package/dist/Chatbot/Chatbot.d.ts +10 -2
  34. package/dist/Chatbot/Chatbot.js +148 -80
  35. package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
  36. package/dist/Chatbot/ChatbotMessage.js +214 -160
  37. package/dist/Chatbot/index.js +5 -1
  38. package/dist/Chatbot/store/chat.d.ts +5 -0
  39. package/dist/Chatbot/store/chat.js +10 -2
  40. package/dist/Chatbot/useHeadlessChat.js +1 -2
  41. package/dist/Chevron/index.js +12 -18
  42. package/dist/Comparison/Comparison.js +11 -6
  43. package/dist/ExecutiveBio/ExecutiveBio.js +9 -4
  44. package/dist/ExecutiveBio/ExecutiveBioSet.js +1 -0
  45. package/dist/FaqAccordion/index.js +11 -6
  46. package/dist/FdicCallout/FdicCallout.module.js +2 -2
  47. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +208 -91
  48. package/dist/Forms/ApplicationStart.js +1 -0
  49. package/dist/Forms/ApplyNow.js +10 -5
  50. package/dist/Forms/BoatMooringLocation.d.ts +6 -1
  51. package/dist/Forms/BoatMooringLocation.js +146 -8
  52. package/dist/Forms/ClearingForm.js +1 -0
  53. package/dist/Forms/CommercialDeposits.js +1 -0
  54. package/dist/Forms/CommercialDepositsNoLendingOption.js +1 -0
  55. package/dist/Forms/CommercialLending.js +1 -0
  56. package/dist/Forms/CommercialPremiumFinance.js +1 -0
  57. package/dist/Forms/ConstructionLendingDynamic.js +1 -0
  58. package/dist/Forms/ContactCompany.js +1 -0
  59. package/dist/Forms/ContactCompanyTitle.js +1 -0
  60. package/dist/Forms/ContactUs.js +1 -0
  61. package/dist/Forms/ContactUsAAS.js +1 -0
  62. package/dist/Forms/ContactUsBusiness.js +11 -6
  63. package/dist/Forms/ContactUsBusinessNameEmail.js +11 -6
  64. package/dist/Forms/ContactUsLVF.js +1 -0
  65. package/dist/Forms/ContactUsNMLSId.js +11 -6
  66. package/dist/Forms/CpraRequest.js +3 -100
  67. package/dist/Forms/CraPublicFile.js +11 -6
  68. package/dist/Forms/DealerServices.js +1 -0
  69. package/dist/Forms/EmailOnly.js +11 -6
  70. package/dist/Forms/EmailUs.js +41 -34
  71. package/dist/Forms/FormEnums.js +2 -2
  72. package/dist/Forms/Forms.css.d.ts +3 -0
  73. package/dist/Forms/Forms.css.js +39 -39
  74. package/dist/Forms/HoneyPot/index.js +1 -0
  75. package/dist/Forms/MortgageRate/MortgageRateForm.js +12 -7
  76. package/dist/Forms/MortgageRate/MortgageRateWatch.js +11 -6
  77. package/dist/Forms/MortgageWarehouseLending.js +11 -6
  78. package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -0
  79. package/dist/Forms/ScheduleCall.js +1 -0
  80. package/dist/Forms/ScheduleCallPremier.js +1 -0
  81. package/dist/Forms/SuccesForm.js +13 -8
  82. package/dist/Forms/VendorQuestionnaire.js +1 -0
  83. package/dist/Forms/index.js +1 -0
  84. package/dist/HeroBanner/HeroBanner.css.d.ts +1 -0
  85. package/dist/HeroBanner/HeroBanner.css.js +19 -16
  86. package/dist/HeroBanner/HeroBanner.d.ts +1 -1
  87. package/dist/HeroBanner/HeroBanner.interface.d.ts +4 -1
  88. package/dist/HeroBanner/HeroBanner.js +26 -160
  89. package/dist/HeroBanner/HeroVideoPoster.d.ts +5 -0
  90. package/dist/HeroBanner/HeroVideoPoster.js +24 -0
  91. package/dist/HeroBanner/LargeBanner.css.d.ts +110 -0
  92. package/dist/HeroBanner/LargeBanner.css.js +22 -8
  93. package/dist/HeroBanner/LargeHeroBanner.d.ts +5 -0
  94. package/dist/HeroBanner/LargeHeroBanner.js +228 -0
  95. package/dist/HeroBanner/index.js +3 -2
  96. package/dist/Hyperlink/index.js +13 -20
  97. package/dist/ImageLink/ImageLink.js +10 -5
  98. package/dist/ImageLink/ImageLinkSet.js +10 -5
  99. package/dist/ImageLink/index.js +10 -5
  100. package/dist/Insight/Featured/CategorySelector.js +10 -5
  101. package/dist/Insight/Featured/Featured.js +11 -6
  102. package/dist/Insight/Featured/Header.js +11 -6
  103. package/dist/Interstitial/Interstitial.module.js +10 -10
  104. package/dist/LoadingIndicator/index.js +1 -0
  105. package/dist/Modal/Modal.js +10 -5
  106. package/dist/Modal/contextApi/store.d.ts +2 -16
  107. package/dist/Modal/contextApi/store.js +6 -37
  108. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
  109. package/dist/NavigationMenu/AxosALTS/NavData.d.ts +1 -7
  110. package/dist/NavigationMenu/AxosALTS/NavData.js +137 -6
  111. package/dist/NavigationMenu/AxosALTS/index.js +16 -14
  112. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  113. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +1 -0
  114. package/dist/NavigationMenu/AxosAdvisor/index.js +1 -0
  115. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  116. package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.js +1 -0
  117. package/dist/NavigationMenu/AxosAdvisorServices/index.js +1 -0
  118. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +4 -128
  119. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
  120. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +15 -13
  121. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +368 -196
  122. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  123. package/dist/NavigationMenu/AxosBank/NavData.d.ts +2 -39
  124. package/dist/NavigationMenu/AxosBank/NavData.js +166 -34
  125. package/dist/NavigationMenu/AxosBank/SubNavBar.js +486 -429
  126. package/dist/NavigationMenu/AxosBank/index.js +74 -20
  127. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  128. package/dist/NavigationMenu/AxosClearing/index.js +1 -0
  129. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
  130. package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
  131. package/dist/NavigationMenu/LaVictoire/NavData.d.ts +2 -13
  132. package/dist/NavigationMenu/LaVictoire/NavData.js +146 -14
  133. package/dist/NavigationMenu/LaVictoire/SubNavBar.js +1 -4
  134. package/dist/NavigationMenu/LaVictoire/index.js +44 -19
  135. package/dist/NavigationMenu/Navbar.js +9 -8
  136. package/dist/NavigationMenu/SignInNavButton.js +27 -19
  137. package/dist/SetContainer/SetContainer.css.d.ts +1 -0
  138. package/dist/SetContainer/SetContainer.css.js +5 -3
  139. package/dist/SetContainer/SetContainer.js +18 -7
  140. package/dist/SetContainer/index.js +2 -1
  141. package/dist/SocialMediaBar/iconsRepository.d.ts +14 -44
  142. package/dist/SocialMediaBar/iconsRepository.js +41 -32
  143. package/dist/SocialMediaBar/index.js +1 -3
  144. package/dist/Tab/Tab.js +1 -0
  145. package/dist/Table/Table.css.d.ts +21 -1
  146. package/dist/Table/Table.css.js +18 -18
  147. package/dist/Table/Table.d.ts +1 -1
  148. package/dist/Table/Table.js +6 -3
  149. package/dist/VideoTile/VideoTile.js +9 -4
  150. package/dist/VideoWrapper/index.js +9 -4
  151. package/dist/WalnutIframe/wrapper.module.js +3 -3
  152. package/dist/assets/Avatar/Avatar.css +59 -59
  153. package/dist/assets/Blockquote/Blockquote.css +72 -72
  154. package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +2 -2
  155. package/dist/assets/Calculators/calculator.css +25 -15
  156. package/dist/assets/Chatbot/AnimatedGradientBorder.css +99 -12
  157. package/dist/assets/Chatbot/Bubble.css +21 -6
  158. package/dist/assets/Chatbot/ChatWindow.css +127 -90
  159. package/dist/assets/Comparison/Comparison.css +2 -2
  160. package/dist/assets/DownloadTile/DownloadTile.css +7 -0
  161. package/dist/assets/ExecutiveBio/ExecutiveBio.css +0 -2
  162. package/dist/assets/FdicCallout/FdicCallout.css +48 -48
  163. package/dist/assets/Forms/Forms.css +94 -91
  164. package/dist/assets/HeroBanner/HeroBanner.css +82 -65
  165. package/dist/assets/HeroBanner/LargeBanner.css +126 -59
  166. package/dist/assets/ImageBillboard/ImageBillboard.css +1 -1
  167. package/dist/assets/Interstitial/Interstitial.css +142 -142
  168. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +264 -264
  169. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
  170. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +630 -630
  171. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -353
  172. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +445 -445
  173. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +484 -484
  174. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +427 -427
  175. package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +429 -429
  176. package/dist/assets/SetContainer/SetContainer.css +25 -15
  177. package/dist/assets/Table/Table.css +90 -75
  178. package/dist/assets/TextBlock/TextBlock.css +7 -0
  179. package/dist/assets/VideoTile/VideoTile.css +6 -0
  180. package/dist/assets/WalnutIframe/wrapper.css +48 -48
  181. package/dist/assets/globals.css +9 -9
  182. package/dist/assets/notification.mp3.js +4 -0
  183. package/dist/assets/themes/axos.css +8 -7
  184. package/dist/assets/themes/premier.css +9 -8
  185. package/dist/assets/themes/ufb.css +9 -8
  186. package/dist/assets/themes/victorie.css +9 -8
  187. package/dist/assets/utils/optimizeImage/optimizeImage.css +47 -47
  188. package/dist/main.js +11 -11
  189. package/dist/themes/axos.css.d.ts +1 -0
  190. package/dist/themes/axos.css.js +1 -1
  191. package/dist/utils/allowedAxosDomains.d.ts +2 -5
  192. package/dist/utils/allowedAxosDomains.js +46 -50
  193. package/dist/utils/appendQueryParams.js +53 -16
  194. package/dist/utils/getPosition.d.ts +1 -0
  195. package/dist/utils/getPosition.js +17 -0
  196. package/dist/utils/index.d.ts +0 -1
  197. package/dist/utils/index.js +1 -7
  198. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  199. package/dist/utils/validateExternalLinks.d.ts +1 -1
  200. package/dist/utils/validateExternalLinks.js +2 -2
  201. package/dist/utils/variant.types.d.ts +1 -0
  202. package/package.json +148 -149
  203. package/dist/Chatbot/authenticate.d.ts +0 -3
  204. package/dist/Chatbot/authenticate.js +0 -16
  205. package/dist/utils/samePageNavigation.d.ts +0 -3
  206. package/dist/utils/samePageNavigation.js +0 -23
  207. package/dist/utils/samePageQueryParamsNavigation.d.ts +0 -4
  208. package/dist/utils/samePageQueryParamsNavigation.js +0 -63
@@ -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
+ };
@@ -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 {};