@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
@@ -0,0 +1,47 @@
1
+ "use client";
2
+ import { jsxs, jsx } from "react/jsx-runtime";
3
+ import { useState } from "react";
4
+ import DatePicker from "react-date-picker";
5
+ import { wrapper, labelClassName, container, iconContainer, iconInput, helperText } from "./Input.css.js";
6
+ const InputDate = (props) => {
7
+ const {
8
+ disabled,
9
+ label,
10
+ iconLeft,
11
+ iconRight,
12
+ sizes,
13
+ error = false,
14
+ helperText: helper,
15
+ variant
16
+ } = props;
17
+ const [value, onChange] = useState();
18
+ return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
19
+ label && /* @__PURE__ */ jsx(
20
+ "label",
21
+ {
22
+ className: labelClassName({ error, variant }),
23
+ htmlFor: props.name,
24
+ children: label
25
+ }
26
+ ),
27
+ /* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
28
+ iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconLeft }) }),
29
+ /* @__PURE__ */ jsx(
30
+ DatePicker,
31
+ {
32
+ dayPlaceholder: "dd",
33
+ monthPlaceholder: "mm",
34
+ yearPlaceholder: "yyyy",
35
+ minDate: /* @__PURE__ */ new Date(),
36
+ onChange,
37
+ value
38
+ }
39
+ ),
40
+ iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
41
+ ] }),
42
+ /* @__PURE__ */ jsx("span", { className: helperText({ disabled, error }), children: helper })
43
+ ] });
44
+ };
45
+ export {
46
+ InputDate
47
+ };
@@ -36,3 +36,9 @@ export interface RadioButtonProps extends InputProps {
36
36
  value: string | number;
37
37
  groupName: string;
38
38
  }
39
+ export interface DatepickerInputProps extends InputProps {
40
+ month?: string;
41
+ selected?: string;
42
+ show?: boolean;
43
+ onDateChange: (day: string) => void;
44
+ }
@@ -1,7 +1,7 @@
1
- /* empty css */
2
1
  /* empty css */
3
2
  /* empty css */
4
3
  /* empty css */
4
+ /* empty css */
5
5
  /* empty css */
6
6
  var selector_section = "_13y9ptj0";
7
7
  var selector_link = "_13y9ptj1";
@@ -20,6 +20,7 @@ import "../../AlertBanner/AlertBanner.css.js";
20
20
  import "../../Article/Article.css.js";
21
21
  import "../../ArticlesSet/ArticlesSet.css.js";
22
22
  import "react";
23
+ import "../../Calculators/calculator.css.js";
23
24
  import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
24
25
  import "../../Button/Button.css.js";
25
26
  import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
@@ -44,7 +45,6 @@ import "../../LoadingIndicator/LoadingIndicator.css.js";
44
45
  import "react-use";
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
  /* empty css */
69
69
  import "../../ImageBillboard/ImageBillboard.css.js";
70
+ /* empty css */
70
71
  import { featured_maingrid_img, featured_maingrid_item, featured_center_vertical } from "./Featured.css.js";
71
72
  import "../../LandingPageHeader/LandingPageHeader.css.js";
72
73
  /* empty css */
@@ -24,6 +24,7 @@ import "../../Chevron/Chevron.css.js";
24
24
  /* empty css */
25
25
  import "../../Modal/contextApi/store.js";
26
26
  import clsx from "clsx";
27
+ import "../../Calculators/calculator.css.js";
27
28
  import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
28
29
  import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
29
30
  import "../../Table/Table.css.js";
@@ -46,7 +47,6 @@ import "../../Input/Checkbox.css.js";
46
47
  import "../../LoadingIndicator/LoadingIndicator.css.js";
47
48
  import "../../Input/RadioButton.js";
48
49
  import "iframe-resizer";
49
- import "../../Calculators/calculator.css.js";
50
50
  /* empty css */
51
51
  import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
52
52
  /* empty css */
@@ -69,6 +69,7 @@ import "../../FaqAccordion/index.js";
69
69
  import "../../FooterDisclosure/FooterDisclosure.css.js";
70
70
  /* empty css */
71
71
  import { supertag } from "../../ImageBillboard/ImageBillboard.css.js";
72
+ /* empty css */
72
73
  /* empty css */
73
74
  /* empty css */
