@axos-web-dev/shared-components 0.0.118 → 0.0.119

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 (122) hide show
  1. package/dist/ATMLocator/ATMLocator.js +3 -2
  2. package/dist/Accordion/Accordion.css.d.ts +9 -9
  3. package/dist/Button/Button.js +3 -2
  4. package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.d.ts +16 -1
  5. package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +8 -8
  6. package/dist/Calculators/AnnualFeeCalculator/index.js +7 -4
  7. package/dist/Calculators/Calculator.js +1 -0
  8. package/dist/Calculators/MarginTradingCalculator/index.js +25 -5
  9. package/dist/Calculators/MaxLoanCalculator/index.js +3 -1
  10. package/dist/Calculators/MonthlyPaymentCalculator/index.js +3 -1
  11. package/dist/Calculators/calculator.css.d.ts +1 -0
  12. package/dist/Calculators/calculator.css.js +4 -2
  13. package/dist/Calculators/index.js +2 -1
  14. package/dist/Carousel/Carousel.css.d.ts +1 -0
  15. package/dist/Carousel/Carousel.css.js +13 -11
  16. package/dist/Carousel/index.d.ts +1 -1
  17. package/dist/Carousel/index.js +39 -31
  18. package/dist/Chevron/index.js +2 -1
  19. package/dist/Comparison/Comparison.css.js +2 -2
  20. package/dist/Comparison/Comparison.js +2 -1
  21. package/dist/ContentBanner/ContentBanner.interface.d.ts +2 -1
  22. package/dist/ContentBanner/index.js +3 -2
  23. package/dist/DownloadTile/DownloadTile.css.d.ts +1 -0
  24. package/dist/DownloadTile/DownloadTile.css.js +9 -7
  25. package/dist/DownloadTile/DownloadTile.interface.d.ts +1 -0
  26. package/dist/DownloadTile/index.js +34 -25
  27. package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +1 -0
  28. package/dist/ExecutiveBio/ExecutiveBio.css.js +23 -21
  29. package/dist/ExecutiveBio/ExecutiveBio.js +3 -2
  30. package/dist/ExecutiveBio/index.js +2 -1
  31. package/dist/FaqAccordion/FaqAccordion.css.d.ts +1 -0
  32. package/dist/FaqAccordion/FaqAccordion.css.js +7 -5
  33. package/dist/FaqAccordion/index.d.ts +1 -0
  34. package/dist/FaqAccordion/index.js +16 -8
  35. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +2 -1
  36. package/dist/Forms/BlendPurchase.d.ts +11 -0
  37. package/dist/Forms/BlendPurchase.js +215 -0
  38. package/dist/Forms/BlendRefinance.d.ts +11 -0
  39. package/dist/Forms/BlendRefinance.js +215 -0
  40. package/dist/Forms/ContactUsBusiness.js +3 -2
  41. package/dist/Forms/ContactUsNMLSId.js +3 -2
  42. package/dist/Forms/EmailOnly.js +3 -2
  43. package/dist/Forms/Forms.css.js +2 -2
  44. package/dist/Forms/SalesforceFieldsForm.d.ts +0 -1
  45. package/dist/Forms/SuccesForm.js +2 -1
  46. package/dist/HeroBanner/HeroBanner.css.js +1 -1
  47. package/dist/Hyperlink/index.js +2 -1
  48. package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
  49. package/dist/ImageBillboard/ImageBillboard.interface.d.ts +1 -0
  50. package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
  51. package/dist/ImageBillboard/ImageBillboardSet.js +3 -2
  52. package/dist/ImageLink/ImageLink.css.d.ts +1 -0
  53. package/dist/ImageLink/ImageLink.css.js +5 -1
  54. package/dist/ImageLink/ImageLink.js +3 -2
  55. package/dist/ImageLink/ImageLinkSet.js +5 -3
  56. package/dist/ImageLink/index.js +1 -1
  57. package/dist/Input/Checkbox.d.ts +1 -1
  58. package/dist/Input/DatePicker.css.d.ts +1 -0
  59. package/dist/Input/DatePicker.css.js +6 -0
  60. package/dist/Input/Datepicker.d.ts +3 -0
  61. package/dist/Input/Datepicker.js +47 -0
  62. package/dist/Input/Input.css.js +1 -1
  63. package/dist/Input/InputDate.css.d.ts +6 -0
  64. package/dist/Input/InputDate.css.js +15 -0
  65. package/dist/Input/InputDate.d.ts +3 -0
  66. package/dist/Input/InputDate.js +47 -0
  67. package/dist/Input/InputProps.d.ts +6 -0
  68. package/dist/Insight/Featured/CategorySelector.css.js +1 -1
  69. package/dist/Insight/Featured/CategorySelector.js +2 -1
  70. package/dist/Insight/Featured/Featured.js +2 -1
  71. package/dist/MainHTML/index.d.ts +2 -1
  72. package/dist/MainHTML/index.js +10 -2
  73. package/dist/Modal/Modal.js +3 -2
  74. package/dist/NavigationMenu/AxosBank/NavData.js +2 -1
  75. package/dist/NavigationMenu/AxosBank/SubNavBar.js +2 -1
  76. package/dist/NavigationMenu/AxosBank/index.js +3 -2
  77. package/dist/PageNavItem/PageNavItem.js +8 -1
  78. package/dist/PageNavSet/PageNavSet.js +16 -19
  79. package/dist/SetContainer/SetContainer.d.ts +2 -1
  80. package/dist/SetContainer/SetContainer.js +6 -3
  81. package/dist/Table/Table.css.d.ts +1 -0
  82. package/dist/Table/Table.css.js +18 -16
  83. package/dist/Table/Table.d.ts +13 -13
  84. package/dist/Table/Table.js +23 -15
  85. package/dist/Table/index.js +2 -1
  86. package/dist/TextBlock/TextBlock.css.d.ts +1 -0
  87. package/dist/TextBlock/TextBlock.css.js +6 -4
  88. package/dist/TextBlock/TextBlock.d.ts +1 -0
  89. package/dist/TextBlock/TextBlock.js +13 -5
  90. package/dist/TextBlock/index.js +3 -2
  91. package/dist/VideoTile/VideoTile.css.d.ts +1 -0
  92. package/dist/VideoTile/VideoTile.css.js +15 -13
  93. package/dist/VideoTile/VideoTile.interface.d.ts +1 -0
  94. package/dist/VideoTile/VideoTile.js +65 -56
  95. package/dist/VideoTile/index.js +2 -1
  96. package/dist/VideoWrapper/VideoWrapper.css.d.ts +1 -0
  97. package/dist/VideoWrapper/VideoWrapper.css.js +6 -4
  98. package/dist/VideoWrapper/index.d.ts +1 -0
  99. package/dist/VideoWrapper/index.js +34 -24
  100. package/dist/assets/ArticlesSet/ArticlesSet.css +1 -1
  101. package/dist/assets/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css +23 -12
  102. package/dist/assets/Calculators/calculator.css +24 -11
  103. package/dist/assets/Carousel/Carousel.css +52 -39
  104. package/dist/assets/Comparison/Comparison.css +2 -2
  105. package/dist/assets/DownloadTile/DownloadTile.css +32 -19
  106. package/dist/assets/ExecutiveBio/ExecutiveBio.css +92 -79
  107. package/dist/assets/FaqAccordion/FaqAccordion.css +24 -11
  108. package/dist/assets/IconBillboard/IconBillboard.css +11 -0
  109. package/dist/assets/ImageBillboard/ImageBillboard.css +9 -0
  110. package/dist/assets/ImageLink/ImageLink.css +13 -0
  111. package/dist/assets/Input/DatePicker.css +95 -0
  112. package/dist/assets/Input/InputDate.css +39 -0
  113. package/dist/assets/PageNavSet/PageNavigationSet.css +6 -9
  114. package/dist/assets/Table/Table.css +82 -71
  115. package/dist/assets/TextBlock/TextBlock.css +16 -3
  116. package/dist/assets/VideoTile/VideoTile.css +27 -14
  117. package/dist/assets/VideoWrapper/VideoWrapper.css +18 -5
  118. package/dist/index.css.js +1 -1
  119. package/dist/main.js +10 -5
  120. package/dist/utils/allowedAxosDomains.js +1 -1
  121. package/package.json +121 -121
  122. package/dist/ImageLink/ImageLink.css.ts.vanilla.css.js +0 -1
