@axos-web-dev/shared-components 0.0.17 → 0.0.18

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 (146) hide show
  1. package/dist/Accordion/Accordion.css.d.ts +4 -3
  2. package/dist/Accordion/Accordion.d.ts +2 -1
  3. package/dist/Accordion/Accordion.js +1 -0
  4. package/dist/Accordion/index.d.ts +2 -2
  5. package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
  6. package/dist/AlertBanner/AlertBanner.interface.d.ts +2 -1
  7. package/dist/AlertBanner/index.d.ts +3 -2
  8. package/dist/AlertBanner/index.js +1 -0
  9. package/dist/ApyCalculator/index.d.ts +2 -1
  10. package/dist/ApyCalculator/index.js +3 -17
  11. package/dist/BulletItem/BulletItem.d.ts +2 -1
  12. package/dist/BulletItem/BulletItem.js +1 -0
  13. package/dist/BulletItem/index.d.ts +1 -1
  14. package/dist/Button/Button.css.d.ts +3 -2
  15. package/dist/Button/Button.d.ts +4 -3
  16. package/dist/Button/Button.interface.d.ts +2 -1
  17. package/dist/Button/GoBackButton.d.ts +3 -2
  18. package/dist/Button/index.d.ts +3 -3
  19. package/dist/CallToActionBar/CallToActionBar.interface.d.ts +2 -1
  20. package/dist/CallToActionBar/index.d.ts +3 -2
  21. package/dist/Carousel/Carousel.css.d.ts +6 -5
  22. package/dist/Carousel/index.d.ts +3 -2
  23. package/dist/Carousel/index.js +2 -1
  24. package/dist/Carousel/store.d.ts +1 -1
  25. package/dist/Chevron/Chevron.css.d.ts +1 -1
  26. package/dist/Chevron/Chevron.interface.d.ts +2 -1
  27. package/dist/Chevron/index.d.ts +3 -2
  28. package/dist/Chevron/index.js +3 -3
  29. package/dist/CollectInformationAlert/index.d.ts +2 -1
  30. package/dist/CollectInformationAlert/index.js +1 -0
  31. package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
  32. package/dist/ContentBanner/ContentBanner.interface.d.ts +2 -1
  33. package/dist/ContentBanner/index.d.ts +3 -2
  34. package/dist/ContentBanner/index.js +1 -1
  35. package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
  36. package/dist/DownloadTile/index.d.ts +3 -2
  37. package/dist/DownloadTile/index.js +1 -0
  38. package/dist/FaqAccordion/index.d.ts +3 -2
  39. package/dist/FaqAccordion/index.js +1 -0
  40. package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
  41. package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
  42. package/dist/FooterDisclosure/index.d.ts +2 -2
  43. package/dist/Forms/Forms.css.d.ts +4 -4
  44. package/dist/Forms/RenderForm.d.ts +3 -2
  45. package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
  46. package/dist/Forms/ScheduleCall.d.ts +3 -2
  47. package/dist/Forms/ScheduleCall.js +21 -8
  48. package/dist/Forms/index.d.ts +4 -4
  49. package/dist/HeroBanner/HeroBanner.css.d.ts +5 -4
  50. package/dist/HeroBanner/HeroBanner.css.js +11 -9
  51. package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
  52. package/dist/HeroBanner/index.d.ts +2 -1
  53. package/dist/HeroBanner/index.js +3 -3
  54. package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
  55. package/dist/Hyperlink/index.d.ts +3 -2
  56. package/dist/Hyperlink/index.js +4 -3
  57. package/dist/IconBillboard/IconBillboard.css.d.ts +6 -5
  58. package/dist/IconBillboard/IconBillboard.d.ts +4 -3
  59. package/dist/IconBillboard/IconBillboard.interface.d.ts +4 -3
  60. package/dist/IconBillboard/IconBillboard.js +1 -1
  61. package/dist/IconBillboard/IconBillboardSet.d.ts +2 -1
  62. package/dist/IconBillboard/index.d.ts +4 -4
  63. package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -4
  64. package/dist/ImageBillboard/ImageBillboard.d.ts +2 -1
  65. package/dist/ImageBillboard/ImageBillboard.interface.d.ts +5 -4
  66. package/dist/ImageBillboard/ImageBillboard.js +1 -0
  67. package/dist/ImageBillboard/ImageBillboardSet.d.ts +2 -1
  68. package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
  69. package/dist/ImageBillboard/index.d.ts +4 -4
  70. package/dist/Input/Input.css.d.ts +6 -6
  71. package/dist/Input/Input.css.js +2 -2
  72. package/dist/Input/Input.d.ts +14 -0
  73. package/dist/Input/Input.js +45 -0
  74. package/dist/Input/InputPhone.d.ts +3 -0
  75. package/dist/Input/InputPhone.js +24 -0
  76. package/dist/Input/index.d.ts +3 -13
  77. package/dist/Input/index.js +13 -43
  78. package/dist/Inputs/Input.css.d.ts +6 -6
  79. package/dist/MainHTML/index.d.ts +2 -1
  80. package/dist/MainHTML/index.js +8 -1
  81. package/dist/Modal/Modal.d.ts +3 -2
  82. package/dist/Modal/Modal.js +4 -3
  83. package/dist/Modal/contextApi/store.d.ts +3 -2
  84. package/dist/Modal/contextApi/store.js +11 -16
  85. package/dist/Modal/index.d.ts +2 -2
  86. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +53 -53
  87. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
  88. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +138 -97
  89. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
  90. package/dist/NavigationMenu/index.d.ts +2 -2
  91. package/dist/SetContainer/SetContainer.d.ts +3 -2
  92. package/dist/SetContainer/SetContainer.js +4 -3
  93. package/dist/SetContainer/index.d.ts +2 -2
  94. package/dist/Table/Table.css.d.ts +16 -5
  95. package/dist/Table/Table.css.js +15 -13
  96. package/dist/Table/Table.d.ts +9 -8
  97. package/dist/Table/Table.interface.d.ts +3 -1
  98. package/dist/Table/Table.js +37 -19
  99. package/dist/Table/index.d.ts +2 -2
  100. package/dist/Table/index.js +2 -1
  101. package/dist/TextBlock/TextBlock.d.ts +2 -1
  102. package/dist/TextBlock/index.d.ts +2 -2
  103. package/dist/Typography/Typography.css.d.ts +4 -3
  104. package/dist/Typography/Typography.d.ts +3 -2
  105. package/dist/Typography/index.d.ts +1 -1
  106. package/dist/VideoTile/VideoTile.d.ts +3 -2
  107. package/dist/VideoTile/VideoTile.js +3 -2
  108. package/dist/VideoTile/index.d.ts +4 -4
  109. package/dist/VideoWrapper/index.d.ts +3 -2
  110. package/dist/VideoWrapper/index.js +1 -0
  111. package/dist/assets/Forms/Forms.css +1 -1
  112. package/dist/assets/HeroBanner/HeroBanner.css +100 -51
  113. package/dist/assets/ImageBillboard/ImageBillboard.css +6 -1
  114. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +594 -591
  115. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +84 -81
  116. package/dist/assets/Table/Table.css +89 -54
  117. package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
  118. package/dist/icons/ArrowIcon/index.d.ts +2 -1
  119. package/dist/icons/ArrowIcon/index.js +3 -1
  120. package/dist/icons/AxosX/Blue.d.ts +2 -1
  121. package/dist/icons/AxosX/index.d.ts +2 -1
  122. package/dist/icons/CheckCircle.d.ts +2 -1
  123. package/dist/icons/CheckCircleLight.d.ts +2 -1
  124. package/dist/icons/CheckIcon/CheckIcon.css.d.ts +3 -2
  125. package/dist/icons/CheckIcon/index.d.ts +2 -1
  126. package/dist/icons/ChevronDown.d.ts +2 -1
  127. package/dist/icons/ChevronUp.d.ts +2 -1
  128. package/dist/icons/CloseIcon/index.d.ts +2 -1
  129. package/dist/icons/DownloadIcon/index.d.ts +2 -1
  130. package/dist/icons/EqualHousingLender.d.ts +2 -1
  131. package/dist/icons/LockIcon/index.d.ts +2 -1
  132. package/dist/icons/MemberFdicLogo.d.ts +2 -1
  133. package/dist/icons/QuoteIconGrey.d.ts +2 -1
  134. package/dist/icons/QuoteIconWhite.d.ts +2 -1
  135. package/dist/icons/QuoteIconYellow.d.ts +2 -1
  136. package/dist/icons/WarningIcon/index.d.ts +2 -1
  137. package/dist/icons/index.d.ts +17 -17
  138. package/dist/index.css.d.ts +1 -0
  139. package/dist/main.d.ts +1 -1
  140. package/dist/main.js +15 -3
  141. package/dist/themes/index.d.ts +2 -2
  142. package/dist/utils/allowedAxosDomains.js +5 -5
  143. package/dist/utils/ctaOptions.d.ts +1 -0
  144. package/dist/utils/getVariant.d.ts +2 -1
  145. package/dist/utils/index.d.ts +5 -5
  146. package/package.json +107 -106
