@axos-web-dev/shared-components 1.0.6 → 1.0.7

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 (183) hide show
  1. package/dist/ATMLocator/ATMLocator.js +2 -2
  2. package/dist/Accordion/Accordion.css.js +1 -1
  3. package/dist/Accordion/Accordion.js +1 -1
  4. package/dist/AlertBanner/AlertBanner.css.js +1 -1
  5. package/dist/AlertBanner/index.js +1 -1
  6. package/dist/Article/Article.css.js +1 -1
  7. package/dist/Article/Article.js +4 -6
  8. package/dist/ArticlesSet/ArticlesSet.css.js +1 -1
  9. package/dist/Avatar/Avatar.module.js +1 -1
  10. package/dist/AwardsBanner/AwardsBanner.css.js +1 -1
  11. package/dist/AwardsItem/AwardsItem.css.js +1 -1
  12. package/dist/Blockquote/Blockquote.module.js +1 -1
  13. package/dist/BulletItem/BulletItem.css.js +1 -1
  14. package/dist/BulletItem/BulletItem.js +1 -1
  15. package/dist/Button/Button.css.js +1 -1
  16. package/dist/Button/Button.js +1 -1
  17. package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +1 -1
  18. package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +1 -1
  19. package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +1 -1
  20. package/dist/Calculators/AxosOneCalculator/index.js +1 -1
  21. package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +1 -1
  22. package/dist/Calculators/BalanceAPYCalculator/index.js +1 -1
  23. package/dist/Calculators/Calculator.js +2 -2
  24. package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
  25. package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +1 -1
  26. package/dist/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js +1 -1
  27. package/dist/Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js +1 -1
  28. package/dist/Calculators/SummitApyCalculator/index.js +1 -1
  29. package/dist/Calculators/calculator.css.js +1 -1
  30. package/dist/CallToActionBar/CallToActionBar.css.js +1 -1
  31. package/dist/Carousel/Carousel.css.js +1 -1
  32. package/dist/Carousel/index.js +2 -2
  33. package/dist/Chevron/Chevron.css.js +1 -1
  34. package/dist/Chevron/index.js +2 -2
  35. package/dist/CollectInformationAlert/CollectInformationAlert.css.js +1 -1
  36. package/dist/CollectInformationAlert/index.js +1 -1
  37. package/dist/Comparison/Comparison.css.js +1 -1
  38. package/dist/Comparison/Comparison.js +1 -1
  39. package/dist/ContentBanner/ContentBanner.css.js +1 -1
  40. package/dist/ContentBanner/index.js +9 -1
  41. package/dist/DownloadTile/DownloadTile.css.js +1 -1
  42. package/dist/ExecutiveBio/ExecutiveBio.css.js +1 -1
  43. package/dist/ExecutiveBio/ExecutiveBio.js +3 -10
  44. package/dist/FaqAccordion/FaqAccordion.css.js +1 -1
  45. package/dist/FaqAccordion/index.js +1 -1
  46. package/dist/FdicCallout/FdicCallout.module.js +1 -1
  47. package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
  48. package/dist/FooterDisclosure/LVF/LaVictorieFooter.css.js +1 -1
  49. package/dist/FooterDisclosure/LVF/LaVictorieFooter.js +1 -1
  50. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +1 -1
  51. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -1
  52. package/dist/Forms/ApplicationStart.js +1 -1
  53. package/dist/Forms/ApplyNow.js +2 -2
  54. package/dist/Forms/ClearingForm.js +1 -1
  55. package/dist/Forms/CommercialDeposits.js +1 -1
  56. package/dist/Forms/CommercialLending.js +1 -1
  57. package/dist/Forms/ContactCompany.js +1 -1
  58. package/dist/Forms/ContactCompanyTitle.js +1 -1
  59. package/dist/Forms/ContactUs.js +1 -1
  60. package/dist/Forms/ContactUsAAS.js +1 -1
  61. package/dist/Forms/ContactUsBusiness.js +1 -1
  62. package/dist/Forms/ContactUsLVF.js +1 -1
  63. package/dist/Forms/ContactUsNMLSId.js +1 -1
  64. package/dist/Forms/CpraRequest.js +1 -1
  65. package/dist/Forms/CraPublicFile.js +1 -1
  66. package/dist/Forms/DealerServices.js +1 -1
  67. package/dist/Forms/EmailOnly.js +1 -1
  68. package/dist/Forms/EmailUs.js +1 -1
  69. package/dist/Forms/Forms.css.js +1 -1
  70. package/dist/Forms/MortgageRate/MortgageRateForm.js +2 -2
  71. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -1
  72. package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -1
  73. package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
  74. package/dist/Forms/QuickPricer/UserInformation.css.js +1 -1
  75. package/dist/Forms/ScheduleCall.js +1 -1
  76. package/dist/Forms/ScheduleCallPremier.js +1 -1
  77. package/dist/Forms/SuccesForm.js +2 -2
  78. package/dist/Forms/WcplSurvey.js +1 -1
  79. package/dist/HeroBanner/HeroBanner.css.js +1 -1
  80. package/dist/HeroBanner/HeroBanner.js +0 -2
  81. package/dist/HeroBanner/LargeBanner.css.js +1 -1
  82. package/dist/HeroBanner/SelectionBanner.css.js +1 -1
  83. package/dist/Hyperlink/Hyperlink.css.js +1 -1
  84. package/dist/Hyperlink/index.js +1 -1
  85. package/dist/IconBillboard/IconBillboard.css.js +1 -1
  86. package/dist/IconBillboard/IconBillboard.interface.d.ts +2 -0
  87. package/dist/IconBillboard/IconBillboard.js +10 -1
  88. package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
  89. package/dist/ImageBillboard/ImageBillboard.js +1 -1
  90. package/dist/ImageBillboard/ImageBillboardSet.js +3 -4
  91. package/dist/ImageLink/ImageLink.css.js +1 -1
  92. package/dist/ImageLink/ImageLink.js +19 -3
  93. package/dist/ImageLink/ImageLinkSet.js +1 -1
  94. package/dist/ImageLink/index.js +1 -1
  95. package/dist/Input/Checkbox.css.js +1 -1
  96. package/dist/Input/Dropdown.css.js +1 -1
  97. package/dist/Input/Input.css.js +1 -1
  98. package/dist/Input/RadioButton.css.js +1 -1
  99. package/dist/Inputs/Input.css.js +1 -1
  100. package/dist/Insight/Featured/CategorySelector.css.js +1 -1
  101. package/dist/Insight/Featured/CategorySelector.js +6 -6
  102. package/dist/Insight/Featured/Featured.css.d.ts +1 -0
  103. package/dist/Insight/Featured/Featured.css.js +6 -4
  104. package/dist/Insight/Featured/Featured.js +4 -4
  105. package/dist/Insight/Featured/Header.css.js +1 -1
  106. package/dist/Insight/Featured/Header.js +2 -2
  107. package/dist/Insight/Featured/index.js +2 -1
  108. package/dist/Insight/Insight.css.js +1 -1
  109. package/dist/Insight/index.js +2 -1
  110. package/dist/Interstitial/Interstitial-variants.css.js +1 -1
  111. package/dist/Interstitial/Interstitial.module.js +1 -1
  112. package/dist/LandingPageHeader/LandingPageHeader.css.js +1 -1
  113. package/dist/LandingPageHeader/LandingPageHeader.js +1 -1
  114. package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
  115. package/dist/Modal/Modal.css.js +1 -1
  116. package/dist/Modal/Modal.js +1 -1
  117. package/dist/NavigationMenu/AxosALTS/NavBar.css.js +1 -1
  118. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +1 -1
  119. package/dist/NavigationMenu/AxosALTS/NavData.js +1 -1
  120. package/dist/NavigationMenu/AxosALTS/index.js +1 -1
  121. package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +1 -1
  122. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +1 -1
  123. package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +1 -1
  124. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +1 -1
  125. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +1 -1
  126. package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +1 -1
  127. package/dist/NavigationMenu/AxosBank/NavBar.css.js +1 -1
  128. package/dist/NavigationMenu/AxosBank/NavBar.module.js +53 -53
  129. package/dist/NavigationMenu/AxosBank/NavData.js +1 -1
  130. package/dist/NavigationMenu/AxosBank/SubNavBar.js +2 -3
  131. package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +1 -1
  132. package/dist/NavigationMenu/AxosBank/index.js +1 -1
  133. package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
  134. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +1 -1
  135. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +1 -1
  136. package/dist/NavigationMenu/LaVictoire/NavBar.css.js +1 -1
  137. package/dist/NavigationMenu/LaVictoire/NavBar.module.js +1 -1
  138. package/dist/NavigationMenu/LaVictoire/NavData.js +2 -1
  139. package/dist/NavigationMenu/LaVictoire/index.js +12 -2
  140. package/dist/PageNavItem/PageNavItem.css.js +1 -1
  141. package/dist/PageNavSet/PageNavigationSet.css.js +1 -1
  142. package/dist/Pagination/Pagination.css.js +1 -1
  143. package/dist/Pagination/Pagination.js +1 -1
  144. package/dist/SecondaryFooter/SecondaryFooter.css.js +1 -1
  145. package/dist/SetContainer/SetContainer.css.js +1 -1
  146. package/dist/SetContainer/SetContainer.js +2 -2
  147. package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
  148. package/dist/SocialMediaBar/iconsRepository.js +1 -1
  149. package/dist/StepItem/StepItem.css.js +1 -1
  150. package/dist/StepItemSet/StepItemSet.css.js +1 -1
  151. package/dist/StepItemSet/StepItemSet.js +2 -10
  152. package/dist/Tab/Tab.css.js +1 -1
  153. package/dist/Table/Table.css.js +1 -1
  154. package/dist/Table/Table.js +1 -1
  155. package/dist/TextBlock/TextBlock.css.js +1 -1
  156. package/dist/TopicalNavItem/TopicalNavItem.css.js +1 -1
  157. package/dist/TopicalNavSet/TopicalNavSet.css.js +1 -1
  158. package/dist/Typography/Typography.css.js +1 -1
  159. package/dist/VideoTile/VideoTile.css.js +1 -1
  160. package/dist/VideoTile/VideoTile.js +1 -1
  161. package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
  162. package/dist/VideoWrapper/index.js +1 -1
  163. package/dist/assets/Insight/Featured/Featured.css +21 -15
  164. package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +660 -660
  165. package/dist/assets/globals.css +1 -2
  166. package/dist/globals.css.js +1 -1
  167. package/dist/icons/ArrowIcon/ArrowIcon.css.js +1 -1
  168. package/dist/icons/CheckIcon/CheckIcon.css.js +1 -1
  169. package/dist/icons/DownloadIcon/DownloadIcon.css.js +1 -1
  170. package/dist/icons/FollowIcon/FollowIcon.css.js +1 -1
  171. package/dist/icons/Star/Star.css.js +1 -1
  172. package/dist/index.css.js +1 -1
  173. package/dist/main.js +2 -1
  174. package/dist/themes/axos.css.js +1 -1
  175. package/dist/themes/premier.css.js +1 -1
  176. package/dist/themes/victorie.css.js +1 -1
  177. package/dist/utils/lazyImage/imageObserver.d.ts +9 -0
  178. package/dist/utils/lazyImage/imageObserver.js +29 -0
  179. package/dist/utils/lazyImage/index.d.ts +2 -0
  180. package/dist/utils/lazyImage/index.js +7 -0
  181. package/dist/utils/lazyImage/lazyImage.d.ts +10 -0
  182. package/dist/utils/lazyImage/lazyImage.js +26 -0
  183. package/package.json +130 -130