@@ -1,3 +1,4 @@
1
+ export declare const download_tile_set: string;
1
2
  export declare const table_section_container: string;
2
3
  export declare const table_section: string;
3
4
  export declare const media__table: string;
@@ -1,15 +1,17 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- var table_section_container = "_14gexxj0";
5
- var table_section = "_14gexxj1";
6
- var media__table = "_14gexxj2";
7
- var download = "_14gexxj3";
8
- var ico = "_14gexxj4";
9
- var table_header = "_14gexxj5";
10
- var table_footer = "_14gexxj6";
4
+ var download_tile_set = "_14gexxj0";
5
+ var table_section_container = "_14gexxj1";
6
+ var table_section = "_14gexxj2";
7
+ var media__table = "_14gexxj3";
8
+ var download = "_14gexxj4";
9
+ var ico = "_14gexxj5";
10
+ var table_header = "_14gexxj6";
11
+ var table_footer = "_14gexxj7";
11
12
  export {
12
13
  download,
14
+ download_tile_set,
13
15
  ico,
14
16
  media__table,
15
17
  table_footer,
@@ -6,6 +6,7 @@ export interface DownloadTileSet {
6
6
  description?: string | ReactNode;
7
7
  additionalDetails?: string | ReactNode;
8
8
  downloadTiles: DownloadTileItem[];
9
+ internalName?: string;
9
10
  }
10
11
  export interface DownloadTileItem {
11
12
  id?: string;
@@ -3,38 +3,47 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
3
3
  import "../icons/CheckIcon/CheckIcon.css.js";
4
4
  import SvgDownloadIcon from "../icons/DownloadIcon/index.js";
5
5
  import SvgFollowIcon from "../icons/FollowIcon/index.js";
6
- import { table_section, table_section_container, table_header, media__table, download, ico, table_footer } from "./DownloadTile.css.js";
6
+ import { download_tile_set, table_section, table_section_container, table_header, media__table, download, ico, table_footer } from "./DownloadTile.css.js";
7
7
  const DownloadTile = ({
8
8
  id,
9
9
  titleText,
10
10
  description,
11
11
  additionalDetails,
12
- downloadTiles
12
+ downloadTiles,
13
+ internalName
13
14
  }) => {
14
- return /* @__PURE__ */ jsx("section", { id, className: `containment`, children: /* @__PURE__ */ jsxs("div", { className: table_section, children: [
15
- /* @__PURE__ */ jsx("div", { className: `${table_section_container}`, children: (titleText || description) && /* @__PURE__ */ jsxs("div", { className: `${table_header} section_header`, children: [
16
- titleText && /* @__PURE__ */ jsx("h2", { className: `text_center`, children: titleText }),
17
- description && /* @__PURE__ */ jsx(Fragment, { children: description })
18
- ] }) }),
19
- /* @__PURE__ */ jsxs("div", { className: `${table_section_container}`, children: [
20
- /* @__PURE__ */ jsxs("table", { className: `${media__table}`, children: [
21
- /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
22
- /* @__PURE__ */ jsx("th", { scope: "colgroup", children: "NAME" }),
23
- /* @__PURE__ */ jsx("th", { scope: "colgroup", children: "ACTION" })
15
+ return /* @__PURE__ */ jsx(
16
+ "section",
17
+ {
18
+ id: internalName?.replace(/ /g, "-") ?? id,
19
+ className: `containment ${download_tile_set}`,
20
+ children: /* @__PURE__ */ jsxs("div", { className: table_section, children: [
21
+ /* @__PURE__ */ jsx("div", { className: `${table_section_container}`, children: (titleText || description) && /* @__PURE__ */ jsxs("div", { className: `${table_header} section_header`, children: [
22
+ titleText && /* @__PURE__ */ jsx("h2", { className: `text_center`, children: titleText }),
23
+ description && /* @__PURE__ */ jsx(Fragment, { children: description })
24
24
  ] }) }),
25
- /* @__PURE__ */ jsx("tbody", { id: "body-table", children: downloadTiles.map(
26
- ({ id: id2, url, displayName, action = "Download" }) => /* @__PURE__ */ jsxs("tr", { children: [
27
- /* @__PURE__ */ jsx("td", { "data-label": "", children: displayName }),
28
- /* @__PURE__ */ jsx("td", { "data-label": "", children: /* @__PURE__ */ jsxs("a", { href: url, target: "_blank", className: download, children: [
29
- action.toLowerCase() === "download" ? /* @__PURE__ */ jsx(SvgDownloadIcon, { className: ico }) : /* @__PURE__ */ jsx(SvgFollowIcon, { className: ico }),
30
- /* @__PURE__ */ jsx("span", { children: action })
31
- ] }) })
32
- ] }, id2)
33
- ) })
34
- ] }),
35
- /* @__PURE__ */ jsx("div", { className: `${table_footer} push_up_32`, children: additionalDetails && /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) })
36
- ] })
37
- ] }) }, id);
25
+ /* @__PURE__ */ jsxs("div", { className: `${table_section_container}`, children: [
26
+ /* @__PURE__ */ jsxs("table", { className: `${media__table}`, children: [
27
+ /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
28
+ /* @__PURE__ */ jsx("th", { scope: "colgroup", children: "NAME" }),
29
+ /* @__PURE__ */ jsx("th", { scope: "colgroup", children: "ACTION" })
30
+ ] }) }),
31
+ /* @__PURE__ */ jsx("tbody", { id: "body-table", children: downloadTiles.map(
32
+ ({ id: id2, url, displayName, action = "Download" }) => /* @__PURE__ */ jsxs("tr", { children: [
33
+ /* @__PURE__ */ jsx("td", { "data-label": "", children: displayName }),
34
+ /* @__PURE__ */ jsx("td", { "data-label": "", children: /* @__PURE__ */ jsxs("a", { href: url, target: "_blank", className: download, children: [
35
+ action.toLowerCase() === "download" ? /* @__PURE__ */ jsx(SvgDownloadIcon, { className: ico }) : /* @__PURE__ */ jsx(SvgFollowIcon, { className: ico }),
36
+ /* @__PURE__ */ jsx("span", { children: action })
37
+ ] }) })
38
+ ] }, id2)
39
+ ) })
40
+ ] }),
41
+ additionalDetails && /* @__PURE__ */ jsx("div", { className: `${table_footer} push_up_32`, children: additionalDetails })
42
+ ] })
43
+ ] })
44
+ },
45
+ id
46
+ );
38
47
  };
