@axos-web-dev/shared-components 1.0.18 → 1.0.20

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 (97) hide show
  1. package/dist/ATMLocator/ATMLocator.js +15 -13
  2. package/dist/Accordion/Accordion.js +1 -1
  3. package/dist/Button/Button.js +2 -0
  4. package/dist/Calculators/AxosOneCalculator/index.js +1 -1
  5. package/dist/Calculators/BalanceAPYCalculator/index.js +1 -1
  6. package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.d.ts +101 -0
  7. package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.js +56 -0
  8. package/dist/Calculators/BuyDownCalculator/index.d.ts +25 -0
  9. package/dist/Calculators/BuyDownCalculator/index.js +868 -0
  10. package/dist/Calculators/Calculator.js +11 -0
  11. package/dist/Calculators/MarginTradingCalculator/index.js +2 -2
  12. package/dist/Calculators/SummitApyCalculator/index.js +1 -1
  13. package/dist/Calculators/index.d.ts +1 -0
  14. package/dist/Calculators/index.js +2 -0
  15. package/dist/CallToActionBar/index.js +1 -1
  16. package/dist/Carousel/index.js +3 -1
  17. package/dist/Chevron/index.js +3 -1
  18. package/dist/Comparison/Comparison.js +3 -1
  19. package/dist/Comparison/ComparisonSet.js +1 -1
  20. package/dist/ExecutiveBio/ExecutiveBio.js +2 -0
  21. package/dist/FaqAccordion/index.js +3 -1
  22. package/dist/FooterDisclosure/LVF/LaVictorieFooter.js +1 -1
  23. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +2 -0
  24. package/dist/Forms/ApplicationStart.js +1 -1
  25. package/dist/Forms/ApplyNow.js +3 -1
  26. package/dist/Forms/ClearingForm.js +1 -1
  27. package/dist/Forms/CommercialDeposits.js +1 -1
  28. package/dist/Forms/CommercialLending.js +1 -1
  29. package/dist/Forms/ContactCompany.js +1 -1
  30. package/dist/Forms/ContactCompanyTitle.js +1 -1
  31. package/dist/Forms/ContactUs.js +1 -1
  32. package/dist/Forms/ContactUsAAS.js +1 -1
  33. package/dist/Forms/ContactUsBusiness.js +3 -1
  34. package/dist/Forms/ContactUsLVF.js +1 -1
  35. package/dist/Forms/ContactUsNMLSId.js +3 -1
  36. package/dist/Forms/CpraRequest.js +1 -1
  37. package/dist/Forms/CraPublicFile.js +3 -1
  38. package/dist/Forms/DealerServices.js +1 -1
  39. package/dist/Forms/EmailOnly.js +3 -1
  40. package/dist/Forms/EmailUs.js +1 -1
  41. package/dist/Forms/FormEnums.d.ts +21 -0
  42. package/dist/Forms/FormEnums.js +187 -0
  43. package/dist/Forms/MortgageRate/MortgageRateForm.js +3 -1
  44. package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +1 -1
  45. package/dist/Forms/MortgageRate/MortgageRateWatch.js +2 -0
  46. package/dist/Forms/QuickPricer/QuickPricerForm.js +2 -2
  47. package/dist/Forms/ScheduleCall.js +1 -1
  48. package/dist/Forms/ScheduleCallPremier.js +1 -1
  49. package/dist/Forms/SuccesForm.js +15 -13
  50. package/dist/Forms/VendorQuestionnaire.js +1 -1
  51. package/dist/Forms/WcplSurvey.js +1 -1
  52. package/dist/HeroBanner/HeroBanner.js +1 -1
  53. package/dist/Hyperlink/index.js +2 -0
  54. package/dist/IconBillboard/IconBillboard.js +1 -1
  55. package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.d.ts +9 -0
  56. package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.js +85 -0
  57. package/dist/ImageBillboard/ExitIntentModal/useExitIntentModal.d.ts +5 -0
  58. package/dist/ImageBillboard/ExitIntentModal/useExitIntentModal.js +90 -0
  59. package/dist/ImageBillboard/ImageBillboard.css.d.ts +3 -0
  60. package/dist/ImageBillboard/ImageBillboard.css.js +6 -0
  61. package/dist/ImageBillboard/ImageBillboard.interface.d.ts +1 -0
  62. package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
  63. package/dist/ImageBillboard/ImageBillboardSet.js +24 -6
  64. package/dist/ImageBillboard/index.js +4 -1
  65. package/dist/ImageLink/ImageLink.js +2 -0
  66. package/dist/ImageLink/ImageLinkSet.js +2 -0
  67. package/dist/ImageLink/index.js +2 -0
  68. package/dist/Input/Checkbox.js +2 -1
  69. package/dist/Input/Input.js +2 -1
  70. package/dist/Input/PercentageInput.d.ts +3 -0
  71. package/dist/Input/PercentageInput.js +32 -0
  72. package/dist/Input/RadioButton.js +12 -3
  73. package/dist/Insight/Featured/CategorySelector.js +4 -2
  74. package/dist/Insight/Featured/Featured.js +3 -1
  75. package/dist/Insight/Featured/Header.js +3 -1
  76. package/dist/Modal/Modal.js +2 -0
  77. package/dist/Modal/contextApi/store.js +1 -1
  78. package/dist/NavigationMenu/AxosALTS/NavData.js +2 -0
  79. package/dist/NavigationMenu/AxosALTS/index.js +2 -0
  80. package/dist/NavigationMenu/AxosBank/NavData.js +2 -0
  81. package/dist/NavigationMenu/AxosBank/SubNavBar.js +2 -0
  82. package/dist/NavigationMenu/AxosBank/index.js +2 -0
  83. package/dist/NavigationMenu/LaVictoire/NavData.js +2 -0
  84. package/dist/NavigationMenu/LaVictoire/index.js +2 -0
  85. package/dist/PageNavSet/PageNavSet.js +1 -1
  86. package/dist/Pagination/Pagination.js +1 -1
  87. package/dist/SecondaryFooter/index.js +1 -1
  88. package/dist/SetContainer/SetContainer.js +3 -1
  89. package/dist/SocialMediaBar/iconsRepository.js +2 -0
  90. package/dist/Table/Table.js +1 -1
  91. package/dist/TextBlock/TextBlock.js +1 -1
  92. package/dist/VideoWrapper/index.js +2 -0
  93. package/dist/assets/Calculators/BuyDownCalculator/BuyDownCalculator.css +197 -0
  94. package/dist/assets/ImageBillboard/ImageBillboard.css +106 -0
  95. package/dist/main.d.ts +1 -0
  96. package/dist/main.js +6 -1
  97. package/package.json +130 -130
