@axos-web-dev/shared-components 0.0.20 → 0.0.22

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 (143) 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/index.d.ts +2 -2
  4. package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
  5. package/dist/AlertBanner/AlertBanner.interface.d.ts +2 -1
  6. package/dist/AlertBanner/index.d.ts +3 -2
  7. package/dist/ApyCalculator/index.d.ts +2 -1
  8. package/dist/ApyCalculator/index.js +27 -10
  9. package/dist/BulletItem/BulletItem.d.ts +3 -1
  10. package/dist/BulletItem/BulletItem.js +32 -5
  11. package/dist/BulletItem/index.d.ts +1 -1
  12. package/dist/Button/Button.css.d.ts +3 -2
  13. package/dist/Button/Button.d.ts +4 -3
  14. package/dist/Button/Button.interface.d.ts +2 -1
  15. package/dist/Button/GoBackButton.d.ts +3 -2
  16. package/dist/Button/index.d.ts +3 -3
  17. package/dist/CallToActionBar/CallToActionBar.interface.d.ts +2 -1
  18. package/dist/CallToActionBar/index.d.ts +3 -2
  19. package/dist/Carousel/Carousel.css.d.ts +6 -5
  20. package/dist/Carousel/index.d.ts +3 -2
  21. package/dist/Carousel/index.js +9 -7
  22. package/dist/Carousel/store.d.ts +1 -1
  23. package/dist/Chevron/Chevron.css.d.ts +19 -1
  24. package/dist/Chevron/Chevron.interface.d.ts +2 -1
  25. package/dist/Chevron/index.d.ts +3 -2
  26. package/dist/Chevron/index.js +0 -2
  27. package/dist/CollectInformationAlert/index.d.ts +2 -1
  28. package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
  29. package/dist/ContentBanner/ContentBanner.interface.d.ts +3 -1
  30. package/dist/ContentBanner/index.d.ts +3 -2
  31. package/dist/ContentBanner/index.js +6 -4
  32. package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
  33. package/dist/DownloadTile/index.d.ts +3 -2
  34. package/dist/FaqAccordion/index.d.ts +2 -2
  35. package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
  36. package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
  37. package/dist/FooterDisclosure/FooterDisclosure.js +6 -1
  38. package/dist/FooterDisclosure/index.d.ts +2 -2
  39. package/dist/Forms/Forms.css.d.ts +42 -4
  40. package/dist/Forms/Forms.css.js +9 -1
  41. package/dist/Forms/RenderForm.d.ts +3 -2
  42. package/dist/Forms/RenderForm.js +1 -0
  43. package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
  44. package/dist/Forms/ScheduleCall.d.ts +9 -2
  45. package/dist/Forms/ScheduleCall.js +10 -10
  46. package/dist/Forms/SuccesForm.d.ts +7 -0
  47. package/dist/Forms/SuccesForm.js +88 -0
  48. package/dist/Forms/index.d.ts +5 -4
  49. package/dist/Forms/index.js +8 -2
  50. package/dist/HeroBanner/HeroBanner.css.d.ts +3 -3
  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 +1 -0
  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 +0 -2
  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/ImageBillboardSet.d.ts +2 -1
  67. package/dist/ImageBillboard/ImageBillboardSet.js +14 -9
  68. package/dist/ImageBillboard/index.d.ts +4 -4
  69. package/dist/Input/Input.css.d.ts +6 -6
  70. package/dist/Input/Input.d.ts +3 -2
  71. package/dist/Input/InputPhone.d.ts +3 -3
  72. package/dist/Input/index.d.ts +3 -3
  73. package/dist/Inputs/Input.css.d.ts +6 -6
  74. package/dist/MainHTML/index.d.ts +2 -1
  75. package/dist/Modal/Modal.css.d.ts +1 -0
  76. package/dist/Modal/Modal.css.js +3 -1
  77. package/dist/Modal/Modal.d.ts +3 -2
  78. package/dist/Modal/Modal.js +45 -44
  79. package/dist/Modal/contextApi/store.d.ts +3 -2
  80. package/dist/Modal/index.d.ts +2 -2
  81. package/dist/NavigationMenu/AxosAdvisor/index.js +202 -182
  82. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
  83. package/dist/NavigationMenu/AxosFiduciary/index.js +2 -2
  84. package/dist/NavigationMenu/index.d.ts +2 -2
  85. package/dist/SecondaryFooter/index.js +2 -1
  86. package/dist/SetContainer/SetContainer.d.ts +3 -2
  87. package/dist/SetContainer/SetContainer.js +3 -5
  88. package/dist/SetContainer/index.d.ts +2 -2
  89. package/dist/Table/Table.css.d.ts +6 -5
  90. package/dist/Table/Table.css.js +2 -0
  91. package/dist/Table/Table.d.ts +5 -4
  92. package/dist/Table/Table.interface.d.ts +3 -1
  93. package/dist/Table/Table.js +4 -2
  94. package/dist/Table/index.d.ts +2 -2
  95. package/dist/Table/index.js +2 -1
  96. package/dist/TextBlock/TextBlock.d.ts +3 -1
  97. package/dist/TextBlock/TextBlock.js +1 -1
  98. package/dist/TextBlock/index.d.ts +2 -2
  99. package/dist/Typography/Typography.css.d.ts +4 -3
  100. package/dist/Typography/Typography.d.ts +3 -2
  101. package/dist/Typography/index.d.ts +1 -1
  102. package/dist/VideoTile/VideoTile.d.ts +3 -2
  103. package/dist/VideoTile/index.d.ts +4 -4
  104. package/dist/VideoWrapper/index.d.ts +3 -2
  105. package/dist/assets/ApyCalculator/ApyCalculator.css +11 -6
  106. package/dist/assets/Chevron/Chevron.css +12 -0
  107. package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
  108. package/dist/assets/Forms/Forms.css +103 -0
  109. package/dist/assets/HeroBanner/HeroBanner.css +2 -5
  110. package/dist/assets/ImageBillboard/ImageBillboard.css +0 -1
  111. package/dist/assets/Modal/Modal.css +5 -0
  112. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +81 -82
  113. package/dist/assets/SetContainer/SetContainer.css +4 -1
  114. package/dist/assets/Table/Table.css +10 -0
  115. package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
  116. package/dist/icons/ArrowIcon/index.d.ts +2 -1
  117. package/dist/icons/AxosX/Blue.d.ts +2 -1
  118. package/dist/icons/AxosX/index.d.ts +2 -1
  119. package/dist/icons/CheckCircle.d.ts +2 -1
  120. package/dist/icons/CheckCircleLight.d.ts +2 -1
  121. package/dist/icons/CheckIcon/CheckIcon.css.d.ts +3 -2
  122. package/dist/icons/CheckIcon/index.d.ts +2 -1
  123. package/dist/icons/ChevronDown.d.ts +2 -1
  124. package/dist/icons/ChevronUp.d.ts +2 -1
  125. package/dist/icons/CloseIcon/index.d.ts +2 -1
  126. package/dist/icons/DownloadIcon/index.d.ts +2 -1
  127. package/dist/icons/EqualHousingLender.d.ts +2 -1
  128. package/dist/icons/LockIcon/index.d.ts +2 -1
  129. package/dist/icons/MemberFdicLogo.d.ts +2 -1
  130. package/dist/icons/QuoteIconGrey.d.ts +2 -1
  131. package/dist/icons/QuoteIconWhite.d.ts +2 -1
  132. package/dist/icons/QuoteIconYellow.d.ts +2 -1
  133. package/dist/icons/WarningIcon/index.d.ts +2 -1
  134. package/dist/icons/index.d.ts +17 -17
  135. package/dist/index.css.d.ts +1 -0
  136. package/dist/main.d.ts +1 -1
  137. package/dist/main.js +13 -6
  138. package/dist/themes/index.d.ts +2 -2
  139. package/dist/utils/ctaOptions.d.ts +1 -0
  140. package/dist/utils/getVariant.d.ts +2 -1
  141. package/dist/utils/index.d.ts +5 -5
  142. package/dist/utils/validateExternalLinks.js +2 -3
  143. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