@@ -1,5 +1,6 @@
1
- import { RecipeVariants } from "@vanilla-extract/recipes";
2
- export declare const accordion: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ import { RecipeVariants } from '@vanilla-extract/recipes';
2
+
3
+ export declare const accordion: import('@vanilla-extract/recipes').RuntimeFn<{
3
4
  width: {
4
5
  "1/2": {
5
6
  display: "flex";
@@ -39,7 +40,7 @@ export declare const accordion: import("@vanilla-extract/recipes").RuntimeFn<{
39
40
  };
40
41
  };
41
42
  }>;
42
- export declare const headerAccordion: import("@vanilla-extract/recipes").RuntimeFn<{
43
+ export declare const headerAccordion: import('@vanilla-extract/recipes').RuntimeFn<{
43
44
  variant: {
44
45
  primary: {
45
46
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1,4 +1,5 @@
1
- import React, { PropsWithChildren } from "react";
1
+ import { default as React, PropsWithChildren } from 'react';
2
+
2
3
  export type Accordion = {
3
4
  expanded?: boolean;
4
5
  };
@@ -2,6 +2,7 @@
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import clsx from "clsx";
4
4
  import React, { createContext, useContext, useState } from "react";
5
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
5
6
  import "../icons/CheckIcon/CheckIcon.css.js";
6
7
  import SvgChevronDown from "../icons/ChevronDown.js";
7
8
  import SvgChevronUp from "../icons/ChevronUp.js";
@@ -1,2 +1,2 @@
1
- export * from "./Accordion";
2
- export * from "./Accordion.css";
1
+ export * from './Accordion';
2
+ export * from './Accordion.css';
@@ -1,4 +1,4 @@
1
- export declare const alertBanner: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const alertBanner: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  variant: {
3
3
  Standard: {
4
4
  background: "#DEF4FF";
@@ -1,4 +1,5 @@
1
- import { ChevronProps } from "../Chevron/Chevron.interface";
1
+ import { ChevronProps } from '../Chevron/Chevron.interface';
2
+
2
3
  export interface AlertBannerInterface {
3
4
  /**
4
5
  * Defines the banner style
@@ -1,3 +1,4 @@
1
- import { FC } from "react";
2
- import { AlertBannerInterface } from "./AlertBanner.interface";
1
+ import { AlertBannerInterface } from './AlertBanner.interface';
2
+ import { FC } from 'react';
3
+
3
4
  export declare const AlertBanner: FC<AlertBannerInterface>;
@@ -1,5 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Chevron } from "../Chevron/index.js";
3
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
3
4
  import "../icons/CheckIcon/CheckIcon.css.js";
4
5
  /* empty css */
5
6
  /* empty css */
@@ -1,2 +1,3 @@
1
- import { FC } from "react";
1
+ import { FC } from 'react';
2
+
2
3
  export declare const ApyCalculator: FC;
@@ -216,7 +216,7 @@ const ApyCalculator = () => {
216
216
  Button,
217
217
  {
218
218
  id: "btn-savings",
219
- targetUrl: "https://www.axosadvisor.com/Products/Select-Savings",
219
+ targetUrl: "/products/select-savings",
220
220
  color: "secondary",
221
221
  size: "medium",
222
222
  rounded: "medium",
@@ -242,25 +242,11 @@ const ApyCalculator = () => {
242
242
  ] }) }),
243
243
  /* @__PURE__ */ jsxs("tbody", { children: [
244
244
  /* @__PURE__ */ jsxs("tr", { children: [
245
- /* @__PURE__ */ jsx("td", { "aria-label": "UFB Secure Money Market", children: /* @__PURE__ */ jsx(
246
- "a",
247
- {
248
- className: "link",
249
- href: "https://www.axosadvisor.com/Products/Select-Savings",
250
- children: "Select Savings"
251
- }
252
- ) }),
245
+ /* @__PURE__ */ jsx("td", { "aria-label": "UFB Secure Money Market", children: /* @__PURE__ */ jsx("a", { className: "link", href: "/products/select-savings", children: "Select Savings" }) }),
253
246
  /* @__PURE__ */ jsx("td", { "aria-label": "Up to 5.25%", children: "Up to 0.20%" })
254
247
  ] }),
255
248
  /* @__PURE__ */ jsxs("tr", { children: [
256
- /* @__PURE__ */ jsx("td", { "aria-label": "UFB Secure Savings", children: /* @__PURE__ */ jsx(
257
- "a",
258
- {
259
- className: "link",
260
- href: "https://www.axosadvisor.com/Products/Select-Checking",
261
- children: "Select Checking"
262
- }
263
- ) }),
249
+ /* @__PURE__ */ jsx("td", { "aria-label": "UFB Secure Savings", children: /* @__PURE__ */ jsx("a", { className: "link", href: "/products/select-checking", children: "Select Checking" }) }),
264
250
  /* @__PURE__ */ jsx("td", { "aria-label": "Up to 5.25%", children: "Up to 0.10%" })
265
251
  ] })
266
252
  ] })
@@ -1,4 +1,5 @@
1
- import { PropsWithChildren, ReactNode } from "react";
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
+
2
3
  export interface BulletItemProps extends PropsWithChildren {
3
4
  id: string;
4
5
  variant?: "primary" | "secondary" | "tertiary" | "quaternary";
@@ -1,5 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { listItem } from "../IconBillboard/IconBillboard.css.js";
3
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
3
4
  import SvgCheckCircle from "../icons/CheckCircle.js";
4
5
  import SvgCheckCircleLight from "../icons/CheckCircleLight.js";
5
6
  import "../icons/CheckIcon/CheckIcon.css.js";
@@ -1 +1 @@
1
- export * from "./BulletItem";
1
+ export * from './BulletItem';
@@ -1,5 +1,6 @@
1
- import { RecipeVariants } from "@vanilla-extract/recipes";
2
- export declare const button: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ import { RecipeVariants } from '@vanilla-extract/recipes';
2
+
3
+ export declare const button: import('@vanilla-extract/recipes').RuntimeFn<{
3
4
  color: {
4
5
  primary: {
5
6
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1,5 +1,6 @@
1
- import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from "react";
2
- import { ButtonVariants } from "./Button.css";
1
+ import { ButtonVariants } from './Button.css';
2
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
3
+
3
4
  export type ButtonBase = {
4
5
  children?: ReactNode;
5
6
  targetUrl?: string;
@@ -15,7 +16,7 @@ export type ButtonAsLink = ButtonBase & Omit<AnchorHTMLAttributes<HTMLAnchorElem
15
16
  as?: "a";
16
17
  };
17
18
  export type ButtonProps = ButtonAsButton | ButtonAsLink;
18
- export declare const Button: ({ as, children, color, size, disabled, rounded, targetUrl, id, newTab, action, className, }: ButtonProps & ButtonVariants) => import("react").DetailedReactHTMLElement<{
19
+ export declare const Button: ({ as, children, color, size, disabled, rounded, targetUrl, id, newTab, action, className, }: ButtonProps & ButtonVariants) => import('react').DetailedReactHTMLElement<{
19
20
  className: string;
20
21
  href: string;
21
22
  id: string | undefined;
@@ -1,4 +1,5 @@
1
- import { PropsWithChildren, ReactNode } from "react";
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
+
2
3
  export interface ButtonProps extends PropsWithChildren {
3
4
  /**
4
5
  * Defines the button tag
@@ -1,3 +1,4 @@
1
- import { ButtonProps } from "./Button";
2
- import { ButtonVariants } from "./Button.css";
1
+ import { ButtonVariants } from './Button.css';
2
+ import { ButtonProps } from './Button';
3
+
3
4
  export declare const GoBackButton: (props: ButtonProps & ButtonVariants) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- export * from "./Button";
2
- export * from "./Button.css";
3
- export * from "./GoBackButton";
1
+ export * from './Button';
2
+ export * from './Button.css';
3
+ export * from './GoBackButton';
@@ -1,5 +1,6 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ChevronProps } from '../Chevron/Chevron.interface';
2
- import { ReactNode } from "react";
3
+
3
4
  export interface CallToActionBarInterface {
4
5
  id?: string;
5
6
  bannerSize: "Large" | "Medium" | "Small";
@@ -1,3 +1,4 @@
1
- import { FC } from "react";
2
- import { CallToActionBarInterface } from "./CallToActionBar.interface";
1
+ import { CallToActionBarInterface } from './CallToActionBar.interface';
2
+ import { FC } from 'react';
3
+
3
4
  export declare const CallToActionBar: FC<CallToActionBarInterface>;
@@ -1,6 +1,7 @@
1
- import { RecipeVariants } from "@vanilla-extract/recipes";
1
+ import { RecipeVariants } from '@vanilla-extract/recipes';
2
+
2
3
  export declare const dots: string;
3
- export declare const carousel: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ export declare const carousel: import('@vanilla-extract/recipes').RuntimeFn<{
4
5
  variant: {
5
6
  primary: {
6
7
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -21,7 +22,7 @@ export declare const carousel: import("@vanilla-extract/recipes").RuntimeFn<{
21
22
  };
22
23
  }>;
23
24
  export declare const authorLocation: string;
24
- export declare const author: import("@vanilla-extract/recipes").RuntimeFn<{
25
+ export declare const author: import('@vanilla-extract/recipes').RuntimeFn<{
25
26
  variant: {
26
27
  primary: {
27
28
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -40,8 +41,8 @@ export declare const author: import("@vanilla-extract/recipes").RuntimeFn<{
40
41
  export declare const slideBase: string;
41
42
  export declare const slide: Record<"hide" | "show", string>;
42
43
  export declare const slides: string;
43
- export declare const icon: import("@vanilla-extract/recipes").RuntimeFn<{}>;
44
- export declare const dot: import("@vanilla-extract/recipes").RuntimeFn<{
44
+ export declare const icon: import('@vanilla-extract/recipes').RuntimeFn<{}>;
45
+ export declare const dot: import('@vanilla-extract/recipes').RuntimeFn<{
45
46
  variant: {
46
47
  primary: {
47
48
  borderColor: "#1E3860";
@@ -1,5 +1,6 @@
1
- import { PropsWithChildren, ReactNode } from "react";
2
- import { carouselVariants } from "./Carousel.css";
1
+ import { carouselVariants } from './Carousel.css';
2
+ import { PropsWithChildren, ReactNode } from 'react';
3
+
3
4
  export interface SlideProps extends PropsWithChildren {
4
5
  id: string | number;
5
6
  selected?: boolean;
@@ -1,5 +1,6 @@
1
1
  "use client";
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
3
4
  import "../icons/CheckIcon/CheckIcon.css.js";
4
5
  /* empty css */
5
6
  /* empty css */
@@ -36,7 +37,7 @@ const iconVarints = /* @__PURE__ */ new Map([
36
37
  const CarouselSlide = (props) => {
37
38
  const { children, selected, content, author: author$1, location, variant } = props;
38
39
  return /* @__PURE__ */ jsx("div", { className: slide[selected ? "show" : "hide"], children: children ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
39
- /* @__PURE__ */ jsx("p", { children: content }),
40
+ content,
40
41
  /* @__PURE__ */ jsxs("div", { className: authorLocation, children: [
41
42
  /* @__PURE__ */ jsx("span", { className: author({ variant }), children: author$1 }),
42
43
  /* @__PURE__ */ jsx("span", { children: "|" }),
@@ -7,4 +7,4 @@ export type actions = {
7
7
  change: (selected: number) => void;
8
8
  setItems: (items: unknown[]) => void;
9
9
  };
10
- export declare const useCarousel: import("zustand").UseBoundStore<import("zustand").StoreApi<state & actions>>;
10
+ export declare const useCarousel: import('zustand').UseBoundStore<import("zustand").StoreApi<state & actions>>;
@@ -1,4 +1,4 @@
1
- export declare const chevron: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const chevron: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  variant: {
3
3
  primary: {
4
4
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1,5 +1,6 @@
1
+ import { PropsWithChildren, ReactNode } from 'react';
1
2
  import { CallToActionTypes } from '../utils/variant.types';
2
- import { PropsWithChildren, ReactNode } from "react";
3
+
3
4
  export interface ChevronProps extends PropsWithChildren {
4
5
  /**
5
6
  * react node to add as a children
@@ -1,3 +1,4 @@
1
- import { FC } from "react";
2
- import { ChevronProps } from "./Chevron.interface";
1
+ import { ChevronProps } from './Chevron.interface';
2
+ import { FC } from 'react';
3
+
3
4
  export declare const Chevron: FC<ChevronProps>;
@@ -31,16 +31,16 @@ import "../FooterDisclosure/FooterDisclosure.css.js";
31
31
  import "../Forms/Forms.css.js";
32
32
  import "../Forms/SalesforceFieldsForm.js";
33
33
  import "@hookform/resolvers/zod";
34
- import "../Input/index.js";
34
+ import "../Input/Input.js";
35
+ import "../Input/Input.css.js";
36
+ import "../Input/InputPhone.js";
35
37
  import "react-hook-form";
36
38
  /* empty css */
37
39
  import "../ImageBillboard/ImageBillboard.css.js";
38
40
  import { chevron_wrapper, chevron } from "./Chevron.css.js";
39
41
  /* empty css */
40
42
  /* empty css */
41
- import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
42
43
  /* empty css */
43
- import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
44
44
  /* empty css */
45
45
  import "../Table/Table.css.js";
46
46
  /* empty css */
@@ -1,2 +1,3 @@
1
- import { FC } from "react";
1
+ import { FC } from 'react';
2
+
2
3
  export declare const CollectInformationAlert: FC;
@@ -4,6 +4,7 @@ import "../Button/Button.css.js";
4
4
  import "react";
5
5
  import "react-use";
6
6
  import { Hyperlink } from "../Hyperlink/index.js";
7
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
7
8
  import "../icons/CheckIcon/CheckIcon.css.js";
8
9
  import SvgCloseIcon from "../icons/CloseIcon/index.js";
9
10
  /* empty css */
@@ -1,4 +1,4 @@
1
- export declare const content_banner: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const content_banner: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  variant: {
3
3
  primary: {
4
4
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -18,7 +18,7 @@ export declare const content_banner: import("@vanilla-extract/recipes").RuntimeF
18
18
  };
19
19
  };
20
20
  }>;
21
- export declare const headline: import("@vanilla-extract/recipes").RuntimeFn<{
21
+ export declare const headline: import('@vanilla-extract/recipes').RuntimeFn<{
22
22
  variant: {
23
23
  primary: {
24
24
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1,5 +1,6 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ChevronProps } from '../Chevron/Chevron.interface';
2
- import { ReactNode } from "react";
3
+
3
4
  export interface HeroBannerInterface {
4
5
  className?: string;
5
6
  variant: string;
@@ -1,3 +1,4 @@
1
- import { FC } from "react";
2
- import type { HeroBannerInterface as ContentBannerInterface } from "./ContentBanner.interface";
1
+ import { ContentBannerInterface } from './ContentBanner.interface';
2
+ import { FC } from 'react';
3
+
3
4
  export declare const ContentBanner: FC<ContentBannerInterface>;
@@ -29,7 +29,7 @@ const ContentBanner = ({
29
29
  ),
30
30
  bodyCopy ? /* @__PURE__ */ jsx("div", { className: `${body_copy}`, children: bodyCopy }) : null
31
31
  ] }),
32
- Array.isArray(callToActionRow) && /* @__PURE__ */ jsx("div", { className: `${call_to_action_row}`, children: callToActionRow == null ? void 0 : callToActionRow.map(
32
+ Array.isArray(callToActionRow) && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${call_to_action_row}`, children: callToActionRow == null ? void 0 : callToActionRow.map(
33
33
  ({ id, variant: variant2, displayText, targetUrl, type }) => type === "Button" ? /* @__PURE__ */ jsx(
34
34
  Button,
35
35
  {
@@ -1,4 +1,5 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
+
2
3
  export interface DownloadTileSet {
3
4
  id: string;
4
5
  titleText?: string;
@@ -1,3 +1,4 @@
1
- import { FC } from "react";
2
- import { DownloadTileSet } from "./DownloadTile.interface";
1
+ import { DownloadTileSet } from './DownloadTile.interface';
2
+ import { FC } from 'react';
3
+
3
4
  export declare const DownloadTile: FC<DownloadTileSet>;
@@ -1,4 +1,5 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
2
3
  import "../icons/CheckIcon/CheckIcon.css.js";
3
4
  import SvgDownloadIcon from "../icons/DownloadIcon/index.js";
4
5
  import { table_section, table_section_container, table_header, media__table, download, ico, table_footer } from "./DownloadTile.css.js";
@@ -1,5 +1,6 @@
1
- import { PropsWithChildren } from "react";
2
- import { header } from "./FaqAccordion.css";
1
+ import { header } from './FaqAccordion.css';
2
+ import { PropsWithChildren } from 'react';
3
+
3
4
  export interface AccordionItemProps extends PropsWithChildren {
4
5
  id: string;
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
2
3
  import "../icons/CheckIcon/CheckIcon.css.js";
3
4
  import SvgChevronDown from "../icons/ChevronDown.js";
4
5
  import SvgChevronUp from "../icons/ChevronUp.js";
@@ -1,4 +1,4 @@
1
- export declare const footerDisclosure: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const footerDisclosure: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  [x: string]: {
3
3
  [x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
4
4
  };
@@ -1,4 +1,5 @@
1
- import { CSSProperties, PropsWithChildren } from "react";
1
+ import { CSSProperties, PropsWithChildren } from 'react';
2
+
2
3
  type WithStyles = {
3
4
  style?: CSSProperties;
4
5
  className?: string;
@@ -1,2 +1,2 @@
1
- export { footerContent, footerDisclosure, footerLink, footerParagraph, iconsContent, } from "./FooterDisclosure.css";
2
- export { FooterContent, FooterDisclosure, FooterIcons, FooterParagraph, } from "./FooterDisclosure";
1
+ export { footerContent, footerDisclosure, footerLink, footerParagraph, iconsContent, } from './FooterDisclosure.css';
2
+ export { FooterContent, FooterDisclosure, FooterIcons, FooterParagraph, } from './FooterDisclosure';
@@ -1,4 +1,4 @@
1
- export declare const formContainer: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const formContainer: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  variant: {
3
3
  primary: {
4
4
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -15,7 +15,7 @@ export declare const formContainer: import("@vanilla-extract/recipes").RuntimeFn
15
15
  };
16
16
  }>;
17
17
  export declare const iconForm: string;
18
- export declare const headerForm: import("@vanilla-extract/recipes").RuntimeFn<{
18
+ export declare const headerForm: import('@vanilla-extract/recipes').RuntimeFn<{
19
19
  variant: {
20
20
  primary: {
21
21
  readonly selectors: {
@@ -55,7 +55,7 @@ export declare const headerForm: import("@vanilla-extract/recipes").RuntimeFn<{
55
55
  };
56
56
  };
57
57
  }>;
58
- export declare const formWrapper: import("@vanilla-extract/recipes").RuntimeFn<{
58
+ export declare const formWrapper: import('@vanilla-extract/recipes').RuntimeFn<{
59
59
  variant: {
60
60
  primary: {
61
61
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -72,7 +72,7 @@ export declare const formWrapper: import("@vanilla-extract/recipes").RuntimeFn<{
72
72
  };
73
73
  }>;
74
74
  export declare const actions: string;
75
- export declare const disclosureForm: import("@vanilla-extract/recipes").RuntimeFn<{
75
+ export declare const disclosureForm: import('@vanilla-extract/recipes').RuntimeFn<{
76
76
  variant: {
77
77
  primary: {
78
78
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1,5 +1,6 @@
1
- import { PropsWithChildren } from "react";
2
- import { FormProps } from ".";
1
+ import { FormProps } from '.';
2
+ import { PropsWithChildren } from 'react';
3
+
3
4
  export interface renderFormProps extends FormProps, PropsWithChildren {
4
5
  form?: string;
5
6
  }
@@ -68,4 +68,4 @@ export type Props = {
68
68
  queryParams?: Partial<QueryParams>;
69
69
  location?: Record<string, unknown>;
70
70
  };
71
- export declare const SalesforceFieldsForm: import("react").NamedExoticComponent<Props>;
71
+ export declare const SalesforceFieldsForm: import('react').NamedExoticComponent<Props>;
@@ -1,6 +1,7 @@
1
- import { ChevronProps } from '../Chevron/Chevron.interface';
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
2
  import { QuaternaryTypes } from '../utils/variant.types';
3
- import { PropsWithChildren, ReactNode } from "react";
3
+ import { ChevronProps } from '../Chevron/Chevron.interface';
4
+
4
5
  export interface FormProps extends PropsWithChildren {
5
6
  id?: string;
6
7
  onSubmit?: (values: {
@@ -5,7 +5,10 @@ import { Button } from "../Button/Button.js";
5
5
  import "../Button/Button.css.js";
6
6
  import "react";
7
7
  import "react-use";
8
- import { Input } from "../Input/index.js";
8
+ import { Input } from "../Input/Input.js";
9
+ import "../Input/Input.css.js";
10
+ import { InputPhone } from "../Input/InputPhone.js";
11
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
9
12
  import SvgAxosX from "../icons/AxosX/index.js";
10
13
  import SvgComponent from "../icons/AxosX/Blue.js";
11
14
  import "../icons/CheckIcon/CheckIcon.css.js";
@@ -34,10 +37,20 @@ const ScheduleCall = ({
34
37
  }) => {
35
38
  var _a, _b, _c, _d;
36
39
  const schema = z.object({
37
- firstName: z.string().trim().min(1, { message: "First Name is required." }),
38
- lastName: z.string().trim().min(1, { message: "Last Name is required." }),
40
+ firstName: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
41
+ lastName: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Last Name is required." }),
39
42
  email: z.string().email({ message: "Email is required." }).refine(async (val) => await validateEmail(val)),
40
- phone: z.string().regex(/[0-9]/).min(1, { message: "Phone is required." })
43
+ phone: z.string().regex(/[\d-]{10}/).min(10, { message: "Phone is required." }).max(12, { message: "Phone is required." }).transform((val, ctx) => {
44
+ const removeDashes = val.replace(/-/gi, "");
45
+ if (removeDashes.length !== 10) {
46
+ ctx.addIssue({
47
+ code: z.ZodIssueCode.custom,
48
+ message: "Phone must have at least 10 and no more than 10 characters."
49
+ });
50
+ return z.NEVER;
51
+ }
52
+ return removeDashes;
53
+ })
41
54
  });
42
55
  const methods = useForm({
43
56
  resolver: zodResolver(schema.merge(SalesforceSchema), {
@@ -62,7 +75,7 @@ const ScheduleCall = ({
62
75
  {
63
76
  id: `id_${id}`,
64
77
  className: clsx(formContainer({ variant })),
65
- children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
78
+ children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
66
79
  icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
67
80
  /* @__PURE__ */ jsx("h2", { className: clsx("header_2 text_center", headerForm({ variant })), children: headline }),
68
81
  /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
@@ -115,10 +128,10 @@ const ScheduleCall = ({
115
128
  }
116
129
  ) }),
117
130
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
118
- Input,
131
+ InputPhone,
119
132
  {
120
133
  id: "phone",
121
- ...register("phone", { required: true }),
134
+ ...register("phone", { required: true, maxLength: 12 }),
122
135
  label: "Phone",
123
136
  sizes: "medium",
124
137
  placeholder: "Phone",
@@ -142,7 +155,7 @@ const ScheduleCall = ({
142
155
  }
143
156
  ) })
144
157
  ] })
145
- ] })
158
+ ] }) })
146
159
  },
147
160
  id
148
161
  );
@@ -1,4 +1,4 @@
1
- export * from "./Forms.css";
2
- export * from "./RenderForm";
3
- export * from "./SalesforceFieldsForm";
4
- export * from "./ScheduleCall";
1
+ export * from './Forms.css';
2
+ export * from './RenderForm';
3
+ export * from './SalesforceFieldsForm';
4
+ export * from './ScheduleCall';
@@ -1,4 +1,5 @@
1
- export declare const hero_banner: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const logout: string;
2
+ export declare const hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
2
3
  variant: {
3
4
  primary: {
4
5
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -21,9 +22,9 @@ export declare const hero_banner: import("@vanilla-extract/recipes").RuntimeFn<{
21
22
  export declare const hero_content: string;
22
23
  export declare const reversed: string;
23
24
  export declare const hero_text: string;
25
+ export declare const hero_wrapper: string;
24
26
  export declare const hero_img: string;
25
- export declare const logout: string;
26
- export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
27
+ export declare const supertag: import('@vanilla-extract/recipes').RuntimeFn<{
27
28
  variant: {
28
29
  primary: {
29
30
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -43,7 +44,7 @@ export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
43
44
  };
44
45
  };
45
46
  }>;
46
- export declare const headline_text: import("@vanilla-extract/recipes").RuntimeFn<{
47
+ export declare const headline_text: import('@vanilla-extract/recipes').RuntimeFn<{
47
48
  variant: {
48
49
  primary: {
49
50
  background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;