@@ -0,0 +1,197 @@
1
+ .n9fzuw0 {
2
+ padding-inline: 120px;
3
+ padding-top: 48px;
4
+ padding-bottom: 48px;
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ }
9
+ .n9fzuw1 {
10
+ background: var(--_1073cm81);
11
+ color: var(--_1073cm82);
12
+ }
13
+ .n9fzuw2 {
14
+ background: var(--_1073cm88);
15
+ color: var(--_1073cm89);
16
+ }
17
+ .n9fzuw3 {
18
+ background: var(--_1073cm8f);
19
+ color: var(--_1073cm8g);
20
+ }
21
+ .n9fzuw4 {
22
+ background: var(--_1073cm8m);
23
+ color: var(--_1073cm8n);
24
+ }
25
+ .n9fzuw5 {
26
+ padding: 2.5rem 0;
27
+ display: flex;
28
+ }
29
+ .n9fzuw6 {
30
+ width: 100%;
31
+ }
32
+ .n9fzuw7 {
33
+ margin-bottom: 2.5rem;
34
+ max-width: 49.5rem;
35
+ text-align: center;
36
+ margin-inline: auto;
37
+ }
38
+ .n9fzuw8 {
39
+ margin-inline: auto;
40
+ }
41
+ .n9fzuw9 {
42
+ color: red;
43
+ font-size: larger;
44
+ list-style: none;
45
+ }
46
+ .n9fzuwa {
47
+ font-family: var(--main-font-family);
48
+ display: flex;
49
+ flex-direction: column;
50
+ gap: 1.5rem;
51
+ }
52
+ .n9fzuwb {
53
+ color: var(--_1073cm82);
54
+ }
55
+ .n9fzuwc {
56
+ color: var(--_1073cm89);
57
+ }
58
+ .n9fzuwd {
59
+ color: var(--_1073cm8g);
60
+ }
61
+ .n9fzuwe {
62
+ color: var(--_1073cm8n);
63
+ }
64
+ .n9fzuwf {
65
+ max-width: 792px;
66
+ margin: 0 auto;
67
+ }
68
+ .n9fzuwg {
69
+ display: flex;
70
+ flex-direction: row;
71
+ width: 100%;
72
+ gap: 15px;
73
+ }
74
+ .n9fzuwh {
75
+ display: flex;
76
+ flex-direction: row;
77
+ }
78
+ .n9fzuwg > div {
79
+ flex-grow: 1;
80
+ width: 100%;
81
+ }
82
+ .n9fzuwi {
83
+ margin-top: 1.5rem;
84
+ text-align: center;
85
+ margin-inline: auto;
86
+ margin-bottom: 1.5rem;
87
+ }
88
+ .n9fzuwg .input_label {
89
+ color: inherit;
90
+ }
91
+ .n9fzuwj {
92
+ position: relative;
93
+ }
94
+ .n9fzuwk {
95
+ position: absolute;
96
+ color: #323339;
97
+ font-size: 18px;
98
+ font-weight: 500!important;
99
+ margin-bottom: 0;
100
+ }
101
+ .n9fzuwl {
102
+ left: 21px;
103
+ top: 46px;
104
+ }
105
+ .n9fzuwm {
106
+ top: 47px;
107
+ right: 10px;
108
+ }
109
+ .n9fzuwn {
110
+ padding-left: 2rem;
111
+ }
112
+ .n9fzuwp {
113
+ width: 100%;
114
+ }
115
+ .n9fzuwq > p {
116
+ font-size: 14px;
117
+ line-height: 1.3;
118
+ margin-bottom: 10px;
119
+ letter-spacing: .2px;
120
+ }
121
+ .n9fzuwr {
122
+ margin-bottom: 1rem;
123
+ }
124
+ ._1073cm80 .n9fzuwt {
125
+ -webkit-background-clip: text;
126
+ background-image: var(--_1073cm84);
127
+ -webkit-text-fill-color: transparent;
128
+ text-shadow: 0px 0px #00000000;
129
+ }
130
+ ._1es6o1h0 .n9fzuwt {
131
+ color: var(--_1073cm83);
132
+ }
133
+ ._1073cm80 .n9fzuwu {
134
+ -webkit-background-clip: text;
135
+ background-image: var(--_1073cm8b);
136
+ -webkit-text-fill-color: transparent;
137
+ text-shadow: 0px 0px #00000000;
138
+ }
139
+ ._1es6o1h0 .n9fzuwu {
140
+ color: var(--_1073cm8a);
141
+ }
142
+ .n9fzuwv {
143
+ color: var(--_1073cm8h);
144
+ }
145
+ .n9fzuww {
146
+ color: var(--_1073cm8o);
147
+ }
148
+ .n9fzuwx {
149
+ margin-top: 0.5rem;
150
+ }
151
+ .n9fzuwy {
152
+ padding-inline-start: 0;
153
+ }
154
+ .n9fzuwz {
155
+ font-weight: 400;
156
+ color: #344a53;
157
+ margin-bottom: 8px;
158
+ }
159
+ .n9fzuw8 label:not(.n9fzuwz) {
160
+ font-weight: 700;
161
+ color: #28587d;
162
+ }
163
+ @media screen and (max-width:1023px) {
164
+ .n9fzuw0 {
165
+ padding-inline: 0;
166
+ padding: 0 3.5rem;
167
+ }
168
+ .n9fzuwq {
169
+ margin-top: 1rem;
170
+ }
171
+ }
172
+ @media screen and (max-width:768px) {
173
+ .n9fzuw0 {
174
+ padding: 0 2rem;
175
+ }
176
+ }
177
+ @media screen and (max-width:470px) {
178
+ .n9fzuw0 {
179
+ padding: 0 1.5rem;
180
+ }
181
+ }
182
+ @media screen and (max-width:1124px) {
183
+ .n9fzuw5 {
184
+ flex-wrap: wrap;
185
+ justify-content: center;
186
+ }
187
+ }
188
+ @media screen and (min-width:1125px) {
189
+ .n9fzuw6 {
190
+ margin-right: 2rem;
191
+ }
192
+ }
193
+ @media screen and (max-width:480px) {
194
+ .n9fzuwg {
195
+ flex-direction: column;
196
+ }
197
+ }
@@ -1,3 +1,13 @@
1
+ @keyframes fadeIn {
2
+ 0% {
3
+ opacity: 0;
4
+ transform: translateY(-10%);
5
+ }
6
+ 100% {
7
+ opacity: 1;
8
+ transform: translateY(0);
9
+ }
10
+ }
1
11
  ._1m7m2a0 {
2
12
  height: auto;
3
13
  }
