@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
package/dist/Input/Input.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
1
2
|
import { QuaternaryTypes } from '../utils';
|
|
2
|
-
|
|
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(
|
|
14
|
+
export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const InputPhone: import(
|
|
1
|
+
import { InputProps } from '.';
|
|
2
|
+
|
|
3
|
+
export declare const InputPhone: import('react').ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Input';
|
|
2
|
+
export * from './Input.css';
|
|
3
|
+
export * from './InputPhone';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const icon: import(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
127
|
+
export declare const helperText: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
128
128
|
disabled: {
|
|
129
129
|
true: {
|
|
130
130
|
color: "#5E6A74";
|
package/dist/MainHTML/index.d.ts
CHANGED
package/dist/Modal/Modal.css.js
CHANGED
|
@@ -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
|
};
|
package/dist/Modal/Modal.d.ts
CHANGED
package/dist/Modal/Modal.js
CHANGED
|
@@ -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__ */
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
|
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(
|
|
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;
|
package/dist/Modal/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Modal';
|
|
2
|
+
export * from './contextApi/store';
|