@axos-web-dev/shared-components 1.0.100-dev.86-videoPoster.2 → 1.0.100-dev.87

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 (80) hide show
  1. package/dist/ATMLocator/ATMLocator.js +7 -7
  2. package/dist/Auth/ErrorAlert.js +7 -7
  3. package/dist/Button/Button.js +7 -7
  4. package/dist/Calculators/Calculator.js +7 -7
  5. package/dist/Calculators/MarginTradingCalculator/index.js +7 -7
  6. package/dist/Carousel/index.js +7 -7
  7. package/dist/Chatbot/AnimatedGradientBorder.css.d.ts +2 -0
  8. package/dist/Chatbot/AnimatedGradientBorder.css.js +7 -3
  9. package/dist/Chatbot/Bubble.css.js +2 -1
  10. package/dist/Chatbot/Bubble.d.ts +2 -1
  11. package/dist/Chatbot/Bubble.js +102 -92
  12. package/dist/Chatbot/ChatWindow.css.d.ts +4 -0
  13. package/dist/Chatbot/ChatWindow.css.js +8 -0
  14. package/dist/Chatbot/ChatWindow.js +8 -2
  15. package/dist/Chatbot/Chatbot.d.ts +1 -1
  16. package/dist/Chatbot/Chatbot.js +54 -28
  17. package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
  18. package/dist/Chatbot/ChatbotMessage.js +47 -4
  19. package/dist/Chatbot/index.js +5 -1
  20. package/dist/Chevron/index.js +7 -7
  21. package/dist/Comparison/Comparison.js +7 -7
  22. package/dist/ExecutiveBio/ExecutiveBio.js +7 -7
  23. package/dist/FaqAccordion/index.js +7 -7
  24. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +7 -7
  25. package/dist/Forms/ApplyNow.js +7 -7
  26. package/dist/Forms/ContactUsBusiness.js +7 -7
  27. package/dist/Forms/ContactUsBusinessNameEmail.js +7 -7
  28. package/dist/Forms/ContactUsNMLSId.js +7 -7
  29. package/dist/Forms/CpraRequest.js +7 -7
  30. package/dist/Forms/CraPublicFile.js +7 -7
  31. package/dist/Forms/EmailOnly.js +7 -7
  32. package/dist/Forms/EmailUs.js +40 -34
  33. package/dist/Forms/Forms.css.d.ts +3 -0
  34. package/dist/Forms/Forms.css.js +39 -39
  35. package/dist/Forms/MortgageRate/MortgageRateForm.js +7 -7
  36. package/dist/Forms/MortgageRate/MortgageRateWatch.js +7 -7
  37. package/dist/Forms/MortgageWarehouseLending.js +7 -7
  38. package/dist/Forms/SuccesForm.js +7 -7
  39. package/dist/HeroBanner/HeroBanner.css.js +1 -2
  40. package/dist/HeroBanner/HeroBanner.d.ts +1 -1
  41. package/dist/HeroBanner/HeroBanner.interface.d.ts +1 -4
  42. package/dist/HeroBanner/HeroBanner.js +153 -17
  43. package/dist/HeroBanner/LargeBanner.css.d.ts +0 -110
  44. package/dist/HeroBanner/LargeBanner.css.js +8 -22
  45. package/dist/Hyperlink/index.js +7 -7
  46. package/dist/ImageLink/ImageLink.js +3 -3
  47. package/dist/ImageLink/ImageLinkSet.js +6 -6
  48. package/dist/ImageLink/index.js +7 -7
  49. package/dist/Insight/Featured/CategorySelector.js +7 -7
  50. package/dist/Insight/Featured/Featured.js +7 -7
  51. package/dist/Insight/Featured/Header.js +7 -7
  52. package/dist/Modal/Modal.js +7 -7
  53. package/dist/NavigationMenu/AxosALTS/index.js +7 -7
  54. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +7 -7
  55. package/dist/NavigationMenu/AxosBank/SubNavBar.js +7 -7
  56. package/dist/NavigationMenu/AxosBank/index.js +7 -7
  57. package/dist/NavigationMenu/LaVictoire/index.js +7 -7
  58. package/dist/NavigationMenu/Navbar.js +7 -7
  59. package/dist/NavigationMenu/SignInNavButton.js +7 -7
  60. package/dist/SetContainer/SetContainer.js +3 -3
  61. package/dist/SocialMediaBar/iconsRepository.js +7 -7
  62. package/dist/VideoTile/VideoTile.js +4 -4
  63. package/dist/VideoWrapper/index.js +7 -7
  64. package/dist/assets/Chatbot/AnimatedGradientBorder.css +63 -7
  65. package/dist/assets/Chatbot/Bubble.css +19 -6
  66. package/dist/assets/Chatbot/ChatWindow.css +28 -2
  67. package/dist/assets/Forms/Forms.css +94 -91
  68. package/dist/assets/HeroBanner/HeroBanner.css +0 -4
  69. package/dist/assets/HeroBanner/LargeBanner.css +59 -126
  70. package/dist/assets/globals.css +6 -6
  71. package/dist/assets/notification.mp3.js +4 -0
  72. package/dist/main.js +5 -1
  73. package/dist/utils/variant.types.d.ts +0 -1
  74. package/package.json +1 -1
  75. package/dist/HeroBanner/HeroVideoPoster.d.ts +0 -6
  76. package/dist/HeroBanner/HeroVideoPoster.js +0 -154
  77. package/dist/HeroBanner/LargeHeroBanner.d.ts +0 -5
  78. package/dist/HeroBanner/LargeHeroBanner.js +0 -224
  79. package/dist/utils/getPosition.d.ts +0 -1
  80. package/dist/utils/getPosition.js +0 -17
