@axos-web-dev/shared-components 0.0.17 → 0.0.19

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 (159) hide show
  1. package/dist/Accordion/Accordion.css.d.ts +4 -3
  2. package/dist/Accordion/Accordion.d.ts +2 -1
  3. package/dist/Accordion/Accordion.js +1 -0
  4. package/dist/Accordion/index.d.ts +2 -2
  5. package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
  6. package/dist/AlertBanner/AlertBanner.interface.d.ts +2 -1
  7. package/dist/AlertBanner/index.d.ts +3 -2
  8. package/dist/AlertBanner/index.js +1 -0
  9. package/dist/ApyCalculator/index.d.ts +2 -1
  10. package/dist/ApyCalculator/index.js +3 -17
  11. package/dist/BulletItem/BulletItem.d.ts +2 -1
  12. package/dist/BulletItem/BulletItem.js +1 -0
  13. package/dist/BulletItem/index.d.ts +1 -1
  14. package/dist/Button/Button.css.d.ts +13 -2
  15. package/dist/Button/Button.d.ts +4 -3
  16. package/dist/Button/Button.interface.d.ts +2 -1
  17. package/dist/Button/GoBackButton.d.ts +3 -2
  18. package/dist/Button/index.d.ts +3 -3
  19. package/dist/CallToActionBar/CallToActionBar.interface.d.ts +2 -1
  20. package/dist/CallToActionBar/index.d.ts +3 -2
  21. package/dist/Carousel/Carousel.css.d.ts +6 -5
  22. package/dist/Carousel/index.d.ts +3 -2
  23. package/dist/Carousel/index.js +2 -1
  24. package/dist/Carousel/store.d.ts +1 -1
  25. package/dist/Chevron/Chevron.css.d.ts +1 -1
  26. package/dist/Chevron/Chevron.interface.d.ts +2 -1
  27. package/dist/Chevron/index.d.ts +3 -2
  28. package/dist/Chevron/index.js +3 -3
  29. package/dist/CollectInformationAlert/index.d.ts +2 -1
  30. package/dist/CollectInformationAlert/index.js +1 -0
  31. package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
  32. package/dist/ContentBanner/ContentBanner.interface.d.ts +2 -1
  33. package/dist/ContentBanner/index.d.ts +3 -2
  34. package/dist/ContentBanner/index.js +1 -1
  35. package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
  36. package/dist/DownloadTile/index.d.ts +3 -2
  37. package/dist/DownloadTile/index.js +1 -0
  38. package/dist/FaqAccordion/index.d.ts +3 -2
  39. package/dist/FaqAccordion/index.js +1 -0
  40. package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
  41. package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
  42. package/dist/FooterDisclosure/FooterDisclosure.js +16 -2
  43. package/dist/FooterDisclosure/index.d.ts +2 -2
  44. package/dist/Forms/Forms.css.d.ts +4 -4
  45. package/dist/Forms/RenderForm.d.ts +3 -2
  46. package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
  47. package/dist/Forms/ScheduleCall.d.ts +3 -2
  48. package/dist/Forms/ScheduleCall.js +21 -8
  49. package/dist/Forms/index.d.ts +4 -4
  50. package/dist/HeroBanner/HeroBanner.css.d.ts +5 -4
  51. package/dist/HeroBanner/HeroBanner.css.js +11 -9
  52. package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
  53. package/dist/HeroBanner/index.d.ts +2 -1
  54. package/dist/HeroBanner/index.js +3 -3
  55. package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
  56. package/dist/Hyperlink/index.d.ts +3 -2
  57. package/dist/Hyperlink/index.js +4 -3
  58. package/dist/IconBillboard/IconBillboard.css.d.ts +6 -5
  59. package/dist/IconBillboard/IconBillboard.d.ts +4 -3
  60. package/dist/IconBillboard/IconBillboard.interface.d.ts +4 -3
  61. package/dist/IconBillboard/IconBillboard.js +1 -1
  62. package/dist/IconBillboard/IconBillboardSet.d.ts +2 -1
  63. package/dist/IconBillboard/index.d.ts +4 -4
  64. package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -4
  65. package/dist/ImageBillboard/ImageBillboard.d.ts +2 -1
  66. package/dist/ImageBillboard/ImageBillboard.interface.d.ts +5 -4
  67. package/dist/ImageBillboard/ImageBillboard.js +1 -0
  68. package/dist/ImageBillboard/ImageBillboardSet.d.ts +2 -1
  69. package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
  70. package/dist/ImageBillboard/index.d.ts +4 -4
  71. package/dist/Input/Input.css.d.ts +6 -6
  72. package/dist/Input/Input.css.js +2 -2
  73. package/dist/Input/Input.d.ts +14 -0
  74. package/dist/Input/Input.js +45 -0
  75. package/dist/Input/InputPhone.d.ts +3 -0
  76. package/dist/Input/InputPhone.js +24 -0
  77. package/dist/Input/index.d.ts +3 -13
  78. package/dist/Input/index.js +13 -43
  79. package/dist/Inputs/Input.css.d.ts +6 -6
  80. package/dist/MainHTML/index.d.ts +2 -1
  81. package/dist/MainHTML/index.js +8 -1
  82. package/dist/Modal/Modal.d.ts +3 -2
  83. package/dist/Modal/Modal.js +4 -3
  84. package/dist/Modal/contextApi/store.d.ts +3 -2
  85. package/dist/Modal/contextApi/store.js +11 -16
  86. package/dist/Modal/index.d.ts +2 -2
  87. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +53 -53
  88. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
  89. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +138 -97
  90. package/dist/NavigationMenu/AxosAdvisor/index.js +13 -19
  91. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
  92. package/dist/NavigationMenu/index.d.ts +2 -2
  93. package/dist/SetContainer/SetContainer.d.ts +3 -2
  94. package/dist/SetContainer/SetContainer.js +4 -3
  95. package/dist/SetContainer/index.d.ts +2 -2
  96. package/dist/Table/Table.css.d.ts +16 -5
  97. package/dist/Table/Table.css.js +15 -13
  98. package/dist/Table/Table.d.ts +9 -8
  99. package/dist/Table/Table.interface.d.ts +3 -1
  100. package/dist/Table/Table.js +37 -19
  101. package/dist/Table/index.d.ts +2 -2
  102. package/dist/Table/index.js +2 -1
  103. package/dist/TextBlock/TextBlock.d.ts +2 -1
  104. package/dist/TextBlock/index.d.ts +2 -2
  105. package/dist/Typography/Typography.css.d.ts +4 -3
  106. package/dist/Typography/Typography.d.ts +3 -2
  107. package/dist/Typography/index.d.ts +1 -1
  108. package/dist/VideoTile/VideoTile.css.js +1 -1
  109. package/dist/VideoTile/VideoTile.d.ts +3 -2
  110. package/dist/VideoTile/VideoTile.js +4 -3
  111. package/dist/VideoTile/index.d.ts +4 -4
  112. package/dist/VideoWrapper/VideoWrapper.css.d.ts +1 -0
  113. package/dist/VideoWrapper/VideoWrapper.css.js +5 -3
  114. package/dist/VideoWrapper/index.d.ts +3 -2
  115. package/dist/VideoWrapper/index.js +23 -17
  116. package/dist/assets/Button/Button.css +14 -3
  117. package/dist/assets/FaqAccordion/FaqAccordion.css +12 -3
  118. package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -7
  119. package/dist/assets/Forms/Forms.css +1 -1
  120. package/dist/assets/HeroBanner/HeroBanner.css +100 -52
  121. package/dist/assets/ImageBillboard/ImageBillboard.css +6 -1
  122. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +594 -591
  123. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +84 -81
  124. package/dist/assets/Table/Table.css +89 -54
  125. package/dist/assets/TextBlock/TextBlock.css +0 -1
  126. package/dist/assets/VideoTile/VideoTile.css +5 -0
  127. package/dist/assets/VideoWrapper/VideoWrapper.css +11 -8
  128. package/dist/assets/globals.css +7 -2
  129. package/dist/assets/index.css +0 -3
  130. package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
  131. package/dist/icons/ArrowIcon/index.d.ts +2 -1
  132. package/dist/icons/ArrowIcon/index.js +3 -1
  133. package/dist/icons/AxosX/Blue.d.ts +2 -1
  134. package/dist/icons/AxosX/index.d.ts +2 -1
  135. package/dist/icons/CheckCircle.d.ts +2 -1
  136. package/dist/icons/CheckCircleLight.d.ts +2 -1
  137. package/dist/icons/CheckIcon/CheckIcon.css.d.ts +3 -2
  138. package/dist/icons/CheckIcon/index.d.ts +2 -1
  139. package/dist/icons/ChevronDown.d.ts +2 -1
  140. package/dist/icons/ChevronUp.d.ts +2 -1
  141. package/dist/icons/CloseIcon/index.d.ts +2 -1
  142. package/dist/icons/DownloadIcon/index.d.ts +2 -1
  143. package/dist/icons/EqualHousingLender.d.ts +2 -1
  144. package/dist/icons/LockIcon/index.d.ts +2 -1
  145. package/dist/icons/MemberFdicLogo.d.ts +2 -1
  146. package/dist/icons/QuoteIconGrey.d.ts +2 -1
  147. package/dist/icons/QuoteIconWhite.d.ts +2 -1
  148. package/dist/icons/QuoteIconYellow.d.ts +2 -1
  149. package/dist/icons/WarningIcon/index.d.ts +2 -1
  150. package/dist/icons/index.d.ts +17 -17
  151. package/dist/index.css.d.ts +1 -0
  152. package/dist/main.d.ts +2 -1
  153. package/dist/main.js +17 -3
  154. package/dist/themes/index.d.ts +2 -2
  155. package/dist/utils/allowedAxosDomains.js +9 -7
  156. package/dist/utils/ctaOptions.d.ts +1 -0
  157. package/dist/utils/getVariant.d.ts +2 -1
  158. package/dist/utils/index.d.ts +5 -5
  159. package/package.json +107 -106
