@axos-web-dev/shared-components 2.0.0-dev.login → 2.0.0-dev.scroll-fix

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.
Files changed (117) hide show
  1. package/dist/ATMLocator/ATMLocator.js +5 -4
  2. package/dist/Auth/ErrorAlert.js +5 -4
  3. package/dist/Button/Button.js +5 -4
  4. package/dist/Calculators/ApyCalculator/index.js +78 -5
  5. package/dist/Calculators/Calculator.js +5 -4
  6. package/dist/Calculators/MarginTradingCalculator/index.js +5 -4
  7. package/dist/Carousel/index.js +5 -4
  8. package/dist/Chatbot/Bubble.css.js +0 -1
  9. package/dist/Chatbot/ChatWindow.css.js +1 -0
  10. package/dist/Chatbot/ChatWindow.d.ts +1 -0
  11. package/dist/Chatbot/ChatWindow.js +5 -10
  12. package/dist/Chatbot/Chatbot.js +75 -42
  13. package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
  14. package/dist/Chatbot/ChatbotMessage.js +2 -1
  15. package/dist/Chatbot/store/messages.d.ts +6 -1
  16. package/dist/Chatbot/store/messages.js +62 -3
  17. package/dist/Chevron/index.js +5 -4
  18. package/dist/Comparison/Comparison.js +5 -4
  19. package/dist/ExecutiveBio/ExecutiveBio.js +5 -4
  20. package/dist/FaqAccordion/index.js +5 -4
  21. package/dist/FdicCallout/index.js +1 -1
  22. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +5 -4
  23. package/dist/Forms/ApplicationStart.js +2 -1
  24. package/dist/Forms/ApplyNow.js +5 -4
  25. package/dist/Forms/BoatMooringLocation.js +2 -1
  26. package/dist/Forms/ClearingForm.js +2 -1
  27. package/dist/Forms/CommercialDeposits.js +2 -1
  28. package/dist/Forms/CommercialDepositsACS.js +2 -1
  29. package/dist/Forms/CommercialDepositsNoLendingOption.js +2 -1
  30. package/dist/Forms/CommercialLending.js +2 -1
  31. package/dist/Forms/CommercialPremiumFinance.js +2 -1
  32. package/dist/Forms/CommercialTrustAndEstate.js +2 -1
  33. package/dist/Forms/ConstructionLendingDynamic.js +2 -1
  34. package/dist/Forms/ContactCompany.js +2 -1
  35. package/dist/Forms/ContactCompanyTitle.js +2 -1
  36. package/dist/Forms/ContactUs.js +2 -1
  37. package/dist/Forms/ContactUsAAS.js +2 -1
  38. package/dist/Forms/ContactUsBusiness.js +5 -4
  39. package/dist/Forms/ContactUsBusinessNameEmail.js +5 -4
  40. package/dist/Forms/ContactUsLVF.js +2 -1
  41. package/dist/Forms/ContactUsNMLSId.js +5 -4
  42. package/dist/Forms/ContactUsSchwabAAS.js +2 -1
  43. package/dist/Forms/CpraRequest.js +5 -4
  44. package/dist/Forms/CraPublicFile.js +5 -4
  45. package/dist/Forms/DealerServices.js +2 -1
  46. package/dist/Forms/EmailOnly.js +5 -4
  47. package/dist/Forms/EmailUs.js +2 -1
  48. package/dist/Forms/FormEnums.d.ts +16 -0
  49. package/dist/Forms/FormEnums.js +27 -0
  50. package/dist/Forms/HoneyPot/honeyPotValidation.d.ts +27 -0
  51. package/dist/Forms/HoneyPot/honeyPotValidation.js +17 -0
  52. package/dist/Forms/HoneyPot/index.d.ts +1 -16
  53. package/dist/Forms/HoneyPot/index.js +2 -8
  54. package/dist/Forms/MortgageRate/MortgageRateForm.js +28 -12
  55. package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +1 -1
  56. package/dist/Forms/MortgageRate/MortgageRateWatch.js +95 -21
  57. package/dist/Forms/MortgageWarehouseLending.js +5 -4
  58. package/dist/Forms/NonQMLoans.d.ts +16 -0
  59. package/dist/Forms/NonQMLoans.js +464 -0
  60. package/dist/Forms/QuickPricer/QuickPricerForm.js +2 -1
  61. package/dist/Forms/ScheduleCall.js +2 -1
  62. package/dist/Forms/ScheduleCallPremier.js +2 -1
  63. package/dist/Forms/SuccesForm.js +5 -4
  64. package/dist/Forms/VendorQuestionnaire.js +2 -1
  65. package/dist/Forms/WcplSurvey.js +2 -1
  66. package/dist/Forms/index.d.ts +1 -0
  67. package/dist/Forms/index.js +5 -1
  68. package/dist/Hyperlink/index.js +5 -4
  69. package/dist/ImageLink/ImageLink.js +5 -4
  70. package/dist/ImageLink/ImageLinkSet.js +5 -4
  71. package/dist/ImageLink/index.js +5 -4
  72. package/dist/ImageToast/index.js +5 -4
  73. package/dist/Input/DownPaymentInput.js +1 -0
  74. package/dist/Insight/Featured/CategorySelector.js +5 -4
  75. package/dist/Insight/Featured/Featured.js +5 -4
  76. package/dist/Insight/Featured/Header.js +5 -4
  77. package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +4 -0
  78. package/dist/LandingPageHeader/LandingPageHeader.css.js +8 -0
  79. package/dist/LandingPageHeader/LandingPageHeader.js +4 -304
  80. package/dist/LandingPageHeader/WithLogin.d.ts +4 -0
  81. package/dist/LandingPageHeader/WithLogin.js +463 -0
  82. package/dist/LandingPageHeader/index.js +5 -1
  83. package/dist/Modal/Modal.js +5 -4
  84. package/dist/NavigationMenu/AxosALTS/index.js +5 -4
  85. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  86. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +5 -4
  87. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +1 -1
  88. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -1
  89. package/dist/NavigationMenu/AxosBank/SubNavBar.js +7 -6
  90. package/dist/NavigationMenu/AxosBank/index.js +6 -5
  91. package/dist/NavigationMenu/LaVictoire/index.js +5 -4
  92. package/dist/NavigationMenu/NavItem/index.js +5 -4
  93. package/dist/NavigationMenu/ServerNavigation/DropwdownButton.js +5 -4
  94. package/dist/NavigationMenu/ServerNavigation/Menu.js +5 -4
  95. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.js +5 -4
  96. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.module.js +27 -27
  97. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileNavData.js +3 -3
  98. package/dist/NavigationMenu/ServerNavigation/NavBar.module.js +40 -40
  99. package/dist/NavigationMenu/ServerNavigation/SubNavBar.js +5 -4
  100. package/dist/NavigationMenu/ServerNavigation/SubNavItem.js +5 -4
  101. package/dist/NavigationMenu/ServerNavigation/index.js +5 -4
  102. package/dist/SetContainer/SetContainer.js +5 -4
  103. package/dist/SocialMediaBar/iconsRepository.js +5 -4
  104. package/dist/VideoTile/VideoTile.js +5 -4
  105. package/dist/VideoWrapper/index.js +5 -4
  106. package/dist/assets/LandingPageHeader/LandingPageHeader.css +65 -2
  107. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
  108. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -0
  109. package/dist/assets/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.css +353 -353
  110. package/dist/assets/NavigationMenu/ServerNavigation/NavBar.css +483 -483
  111. package/dist/main.js +10 -2
  112. package/dist/utilities.d.ts +3 -0
  113. package/dist/utilities.js +12 -0
  114. package/dist/utils/allowedAxosDomains.js +2 -3
  115. package/dist/utils/insightsData.d.ts +23 -0
  116. package/dist/utils/insightsData.js +41 -0
  117. package/package.json +153 -148