1
2
  import { QuaternaryTypes } from '../utils';
2
- import { InputHTMLAttributes, ReactNode } from "react";
3
+
3
4
  export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
4
5
  label?: ReactNode;
5
6
  iconLeft?: ReactNode;
@@ -10,4 +11,4 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
10
11
  helperText?: ReactNode;
11
12
  variant?: QuaternaryTypes;
12
13
  }
13
- export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
14
+ export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- import { InputProps } from ".";
3
- export declare const InputPhone: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
1
+ import { InputProps } from '.';
2
+
3
+ export declare const InputPhone: import('react').ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,3 +1,3 @@
1
- export * from "./Input";
2
- export * from "./Input.css";
3
- export * from "./InputPhone";
1
+ export * from './Input';
2
+ export * from './Input.css';
3
+ export * from './InputPhone';
@@ -1,4 +1,4 @@
1
- export declare const icon: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const icon: import('@vanilla-extract/recipes').RuntimeFn<{
2
2
  size: {
3
3
  small: {
4
4
  width: number;
@@ -14,7 +14,7 @@ export declare const icon: import("@vanilla-extract/recipes").RuntimeFn<{
14
14
  };
15
15
  };
16
16
  }>;
17
- export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeFn<{
17
+ export declare const labelClassName: import('@vanilla-extract/recipes').RuntimeFn<{
18
18
  error: {
19
19
  true: {
20
20
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -29,7 +29,7 @@ export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeF
29
29
  }>;
30
30
  export declare const iconContainerBase: string;
31
31
  export declare const iconContainer: Record<"left" | "right", string>;
32
- export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
32
+ export declare const container: import('@vanilla-extract/recipes').RuntimeFn<{
33
33
  size: {
34
34
  small: {
35
35
  paddingTop: number;
@@ -63,7 +63,7 @@ export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
63
63
  };
64
64
  };
65
65
  }>;
66
- export declare const input: import("@vanilla-extract/recipes").RuntimeFn<{
66
+ export declare const input: import('@vanilla-extract/recipes').RuntimeFn<{
67
67
  size: {
68
68
  small: {
69
69
  fontSize: number;
@@ -119,12 +119,12 @@ export declare const input: import("@vanilla-extract/recipes").RuntimeFn<{
119
119
  };
120
120
  };
121
121
  }>;
122
- export declare const wrapper: import("@vanilla-extract/recipes").RuntimeFn<{
122
+ export declare const wrapper: import('@vanilla-extract/recipes').RuntimeFn<{
123
123
  [x: string]: {
124
124
  [x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
125
125
  };
126
126
  }>;
127
- export declare const helperText: import("@vanilla-extract/recipes").RuntimeFn<{
127
+ export declare const helperText: import('@vanilla-extract/recipes').RuntimeFn<{
128
128
  disabled: {
129
129
  true: {
130
130
  color: "#5E6A74";
@@ -1,4 +1,5 @@
1
- import { PropsWithChildren } from "react";
1
+ import { PropsWithChildren } from 'react';
2
+
2
3
  export interface BodyProps extends PropsWithChildren {
3
4
  theme: "Axos" | "Premier";
4
5
  }
@@ -9,3 +9,4 @@ export declare const modal_subtitle: string;
9
9
  export declare const modal_body: string;
10
10
  export declare const modal_footer: string;
11
11
  export declare const site_link: string;
12
+ export declare const speedbump_background: string;
@@ -12,6 +12,7 @@ var modal_subtitle = "_427id37";
12
12
  var modal_body = "_427id38";
13
13
  var modal_footer = "_427id39";
14
14
  var site_link = "_427id3a";
15
+ var speedbump_background = "_427id3b";
15
16
  export {
16
17
  hr,
17
18
  modal,
@@ -23,5 +24,6 @@ export {
23
24
  modal_subtitle,
24
25
  modal_title,
25
26
  site_link,
26
- solid
27
+ solid,
28
+ speedbump_background
27
29
  };
@@ -1,3 +1,4 @@
1
- import { FC } from "react";
2
- import { ModalProps } from "./Modal.interface";
1
+ import { ModalProps } from './Modal.interface';
2
+ import { FC } from 'react';
3
+
3
4
  export declare const Modal: FC<ModalProps>;
@@ -36,16 +36,14 @@ import "react-hook-form";
36
36
  import "../ImageBillboard/ImageBillboard.css.js";
37
37
  import "./contextApi/store.js";
38
38
  /* empty css */
39
- import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
40
39
  /* empty css */
41
- import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
42
40
  /* empty css */
43
41
  import "../Table/Table.css.js";
44
42
  /* empty css */
45
43
  import "next/script.js";
46
44
  /* empty css */
47
45
  /* empty css */
48
- import { modal, modal_dialog, modal_content, modal_header, modal_title, modal_subtitle, solid, modal_body, site_link, modal_footer } from "./Modal.css.js";
46
+ import { modal, speedbump_background, modal_dialog, modal_content, modal_header, modal_title, modal_subtitle, solid, modal_body, site_link, modal_footer } from "./Modal.css.js";
49
47
  const Modal = ({
50
48
  headline,
51
49
  bodyCopy,
@@ -53,47 +51,50 @@ const Modal = ({
53
51
  onAccept,
54
52
  onCancel
55
53
  }) => {
56
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", { id: "speedbump", tabIndex: -1, role: "dialog", className: modal, children: /* @__PURE__ */ jsx("div", { className: `${modal_dialog} rounded`, children: /* @__PURE__ */ jsxs("div", { className: `${modal_content} rounded`, children: [
57
- /* @__PURE__ */ jsxs("div", { className: `${modal_header} text_center`, children: [
58
- /* @__PURE__ */ jsx("h2", { className: `${modal_title} header_3`, children: headline }),
59
- /* @__PURE__ */ jsx("p", { className: `${modal_subtitle} p_16 mb_0 push_up`, children: bodyCopy })
60
- ] }),
61
- /* @__PURE__ */ jsx("hr", { className: solid }),
62
- /* @__PURE__ */ jsxs(
63
- "div",
64
- {
65
- className: `${modal_body} text-center flex flex_col center middle mx_auto`,
66
- children: [
67
- /* @__PURE__ */ jsx("p", { className: "p_16", children: "You will now be redirected to:" }),
68
- /* @__PURE__ */ jsx("p", { id: "insert-url", className: site_link, children: body })
69
- ]
70
- }
71
- ),
72
- /* @__PURE__ */ jsx("hr", { className: solid }),
73
- /* @__PURE__ */ jsxs(
74
- "div",
75
- {
76
- className: `${modal_footer} flex center middle push_up_24`,
77
- style: { marginInline: "auto", width: "max-content" },
78
- children: [
79
- /* @__PURE__ */ jsx(Button, { color: "primary", action: onAccept, children: "Continue" }),
80
- /* @__PURE__ */ jsx(
81
- "a",
82
- {
83
- style: { textDecoration: "none", padding: "8px 48px" },
84
- role: "button",
85
- className: `sc__btn ${chevron({ variant: "primary" })}`,
86
- "aria-label": "Close",
87
- title: "Go Back",
88
- id: "close",
89
- onClick: onCancel,
90
- children: "Close"
91
- }
92
- )
93
- ]
94
- }
95
- )
96
- ] }) }) }) });
54
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { id: "speedbump", tabIndex: -1, role: "dialog", className: modal, children: [
55
+ /* @__PURE__ */ jsx("div", { className: speedbump_background, onClick: onCancel }),
56
+ /* @__PURE__ */ jsx("div", { className: `${modal_dialog} rounded`, children: /* @__PURE__ */ jsxs("div", { className: `${modal_content} rounded`, children: [
57
+ /* @__PURE__ */ jsxs("div", { className: `${modal_header} text_center`, children: [
58
+ /* @__PURE__ */ jsx("h2", { className: `${modal_title} header_3`, children: headline }),
59
+ /* @__PURE__ */ jsx("p", { className: `${modal_subtitle} p_16 mb_0 push_up`, children: bodyCopy })
60
+ ] }),
61
+ /* @__PURE__ */ jsx("hr", { className: solid }),
62
+ /* @__PURE__ */ jsxs(
63
+ "div",
64
+ {
65
+ className: `${modal_body} text-center flex flex_col center middle mx_auto`,
66
+ children: [
67
+ /* @__PURE__ */ jsx("p", { className: "p_16", children: "You will now be redirected to:" }),
68
+ /* @__PURE__ */ jsx("p", { id: "insert-url", className: site_link, children: body })
69
+ ]
70
+ }
71
+ ),
72
+ /* @__PURE__ */ jsx("hr", { className: solid }),
73
+ /* @__PURE__ */ jsxs(
74
+ "div",
75
+ {
76
+ className: `${modal_footer} flex center middle push_up_24`,
77
+ style: { marginInline: "auto", width: "max-content" },
78
+ children: [
79
+ /* @__PURE__ */ jsx(Button, { color: "primary", action: onAccept, children: "Continue" }),
80
+ /* @__PURE__ */ jsx(
81
+ "a",
82
+ {
83
+ style: { textDecoration: "none", padding: "8px 48px" },
84
+ role: "button",
85
+ className: `sc__btn ${chevron({ variant: "primary" })}`,
86
+ "aria-label": "Close",
87
+ title: "Go Back",
88
+ id: "close",
89
+ onClick: onCancel,
90
+ children: "Close"
91
+ }
92
+ )
93
+ ]
94
+ }
95
+ )
96
+ ] }) })
97
+ ] }) });
97
98
  };
98
99
  export {
99
100
  Modal
@@ -1,10 +1,11 @@
1
- import { Dispatch, PropsWithChildren, SetStateAction } from "react";
1
+ import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
2
+
2
3
  export interface ContextProps {
3
4
  targetLinkUrl: string;
4
5
  setTargetLinkUrl: Dispatch<SetStateAction<string>>;
5
6
  openModal: boolean;
6
7
  setOpenModal: Dispatch<SetStateAction<boolean>>;
7
8
  }
8
- export declare const GlobalContext: import("react").Context<ContextProps>;
9
+ export declare const GlobalContext: import('react').Context<ContextProps>;
9
10
  export declare const GlobalContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
11
  export declare const useGlobalContext: () => ContextProps;
@@ -1,2 +1,2 @@
1
- export * from "./Modal";
2
- export * from "./contextApi/store";
1
+ export * from './Modal';
2
+ export * from './contextApi/store';