@@ -193,6 +203,58 @@
193
203
  main > div:nth-last-child(2) > ._1m7m2a0 {
194
204
  margin-bottom: 3.5rem;
195
205
  }
206
+ ._1m7m2a12 {
207
+ position: fixed;
208
+ inset: 0;
209
+ align-items: center;
210
+ background: rgba(0, 0, 0, 0.6);
211
+ display: flex;
212
+ min-height: 100vh;
213
+ justify-content: center;
214
+ width: 100%;
215
+ z-index: 9999;
216
+ overflow-y: auto;
217
+ box-sizing: border-box;
218
+ }
219
+ ._1m7m2a13 {
220
+ width: 100%;
221
+ }
222
+ ._1m7m2a13 .billboard {
223
+ animation: fadeIn 0.3s ease-in-out;
224
+ box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
225
+ gap: 1.5rem;
226
+ max-width: 1150px;
227
+ position: relative;
228
+ }
229
+ ._1m7m2a13 ._1m7m2au {
230
+ border-radius: 1rem;
231
+ overflow: hidden;
232
+ }
233
+ ._1m7m2a13 ._1m7m2an {
234
+ padding: 0;
235
+ }
236
+ ._1m7m2a13 ._1m7m2aj img {
237
+ object-fit: none;
238
+ }
239
+ ._1m7m2a14 {
240
+ position: absolute;
241
+ top: 1.5rem;
242
+ right: 1.75rem;
243
+ background: #faa74a;
244
+ border: none;
245
+ border-radius: 8px;
246
+ color: #1e3860;
247
+ cursor: pointer;
248
+ font-family: var(--header-font-family);
249
+ font-size: 1.1rem;
250
+ font-weight: 600;
251
+ line-height: 1;
252
+ padding: 8px 14px;
253
+ }
254
+ ._1m7m2a14:focus {
255
+ outline: 2px solid #faa74a;
256
+ outline-offset: 2px;
257
+ }
196
258
  @media screen and (max-width:1023px) {
197
259
  ._1m7m2a0 {
198
260
  flex-direction: column;
@@ -216,6 +278,11 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
216
278
  ._1m7m2an {
217
279
  max-width: 100%;
218
280
  }
281
+ ._1m7m2a12 {
282
+ display: block;
283
+ padding-top: 85px;
284
+ padding-bottom: 1rem;
285
+ }
219
286
  }
220
287
  @media screen and (max-width:475px) {
221
288
  ._1m7m2am {
@@ -243,6 +310,13 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
243
310
  main > div:nth-last-child(2) > ._1m7m2a0 {
244
311
  margin-bottom: 42px;
245
312
  }
313
+ ._1m7m2a13 .billboard {
314
+ padding: 32px;
315
+ width: min(33rem, calc(100% - 2rem));
316
+ }
317
+ ._1m7m2a13 ._1m7m2aj img {
318
+ object-fit: cover;
319
+ }
246
320
  }
247
321
  @media screen and (max-width: 768px) {
248
322
  ._1m7m2au {
@@ -267,4 +341,36 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
267
341
  ._1m7m2a11 {
268
342
  padding-left: 20px;
269
343
  }
344
+ }
345
+ @media screen and (min-width: 1024px) {
346
+ ._1m7m2a13 .billboard {
347
+ gap: calc(1rem + ((1vw - 10.24px) * 21.875));
348
+ padding-inline: calc(1.25rem + ((1vw - 10.24px) * 10.9375));
349
+ padding-block: calc(2rem + ((1vw - 10.24px) * 6.25));
350
+ }
351
+ ._1m7m2a13 h2 {
352
+ font-size: 40px;
353
+ line-height: 1.25;
354
+ text-wrap: pretty;
355
+ }
356
+ ._1m7m2a13 ._1m7m2an {
357
+ max-width: 60%;
358
+ }
359
+ ._1m7m2a13 ._1m7m2aj {
360
+ max-width: 40%;
361
+ }
362
+ ._1m7m2a13 ._1m7m2am {
363
+ justify-content: flex-start;
364
+ }
365
+ }
366
+ @media screen and (min-width: 1281px) {
367
+ ._1m7m2a13 .billboard {
368
+ gap: 72px;
369
+ padding: 48px;
370
+ }
371
+ }
372
+ @media screen and (max-width: 1024px) {
373
+ ._1m7m2a13 .billboard:not(.reversed) {
374
+ flex-direction: column-reverse;
375
+ }
270
376
  }
package/dist/main.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './Calculators/AxosOneCalculator';
16
16
  export * from './Calculators/BalanceAPYCalculator';
17
17
  export * from './Calculators/MarginTradingCalculator';
18
18
  export * from './Calculators/MonthlyPaymentCalculator';
19
+ export * from './Calculators/BuyDownCalculator';
19
20
  export * from './CallToActionBar';
20
21
  export * from './Carousel';
21
22
  export * from './Chevron';
package/dist/main.js CHANGED
@@ -28,6 +28,7 @@ import { MaxLoanCalculator } from "./Calculators/MaxLoanCalculator/index.js";
28
28
  import { MonthlyPaymentCalculator } from "./Calculators/MonthlyPaymentCalculator/index.js";
29
29
  import { MonthlyPaymentLVFCalculator } from "./Calculators/MonthlyPaymentLVFCalculator/index.js";
30
30
  import { SummitApyCalculator } from "./Calculators/SummitApyCalculator/index.js";
31
+ import { BuyDownCalculator } from "./Calculators/BuyDownCalculator/index.js";
31
32
  import { CallToActionBar } from "./CallToActionBar/index.js";
32
33
  import { Carousel, CarouselSlide } from "./Carousel/index.js";
33
34
  import { Chevron } from "./Chevron/index.js";
@@ -117,7 +118,7 @@ import { default as default26 } from "./icons/Logos/GBLVF.js";
117
118
  import { default as default27 } from "./icons/Logos/LVF.js";
118
119
  import { default as default28 } from "./icons/Logos/LVFText.js";
119
120
  import { ImageBillboardSet } from "./ImageBillboard/ImageBillboard.js";
120
- import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
121
+ import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, exit_intent, exit_intent_backdrop, header, imagePlacement, image_background, mh_330, modal_close_button, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
121
122
  import { ImageBillboard } from "./ImageBillboard/ImageBillboardSet.js";
122
123
  import { SetContainer } from "./SetContainer/SetContainer.js";
123
124
  import { heading, imageLinkContainer, inline_container, isolate_container, set_container, set_container_cols, set_logo, setcontainer_section_text } from "./SetContainer/SetContainer.css.js";
@@ -222,6 +223,7 @@ export {
222
223
  BreadcumbHeader,
223
224
  BulletItem,
224
225
  Button,
226
+ BuyDownCalculator,
225
227
  Calculator,
226
228
  CallToActionBar,
227
229
  Carousel,
@@ -432,6 +434,8 @@ export {
432
434
  dropdown,
433
435
  dynPH,
434
436
  executive_bio,
437
+ exit_intent,
438
+ exit_intent_backdrop,
435
439
  expand_icon,
436
440
  feature_header,
437
441
  feature_title,
@@ -553,6 +557,7 @@ export {
553
557
  mh_330,
554
558
  modalCheckboxContainer,
555
559
  modalMobile,
560
+ modal_close_button,
556
561
  modifier,
557
562
  mt1Rem,
558
563
  mt2rem,
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.18",
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.20",
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
+ }