@axos-web-dev/shared-components 0.0.15 → 0.0.17
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 +3 -4
- package/dist/Accordion/Accordion.d.ts +1 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
- package/dist/AlertBanner/AlertBanner.interface.d.ts +1 -2
- package/dist/AlertBanner/index.d.ts +2 -3
- package/dist/ApyCalculator/index.d.ts +1 -2
- package/dist/BulletItem/BulletItem.d.ts +1 -2
- package/dist/BulletItem/index.d.ts +1 -1
- package/dist/Button/Button.css.d.ts +2 -3
- package/dist/Button/Button.d.ts +3 -4
- package/dist/Button/Button.interface.d.ts +1 -2
- package/dist/Button/GoBackButton.d.ts +2 -3
- package/dist/Button/index.d.ts +3 -3
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +1 -2
- package/dist/CallToActionBar/index.d.ts +2 -3
- package/dist/Carousel/Carousel.css.d.ts +5 -6
- package/dist/Carousel/index.d.ts +2 -3
- package/dist/Carousel/store.d.ts +1 -1
- package/dist/Chevron/Chevron.css.d.ts +1 -1
- package/dist/Chevron/Chevron.interface.d.ts +1 -2
- package/dist/Chevron/index.d.ts +2 -3
- package/dist/Chevron/index.js +2 -0
- package/dist/CollectInformationAlert/index.d.ts +1 -2
- package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
- package/dist/ContentBanner/ContentBanner.interface.d.ts +1 -2
- package/dist/ContentBanner/index.d.ts +2 -3
- package/dist/DownloadTile/DownloadTile.interface.d.ts +1 -2
- package/dist/DownloadTile/index.d.ts +2 -3
- package/dist/FaqAccordion/index.d.ts +2 -3
- package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +1 -2
- package/dist/FooterDisclosure/index.d.ts +2 -2
- package/dist/Forms/Forms.css.d.ts +4 -4
- package/dist/Forms/RenderForm.d.ts +2 -3
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +2 -3
- package/dist/Forms/ScheduleCall.js +1 -1
- package/dist/Forms/index.d.ts +4 -4
- package/dist/HeroBanner/HeroBanner.css.d.ts +3 -3
- package/dist/HeroBanner/HeroBanner.interface.d.ts +1 -2
- package/dist/HeroBanner/index.d.ts +1 -2
- package/dist/Hyperlink/Hyperlink.interface.d.ts +1 -2
- package/dist/Hyperlink/index.d.ts +2 -3
- package/dist/Hyperlink/index.js +2 -0
- package/dist/IconBillboard/IconBillboard.css.d.ts +6 -6
- package/dist/IconBillboard/IconBillboard.d.ts +3 -4
- package/dist/IconBillboard/IconBillboard.interface.d.ts +3 -4
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +1 -2
- package/dist/IconBillboard/index.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.d.ts +1 -2
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +4 -5
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -2
- package/dist/ImageBillboard/index.d.ts +4 -4
- package/dist/Input/Input.css.d.ts +6 -6
- package/dist/Input/index.d.ts +2 -3
- package/dist/Inputs/Input.css.d.ts +6 -6
- package/dist/MainHTML/index.d.ts +1 -2
- package/dist/Modal/Modal.d.ts +2 -3
- package/dist/Modal/Modal.js +2 -0
- package/dist/Modal/contextApi/store.d.ts +2 -3
- package/dist/Modal/index.d.ts +2 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +55 -52
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +106 -140
- package/dist/NavigationMenu/AxosAdvisor/index.js +1 -1
- package/dist/NavigationMenu/index.d.ts +2 -2
- package/dist/SetContainer/SetContainer.d.ts +2 -3
- package/dist/SetContainer/SetContainer.js +2 -0
- package/dist/SetContainer/index.d.ts +2 -2
- package/dist/Table/Table.css.d.ts +4 -4
- package/dist/Table/Table.d.ts +7 -8
- package/dist/Table/Table.interface.d.ts +1 -2
- package/dist/Table/index.d.ts +2 -2
- package/dist/TextBlock/TextBlock.d.ts +1 -2
- package/dist/TextBlock/index.d.ts +2 -2
- package/dist/Typography/Typography.css.d.ts +3 -4
- package/dist/Typography/Typography.d.ts +2 -3
- package/dist/Typography/index.d.ts +1 -1
- package/dist/VideoTile/VideoTile.d.ts +2 -3
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/index.d.ts +2 -3
- package/dist/assets/FaqAccordion/FaqAccordion.css +6 -0
- package/dist/assets/IconBillboard/IconBillboard.css +1 -0
- package/dist/assets/ImageBillboard/ImageBillboard.css +2 -0
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +591 -582
- package/dist/assets/Typography/Typography.css +1 -2
- package/dist/assets/globals.css +16 -2
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
- package/dist/icons/ArrowIcon/index.d.ts +1 -2
- package/dist/icons/AxosX/Blue.d.ts +1 -2
- package/dist/icons/AxosX/index.d.ts +1 -2
- package/dist/icons/CheckCircle.d.ts +1 -2
- package/dist/icons/CheckCircleLight.d.ts +1 -2
- package/dist/icons/CheckIcon/CheckIcon.css.d.ts +2 -3
- package/dist/icons/CheckIcon/index.d.ts +1 -2
- package/dist/icons/ChevronDown.d.ts +1 -2
- package/dist/icons/ChevronUp.d.ts +1 -2
- package/dist/icons/CloseIcon/index.d.ts +1 -2
- package/dist/icons/DownloadIcon/index.d.ts +1 -2
- package/dist/icons/EqualHousingLender.d.ts +1 -2
- package/dist/icons/LockIcon/index.d.ts +1 -2
- package/dist/icons/MemberFdicLogo.d.ts +1 -2
- package/dist/icons/QuoteIconGrey.d.ts +1 -2
- package/dist/icons/QuoteIconWhite.d.ts +1 -2
- package/dist/icons/QuoteIconYellow.d.ts +1 -2
- package/dist/icons/WarningIcon/index.d.ts +1 -2
- package/dist/icons/index.d.ts +17 -17
- package/dist/index.css.d.ts +0 -1
- package/dist/main.d.ts +1 -1
- package/dist/themes/index.d.ts +2 -2
- package/dist/utils/ctaOptions.d.ts +0 -1
- package/dist/utils/getVariant.d.ts +1 -2
- package/dist/utils/index.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { ImageBillboardInterface } from
|
|
2
|
-
|
|
1
|
+
import { ImageBillboardInterface } from "./ImageBillboard.interface";
|
|
3
2
|
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;
|
|
@@ -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 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
|
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";
|
package/dist/Input/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
1
|
import { QuaternaryTypes } from '../utils';
|
|
3
|
-
|
|
2
|
+
import { InputHTMLAttributes, ReactNode } from "react";
|
|
4
3
|
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
5
4
|
label?: ReactNode;
|
|
6
5
|
iconLeft?: ReactNode;
|
|
@@ -11,4 +10,4 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
11
10
|
helperText?: ReactNode;
|
|
12
11
|
variant?: QuaternaryTypes;
|
|
13
12
|
}
|
|
14
|
-
export declare const Input: import(
|
|
13
|
+
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -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.d.ts
CHANGED
package/dist/Modal/Modal.js
CHANGED
|
@@ -33,7 +33,9 @@ import "react-hook-form";
|
|
|
33
33
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
34
34
|
import "./contextApi/store.js";
|
|
35
35
|
/* empty css */
|
|
36
|
+
import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
|
|
36
37
|
/* empty css */
|
|
38
|
+
import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
|
|
37
39
|
/* empty css */
|
|
38
40
|
import "../Table/Table.css.js";
|
|
39
41
|
/* empty css */
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Dispatch, PropsWithChildren, SetStateAction } from
|
|
2
|
-
|
|
1
|
+
import { Dispatch, PropsWithChildren, SetStateAction } from "react";
|
|
3
2
|
export interface ContextProps {
|
|
4
3
|
targetLinkUrl: string;
|
|
5
4
|
setTargetLinkUrl: Dispatch<SetStateAction<string>>;
|
|
6
5
|
openModal: boolean;
|
|
7
6
|
setOpenModal: Dispatch<SetStateAction<boolean>>;
|
|
8
7
|
}
|
|
9
|
-
export declare const GlobalContext: import(
|
|
8
|
+
export declare const GlobalContext: import("react").Context<ContextProps>;
|
|
10
9
|
export declare const GlobalContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
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";
|
|
@@ -1,55 +1,56 @@
|
|
|
1
|
-
const header = "
|
|
2
|
-
const wrapper = "
|
|
3
|
-
const header_main_row = "
|
|
4
|
-
const mobile_header = "
|
|
5
|
-
const logo_wrap = "
|
|
6
|
-
const primary_links = "
|
|
7
|
-
const main_nav_link = "
|
|
8
|
-
const sub_nav_link = "
|
|
9
|
-
const signin_wrap = "
|
|
10
|
-
const signin_btn = "
|
|
11
|
-
const sub_nav = "
|
|
12
|
-
const header_sub_row = "
|
|
13
|
-
const signin_dropdown = "
|
|
14
|
-
const shadow = "
|
|
15
|
-
const signin_header = "
|
|
16
|
-
const signin_subheader = "
|
|
17
|
-
const opacity = "
|
|
18
|
-
const fadeInDown = "
|
|
19
|
-
const footer = "
|
|
20
|
-
const open = "
|
|
21
|
-
const dd_wrapper = "
|
|
22
|
-
const dd_media = "
|
|
23
|
-
const dd_media_img = "
|
|
24
|
-
const dd_site_navs = "
|
|
25
|
-
const dd_media_header = "
|
|
26
|
-
const mt_8 = "
|
|
27
|
-
const mt_16 = "
|
|
28
|
-
const ml_8 = "
|
|
29
|
-
const dd_media_cta = "
|
|
30
|
-
const reversed_row = "
|
|
31
|
-
const headline = "
|
|
32
|
-
const nav_anchor = "
|
|
33
|
-
const headline_cta = "
|
|
34
|
-
const site_lists = "
|
|
35
|
-
const hamburger = "
|
|
36
|
-
const mobile_only = "
|
|
37
|
-
const mobile_logo = "
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
1
|
+
const header = "_header_1rr2y_1";
|
|
2
|
+
const wrapper = "_wrapper_1rr2y_9";
|
|
3
|
+
const header_main_row = "_header_main_row_1rr2y_21";
|
|
4
|
+
const mobile_header = "_mobile_header_1rr2y_23";
|
|
5
|
+
const logo_wrap = "_logo_wrap_1rr2y_35";
|
|
6
|
+
const primary_links = "_primary_links_1rr2y_43";
|
|
7
|
+
const main_nav_link = "_main_nav_link_1rr2y_51";
|
|
8
|
+
const sub_nav_link = "_sub_nav_link_1rr2y_95";
|
|
9
|
+
const signin_wrap = "_signin_wrap_1rr2y_99";
|
|
10
|
+
const signin_btn = "_signin_btn_1rr2y_101";
|
|
11
|
+
const sub_nav = "_sub_nav_1rr2y_95";
|
|
12
|
+
const header_sub_row = "_header_sub_row_1rr2y_185";
|
|
13
|
+
const signin_dropdown = "_signin_dropdown_1rr2y_217";
|
|
14
|
+
const shadow = "_shadow_1rr2y_237";
|
|
15
|
+
const signin_header = "_signin_header_1rr2y_253";
|
|
16
|
+
const signin_subheader = "_signin_subheader_1rr2y_267";
|
|
17
|
+
const opacity = "_opacity_1rr2y_311";
|
|
18
|
+
const fadeInDown = "_fadeInDown_1rr2y_1";
|
|
19
|
+
const footer = "_footer_1rr2y_323";
|
|
20
|
+
const open = "_open_1rr2y_355";
|
|
21
|
+
const dd_wrapper = "_dd_wrapper_1rr2y_379";
|
|
22
|
+
const dd_media = "_dd_media_1rr2y_389";
|
|
23
|
+
const dd_media_img = "_dd_media_img_1rr2y_399";
|
|
24
|
+
const dd_site_navs = "_dd_site_navs_1rr2y_407";
|
|
25
|
+
const dd_media_header = "_dd_media_header_1rr2y_421";
|
|
26
|
+
const mt_8 = "_mt_8_1rr2y_439";
|
|
27
|
+
const mt_16 = "_mt_16_1rr2y_447";
|
|
28
|
+
const ml_8 = "_ml_8_1rr2y_455";
|
|
29
|
+
const dd_media_cta = "_dd_media_cta_1rr2y_463";
|
|
30
|
+
const reversed_row = "_reversed_row_1rr2y_491";
|
|
31
|
+
const headline = "_headline_1rr2y_523";
|
|
32
|
+
const nav_anchor = "_nav_anchor_1rr2y_535";
|
|
33
|
+
const headline_cta = "_headline_cta_1rr2y_551";
|
|
34
|
+
const site_lists = "_site_lists_1rr2y_581";
|
|
35
|
+
const hamburger = "_hamburger_1rr2y_651";
|
|
36
|
+
const mobile_only = "_mobile_only_1rr2y_679";
|
|
37
|
+
const mobile_logo = "_mobile_logo_1rr2y_691";
|
|
38
|
+
const highlight = "_highlight_1rr2y_701";
|
|
39
|
+
const mobile_nav = "_mobile_nav_1rr2y_763";
|
|
40
|
+
const mobile_opened = "_mobile_opened_1rr2y_783";
|
|
41
|
+
const mobile_nav_item = "_mobile_nav_item_1rr2y_793";
|
|
42
|
+
const has_dropdown = "_has_dropdown_1rr2y_823";
|
|
43
|
+
const icon_wrap = "_icon_wrap_1rr2y_865";
|
|
44
|
+
const mobile_footer = "_mobile_footer_1rr2y_875";
|
|
45
|
+
const mobile_footer_content = "_mobile_footer_content_1rr2y_887";
|
|
46
|
+
const mobile_footer_media = "_mobile_footer_media_1rr2y_915";
|
|
47
|
+
const footer_cta = "_footer_cta_1rr2y_927";
|
|
48
|
+
const inner_wrapper = "_inner_wrapper_1rr2y_983";
|
|
49
|
+
const btn = "_btn_1rr2y_993";
|
|
50
|
+
const sub_menu = "_sub_menu_1rr2y_1003";
|
|
51
|
+
const main = "_main_1rr2y_51";
|
|
52
|
+
const dd_footer = "_dd_footer_1rr2y_1053";
|
|
53
|
+
const desktop_only = "_desktop_only_1rr2y_1091";
|
|
53
54
|
const styles = {
|
|
54
55
|
header,
|
|
55
56
|
wrapper,
|
|
@@ -88,6 +89,7 @@ const styles = {
|
|
|
88
89
|
hamburger,
|
|
89
90
|
mobile_only,
|
|
90
91
|
mobile_logo,
|
|
92
|
+
highlight,
|
|
91
93
|
mobile_nav,
|
|
92
94
|
mobile_opened,
|
|
93
95
|
mobile_nav_item,
|
|
@@ -125,6 +127,7 @@ export {
|
|
|
125
127
|
header_sub_row,
|
|
126
128
|
headline,
|
|
127
129
|
headline_cta,
|
|
130
|
+
highlight,
|
|
128
131
|
icon_wrap,
|
|
129
132
|
inner_wrapper,
|
|
130
133
|
logo_wrap,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function SubNavBar(): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function SubNavBar(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Button } from "../../Button/Button.js";
|
|
4
4
|
import "../../Button/Button.css.js";
|
|
5
|
-
import { useRef, useState
|
|
5
|
+
import { useRef, useState } from "react";
|
|
6
6
|
import { useLocation } from "react-use";
|
|
7
7
|
import styles from "./NavBar.module.js";
|
|
8
8
|
import { sub_nav, absoule, dd_media, dd_media_btn } from "./SubNavbar.css.js";
|
|
9
9
|
function SubNavBar() {
|
|
10
10
|
const subNav1 = useRef(null);
|
|
11
11
|
const [isMouseOver, setIsMouseOver] = useState(false);
|
|
12
|
-
const [render, setIsrender] = useState(false);
|
|
13
|
-
const { pathname } = useLocation();
|
|
14
12
|
const mouseOver = () => {
|
|
15
13
|
setIsMouseOver(true);
|
|
16
14
|
};
|
|
@@ -20,103 +18,87 @@ function SubNavBar() {
|
|
|
20
18
|
const showSubNabVarOptions = () => {
|
|
21
19
|
setIsMouseOver(!isMouseOver);
|
|
22
20
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
21
|
+
const { pathname } = useLocation();
|
|
22
|
+
if (!(pathname == null ? void 0 : pathname.includes("/products"))) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
const date = /* @__PURE__ */ new Date();
|
|
26
|
+
const day = date.getDate();
|
|
27
|
+
const month = date.getMonth() + 1;
|
|
28
|
+
const year = date.getFullYear();
|
|
29
|
+
const currentDate = `${month}/${day}/${year}`;
|
|
30
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
31
|
+
/* @__PURE__ */ jsx("div", { className: `${styles.sub_nav} ${sub_nav} ${styles.desktop_only}`, children: /* @__PURE__ */ jsx("div", { className: styles.wrapper, children: /* @__PURE__ */ jsx("div", { className: styles.header_sub_row, children: /* @__PURE__ */ jsx("div", { className: "list_unstyled flex_row middle", children: /* @__PURE__ */ jsxs("ul", { className: "list_unstyled flex_row middle", children: [
|
|
32
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsxs(
|
|
33
|
+
"a",
|
|
34
|
+
{
|
|
35
|
+
href: "#",
|
|
36
|
+
id: "subNav1",
|
|
37
|
+
role: "menuitem",
|
|
38
|
+
onMouseEnter: mouseOver,
|
|
39
|
+
onClick: showSubNabVarOptions,
|
|
40
|
+
children: [
|
|
41
|
+
"Private Client",
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
"svg",
|
|
44
|
+
{
|
|
45
|
+
width: "15",
|
|
46
|
+
height: "12",
|
|
47
|
+
viewBox: "0 0 20 12",
|
|
48
|
+
fill: "none",
|
|
49
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
50
|
+
style: { marginLeft: "8px" },
|
|
51
|
+
children: /* @__PURE__ */ jsx(
|
|
52
|
+
"path",
|
|
44
53
|
{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
viewBox: "0 0 20 12",
|
|
48
|
-
fill: "none",
|
|
49
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
50
|
-
style: { marginLeft: "8px" },
|
|
51
|
-
children: /* @__PURE__ */ jsx(
|
|
52
|
-
"path",
|
|
53
|
-
{
|
|
54
|
-
d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
|
|
55
|
-
fill: "white"
|
|
56
|
-
}
|
|
57
|
-
)
|
|
54
|
+
d: "M0.46875 1.76574L9.99908 11.2961L19.5294 1.76574L18.4687 0.705078L9.99908 9.17491L1.52941 0.705078L0.46875 1.76574Z",
|
|
55
|
+
fill: "white"
|
|
58
56
|
}
|
|
59
57
|
)
|
|
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
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
role: "menuitem",
|
|
105
|
-
children: "Business Banking"
|
|
106
|
-
}
|
|
107
|
-
) }),
|
|
108
|
-
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(
|
|
109
|
-
"a",
|
|
110
|
-
{
|
|
111
|
-
href: "/products/mortgage",
|
|
112
|
-
id: "subNav4",
|
|
113
|
-
role: "menuitem",
|
|
114
|
-
children: "Mortgage"
|
|
115
|
-
}
|
|
116
|
-
) })
|
|
117
|
-
] }) }) }) })
|
|
118
|
-
}
|
|
119
|
-
),
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
) }),
|
|
63
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(
|
|
64
|
+
"a",
|
|
65
|
+
{
|
|
66
|
+
href: "/products/select-high-yield-money-market",
|
|
67
|
+
id: "subNav2",
|
|
68
|
+
role: "menuitem",
|
|
69
|
+
children: "Select High Yield Money Market"
|
|
70
|
+
}
|
|
71
|
+
) }),
|
|
72
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx("a", { href: "/products/select-cds", id: "subNav3", role: "menuitem", children: "Select CDs" }) }),
|
|
73
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(
|
|
74
|
+
"a",
|
|
75
|
+
{
|
|
76
|
+
href: "/products/select-checking",
|
|
77
|
+
id: "subNav4",
|
|
78
|
+
role: "menuitem",
|
|
79
|
+
children: "Select Checking"
|
|
80
|
+
}
|
|
81
|
+
) }),
|
|
82
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(
|
|
83
|
+
"a",
|
|
84
|
+
{
|
|
85
|
+
href: "/products/select-savings",
|
|
86
|
+
id: "subNav4",
|
|
87
|
+
role: "menuitem",
|
|
88
|
+
children: "Select Savings"
|
|
89
|
+
}
|
|
90
|
+
) }),
|
|
91
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx(
|
|
92
|
+
"a",
|
|
93
|
+
{
|
|
94
|
+
href: "/products/business-banking",
|
|
95
|
+
id: "subNav4",
|
|
96
|
+
role: "menuitem",
|
|
97
|
+
children: "Business Banking"
|
|
98
|
+
}
|
|
99
|
+
) }),
|
|
100
|
+
/* @__PURE__ */ jsx("li", { className: styles.sub_nav_link, children: /* @__PURE__ */ jsx("a", { href: "/products/mortgage", id: "subNav4", role: "menuitem", children: "Mortgage" }) })
|
|
101
|
+
] }) }) }) }) }),
|
|
120
102
|
isMouseOver && /* @__PURE__ */ jsx(
|
|
121
103
|
"div",
|
|
122
104
|
{
|
|
@@ -155,7 +137,7 @@ function SubNavBar() {
|
|
|
155
137
|
targetUrl: "tel:877-887-3030",
|
|
156
138
|
color: "tertiary",
|
|
157
139
|
"aria-controls": "signin-drop-menu",
|
|
158
|
-
children: "Call (877)
|
|
140
|
+
children: "Call (877) 887-3030"
|
|
159
141
|
}
|
|
160
142
|
) })
|
|
161
143
|
]
|
|
@@ -166,41 +148,29 @@ function SubNavBar() {
|
|
|
166
148
|
{
|
|
167
149
|
className: `${styles.dd_site_navs} ${styles.opacity} bg_white`,
|
|
168
150
|
children: [
|
|
169
|
-
/* @__PURE__ */ jsxs(
|
|
170
|
-
"
|
|
171
|
-
{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
viewBox: "0 0 20 20",
|
|
183
|
-
fill: "none",
|
|
184
|
-
children: /* @__PURE__ */ jsx(
|
|
185
|
-
"path",
|
|
186
|
-
{
|
|
187
|
-
d: "M10 1.25C14.8325 1.25 18.75 5.16751 18.75 10C18.75 14.8325 14.8325 18.75 10 18.75C5.16751 18.75 1.25 14.8325 1.25 10C1.25 5.16751 5.16751 1.25 10 1.25ZM10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5ZM10 13.125C10.5178 13.125 10.9375 13.5447 10.9375 14.0625C10.9375 14.5803 10.5178 15 10 15C9.48223 15 9.0625 14.5803 9.0625 14.0625C9.0625 13.5447 9.48223 13.125 10 13.125ZM10 5C11.5085 5 12.5 6.11546 12.5 7.5C12.5 8.19375 12.2463 8.61355 11.5601 9.3212L11.3794 9.50444L11.1007 9.79159C10.7846 10.1307 10.6575 10.3327 10.6306 10.5369L10.625 10.625V11.875H9.375V10.625L9.38039 10.4569C9.42029 9.85929 9.68587 9.45248 10.3149 8.80379L10.4956 8.62056L10.7743 8.33341C11.1355 7.94588 11.25 7.73736 11.25 7.5C11.25 6.77517 10.7832 6.25 10 6.25C9.36596 6.25 8.83162 6.86132 8.75852 7.38182L8.75 7.5H7.5L7.50649 7.33864C7.59696 6.20479 8.62337 5 10 5Z",
|
|
188
|
-
fill: "#4A5560"
|
|
189
|
-
}
|
|
190
|
-
)
|
|
191
|
-
}
|
|
192
|
-
),
|
|
193
|
-
/* @__PURE__ */ jsx(
|
|
194
|
-
"div",
|
|
151
|
+
/* @__PURE__ */ jsxs("div", { className: `${styles.headline} flex_row middle between`, children: [
|
|
152
|
+
/* @__PURE__ */ jsx("p", { role: "heading", children: "Discover the World of Premium Banking" }),
|
|
153
|
+
/* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
|
|
154
|
+
/* @__PURE__ */ jsx(
|
|
155
|
+
"svg",
|
|
156
|
+
{
|
|
157
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
158
|
+
width: "20",
|
|
159
|
+
height: "20",
|
|
160
|
+
viewBox: "0 0 20 20",
|
|
161
|
+
fill: "none",
|
|
162
|
+
children: /* @__PURE__ */ jsx(
|
|
163
|
+
"path",
|
|
195
164
|
{
|
|
196
|
-
|
|
197
|
-
|
|
165
|
+
d: "M10 1.25C14.8325 1.25 18.75 5.16751 18.75 10C18.75 14.8325 14.8325 18.75 10 18.75C5.16751 18.75 1.25 14.8325 1.25 10C1.25 5.16751 5.16751 1.25 10 1.25ZM10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5ZM10 13.125C10.5178 13.125 10.9375 13.5447 10.9375 14.0625C10.9375 14.5803 10.5178 15 10 15C9.48223 15 9.0625 14.5803 9.0625 14.0625C9.0625 13.5447 9.48223 13.125 10 13.125ZM10 5C11.5085 5 12.5 6.11546 12.5 7.5C12.5 8.19375 12.2463 8.61355 11.5601 9.3212L11.3794 9.50444L11.1007 9.79159C10.7846 10.1307 10.6575 10.3327 10.6306 10.5369L10.625 10.625V11.875H9.375V10.625L9.38039 10.4569C9.42029 9.85929 9.68587 9.45248 10.3149 8.80379L10.4956 8.62056L10.7743 8.33341C11.1355 7.94588 11.25 7.73736 11.25 7.5C11.25 6.77517 10.7832 6.25 10 6.25C9.36596 6.25 8.83162 6.86132 8.75852 7.38182L8.75 7.5H7.5L7.50649 7.33864C7.59696 6.20479 8.62337 5 10 5Z",
|
|
166
|
+
fill: "#4A5560"
|
|
198
167
|
}
|
|
199
168
|
)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
/* @__PURE__ */ jsx("div", { className: `${styles.headline_cta} ${styles.ml_8}`, children: /* @__PURE__ */ jsx("a", { href: "/contact-us", children: "Help & Support" }) })
|
|
172
|
+
] })
|
|
173
|
+
] }),
|
|
204
174
|
/* @__PURE__ */ jsx("hr", {}),
|
|
205
175
|
/* @__PURE__ */ jsx("div", { className: `${styles.site_lists} flex_row`, children: /* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
|
|
206
176
|
/* @__PURE__ */ jsx(
|
|
@@ -222,13 +192,7 @@ function SubNavBar() {
|
|
|
222
192
|
),
|
|
223
193
|
/* @__PURE__ */ jsxs("ul", { className: `${styles.ml_8} list_unstyled`, children: [
|
|
224
194
|
/* @__PURE__ */ jsx("li", { role: "heading", children: "Products" }),
|
|
225
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
226
|
-
"a",
|
|
227
|
-
{
|
|
228
|
-
href: "/products/premier-private-client-banking",
|
|
229
|
-
children: "Advisor Private Client Banking"
|
|
230
|
-
}
|
|
231
|
-
) }),
|
|
195
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "/products/premier-private-client-banking", children: "Advisor Private Client Banking" }) }),
|
|
232
196
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "/products/insureguard-for-advisor", children: "InsureGuard+" }) }),
|
|
233
197
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
234
198
|
"a",
|
|
@@ -241,7 +205,9 @@ function SubNavBar() {
|
|
|
241
205
|
] }) }),
|
|
242
206
|
/* @__PURE__ */ jsx("div", { className: `flex_row ${styles.dd_footer}`, children: /* @__PURE__ */ jsxs("p", { children: [
|
|
243
207
|
/* @__PURE__ */ jsx("sup", { children: "*" }),
|
|
244
|
-
" The Annual Percentage Yield (APY) is accurate as of
|
|
208
|
+
" The Annual Percentage Yield (APY) is accurate as of ",
|
|
209
|
+
currentDate,
|
|
210
|
+
"."
|
|
245
211
|
] }) })
|
|
246
212
|
]
|
|
247
213
|
}
|
|
@@ -249,7 +215,7 @@ function SubNavBar() {
|
|
|
249
215
|
] }) })
|
|
250
216
|
}
|
|
251
217
|
)
|
|
252
|
-
] })
|
|
218
|
+
] });
|
|
253
219
|
}
|
|
254
220
|
export {
|
|
255
221
|
SubNavBar as default
|
|
@@ -114,7 +114,7 @@ function NavBar() {
|
|
|
114
114
|
{
|
|
115
115
|
url: lastNavItem.url,
|
|
116
116
|
name: lastNavItem.name,
|
|
117
|
-
className: `link list_unstyled ${styles.main_nav_link}`,
|
|
117
|
+
className: `link list_unstyled ${styles.main_nav_link} ${styles.highlight}`,
|
|
118
118
|
isActive: activeIndex == navItems.length,
|
|
119
119
|
onClick: handleClick,
|
|
120
120
|
index: navItems.length
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NavBarAXA } from
|
|
2
|
-
export { default as NavBarAFS } from
|
|
1
|
+
export { default as NavBarAXA } from "./AxosAdvisor";
|
|
2
|
+
export { default as NavBarAFS } from "./AxosFiduciary";
|