@axos-web-dev/shared-components 2.2.19 → 2.2.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/ATMLocator/ATMLocator.d.ts +1 -1
- package/dist/Accordion/Accordion.d.ts +3 -3
- package/dist/Article/Article.d.ts +1 -1
- package/dist/Auth/ErrorAlert.d.ts +1 -1
- package/dist/Auth/Logout.d.ts +1 -1
- package/dist/Auth/SignInPassword.d.ts +1 -1
- package/dist/BulletItem/BulletItem.d.ts +1 -1
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/Button.js +4 -2
- package/dist/Button/GoBackButton.d.ts +1 -1
- package/dist/Calculators/Calculator.d.ts +1 -1
- package/dist/Carousel/index.d.ts +3 -3
- package/dist/Chatbot/Bubble.d.ts +1 -1
- package/dist/Chatbot/Chatbot.d.ts +1 -1
- package/dist/Chatbot/EllipsisAnimation.d.ts +1 -1
- package/dist/Chatbot/EllipsisIcon.d.ts +1 -1
- package/dist/Chevron/index.js +3 -0
- package/dist/Comparison/Comparison.d.ts +1 -1
- package/dist/Comparison/ComparisonSet.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
- package/dist/ExecutiveBio/Overlay.d.ts +1 -1
- package/dist/FaqAccordion/index.d.ts +5 -5
- package/dist/FdicCallout/index.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +4 -4
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.d.ts +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.d.ts +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -1
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplyNow.d.ts +1 -1
- package/dist/Forms/BoatMooringLocation.d.ts +1 -1
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDepositsACS.d.ts +1 -1
- package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +1 -1
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/ConstructionLendingDynamic.d.ts +1 -1
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +2 -2
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.js +2 -2
- package/dist/Forms/ContactUsLVF.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.js +2 -2
- package/dist/Forms/ContactUsSchwabAAS.d.ts +1 -1
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/CraPublicFile.js +2 -2
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailOnly.js +3 -3
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/HoneyPot/index.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +1 -1
- package/dist/Forms/MortgageWarehouseLending.d.ts +1 -1
- package/dist/Forms/MortgageWarehouseLending.js +2 -2
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/UserInformation.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/SuccesForm.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/HeroBanner/HeroBanner.d.ts +1 -1
- package/dist/HeroBanner/HeroVideoPoster.d.ts +1 -1
- package/dist/HeroBanner/LargeHeroBanner.d.ts +1 -1
- package/dist/Hyperlink/index.js +2 -2
- package/dist/IconBillboard/IconBillboard.d.ts +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
- package/dist/IconBillboard/sections/CallToActionSection.d.ts +1 -1
- package/dist/IconBillboard/sections/HeaderSection.d.ts +2 -2
- package/dist/IconBillboard/sections/IconSection.d.ts +1 -1
- package/dist/IconBillboard/sections/ItemsSection.d.ts +1 -1
- package/dist/IconBillboard/sections/LayoutSection.d.ts +1 -1
- package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageLink/ImageLink.d.ts +1 -1
- package/dist/ImageLink/ImageLinkSet.d.ts +1 -1
- package/dist/ImageLink/index.js +1 -1
- package/dist/ImageWrapper/ImageWrapper.d.ts +1 -1
- package/dist/Insight/Featured/CategorySelector.d.ts +2 -2
- package/dist/Insight/Featured/Featured.d.ts +2 -2
- package/dist/Insight/Featured/Header.d.ts +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.d.ts +1 -1
- package/dist/LoadingIndicator/index.d.ts +1 -1
- package/dist/MainHTML/index.d.ts +1 -1
- package/dist/Modal/Modal.js +1 -1
- package/dist/Modal/contextApi/store.d.ts +1 -1
- package/dist/Modal/contextApi/store.js +72 -17
- package/dist/NavigationMenu/AxosALTS/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +2 -2
- package/dist/NavigationMenu/AxosBank/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/index.js +1 -1
- package/dist/NavigationMenu/AxosClearing/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosClearing/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosFiduciary/index.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/index.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/index.js +1 -1
- package/dist/NavigationMenu/NavItem/index.d.ts +1 -1
- package/dist/NavigationMenu/Navbar.d.ts +1 -1
- package/dist/NavigationMenu/Navbar.js +2 -2
- package/dist/NavigationMenu/SignInNavButton.d.ts +3 -1
- package/dist/NavigationMenu/SignInNavButton.js +2 -2
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/SecondaryFooter/index.d.ts +1 -1
- package/dist/SetContainer/SetContainer.d.ts +1 -1
- package/dist/SocialMediaBar/iconsRepository.d.ts +14 -14
- package/dist/SocialMediaBar/iconsRepository.js +1 -1
- package/dist/SocialMediaBar/index.d.ts +1 -1
- package/dist/Tab/Tab.d.ts +1 -1
- package/dist/Tab/TabContainer.d.ts +1 -1
- package/dist/Table/Table.d.ts +5 -5
- package/dist/TextBlock/TextBlock.d.ts +1 -1
- package/dist/Topic/Topic.d.ts +4 -4
- package/dist/VideoTile/VideoInit.d.ts +1 -1
- package/dist/VideoWrapper/index.js +1 -1
- package/dist/WalnutIframe/index.d.ts +1 -1
- package/dist/icons/AxosX/Blue.d.ts +1 -1
- package/dist/icons/AxosX/index.d.ts +1 -1
- package/dist/icons/CheckCircle.d.ts +1 -1
- package/dist/icons/CheckCircleLight.d.ts +1 -1
- package/dist/icons/CheckIcon/index.d.ts +1 -1
- package/dist/icons/ChevronDown.d.ts +1 -1
- package/dist/icons/ChevronUp.d.ts +1 -1
- package/dist/icons/Clock/index.d.ts +1 -1
- package/dist/icons/EqualHousingLender.d.ts +1 -1
- package/dist/icons/Logos/AAS.d.ts +1 -1
- package/dist/icons/Logos/AFS.d.ts +1 -1
- package/dist/icons/Logos/AXA.d.ts +1 -1
- package/dist/icons/Logos/AXB.d.ts +1 -1
- package/dist/icons/Logos/AXC.d.ts +1 -1
- package/dist/icons/Logos/AXI.d.ts +1 -1
- package/dist/icons/Logos/AXOS.d.ts +1 -1
- package/dist/icons/Logos/GBLVF.d.ts +1 -1
- package/dist/icons/Logos/LVF.d.ts +1 -1
- package/dist/icons/Logos/LVFText.d.ts +1 -1
- package/dist/icons/Logos/SPB.d.ts +1 -1
- package/dist/icons/MemberFdicLogo.d.ts +1 -1
- package/dist/icons/QuoteIconGrey.d.ts +1 -1
- package/dist/icons/QuoteIconWhite.d.ts +1 -1
- package/dist/icons/QuoteIconYellow.d.ts +1 -1
- package/dist/main.js +3 -1
- package/dist/utils/appendQueryParams.d.ts +3 -1
- package/dist/utils/appendQueryParams.js +66 -66
- package/dist/utils/index.js +3 -1
- package/dist/utils/tealiumOrganicFallback.d.ts +21 -0
- package/dist/utils/tealiumOrganicFallback.js +26 -0
- package/package.json +1 -1
|
@@ -6,4 +6,4 @@ export interface FooterItem {
|
|
|
6
6
|
export interface SecondaryFooterProps {
|
|
7
7
|
items: FooterItem[];
|
|
8
8
|
}
|
|
9
|
-
export declare const SecondaryFooter: (props: SecondaryFooterProps) => import("react
|
|
9
|
+
export declare const SecondaryFooter: (props: SecondaryFooterProps) => import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface SetContainerProps extends Omit<ImageBillboardSetProps, "imageBi
|
|
|
11
11
|
numberOfColumns?: string;
|
|
12
12
|
additionalDetails?: ReactNode | string;
|
|
13
13
|
}
|
|
14
|
-
export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, className, numberOfColumns, layout, }: SetContainerProps) => import("react
|
|
14
|
+
export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, className, numberOfColumns, layout, }: SetContainerProps) => import("react").JSX.Element;
|
|
@@ -2,43 +2,43 @@ import { UrlResolver } from '../utils/allowedAxosDomains';
|
|
|
2
2
|
|
|
3
3
|
export declare const BusinessWire: ({ resolveUrl }: {
|
|
4
4
|
resolveUrl: UrlResolver;
|
|
5
|
-
}) => import("react
|
|
5
|
+
}) => import("react").JSX.Element;
|
|
6
6
|
export declare const Facebook: ({ resolveUrl }: {
|
|
7
7
|
resolveUrl: UrlResolver;
|
|
8
|
-
}) => import("react
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
9
|
export declare const FacebookLVF: ({ resolveUrl }: {
|
|
10
10
|
resolveUrl: UrlResolver;
|
|
11
|
-
}) => import("react
|
|
11
|
+
}) => import("react").JSX.Element;
|
|
12
12
|
export declare const Glassdoor: ({ resolveUrl }: {
|
|
13
13
|
resolveUrl: UrlResolver;
|
|
14
|
-
}) => import("react
|
|
14
|
+
}) => import("react").JSX.Element;
|
|
15
15
|
export declare const Indeed: ({ resolveUrl }: {
|
|
16
16
|
resolveUrl: UrlResolver;
|
|
17
|
-
}) => import("react
|
|
17
|
+
}) => import("react").JSX.Element;
|
|
18
18
|
export declare const Instagram: ({ resolveUrl }: {
|
|
19
19
|
resolveUrl: UrlResolver;
|
|
20
|
-
}) => import("react
|
|
20
|
+
}) => import("react").JSX.Element;
|
|
21
21
|
export declare const InstagramLVF: ({ resolveUrl }: {
|
|
22
22
|
resolveUrl: UrlResolver;
|
|
23
|
-
}) => import("react
|
|
23
|
+
}) => import("react").JSX.Element;
|
|
24
24
|
export declare const LinkedIn: ({ resolveUrl }: {
|
|
25
25
|
resolveUrl: UrlResolver;
|
|
26
|
-
}) => import("react
|
|
26
|
+
}) => import("react").JSX.Element;
|
|
27
27
|
export declare const LinkedInLVF: ({ resolveUrl }: {
|
|
28
28
|
resolveUrl: UrlResolver;
|
|
29
|
-
}) => import("react
|
|
29
|
+
}) => import("react").JSX.Element;
|
|
30
30
|
export declare const Libsyn: ({ resolveUrl }: {
|
|
31
31
|
resolveUrl: UrlResolver;
|
|
32
|
-
}) => import("react
|
|
32
|
+
}) => import("react").JSX.Element;
|
|
33
33
|
export declare const Pinterest: ({ resolveUrl }: {
|
|
34
34
|
resolveUrl: UrlResolver;
|
|
35
|
-
}) => import("react
|
|
35
|
+
}) => import("react").JSX.Element;
|
|
36
36
|
export declare const Spotify: ({ resolveUrl }: {
|
|
37
37
|
resolveUrl: UrlResolver;
|
|
38
|
-
}) => import("react
|
|
38
|
+
}) => import("react").JSX.Element;
|
|
39
39
|
export declare const Youtube: ({ resolveUrl }: {
|
|
40
40
|
resolveUrl: UrlResolver;
|
|
41
|
-
}) => import("react
|
|
41
|
+
}) => import("react").JSX.Element;
|
|
42
42
|
export declare const Xtwitter: ({ resolveUrl }: {
|
|
43
43
|
resolveUrl: UrlResolver;
|
|
44
|
-
}) => import("react
|
|
44
|
+
}) => import("react").JSX.Element;
|
|
@@ -9,8 +9,8 @@ import '../assets/VideoWrapper/VideoWrapper.css';import '../assets/TopicalNavSet
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
|
-
import "clsx";
|
|
13
12
|
import "react";
|
|
13
|
+
import "clsx";
|
|
14
14
|
import "../Chevron/Chevron.css.js";
|
|
15
15
|
import "../AlertBanner/AlertBanner.css.js";
|
|
16
16
|
import "../Article/Article.css.js";
|
package/dist/Tab/Tab.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export interface TabProps {
|
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
variant: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const Tab: ({ id, headline, className, onClick, variant, }: TabProps) => import("react
|
|
10
|
+
export declare const Tab: ({ id, headline, className, onClick, variant, }: TabProps) => import("react").JSX.Element;
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
|
|
3
3
|
|
|
4
|
-
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, internalName, id, icon, variant, }: TableContainerProps) => import("react
|
|
5
|
-
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, style, className, tableAriaLabel, }: TableProps) => import("react
|
|
6
|
-
export declare const TableRow: ({ children, ...props }: RowProps) => import("react
|
|
7
|
-
export declare const TableHead: ({ children }: PropsWithChildren) => import("react
|
|
8
|
-
export declare const TableBody: ({ children }: PropsWithChildren) => import("react
|
|
4
|
+
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, internalName, id, icon, variant, }: TableContainerProps) => import("react").JSX.Element;
|
|
5
|
+
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, style, className, tableAriaLabel, }: TableProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const TableRow: ({ children, ...props }: RowProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const TableHead: ({ children }: PropsWithChildren) => import("react").JSX.Element;
|
|
8
|
+
export declare const TableBody: ({ children }: PropsWithChildren) => import("react").JSX.Element;
|
|
9
9
|
export declare const TableCell: ({ children, as, variant, highlighted, colSpan, ...props }: CellProps) => import('react').DetailedReactHTMLElement<{
|
|
10
10
|
colSpan: number | undefined;
|
|
11
11
|
className: string;
|
package/dist/Topic/Topic.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
3
|
export type Topic = PropsWithChildren;
|
|
4
|
-
export declare const Topic: ({ children }: Topic) =>
|
|
4
|
+
export declare const Topic: ({ children }: Topic) => React.JSX.Element;
|
|
5
5
|
export type TopicHeader = {
|
|
6
6
|
As?: "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "a";
|
|
7
7
|
title?: React.ReactNode;
|
|
8
8
|
} & PropsWithChildren;
|
|
9
|
-
export declare const TopicHeader: (props: TopicHeader) =>
|
|
9
|
+
export declare const TopicHeader: (props: TopicHeader) => React.JSX.Element;
|
|
10
10
|
export declare const TopicContent: (props: {
|
|
11
11
|
url?: string;
|
|
12
12
|
title?: string;
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
-
}) =>
|
|
14
|
+
}) => React.JSX.Element;
|
|
15
15
|
export declare const TopicItem: (props: {
|
|
16
16
|
url?: string;
|
|
17
17
|
title?: string;
|
|
18
18
|
children: React.ReactNode;
|
|
19
|
-
}) =>
|
|
19
|
+
}) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VideoInit: () => import("react
|
|
1
|
+
export declare const VideoInit: () => import("react").JSX.Element;
|
|
@@ -10,8 +10,8 @@ import '../assets/TopicalNavSet/TopicalNavSet.css';import '../assets/TopicalNavI
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { getVariant } from "../utils/getVariant.js";
|
|
13
|
-
import clsx from "clsx";
|
|
14
13
|
import "react";
|
|
14
|
+
import clsx from "clsx";
|
|
15
15
|
import "../Chevron/Chevron.css.js";
|
|
16
16
|
import "../AlertBanner/AlertBanner.css.js";
|
|
17
17
|
import "../Article/Article.css.js";
|
|
@@ -2,5 +2,5 @@ type WalnutProps = {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
sourceUrl?: string;
|
|
4
4
|
};
|
|
5
|
-
declare const WalnutIframe: ({ id, sourceUrl }: WalnutProps) => import("react
|
|
5
|
+
declare const WalnutIframe: ({ id, sourceUrl }: WalnutProps) => import("react").JSX.Element;
|
|
6
6
|
export default WalnutIframe;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
import { CheckColorVariant } from './CheckIcon/CheckIcon.css';
|
|
3
3
|
|
|
4
|
-
declare const SvgCheckCircle: (props: SVGProps<SVGSVGElement> & CheckColorVariant) => import("react
|
|
4
|
+
declare const SvgCheckCircle: (props: SVGProps<SVGSVGElement> & CheckColorVariant) => import("react").JSX.Element;
|
|
5
5
|
export default SvgCheckCircle;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgCheckCircleLight: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgCheckCircleLight: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgCheckCircleLight;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CheckColorVariant } from './CheckIcon.css';
|
|
2
2
|
|
|
3
|
-
declare const SvgCheckIcon: (props: CheckColorVariant) => import("react
|
|
3
|
+
declare const SvgCheckIcon: (props: CheckColorVariant) => import("react").JSX.Element;
|
|
4
4
|
export default SvgCheckIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgChevronDown: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgChevronDown: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgChevronDown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgEqualHousingLender: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgEqualHousingLender: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgEqualHousingLender;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgMemberFdicLogo: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgMemberFdicLogo: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgMemberFdicLogo;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgQuoteIconGrey: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgQuoteIconGrey: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgQuoteIconGrey;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgQuoteIconWhite: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgQuoteIconWhite: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgQuoteIconWhite;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
|
|
3
|
-
declare const SvgQuoteIconYellow: (props: SVGProps<SVGSVGElement>) => import("react
|
|
3
|
+
declare const SvgQuoteIconYellow: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
4
4
|
export default SvgQuoteIconYellow;
|
package/dist/main.js
CHANGED
|
@@ -211,7 +211,7 @@ import { VideoWrapper } from "./VideoWrapper/index.js";
|
|
|
211
211
|
import { Tab } from "./Tab/Tab.js";
|
|
212
212
|
import { TabContainer } from "./Tab/TabContainer.js";
|
|
213
213
|
import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
|
|
214
|
-
import { appendQueryParams } from "./utils/appendQueryParams.js";
|
|
214
|
+
import { appendQueryParams, filterParams, handleAnchorClick } from "./utils/appendQueryParams.js";
|
|
215
215
|
import { createCachedEmailValidator } from "./utils/emailValidation.js";
|
|
216
216
|
import { associatedEmail } from "./utils/EverestValidity.js";
|
|
217
217
|
import { getVariant, getVariantWithRegex } from "./utils/getVariant.js";
|
|
@@ -583,6 +583,7 @@ export {
|
|
|
583
583
|
featured_subgrid_title,
|
|
584
584
|
featured_supertag,
|
|
585
585
|
featured_title,
|
|
586
|
+
filterParams,
|
|
586
587
|
findMoreAxosDomains,
|
|
587
588
|
flexColumn,
|
|
588
589
|
footerDisclosure,
|
|
@@ -612,6 +613,7 @@ export {
|
|
|
612
613
|
getMoreDomains,
|
|
613
614
|
getVariant,
|
|
614
615
|
getVariantWithRegex,
|
|
616
|
+
handleAnchorClick,
|
|
615
617
|
header,
|
|
616
618
|
headerAccordion,
|
|
617
619
|
headerCell,
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const filterParams: (href: string, currentSearch?: string) => string;
|
|
2
|
+
export declare const handleAnchorClick: (e: MouseEvent | React.MouseEvent, resolved: string) => boolean;
|
|
3
|
+
export declare const appendQueryParams: (currentSearch?: string) => void;
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
for (const key of existingParams.keys()) {
|
|
14
|
-
addedKeys.add(decodeURIComponent(key));
|
|
15
|
-
}
|
|
1
|
+
const filterParams = (href, currentSearch) => {
|
|
2
|
+
if (typeof window === "undefined") return href;
|
|
3
|
+
try {
|
|
4
|
+
if (!href || href.startsWith("tel:") || href.startsWith("mailto:") || href === "#" || href === "") {
|
|
5
|
+
return href;
|
|
6
|
+
}
|
|
7
|
+
const search = currentSearch ?? window.location.search;
|
|
8
|
+
const searchParams = new URLSearchParams(search);
|
|
9
|
+
const base = window.location.href;
|
|
10
|
+
const url = new URL(href, base);
|
|
11
|
+
if (url.pathname === window.location.pathname && url.hash) {
|
|
12
|
+
const existingInHash = new URLSearchParams(url.search);
|
|
16
13
|
for (const [key, value] of searchParams.entries()) {
|
|
17
|
-
const decodedKey = decodeURIComponent(key);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
if (!addedKeys.has(lowerKey) && !decodedKey.includes("[]")) {
|
|
21
|
-
newParams.append(lowerKey, decodedValue);
|
|
22
|
-
addedKeys.add(lowerKey);
|
|
23
|
-
} else if (decodedKey.includes("[]")) {
|
|
24
|
-
const existingValues = existingParams.getAll(key).map(decodeURIComponent);
|
|
25
|
-
if (!existingValues.includes(decodedValue)) {
|
|
26
|
-
newParams.append(decodedKey, decodedValue);
|
|
27
|
-
}
|
|
14
|
+
const decodedKey = decodeURIComponent(key).toLowerCase();
|
|
15
|
+
if (!existingInHash.has(decodedKey) && !decodedKey.includes("[]")) {
|
|
16
|
+
existingInHash.set(decodedKey, decodeURIComponent(value));
|
|
28
17
|
}
|
|
29
18
|
}
|
|
30
|
-
|
|
31
|
-
newParams.forEach((value, key) => mergedParams.append(key, value));
|
|
32
|
-
return `${url.origin}${url.pathname}?${mergedParams.toString()}${url.hash}`;
|
|
33
|
-
} catch (e) {
|
|
34
|
-
console.error(e);
|
|
35
|
-
return href;
|
|
19
|
+
return `?${existingInHash.toString()}${url.hash}`;
|
|
36
20
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const href = anchor.getAttribute("href")?.trim();
|
|
43
|
-
if (!href || href.startsWith("tel:") || href.startsWith("mailto:") || href === "#" || href === "" || href.startsWith("#"))
|
|
44
|
-
return;
|
|
45
|
-
const base = window.location.origin + window.location.pathname + window.location.search;
|
|
46
|
-
const url = new URL(href, base);
|
|
47
|
-
if (url.origin !== currentOrigin || url.pathname !== currentPathname)
|
|
48
|
-
return;
|
|
49
|
-
e.preventDefault();
|
|
50
|
-
e.stopImmediatePropagation();
|
|
51
|
-
const merged = filterParams(href, window.location.search);
|
|
52
|
-
const mergedUrl = new URL(merged, window.location.origin);
|
|
53
|
-
const fullUrl = `${mergedUrl.pathname}${mergedUrl.search}${mergedUrl.hash}`;
|
|
54
|
-
window.history.replaceState({ ...window.history.state }, "", fullUrl);
|
|
55
|
-
window.dispatchEvent(
|
|
56
|
-
new PopStateEvent("popstate", { state: window.history.state })
|
|
57
|
-
);
|
|
58
|
-
if (mergedUrl.hash) {
|
|
59
|
-
const el = document.querySelector(mergedUrl.hash);
|
|
60
|
-
el?.scrollIntoView({ behavior: "smooth" });
|
|
21
|
+
const existingParams = new URLSearchParams(url.search);
|
|
22
|
+
const newParams = new URLSearchParams();
|
|
23
|
+
const addedKeys = /* @__PURE__ */ new Set();
|
|
24
|
+
for (const key of existingParams.keys()) {
|
|
25
|
+
addedKeys.add(decodeURIComponent(key));
|
|
61
26
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
27
|
+
for (const [key, value] of searchParams.entries()) {
|
|
28
|
+
const decodedKey = decodeURIComponent(key);
|
|
29
|
+
const decodedValue = decodeURIComponent(value);
|
|
30
|
+
const lowerKey = decodedKey.toLowerCase();
|
|
31
|
+
if (!addedKeys.has(lowerKey) && !decodedKey.includes("[]")) {
|
|
32
|
+
newParams.append(lowerKey, decodedValue);
|
|
33
|
+
addedKeys.add(lowerKey);
|
|
34
|
+
} else if (decodedKey.includes("[]")) {
|
|
35
|
+
const existingValues = existingParams.getAll(key).map(decodeURIComponent);
|
|
36
|
+
if (!existingValues.includes(decodedValue)) {
|
|
37
|
+
newParams.append(decodedKey, decodedValue);
|
|
38
|
+
}
|
|
70
39
|
}
|
|
71
|
-
}
|
|
40
|
+
}
|
|
41
|
+
const mergedParams = new URLSearchParams(existingParams);
|
|
42
|
+
newParams.forEach((value, key) => mergedParams.append(key, value));
|
|
43
|
+
return `${url.origin}${url.pathname}?${mergedParams.toString()}${url.hash}`;
|
|
44
|
+
} catch (e) {
|
|
45
|
+
console.error(e);
|
|
46
|
+
return href;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const handleAnchorClick = (e, resolved) => {
|
|
50
|
+
if (resolved.includes("#") && !resolved.startsWith("http")) {
|
|
51
|
+
e.preventDefault();
|
|
52
|
+
const hash = resolved.split("#")[1];
|
|
53
|
+
const fullUrl = new URL(resolved, window.location.href);
|
|
54
|
+
window.history.pushState(null, "", fullUrl.search + fullUrl.hash);
|
|
55
|
+
window.dispatchEvent(new PopStateEvent("popstate"));
|
|
56
|
+
document.getElementById(hash)?.scrollIntoView({ behavior: "smooth" });
|
|
57
|
+
return true;
|
|
72
58
|
}
|
|
59
|
+
return false;
|
|
60
|
+
};
|
|
61
|
+
const appendQueryParams = (currentSearch) => {
|
|
62
|
+
const search = currentSearch ?? window.location.search;
|
|
63
|
+
if (!search.length) return;
|
|
64
|
+
const searchParams = new URLSearchParams(search);
|
|
65
|
+
document.querySelectorAll("a[href]:not(.ext-link)").forEach((anchor) => {
|
|
66
|
+
const href = anchor.getAttribute("href")?.trim();
|
|
67
|
+
if (href && !href.startsWith("tel:") && !href.startsWith("mailto:") && href !== "#" && href !== "" && !href.startsWith("#")) {
|
|
68
|
+
anchor.href = filterParams(href, searchParams.toString());
|
|
69
|
+
}
|
|
70
|
+
});
|
|
73
71
|
};
|
|
74
72
|
export {
|
|
75
|
-
appendQueryParams
|
|
73
|
+
appendQueryParams,
|
|
74
|
+
filterParams,
|
|
75
|
+
handleAnchorClick
|
|
76
76
|
};
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./allowedAxosDomains.js";
|
|
3
|
-
import { appendQueryParams } from "./appendQueryParams.js";
|
|
3
|
+
import { appendQueryParams, filterParams, handleAnchorClick } from "./appendQueryParams.js";
|
|
4
4
|
import { createCachedEmailValidator } from "./emailValidation.js";
|
|
5
5
|
import { associatedEmail } from "./EverestValidity.js";
|
|
6
6
|
import { getVariant, getVariantWithRegex } from "./getVariant.js";
|
|
@@ -14,10 +14,12 @@ export {
|
|
|
14
14
|
columnValues,
|
|
15
15
|
createCachedEmailValidator,
|
|
16
16
|
createCachedNMLSValidator,
|
|
17
|
+
filterParams,
|
|
17
18
|
findMoreAxosDomains,
|
|
18
19
|
getMoreDomains,
|
|
19
20
|
getVariant,
|
|
20
21
|
getVariantWithRegex,
|
|
22
|
+
handleAnchorClick,
|
|
21
23
|
isAbsoluteUrl,
|
|
22
24
|
isAllowedUrl,
|
|
23
25
|
isEmailLink,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface UtagData {
|
|
2
|
+
traffic_type?: string;
|
|
3
|
+
traffic_source?: string;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface Window {
|
|
8
|
+
utag?: {
|
|
9
|
+
data: UtagData;
|
|
10
|
+
};
|
|
11
|
+
utag_data?: UtagData;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface OrganicUtms {
|
|
15
|
+
utm_source: string;
|
|
16
|
+
utm_medium: string;
|
|
17
|
+
utm_campaign: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const getTealiumOrganicFallback: () => OrganicUtms | null;
|
|
20
|
+
export declare const hasNoUtms: (params: URLSearchParams) => boolean;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const getTealiumOrganicFallback = () => {
|
|
2
|
+
if (typeof window === "undefined") return null;
|
|
3
|
+
try {
|
|
4
|
+
const utagData = window.utag?.data ?? window.utag_data ?? {};
|
|
5
|
+
const trafficType = utagData.traffic_type ?? "";
|
|
6
|
+
const trafficSource = utagData.traffic_source ?? "";
|
|
7
|
+
if (trafficType !== "organic" || !trafficSource) return null;
|
|
8
|
+
let sourceName = trafficSource;
|
|
9
|
+
try {
|
|
10
|
+
sourceName = new URL(trafficSource).hostname.replace(/^www\./, "").split(".")[0];
|
|
11
|
+
} catch (_) {
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
utm_source: sourceName,
|
|
15
|
+
utm_medium: "organic",
|
|
16
|
+
utm_campaign: "organic-search"
|
|
17
|
+
};
|
|
18
|
+
} catch {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
const hasNoUtms = (params) => !params.has("utm_source") && !params.has("utm_medium") && !params.has("utm_campaign") && !params.has("utm_content") && !params.has("utm_term");
|
|
23
|
+
export {
|
|
24
|
+
getTealiumOrganicFallback,
|
|
25
|
+
hasNoUtms
|
|
26
|
+
};
|