39
48
  export {
40
49
  DownloadTile
@@ -1,3 +1,4 @@
1
+ export declare const executive_bio: string;
1
2
  export declare const item_bio: import('@vanilla-extract/recipes').RuntimeFn<{
2
3
  variant: {
3
4
  primary: {
@@ -3,27 +3,28 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
6
- var item_bio = createRuntimeFn({ defaultClassName: "txcb8d0", variantClassNames: { variant: { primary: "txcb8d1", secondary: "txcb8d2", tertiary: "txcb8d3", quaternary: "txcb8d4" } }, defaultVariants: {}, compoundVariants: [] });
7
- var headline_setting = createRuntimeFn({ defaultClassName: "txcb8d5", variantClassNames: { variant: { primary: "txcb8d6", secondary: "txcb8d7", tertiary: "txcb8d8", quaternary: "txcb8d9" } }, defaultVariants: {}, compoundVariants: [] });
8
- var job_title = createRuntimeFn({ defaultClassName: "txcb8da", variantClassNames: { variant: { primary: "txcb8db", secondary: "txcb8dc", tertiary: "txcb8dd", quaternary: "txcb8de" } }, defaultVariants: {}, compoundVariants: [] });
9
- var svg_icon = createRuntimeFn({ defaultClassName: "txcb8df", variantClassNames: { variant: { primary: "txcb8dg", secondary: "txcb8dh", tertiary: "txcb8di", quaternary: "txcb8dj" } }, defaultVariants: {}, compoundVariants: [] });
10
- var description = "txcb8dk";
11
- var contact_col = "txcb8dl";
12
- var padding = "txcb8dm";
13
- var copy = "txcb8dn";
14
- var contact_entry = createRuntimeFn({ defaultClassName: "txcb8do", variantClassNames: { variant: { primary: "txcb8dp", secondary: "txcb8dq", tertiary: "txcb8dr", quaternary: "txcb8ds" } }, defaultVariants: {}, compoundVariants: [] });
15
- var contacts = "txcb8dt";
16
- var contact_links = "txcb8du";
17
- var headshot = "txcb8dv";
18
- var img_area = "txcb8dw";
19
- var media = "txcb8dx";
20
- var person = "txcb8dy";
21
- var shift = "txcb8dz";
22
- var bio_section_text = "txcb8d10";
23
- var section_theme = createRuntimeFn({ defaultClassName: "txcb8d11", variantClassNames: { variant: { primary: "txcb8d12", secondary: "txcb8d13", tertiary: "txcb8d14", quaternary: "txcb8d15" } }, defaultVariants: {}, compoundVariants: [] });
24
- var header_theme = createRuntimeFn({ defaultClassName: "txcb8d16", variantClassNames: { variant: { primary: "txcb8d17", secondary: "txcb8d18", tertiary: "txcb8d19", quaternary: "txcb8d1a" } }, defaultVariants: {}, compoundVariants: [] });
25
- var components = "txcb8d1b";
26
- var details = "txcb8d1c";
6
+ var executive_bio = "txcb8d0";
7
+ var item_bio = createRuntimeFn({ defaultClassName: "txcb8d1", variantClassNames: { variant: { primary: "txcb8d2", secondary: "txcb8d3", tertiary: "txcb8d4", quaternary: "txcb8d5" } }, defaultVariants: {}, compoundVariants: [] });
8
+ var headline_setting = createRuntimeFn({ defaultClassName: "txcb8d6", variantClassNames: { variant: { primary: "txcb8d7", secondary: "txcb8d8", tertiary: "txcb8d9", quaternary: "txcb8da" } }, defaultVariants: {}, compoundVariants: [] });
9
+ var job_title = createRuntimeFn({ defaultClassName: "txcb8db", variantClassNames: { variant: { primary: "txcb8dc", secondary: "txcb8dd", tertiary: "txcb8de", quaternary: "txcb8df" } }, defaultVariants: {}, compoundVariants: [] });
10
+ var svg_icon = createRuntimeFn({ defaultClassName: "txcb8dg", variantClassNames: { variant: { primary: "txcb8dh", secondary: "txcb8di", tertiary: "txcb8dj", quaternary: "txcb8dk" } }, defaultVariants: {}, compoundVariants: [] });
11
+ var description = "txcb8dl";
12
+ var contact_col = "txcb8dm";
13
+ var padding = "txcb8dn";
14
+ var copy = "txcb8do";
15
+ var contact_entry = createRuntimeFn({ defaultClassName: "txcb8dp", variantClassNames: { variant: { primary: "txcb8dq", secondary: "txcb8dr", tertiary: "txcb8ds", quaternary: "txcb8dt" } }, defaultVariants: {}, compoundVariants: [] });
16
+ var contacts = "txcb8du";
17
+ var contact_links = "txcb8dv";
18
+ var headshot = "txcb8dw";
19
+ var img_area = "txcb8dx";
20
+ var media = "txcb8dy";
21
+ var person = "txcb8dz";
22
+ var shift = "txcb8d10";
23
+ var bio_section_text = "txcb8d11";
24
+ var section_theme = createRuntimeFn({ defaultClassName: "txcb8d12", variantClassNames: { variant: { primary: "txcb8d13", secondary: "txcb8d14", tertiary: "txcb8d15", quaternary: "txcb8d16" } }, defaultVariants: {}, compoundVariants: [] });
25
+ var header_theme = createRuntimeFn({ defaultClassName: "txcb8d17", variantClassNames: { variant: { primary: "txcb8d18", secondary: "txcb8d19", tertiary: "txcb8d1a", quaternary: "txcb8d1b" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var components = "txcb8d1c";
27
+ var details = "txcb8d1d";
27
28
  export {
28
29
  bio_section_text,
29
30
  components,
@@ -34,6 +35,7 @@ export {
34
35
  copy,
35
36
  description,
36
37
  details,
38
+ executive_bio,
37
39
  header_theme,
38
40
  headline_setting,
39
41
  headshot,
@@ -1,7 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Hyperlink } from "../Hyperlink/index.js";
3
3
  import { getVariant } from "../utils/getVariant.js";
4
- import { padding, item_bio, shift, media, headshot, img_area, description, person, headline_setting, job_title, copy, contacts, contact_col, svg_icon, contact_entry, contact_links } from "./ExecutiveBio.css.js";
4
+ import clsx from "clsx";
5
+ import { executive_bio, padding, item_bio, shift, media, headshot, img_area, description, person, headline_setting, job_title, copy, contacts, contact_col, svg_icon, contact_entry, contact_links } from "./ExecutiveBio.css.js";
5
6
  const ExecutiveBio = ({
6
7
  id,
7
8
  executiveName,
@@ -15,7 +16,7 @@ const ExecutiveBio = ({
15
16
  variant: fullVariant = "primary"
16
17
  }) => {
17
18
  const variant = getVariant(fullVariant);
18
- return /* @__PURE__ */ jsx("section", { className: "section_spacer", id, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: `${padding} ${item_bio({ variant })} rounded`, children: /* @__PURE__ */ jsxs("div", { className: `${shift} flex`, children: [
19
+ return /* @__PURE__ */ jsx("section", { className: clsx("section_spacer", executive_bio), id, children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsx("div", { className: `${padding} ${item_bio({ variant })} rounded`, children: /* @__PURE__ */ jsxs("div", { className: `${shift} flex`, children: [
19
20
  executiveHeadshot && /* @__PURE__ */ jsx("div", { className: media, children: /* @__PURE__ */ jsx("div", { className: headshot, children: /* @__PURE__ */ jsx(
20
21
  "div",
21
22
  {
@@ -1,5 +1,5 @@
1
1
  import { ExecutiveBio } from "./ExecutiveBio.js";
2
- import { bio_section_text, components, contact_col, contact_entry, contact_links, contacts, copy, description, details, header_theme, headline_setting, headshot, img_area, item_bio, job_title, media, padding, person, section_theme, shift, svg_icon } from "./ExecutiveBio.css.js";
2
+ import { bio_section_text, components, contact_col, contact_entry, contact_links, contacts, copy, description, details, executive_bio, header_theme, headline_setting, headshot, img_area, item_bio, job_title, media, padding, person, section_theme, shift, svg_icon } from "./ExecutiveBio.css.js";
3
3
  import { ExecutiveBioSet } from "./ExecutiveBioSet.js";
4
4
  export {
5
5
  ExecutiveBio,
@@ -13,6 +13,7 @@ export {
13
13
  copy,
14
14
  description,
15
15
  details,
16
+ executive_bio,
16
17
  header_theme,
17
18
  headline_setting,
18
19
  headshot,
@@ -1,3 +1,4 @@
1
+ export declare const faqAccordion_section: string;
1
2
  export declare const faqAccordion: string;
2
3
  export declare const header: string;
3
4
  export declare const summary: string;
@@ -2,14 +2,16 @@
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
- var faqAccordion = "ph6wj60";
6
- var header = "ph6wj61";
7
- var summary = "ph6wj62";
8
- var summaryHeader = "ph6wj63";
9
- var content = "ph6wj64";
5
+ var faqAccordion_section = "ph6wj60";
6
+ var faqAccordion = "ph6wj61";
7
+ var header = "ph6wj62";
8
+ var summary = "ph6wj63";
9
+ var summaryHeader = "ph6wj64";
10
+ var content = "ph6wj65";
10
11
  export {
11
12
  content,
12
13
  faqAccordion,
14
+ faqAccordion_section,
13
15
  header,
14
16
  summary,
15
17
  summaryHeader
@@ -16,5 +16,6 @@ export declare const AccordionItemContent: (props: PropsWithChildren) => import(
16
16
  export declare const FaqAccordion: (props: {
17
17
  header?: string;
18
18
  accordionEmbedLevel?: string;
19
+ internalName?: string;
19
20
  id?: string;
20
21
  } & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -20,9 +20,10 @@ import "../Article/Article.css.js";
20
20
  import "../ArticlesSet/ArticlesSet.css.js";
21
21
  import "../IconBillboard/IconBillboard.css.js";
22
22
  import "../utils/allowedAxosDomains.js";
23
+ import clsx from "clsx";
24
+ import "../Calculators/calculator.css.js";
23
25
  import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
24
26
  import "../Calculators/ApyCalculator/ApyCalculator.css.js";
25
- import "clsx";
26
27
  import "../Table/Table.css.js";
27
28
  import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
28
29
  import "@hookform/resolvers/zod";
@@ -44,7 +45,6 @@ import "../Input/Checkbox.css.js";
44
45
  import "../LoadingIndicator/LoadingIndicator.css.js";
45
46
  import "../Input/RadioButton.js";
46
47
  import "iframe-resizer";
47
- import "../Calculators/calculator.css.js";
48
48
  /* empty css */
49
49
  import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
50
50
  /* empty css */
@@ -67,6 +67,7 @@ import "../ExecutiveBio/ExecutiveBio.css.js";
67
67
  import "../FooterDisclosure/FooterDisclosure.css.js";
68
68
  /* empty css */
69
69
  import "../ImageBillboard/ImageBillboard.css.js";
70
+ /* empty css */
70
71
  /* empty css */
71
72
  /* empty css */
72
73
  import "../Interstitial/Interstitial-variants.css.js";
@@ -99,7 +100,7 @@ import "../StepItemSet/StepItemSet.css.js";
99
100
  /* empty css */
100
101
  import { getLevelNumber } from "../utils/faqAccordionOptions.js";
101
102
  import { create } from "zustand";
102
- import { summary, summaryHeader, content, header, faqAccordion } from "./FaqAccordion.css.js";
103
+ import { summary, summaryHeader, content, faqAccordion_section, header, faqAccordion } from "./FaqAccordion.css.js";
103
104
  const useAccordion = create()((set) => ({
104
105
  itemsOpened: [],
105
106
  addItem: (id) => {
@@ -179,11 +180,18 @@ const AccordionItemContent = (props) => {
179
180
  return /* @__PURE__ */ jsx("div", { className: content, children: props.children });
180
181
  };
181
182
  const FaqAccordion = (props) => {
182
- const { children, id } = props;
183
- return /* @__PURE__ */ jsxs("section", { id, children: [
184
- props.header && /* @__PURE__ */ jsx("h2", { className: header, children: props.header }),
185
- /* @__PURE__ */ jsx("div", { className: faqAccordion, children })
186
- ] });
183
+ const { children, id, internalName } = props;
184
+ return /* @__PURE__ */ jsxs(
185
+ "section",
186
+ {
187
+ id: internalName?.replace(/ /g, "-") ?? id,
188
+ className: clsx("containment", faqAccordion_section),
189
+ children: [
190
+ props.header && /* @__PURE__ */ jsx("h2", { className: header, children: props.header }),
191
+ /* @__PURE__ */ jsx("div", { className: faqAccordion, children })
192
+ ]
193
+ }
194
+ );
187
195
  };
188
196
  export {
189
197
  AccordionCtas,
@@ -22,6 +22,7 @@ import "../../Interstitial/Interstitial-variants.css.js";
22
22
  /* empty css */
23
23
  import "../../Modal/contextApi/store.js";
24
24
  import "clsx";
25
+ import "../../Calculators/calculator.css.js";
25
26
  import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
26
27
  import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
27
28
  import "../../Table/Table.css.js";
@@ -44,7 +45,6 @@ import "../../Input/Checkbox.css.js";
44
45
  import "../../LoadingIndicator/LoadingIndicator.css.js";
45
46
  import "../../Input/RadioButton.js";
46
47
  import "iframe-resizer";
47
- import "../../Calculators/calculator.css.js";
48
48
  /* empty css */
49
49
  import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
50
50
  /* empty css */
@@ -67,6 +67,7 @@ import "../../FaqAccordion/index.js";
67
67
  import "../../FooterDisclosure/FooterDisclosure.css.js";
68
68
  import { footer_section, footer_wrapper, ft_col, ft_col_header, ft_col_subheader, nested_grid, app_col, footer_mobile, ft_panel_group, ft_panel } from "./FooterSiteMap.css.js";
69
69
  import "../../ImageBillboard/ImageBillboard.css.js";
70
+ /* empty css */
70
71
  /* empty css */
71
72
  /* empty css */
72
73
  import "../../LandingPageHeader/LandingPageHeader.css.js";
@@ -0,0 +1,11 @@
1
+ import { FormProps } from './FormProps';
2
+
3
+ export type BlendPurchaseInputs = {
4
+ property_Type: string;
5
+ Occupancy: string;
6
+ SalesPrice: string;
7
+ DownPayment: string;
8
+ CreditScore: string;
9
+ ZipCode: string;
10
+ };
11
+ export declare const BlendPurchase: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,215 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { zodResolver } from "@hookform/resolvers/zod";
4
+ import { Button } from "../Button/Button.js";
5
+ import "../Button/Button.css.js";
6
+ import "react";
7
+ import "react-use";
8
+ import "../Input/Checkbox.js";
9
+ import "../Input/CurrencyInput.js";
10
+ import "../Input/Dropdown.js";
11
+ /* empty css */
12
+ /* empty css */
13
+ import { Input } from "../Input/Input.js";
14
+ import "../Input/Input.css.js";
15
+ import "../Input/InputAmount.js";
16
+ import { InputPhone } from "../Input/InputPhone.js";
17
+ import "../Input/InputTextArea.js";
18
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
19
+ import SvgAxosX from "../icons/AxosX/index.js";
20
+ import SvgComponent from "../icons/AxosX/Blue.js";
21
+ import "../icons/CheckIcon/CheckIcon.css.js";
22
+ /* empty css */
23
+ /* empty css */
24
+ /* empty css */
25
+ /* empty css */
26
+ import { associatedEmail } from "../utils/EverestValidity.js";
27
+ import "../utils/allowedAxosDomains.js";
28
+ import { getVariant } from "../utils/getVariant.js";
29
+ import clsx from "clsx";
30
+ import { useForm, FormProvider } from "react-hook-form";
31
+ import * as z from "zod";
32
+ import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions } from "./Forms.css.js";
33
+ import { SalesforceSchema } from "./SalesforceFieldsForm.js";
34
+ const BlendPurchase = ({
35
+ icon = false,
36
+ children,
37
+ onSubmit = (values) => {
38
+ console.log(values);
39
+ },
40
+ disclosure,
41
+ variant: fullVariant = "primary",
42
+ headline,
43
+ description,
44
+ callToAction,
45
+ validateEmail,
46
+ id
47
+ }) => {
48
+ const schema = z.object({
49
+ property_Type: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
50
+ Occupancy: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Last Name is required." }),
51
+ SalesPrice: z.string().email({ message: "Email is required." }).refine(async (val) => await validateEmail(val)),
52
+ DownPayment: z.string().regex(/[\d-]{10}/).min(10, { message: "Phone is required." }).max(12, { message: "Phone is required." }).transform((val, ctx) => {
53
+ const removeDashes = val.replace(/-/gi, "");
54
+ if (removeDashes.length !== 10) {
55
+ ctx.addIssue({
56
+ code: z.ZodIssueCode.custom,
57
+ message: "Phone must have at least 10 and no more than 10 characters."
58
+ });
59
+ return z.NEVER;
60
+ }
61
+ return removeDashes;
62
+ }),
63
+ CreditScore: z.string(),
64
+ ZipCode: z.string()
65
+ });
66
+ const methods = useForm({
67
+ resolver: zodResolver(schema.merge(SalesforceSchema), {
68
+ async: true
69
+ }),
70
+ mode: "all",
71
+ defaultValues: {}
72
+ });
73
+ const {
74
+ handleSubmit,
75
+ register,
76
+ formState: { errors, isValid, isSubmitting }
77
+ } = methods;
78
+ const submitForm = async (data) => {
79
+ await onSubmit(data);
80
+ };
81
+ const variant = getVariant(fullVariant);
82
+ return /* @__PURE__ */ jsx(
83
+ "section",
84
+ {
85
+ id: `id_${id}`,
86
+ className: clsx(formContainer({ variant })),
87
+ children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
88
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
89
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
90
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
91
+ description && /* @__PURE__ */ jsx(
92
+ "div",
93
+ {
94
+ className: clsx(
95
+ "text_center",
96
+ form,
97
+ descriptionField({ variant })
98
+ ),
99
+ children: description
100
+ }
101
+ )
102
+ ] }),
103
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
104
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
105
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
106
+ Input,
107
+ {
108
+ id: "property_Type",
109
+ ...register("property_Type", { required: true }),
110
+ label: "Property Type",
111
+ sizes: "medium",
112
+ required: true,
113
+ error: !!errors.property_Type,
114
+ helperText: errors.property_Type?.message,
115
+ variant
116
+ }
117
+ ) }),
118
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
119
+ Input,
120
+ {
121
+ id: "Occupancy",
122
+ ...register("Occupancy", { required: true }),
123
+ label: "Property Usage",
124
+ sizes: "medium",
125
+ required: true,
126
+ error: !!errors.Occupancy,
127
+ helperText: errors.Occupancy?.message,
128
+ variant
129
+ }
130
+ ) }),
131
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
132
+ Input,
133
+ {
134
+ id: "SalesPrice",
135
+ ...register("SalesPrice", {
136
+ required: true,
137
+ validate: {
138
+ isValid: associatedEmail
139
+ }
140
+ }),
141
+ label: "Purchase Price",
142
+ sizes: "medium",
143
+ required: true,
144
+ error: !!errors.SalesPrice,
145
+ helperText: errors.SalesPrice?.message,
146
+ variant
147
+ }
148
+ ) }),
149
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
150
+ InputPhone,
151
+ {
152
+ id: "DownPayment",
153
+ ...register("DownPayment", {
154
+ required: true,
155
+ maxLength: 12
156
+ }),
157
+ label: "Down Payment",
158
+ sizes: "medium",
159
+ required: true,
160
+ error: !!errors.DownPayment,
161
+ helperText: errors.DownPayment?.message,
162
+ variant
163
+ }
164
+ ) }),
165
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
166
+ InputPhone,
167
+ {
168
+ id: "CreditScore",
169
+ ...register("CreditScore", {
170
+ required: true,
171
+ maxLength: 12
172
+ }),
173
+ label: "Credit Score",
174
+ sizes: "medium",
175
+ required: true,
176
+ error: !!errors.CreditScore,
177
+ helperText: errors.CreditScore?.message,
178
+ variant
179
+ }
180
+ ) }),
181
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
182
+ InputPhone,
183
+ {
184
+ id: "ZipCode",
185
+ ...register("ZipCode", { required: true, maxLength: 12 }),
186
+ label: "Zip Code",
187
+ sizes: "medium",
188
+ required: true,
189
+ error: !!errors.ZipCode,
190
+ helperText: errors.ZipCode?.message,
191
+ variant
192
+ }
193
+ ) })
194
+ ] }),
195
+ children,
196
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
197
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
198
+ Button,
199
+ {
200
+ color: getVariant(callToAction?.variant),
201
+ as: "button",
202
+ type: "submit",
203
+ disabled: !isValid || isSubmitting,
204
+ children: callToAction?.displayText
205
+ }
206
+ ) })
207
+ ] })
208
+ ] }) })
209
+ },
210
+ id
211
+ );
212
+ };
213
+ export {
214
+ BlendPurchase
215
+ };
@@ -0,0 +1,11 @@
1
+ import { FormProps } from './FormProps';
2
+
3
+ export type BlendPurchaseInputs = {
4
+ property_Type: string;
5
+ Occupancy: string;
6
+ SalesPrice: string;
7
+ DownPayment: string;
8
+ CreditScore: string;
9
+ ZipCode: string;
10
+ };
11
+ export declare const BlendPurchase: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;