@@ -148,7 +148,7 @@ h1, h2, h3, h4, h5, h6, es_font {
148
148
  }
149
149
  .header_2 {
150
150
  font-size: 34px;
151
- line-height: 1.25;
151
+ line-height: 1.35;
152
152
  }
153
153
  .header_3 {
154
154
  font-size: 28px;
@@ -282,7 +282,6 @@ p:empty, ul:empty {
282
282
  }
283
283
  .header_2 {
284
284
  font-size: 24px;
285
- line-height: 1.29;
286
285
  }
287
286
  .header_3 {
288
287
  font-size: 24px;
@@ -1,2 +1,2 @@
1
- import './assets/globals.css';import './assets/Typography/Typography.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
@@ -1,4 +1,4 @@
1
- import '../../assets/icons/ArrowIcon/ArrowIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import '../../assets/icons/CheckIcon/CheckIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import '../../assets/icons/DownloadIcon/DownloadIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/themes/victorie.css';import '../../assets/themes/premier.css';import '../../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import '../../assets/icons/Star/Star.css';/* empty css */
1
+ /* empty css */
2
2
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
3
3
  var Star = createRuntimeFn({ defaultClassName: "mi4mae0", variantClassNames: { variant: { gold: "mi4mae1", gray: "mi4mae2" } }, defaultVariants: {}, compoundVariants: [] });
4
4
  export {
package/dist/index.css.js CHANGED
@@ -1,3 +1,3 @@
1
- import './assets/index.css';import './assets/globals.css';import './assets/Typography/Typography.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
package/dist/main.js CHANGED
@@ -136,7 +136,7 @@ import { DownPaymentInput } from "./Input/DownPaymentInput.js";
136
136
  import { RadioButton, RadioButtonSet } from "./Input/RadioButton.js";
137
137
  import { CategorySelector, InsightItem } from "./Insight/Featured/CategorySelector.js";
138
138
  import { Featured, FeaturedItem } from "./Insight/Featured/Featured.js";
139
- import { featured_center_vertical, featured_grid, featured_maingrid, featured_maingrid_img, featured_maingrid_item, featured_maingrid_title, featured_section, featured_subgrid, featured_subgrid_divider, featured_subgrid_item, featured_subgrid_title, featured_supertag, featured_title } from "./Insight/Featured/Featured.css.js";
139
+ import { featured_center_vertical, featured_grid, featured_hero, featured_maingrid, featured_maingrid_img, featured_maingrid_item, featured_maingrid_title, featured_section, featured_subgrid, featured_subgrid_divider, featured_subgrid_item, featured_subgrid_title, featured_supertag, featured_title } from "./Insight/Featured/Featured.css.js";
140
140
  import { BreadcumbHeader } from "./Insight/Featured/Header.js";
141
141
  import { footnotes, insight_header, insight_header_2, insight_header_3, insight_header_4, insight_info_row, insight_list_item, insight_p } from "./Insight/Insight.css.js";
142
142
  import { Interstitial } from "./Interstitial/Interstitial.js";
@@ -437,6 +437,7 @@ export {
437
437
  feature_title,
438
438
  featured_center_vertical,
439
439
  featured_grid,
440
+ featured_hero,
440
441
  featured_maingrid,
441
442
  featured_maingrid_img,
442
443
  featured_maingrid_item,
@@ -1,4 +1,4 @@
1
- import '../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  var axosTheme = "_1073cm80";
3
3
  var vars = { colors: { primary: { background: "var(--_1073cm81)", body: "var(--_1073cm82)", headline: "var(--_1073cm83)", textGradient: "var(--_1073cm84)", textButton: "var(--_1073cm85)", backgroundButton: "var(--_1073cm86)", border: "var(--_1073cm87)" }, secondary: { background: "var(--_1073cm88)", body: "var(--_1073cm89)", headline: "var(--_1073cm8a)", textGradient: "var(--_1073cm8b)", textButton: "var(--_1073cm8c)", backgroundButton: "var(--_1073cm8d)", border: "var(--_1073cm8e)" }, tertiary: { background: "var(--_1073cm8f)", body: "var(--_1073cm8g)", headline: "var(--_1073cm8h)", textGradient: "var(--_1073cm8i)", textButton: "var(--_1073cm8j)", backgroundButton: "var(--_1073cm8k)", border: "var(--_1073cm8l)" }, quaternary: { background: "var(--_1073cm8m)", body: "var(--_1073cm8n)", headline: "var(--_1073cm8o)", textGradient: "var(--_1073cm8p)", textButton: "var(--_1073cm8q)", backgroundButton: "var(--_1073cm8r)", border: "var(--_1073cm8s)" } }, error: "var(--_1073cm8t)", disabled: { border: "var(--_1073cm8u)", color: "var(--_1073cm8v)", background: "var(--_1073cm8w)" }, icons: { check: { primary: "var(--_1073cm8x)", secondary: "var(--_1073cm8y)" } }, table: { highlight: "var(--_1073cm8z)", color: "var(--_1073cm810)" }, footer: { link: { color: "var(--_1073cm811)" } }, selecction: { icon: { color: "var(--_1073cm812)" } } };
4
4
  export {
@@ -1,4 +1,4 @@
1
- import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  var premierTheme = "_1es6o1h0";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import '../assets/themes/victorie.css';import '../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  var victorieTheme = "fl2fv50";
4
4
  export {
@@ -0,0 +1,9 @@
1
+ export interface UseLazyImageProps {
2
+ src: string;
3
+ rootMargin?: string;
4
+ threshold?: number | number[];
5
+ }
6
+ export declare const useLazyImage: ({ src, rootMargin, threshold, }: UseLazyImageProps) => {
7
+ imageSrc: string;
8
+ imgRef: import('react').MutableRefObject<HTMLImageElement | null>;
9
+ };
@@ -0,0 +1,29 @@
1
+ "use client";
2
+ import { useState, useRef, useEffect } from "react";
3
+ const useLazyImage = ({
4
+ src,
5
+ rootMargin = "175px",
6
+ threshold = 0
7
+ }) => {
8
+ const [imageSrc, setImageSrc] = useState("");
9
+ const imgRef = useRef(null);
10
+ useEffect(() => {
11
+ const imgElement = imgRef.current;
12
+ if (!imgElement) return;
13
+ const observer = new IntersectionObserver(
14
+ ([entry]) => {
15
+ if (entry.isIntersecting) {
16
+ setImageSrc(src);
17
+ observer.disconnect();
18
+ }
19
+ },
20
+ { rootMargin, threshold }
21
+ );
22
+ observer.observe(imgElement);
23
+ return () => observer.disconnect();
24
+ }, [src, rootMargin, threshold]);
25
+ return { imageSrc, imgRef };
26
+ };
27
+ export {
28
+ useLazyImage
29
+ };
@@ -0,0 +1,2 @@
1
+ export * from './imageObserver';
2
+ export * from './lazyImage';
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ import { useLazyImage } from "./imageObserver.js";
3
+ import { LazyImage } from "./lazyImage.js";
4
+ export {
5
+ LazyImage,
6
+ useLazyImage
7
+ };
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+
3
+ export interface LazyImageProps {
4
+ src: string;
5
+ alt?: string;
6
+ height?: string | number;
7
+ width?: string | number;
8
+ className?: string;
9
+ }
10
+ export declare const LazyImage: FC<LazyImageProps>;
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { useLazyImage } from "./imageObserver.js";
4
+ const LazyImage = ({
5
+ src,
6
+ alt = "",
7
+ height,
8
+ width,
9
+ className
10
+ }) => {
11
+ const { imageSrc, imgRef } = useLazyImage({ src });
12
+ return /* @__PURE__ */ jsx(
13
+ "img",
14
+ {
15
+ ref: imgRef,
16
+ src: imageSrc,
17
+ alt,
18
+ className,
19
+ height,
20
+ width
21
+ }
22
+ );
23
+ };
24
+ export {
25
+ LazyImage
26
+ };
package/package.json CHANGED
@@ -1,130 +1,130 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "1.0.6",
5
- "type": "module",
6
- "module": "dist/main.js",
7
- "types": "dist/main.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "sideEffects": [
12
- "dist/assets/**/*.css"
13
- ],
14
- "scripts": {
15
- "dev": "vite",
16
- "build": "tsc --p ./tsconfig.build.json && vite build",
17
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
18
- "preview": "vite preview",
19
- "prepublishOnly": "npm run build",
20
- "check-types": "tsc --pretty --noEmit",
21
- "check-format": "prettier --check .",
22
- "check-lint": "eslint . --ext ts --ext tsx --ext js",
23
- "format": "prettier --write .",
24
- "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
25
- "prepare": "husky",
26
- "storybook": "storybook dev -p 6006",
27
- "build-storybook": "storybook build",
28
- "npm:link": "npm run build && npm link"
29
- },
30
- "dependencies": {
31
- "@headlessui/react": "^2.2.0",
32
- "@hookform/resolvers": "^3.9.1",
33
- "@react-input/mask": "^1.2.15",
34
- "@react-input/number-format": "^1.1.3",
35
- "@storybook/icons": "^1.3.0",
36
- "@storybook/preview-api": "^8.4.7",
37
- "@types/iframe-resizer": "3.5.13",
38
- "@vanilla-extract/css": "^1.16.1",
39
- "@vanilla-extract/recipes": "^0.5.1",
40
- "antd": "^5.22.5",
41
- "clsx": "^2.1.1",
42
- "iframe-resizer": "^3.6.6",
43
- "lodash": "^4.17.21",
44
- "moment": "^2.30.1",
45
- "react-date-picker": "^11.0.0",
46
- "react-date-range": "^2.0.1",
47
- "react-hook-form": "^7.54.2",
48
- "react-markdown": "^9.0.1",
49
- "react-popper": "^2.3.0",
50
- "react-slick": "^0.30.2",
51
- "react-use": "^17.6.0",
52
- "react-wrap-balancer": "^1.1.1",
53
- "rsuite": "^5.75.0",
54
- "slick-carousel": "^1.8.1",
55
- "typed-css-modules": "^0.9.1",
56
- "vite-plugin-svgr": "^4.3.0",
57
- "zod": "^3.24.1",
58
- "zustand": "^4.5.5"
59
- },
60
- "peerDependencies": {
61
- "@vanilla-extract/css-utils": "^0.1.3",
62
- "@vanilla-extract/recipes": "^0.5.1",
63
- "@vanilla-extract/vite-plugin": "^4.0.3",
64
- "next": "^14.1.4",
65
- "react": "^18.2.0",
66
- "react-date-range": "^2.0.1",
67
- "react-dom": "^18.2.0",
68
- "react-popper": "^2.3.0",
69
- "react-slick": "^0.30.2",
70
- "slick-carousel": "^1.8.1"
71
- },
72
- "devDependencies": {
73
- "@chromatic-com/storybook": "^1.9.0",
74
- "@rollup/plugin-alias": "^5.1.1",
75
- "@storybook/addon-essentials": "^8.4.7",
76
- "@storybook/addon-interactions": "^8.4.7",
77
- "@storybook/addon-links": "^8.4.7",
78
- "@storybook/addon-mdx-gfm": "^8.4.7",
79
- "@storybook/addon-onboarding": "^8.4.7",
80
- "@storybook/addon-themes": "^8.4.7",
81
- "@storybook/blocks": "^8.4.7",
82
- "@storybook/react": "^8.4.7",
83
- "@storybook/react-vite": "^8.4.7",
84
- "@storybook/test": "^8.4.7",
85
- "@svgr/core": "^8.1.0",
86
- "@svgr/plugin-prettier": "^8.1.0",
87
- "@svgr/plugin-svgo": "^8.1.0",
88
- "@types/lodash": "^4.17.13",
89
- "@types/node": "^20.17.10",
90
- "@types/react": "^18.3.18",
91
- "@types/react-date-range": "^1.4.9",
92
- "@types/react-datepicker": "^6.2.0",
93
- "@types/react-dom": "^18.3.5",
94
- "@types/react-slick": "^0.23.13",
95
- "@typescript-eslint/eslint-plugin": "^7.18.0",
96
- "@typescript-eslint/parser": "^7.18.0",
97
- "@vanilla-extract/css-utils": "^0.1.4",
98
- "@vanilla-extract/recipes": "^0.5.5",
99
- "@vanilla-extract/vite-plugin": "^4.0.18",
100
- "@vitejs/plugin-react-swc": "^3.7.2",
101
- "esbuild-vanilla-image-loader": "^0.1.3",
102
- "eslint": "^8.57.1",
103
- "eslint-plugin-react-hooks": "^4.6.2",
104
- "eslint-plugin-react-refresh": "^0.4.16",
105
- "eslint-plugin-storybook": "^0.8.0",
106
- "glob": "^10.4.5",
107
- "husky": "^9.1.7",
108
- "next": "^14.1.4",
109
- "prettier": "3.2.5",
110
- "react": "^18.3.1",
111
- "react-dom": "^18.3.1",
112
- "rollup-plugin-preserve-directives": "^0.4.0",
113
- "rollup-plugin-svg-import": "^3.0.0",
114
- "rollup-plugin-svgo": "^2.0.0",
115
- "storybook": "^8.4.7",
116
- "typescript": "^5.7.2",
117
- "typescript-plugin-css-modules": "^5.1.0",
118
- "vite": "^5.4.11",
119
- "vite-plugin-dts": "^3.9.1",
120
- "vite-plugin-lib-inject-css": "^2.1.1",
121
- "vite-plugin-setting-css-module": "^1.1.4",
122
- "vite-tsconfig-paths": "^4.3.2"
123
- },
124
- "main": "index.js",
125
- "directories": {
126
- "lib": "lib"
127
- },
128
- "author": "axos-web-dev",
129
- "license": "ISC"
130
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "1.0.7",
5
+ "type": "module",
6
+ "module": "dist/main.js",
7
+ "types": "dist/main.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "sideEffects": [
12
+ "dist/assets/**/*.css"
13
+ ],
14
+ "scripts": {
15
+ "dev": "vite",
16
+ "build": "tsc --p ./tsconfig.build.json && vite build",
17
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
18
+ "preview": "vite preview",
19
+ "prepublishOnly": "npm run build",
20
+ "check-types": "tsc --pretty --noEmit",
21
+ "check-format": "prettier --check .",
22
+ "check-lint": "eslint . --ext ts --ext tsx --ext js",
23
+ "format": "prettier --write .",
24
+ "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
25
+ "prepare": "husky",
26
+ "storybook": "storybook dev -p 6006",
27
+ "build-storybook": "storybook build",
28
+ "npm:link": "npm run build && npm link"
29
+ },
30
+ "dependencies": {
31
+ "@headlessui/react": "^2.2.0",
32
+ "@hookform/resolvers": "^3.9.1",
33
+ "@react-input/mask": "^1.2.15",
34
+ "@react-input/number-format": "^1.1.3",
35
+ "@storybook/icons": "^1.3.0",
36
+ "@storybook/preview-api": "^8.4.7",
37
+ "@types/iframe-resizer": "3.5.13",
38
+ "@vanilla-extract/css": "^1.16.1",
39
+ "@vanilla-extract/recipes": "^0.5.1",
40
+ "antd": "^5.22.5",
41
+ "clsx": "^2.1.1",
42
+ "iframe-resizer": "^3.6.6",
43
+ "lodash": "^4.17.21",
44
+ "moment": "^2.30.1",
45
+ "react-date-picker": "^11.0.0",
46
+ "react-date-range": "^2.0.1",
47
+ "react-hook-form": "^7.54.2",
48
+ "react-markdown": "^9.0.1",
49
+ "react-popper": "^2.3.0",
50
+ "react-slick": "^0.30.2",
51
+ "react-use": "^17.6.0",
52
+ "react-wrap-balancer": "^1.1.1",
53
+ "rsuite": "^5.75.0",
54
+ "slick-carousel": "^1.8.1",
55
+ "typed-css-modules": "^0.9.1",
56
+ "vite-plugin-svgr": "^4.3.0",
57
+ "zod": "^3.24.1",
58
+ "zustand": "^4.5.5"
59
+ },
60
+ "peerDependencies": {
61
+ "@vanilla-extract/css-utils": "^0.1.3",
62
+ "@vanilla-extract/recipes": "^0.5.1",
63
+ "@vanilla-extract/vite-plugin": "^4.0.3",
64
+ "next": "^14.1.4",
65
+ "react": "^18.2.0",
66
+ "react-date-range": "^2.0.1",
67
+ "react-dom": "^18.2.0",
68
+ "react-popper": "^2.3.0",
69
+ "react-slick": "^0.30.2",
70
+ "slick-carousel": "^1.8.1"
71
+ },
72
+ "devDependencies": {
73
+ "@chromatic-com/storybook": "^1.9.0",
74
+ "@rollup/plugin-alias": "^5.1.1",
75
+ "@storybook/addon-essentials": "^8.4.7",
76
+ "@storybook/addon-interactions": "^8.4.7",
77
+ "@storybook/addon-links": "^8.4.7",
78
+ "@storybook/addon-mdx-gfm": "^8.4.7",
79
+ "@storybook/addon-onboarding": "^8.4.7",
80
+ "@storybook/addon-themes": "^8.4.7",
81
+ "@storybook/blocks": "^8.4.7",
82
+ "@storybook/react": "^8.4.7",
83
+ "@storybook/react-vite": "^8.4.7",
84
+ "@storybook/test": "^8.4.7",
85
+ "@svgr/core": "^8.1.0",
86
+ "@svgr/plugin-prettier": "^8.1.0",
87
+ "@svgr/plugin-svgo": "^8.1.0",
88
+ "@types/lodash": "^4.17.13",
89
+ "@types/node": "^20.17.10",
90
+ "@types/react": "^18.3.18",
91
+ "@types/react-date-range": "^1.4.9",
92
+ "@types/react-datepicker": "^6.2.0",
93
+ "@types/react-dom": "^18.3.5",
94
+ "@types/react-slick": "^0.23.13",
95
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
96
+ "@typescript-eslint/parser": "^7.18.0",
97
+ "@vanilla-extract/css-utils": "^0.1.4",
98
+ "@vanilla-extract/recipes": "^0.5.5",
99
+ "@vanilla-extract/vite-plugin": "^4.0.18",
100
+ "@vitejs/plugin-react-swc": "^3.7.2",
101
+ "esbuild-vanilla-image-loader": "^0.1.3",
102
+ "eslint": "^8.57.1",
103
+ "eslint-plugin-react-hooks": "^4.6.2",
104
+ "eslint-plugin-react-refresh": "^0.4.16",
105
+ "eslint-plugin-storybook": "^0.8.0",
106
+ "glob": "^10.4.5",
107
+ "husky": "^9.1.7",
108
+ "next": "^14.1.4",
109
+ "prettier": "3.2.5",
110
+ "react": "^18.3.1",
111
+ "react-dom": "^18.3.1",
112
+ "rollup-plugin-preserve-directives": "^0.4.0",
113
+ "rollup-plugin-svg-import": "^3.0.0",
114
+ "rollup-plugin-svgo": "^2.0.0",
115
+ "storybook": "^8.4.7",
116
+ "typescript": "^5.7.2",
117
+ "typescript-plugin-css-modules": "^5.1.0",
118
+ "vite": "^5.4.11",
119
+ "vite-plugin-dts": "^3.9.1",
120
+ "vite-plugin-lib-inject-css": "^2.1.1",
121
+ "vite-plugin-setting-css-module": "^1.1.4",
122
+ "vite-tsconfig-paths": "^4.3.2"
123
+ },
124
+ "main": "index.js",
125
+ "directories": {
126
+ "lib": "lib"
127
+ },
128
+ "author": "axos-web-dev",
129
+ "license": "ISC"
130
+ }