@@ -1,154 +0,0 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
- import { VideoInit } from "../VideoTile/VideoInit.js";
3
- import "../icons/ArrowIcon/ArrowIcon.css.js";
4
- import "../icons/CheckIcon/CheckIcon.css.js";
5
- import '../assets/VideoWrapper/VideoWrapper.css';import '../assets/TopicalNavSet/TopicalNavSet.css';import '../assets/TopicalNavItem/TopicalNavItem.css';import '../assets/Topic/Topic.css';import '../assets/TextBlock/TextBlock.css';import '../assets/SocialMediaBar/SocialMediaBar.css';import '../assets/SecondaryFooter/SecondaryFooter.css';import '../assets/Pagination/Pagination.css';import '../assets/PageNavSet/PageNavigationSet.css';import '../assets/NavigationMenu/LaVictoire/NavBar.css';import '../assets/NavigationMenu/AxosALTS/NavBar.css';import '../assets/NavigationMenu/AxosClearing/NavBar.css';import '../assets/NavigationMenu/AxosBank/SubNavbar.css';import '../assets/NavigationMenu/AxosBank/NavBar.css';import '../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisorServices/NavBar.css';import '../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisor/NavBar.css';import '../assets/Insight/Featured/Header.css';import '../assets/Insight/Featured/CategorySelector.css';import '../assets/Insight/Featured/Featured.css';import '../assets/ImageLink/ImageLink.css';import '../assets/HelpArticle/HelpArticle.css';import '../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../assets/DownloadTile/DownloadTile.css';import '../assets/CollectInformationAlert/CollectInformationAlert.css';import '../assets/Chatbot/ChatWindow.css';import '../assets/Chatbot/Chatbot.css';import '../assets/Chatbot/Bubble.css';import '../assets/Chatbot/AnimatedGradientBorder.css';import '../assets/CallToActionBar/CallToActionBar.css';import '../assets/Insight/Insight.css';import '../assets/AwardsItem/AwardsItem.css';import '../assets/AwardsBanner/AwardsBanner.css';import '../assets/Auth/SignIn.css';import '../assets/Auth/ErrorAlert.css';import '../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../assets/Forms/QuickPricer/UserInformation.css';import '../assets/Forms/QuickPricer/QuickPricerResults.css';import '../assets/Modal/Modal.css';import '../assets/BulletItem/BulletItem.css';import '../assets/VideoTile/VideoTile.css';import '../assets/Typography/Typography.css';import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
6
- /* empty css */
7
- /* empty css */
8
- /* empty css */
9
- /* empty css */
10
- /* empty css */
11
- import "react-use";
12
- /* empty css */
13
- /* empty css */
14
- import "react";
15
- import "../ImageBillboard/ImageBillboard.css.js";
16
- import "clsx";
17
- import "../IconBillboard/IconBillboard.css.js";
18
- /* empty css */
19
- import "../Accordion/Accordion.js";
20
- import "../Accordion/Accordion.css.js";
21
- import "../AlertBanner/AlertBanner.css.js";
22
- import "../Article/Article.css.js";
23
- import "../ArticlesSet/ArticlesSet.css.js";
24
- import "../Calculators/calculator.css.js";
25
- import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
26
- import "../Button/Button.css.js";
27
- import "../Modal/contextApi/store.js";
28
- import "../Calculators/ApyCalculator/ApyCalculator.css.js";
29
- import "../Table/Table.css.js";
30
- import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
31
- import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
32
- import "@hookform/resolvers/zod";
33
- import "../Input/Checkbox.js";
34
- import "../Input/CurrencyInput.js";
35
- import "../Input/Dropdown.js";
36
- import "../Input/Dropdown.css.js";
37
- import "../Input/Input.js";
38
- import "../Input/Input.css.js";
39
- import "../Input/InputAmount.js";
40
- import "../Input/InputPhone.js";
41
- import "../Input/InputTextArea.js";
42
- import "../Input/DownPaymentInput.js";
43
- import "../Input/RadioButton.js";
44
- import "../Input/PercentageInput.js";
45
- import "react-hook-form";
46
- import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
47
- import "../Forms/Forms.css.js";
48
- import "../Forms/HoneyPot/index.js";
49
- import "../Forms/SalesforceFieldsForm.js";
50
- import "../Input/RadioButton.css.js";
51
- import "../Input/Checkbox.css.js";
52
- import "../LoadingIndicator/LoadingIndicator.css.js";
53
- import "../Chevron/Chevron.css.js";
54
- /* empty css */
55
- import "../Interstitial/Interstitial-variants.css.js";
56
- import "../Inputs/Input.css.js";
57
- /* empty css */
58
- import "../Hyperlink/Hyperlink.css.js";
59
- /* empty css */
60
- import "iframe-resizer";
61
- /* empty css */
62
- import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
63
- import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
64
- import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
65
- /* empty css */
66
- import "react-dom";
67
- /* empty css */
68
- import "../Auth/SignInPassword.js";
69
- /* empty css */
70
- /* empty css */
71
- /* empty css */
72
- /* empty css */
73
- import "../Carousel/index.js";
74
- /* empty css */
75
- /* empty css */
76
- import "../Chatbot/store/chat.js";
77
- import "../Chatbot/authenticate.js";
78
- /* empty css */
79
- /* empty css */
80
- import "../Chatbot/store/messages.js";
81
- /* empty css */
82
- import "../Comparison/Comparison.css.js";
83
- import "next/image.js";
84
- import "./HeroBanner.css.js";
85
- import { player } from "./LargeBanner.css.js";
86
- import "./SelectionBanner.css.js";
87
- import "../SetContainer/SetContainer.css.js";
88
- import "../Tab/Tab.css.js";
89
- import "../icons/Star/Star.css.js";
90
- import "../ContentBanner/ContentBanner.css.js";
91
- /* empty css */
92
- import "../ExecutiveBio/ExecutiveBio.css.js";
93
- import "../FaqAccordion/index.js";
94
- import "../FooterDisclosure/FooterDisclosure.css.js";
95
- /* empty css */
96
- /* empty css */
97
- /* empty css */
98
- /* empty css */
99
- /* empty css */
100
- /* empty css */
101
- /* empty css */
102
- import "../LandingPageHeader/LandingPageHeader.css.js";
103
- /* empty css */
104
- import "next/navigation.js";
105
- /* empty css */
106
- /* empty css */
107
- /* empty css */
108
- import "next/link.js";
109
- /* empty css */
110
- /* empty css */
111
- /* empty css */
112
- /* empty css */
113
- /* empty css */
114
- import "../PageNavItem/PageNavItem.css.js";
115
- import "react-slick";
116
- /* empty css */
117
- /* empty css */
118
- /* empty css */
119
- /* empty css */
120
- import "../StepItem/StepItem.css.js";
121
- import "../StepItemSet/StepItemSet.css.js";
122
- /* empty css */
123
- /* empty css */
124
- /* empty css */
125
- /* empty css */
126
- /* empty css */
127
- const HeroVideoPoster = ({
128
- videoId,
129
- videoPlayer,
130
- thumbnailImage
131
- }) => {
132
- return /* @__PURE__ */ jsxs(Fragment, { children: [
133
- /* @__PURE__ */ jsx(VideoInit, {}),
134
- /* @__PURE__ */ jsx("div", { className: player, "data-uuid": videoId, children: /* @__PURE__ */ jsx(
135
- "img",
136
- {
137
- style: {
138
- width: "100%",
139
- margin: "auto",
140
- display: "block"
141
- },
142
- alt: "",
143
- className: "vidyard-player-embed",
144
- src: thumbnailImage ? thumbnailImage : `https://play.vidyard.com/${videoId}.jpg`,
145
- "data-uuid": videoId,
146
- "data-v": "4",
147
- "data-type": videoPlayer
148
- }
149
- ) })
150
- ] });
151
- };
152
- export {
153
- HeroVideoPoster
154
- };
@@ -1,5 +0,0 @@
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 {};
@@ -1,224 +0,0 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import clsx from "clsx";
3
- import Image from "next/image.js";
4
- import { Button } from "../Button/Button.js";
5
- import "../Button/Button.css.js";
6
- import "react";
7
- import "react-use";
8
- import { Chevron } from "../Chevron/index.js";
9
- import "../icons/ArrowIcon/ArrowIcon.css.js";
10
- import "../icons/CheckIcon/CheckIcon.css.js";
11
- import SvgCheckIcon from "../icons/CheckIcon/index.js";
12
- import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
13
- /* empty css */
14
- /* empty css */
15
- /* empty css */
16
- /* empty css */
17
- /* empty css */
18
- import { getVariant } from "../utils/getVariant.js";
19
- import { HeroVideoPoster } from "./HeroVideoPoster.js";
20
- import { getPosition } from "../utils/getPosition.js";
21
- import { hero_wrapper, hero_bullet_item, hero_sub_bullets, hero_btns, img_contents, reversed_lg_image, reversed } from "./HeroBanner.css.js";
22
- import { lg_hero_container, content_display_lg, lg_hero_eyebrow, lg_headline_text, lg_hero_text, placement, lg_hero_content_mobile, lg_hero_sizing, lg_hero_img, lg_hero_content, video_wrapper, lg_hero_banner, video_bg } from "./LargeBanner.css.js";
23
- const LargeHeroBanner = ({
24
- id,
25
- eyebrow,
26
- headline,
27
- bodyCopy,
28
- bullets,
29
- callToActionRow,
30
- image,
31
- imagePlacement = "Right",
32
- variant,
33
- video,
34
- bannerType,
35
- videoTextPosition = "default"
36
- }) => {
37
- const textPosition = getPosition(videoTextPosition);
38
- return /* @__PURE__ */ jsxs(
39
- "section",
40
- {
41
- className: clsx(
42
- lg_hero_banner({ variant: getVariant(variant) }),
43
- bannerType === "Video Poster" ? video_bg : ""
44
- ),
45
- id,
46
- children: [
47
- /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment ${lg_hero_container}`, children: /* @__PURE__ */ jsxs(
48
- "div",
49
- {
50
- className: clsx(
51
- lg_hero_content,
52
- imagePlacement !== "Right" ? reversed : "",
53
- "flex",
54
- "between",
55
- "middle"
56
- ),
57
- style: {
58
- position: textPosition !== "default" ? "static" : "relative"
59
- },
60
- children: [
61
- /* @__PURE__ */ jsx(
62
- "div",
63
- {
64
- className: clsx(
65
- lg_hero_text({ variant: getVariant(variant) }),
66
- "rounded",
67
- textPosition !== "default" ? placement({ position: textPosition }) : "",
68
- lg_hero_content_mobile
69
- ),
70
- children: /* @__PURE__ */ jsxs("div", { className: `containment ${content_display_lg}`, children: [
71
- eyebrow && /* @__PURE__ */ jsx(
72
- "h1",
73
- {
74
- className: lg_hero_eyebrow({
75
- variant: getVariant(variant)
76
- }),
77
- children: eyebrow
78
- }
79
- ),
80
- eyebrow ? /* @__PURE__ */ jsx(
81
- "h2",
82
- {
83
- className: lg_headline_text({
84
- variant: getVariant(variant)
85
- }),
86
- children: headline
87
- }
88
- ) : /* @__PURE__ */ jsx(
89
- "h1",
90
- {
91
- className: lg_headline_text({
92
- variant: getVariant(variant)
93
- }),
94
- children: headline
95
- }
96
- ),
97
- /* @__PURE__ */ jsxs("div", { className: "push_up", children: [
98
- /* @__PURE__ */ jsx(Fragment, { children: bodyCopy }),
99
- bullets && bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up_24", children: bullets.map(
100
- ({ id: id2, icon, copy, subBullet }) => !subBullet ? /* @__PURE__ */ jsxs(
101
- "li",
102
- {
103
- className: `list_item flex ${hero_bullet_item}`,
104
- children: [
105
- /* @__PURE__ */ jsx("div", { className: "img_item", children: getVariant(variant) ? /* @__PURE__ */ jsx(
106
- SvgCheckIcon,
107
- {
108
- variant: getVariant(variant) === "primary" || getVariant(variant) === "secondary" ? "secondary" : "primary"
109
- }
110
- ) : /* @__PURE__ */ jsx("img", { src: icon?.src, alt: icon?.altText }) }),
111
- /* @__PURE__ */ jsx("span", { children: copy })
112
- ]
113
- },
114
- id2
115
- ) : /* @__PURE__ */ jsx(
116
- "ul",
117
- {
118
- className: clsx(hero_sub_bullets, "mb_0", "push_up"),
119
- children: /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
120
- /* @__PURE__ */ jsx("div", { className: "img_item", children: /* @__PURE__ */ jsx(
121
- "img",
122
- {
123
- style: { maxWidth: "max-content" },
124
- src: icon?.src,
125
- alt: icon?.altText
126
- }
127
- ) }),
128
- /* @__PURE__ */ jsx("span", { children: copy })
129
- ] })
130
- },
131
- id2
132
- )
133
- ) })
134
- ] }),
135
- callToActionRow && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
136
- ({
137
- id: id2,
138
- variant: variant2,
139
- displayText,
140
- targetUrl,
141
- type,
142
- newTab
143
- }) => type === "Button" ? /* @__PURE__ */ jsx(
144
- Button,
145
- {
146
- targetUrl,
147
- color: getVariant(variant2),
148
- size: "large",
149
- rounded: "medium",
150
- newTab,
151
- children: displayText
152
- },
153
- id2
154
- ) : /* @__PURE__ */ jsx(
155
- Chevron,
156
- {
157
- targetUrl,
158
- variant: getVariant(variant2),
159
- newTab,
160
- children: displayText
161
- },
162
- id2
163
- )
164
- ) })
165
- ] })
166
- }
167
- ),
168
- bannerType === "Large" && image && /* @__PURE__ */ jsx(
169
- "div",
170
- {
171
- className: clsx(
172
- lg_hero_img,
173
- imagePlacement !== "Right" ? reversed_lg_image : "",
174
- "rounded",
175
- lg_hero_content_mobile
176
- ),
177
- role: "presentation",
178
- children: /* @__PURE__ */ jsxs("picture", { className: img_contents, children: [
179
- /* @__PURE__ */ jsx(
180
- "source",
181
- {
182
- srcSet: `https:${image?.src}?fm=avif`,
183
- type: "image/avif"
184
- }
185
- ),
186
- /* @__PURE__ */ jsx(
187
- "source",
188
- {
189
- srcSet: `https:${image?.src}?fm=webp`,
190
- type: "image/webp"
191
- }
192
- ),
193
- /* @__PURE__ */ jsx(
194
- Image,
195
- {
196
- src: `https:${image?.src}?q=90`,
197
- className: lg_hero_sizing,
198
- alt: "",
199
- height: 600,
200
- width: 792,
201
- priority: true
202
- }
203
- )
204
- ] })
205
- }
206
- )
207
- ]
208
- }
209
- ) }),
210
- bannerType === "Video Poster" && video && /* @__PURE__ */ jsx("div", { className: video_wrapper, "aria-hidden": "true", inert: true, children: /* @__PURE__ */ jsx(
211
- HeroVideoPoster,
212
- {
213
- videoId: video.videoId,
214
- videoPlayer: video.videoPlayer,
215
- thumbnailImage: video.thumbnailImage
216
- }
217
- ) })
218
- ]
219
- }
220
- );
221
- };
222
- export {
223
- LargeHeroBanner
224
- };
@@ -1 +0,0 @@
1
- export declare const getPosition: (text: string | undefined) => "default" | "top left" | "top right" | "bottom left" | "bottom right";
@@ -1,17 +0,0 @@
1
- const getPosition = (text) => {
2
- switch (text) {
3
- case "top left":
4
- return "top left";
5
- case "top right":
6
- return "top right";
7
- case "bottom left":
8
- return "bottom left";
9
- case "bottom right":
10
- return "bottom right";
11
- default:
12
- return "default";
13
- }
14
- };
15
- export {
16
- getPosition
17
- };