package/dist/main.js CHANGED
@@ -89,7 +89,7 @@ import { DealerServices } from "./Forms/DealerServices.js";
89
89
  import { EmailOnly } from "./Forms/EmailOnly.js";
90
90
  import { EmailUs } from "./Forms/EmailUs.js";
91
91
  import { actions, apply_now_form, axosHeader, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, email_only_btn, email_only_h2, email_only_padding, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerF, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, submitErrorText, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms/Forms.css.js";
92
- import { HoneyPot, honeyPotSchema, isValidHoneyPot } from "./Forms/HoneyPot/index.js";
92
+ import { HoneyPot } from "./Forms/HoneyPot/index.js";
93
93
  import { MortgageRate } from "./Forms/MortgageRate/MortgageRateForm.js";
94
94
  import "react/jsx-runtime";
95
95
  import { RateWatchForm } from "./Forms/MortgageRate/MortgageRateWatch.js";
@@ -108,6 +108,7 @@ import { SuccesFormWrapper } from "./Forms/SuccesForm.js";
108
108
  import { VendorQuestionnaire } from "./Forms/VendorQuestionnaire.js";
109
109
  import { WCPLSurvey } from "./Forms/WcplSurvey.js";
110
110
  import { BoatMooringLocation } from "./Forms/BoatMooringLocation.js";
111
+ import { NonQMLoans } from "./Forms/NonQMLoans.js";
111
112
  import { helpArticle_container, helpArticle_headline, helpArticle_p, insight_headline_2 } from "./HelpArticle/HelpArticle.css.js";
112
113
  import { HeroBanner } from "./HeroBanner/HeroBanner.js";
113
114
  import { headline_text, heroSupertag, hero_banner, hero_btns, hero_bullet_item, hero_content, hero_embedded_image, hero_img, hero_sub_bullets, hero_text, hero_wrapper, img_contents, logout, reversed, reversed_lg_image, xl } from "./HeroBanner/HeroBanner.css.js";
@@ -170,7 +171,7 @@ import { BreadcumbHeader } from "./Insight/Featured/Header.js";
170
171
  import { article_aside, article_blockquote, article_main_content, article_navigation_link, article_navigation_list, article_navigation_title, article_preview_img, article_preview_wrapper, article_share, article_share_buttons, article_share_icon, article_share_link, article_share_p, article_share_svg, article_spacer, elementSpacer_block, footnotes, insight_header, insight_header_2, insight_header_3, insight_header_4, insight_info__divider, insight_info_row, insight_intro_p, insight_list_item, insight_p } from "./Insight/Insight.css.js";
171
172
  import { Interstitial } from "./Interstitial/Interstitial.js";
172
173
  import { LandingPageHeader } from "./LandingPageHeader/LandingPageHeader.js";
173
- import { lp_container, lp_hover, lp_login_button, lp_theme, spb_container, spb_hover, svg_fill } from "./LandingPageHeader/LandingPageHeader.css.js";
174
+ import { btn_primary, btn_secondary, desktop_only, lp_container, lp_hover, lp_login_button, lp_theme, mobile_only, spb_container, spb_hover, svg_fill } from "./LandingPageHeader/LandingPageHeader.css.js";
174
175
  import { MainHTML } from "./MainHTML/index.js";
175
176
  import { Modal } from "./Modal/Modal.js";
176
177
  import { GlobalContext, GlobalContextProvider, useGlobalContext } from "./Modal/contextApi/store.js";
@@ -222,6 +223,7 @@ import { createCachedNMLSValidator } from "./utils/nmlsValidation.js";
222
223
  import { useCachedEmailValidator, useCachedNMLSValidator } from "./utils/useCachedValidators.js";
223
224
  import { isAbsoluteUrl, isEmailLink, isPhoneLink, shortUrl, validateLink } from "./utils/validateExternalLinks.js";
224
225
  import { columnValues } from "./utils/variant.types.js";
226
+ import { honeyPotFieldsSchema, honeyPotSchema, isValidHoneyPot } from "./Forms/HoneyPot/honeyPotValidation.js";
225
227
  import { padding_in_footer, smb_section, smb_wrapper } from "./SocialMediaBar/SocialMediaBar.css.js";
226
228
  export {
227
229
  default20 as AASLogo,
@@ -366,6 +368,7 @@ export {
366
368
  default33 as NavBarAXB,
367
369
  default34 as NavBarAXC,
368
370
  default37 as NavBarLVF,
371
+ NonQMLoans,
369
372
  PageNavItem,
370
373
  PageNavSet,
371
374
  Pagination,
@@ -487,6 +490,8 @@ export {
487
490
  bs_topic,
488
491
  bs_video,
489
492
  bs_wrapper,
493
+ btn_primary,
494
+ btn_secondary,
490
495
  bubbleButton,
491
496
  bubbleText,
492
497
  bubbleWrapper,
@@ -552,6 +557,7 @@ export {
552
557
  createCachedNMLSValidator,
553
558
  description,
554
559
  descriptionField,
560
+ desktop_only,
555
561
  details,
556
562
  disclosureForm,
557
563
  divider,
@@ -663,6 +669,7 @@ export {
663
669
  highlight_last_row,
664
670
  highlight_th,
665
671
  highlights,
672
+ honeyPotFieldsSchema,
666
673
  honeyPotSchema,
667
674
  hover,
668
675
  icon,
@@ -731,6 +738,7 @@ export {
731
738
  messageStyle,
732
739
  messagesContainerStyle,
733
740
  mh_330,
741
+ mobile_only,
734
742
  modalCheckboxContainer,
735
743
  modalMobile,
736
744
  modal_close_button,
@@ -0,0 +1,3 @@
1
+ export * from './Forms/HoneyPot/honeyPotValidation';
2
+ export * from './utils/allowedAxosDomains';
3
+ export * from './utils/insightsData';
@@ -0,0 +1,12 @@
1
+ import { honeyPotFieldsSchema, honeyPotSchema, isValidHoneyPot } from "./Forms/HoneyPot/honeyPotValidation.js";
2
+ import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
3
+ import { CATEGORY_DATA } from "./utils/insightsData.js";
4
+ export {
5
+ CATEGORY_DATA,
6
+ findMoreAxosDomains,
7
+ getMoreDomains,
8
+ honeyPotFieldsSchema,
9
+ honeyPotSchema,
10
+ isAllowedUrl,
11
+ isValidHoneyPot
12
+ };
@@ -14,7 +14,6 @@ const getMoreDomains = (domains) => ({
14
14
  "{UFBDIRECT}": domains.UFB_URL || "https://www.ufbdirect.com",
15
15
  "{ARMS}": domains.ARMS_URL || "https://arms.axosadvisor.com",
16
16
  "{APPS}": domains.APPS_URL || "https://apps.axosbank.com",
17
- "{AFP}": domains.AFP_URL || "https://afp.axosbank.com",
18
17
  "{INVESTORS}": domains.INVESTORS_URL || "https://investors.axosfinancial.com",
19
18
  "{UNVENROLLMENT}": domains.UNVENROLLMENT_URL || "https://enroll.axosbank.com",
20
19
  "{AUTOAXB}": "https://auto.axosbank.com/partner/axos-purchase/AU",
@@ -22,7 +21,6 @@ const getMoreDomains = (domains) => ({
22
21
  "{DEVAXC}": domains.DEVELOPER_CLEARING || "https://developer.axosclearing.com",
23
22
  "{AFF}": domains.FUNDFINDER_URL || "https://axosfundfinder.com",
24
23
  "{APL}": domains.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
25
- "{AXSEC}": domains.AXOS_SECURE_URL || "https://secure.axosbank.com",
26
24
  "{SECURE}": domains.AXOS_SECURE_URL || "https://secure.axosbank.com",
27
25
  "{DOWNLOADAXOS}": domains.AXOS_DOWNLOAD_URL || "https://downloads.axos.com",
28
26
  "{SBEAX}": domains.SBB_ENROLL || "https://small-business-enrollment.axosbank.com",
@@ -45,7 +43,8 @@ const getMoreDomains = (domains) => ({
45
43
  "{SHAREAXB}": domains.SHAREAXB_URL || "https://share.axosbank.com",
46
44
  "{MERIDIAN}": domains.MERIDIAN_URL || "https://www.axosbank.com/",
47
45
  "{ACE}": domains.ACE_URL || "https://ace.axos.com",
48
- "{SPARK}": domains.SPARK_URL || "https://spark.axosbank.com"
46
+ "{SPARK}": domains.SPARK_URL || "https://spark.axosbank.com",
47
+ "{SECUREMORTGAGE}": domains.AXOS_BANK_SECURE_URL || "https://secure.axosbank.com"
49
48
  });
50
49
  const isAllowedUrl = (url, domains) => {
51
50
  const moreDomains = getMoreDomains(domains);
@@ -0,0 +1,23 @@
1
+ export declare const CATEGORY_DATA: {
2
+ readonly "Axos Bank (AXB)": {
3
+ readonly Business: readonly ["Banking", "CyberSecurity", "Finance", "Financial-Advisors", "Management"];
4
+ readonly Commercial: readonly ["Banking", "Lending"];
5
+ readonly Personal: {
6
+ readonly Finance: readonly ["Digital-Banking", "Financial-Planning", "Retirement"];
7
+ readonly Loans: readonly ["Auto", "Home", "Personal"];
8
+ readonly Credit: readonly ["Building-Credit"];
9
+ readonly CyberSecurity: readonly ["Fraud-Prevention"];
10
+ };
11
+ };
12
+ readonly "Axos Invest (AXI)": {
13
+ readonly Invest: readonly ["Investing-Basics", "Investment-Strategies", "Retirement-Planning", "Market-Analysis"];
14
+ };
15
+ readonly "Axos Advisor (AXA)": readonly [];
16
+ readonly "Axos Advisor Services (AAS)": readonly ["IBD-Breakaways", "Run-Your-Practice", "Grow-Your-Book"];
17
+ readonly "Axos Clearing (AXC)": readonly [];
18
+ readonly "Axos Fiduciary Services (AFS)": readonly [];
19
+ readonly "Axos Securities (AXS)": readonly [];
20
+ readonly "LaVictoire Finance (LVF)": readonly [];
21
+ readonly "UFB Direct (UFB)": readonly [];
22
+ readonly "Zenith Information Systems (ZIS)": readonly [];
23
+ };
@@ -0,0 +1,41 @@
1
+ const CATEGORY_DATA = {
2
+ "Axos Bank (AXB)": {
3
+ Business: [
4
+ "Banking",
5
+ "CyberSecurity",
6
+ "Finance",
7
+ "Financial-Advisors",
8
+ "Management"
9
+ ],
10
+ Commercial: ["Banking", "Lending"],
11
+ Personal: {
12
+ Finance: ["Digital-Banking", "Financial-Planning", "Retirement"],
13
+ Loans: ["Auto", "Home", "Personal"],
14
+ Credit: ["Building-Credit"],
15
+ CyberSecurity: ["Fraud-Prevention"]
16
+ }
17
+ },
18
+ "Axos Invest (AXI)": {
19
+ Invest: [
20
+ "Investing-Basics",
21
+ "Investment-Strategies",
22
+ "Retirement-Planning",
23
+ "Market-Analysis"
24
+ ]
25
+ },
26
+ "Axos Advisor (AXA)": [],
27
+ "Axos Advisor Services (AAS)": [
28
+ "IBD-Breakaways",
29
+ "Run-Your-Practice",
30
+ "Grow-Your-Book"
31
+ ],
32
+ "Axos Clearing (AXC)": [],
33
+ "Axos Fiduciary Services (AFS)": [],
34
+ "Axos Securities (AXS)": [],
35
+ "LaVictoire Finance (LVF)": [],
36
+ "UFB Direct (UFB)": [],
37
+ "Zenith Information Systems (ZIS)": []
38
+ };
39
+ export {
40
+ CATEGORY_DATA
41
+ };
package/package.json CHANGED
@@ -1,148 +1,153 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "2.0.0-dev.login",
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": "npm run build",
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": "^4.22.0",
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
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "2.0.0-dev.scroll-fix",
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
+ "./utils": {
15
+ "types": "./dist/utilities.d.ts",
16
+ "import": "./dist/utilities.js"
17
+ },
18
+ "./styles.css": "./dist/assets/index.css",
19
+ "./globals.css": "./dist/assets/globals.css",
20
+ "./themes/axos.css": "./dist/assets/themes/axos.css",
21
+ "./themes/premier.css": "./dist/assets/themes/premier.css",
22
+ "./dist/*": "./dist/*"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "sideEffects": [
28
+ "dist/assets/**/*.css"
29
+ ],
30
+ "scripts": {
31
+ "dev": "vite",
32
+ "build": "tsc --p ./tsconfig.build.json && vite build",
33
+ "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
34
+ "preview": "vite preview",
35
+ "prepublishOnly": "npm run build",
36
+ "check-types": "tsc --pretty --noEmit",
37
+ "check-format": "prettier --check .",
38
+ "check-lint": "eslint .",
39
+ "format": "prettier --write .",
40
+ "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
41
+ "prepare": "npm run build",
42
+ "storybook": "storybook dev -p 6006",
43
+ "build-storybook": "storybook build",
44
+ "npm:link": "npm run build && npm link"
45
+ },
46
+ "dependencies": {
47
+ "@headlessui/react": "^2.2.0",
48
+ "@hookform/resolvers": "^5.0.1",
49
+ "@next-safe-action/adapter-react-hook-form": "^2.0.2",
50
+ "@react-input/mask": "^1.2.15",
51
+ "@react-input/number-format": "^1.1.3",
52
+ "@storybook/icons": "^1.3.0",
53
+ "@storybook/preview-api": "^8.4.7",
54
+ "@ts-stack/markdown": "^1.5.0",
55
+ "@types/iframe-resizer": "3.5.13",
56
+ "@ujet/websdk-headless": "^4.22.0",
57
+ "@vanilla-extract/css": "^1.16.1",
58
+ "@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
59
+ "antd": "^5.22.5",
60
+ "clsx": "^2.1.1",
61
+ "framer-motion": "^12.9.2",
62
+ "iframe-resizer": "^3.6.6",
63
+ "lodash": "^4.17.21",
64
+ "moment": "^2.30.1",
65
+ "next-safe-action": "^8.0.2",
66
+ "react-date-picker": "^11.0.0",
67
+ "react-date-range": "^2.0.1",
68
+ "react-hook-form": "^7.56.4",
69
+ "react-markdown": "^9.1.0",
70
+ "react-slick": "^0.30.2",
71
+ "react-use": "^17.6.0",
72
+ "react-wrap-balancer": "^1.1.1",
73
+ "remark-gfm": "^4.0.1",
74
+ "rsuite": "^5.75.0",
75
+ "slick-carousel": "^1.8.1",
76
+ "typed-css-modules": "^0.9.1",
77
+ "vite-plugin-svgr": "^4.3.0",
78
+ "zustand": "^4.5.5"
79
+ },
80
+ "peerDependencies": {
81
+ "@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
82
+ "@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
83
+ "@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
84
+ "next": "^14.1.4 || ^15.0.0 || ^16.0.0",
85
+ "react": "^18.2.0 || ^19.0.0",
86
+ "react-date-range": "^2.0.1",
87
+ "react-dom": "^18.2.0 || ^19.0.0",
88
+ "react-slick": "^0.30.2",
89
+ "slick-carousel": "^1.8.1",
90
+ "zod": "^3.24.1"
91
+ },
92
+ "devDependencies": {
93
+ "@chromatic-com/storybook": "^1.9.0",
94
+ "@eslint/js": "^9.39.4",
95
+ "@rollup/plugin-alias": "^5.1.1",
96
+ "@storybook/addon-essentials": "^8.4.7",
97
+ "@storybook/addon-interactions": "^8.4.7",
98
+ "@storybook/addon-links": "^8.4.7",
99
+ "@storybook/addon-mdx-gfm": "^8.4.7",
100
+ "@storybook/addon-onboarding": "^8.4.7",
101
+ "@storybook/addon-themes": "^8.4.7",
102
+ "@storybook/blocks": "^8.4.7",
103
+ "@storybook/react": "^8.6.14",
104
+ "@storybook/react-vite": "^8.4.7",
105
+ "@storybook/test": "^8.6.14",
106
+ "@svgr/core": "^8.1.0",
107
+ "@svgr/plugin-prettier": "^8.1.0",
108
+ "@svgr/plugin-svgo": "^8.1.0",
109
+ "@types/lodash": "^4.17.17",
110
+ "@types/node": "^20.19.0",
111
+ "@types/react": "^19.0.0",
112
+ "@types/react-date-range": "^1.4.9",
113
+ "@types/react-datepicker": "^6.2.0",
114
+ "@types/react-dom": "^19.0.0",
115
+ "@types/react-slick": "^0.23.13",
116
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
117
+ "@typescript-eslint/parser": "^8.0.0",
118
+ "@vanilla-extract/css-utils": "^0.1.4",
119
+ "@vanilla-extract/recipes": "^0.5.5",
120
+ "@vanilla-extract/vite-plugin": "^4.0.18",
121
+ "@vitejs/plugin-react-swc": "^3.7.2",
122
+ "esbuild-vanilla-image-loader": "^0.1.3",
123
+ "eslint": "^9.0.0",
124
+ "eslint-plugin-react-hooks": "^5.1.0",
125
+ "eslint-plugin-react-refresh": "^0.4.16",
126
+ "eslint-plugin-storybook": "^0.8.0",
127
+ "glob": "^10.4.5",
128
+ "globals": "^15.15.0",
129
+ "husky": "^9.1.7",
130
+ "next": "^16.0.0",
131
+ "prettier": "3.2.5",
132
+ "react": "^19.0.0",
133
+ "react-dom": "^19.0.0",
134
+ "rollup-plugin-preserve-directives": "^0.4.0",
135
+ "rollup-plugin-svg-import": "^3.0.0",
136
+ "rollup-plugin-svgo": "^2.0.0",
137
+ "storybook": "^8.4.7",
138
+ "typescript": "^5.7.2",
139
+ "typescript-eslint": "^8.57.0",
140
+ "typescript-plugin-css-modules": "^5.1.0",
141
+ "vite": "^5.4.11",
142
+ "vite-plugin-dts": "^3.9.1",
143
+ "vite-plugin-lib-inject-css": "^2.1.1",
144
+ "vite-plugin-setting-css-module": "^1.1.4",
145
+ "vite-tsconfig-paths": "^4.3.2",
146
+ "zod": "^3.24.1"
147
+ },
148
+ "directories": {
149
+ "lib": "lib"
150
+ },
151
+ "author": "axos-web-dev",
152
+ "license": "ISC"
153
+ }