@axos-web-dev/shared-components 1.0.101-dev.1 → 2.0.0-dev.2
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.js +3 -8
- package/dist/Article/Article.d.ts +2 -2
- package/dist/Article/Article.js +13 -2
- package/dist/Auth/ErrorAlert.js +4 -9
- package/dist/Auth/SignInPassword.js +0 -1
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/BulletItem/BulletItem.js +0 -1
- package/dist/Button/Button.js +3 -9
- package/dist/Calculators/AnnualFeeCalculator/index.js +0 -1
- package/dist/Calculators/ApyCalculator/index.js +3 -1
- package/dist/Calculators/AxosOneCalculator/index.js +16 -9
- package/dist/Calculators/BalanceAPYCalculator/index.js +0 -1
- package/dist/Calculators/BuyDownCalculator/index.js +0 -1
- package/dist/Calculators/Calculator.js +0 -5
- package/dist/Calculators/MarginTradingCalculator/index.js +119 -2
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +0 -1
- package/dist/Calculators/MaxLoanCalculator/index.js +0 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +0 -1
- package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +0 -1
- package/dist/Calculators/SummitApyCalculator/index.js +3 -2
- package/dist/Carousel/index.js +10 -12
- package/dist/Chatbot/Bubble.js +1 -1
- package/dist/Chatbot/Chat.js +0 -7
- package/dist/Chatbot/ChatWindow.d.ts +2 -0
- package/dist/Chatbot/ChatWindow.js +27 -14
- package/dist/Chatbot/Chatbot.d.ts +1 -1
- package/dist/Chatbot/Chatbot.js +118 -13
- package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
- package/dist/Chatbot/ChatbotMessage.js +42 -22
- package/dist/Chatbot/store/chat.d.ts +6 -0
- package/dist/Chatbot/store/chat.js +14 -2
- package/dist/Chatbot/store/messages.d.ts +1 -0
- package/dist/Chatbot/store/messages.js +5 -2
- package/dist/Chevron/index.js +2 -8
- package/dist/Comparison/Comparison.js +3 -8
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +51 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.js +48 -46
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +3 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +142 -151
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -2
- package/dist/ExecutiveBio/ExecutiveBioSet.js +29 -16
- package/dist/ExecutiveBio/index.js +2 -1
- package/dist/FaqAccordion/index.js +3 -8
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +83 -184
- package/dist/Forms/ApplicationStart.js +0 -1
- package/dist/Forms/ApplyNow.js +1 -6
- package/dist/Forms/BoatMooringLocation.js +0 -1
- package/dist/Forms/ClearingForm.js +0 -1
- package/dist/Forms/CommercialDeposits.js +0 -1
- package/dist/Forms/CommercialDepositsNoLendingOption.js +0 -1
- package/dist/Forms/CommercialLending.js +3 -2
- package/dist/Forms/CommercialPremiumFinance.js +0 -1
- package/dist/Forms/ConstructionLendingDynamic.d.ts +12 -0
- package/dist/Forms/ConstructionLendingDynamic.js +324 -0
- package/dist/Forms/ContactCompany.js +0 -1
- package/dist/Forms/ContactCompanyTitle.js +0 -1
- package/dist/Forms/ContactUs.js +0 -1
- package/dist/Forms/ContactUsAAS.js +0 -1
- package/dist/Forms/ContactUsBusiness.js +3 -8
- package/dist/Forms/ContactUsBusinessNameEmail.js +3 -8
- package/dist/Forms/ContactUsLVF.js +0 -1
- package/dist/Forms/ContactUsNMLSId.js +3 -8
- package/dist/Forms/CpraRequest.js +100 -3
- package/dist/Forms/CraPublicFile.js +3 -8
- package/dist/Forms/DealerServices.js +0 -1
- package/dist/Forms/EmailOnly.js +10 -10
- package/dist/Forms/EmailUs.js +0 -1
- package/dist/Forms/FormEnums.js +1 -3
- package/dist/Forms/Forms.css.d.ts +1 -1
- package/dist/Forms/Forms.css.js +3 -3
- package/dist/Forms/HoneyPot/index.js +0 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +4 -9
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +3 -8
- package/dist/Forms/MortgageWarehouseLending.js +3 -8
- package/dist/Forms/QuickPricer/QuickPricerForm.js +0 -1
- package/dist/Forms/ScheduleCall.js +0 -1
- package/dist/Forms/ScheduleCallPremier.js +0 -1
- package/dist/Forms/SuccesForm.js +3 -8
- package/dist/Forms/VendorQuestionnaire.js +0 -1
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +2 -1
- package/dist/Hyperlink/index.js +6 -10
- package/dist/IconBillboard/IconBillboard.css.d.ts +1 -0
- package/dist/IconBillboard/IconBillboard.css.js +11 -9
- package/dist/IconBillboard/index.js +2 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +14 -8
- package/dist/ImageLink/ImageLink.js +3 -8
- package/dist/ImageLink/ImageLinkSet.js +3 -8
- package/dist/ImageLink/index.js +1 -6
- package/dist/Insight/Featured/CategorySelector.js +1 -6
- package/dist/Insight/Featured/Featured.js +3 -8
- package/dist/Insight/Featured/Header.js +3 -8
- package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +19 -1
- package/dist/LandingPageHeader/LandingPageHeader.css.js +6 -6
- package/dist/LandingPageHeader/LandingPageHeader.d.ts +3 -1
- package/dist/LandingPageHeader/LandingPageHeader.js +42 -16
- package/dist/LoadingIndicator/index.js +0 -1
- package/dist/Modal/Modal.js +1 -6
- package/dist/Modal/contextApi/store.d.ts +16 -2
- package/dist/Modal/contextApi/store.js +37 -6
- package/dist/NavigationMenu/AxosALTS/NavData.d.ts +7 -1
- package/dist/NavigationMenu/AxosALTS/NavData.js +6 -137
- package/dist/NavigationMenu/AxosALTS/index.js +10 -12
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +0 -1
- package/dist/NavigationMenu/AxosAdvisor/index.js +0 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.js +0 -1
- package/dist/NavigationMenu/AxosAdvisorServices/index.js +0 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +341 -73
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +50 -17
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +20 -6
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +211 -355
- package/dist/NavigationMenu/AxosBank/NavData.d.ts +39 -2
- package/dist/NavigationMenu/AxosBank/NavData.js +34 -166
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +199 -220
- package/dist/NavigationMenu/AxosBank/index.js +16 -43
- package/dist/NavigationMenu/AxosClearing/index.js +0 -1
- package/dist/NavigationMenu/LaVictoire/NavData.d.ts +13 -2
- package/dist/NavigationMenu/LaVictoire/NavData.js +14 -146
- package/dist/NavigationMenu/LaVictoire/SubNavBar.js +4 -1
- package/dist/NavigationMenu/LaVictoire/index.js +16 -41
- package/dist/NavigationMenu/Navbar.js +4 -5
- package/dist/NavigationMenu/SignInNavButton.js +16 -24
- package/dist/SetContainer/SetContainer.js +4 -9
- package/dist/SocialMediaBar/iconsRepository.d.ts +44 -14
- package/dist/SocialMediaBar/iconsRepository.js +28 -37
- package/dist/SocialMediaBar/index.js +3 -1
- package/dist/Tab/Tab.js +0 -1
- package/dist/Table/Table.js +0 -1
- package/dist/VideoTile/VideoTile.js +0 -5
- package/dist/VideoWrapper/index.js +0 -5
- package/dist/assets/Blockquote/Blockquote.css +72 -72
- package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +1 -1
- package/dist/assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css +2 -2
- package/dist/assets/Calculators/SummitApyCalculator/BalanceAPYCalculator.css +1 -1
- package/dist/assets/Carousel/Carousel.css +1 -1
- package/dist/assets/Chatbot/AnimatedGradientBorder.css +2 -1
- package/dist/assets/Chatbot/ChatWindow.css +16 -8
- package/dist/assets/DownloadTile/DownloadTile.css +2 -2
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +281 -171
- package/dist/assets/Forms/Forms.css +29 -25
- package/dist/assets/HelpArticle/HelpArticle.css +2 -2
- package/dist/assets/IconBillboard/IconBillboard.css +35 -28
- package/dist/assets/Inputs/Input.css +1 -1
- package/dist/assets/Insight/Featured/CategorySelector.css +1 -1
- package/dist/assets/Insight/Insight.css +4 -4
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +28 -15
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -192
- package/dist/assets/Topic/Topic.css +1 -1
- package/dist/assets/Typography/Typography.css +1 -1
- package/dist/assets/VideoTile/VideoTile.css +1 -1
- package/dist/assets/globals.css +24 -14
- package/dist/main.js +8 -3
- package/dist/utils/allowedAxosDomains.d.ts +5 -2
- package/dist/utils/allowedAxosDomains.js +50 -47
- package/dist/utils/appendQueryParams.js +36 -5
- package/dist/utils/index.js +2 -1
- package/dist/utils/validateExternalLinks.d.ts +1 -1
- package/dist/utils/validateExternalLinks.js +4 -6
- package/package.json +148 -145
- package/dist/NavigationMenu/NavDataJson.d.ts +0 -2
- package/dist/NavigationMenu/NavDataJson.js +0 -317
package/dist/main.js
CHANGED
|
@@ -52,7 +52,7 @@ import { ComparisonSet } from "./Comparison/ComparisonSet.js";
|
|
|
52
52
|
import { ContentBanner } from "./ContentBanner/index.js";
|
|
53
53
|
import { DownloadTile } from "./DownloadTile/index.js";
|
|
54
54
|
import { ExecutiveBio } from "./ExecutiveBio/ExecutiveBio.js";
|
|
55
|
-
import { bio_section_text, bulletsHeadline, bulletsWrapper, ceoContainer, ceoContent, ceoHeader, ceoImgWrapper, ceoMedia, ceoPersonalInfo, ceoSection, ceoWrapper, ceo_body, ceo_contacts, ceo_name, ceo_quote, ceo_title, components, contact_col, contact_entry, contacts, copy, description, details, executive_bio, flexColumn, header_theme, headline_setting, headshot, highlights, hover, imgAlignment, img_area, item_bio, job_title, media, order_3, overlay, padding, person, section_theme, shift, social, stroke_color, svg_color, svg_icon, tooltip, url_row } from "./ExecutiveBio/ExecutiveBio.css.js";
|
|
55
|
+
import { bio_section_text, bulletsHeadline, bulletsWrapper, ceoContainer, ceoContent, ceoHeader, ceoImgWrapper, ceoMedia, ceoPersonalInfo, ceoSection, ceoWrapper, ceo_body, ceo_contacts, ceo_name, ceo_quote, ceo_title, compact, components, contact_col, contact_entry, contacts, copy, description, details, executive_bio, flexColumn, header_theme, headline_setting, headshot, highlights, hover, imgAlignment, img_area, item_bio, job_title, media, order_3, overlay, padding, person, section_theme, shift, social, stroke_color, svg_color, svg_icon, tooltip, url_row } from "./ExecutiveBio/ExecutiveBio.css.js";
|
|
56
56
|
import { ExecutiveBioSet } from "./ExecutiveBio/ExecutiveBioSet.js";
|
|
57
57
|
import { AccordionCtas, AccordionItem, AccordionItemContent, AccordionItemSummary, FaqAccordion } from "./FaqAccordion/index.js";
|
|
58
58
|
import { FdicBanner } from "./FdicCallout/index.js";
|
|
@@ -70,6 +70,7 @@ import { CommercialDeposits } from "./Forms/CommercialDeposits.js";
|
|
|
70
70
|
import { CommercialDepositsNoLendingOption } from "./Forms/CommercialDepositsNoLendingOption.js";
|
|
71
71
|
import { CommercialLending } from "./Forms/CommercialLending.js";
|
|
72
72
|
import { CommercialPremiumFinance } from "./Forms/CommercialPremiumFinance.js";
|
|
73
|
+
import { ConstructionLendingDynamic } from "./Forms/ConstructionLendingDynamic.js";
|
|
73
74
|
import { ContactCompany } from "./Forms/ContactCompany.js";
|
|
74
75
|
import { ContactCompanyTitle } from "./Forms/ContactCompanyTitle.js";
|
|
75
76
|
import { ContactUs } from "./Forms/ContactUs.js";
|
|
@@ -109,7 +110,7 @@ import { headline_text, heroSupertag, hero_banner, hero_btns, hero_bullet_item,
|
|
|
109
110
|
import { selection_headline_text, selection_section, selection_section_bg, selection_section_content, selection_section_icon, selection_section_icon_img } from "./HeroBanner/SelectionBanner.css.js";
|
|
110
111
|
import { Hyperlink } from "./Hyperlink/index.js";
|
|
111
112
|
import { IconBillboard } from "./IconBillboard/IconBillboard.js";
|
|
112
|
-
import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, layout, link_wrapper, list, listItem, section_body, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
|
|
113
|
+
import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, insightTitle, layout, link_wrapper, list, listItem, section_body, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
|
|
113
114
|
import { IconBillboardSet } from "./IconBillboard/IconBillboardSet.js";
|
|
114
115
|
import { default as default2 } from "./icons/ArrowIcon/index.js";
|
|
115
116
|
import { default as default3 } from "./icons/AxosX/index.js";
|
|
@@ -206,7 +207,7 @@ import { expand_icon, hide_transcript, item, mb_8, show, toggle_container, trans
|
|
|
206
207
|
import { VideoWrapper } from "./VideoWrapper/index.js";
|
|
207
208
|
import { Tab } from "./Tab/Tab.js";
|
|
208
209
|
import { TabContainer } from "./Tab/TabContainer.js";
|
|
209
|
-
import { findMoreAxosDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
|
|
210
|
+
import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
|
|
210
211
|
import { appendQueryParams } from "./utils/appendQueryParams.js";
|
|
211
212
|
import { createCachedEmailValidator } from "./utils/emailValidation.js";
|
|
212
213
|
import { associatedEmail } from "./utils/EverestValidity.js";
|
|
@@ -278,6 +279,7 @@ export {
|
|
|
278
279
|
CommercialLending,
|
|
279
280
|
CommercialPremiumFinance,
|
|
280
281
|
ComparisonSet,
|
|
282
|
+
ConstructionLendingDynamic,
|
|
281
283
|
ContactCompany,
|
|
282
284
|
ContactCompanyTitle,
|
|
283
285
|
ContactUs,
|
|
@@ -515,6 +517,7 @@ export {
|
|
|
515
517
|
chatbotUFB,
|
|
516
518
|
checkbox_group,
|
|
517
519
|
columnValues,
|
|
520
|
+
compact,
|
|
518
521
|
comparison,
|
|
519
522
|
comparison_buttons,
|
|
520
523
|
comparison_container,
|
|
@@ -596,6 +599,7 @@ export {
|
|
|
596
599
|
fullRowForm,
|
|
597
600
|
fullRowSelect,
|
|
598
601
|
getLink,
|
|
602
|
+
getMoreDomains,
|
|
599
603
|
getVariant,
|
|
600
604
|
getVariantWithRegex,
|
|
601
605
|
header,
|
|
@@ -658,6 +662,7 @@ export {
|
|
|
658
662
|
inner,
|
|
659
663
|
input,
|
|
660
664
|
inputStyle,
|
|
665
|
+
insightTitle,
|
|
661
666
|
insight_header,
|
|
662
667
|
insight_header_2,
|
|
663
668
|
insight_header_3,
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/** Resolver function: use from useGlobalContext() to resolve template URLs without passing domains. */
|
|
2
|
+
export type UrlResolver = (url: string) => string;
|
|
3
|
+
export declare const getMoreDomains: (domains: Record<string, string>) => Record<string, string>;
|
|
4
|
+
export declare const isAllowedUrl: (url: string, domains: Record<string, string>) => boolean;
|
|
5
|
+
export declare const findMoreAxosDomains: (url: string, domains: Record<string, string>) => string;
|
|
@@ -1,52 +1,53 @@
|
|
|
1
|
-
const
|
|
2
|
-
"{AXOS}":
|
|
3
|
-
"{AXOSBANK}":
|
|
4
|
-
"{AXOSCLEARING}":
|
|
5
|
-
"{AAS}":
|
|
6
|
-
"{AXA}":
|
|
7
|
-
"{AFS}":
|
|
8
|
-
"{NATIONWIDE}":
|
|
9
|
-
"{ENROLLMENT}":
|
|
10
|
-
"{LEGACYENROLLMENT}":
|
|
1
|
+
const getMoreDomains = (domains) => ({
|
|
2
|
+
"{AXOS}": domains.AXOS_URL || "https://www.axos.com",
|
|
3
|
+
"{AXOSBANK}": domains.AXOS_BANK_URL !== void 0 ? domains.AXOS_BANK_URL : "https://www.axosbank.com",
|
|
4
|
+
"{AXOSCLEARING}": domains.CLEARING_URL || "https://axosclearing.com",
|
|
5
|
+
"{AAS}": domains.AAS_URL || "https://www.axosadvisorservices.com",
|
|
6
|
+
"{AXA}": domains.AXA_URL || "https://www.axosadvisor.com",
|
|
7
|
+
"{AFS}": domains.AFS_URL || "https://www.axosfiduciaryservices.com",
|
|
8
|
+
"{NATIONWIDE}": domains.NATIOWIDE_URL || "https://www.nationwide.axosbank.com",
|
|
9
|
+
"{ENROLLMENT}": domains.ENROLLMENT_URL || "https://onboard.axos.com",
|
|
10
|
+
"{LEGACYENROLLMENT}": domains.LEGACY_ENROLLMENT_URL || "https://enrollment.axosbank.com",
|
|
11
11
|
"{ASSETSURL}": "https://assets.axos.com",
|
|
12
12
|
"{IMAGEASSETSURL}": "https://images.axos.com",
|
|
13
|
-
"{ONLINEBANKING}":
|
|
14
|
-
"{UFBDIRECT}":
|
|
15
|
-
"{ARMS}":
|
|
16
|
-
"{APPS}":
|
|
17
|
-
"{AFP}":
|
|
18
|
-
"{INVESTORS}":
|
|
19
|
-
"{OBAXB}":
|
|
20
|
-
"{UNVENROLLMENT}":
|
|
13
|
+
"{ONLINEBANKING}": domains.ONLINEBANKING_URL || "https://onlinebanking.uat.axosbank.com",
|
|
14
|
+
"{UFBDIRECT}": domains.UFB_URL || "https://www.ufbdirect.com",
|
|
15
|
+
"{ARMS}": domains.ARMS_URL || "https://arms.axosadvisor.com",
|
|
16
|
+
"{APPS}": domains.APPS_URL || "https://apps.axosbank.com",
|
|
17
|
+
"{AFP}": domains.AFP_URL || "https://afp.axosbank.com",
|
|
18
|
+
"{INVESTORS}": domains.INVESTORS_URL || "https://investors.axosfinancial.com",
|
|
19
|
+
"{OBAXB}": domains.ONLINEBANKING_URL || "https://onlinebanking.axosbank.com",
|
|
20
|
+
"{UNVENROLLMENT}": domains.UNVENROLLMENT_URL || "https://enroll.axosbank.com",
|
|
21
21
|
"{AUTOAXB}": "https://auto.axosbank.com/partner/axos-purchase/AU",
|
|
22
|
-
"{COMMERCIALPORTAL}":
|
|
23
|
-
"{DEVAXC}":
|
|
24
|
-
"{AFF}":
|
|
25
|
-
"{APL}":
|
|
26
|
-
"{AXSEC}":
|
|
27
|
-
"{SECURE}":
|
|
28
|
-
"{DOWNLOADAXOS}":
|
|
29
|
-
"{SBEAX}":
|
|
30
|
-
"{CPDS}":
|
|
31
|
-
"{JHALOAN}":
|
|
32
|
-
"{AXSECURITIES}":
|
|
33
|
-
"{LIBSYN}":
|
|
34
|
-
"{AXBC}":
|
|
35
|
-
"{AXMWDJ}":
|
|
36
|
-
"{AXMHA}":
|
|
37
|
-
"{AXTPL}":
|
|
38
|
-
"{AXBHUBSVIDYARD}":
|
|
39
|
-
"{AUTOAX}":
|
|
40
|
-
"{AFAST}":
|
|
41
|
-
"{LVFMYSITE}":
|
|
42
|
-
"{PERSONALLOANS}":
|
|
43
|
-
"{MODELSELECTION}":
|
|
44
|
-
"{COMMERCIALPORTAL_LOGIN}": `${
|
|
45
|
-
"{COMMERCIALPORTAL_REGISTER}":
|
|
46
|
-
"{SHAREAXB}":
|
|
47
|
-
"{MERIDIAN}":
|
|
48
|
-
};
|
|
49
|
-
const isAllowedUrl = (url) => {
|
|
22
|
+
"{COMMERCIALPORTAL}": domains.COMMERCIALPORTAL_URL || "https://portals.axosbank.com",
|
|
23
|
+
"{DEVAXC}": domains.DEVELOPER_CLEARING || "https://developer.axosclearing.com",
|
|
24
|
+
"{AFF}": domains.FUNDFINDER_URL || "https://axosfundfinder.com",
|
|
25
|
+
"{APL}": domains.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
|
|
26
|
+
"{AXSEC}": domains.AXOS_SECURE_URL || "https://secure.axosbank.com",
|
|
27
|
+
"{SECURE}": domains.AXOS_SECURE_URL || "https://secure.axosbank.com",
|
|
28
|
+
"{DOWNLOADAXOS}": domains.AXOS_DOWNLOAD_URL || "https://downloads.axos.com",
|
|
29
|
+
"{SBEAX}": domains.SBB_ENROLL || "https://small-business-enrollment.axosbank.com",
|
|
30
|
+
"{CPDS}": domains.CP_DECISIONLENDER || "https://cp.decisionlender.solutions",
|
|
31
|
+
"{JHALOAN}": domains.JHA_LOANSPQ || "https://jha.loanspq.com",
|
|
32
|
+
"{AXSECURITIES}": domains.AXOS_SECURITIES_URL || "https://www.axossecurities.com",
|
|
33
|
+
"{LIBSYN}": domains.AXOS_LIBSYN || "https://sites.libsyn.com",
|
|
34
|
+
"{AXBC}": domains.AXOS_BUSINESS_CENTER || "https://www.axosbusinesscenter.com",
|
|
35
|
+
"{AXMWDJ}": domains.AXOS_MY_WORK_DAY_JOBS || "https://axos.wd5.myworkdayjobs.com/Axos",
|
|
36
|
+
"{AXMHA}": domains.AXOS_MY_HOME_ADVANTAGE || "https://axos.myhomeadvantage.com",
|
|
37
|
+
"{AXTPL}": domains.AXOS_THIRD_PARTY_LENDING || "https://thirdpartylending.axosbank.com",
|
|
38
|
+
"{AXBHUBSVIDYARD}": domains.AXBHUBSVIDYARD_URL || "https://www.axosbank.hubs.vidyard.com",
|
|
39
|
+
"{AUTOAX}": domains.AUTO_AXOSBANK_URL || "https://auto.axosbank.com",
|
|
40
|
+
"{AFAST}": domains.SECURE_FAST_URL || "https://secure.approvedfast.com",
|
|
41
|
+
"{LVFMYSITE}": domains.LVF_MYSITE_URL || "https://lavictoire-finance.my.site.com",
|
|
42
|
+
"{PERSONALLOANS}": domains.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
|
|
43
|
+
"{MODELSELECTION}": domains.MODEL_SELECTION_URL || "https://modelselection.axos.com",
|
|
44
|
+
"{COMMERCIALPORTAL_LOGIN}": domains.COMMERCIALPORTAL_URL ? `${domains.COMMERCIALPORTAL_URL}/login` : "https://portals.axosbank.com/login",
|
|
45
|
+
"{COMMERCIALPORTAL_REGISTER}": domains.COMMERCIALPORTAL_URL ? `${domains.COMMERCIALPORTAL_URL}/Register` : "https://portals.axosbank.com/Register",
|
|
46
|
+
"{SHAREAXB}": domains.SHAREAXB_URL || "https://share.axosbank.com",
|
|
47
|
+
"{MERIDIAN}": domains.MERIDIAN_URL || "https://www.axosbank.com/"
|
|
48
|
+
});
|
|
49
|
+
const isAllowedUrl = (url, domains) => {
|
|
50
|
+
const moreDomains = getMoreDomains(domains);
|
|
50
51
|
const uri = new URL(url, location.href);
|
|
51
52
|
for (const key in moreDomains) {
|
|
52
53
|
const urlToCompare = new URL(moreDomains[key], location.href);
|
|
@@ -54,7 +55,8 @@ const isAllowedUrl = (url) => {
|
|
|
54
55
|
}
|
|
55
56
|
return false;
|
|
56
57
|
};
|
|
57
|
-
const findMoreAxosDomains = (url) => {
|
|
58
|
+
const findMoreAxosDomains = (url, domains) => {
|
|
59
|
+
const moreDomains = getMoreDomains(domains);
|
|
58
60
|
const regexSearching = /\{[a-xA-Z_-]+\}/;
|
|
59
61
|
if (regexSearching.test(url)) {
|
|
60
62
|
const domainToReplace = url.match(regexSearching);
|
|
@@ -82,5 +84,6 @@ const findMoreAxosDomains = (url) => {
|
|
|
82
84
|
};
|
|
83
85
|
export {
|
|
84
86
|
findMoreAxosDomains,
|
|
87
|
+
getMoreDomains,
|
|
85
88
|
isAllowedUrl
|
|
86
89
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
const appendQueryParams = () => {
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const currentOrigin = window.location.origin;
|
|
3
|
+
const currentPathname = window.location.pathname;
|
|
4
|
+
const filterParams = (href, currentSearch) => {
|
|
4
5
|
try {
|
|
5
|
-
const
|
|
6
|
+
const search = currentSearch ?? window.location.search;
|
|
7
|
+
const searchParams = new URLSearchParams(search);
|
|
8
|
+
const base = window.location.origin + window.location.pathname + window.location.search;
|
|
9
|
+
const url = new URL(href, base);
|
|
6
10
|
const existingParams = new URLSearchParams(url.search);
|
|
7
11
|
const newParams = new URLSearchParams();
|
|
8
12
|
const addedKeys = /* @__PURE__ */ new Set();
|
|
@@ -25,17 +29,44 @@ const appendQueryParams = () => {
|
|
|
25
29
|
}
|
|
26
30
|
const mergedParams = new URLSearchParams(existingParams);
|
|
27
31
|
newParams.forEach((value, key) => mergedParams.append(key, value));
|
|
28
|
-
return `${url.origin}${url.pathname}?${mergedParams.toString()}`;
|
|
32
|
+
return `${url.origin}${url.pathname}?${mergedParams.toString()}${url.hash}`;
|
|
29
33
|
} catch (e) {
|
|
30
34
|
console.error(e);
|
|
31
35
|
return href;
|
|
32
36
|
}
|
|
33
37
|
};
|
|
38
|
+
const handleSamePageClick = (e) => {
|
|
39
|
+
const anchor = e.target?.closest?.("a[href]");
|
|
40
|
+
if (!anchor || anchor.classList.contains("ext-link"))
|
|
41
|
+
return;
|
|
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" });
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
document.addEventListener("click", handleSamePageClick, true);
|
|
34
64
|
if (window.location.search.length) {
|
|
65
|
+
const searchParams = new URLSearchParams(window.location.search);
|
|
35
66
|
document.querySelectorAll("a[href]:not(.ext-link)").forEach((anchor) => {
|
|
36
67
|
const href = anchor.getAttribute("href")?.trim();
|
|
37
68
|
if (href && !href.startsWith("tel:") && !href.startsWith("mailto:") && href !== "#" && href !== "" && !href.startsWith("#")) {
|
|
38
|
-
anchor.href = filterParams(href);
|
|
69
|
+
anchor.href = filterParams(href, searchParams.toString());
|
|
39
70
|
}
|
|
40
71
|
});
|
|
41
72
|
}
|
package/dist/utils/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { findMoreAxosDomains, isAllowedUrl } from "./allowedAxosDomains.js";
|
|
2
|
+
import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./allowedAxosDomains.js";
|
|
3
3
|
import { appendQueryParams } from "./appendQueryParams.js";
|
|
4
4
|
import { createCachedEmailValidator } from "./emailValidation.js";
|
|
5
5
|
import { associatedEmail } from "./EverestValidity.js";
|
|
@@ -15,6 +15,7 @@ export {
|
|
|
15
15
|
createCachedEmailValidator,
|
|
16
16
|
createCachedNMLSValidator,
|
|
17
17
|
findMoreAxosDomains,
|
|
18
|
+
getMoreDomains,
|
|
18
19
|
getVariant,
|
|
19
20
|
getVariantWithRegex,
|
|
20
21
|
isAbsoluteUrl,
|
|
@@ -2,4 +2,4 @@ export declare const isAbsoluteUrl: (url: string) => boolean;
|
|
|
2
2
|
export declare const shortUrl: (url: string) => string;
|
|
3
3
|
export declare const isEmailLink: (url: string) => boolean;
|
|
4
4
|
export declare const isPhoneLink: (url: string) => boolean;
|
|
5
|
-
export declare const validateLink: (url: string) => boolean;
|
|
5
|
+
export declare const validateLink: (url: string, domains: Record<string, string>) => boolean;
|
|
@@ -8,16 +8,14 @@ const shortUrl = (url) => {
|
|
|
8
8
|
return uri.hostname;
|
|
9
9
|
};
|
|
10
10
|
const isEmailLink = (url) => {
|
|
11
|
-
|
|
12
|
-
return uri.protocol == "mailto:";
|
|
11
|
+
return typeof url === "string" && url.trim().toLowerCase().startsWith("mailto:");
|
|
13
12
|
};
|
|
14
13
|
const isPhoneLink = (url) => {
|
|
15
|
-
|
|
16
|
-
return uri.protocol === "tel:";
|
|
14
|
+
return typeof url === "string" && url.trim().toLowerCase().startsWith("tel:");
|
|
17
15
|
};
|
|
18
|
-
const validateLink = (url) => {
|
|
16
|
+
const validateLink = (url, domains) => {
|
|
19
17
|
let openModal = false;
|
|
20
|
-
if (isAbsoluteUrl(url) && !isEmailLink(url) && !isPhoneLink(url) && !isAllowedUrl(url)) {
|
|
18
|
+
if (isAbsoluteUrl(url) && !isEmailLink(url) && !isPhoneLink(url) && !isAllowedUrl(url, domains)) {
|
|
21
19
|
openModal = true;
|
|
22
20
|
}
|
|
23
21
|
return openModal;
|
package/package.json
CHANGED
|
@@ -1,145 +1,148 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@axos-web-dev/shared-components",
|
|
3
|
-
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"module": "dist/main.js",
|
|
8
|
-
"types": "dist/main.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/main.d.ts",
|
|
12
|
-
"import": "./dist/main.js"
|
|
13
|
-
},
|
|
14
|
-
"./styles.css": "./dist/assets/index.css",
|
|
15
|
-
"./globals.css": "./dist/assets/globals.css",
|
|
16
|
-
"./themes/axos.css": "./dist/assets/themes/axos.css",
|
|
17
|
-
"./themes/premier.css": "./dist/assets/themes/premier.css",
|
|
18
|
-
"./dist/*": "./dist/*"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"dist"
|
|
22
|
-
],
|
|
23
|
-
"sideEffects": [
|
|
24
|
-
"dist/assets/**/*.css"
|
|
25
|
-
],
|
|
26
|
-
"scripts": {
|
|
27
|
-
"dev": "vite",
|
|
28
|
-
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
29
|
-
"lint": "eslint . --
|
|
30
|
-
"preview": "vite preview",
|
|
31
|
-
"prepublishOnly": "npm run build",
|
|
32
|
-
"check-types": "tsc --pretty --noEmit",
|
|
33
|
-
"check-format": "prettier --check .",
|
|
34
|
-
"check-lint": "eslint .
|
|
35
|
-
"format": "prettier --write .",
|
|
36
|
-
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
37
|
-
"prepare": "husky",
|
|
38
|
-
"storybook": "storybook dev -p 6006",
|
|
39
|
-
"build-storybook": "storybook build",
|
|
40
|
-
"npm:link": "npm run build && npm link"
|
|
41
|
-
},
|
|
42
|
-
"dependencies": {
|
|
43
|
-
"@headlessui/react": "^2.2.0",
|
|
44
|
-
"@hookform/resolvers": "^5.0.1",
|
|
45
|
-
"@next-safe-action/adapter-react-hook-form": "^2.0.2",
|
|
46
|
-
"@react-input/mask": "^1.2.15",
|
|
47
|
-
"@react-input/number-format": "^1.1.3",
|
|
48
|
-
"@storybook/icons": "^1.3.0",
|
|
49
|
-
"@storybook/preview-api": "^8.4.7",
|
|
50
|
-
"@ts-stack/markdown": "^1.5.0",
|
|
51
|
-
"@types/iframe-resizer": "3.5.13",
|
|
52
|
-
"@ujet/websdk-headless": "^3.41.4",
|
|
53
|
-
"@vanilla-extract/css": "^1.16.1",
|
|
54
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
55
|
-
"antd": "^5.22.5",
|
|
56
|
-
"clsx": "^2.1.1",
|
|
57
|
-
"framer-motion": "^12.9.2",
|
|
58
|
-
"iframe-resizer": "^3.6.6",
|
|
59
|
-
"lodash": "^4.17.21",
|
|
60
|
-
"moment": "^2.30.1",
|
|
61
|
-
"next-safe-action": "^8.0.2",
|
|
62
|
-
"react-date-picker": "^11.0.0",
|
|
63
|
-
"react-date-range": "^2.0.1",
|
|
64
|
-
"react-hook-form": "^7.56.4",
|
|
65
|
-
"react-markdown": "^9.1.0",
|
|
66
|
-
"react-slick": "^0.30.2",
|
|
67
|
-
"react-use": "^17.6.0",
|
|
68
|
-
"react-wrap-balancer": "^1.1.1",
|
|
69
|
-
"remark-gfm": "^4.0.1",
|
|
70
|
-
"rsuite": "^5.75.0",
|
|
71
|
-
"slick-carousel": "^1.8.1",
|
|
72
|
-
"typed-css-modules": "^0.9.1",
|
|
73
|
-
"vite-plugin-svgr": "^4.3.0",
|
|
74
|
-
"zod": "^3.24.1",
|
|
75
|
-
"zustand": "^4.5.5"
|
|
76
|
-
},
|
|
77
|
-
"peerDependencies": {
|
|
78
|
-
"@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
|
|
79
|
-
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
80
|
-
"@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
|
|
81
|
-
"next": "^14.1.4 || ^15.0.0 || ^16.0.0",
|
|
82
|
-
"react": "^18.2.0 || ^19.0.0",
|
|
83
|
-
"react-date-range": "^2.0.1",
|
|
84
|
-
"react-dom": "^18.2.0 || ^19.0.0",
|
|
85
|
-
"react-slick": "^0.30.2",
|
|
86
|
-
"slick-carousel": "^1.8.1"
|
|
87
|
-
},
|
|
88
|
-
"devDependencies": {
|
|
89
|
-
"@chromatic-com/storybook": "^1.9.0",
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@storybook/addon-
|
|
93
|
-
"@storybook/addon-
|
|
94
|
-
"@storybook/addon-
|
|
95
|
-
"@storybook/addon-
|
|
96
|
-
"@storybook/addon-
|
|
97
|
-
"@storybook/
|
|
98
|
-
"@storybook/
|
|
99
|
-
"@storybook/react
|
|
100
|
-
"@storybook/
|
|
101
|
-
"@
|
|
102
|
-
"@svgr/
|
|
103
|
-
"@svgr/plugin-
|
|
104
|
-
"@
|
|
105
|
-
"@types/
|
|
106
|
-
"@types/
|
|
107
|
-
"@types/react
|
|
108
|
-
"@types/react-
|
|
109
|
-
"@types/react-
|
|
110
|
-
"@types/react-
|
|
111
|
-
"@
|
|
112
|
-
"@typescript-eslint/
|
|
113
|
-
"@
|
|
114
|
-
"@vanilla-extract/
|
|
115
|
-
"@vanilla-extract/
|
|
116
|
-
"@
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"eslint
|
|
120
|
-
"eslint-plugin-react-
|
|
121
|
-
"eslint-plugin-
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"rollup-plugin-
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"vite
|
|
138
|
-
"vite-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
},
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@axos-web-dev/shared-components",
|
|
3
|
+
"description": "Axos shared components library for web.",
|
|
4
|
+
"version": "2.0.0-dev.2",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"module": "dist/main.js",
|
|
8
|
+
"types": "dist/main.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/main.d.ts",
|
|
12
|
+
"import": "./dist/main.js"
|
|
13
|
+
},
|
|
14
|
+
"./styles.css": "./dist/assets/index.css",
|
|
15
|
+
"./globals.css": "./dist/assets/globals.css",
|
|
16
|
+
"./themes/axos.css": "./dist/assets/themes/axos.css",
|
|
17
|
+
"./themes/premier.css": "./dist/assets/themes/premier.css",
|
|
18
|
+
"./dist/*": "./dist/*"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"dist/assets/**/*.css"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "vite",
|
|
28
|
+
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
29
|
+
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
30
|
+
"preview": "vite preview",
|
|
31
|
+
"prepublishOnly": "npm run build",
|
|
32
|
+
"check-types": "tsc --pretty --noEmit",
|
|
33
|
+
"check-format": "prettier --check .",
|
|
34
|
+
"check-lint": "eslint .",
|
|
35
|
+
"format": "prettier --write .",
|
|
36
|
+
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
37
|
+
"prepare": "husky",
|
|
38
|
+
"storybook": "storybook dev -p 6006",
|
|
39
|
+
"build-storybook": "storybook build",
|
|
40
|
+
"npm:link": "npm run build && npm link"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@headlessui/react": "^2.2.0",
|
|
44
|
+
"@hookform/resolvers": "^5.0.1",
|
|
45
|
+
"@next-safe-action/adapter-react-hook-form": "^2.0.2",
|
|
46
|
+
"@react-input/mask": "^1.2.15",
|
|
47
|
+
"@react-input/number-format": "^1.1.3",
|
|
48
|
+
"@storybook/icons": "^1.3.0",
|
|
49
|
+
"@storybook/preview-api": "^8.4.7",
|
|
50
|
+
"@ts-stack/markdown": "^1.5.0",
|
|
51
|
+
"@types/iframe-resizer": "3.5.13",
|
|
52
|
+
"@ujet/websdk-headless": "^3.41.4",
|
|
53
|
+
"@vanilla-extract/css": "^1.16.1",
|
|
54
|
+
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
55
|
+
"antd": "^5.22.5",
|
|
56
|
+
"clsx": "^2.1.1",
|
|
57
|
+
"framer-motion": "^12.9.2",
|
|
58
|
+
"iframe-resizer": "^3.6.6",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"moment": "^2.30.1",
|
|
61
|
+
"next-safe-action": "^8.0.2",
|
|
62
|
+
"react-date-picker": "^11.0.0",
|
|
63
|
+
"react-date-range": "^2.0.1",
|
|
64
|
+
"react-hook-form": "^7.56.4",
|
|
65
|
+
"react-markdown": "^9.1.0",
|
|
66
|
+
"react-slick": "^0.30.2",
|
|
67
|
+
"react-use": "^17.6.0",
|
|
68
|
+
"react-wrap-balancer": "^1.1.1",
|
|
69
|
+
"remark-gfm": "^4.0.1",
|
|
70
|
+
"rsuite": "^5.75.0",
|
|
71
|
+
"slick-carousel": "^1.8.1",
|
|
72
|
+
"typed-css-modules": "^0.9.1",
|
|
73
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
74
|
+
"zod": "^3.24.1",
|
|
75
|
+
"zustand": "^4.5.5"
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
|
|
79
|
+
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
80
|
+
"@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
|
|
81
|
+
"next": "^14.1.4 || ^15.0.0 || ^16.0.0",
|
|
82
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
83
|
+
"react-date-range": "^2.0.1",
|
|
84
|
+
"react-dom": "^18.2.0 || ^19.0.0",
|
|
85
|
+
"react-slick": "^0.30.2",
|
|
86
|
+
"slick-carousel": "^1.8.1"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
90
|
+
"@eslint/js": "^9.39.4",
|
|
91
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
92
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
93
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
94
|
+
"@storybook/addon-links": "^8.4.7",
|
|
95
|
+
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
96
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
97
|
+
"@storybook/addon-themes": "^8.4.7",
|
|
98
|
+
"@storybook/blocks": "^8.4.7",
|
|
99
|
+
"@storybook/react": "^8.6.14",
|
|
100
|
+
"@storybook/react-vite": "^8.4.7",
|
|
101
|
+
"@storybook/test": "^8.6.14",
|
|
102
|
+
"@svgr/core": "^8.1.0",
|
|
103
|
+
"@svgr/plugin-prettier": "^8.1.0",
|
|
104
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
105
|
+
"@types/lodash": "^4.17.17",
|
|
106
|
+
"@types/node": "^20.19.0",
|
|
107
|
+
"@types/react": "^19.0.0",
|
|
108
|
+
"@types/react-date-range": "^1.4.9",
|
|
109
|
+
"@types/react-datepicker": "^6.2.0",
|
|
110
|
+
"@types/react-dom": "^19.0.0",
|
|
111
|
+
"@types/react-slick": "^0.23.13",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
113
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
114
|
+
"@vanilla-extract/css-utils": "^0.1.4",
|
|
115
|
+
"@vanilla-extract/recipes": "^0.5.5",
|
|
116
|
+
"@vanilla-extract/vite-plugin": "^4.0.18",
|
|
117
|
+
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
118
|
+
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
119
|
+
"eslint": "^9.0.0",
|
|
120
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
121
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
122
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
123
|
+
"glob": "^10.4.5",
|
|
124
|
+
"globals": "^15.15.0",
|
|
125
|
+
"husky": "^9.1.7",
|
|
126
|
+
"next": "^16.0.0",
|
|
127
|
+
"prettier": "3.2.5",
|
|
128
|
+
"react": "^19.0.0",
|
|
129
|
+
"react-dom": "^19.0.0",
|
|
130
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
131
|
+
"rollup-plugin-svg-import": "^3.0.0",
|
|
132
|
+
"rollup-plugin-svgo": "^2.0.0",
|
|
133
|
+
"storybook": "^8.4.7",
|
|
134
|
+
"typescript": "^5.7.2",
|
|
135
|
+
"typescript-eslint": "^8.57.0",
|
|
136
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
137
|
+
"vite": "^5.4.11",
|
|
138
|
+
"vite-plugin-dts": "^3.9.1",
|
|
139
|
+
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
140
|
+
"vite-plugin-setting-css-module": "^1.1.4",
|
|
141
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
142
|
+
},
|
|
143
|
+
"directories": {
|
|
144
|
+
"lib": "lib"
|
|
145
|
+
},
|
|
146
|
+
"author": "axos-web-dev",
|
|
147
|
+
"license": "ISC"
|
|
148
|
+
}
|