74
75
  import { featured_subgrid_item, featured_supertag, featured_subgrid_title, featured_center_vertical, featured_section, featured_title, featured_grid, featured_maingrid, featured_maingrid_img, featured_maingrid_item, featured_maingrid_title, featured_subgrid, featured_subgrid_divider } from "./Featured.css.js";
@@ -2,5 +2,6 @@ import { PropsWithChildren } from 'react';
2
2
 
3
3
  export interface BodyProps extends PropsWithChildren {
4
4
  theme: "Axos" | "Premier";
5
+ className?: string;
5
6
  }
6
- export declare const MainHTML: ({ theme, children }: BodyProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const MainHTML: ({ theme, children, className, }: BodyProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,19 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { axosTheme } from "../themes/axos.css.js";
3
3
  import { premierTheme } from "../themes/premier.css.js";
4
- const MainHTML = ({ theme = "Axos", children }) => {
4
+ import clsx from "clsx";
5
+ const MainHTML = ({
6
+ theme = "Axos",
7
+ children,
8
+ className
9
+ }) => {
5
10
  return /* @__PURE__ */ jsx(
6
11
  "main",
7
12
  {
8
- className: theme === "Premier" ? premierTheme : axosTheme,
13
+ className: clsx(
14
+ theme === "Premier" ? premierTheme : axosTheme,
15
+ className
16
+ ),
9
17
  id: "main-body",
10
18
  children
11
19
  }
@@ -15,11 +15,12 @@ import "../ArticlesSet/ArticlesSet.css.js";
15
15
  import { Button } from "../Button/Button.js";
16
16
  import "../IconBillboard/IconBillboard.css.js";
17
17
  import "../utils/allowedAxosDomains.js";
18
+ import "clsx";
19
+ import "../Calculators/calculator.css.js";
18
20
  import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
19
21
  import "../Button/Button.css.js";
20
22
  import "react-use";
21
23
  import "../Calculators/ApyCalculator/ApyCalculator.css.js";
22
- import "clsx";
23
24
  import "../Table/Table.css.js";
24
25
  import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
25
26
  import "@hookform/resolvers/zod";
@@ -41,7 +42,6 @@ import "../Input/Checkbox.css.js";
41
42
  import "../LoadingIndicator/LoadingIndicator.css.js";
42
43
  import "../Input/RadioButton.js";
43
44
  import "iframe-resizer";
44
- import "../Calculators/calculator.css.js";
45
45
  /* empty css */
46
46
  import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
47
47
  /* empty css */
@@ -65,6 +65,7 @@ import "../FaqAccordion/index.js";
65
65
  import "../FooterDisclosure/FooterDisclosure.css.js";
66
66
  /* empty css */
67
67
  import "../ImageBillboard/ImageBillboard.css.js";
68
+ /* empty css */
68
69
  /* empty css */
69
70
  /* empty css */
70
71
  import "../Interstitial/Interstitial-variants.css.js";
@@ -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
  /* empty css */
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";
@@ -23,6 +23,7 @@ import "../../Interstitial/Interstitial-variants.css.js";
23
23
  /* empty css */
24
24
  import "../../Modal/contextApi/store.js";
25
25
  import "clsx";
26
+ import "../../Calculators/calculator.css.js";
26
27
  import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
27
28
  import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
28
29
  import "../../Table/Table.css.js";
@@ -45,7 +46,6 @@ import "../../Input/Checkbox.css.js";
45
46
  import "../../LoadingIndicator/LoadingIndicator.css.js";
46
47
  import "../../Input/RadioButton.js";
47
48
  import "iframe-resizer";
48
- import "../../Calculators/calculator.css.js";
49
49
  /* empty css */
50
50
  import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
51
51
  /* empty css */
@@ -68,6 +68,7 @@ import "../../FaqAccordion/index.js";
68
68
  import "../../FooterDisclosure/FooterDisclosure.css.js";
69
69
  /* empty css */
70
70
  import "../../ImageBillboard/ImageBillboard.css.js";
71
+ /* empty css */
71
72
  /* empty css */
72
73
  /* empty css */
73
74
  import "../../LandingPageHeader/LandingPageHeader.css.js";
@@ -18,9 +18,10 @@ import "../../Article/Article.css.js";
18
18
  import "../../ArticlesSet/ArticlesSet.css.js";
19
19
  import "../../IconBillboard/IconBillboard.css.js";
20
20
  import { findMoreAxosDomains } from "../../utils/allowedAxosDomains.js";
21
+ import clsx from "clsx";
22
+ import "../../Calculators/calculator.css.js";
21
23
  import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
22
24
  import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
23
- import clsx from "clsx";
24
25
  import "../../Table/Table.css.js";
25
26
  import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
26
27
  import "@hookform/resolvers/zod";
@@ -42,7 +43,6 @@ import "../../Input/Checkbox.css.js";
42
43
  import "../../LoadingIndicator/LoadingIndicator.css.js";
43
44
  import "../../Input/RadioButton.js";
44
45
  import "iframe-resizer";
45
- import "../../Calculators/calculator.css.js";
46
46
  /* empty css */
47
47
  import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
48
48
  /* empty css */
@@ -66,6 +66,7 @@ import "../../FaqAccordion/index.js";
66
66
  import "../../FooterDisclosure/FooterDisclosure.css.js";
67
67
  /* empty css */
68
68
  import "../../ImageBillboard/ImageBillboard.css.js";
69
+ /* empty css */
69
70
  /* empty css */
70
71
  /* empty css */
71
72
  import "../../Interstitial/Interstitial-variants.css.js";
@@ -9,7 +9,14 @@ const PageNavItem = ({
9
9
  onClick
10
10
  }) => {
11
11
  const variant = getVariant(fullVariant);
12
- return /* @__PURE__ */ jsx("div", { onClick, className: `${pn_btn({ variant })} ${addClassName}`, children: /* @__PURE__ */ jsx("a", { href: `#${id}`, className: `${pn_link({ variant })}`, children: label }) });
12
+ return /* @__PURE__ */ jsx("div", { onClick, className: `${pn_btn({ variant })} ${addClassName}`, children: /* @__PURE__ */ jsx(
13
+ "a",
14
+ {
15
+ href: `#${id?.replace(/ /g, "-")}`,
16
+ className: `${pn_link({ variant })}`,
17
+ children: label
18
+ }
19
+ ) });
13
20
  };
14
21
  export {
15
22
  PageNavItem
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import clsx from "clsx";
4
- import { useState, useRef, useEffect } from "react";
4
+ import { useState, useEffect } from "react";
5
5
  import Slider from "react-slick";
6
6
  import "../PageNavItem/PageNavItem.css.js";
7
7
  import { PageNavItem } from "../PageNavItem/PageNavItem.js";
@@ -9,39 +9,36 @@ import { sticky_nav, nav_wrapper, sticky_page_nav } from "./PageNavigationSet.cs
9
9
  const PageNavSet = ({ id, pageNavItems }) => {
10
10
  const SliderComponent = Slider.default ? Slider.default : Slider;
11
11
  const [activeSection, setActiveSection] = useState("");
12
- const sliderRef = useRef(null);
13
12
  const settings = {
14
13
  className: `${nav_wrapper} center`,
14
+ slidesToShow: 7,
15
15
  dots: false,
16
16
  arrows: false,
17
17
  infinite: false,
18
- slidesToShow: 3,
19
18
  variableWidth: true,
20
- centerMode: false,
21
- centerPadding: "60px",
22
- slidesToScroll: 1,
23
19
  responsive: [
24
20
  {
25
21
  breakpoint: 1023,
26
22
  settings: {
27
- arrows: false,
28
- centerMode: true,
29
23
  slidesToShow: 5,
30
- variableWidth: true,
24
+ slidesToScroll: 5,
25
+ swipeToSlide: true,
31
26
  infinite: true,
32
- centerPadding: "40px"
27
+ centerMode: true,
28
+ centerPadding: "0",
29
+ focusOnSelect: true
33
30
  }
34
31
  },
35
32
  {
36
33
  breakpoint: 768,
37
34
  settings: {
38
- arrows: false,
39
- centerMode: true,
40
35
  slidesToShow: 3,
41
- slidesToScroll: 1,
36
+ slidesToScroll: 3,
37
+ swipeToSlide: true,
42
38
  infinite: true,
43
- focusOnSelect: true,
44
- centerPadding: "40px"
39
+ centerMode: true,
40
+ centerPadding: "0",
41
+ focusOnSelect: true
45
42
  }
46
43
  }
47
44
  ]
@@ -53,7 +50,7 @@ const PageNavSet = ({ id, pageNavItems }) => {
53
50
  document.documentElement.clientHeight,
54
51
  window.innerHeight
55
52
  );
56
- return rect.bottom - viewHeight < 100;
53
+ return rect.bottom - viewHeight < 0;
57
54
  }
58
55
  };
59
56
  const handleScroll = () => {
@@ -80,15 +77,15 @@ const PageNavSet = ({ id, pageNavItems }) => {
80
77
  window.removeEventListener("scroll", handleScroll);
81
78
  };
82
79
  }, []);
83
- return /* @__PURE__ */ jsx("nav", { className: clsx(sticky_nav), id: "pageNav", children: /* @__PURE__ */ jsx("div", { className: "containment", id: `id_${id}`, children: /* @__PURE__ */ jsx(SliderComponent, { ...settings, ref: sliderRef, children: pageNavItems?.map((section) => /* @__PURE__ */ jsx(
80
+ return /* @__PURE__ */ jsx("nav", { className: clsx(sticky_nav), id: "pageNav", children: /* @__PURE__ */ jsx("div", { className: "", id: `id_${id}`, children: /* @__PURE__ */ jsx(SliderComponent, { ...settings, children: pageNavItems?.map((section) => /* @__PURE__ */ jsx(
84
81
  PageNavItem,
85
82
  {
86
83
  onClick: () => {
87
- setActiveSection(section.id);
84
+ setActiveSection(section?.id?.replace(/ /g, "-"));
88
85
  },
89
86
  id: section?.id,
90
87
  label: section.label,
91
- addClassName: `nav_child ${activeSection === section.id ? "active" : ""}`
88
+ addClassName: `nav_child ${activeSection === section?.id?.replace(/ /g, "-") ? "active" : ""}`
92
89
  },
93
90
  section?.id
94
91
  )) }) }) });
@@ -7,5 +7,6 @@ export interface SetContainerProps extends Omit<ImageBillboardSetProps, "imageBi
7
7
  eyebrow?: ReactNode | string;
8
8
  style?: CSSProperties;
9
9
  isolate?: boolean;
10
+ className?: string;
10
11
  }
11
- export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, className, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -17,11 +17,12 @@ import "../Accordion/Accordion.css.js";
17
17
  import "../AlertBanner/AlertBanner.css.js";
18
18
  import "../Article/Article.css.js";
19
19
  import "../ArticlesSet/ArticlesSet.css.js";
20
+ import clsx from "clsx";
20
21
  import "react";
22
+ import "../Calculators/calculator.css.js";
21
23
  import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
22
24
  import "../Button/Button.css.js";
23
25
  import "../Calculators/ApyCalculator/ApyCalculator.css.js";
24
- import clsx from "clsx";
25
26
  import "../Table/Table.css.js";
26
27
  import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
27
28
  import "@hookform/resolvers/zod";
@@ -43,7 +44,6 @@ import "../LoadingIndicator/LoadingIndicator.css.js";
43
44
  import "react-use";
44
45
  import "../Input/RadioButton.js";
45
46
  import "iframe-resizer";
46
- import "../Calculators/calculator.css.js";
47
47
  /* empty css */
48
48
  import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
49
49
  /* empty css */
@@ -64,6 +64,7 @@ import "../FaqAccordion/index.js";
64
64
  import "../FooterDisclosure/FooterDisclosure.css.js";
65
65
  /* empty css */
66
66
  import "../ImageBillboard/ImageBillboard.css.js";
67
+ /* empty css */
67
68
  /* empty css */
68
69
  /* empty css */
69
70
  import "../LandingPageHeader/LandingPageHeader.css.js";
@@ -107,7 +108,8 @@ const SetContainer = ({
107
108
  icon,
108
109
  eyebrow,
109
110
  style,
110
- isolate
111
+ isolate,
112
+ className
111
113
  }) => {
112
114
  const container_variant = getVariant(variant);
113
115
  return /* @__PURE__ */ jsx(
@@ -116,6 +118,7 @@ const SetContainer = ({
116
118
  id: internalName ? internalName?.replace(/ /g, "-") : id ?? "",
117
119
  className: clsx(
118
120
  set_container({ variant: container_variant }),
121
+ className,
119
122
  isolate ? isolate_container({ variant: container_variant }) : ""
120
123
  ),
121
124
  style: { ...style },
@@ -1,3 +1,4 @@
1
+ export declare const table_section: string;
1
2
  export declare const table_container: import('@vanilla-extract/recipes').RuntimeFn<{
2
3
  variant: {
3
4
  apy: {
@@ -2,22 +2,23 @@
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
5
- var table_container = createRuntimeFn({ defaultClassName: "_1nivbwe0", variantClassNames: { variant: { apy: "_1nivbwe1", standard: "_1nivbwe2" } }, defaultVariants: {}, compoundVariants: [] });
6
- var table_container_text = "_1nivbwe3";
7
- var table_headline = "_1nivbwe4";
8
- var highlight_first_row = "_1nivbwe5";
9
- var highlight_last_row = "_1nivbwe6";
10
- var headerCell = "_1nivbwe7";
11
- var headerVariants = { primary: "_1nivbwe8 _1nivbwe7", secondary: "_1nivbwe9 _1nivbwe7", tertiary: "_1nivbwea _1nivbwe7", quaternary: "_1nivbweb _1nivbwe7" };
12
- var bodyHeader = "_1nivbwec";
13
- var th = createRuntimeFn({ defaultClassName: "_1nivbwed", variantClassNames: { variant: { primary: "_1nivbwee", secondary: "_1nivbwef", tertiary: "_1nivbweg", quaternary: "_1nivbweh" }, highlighted: { true: "_1nivbwei" } }, defaultVariants: {}, compoundVariants: [] });
14
- var td = createRuntimeFn({ defaultClassName: "_1nivbwej", variantClassNames: { variant: { primary: "_1nivbwek", secondary: "_1nivbwel", tertiary: "_1nivbwem", quaternary: "_1nivbwen" }, highlighted: { true: "_1nivbweo" } }, defaultVariants: {}, compoundVariants: [[{ highlighted: true, variant: "primary" }, "_1nivbwep"], [{ highlighted: true, variant: "tertiary" }, "_1nivbweq"]] });
15
- var tableWrapper = createRuntimeFn({ defaultClassName: "_1nivbwer", variantClassNames: { variant: { primary: "_1nivbwes", secondary: "_1nivbwet", tertiary: "_1nivbweu", quaternary: "_1nivbwev" } }, defaultVariants: {}, compoundVariants: [] });
16
- var table = createRuntimeFn({ defaultClassName: "_1nivbwew", variantClassNames: { variant: { primary: "_1nivbwex", secondary: "_1nivbwey", tertiary: "_1nivbwez", quaternary: "_1nivbwe10" } }, defaultVariants: {}, compoundVariants: [] });
17
- var alternate_color_rows = "_1nivbwe11";
18
- var apy_table = "_1nivbwe12";
19
- var table_description_text = "_1nivbwe13 _1nivbwe3";
20
- var highlight_cell = "_1nivbwe14";
5
+ var table_section = "_1nivbwe0";
6
+ var table_container = createRuntimeFn({ defaultClassName: "_1nivbwe1", variantClassNames: { variant: { apy: "_1nivbwe2", standard: "_1nivbwe3" } }, defaultVariants: {}, compoundVariants: [] });
7
+ var table_container_text = "_1nivbwe4";
8
+ var table_headline = "_1nivbwe5";
9
+ var highlight_first_row = "_1nivbwe6";
10
+ var highlight_last_row = "_1nivbwe7";
11
+ var headerCell = "_1nivbwe8";
12
+ var headerVariants = { primary: "_1nivbwe9 _1nivbwe8", secondary: "_1nivbwea _1nivbwe8", tertiary: "_1nivbweb _1nivbwe8", quaternary: "_1nivbwec _1nivbwe8" };
13
+ var bodyHeader = "_1nivbwed";
14
+ var th = createRuntimeFn({ defaultClassName: "_1nivbwee", variantClassNames: { variant: { primary: "_1nivbwef", secondary: "_1nivbweg", tertiary: "_1nivbweh", quaternary: "_1nivbwei" }, highlighted: { true: "_1nivbwej" } }, defaultVariants: {}, compoundVariants: [] });
15
+ var td = createRuntimeFn({ defaultClassName: "_1nivbwek", variantClassNames: { variant: { primary: "_1nivbwel", secondary: "_1nivbwem", tertiary: "_1nivbwen", quaternary: "_1nivbweo" }, highlighted: { true: "_1nivbwep" } }, defaultVariants: {}, compoundVariants: [[{ highlighted: true, variant: "primary" }, "_1nivbweq"], [{ highlighted: true, variant: "tertiary" }, "_1nivbwer"]] });
16
+ var tableWrapper = createRuntimeFn({ defaultClassName: "_1nivbwes", variantClassNames: { variant: { primary: "_1nivbwet", secondary: "_1nivbweu", tertiary: "_1nivbwev", quaternary: "_1nivbwew" } }, defaultVariants: {}, compoundVariants: [] });
17
+ var table = createRuntimeFn({ defaultClassName: "_1nivbwex", variantClassNames: { variant: { primary: "_1nivbwey", secondary: "_1nivbwez", tertiary: "_1nivbwe10", quaternary: "_1nivbwe11" } }, defaultVariants: {}, compoundVariants: [] });
18
+ var alternate_color_rows = "_1nivbwe12";
19
+ var apy_table = "_1nivbwe13";
20
+ var table_description_text = "_1nivbwe14 _1nivbwe4";
21
+ var highlight_cell = "_1nivbwe15";
21
22
  export {
22
23
  alternate_color_rows,
23
24
  apy_table,
@@ -33,6 +34,7 @@ export {
33
34
  table_container_text,
34
35
  table_description_text,
35
36
  table_headline,
37
+ table_section,
36
38
  td,
37
39
  th
38
40
  };
@@ -9,14 +9,14 @@ export declare const TableBody: ({ children }: PropsWithChildren) => import("rea
9
9
  export declare const TableCell: ({ children, as, variant, highlighted, ...props }: CellProps) => import('react').DetailedReactHTMLElement<{
10
10
  className: string;
11
11
  manifest?: string | undefined;
12
- amp?: string | undefined;
12
+ amp?: string;
13
13
  defaultChecked?: boolean | undefined;
14
14
  defaultValue?: string | number | readonly string[] | undefined;
15
15
  suppressContentEditableWarning?: boolean | undefined;
16
16
  suppressHydrationWarning?: boolean | undefined;
17
17
  accessKey?: string | undefined;
18
18
  autoFocus?: boolean | undefined;
19
- contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
19
+ contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
20
20
  contextMenu?: string | undefined;
21
21
  dir?: string | undefined;
22
22
  draggable?: (boolean | "false" | "true") | undefined;
@@ -29,7 +29,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
29
29
  style?: import('react').CSSProperties | undefined;
30
30
  tabIndex?: number | undefined;
31
31
  title?: string | undefined;
32
- translate?: "no" | "yes" | undefined;
32
+ translate?: "yes" | "no" | undefined;
33
33
  radioGroup?: string | undefined;
34
34
  role?: import('react').AriaRole | undefined;
35
35
  about?: string | undefined;
@@ -54,38 +54,38 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
54
54
  itemRef?: string | undefined;
55
55
  results?: number | undefined;
56
56
  security?: string | undefined;
57
- unselectable?: "off" | "on" | undefined;
58
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
+ unselectable?: "on" | "off" | undefined;
58
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
59
59
  is?: string | undefined;
60
60
  popover?: "" | "auto" | "manual" | undefined;
61
- popoverTargetAction?: "hide" | "show" | "toggle" | undefined;
61
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
62
62
  popoverTarget?: string | undefined;
63
63
  onToggle?: import('react').ToggleEventHandler<HTMLTableCellElement> | undefined;
64
64
  onBeforeToggle?: import('react').ToggleEventHandler<HTMLTableCellElement> | undefined;
65
65
  inert?: boolean | undefined;
66
66
  "aria-activedescendant"?: string | undefined;
67
67
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
68
- "aria-autocomplete"?: "none" | "both" | "inline" | "list" | undefined;
68
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
69
69
  "aria-braillelabel"?: string | undefined;
70
70
  "aria-brailleroledescription"?: string | undefined;
71
71
  "aria-busy"?: (boolean | "false" | "true") | undefined;
72
- "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
72
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
73
73
  "aria-colcount"?: number | undefined;
74
74
  "aria-colindex"?: number | undefined;
75
75
  "aria-colindextext"?: string | undefined;
76
76
  "aria-colspan"?: number | undefined;
77
77
  "aria-controls"?: string | undefined;
78
- "aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
78
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
79
79
  "aria-describedby"?: string | undefined;
80
80
  "aria-description"?: string | undefined;
81
81
  "aria-details"?: string | undefined;
82
82
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
83
- "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
83
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
84
84
  "aria-errormessage"?: string | undefined;
85
85
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
86
86
  "aria-flowto"?: string | undefined;
87
87
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
88
- "aria-haspopup"?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
88
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
89
89
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
90
90
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
91
91
  "aria-keyshortcuts"?: string | undefined;
@@ -100,9 +100,9 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
100
100
  "aria-owns"?: string | undefined;
101
101
  "aria-placeholder"?: string | undefined;
102
102
  "aria-posinset"?: number | undefined;
103
- "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
103
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
104
104
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
105
- "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
105
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
106
106
  "aria-required"?: (boolean | "false" | "true") | undefined;
107
107
  "aria-roledescription"?: string | undefined;
108
108
  "aria-rowcount"?: number | undefined;
@@ -3,7 +3,7 @@ import "../utils/allowedAxosDomains.js";
3
3
  import { getVariant } from "../utils/getVariant.js";
4
4
  import clsx from "clsx";
5
5
  import { createElement } from "react";
6
- import { table_container, table_container_text, table_headline, table_description_text, tableWrapper, table, highlight_first_row, highlight_last_row, alternate_color_rows, apy_table, td, th } from "./Table.css.js";
6
+ import { table_section, table_container, table_container_text, table_headline, table_description_text, tableWrapper, table, highlight_first_row, highlight_last_row, alternate_color_rows, apy_table, td, th } from "./Table.css.js";
7
7
  const TableContainer = ({
8
8
  tableTitle,
9
9
  tableBody,
@@ -13,21 +13,29 @@ const TableContainer = ({
13
13
  internalName,
14
14
  id
15
15
  }) => {
16
- return /* @__PURE__ */ jsx("section", { id: internalName?.replace(/ /g, "-"), children: /* @__PURE__ */ jsxs(
17
- "div",
16
+ return /* @__PURE__ */ jsx(
17
+ "section",
18
18
  {
19
- className: clsx(
20
- tableType === "Rate" ? table_container({ variant: "apy" }) : table_container({ variant: "standard" }),
21
- "containment"
22
- ),
23
- children: [
24
- tableTitle && /* @__PURE__ */ jsx("div", { className: table_container_text, children: /* @__PURE__ */ jsx("h1", { className: clsx("header_1", table_headline), children: tableTitle }) }),
25
- tableDescription && /* @__PURE__ */ jsx("div", { className: table_description_text, children: tableDescription }),
26
- tableBody,
27
- tableFooter && /* @__PURE__ */ jsx("div", { className: clsx(table_container_text, "push_up_24"), children: tableFooter })
28
- ]
29
- }
30
- ) }, id);
19
+ id: internalName?.replace(/ /g, "-"),
20
+ className: table_section,
21
+ children: /* @__PURE__ */ jsxs(
22
+ "div",
23
+ {
24
+ className: clsx(
25
+ tableType === "Rate" ? table_container({ variant: "apy" }) : table_container({ variant: "standard" }),
26
+ "containment"
27
+ ),
28
+ children: [
29
+ tableTitle && /* @__PURE__ */ jsx("div", { className: table_container_text, children: /* @__PURE__ */ jsx("h1", { className: clsx("header_1", table_headline), children: tableTitle }) }),
30
+ tableDescription && /* @__PURE__ */ jsx("div", { className: table_description_text, children: tableDescription }),
31
+ tableBody,
32
+ tableFooter && /* @__PURE__ */ jsx("div", { className: clsx(table_container_text, "push_up_24"), children: tableFooter })
33
+ ]
34
+ }
35
+ )
36
+ },
37
+ id
38
+ );
31
39
  };
32
40
  const Table = ({
33
41
  variant = "primary",
@@ -1,5 +1,5 @@
1
1
  import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table.js";
2
- import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_cell, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_description_text, table_headline, td, th } from "./Table.css.js";
2
+ import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_cell, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_description_text, table_headline, table_section, td, th } from "./Table.css.js";
3
3
  export {
4
4
  Table,
5
5
  TableBody,
@@ -21,6 +21,7 @@ export {
21
21
  table_container_text,
22
22
  table_description_text,
23
23
  table_headline,
24
+ table_section,
24
25
  td,
25
26
  th
26
27
  };