@axos-web-dev/shared-components 0.0.20 → 0.0.21
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.
- package/dist/Accordion/Accordion.css.d.ts +4 -3
- package/dist/Accordion/Accordion.d.ts +2 -1
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
- package/dist/AlertBanner/AlertBanner.interface.d.ts +2 -1
- package/dist/AlertBanner/index.d.ts +3 -2
- package/dist/ApyCalculator/index.d.ts +2 -1
- package/dist/ApyCalculator/index.js +27 -10
- package/dist/BulletItem/BulletItem.d.ts +3 -1
- package/dist/BulletItem/BulletItem.js +32 -5
- package/dist/BulletItem/index.d.ts +1 -1
- package/dist/Button/Button.css.d.ts +3 -2
- package/dist/Button/Button.d.ts +4 -3
- package/dist/Button/Button.interface.d.ts +2 -1
- package/dist/Button/GoBackButton.d.ts +3 -2
- package/dist/Button/index.d.ts +3 -3
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +2 -1
- package/dist/CallToActionBar/index.d.ts +3 -2
- package/dist/Carousel/Carousel.css.d.ts +6 -5
- package/dist/Carousel/index.d.ts +3 -2
- package/dist/Carousel/index.js +9 -7
- package/dist/Carousel/store.d.ts +1 -1
- package/dist/Chevron/Chevron.css.d.ts +19 -1
- package/dist/Chevron/Chevron.interface.d.ts +2 -1
- package/dist/Chevron/index.d.ts +3 -2
- package/dist/Chevron/index.js +0 -2
- package/dist/CollectInformationAlert/index.d.ts +2 -1
- package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
- package/dist/ContentBanner/ContentBanner.interface.d.ts +3 -1
- package/dist/ContentBanner/index.d.ts +3 -2
- package/dist/ContentBanner/index.js +6 -4
- package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
- package/dist/DownloadTile/index.d.ts +3 -2
- package/dist/FaqAccordion/index.d.ts +3 -2
- package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
- package/dist/FooterDisclosure/FooterDisclosure.js +6 -1
- package/dist/FooterDisclosure/index.d.ts +2 -2
- package/dist/Forms/Forms.css.d.ts +4 -4
- package/dist/Forms/RenderForm.d.ts +3 -2
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +3 -2
- package/dist/Forms/index.d.ts +4 -4
- package/dist/HeroBanner/HeroBanner.css.d.ts +3 -3
- package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
- package/dist/HeroBanner/index.d.ts +2 -1
- package/dist/HeroBanner/index.js +1 -0
- package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
- package/dist/Hyperlink/index.d.ts +3 -2
- package/dist/Hyperlink/index.js +0 -2
- package/dist/IconBillboard/IconBillboard.css.d.ts +6 -5
- package/dist/IconBillboard/IconBillboard.d.ts +4 -3
- package/dist/IconBillboard/IconBillboard.interface.d.ts +4 -3
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +2 -1
- package/dist/IconBillboard/index.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +5 -4
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +14 -9
- package/dist/ImageBillboard/index.d.ts +4 -4
- package/dist/Input/Input.css.d.ts +6 -6
- package/dist/Input/Input.d.ts +3 -2
- package/dist/Input/InputPhone.d.ts +3 -3
- package/dist/Input/index.d.ts +3 -3
- package/dist/Inputs/Input.css.d.ts +6 -6
- package/dist/MainHTML/index.d.ts +2 -1
- package/dist/Modal/Modal.css.d.ts +1 -0
- package/dist/Modal/Modal.css.js +3 -1
- package/dist/Modal/Modal.d.ts +3 -2
- package/dist/Modal/Modal.js +45 -44
- package/dist/Modal/contextApi/store.d.ts +3 -2
- package/dist/Modal/index.d.ts +2 -2
- package/dist/NavigationMenu/AxosAdvisor/index.js +202 -182
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
- package/dist/NavigationMenu/AxosFiduciary/index.js +2 -2
- package/dist/NavigationMenu/index.d.ts +2 -2
- package/dist/SecondaryFooter/index.js +2 -1
- package/dist/SetContainer/SetContainer.d.ts +3 -2
- package/dist/SetContainer/SetContainer.js +3 -5
- package/dist/SetContainer/index.d.ts +2 -2
- package/dist/Table/Table.css.d.ts +6 -5
- package/dist/Table/Table.css.js +2 -0
- package/dist/Table/Table.d.ts +5 -4
- package/dist/Table/Table.interface.d.ts +3 -1
- package/dist/Table/Table.js +4 -2
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +2 -1
- package/dist/TextBlock/TextBlock.d.ts +3 -1
- package/dist/TextBlock/TextBlock.js +1 -1
- package/dist/TextBlock/index.d.ts +2 -2
- package/dist/Typography/Typography.css.d.ts +4 -3
- package/dist/Typography/Typography.d.ts +3 -2
- package/dist/Typography/index.d.ts +1 -1
- package/dist/VideoTile/VideoTile.d.ts +3 -2
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/index.d.ts +3 -2
- package/dist/assets/ApyCalculator/ApyCalculator.css +11 -6
- package/dist/assets/Chevron/Chevron.css +12 -0
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +2 -5
- package/dist/assets/ImageBillboard/ImageBillboard.css +0 -1
- package/dist/assets/Modal/Modal.css +5 -0
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +81 -82
- package/dist/assets/SetContainer/SetContainer.css +4 -1
- package/dist/assets/Table/Table.css +10 -0
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
- package/dist/icons/ArrowIcon/index.d.ts +2 -1
- package/dist/icons/AxosX/Blue.d.ts +2 -1
- package/dist/icons/AxosX/index.d.ts +2 -1
- package/dist/icons/CheckCircle.d.ts +2 -1
- package/dist/icons/CheckCircleLight.d.ts +2 -1
- package/dist/icons/CheckIcon/CheckIcon.css.d.ts +3 -2
- package/dist/icons/CheckIcon/index.d.ts +2 -1
- package/dist/icons/ChevronDown.d.ts +2 -1
- package/dist/icons/ChevronUp.d.ts +2 -1
- package/dist/icons/CloseIcon/index.d.ts +2 -1
- package/dist/icons/DownloadIcon/index.d.ts +2 -1
- package/dist/icons/EqualHousingLender.d.ts +2 -1
- package/dist/icons/LockIcon/index.d.ts +2 -1
- package/dist/icons/MemberFdicLogo.d.ts +2 -1
- package/dist/icons/QuoteIconGrey.d.ts +2 -1
- package/dist/icons/QuoteIconWhite.d.ts +2 -1
- package/dist/icons/QuoteIconYellow.d.ts +2 -1
- package/dist/icons/WarningIcon/index.d.ts +2 -1
- package/dist/icons/index.d.ts +17 -17
- package/dist/index.css.d.ts +1 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.js +2 -1
- package/dist/themes/index.d.ts +2 -2
- package/dist/utils/ctaOptions.d.ts +1 -0
- package/dist/utils/getVariant.d.ts +2 -1
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/validateExternalLinks.js +2 -3
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RecipeVariants } from
|
|
2
|
-
|
|
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(
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Accordion';
|
|
2
|
+
export * from './Accordion.css';
|
|
@@ -19,6 +19,14 @@ const ApyCalculator = () => {
|
|
|
19
19
|
const [error, setError] = useState("");
|
|
20
20
|
const [interestRate, setInterestRate] = useState(0);
|
|
21
21
|
const isValidNumber = (input) => {
|
|
22
|
+
if (typeof input !== "number") {
|
|
23
|
+
return false;
|
|
24
|
+
} else if (input < 0) {
|
|
25
|
+
return false;
|
|
26
|
+
} else
|
|
27
|
+
return true;
|
|
28
|
+
};
|
|
29
|
+
const isValidAPY = (input) => {
|
|
22
30
|
if (typeof input !== "number") {
|
|
23
31
|
return false;
|
|
24
32
|
} else if (input <= 0) {
|
|
@@ -35,9 +43,12 @@ const ApyCalculator = () => {
|
|
|
35
43
|
}, [convertInterest, interestRate, setInterestRate]);
|
|
36
44
|
const handleCalculate = () => {
|
|
37
45
|
convertInterest();
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
46
|
+
if (!isValidNumber(initialDeposit) || !isValidNumber(months) || !isValidNumber(monthlyDeposits) || !isValidAPY(APY)) {
|
|
47
|
+
if (!isValidAPY(APY)) {
|
|
48
|
+
setError("*APY has to be a positive number.");
|
|
49
|
+
} else {
|
|
50
|
+
setError("Invalid input. Please enter positive numeric values.");
|
|
51
|
+
}
|
|
41
52
|
} else {
|
|
42
53
|
let total;
|
|
43
54
|
if (compounding === 360) {
|
|
@@ -77,7 +88,13 @@ const ApyCalculator = () => {
|
|
|
77
88
|
},
|
|
78
89
|
children: /* @__PURE__ */ jsxs("div", { className: `${apy_calculator} containment flex between`, children: [
|
|
79
90
|
/* @__PURE__ */ jsxs("div", { className: `${calculator_section}`, children: [
|
|
80
|
-
/* @__PURE__ */
|
|
91
|
+
/* @__PURE__ */ jsxs("div", { className: `${section_header}`, children: [
|
|
92
|
+
/* @__PURE__ */ jsx("h1", { className: "header_1", children: "APY Interest Calculator" }),
|
|
93
|
+
/* @__PURE__ */ jsxs("p", { className: "push_up", children: [
|
|
94
|
+
"Calculate how much interest you can earn on your money with our APY Interest Calculator.",
|
|
95
|
+
/* @__PURE__ */ jsx("sup", { children: "1" })
|
|
96
|
+
] })
|
|
97
|
+
] }),
|
|
81
98
|
/* @__PURE__ */ jsxs("form", { id: "calculator_form", className: `${apy_calculator_form}`, children: [
|
|
82
99
|
/* @__PURE__ */ jsx("div", { id: "errmsgbox", className: " flex middle", children: /* @__PURE__ */ jsx("span", { className: `${errorTag}`, children: error }) }),
|
|
83
100
|
/* @__PURE__ */ jsxs("div", { className: `${fieldset}`, children: [
|
|
@@ -196,7 +213,7 @@ const ApyCalculator = () => {
|
|
|
196
213
|
),
|
|
197
214
|
/* @__PURE__ */ jsx("div", { className: `${form_disclosure} push_up_24`, children: /* @__PURE__ */ jsxs("p", { children: [
|
|
198
215
|
/* @__PURE__ */ jsx("strong", { children: "NOTE:" }),
|
|
199
|
-
" Our APY Interest Calculator is an educational tool to help you determine potential earnings. Your calculator results are estimates and do not guarantee cost savings or tax benefits.
|
|
216
|
+
" Our APY Interest Calculator is an educational tool to help you determine potential earnings. Your calculator results are estimates and do not guarantee cost savings or tax benefits. Axos Bank does not guarantee your results as determined by using this calculator."
|
|
200
217
|
] }) })
|
|
201
218
|
] })
|
|
202
219
|
] })
|
|
@@ -210,7 +227,7 @@ const ApyCalculator = () => {
|
|
|
210
227
|
style: { backgroundColor: "#efeef0", maxWidth: "520px" },
|
|
211
228
|
children: [
|
|
212
229
|
/* @__PURE__ */ jsx("h2", { className: "header_2", children: "Select Savings" }),
|
|
213
|
-
/* @__PURE__ */ jsx("div", { className: "push_up mb_0", children: "Zero fees. Up to 0.20% APY
|
|
230
|
+
/* @__PURE__ */ jsx("div", { className: "push_up mb_0", children: "Zero fees. Up to 0.20% APY**. Complimentary ATM card. Select Savings helps your clients bank smarter with an account that rewards their savvy money habits." }),
|
|
214
231
|
/* @__PURE__ */ jsxs("div", { className: `${cta_section} push_up_24 flex flex_row`, children: [
|
|
215
232
|
/* @__PURE__ */ jsx(
|
|
216
233
|
Button,
|
|
@@ -237,16 +254,16 @@ const ApyCalculator = () => {
|
|
|
237
254
|
/* @__PURE__ */ jsx("h2", { className: "header_2", children: "Recommended Accounts" }),
|
|
238
255
|
/* @__PURE__ */ jsxs("table", { className: `${marketing_table}`, children: [
|
|
239
256
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
240
|
-
/* @__PURE__ */ jsx("th", { scope: "col slate", children: "Account" }),
|
|
241
|
-
/* @__PURE__ */ jsx("th", { scope: "col slate", children: "APY
|
|
257
|
+
/* @__PURE__ */ jsx("th", { style: { width: "50%" }, scope: "col slate", children: "Account" }),
|
|
258
|
+
/* @__PURE__ */ jsx("th", { style: { width: "50%" }, scope: "col slate", children: "APY**" })
|
|
242
259
|
] }) }),
|
|
243
260
|
/* @__PURE__ */ jsxs("tbody", { children: [
|
|
244
261
|
/* @__PURE__ */ jsxs("tr", { children: [
|
|
245
|
-
/* @__PURE__ */ jsx("td", { "aria-label": "
|
|
262
|
+
/* @__PURE__ */ jsx("td", { "aria-label": "Select Checking", children: /* @__PURE__ */ jsx("a", { className: "link", href: "/products/select-savings", children: "Select Savings" }) }),
|
|
246
263
|
/* @__PURE__ */ jsx("td", { "aria-label": "Up to 5.25%", children: "Up to 0.20%" })
|
|
247
264
|
] }),
|
|
248
265
|
/* @__PURE__ */ jsxs("tr", { children: [
|
|
249
|
-
/* @__PURE__ */ jsx("td", { "aria-label": "
|
|
266
|
+
/* @__PURE__ */ jsx("td", { "aria-label": "Select Checking", children: /* @__PURE__ */ jsx("a", { className: "link", href: "/products/select-checking", children: "Select Checking" }) }),
|
|
250
267
|
/* @__PURE__ */ jsx("td", { "aria-label": "Up to 5.25%", children: "Up to 0.10%" })
|
|
251
268
|
] })
|
|
252
269
|
] })
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactNode } from
|
|
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";
|
|
@@ -7,5 +8,6 @@ export interface BulletItemProps extends PropsWithChildren {
|
|
|
7
8
|
altText?: string;
|
|
8
9
|
};
|
|
9
10
|
copy?: ReactNode;
|
|
11
|
+
subBullet?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export declare const BulletItem: (props: BulletItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { listItem } from "../IconBillboard/IconBillboard.css.js";
|
|
3
3
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
4
4
|
import SvgCheckCircle from "../icons/CheckCircle.js";
|
|
@@ -7,13 +7,40 @@ import "../icons/CheckIcon/CheckIcon.css.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
+
import { vars } from "../themes/axos.css.js";
|
|
10
11
|
import { bulletIcon } from "./BulletItem.css.js";
|
|
11
12
|
const BulletItem = (props) => {
|
|
12
13
|
const iconCheckVariant = /* @__PURE__ */ new Map([
|
|
13
|
-
[
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
[
|
|
15
|
+
"primary",
|
|
16
|
+
/* @__PURE__ */ jsx(SvgCheckCircle, { fill: vars.icons.check.primary, height: 18, width: 18 })
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"secondary",
|
|
20
|
+
/* @__PURE__ */ jsx(SvgCheckCircle, { fill: vars.icons.check.primary, height: 18, width: 18 })
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"tertiary",
|
|
24
|
+
/* @__PURE__ */ jsx(
|
|
25
|
+
SvgCheckCircleLight,
|
|
26
|
+
{
|
|
27
|
+
fill: vars.icons.check.secondary,
|
|
28
|
+
height: 18,
|
|
29
|
+
width: 18
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"quaternary",
|
|
35
|
+
/* @__PURE__ */ jsx(
|
|
36
|
+
SvgCheckCircleLight,
|
|
37
|
+
{
|
|
38
|
+
fill: vars.icons.check.secondary,
|
|
39
|
+
height: 18,
|
|
40
|
+
width: 18
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
],
|
|
17
44
|
[void 0, /* @__PURE__ */ jsx(SvgCheckCircleLight, { height: 18, width: 18 })]
|
|
18
45
|
]);
|
|
19
46
|
const Icon = iconCheckVariant.get(props.variant);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './BulletItem';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RecipeVariants } from
|
|
2
|
-
|
|
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})`;
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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(
|
|
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,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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;
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './Button.css';
|
|
3
|
+
export * from './GoBackButton';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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
|
|
1
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
|
+
|
|
2
3
|
export declare const dots: string;
|
|
3
|
-
export declare const carousel: import(
|
|
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(
|
|
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(
|
|
44
|
-
export declare const dot: import(
|
|
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";
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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;
|
package/dist/Carousel/index.js
CHANGED
|
@@ -68,26 +68,28 @@ const Carousel = (props) => {
|
|
|
68
68
|
const selectItem = (id) => {
|
|
69
69
|
change(id);
|
|
70
70
|
};
|
|
71
|
+
const child = children;
|
|
71
72
|
const showDots = () => {
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
var _a, _b;
|
|
74
|
+
if (children && ((_b = (_a = child == null ? void 0 : child.props) == null ? void 0 : _a.content) == null ? void 0 : _b.length) > 1) {
|
|
75
|
+
return /* @__PURE__ */ jsx("div", { className: dots, children: Children.map(children, (_, indx) => /* @__PURE__ */ jsx(
|
|
74
76
|
"div",
|
|
75
77
|
{
|
|
76
78
|
onClick: () => selectItem(indx),
|
|
77
79
|
className: dot({ variant, selected: indx === itemSelected })
|
|
78
80
|
},
|
|
79
81
|
indx
|
|
80
|
-
));
|
|
82
|
+
)) });
|
|
81
83
|
}
|
|
82
|
-
if (items) {
|
|
83
|
-
return items.map((_, indx) => /* @__PURE__ */ jsx(
|
|
84
|
+
if (items && items.length > 1) {
|
|
85
|
+
return /* @__PURE__ */ jsx("div", { className: dots, children: items.map((_, indx) => /* @__PURE__ */ jsx(
|
|
84
86
|
"div",
|
|
85
87
|
{
|
|
86
88
|
onClick: () => selectItem(indx),
|
|
87
89
|
className: dot({ variant, selected: indx === itemSelected })
|
|
88
90
|
},
|
|
89
91
|
indx
|
|
90
|
-
));
|
|
92
|
+
)) });
|
|
91
93
|
}
|
|
92
94
|
};
|
|
93
95
|
return /* @__PURE__ */ jsxs("div", { className: clsx(carousel({ variant })), children: [
|
|
@@ -108,7 +110,7 @@ const Carousel = (props) => {
|
|
|
108
110
|
},
|
|
109
111
|
item.id
|
|
110
112
|
)) }),
|
|
111
|
-
|
|
113
|
+
showDots()
|
|
112
114
|
] });
|
|
113
115
|
};
|
|
114
116
|
export {
|
package/dist/Carousel/store.d.ts
CHANGED
|
@@ -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(
|
|
10
|
+
export declare const useCarousel: import('zustand').UseBoundStore<import("zustand").StoreApi<state & actions>>;
|
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
export declare const chevron: import(
|
|
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})`;
|
|
5
|
+
selectors: {
|
|
6
|
+
"&:hover": {
|
|
7
|
+
textDecoration: "underline";
|
|
8
|
+
textDecorationColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
5
11
|
};
|
|
6
12
|
secondary: {
|
|
7
13
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
|
+
selectors: {
|
|
15
|
+
"&:hover": {
|
|
16
|
+
textDecoration: "underline";
|
|
17
|
+
textDecorationColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
8
20
|
};
|
|
9
21
|
tertiary: {
|
|
10
22
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
23
|
+
selectors: {
|
|
24
|
+
"&:hover": {
|
|
25
|
+
textDecoration: "underline";
|
|
26
|
+
textDecorationColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
11
29
|
};
|
|
12
30
|
};
|
|
13
31
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
1
2
|
import { CallToActionTypes } from '../utils/variant.types';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
export interface ChevronProps extends PropsWithChildren {
|
|
4
5
|
/**
|
|
5
6
|
* react node to add as a children
|
package/dist/Chevron/index.d.ts
CHANGED
package/dist/Chevron/index.js
CHANGED
|
@@ -40,9 +40,7 @@ import "../ImageBillboard/ImageBillboard.css.js";
|
|
|
40
40
|
import { chevron_wrapper, chevron } from "./Chevron.css.js";
|
|
41
41
|
/* empty css */
|
|
42
42
|
/* empty css */
|
|
43
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
44
43
|
/* empty css */
|
|
45
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
46
44
|
/* empty css */
|
|
47
45
|
import "../Table/Table.css.js";
|
|
48
46
|
/* empty css */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const content_banner: import(
|
|
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(
|
|
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,6 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
export interface HeroBannerInterface {
|
|
5
|
+
id?: string;
|
|
4
6
|
className?: string;
|
|
5
7
|
variant: string;
|
|
6
8
|
headline: string | ReactNode;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ContentBannerInterface } from './ContentBanner.interface';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
|
|
3
4
|
export declare const ContentBanner: FC<ContentBannerInterface>;
|
|
@@ -11,12 +11,14 @@ const ContentBanner = ({
|
|
|
11
11
|
variant,
|
|
12
12
|
headline,
|
|
13
13
|
bodyCopy,
|
|
14
|
-
callToActionRow
|
|
14
|
+
callToActionRow,
|
|
15
|
+
id
|
|
15
16
|
}) => {
|
|
16
17
|
const banner_variant = getVariant(variant);
|
|
17
18
|
return /* @__PURE__ */ jsx(
|
|
18
19
|
"section",
|
|
19
20
|
{
|
|
21
|
+
id: `id_${id}`,
|
|
20
22
|
className: `${content_banner({ variant: banner_variant })} ${section_pad}`,
|
|
21
23
|
children: /* @__PURE__ */ jsxs("div", { className: `containment`, children: [
|
|
22
24
|
/* @__PURE__ */ jsxs("div", { className: `text_center`, children: [
|
|
@@ -30,7 +32,7 @@ const ContentBanner = ({
|
|
|
30
32
|
bodyCopy ? /* @__PURE__ */ jsx("div", { className: `${body_copy}`, children: bodyCopy }) : null
|
|
31
33
|
] }),
|
|
32
34
|
Array.isArray(callToActionRow) && callToActionRow.length > 0 && /* @__PURE__ */ jsx("div", { className: `${call_to_action_row}`, children: callToActionRow == null ? void 0 : callToActionRow.map(
|
|
33
|
-
({ id, variant: variant2, displayText, targetUrl, type }) => type === "Button" ? /* @__PURE__ */ jsx(
|
|
35
|
+
({ id: id2, variant: variant2, displayText, targetUrl, type }) => type === "Button" ? /* @__PURE__ */ jsx(
|
|
34
36
|
Button,
|
|
35
37
|
{
|
|
36
38
|
targetUrl,
|
|
@@ -39,7 +41,7 @@ const ContentBanner = ({
|
|
|
39
41
|
rounded: "medium",
|
|
40
42
|
children: displayText
|
|
41
43
|
},
|
|
42
|
-
|
|
44
|
+
id2
|
|
43
45
|
) : /* @__PURE__ */ jsx(
|
|
44
46
|
Chevron,
|
|
45
47
|
{
|
|
@@ -48,7 +50,7 @@ const ContentBanner = ({
|
|
|
48
50
|
className: `${link}`,
|
|
49
51
|
children: displayText
|
|
50
52
|
},
|
|
51
|
-
|
|
53
|
+
id2
|
|
52
54
|
)
|
|
53
55
|
) })
|
|
54
56
|
] })
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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
|
}
|
|
@@ -11,7 +11,12 @@ const FooterIcons = (props) => {
|
|
|
11
11
|
return /* @__PURE__ */ jsx(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className: clsx(
|
|
14
|
+
className: clsx(
|
|
15
|
+
iconsContent,
|
|
16
|
+
props.className,
|
|
17
|
+
"containment",
|
|
18
|
+
"push_up_24"
|
|
19
|
+
),
|
|
15
20
|
style: props.style,
|
|
16
21
|
children: props.children
|
|
17
22
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './FooterDisclosure.css';
|
|
2
|
+
export * from './FooterDisclosure';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const formContainer: import(
|
|
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(
|
|
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(
|
|
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(
|
|
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})`;
|