@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.
- 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 +2 -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 +42 -4
- package/dist/Forms/Forms.css.js +9 -1
- package/dist/Forms/RenderForm.d.ts +3 -2
- package/dist/Forms/RenderForm.js +1 -0
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +9 -2
- package/dist/Forms/ScheduleCall.js +10 -10
- package/dist/Forms/SuccesForm.d.ts +7 -0
- package/dist/Forms/SuccesForm.js +88 -0
- package/dist/Forms/index.d.ts +5 -4
- package/dist/Forms/index.js +8 -2
- 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/Forms/Forms.css +103 -0
- 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 +13 -6
- 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,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})`;
|
|
@@ -89,3 +89,41 @@ export declare const disclosureForm: import("@vanilla-extract/recipes").RuntimeF
|
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
91
|
export declare const form: string;
|
|
92
|
+
export declare const success_wrap: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
93
|
+
variant: {
|
|
94
|
+
primary: {
|
|
95
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
96
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
97
|
+
};
|
|
98
|
+
secondary: {
|
|
99
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
100
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
101
|
+
};
|
|
102
|
+
tertiary: {
|
|
103
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
104
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
105
|
+
};
|
|
106
|
+
quaternary: {
|
|
107
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
108
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}>;
|
|
112
|
+
export declare const success_icon: string;
|
|
113
|
+
export declare const succes_check_mark: string;
|
|
114
|
+
export declare const success_circle: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
115
|
+
variant: {
|
|
116
|
+
primary: {
|
|
117
|
+
stroke: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
118
|
+
};
|
|
119
|
+
secondary: {
|
|
120
|
+
stroke: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
121
|
+
};
|
|
122
|
+
tertiary: {
|
|
123
|
+
stroke: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
124
|
+
};
|
|
125
|
+
quaternary: {
|
|
126
|
+
stroke: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}>;
|
package/dist/Forms/Forms.css.js
CHANGED
|
@@ -10,6 +10,10 @@ var formWrapper = createRuntimeFn({ defaultClassName: "tfms6ab", variantClassNam
|
|
|
10
10
|
var actions = "tfms6ag";
|
|
11
11
|
var disclosureForm = createRuntimeFn({ defaultClassName: "tfms6ah", variantClassNames: { variant: { primary: "tfms6ai", secondary: "tfms6aj", tertiary: "tfms6ak", quaternary: "tfms6al" } }, defaultVariants: {}, compoundVariants: [] });
|
|
12
12
|
var form = "tfms6am";
|
|
13
|
+
var success_wrap = createRuntimeFn({ defaultClassName: "tfms6ap", variantClassNames: { variant: { primary: "tfms6aq", secondary: "tfms6ar", tertiary: "tfms6as", quaternary: "tfms6at" } }, defaultVariants: {}, compoundVariants: [] });
|
|
14
|
+
var success_icon = "tfms6au";
|
|
15
|
+
var succes_check_mark = "tfms6av";
|
|
16
|
+
var success_circle = createRuntimeFn({ defaultClassName: "tfms6aw", variantClassNames: { variant: { primary: "tfms6ax", secondary: "tfms6ay", tertiary: "tfms6az", quaternary: "tfms6a10" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
17
|
export {
|
|
14
18
|
actions,
|
|
15
19
|
disclosureForm,
|
|
@@ -17,5 +21,9 @@ export {
|
|
|
17
21
|
formContainer,
|
|
18
22
|
formWrapper,
|
|
19
23
|
headerForm,
|
|
20
|
-
iconForm
|
|
24
|
+
iconForm,
|
|
25
|
+
succes_check_mark,
|
|
26
|
+
success_circle,
|
|
27
|
+
success_icon,
|
|
28
|
+
success_wrap
|
|
21
29
|
};
|
package/dist/Forms/RenderForm.js
CHANGED
|
@@ -2,6 +2,7 @@ import { jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import "./Forms.css.js";
|
|
3
3
|
import "./SalesforceFieldsForm.js";
|
|
4
4
|
import { ScheduleCall } from "./ScheduleCall.js";
|
|
5
|
+
import "clsx";
|
|
5
6
|
const renderSwitch = (form = "Contact Form", props) => {
|
|
6
7
|
switch (form) {
|
|
7
8
|
case "Contact Form":
|
|
@@ -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(
|
|
71
|
+
export declare const SalesforceFieldsForm: import('react').NamedExoticComponent<Props>;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
3
|
-
import {
|
|
3
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
4
|
+
|
|
5
|
+
export type Inputs = {
|
|
6
|
+
first_name: string;
|
|
7
|
+
last_name: string;
|
|
8
|
+
email: string;
|
|
9
|
+
phone: string;
|
|
10
|
+
};
|
|
4
11
|
export interface FormProps extends PropsWithChildren {
|
|
5
12
|
id?: string;
|
|
6
13
|
onSubmit?: (values: {
|
|
@@ -37,8 +37,8 @@ const ScheduleCall = ({
|
|
|
37
37
|
}) => {
|
|
38
38
|
var _a, _b, _c, _d;
|
|
39
39
|
const schema = z.object({
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
first_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
|
|
41
|
+
last_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Last Name is required." }),
|
|
42
42
|
email: z.string().email({ message: "Email is required." }).refine(async (val) => await validateEmail(val)),
|
|
43
43
|
phone: z.string().regex(/[\d-]{10}/).min(10, { message: "Phone is required." }).max(12, { message: "Phone is required." }).transform((val, ctx) => {
|
|
44
44
|
const removeDashes = val.replace(/-/gi, "");
|
|
@@ -83,28 +83,28 @@ const ScheduleCall = ({
|
|
|
83
83
|
/* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
|
|
84
84
|
Input,
|
|
85
85
|
{
|
|
86
|
-
id: "
|
|
87
|
-
...register("
|
|
86
|
+
id: "first_name",
|
|
87
|
+
...register("first_name", { required: true }),
|
|
88
88
|
label: "First Name",
|
|
89
89
|
sizes: "medium",
|
|
90
90
|
placeholder: "First Name",
|
|
91
91
|
required: true,
|
|
92
|
-
error: !!errors.
|
|
93
|
-
helperText: (_a = errors.
|
|
92
|
+
error: !!errors.first_name,
|
|
93
|
+
helperText: (_a = errors.first_name) == null ? void 0 : _a.message,
|
|
94
94
|
variant
|
|
95
95
|
}
|
|
96
96
|
) }),
|
|
97
97
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
98
98
|
Input,
|
|
99
99
|
{
|
|
100
|
-
id: "
|
|
101
|
-
...register("
|
|
100
|
+
id: "last_name",
|
|
101
|
+
...register("last_name", { required: true }),
|
|
102
102
|
label: "Last Name",
|
|
103
103
|
sizes: "medium",
|
|
104
104
|
placeholder: "Last Name",
|
|
105
105
|
required: true,
|
|
106
|
-
error: !!errors.
|
|
107
|
-
helperText: (_b = errors.
|
|
106
|
+
error: !!errors.last_name,
|
|
107
|
+
helperText: (_b = errors.last_name) == null ? void 0 : _b.message,
|
|
108
108
|
variant
|
|
109
109
|
}
|
|
110
110
|
) }),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { QuaternaryTypes } from '../utils';
|
|
3
|
+
|
|
4
|
+
export default function SuccesFormWrapper({ children, isSubmitted, variant, }: {
|
|
5
|
+
isSubmitted: boolean;
|
|
6
|
+
variant: QuaternaryTypes;
|
|
7
|
+
} & PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { success_wrap, success_icon, success_circle, succes_check_mark } from "./Forms.css.js";
|
|
5
|
+
import "./SalesforceFieldsForm.js";
|
|
6
|
+
import "@hookform/resolvers/zod";
|
|
7
|
+
import "../Modal/contextApi/store.js";
|
|
8
|
+
import "react";
|
|
9
|
+
import "../Button/Button.css.js";
|
|
10
|
+
import "react-use";
|
|
11
|
+
import "../Input/Input.js";
|
|
12
|
+
import "../Input/Input.css.js";
|
|
13
|
+
import "../Input/InputPhone.js";
|
|
14
|
+
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
15
|
+
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
import "react-hook-form";
|
|
20
|
+
function SuccesFormWrapper({
|
|
21
|
+
children,
|
|
22
|
+
isSubmitted,
|
|
23
|
+
variant
|
|
24
|
+
}) {
|
|
25
|
+
variant = getVariant(variant);
|
|
26
|
+
return !isSubmitted ? /* @__PURE__ */ jsx("div", { children }) : /* @__PURE__ */ jsxs("div", { className: clsx(success_wrap({ variant }), "text_center"), children: [
|
|
27
|
+
/* @__PURE__ */ jsxs(
|
|
28
|
+
"svg",
|
|
29
|
+
{
|
|
30
|
+
className: success_icon,
|
|
31
|
+
width: "90px",
|
|
32
|
+
height: "97px",
|
|
33
|
+
viewBox: "0 0 90 90",
|
|
34
|
+
version: "1.1",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
37
|
+
xmlSpace: "preserve",
|
|
38
|
+
style: {
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
strokeLinecap: "round",
|
|
42
|
+
strokeLinejoin: "round",
|
|
43
|
+
strokeMiterlimit: "1.5"
|
|
44
|
+
},
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
"rect",
|
|
48
|
+
{
|
|
49
|
+
x: "0",
|
|
50
|
+
y: "0",
|
|
51
|
+
width: "90",
|
|
52
|
+
height: "99",
|
|
53
|
+
style: { fill: "none" }
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ jsx("clipPath", { id: "_clip1", children: /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "90", height: "99" }) }),
|
|
57
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#_clip1)", children: [
|
|
58
|
+
/* @__PURE__ */ jsx(
|
|
59
|
+
"circle",
|
|
60
|
+
{
|
|
61
|
+
className: success_circle({ variant }),
|
|
62
|
+
cx: "44.662",
|
|
63
|
+
cy: "44.662",
|
|
64
|
+
r: "42.662"
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ jsx(
|
|
68
|
+
"path",
|
|
69
|
+
{
|
|
70
|
+
className: succes_check_mark,
|
|
71
|
+
d: "M28.985,44.662l12.015,12.015l46.324,-54.677"
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] })
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
),
|
|
78
|
+
/* @__PURE__ */ jsx("h1", { id: "submittedText", children: "Submitted!" }),
|
|
79
|
+
/* @__PURE__ */ jsxs("p", { id: "thankYouText", children: [
|
|
80
|
+
"Thank you!",
|
|
81
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
82
|
+
"A Banking expert will be in contact with you shortly"
|
|
83
|
+
] })
|
|
84
|
+
] });
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
SuccesFormWrapper as default
|
|
88
|
+
};
|
package/dist/Forms/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './Forms.css';
|
|
2
|
+
export * from './RenderForm';
|
|
3
|
+
export * from './SalesforceFieldsForm';
|
|
4
|
+
export * from './ScheduleCall';
|
|
5
|
+
export * from './SuccesForm';
|
package/dist/Forms/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { actions, disclosureForm, form, formContainer, formWrapper, headerForm, iconForm } from "./Forms.css.js";
|
|
1
|
+
import { actions, disclosureForm, form, formContainer, formWrapper, headerForm, iconForm, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms.css.js";
|
|
2
2
|
import { RenderWebForm, renderSwitch } from "./RenderForm.js";
|
|
3
3
|
import { SalesforceFieldsForm, SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
4
4
|
import { ScheduleCall } from "./ScheduleCall.js";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "clsx";
|
|
5
7
|
export {
|
|
6
8
|
RenderWebForm,
|
|
7
9
|
SalesforceFieldsForm,
|
|
@@ -14,5 +16,9 @@ export {
|
|
|
14
16
|
formWrapper,
|
|
15
17
|
headerForm,
|
|
16
18
|
iconForm,
|
|
17
|
-
renderSwitch
|
|
19
|
+
renderSwitch,
|
|
20
|
+
succes_check_mark,
|
|
21
|
+
success_circle,
|
|
22
|
+
success_icon,
|
|
23
|
+
success_wrap
|
|
18
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const logout: string;
|
|
2
|
-
export declare const hero_banner: import(
|
|
2
|
+
export declare const hero_banner: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
4
|
primary: {
|
|
5
5
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -24,7 +24,7 @@ export declare const reversed: string;
|
|
|
24
24
|
export declare const hero_text: string;
|
|
25
25
|
export declare const hero_wrapper: string;
|
|
26
26
|
export declare const hero_img: string;
|
|
27
|
-
export declare const supertag: import(
|
|
27
|
+
export declare const supertag: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
28
28
|
variant: {
|
|
29
29
|
primary: {
|
|
30
30
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -44,7 +44,7 @@ export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
47
|
-
export declare const headline_text: import(
|
|
47
|
+
export declare const headline_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
48
48
|
variant: {
|
|
49
49
|
primary: {
|
|
50
50
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { HeroBannerInterface } from
|
|
1
|
+
import { HeroBannerInterface } from './HeroBanner.interface';
|
|
2
|
+
|
|
2
3
|
export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
|
package/dist/HeroBanner/index.js
CHANGED
|
@@ -20,6 +20,7 @@ const HeroBanner = ({
|
|
|
20
20
|
return /* @__PURE__ */ jsx(
|
|
21
21
|
"section",
|
|
22
22
|
{
|
|
23
|
+
id: `id_${id}`,
|
|
23
24
|
className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })}`,
|
|
24
25
|
children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
|
|
25
26
|
"div",
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -39,9 +39,7 @@ import "react-hook-form";
|
|
|
39
39
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
40
40
|
/* empty css */
|
|
41
41
|
/* empty css */
|
|
42
|
-
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
43
42
|
/* empty css */
|
|
44
|
-
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
45
43
|
/* empty css */
|
|
46
44
|
import "../Table/Table.css.js";
|
|
47
45
|
/* empty css */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RecipeVariants } from
|
|
2
|
-
|
|
1
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
|
+
|
|
3
|
+
export declare const containerIconBillboard: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
4
|
variant: {
|
|
4
5
|
primary: {
|
|
5
6
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -18,7 +19,7 @@ export declare const containerIconBillboard: import("@vanilla-extract/recipes").
|
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
21
|
}>;
|
|
21
|
-
export declare const layout: import(
|
|
22
|
+
export declare const layout: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
22
23
|
side: {
|
|
23
24
|
true: {
|
|
24
25
|
flexDirection: "row";
|
|
@@ -27,7 +28,7 @@ export declare const layout: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
27
28
|
}>;
|
|
28
29
|
export declare const billboard_icon: string;
|
|
29
30
|
export declare const headerIconBillboard: string;
|
|
30
|
-
export declare const title: import(
|
|
31
|
+
export declare const title: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
31
32
|
variant: {
|
|
32
33
|
primary: {
|
|
33
34
|
selectors: {
|
|
@@ -72,7 +73,7 @@ export declare const list: string;
|
|
|
72
73
|
export declare const listItem: string;
|
|
73
74
|
export declare const buttons: string;
|
|
74
75
|
export declare const section_text: string;
|
|
75
|
-
export declare const header_section: import(
|
|
76
|
+
export declare const header_section: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
76
77
|
variant: {
|
|
77
78
|
primary: {
|
|
78
79
|
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ContainerVariants, LayoutVariants } from './IconBillboard.css';
|
|
2
|
+
import { ImageInterface } from '.';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
1
4
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
-
|
|
3
|
-
import { ImageInterface } from ".";
|
|
4
|
-
import { ContainerVariants, LayoutVariants } from "./IconBillboard.css";
|
|
5
|
+
|
|
5
6
|
export interface FocusProps {
|
|
6
7
|
icon?: ImageInterface;
|
|
7
8
|
headline?: ReactNode | undefined;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
3
2
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
4
|
-
import {
|
|
3
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
4
|
+
import { BulletItemProps } from '../BulletItem';
|
|
5
|
+
|
|
5
6
|
export interface IconBillboardSet {
|
|
6
7
|
id: string;
|
|
7
8
|
headline: ReactNode | string;
|
|
@@ -36,7 +36,7 @@ const IconBillboard = (props) => {
|
|
|
36
36
|
/* @__PURE__ */ jsx("div", { className: title({ variant }), children: headline }),
|
|
37
37
|
/* @__PURE__ */ jsx("div", { children: body })
|
|
38
38
|
] }),
|
|
39
|
-
items && (items == null ? void 0 : items.length) > 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: list, children: items == null ? void 0 : items.map((item) => /* @__PURE__ */ jsx(BulletItem, { id: item.id, children: item.content }, item.id)) }) })
|
|
39
|
+
items && (items == null ? void 0 : items.length) > 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: clsx(list, "list_unstyled"), children: items == null ? void 0 : items.map((item) => /* @__PURE__ */ jsx(BulletItem, { id: item.id, variant, children: item.content }, item.id)) }) })
|
|
40
40
|
] })
|
|
41
41
|
] }),
|
|
42
42
|
callToActionRow && /* @__PURE__ */ jsx("div", { className: buttons, children: callToActionRow.map(
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IconBillboardSet as Props } from './IconBillboard.interface';
|
|
2
|
+
|
|
2
3
|
export declare const IconBillboardSet: ({ variant, side, iconBillboards, headline, bodyCopy, additionalDetails, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export type { IconBillboardSet, ImageInterface, } from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './IconBillboard';
|
|
2
|
+
export * from './IconBillboard.css';
|
|
3
|
+
export type { IconBillboardSet, ImageInterface, } from './IconBillboard.interface';
|
|
4
|
+
export * from './IconBillboardSet';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const billboard: import(
|
|
1
|
+
export declare const billboard: 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 billboard: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
}>;
|
|
21
|
-
export declare const imagePlacement: import(
|
|
21
|
+
export declare const imagePlacement: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
22
22
|
position: {
|
|
23
23
|
left: {
|
|
24
24
|
selectors: {
|
|
@@ -37,7 +37,7 @@ export declare const imagePlacement: import("@vanilla-extract/recipes").RuntimeF
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
}>;
|
|
40
|
-
export declare const supertag: import(
|
|
40
|
+
export declare const supertag: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
41
41
|
variant: {
|
|
42
42
|
primary: {
|
|
43
43
|
selectors: {
|
|
@@ -77,7 +77,7 @@ export declare const supertag: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
|
-
export declare const header: import(
|
|
80
|
+
export declare const header: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
81
81
|
variant: {
|
|
82
82
|
primary: {
|
|
83
83
|
selectors: {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ImageBillboardSetProps as Props } from './ImageBillboard.interface';
|
|
2
|
+
|
|
2
3
|
export declare const ImageBillboardSet: ({ id, variant, headline, bodyCopy, additionalDetails, imageBillboards, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
3
|
-
import { ImageInterface } from '../IconBillboard';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
4
2
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
5
|
-
import {
|
|
3
|
+
import { ImageInterface } from '../IconBillboard';
|
|
4
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
5
|
+
import { BulletItemProps } from '../BulletItem';
|
|
6
|
+
|
|
6
7
|
export interface ImageBillboardSetProps {
|
|
7
8
|
id: string;
|
|
8
9
|
headline?: string | ReactNode;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { ImageBillboardInterface } from
|
|
1
|
+
import { ImageBillboardInterface } from './ImageBillboard.interface';
|
|
2
|
+
|
|
2
3
|
export declare const ImageBillboard: ({ id, variant, headline, bodyCopy, bordered, bullets, callToActionRow, eyebrow, image, imagePlacement: position, set, textImageLineOneSmall, textImageLineTwoBig, textImageLineThreeSmall, }: ImageBillboardInterface) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -87,15 +87,20 @@ const ImageBillboard = ({
|
|
|
87
87
|
)
|
|
88
88
|
] }),
|
|
89
89
|
/* @__PURE__ */ jsx("div", { className: `push_up ${body_copy}`, children: bodyCopy }),
|
|
90
|
-
/* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up", children: bullets.map(
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
90
|
+
bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up", children: bullets.map(
|
|
91
|
+
({ id: id2, icon, copy, subBullet }) => !subBullet ? /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
|
|
92
|
+
/* @__PURE__ */ jsx("div", { className: "img_item", children: billboard_variant ? /* @__PURE__ */ jsx(
|
|
93
|
+
SvgCheckIcon,
|
|
94
|
+
{
|
|
95
|
+
variant: billboard_variant === "primary" || billboard_variant === "secondary" ? "primary" : "secondary"
|
|
96
|
+
}
|
|
97
|
+
) : /* @__PURE__ */ jsx("img", { src: icon == null ? void 0 : icon.src, alt: icon == null ? void 0 : icon.altText }) }),
|
|
98
|
+
/* @__PURE__ */ jsx("span", { children: copy })
|
|
99
|
+
] }, id2) : /* @__PURE__ */ jsx("ul", { className: "mb_0 push_up", children: /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
|
|
100
|
+
/* @__PURE__ */ jsx("div", { className: "img_item", children: /* @__PURE__ */ jsx("img", { src: icon == null ? void 0 : icon.src, alt: icon == null ? void 0 : icon.altText }) }),
|
|
101
|
+
/* @__PURE__ */ jsx("span", { children: copy })
|
|
102
|
+
] }) }, id2)
|
|
103
|
+
) })
|
|
99
104
|
] }),
|
|
100
105
|
callToActionRow.length > 0 && /* @__PURE__ */ jsx(
|
|
101
106
|
"div",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export type * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './ImageBillboard';
|
|
2
|
+
export * from './ImageBillboard.css';
|
|
3
|
+
export type * from './ImageBillboard.interface';
|
|
4
|
+
export * from './ImageBillboardSet';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const iconInput: import(
|
|
1
|
+
export declare const iconInput: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
size: {
|
|
3
3
|
small: {
|
|
4
4
|
width: number;
|
|
@@ -14,7 +14,7 @@ export declare const iconInput: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
}>;
|
|
17
|
-
export declare const labelClassName: import(
|
|
17
|
+
export declare const labelClassName: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
18
18
|
variant: {
|
|
19
19
|
primary: {};
|
|
20
20
|
secondary: {};
|
|
@@ -39,7 +39,7 @@ export declare const labelClassName: import("@vanilla-extract/recipes").RuntimeF
|
|
|
39
39
|
}>;
|
|
40
40
|
export declare const iconContainerBase: string;
|
|
41
41
|
export declare const iconContainer: Record<"left" | "right", string>;
|
|
42
|
-
export declare const container: import(
|
|
42
|
+
export declare const container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
43
43
|
size: {
|
|
44
44
|
small: {
|
|
45
45
|
paddingTop: number;
|
|
@@ -73,7 +73,7 @@ export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
76
|
-
export declare const input: import(
|
|
76
|
+
export declare const input: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
77
77
|
size: {
|
|
78
78
|
small: {
|
|
79
79
|
fontSize: number;
|
|
@@ -129,12 +129,12 @@ export declare const input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
}>;
|
|
132
|
-
export declare const wrapper: import(
|
|
132
|
+
export declare const wrapper: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
133
133
|
[x: string]: {
|
|
134
134
|
[x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
137
|
-
export declare const helperText: import(
|
|
137
|
+
export declare const helperText: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
138
138
|
disabled: {
|
|
139
139
|
true: {
|
|
140
140
|
color: "#5E6A74";
|