package/dist/main.js CHANGED
@@ -21,13 +21,16 @@ import { RenderWebForm, renderSwitch } from "./Forms/RenderForm.js";
21
21
  import { SalesforceFieldsForm, SalesforceSchema } from "./Forms/SalesforceFieldsForm.js";
22
22
  import { ScheduleCall } from "./Forms/ScheduleCall.js";
23
23
  import { HeroBanner } from "./HeroBanner/index.js";
24
+ import { Hyperlink } from "./Hyperlink/index.js";
24
25
  import { IconBillboard } from "./IconBillboard/IconBillboard.js";
25
26
  import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, layout, list, listItem, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
26
27
  import { IconBillboardSet } from "./IconBillboard/IconBillboardSet.js";
27
28
  import { ImageBillboardSet } from "./ImageBillboard/ImageBillboard.js";
28
29
  import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
29
30
  import { ImageBillboard } from "./ImageBillboard/ImageBillboardSet.js";
30
- import { Input } from "./Input/index.js";
31
+ import { Input } from "./Input/Input.js";
32
+ import { container, helperText, iconContainer, iconContainerBase, iconInput, input, labelClassName, wrapper } from "./Input/Input.css.js";
33
+ import { InputPhone } from "./Input/InputPhone.js";
31
34
  import { MainHTML } from "./MainHTML/index.js";
32
35
  import { Modal } from "./Modal/Modal.js";
33
36
  import { GlobalContext, GlobalContextProvider, useGlobalContext } from "./Modal/contextApi/store.js";
@@ -37,7 +40,7 @@ import { SecondaryFooter } from "./SecondaryFooter/index.js";
37
40
  import { SetContainer } from "./SetContainer/SetContainer.js";
38
41
  import { inline_container } from "./SetContainer/SetContainer.css.js";
39
42
  import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table/Table.js";
40
- import { alternate_color_rows, bodyHeader, headerCell, headerVariants, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_headline, td, th } from "./Table/Table.css.js";
43
+ import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_headline, td, th } from "./Table/Table.css.js";
41
44
  import { TextBlock } from "./TextBlock/TextBlock.js";
42
45
  import { textBlockHeader, textBlockList, textBlockParagraph } from "./TextBlock/TextBlock.css.js";
43
46
  import { VideoInit } from "./VideoTile/VideoInit.js";
@@ -106,11 +109,13 @@ export {
106
109
  GlobalContextProvider,
107
110
  GoBackButton,
108
111
  HeroBanner,
112
+ Hyperlink,
109
113
  IconBillboard,
110
114
  IconBillboardSet,
111
115
  ImageBillboard,
112
116
  ImageBillboardSet,
113
117
  Input,
118
+ InputPhone,
114
119
  default15 as LockIcon,
115
120
  MainHTML,
116
121
  default16 as MemberFdicLogo,
@@ -141,6 +146,7 @@ export {
141
146
  actions,
142
147
  alternate_color_rows,
143
148
  apy_billboard,
149
+ apy_table,
144
150
  associatedEmail,
145
151
  axosTheme,
146
152
  billboard,
@@ -156,6 +162,7 @@ export {
156
162
  bodyHeader,
157
163
  button,
158
164
  buttons,
165
+ container,
159
166
  containerIconBillboard,
160
167
  content,
161
168
  disclosureForm,
@@ -178,21 +185,27 @@ export {
178
185
  headerIconBillboard,
179
186
  headerVariants,
180
187
  header_section,
188
+ helperText,
181
189
  hide,
182
190
  hide_transcript,
183
191
  highlight_first_row,
184
192
  highlight_last_row,
185
193
  icon,
194
+ iconContainer,
195
+ iconContainerBase,
186
196
  iconForm,
197
+ iconInput,
187
198
  iconsContent,
188
199
  imagePlacement,
189
200
  image_background,
190
201
  inline_container,
202
+ input,
191
203
  isAbsoluteUrl,
192
204
  isAllowedUrl,
193
205
  isEmailLink,
194
206
  isPhoneLink,
195
207
  item,
208
+ labelClassName,
196
209
  layout,
197
210
  list,
198
211
  listItem,
@@ -235,5 +248,6 @@ export {
235
248
  video_container,
236
249
  video_title,
237
250
  vidyard_height,
238
- w_100
251
+ w_100,
252
+ wrapper
239
253
  };
@@ -1,2 +1,2 @@
1
- export * from "./axos.css";
2
- export * from "./premier.css";
1
+ export * from './axos.css';
2
+ export * from './premier.css';
@@ -1,15 +1,17 @@
1
1
  const moreDomains = {
2
- "{AXOS}": "www.axos.com",
3
- "{AXOSBANK}": "www.axosbank.com",
2
+ "{AXOS}": "https://www.axos.com",
3
+ "{AXOSBANK}": "https://www.axosbank.com",
4
4
  "{AXOSCLEARING}": "https://axosclearing.com/",
5
- "{AAS}": "www.axosadvisorservices.com",
6
- "{NATIONWIDE}": "www.nationwide.axosbank.com",
5
+ "{AAS}": "https://www.axosadvisorservices.com",
6
+ "{NATIONWIDE}": "https://www.nationwide.axosbank.com",
7
7
  // '{ENROLLMENT}': process.env.NEXT_PUBLIC_ENROLLMENT_URL as string,
8
8
  // '{SECENROLLMENT}': process.env.NEXT_PUBLIC_ENROLLMENT2_URL as string,
9
- "{ASSETSURL}": "https://assets.ctfassets.net",
10
- "{IMAGEASSETSURL}": "https://images.ctfassets.net",
9
+ "{ASSETSURL}": "https://assets.axos.com",
10
+ "{IMAGEASSETSURL}": "https://images.axos.com",
11
11
  "{ONLINEBANKING}": "https://onlinebanking.uat.axsobank.com",
12
- "{UFBDIRECT": "www.ufbdirect.com"
12
+ "{UFBDIRECT}": "https://www.ufbdirect.com"
13
+ // "assets.axos.com": "https://assets.axos.com",
14
+ // "images.axos.com": "https://images.axos.com",
13
15
  };
14
16
  const isAllowedUrl = (url) => {
15
17
  const uri = new URL(url, location.href);
@@ -1,4 +1,5 @@
1
1
  import { ImageInterface } from '../CallToActionBar/CallToActionBar.interface';
2
+
2
3
  export declare const imageOrientation: (image: ImageInterface) => string;
3
4
  export declare const getBannerSizeClassName: (size: string, overlap: boolean) => string;
4
5
  export declare const returnImageDimensions: (size: string, image_orientation: string) => {
@@ -1,3 +1,4 @@
1
- import { CallToActionTypes, QuaternaryTypes, SecondaryTypes } from "./variant.types";
1
+ import { CallToActionTypes, QuaternaryTypes, SecondaryTypes } from './variant.types';
2
+
2
3
  export declare const getVariantWithRegex: (text: string) => string;
3
4
  export declare const getVariant: (text?: string) => CallToActionTypes & SecondaryTypes & QuaternaryTypes;
@@ -1,5 +1,5 @@
1
- export * from "./EverestValidity";
2
- export * from "./allowedAxosDomains";
3
- export * from "./getVariant";
4
- export * from "./validateExternalLinks";
5
- export * from "./variant.types";
1
+ export * from './EverestValidity';
2
+ export * from './allowedAxosDomains';
3
+ export * from './getVariant';
4
+ export * from './validateExternalLinks';
5
+ export * from './variant.types';
package/package.json CHANGED
@@ -1,106 +1,107 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "0.0.17",
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 install",
26
- "storybook": "storybook dev -p 6006",
27
- "build-storybook": "storybook build",
28
- "npm:link": "npm run build && npm link"
29
- },
30
- "dependencies": {
31
- "@hookform/resolvers": "^3.3.4",
32
- "@storybook/builder-vite": "^7.6.13",
33
- "@storybook/preview-api": "^7.6.16",
34
- "@vanilla-extract/css": "^1.14.1",
35
- "@vanilla-extract/recipes": "^0.5.1",
36
- "clsx": "^2.1.0",
37
- "react-hook-form": "^7.51.1",
38
- "react-markdown": "^9.0.1",
39
- "react-use": "^17.5.0",
40
- "typed-css-modules": "^0.9.1",
41
- "vite-plugin-svgr": "^4.2.0",
42
- "zod": "^3.22.4",
43
- "zustand": "^4.5.0"
44
- },
45
- "peerDependencies": {
46
- "@vanilla-extract/css": "^1.14.1",
47
- "@vanilla-extract/css-utils": "^0.1.3",
48
- "@vanilla-extract/recipes": "^0.5.1",
49
- "@vanilla-extract/vite-plugin": "^4.0.3",
50
- "next": "^14.1.4",
51
- "react": "^18.2.0",
52
- "react-dom": "^18.2.0"
53
- },
54
- "devDependencies": {
55
- "@rollup/plugin-alias": "^5.1.0",
56
- "@storybook/addon-essentials": "^7.6.13",
57
- "@storybook/addon-interactions": "^7.6.13",
58
- "@storybook/addon-links": "^7.6.13",
59
- "@storybook/addon-onboarding": "^1.0.11",
60
- "@storybook/addon-themes": "^7.6.10",
61
- "@storybook/blocks": "^7.6.13",
62
- "@storybook/react": "^7.6.13",
63
- "@storybook/react-vite": "^7.6.13",
64
- "@storybook/test": "^7.6.13",
65
- "@svgr/core": "^8.1.0",
66
- "@svgr/plugin-prettier": "^8.1.0",
67
- "@svgr/plugin-svgo": "^8.1.0",
68
- "@types/node": "^20.11.16",
69
- "@types/react": "^18.2.43",
70
- "@types/react-dom": "^18.2.17",
71
- "@typescript-eslint/eslint-plugin": "^6.14.0",
72
- "@typescript-eslint/parser": "^6.14.0",
73
- "@vanilla-extract/css-utils": "^0.1.3",
74
- "@vanilla-extract/recipes": "^0.5.1",
75
- "@vanilla-extract/vite-plugin": "^4.0.3",
76
- "@vitejs/plugin-react-swc": "^3.5.0",
77
- "esbuild-vanilla-image-loader": "^0.1.3",
78
- "eslint": "^8.55.0",
79
- "eslint-plugin-react-hooks": "^4.6.0",
80
- "eslint-plugin-react-refresh": "^0.4.5",
81
- "eslint-plugin-storybook": "^0.6.15",
82
- "glob": "^10.3.10",
83
- "husky": "^8.0.0",
84
- "prettier": "3.2.5",
85
- "react": "^18.2.0",
86
- "react-dom": "^18.2.0",
87
- "rollup-plugin-preserve-directives": "^0.4.0",
88
- "rollup-plugin-svg-import": "^3.0.0",
89
- "rollup-plugin-svgo": "^2.0.0",
90
- "storybook": "^7.6.13",
91
- "typescript": "^5.2.2",
92
- "typescript-plugin-css-modules": "^5.1.0",
93
- "vite": "^5.0.8",
94
- "vite-plugin-dts": "^3.7.3",
95
- "vite-plugin-lib-inject-css": "^1.3.0",
96
- "vite-plugin-setting-css-module": "^1.1.4",
97
- "vite-tsconfig-paths": "^4.3.1",
98
- "next": "^14.1.4"
99
- },
100
- "main": "index.js",
101
- "directories": {
102
- "lib": "lib"
103
- },
104
- "author": "axos-web-dev",
105
- "license": "ISC"
106
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "0.0.19",
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 install",
26
+ "storybook": "storybook dev -p 6006",
27
+ "build-storybook": "storybook build",
28
+ "npm:link": "npm run build && npm link"
29
+ },
30
+ "dependencies": {
31
+ "@hookform/resolvers": "^3.3.4",
32
+ "@react-input/mask": "^1.0.23",
33
+ "@storybook/builder-vite": "^7.6.13",
34
+ "@storybook/preview-api": "^7.6.16",
35
+ "@vanilla-extract/css": "^1.14.1",
36
+ "@vanilla-extract/recipes": "^0.5.1",
37
+ "clsx": "^2.1.0",
38
+ "react-hook-form": "^7.51.1",
39
+ "react-markdown": "^9.0.1",
40
+ "react-use": "^17.5.0",
41
+ "typed-css-modules": "^0.9.1",
42
+ "vite-plugin-svgr": "^4.2.0",
43
+ "zod": "^3.22.4",
44
+ "zustand": "^4.5.0"
45
+ },
46
+ "peerDependencies": {
47
+ "@vanilla-extract/css": "^1.14.1",
48
+ "@vanilla-extract/css-utils": "^0.1.3",
49
+ "@vanilla-extract/recipes": "^0.5.1",
50
+ "@vanilla-extract/vite-plugin": "^4.0.3",
51
+ "next": "^14.1.4",
52
+ "react": "^18.2.0",
53
+ "react-dom": "^18.2.0"
54
+ },
55
+ "devDependencies": {
56
+ "@rollup/plugin-alias": "^5.1.0",
57
+ "@storybook/addon-essentials": "^7.6.13",
58
+ "@storybook/addon-interactions": "^7.6.13",
59
+ "@storybook/addon-links": "^7.6.13",
60
+ "@storybook/addon-onboarding": "^1.0.11",
61
+ "@storybook/addon-themes": "^7.6.10",
62
+ "@storybook/blocks": "^7.6.13",
63
+ "@storybook/react": "^7.6.13",
64
+ "@storybook/react-vite": "^7.6.13",
65
+ "@storybook/test": "^7.6.13",
66
+ "@svgr/core": "^8.1.0",
67
+ "@svgr/plugin-prettier": "^8.1.0",
68
+ "@svgr/plugin-svgo": "^8.1.0",
69
+ "@types/node": "^20.11.16",
70
+ "@types/react": "^18.2.43",
71
+ "@types/react-dom": "^18.2.17",
72
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
73
+ "@typescript-eslint/parser": "^6.14.0",
74
+ "@vanilla-extract/css-utils": "^0.1.3",
75
+ "@vanilla-extract/recipes": "^0.5.1",
76
+ "@vanilla-extract/vite-plugin": "^4.0.3",
77
+ "@vitejs/plugin-react-swc": "^3.5.0",
78
+ "esbuild-vanilla-image-loader": "^0.1.3",
79
+ "eslint": "^8.55.0",
80
+ "eslint-plugin-react-hooks": "^4.6.0",
81
+ "eslint-plugin-react-refresh": "^0.4.5",
82
+ "eslint-plugin-storybook": "^0.6.15",
83
+ "glob": "^10.3.10",
84
+ "husky": "^8.0.0",
85
+ "next": "^14.1.4",
86
+ "prettier": "3.2.5",
87
+ "react": "^18.2.0",
88
+ "react-dom": "^18.2.0",
89
+ "rollup-plugin-preserve-directives": "^0.4.0",
90
+ "rollup-plugin-svg-import": "^3.0.0",
91
+ "rollup-plugin-svgo": "^2.0.0",
92
+ "storybook": "^7.6.13",
93
+ "typescript": "^5.2.2",
94
+ "typescript-plugin-css-modules": "^5.1.0",
95
+ "vite": "^5.0.8",
96
+ "vite-plugin-dts": "^3.7.3",
97
+ "vite-plugin-lib-inject-css": "^1.3.0",
98
+ "vite-plugin-setting-css-module": "^1.1.4",
99
+ "vite-tsconfig-paths": "^4.3.1"
100
+ },
101
+ "main": "index.js",
102
+ "directories": {
103
+ "lib": "lib"
104
+ },
105
+ "author": "axos-web-dev",
106
+ "license": "ISC"
107
+ }