@axos-web-dev/shared-components 1.0.101-dev.1 → 2.0.0-dev.1

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.
@@ -1,6 +1,6 @@
1
- import '../assets/Blockquote/Blockquote.css';const quote_spacer = "_quote_spacer_lqs2u_1";
2
- const author = "_author_lqs2u_13";
3
- const quote = "_quote_lqs2u_1";
1
+ import '../assets/Blockquote/Blockquote.css';const quote_spacer = "_quote_spacer_ovx4r_1";
2
+ const author = "_author_ovx4r_7";
3
+ const quote = "_quote_ovx4r_1";
4
4
  const css = {
5
5
  quote_spacer,
6
6
  author,
@@ -230,10 +230,13 @@ const Carousel = (props) => {
230
230
  /* @__PURE__ */ jsx("div", { children: iconVarints.get(variant) }),
231
231
  /* @__PURE__ */ jsx("div", { className: slides, children: children ? Children.map(children, (child2, idx) => {
232
232
  if (!React.isValidElement(child2)) return child2;
233
- return cloneElement(child2, {
234
- selected: idx === itemSelected,
235
- variant
236
- });
233
+ return cloneElement(
234
+ child2,
235
+ {
236
+ selected: idx === itemSelected,
237
+ variant
238
+ }
239
+ );
237
240
  }) : items?.map((item, idx) => /* @__PURE__ */ jsx(
238
241
  CarouselSlide,
239
242
  {
@@ -99,7 +99,9 @@ const CommercialLending = ({
99
99
  message: "Invalid business name"
100
100
  }).trim().optional().or(z.literal("")),
101
101
  Property_Zip__c: z.string().regex(/^[0-9]*$/g, { message: "Invalid zip code" }).optional().or(z.literal("")),
102
- Annual_Gross_Revenue__c: z.string({ message: "Annual gross revenue is required" }),
102
+ Annual_Gross_Revenue__c: z.string({
103
+ message: "Annual gross revenue is required"
104
+ }),
103
105
  Time_in_Business__c: z.string({ message: "Time in business is required" }),
104
106
  Lead_Type__c: z.string({ message: "Type is required" }),
105
107
  Type_of_Equipment_Finance__c: z.union([z.string(), z.undefined()]),
@@ -1,19 +1,19 @@
1
- import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css';const overlay = "_overlay_9wof4_1";
2
- const drawer = "_drawer_9wof4_17";
3
- const hamburger = "_hamburger_9wof4_57";
4
- const header = "_header_9wof4_79";
5
- const back = "_back_9wof4_101";
6
- const close = "_close_9wof4_117";
7
- const levelContainer = "_levelContainer_9wof4_139";
8
- const level = "_level_9wof4_139";
9
- const levelTitle = "_levelTitle_9wof4_171";
10
- const menu = "_menu_9wof4_181";
11
- const menuItem = "_menuItem_9wof4_221";
12
- const chevron = "_chevron_9wof4_253";
13
- const chevronIcon = "_chevronIcon_9wof4_263";
14
- const quickLinks = "_quickLinks_9wof4_285";
15
- const quickLink = "_quickLink_9wof4_285";
16
- const sr_only = "_sr_only_9wof4_333";
1
+ import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css';const overlay = "_overlay_pl06n_1";
2
+ const drawer = "_drawer_pl06n_9";
3
+ const hamburger = "_hamburger_pl06n_29";
4
+ const header = "_header_pl06n_40";
5
+ const back = "_back_pl06n_51";
6
+ const close = "_close_pl06n_59";
7
+ const levelContainer = "_levelContainer_pl06n_70";
8
+ const level = "_level_pl06n_70";
9
+ const levelTitle = "_levelTitle_pl06n_86";
10
+ const menu = "_menu_pl06n_91";
11
+ const menuItem = "_menuItem_pl06n_111";
12
+ const chevron = "_chevron_pl06n_127";
13
+ const chevronIcon = "_chevronIcon_pl06n_132";
14
+ const quickLinks = "_quickLinks_pl06n_143";
15
+ const quickLink = "_quickLink_pl06n_143";
16
+ const sr_only = "_sr_only_pl06n_167";
17
17
  const styles = {
18
18
  overlay,
19
19
  drawer,
@@ -1,72 +1,72 @@
1
- ._quote_spacer_lqs2u_1 {
2
- line-height: 1.35;
3
- margin-block: clamp(1.88rem, 1.99vw + 1.41rem, 3rem);
4
- margin-inline: auto;
5
- }
6
-
7
- ._author_lqs2u_13,
8
- ._quote_lqs2u_1 {
9
- color: #1f1f1f;
10
- }
11
-
12
- ._author_lqs2u_13 {
13
- text-align: right;
14
- margin-top: 18px;
15
- }
16
-
17
- ._author_lqs2u_13 cite {
18
- font-style: normal;
19
- }
20
-
21
- ._quote_spacer_lqs2u_1 .img_fluid {
22
- margin-right: 24px;
23
- transform: rotateY(180deg) scaleY(-1);
24
- }
25
-
26
- ._quote_spacer_lqs2u_1 .flex_row {
27
- align-items: flex-start;
28
- }
29
-
30
- ._quote_lqs2u_1 p {
31
- font-size: clamp(1.22rem, 0.92vw + 1rem, 1.74rem);
32
- font-style: italic;
33
- line-height: 1.2;
34
- }
35
-
36
- .lchs2s1 ._quote_lqs2u_1 p {
37
- color: #1e3860;
38
- }
39
-
40
- @media (max-width: 768px) {
41
- ._quote_spacer_lqs2u_1 .img_fluid {
42
- max-width: 30px;
43
- margin-right: 12px;
44
- }
45
- ._author_lqs2u_13 {
46
- margin-top: 14px;
47
- }
48
- ._quote_lqs2u_1 p {
49
- font-size: 18px;
50
- }
51
- ._author_lqs2u_13 cite {
52
- font-size: 14px;
53
- }
54
- }
55
-
56
- @media (max-width: 500px) {
57
- ._author_lqs2u_13 {
58
- margin-top: 12px;
59
- }
60
- }
61
-
62
- @media (min-width: 604px) {
63
- ._quote_spacer_lqs2u_1 {
64
- width: min(calc(100% - 2rem), 792px);
65
- }
66
- }
67
-
68
- @media (min-width: 1023px) {
69
- ._quote_lqs2u_1 p {
70
- font-weight: 700;
71
- }
72
- }
1
+ ._quote_spacer_ovx4r_1 {
2
+ line-height: 1.35;
3
+ margin-block: clamp(1.88rem, 1.99vw + 1.41rem, 3rem);
4
+ margin-inline: auto;
5
+ }
6
+
7
+ ._author_ovx4r_7,
8
+ ._quote_ovx4r_1 {
9
+ color: #1f1f1f;
10
+ }
11
+
12
+ ._author_ovx4r_7 {
13
+ text-align: right;
14
+ margin-top: 18px;
15
+ }
16
+
17
+ ._author_ovx4r_7 cite {
18
+ font-style: normal;
19
+ }
20
+
21
+ ._quote_spacer_ovx4r_1 .img_fluid {
22
+ margin-right: 24px;
23
+ transform: rotateY(180deg) scaleY(-1);
24
+ }
25
+
26
+ ._quote_spacer_ovx4r_1 .flex_row {
27
+ align-items: flex-start;
28
+ }
29
+
30
+ ._quote_ovx4r_1 p {
31
+ font-size: clamp(1.22rem, 0.92vw + 1rem, 1.74rem);
32
+ font-style: italic;
33
+ line-height: 1.2;
34
+ }
35
+
36
+ .lchs2s1 ._quote_ovx4r_1 p {
37
+ color: #1e3860;
38
+ }
39
+
40
+ @media (max-width: 768px) {
41
+ ._quote_spacer_ovx4r_1 .img_fluid {
42
+ max-width: 30px;
43
+ margin-right: 12px;
44
+ }
45
+ ._author_ovx4r_7 {
46
+ margin-top: 14px;
47
+ }
48
+ ._quote_ovx4r_1 p {
49
+ font-size: 18px;
50
+ }
51
+ ._author_ovx4r_7 cite {
52
+ font-size: 14px;
53
+ }
54
+ }
55
+
56
+ @media (max-width: 500px) {
57
+ ._author_ovx4r_7 {
58
+ margin-top: 12px;
59
+ }
60
+ }
61
+
62
+ @media (min-width: 604px) {
63
+ ._quote_spacer_ovx4r_1 {
64
+ width: min(calc(100% - 2rem), 792px);
65
+ }
66
+ }
67
+
68
+ @media (min-width: 1023px) {
69
+ ._quote_ovx4r_1 p {
70
+ font-weight: 700;
71
+ }
72
+ }
@@ -1,192 +1,192 @@
1
- ._overlay_9wof4_1 {
2
- position: fixed;
3
- inset: 0;
4
- height: 100vh;
5
- background: rgba(0, 0, 0, 0.6);
6
- z-index: 10000;
7
- }
8
-
9
- ._drawer_9wof4_17 {
10
- background: #fff;
11
- border-radius: 0 0 0 1rem;
12
- box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
13
- max-height: 100vh;
14
- max-width: 500px;
15
- overflow: hidden auto;
16
- position: fixed;
17
- right: 0px;
18
- top: 0;
19
- width: 85%;
20
- scrollbar-width: none;
21
- -ms-overflow-style: none;
22
- z-index: 10001;
23
- }
24
-
25
- ._drawer_9wof4_17::-webkit-scrollbar {
26
- display: none;
27
- }
28
-
29
- ._hamburger_9wof4_57 {
30
- background: transparent;
31
- border: none;
32
- cursor: pointer;
33
- transition: opacity 0.3s ease;
34
- }
35
-
36
- ._hamburger_9wof4_57:hover {
37
- opacity: 0.8;
38
- }
39
-
40
- ._header_9wof4_79 {
41
- display: flex;
42
- align-items: center;
43
- background: #f4f4f4;
44
- justify-content: space-between;
45
- padding: 0.9rem 1.2rem 0.9rem 1rem;
46
- position: sticky;
47
- top: 0;
48
- z-index: 1;
49
- }
50
-
51
- ._back_9wof4_101 {
52
- color: var(--_1073cm83);
53
- font-size: 1rem;
54
- font-weight: 700;
55
- line-height: 1;
56
- padding: 0;
57
- }
58
-
59
- ._close_9wof4_117 {
60
- font-size: 1.3rem;
61
- }
62
-
63
- ._back_9wof4_101,
64
- ._close_9wof4_117 {
65
- background: none;
66
- border: none;
67
- cursor: pointer;
68
- }
69
-
70
- ._levelContainer_9wof4_139 {
71
- height: 100%;
72
- position: relative;
73
- }
74
-
75
- ._level_9wof4_139 {
76
- background: var(--_1073cm86);
77
- color: var(--_1073cm85);
78
- font-size: 0.9rem;
79
- padding: 14px 1.2rem;
80
- position: sticky;
81
- top: 54.78px;
82
- width: 100%;
83
- z-index: 1;
84
- }
85
-
86
- ._levelTitle_9wof4_171 {
87
- font: 700 0.9rem / 1.39 var(--main-font-family);
88
- letter-spacing: 0.4px;
89
- }
90
-
91
- ._menu_9wof4_181 {
92
- background-color: transparent;
93
- list-style: none;
94
- margin: 0;
95
- min-height: 100%;
96
- padding: 0 1.2rem;
97
- position: relative;
98
- }
99
-
100
- ._menu_9wof4_181 li {
101
- color: var(--_1073cm83);
102
- font-family: var(--header-font-family);
103
- font-weight: 500;
104
- border-top: 1px solid #e9e9e9;
105
- }
106
-
107
- ._menu_9wof4_181 li + li {
108
- margin-top: 0.5rem;
109
- }
110
-
111
- ._menuItem_9wof4_221 {
112
- display: flex;
113
- align-items: center;
114
- background: none;
115
- border: none;
116
- color: inherit;
117
- cursor: pointer;
118
- font-size: 1rem;
119
- justify-content: space-between;
120
- padding: 0.75rem 0;
121
- text-align: left;
122
- text-decoration: none;
123
- transition: background 0.2s ease;
124
- width: 100%;
125
- }
126
-
127
- ._chevron_9wof4_253 {
128
- font-size: 1.2rem;
129
- margin-left: auto;
130
- }
131
-
132
- ._chevronIcon_9wof4_263 {
133
- height: auto;
134
- margin-right: 10px;
135
- max-width: 8px;
136
- }
137
-
138
- body:has(._drawer_9wof4_17) {
139
- overflow-y: hidden;
140
- position: relative;
141
- }
142
-
143
- ._quickLinks_9wof4_285 {
144
- background-color: #e8f7ff;
145
- bottom: 0;
146
- box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
147
- gap: 8px;
148
- margin-top: 9px;
149
- padding: 1rem;
150
- position: sticky;
151
- }
152
-
153
- ._quickLink_9wof4_285 {
154
- display: flex;
155
- align-items: center;
156
- color: var(--_1073cm83);
157
- flex-direction: column;
158
- flex: 1 1 0%;
159
- font-size: 0.8rem;
160
- font-weight: 600;
161
- gap: 8px;
162
- line-height: 1.5;
163
- text-decoration: none;
164
- text-transform: uppercase;
165
- }
166
-
167
- ._sr_only_9wof4_333 {
168
- position: absolute;
169
- border: 0;
170
- clip: rect(0, 0, 0, 0);
171
- height: 1px;
172
- margin: -1px;
173
- overflow: hidden;
174
- padding: 0;
175
- white-space: nowrap;
176
- width: 1px;
177
- }
178
-
179
- @media (max-width: 540px) {
180
- ._drawer_9wof4_17 {
181
- border-radius: 0;
182
- max-width: none;
183
- width: 100%;
184
- }
185
- ._menu_9wof4_181 li + li {
186
- margin-top: 3px;
187
- }
188
- ._menuItem_9wof4_221 {
189
- font-size: 0.9rem;
190
- padding: 0.65rem 0;
191
- }
192
- }
1
+ ._overlay_pl06n_1 {
2
+ position: fixed;
3
+ inset: 0;
4
+ height: 100vh;
5
+ background: rgba(0, 0, 0, 0.6);
6
+ z-index: 10000;
7
+ }
8
+
9
+ ._drawer_pl06n_9 {
10
+ background: #fff;
11
+ border-radius: 0 0 0 1rem;
12
+ box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
13
+ max-height: 100vh;
14
+ max-width: 500px;
15
+ overflow: hidden auto;
16
+ position: fixed;
17
+ right: 0px;
18
+ top: 0;
19
+ width: 85%;
20
+ scrollbar-width: none;
21
+ -ms-overflow-style: none;
22
+ z-index: 10001;
23
+ }
24
+
25
+ ._drawer_pl06n_9::-webkit-scrollbar {
26
+ display: none;
27
+ }
28
+
29
+ ._hamburger_pl06n_29 {
30
+ background: transparent;
31
+ border: none;
32
+ cursor: pointer;
33
+ transition: opacity 0.3s ease;
34
+ }
35
+
36
+ ._hamburger_pl06n_29:hover {
37
+ opacity: 0.8;
38
+ }
39
+
40
+ ._header_pl06n_40 {
41
+ display: flex;
42
+ align-items: center;
43
+ background: #f4f4f4;
44
+ justify-content: space-between;
45
+ padding: 0.9rem 1.2rem 0.9rem 1rem;
46
+ position: sticky;
47
+ top: 0;
48
+ z-index: 1;
49
+ }
50
+
51
+ ._back_pl06n_51 {
52
+ color: var(--_1073cm83);
53
+ font-size: 1rem;
54
+ font-weight: 700;
55
+ line-height: 1;
56
+ padding: 0;
57
+ }
58
+
59
+ ._close_pl06n_59 {
60
+ font-size: 1.3rem;
61
+ }
62
+
63
+ ._back_pl06n_51,
64
+ ._close_pl06n_59 {
65
+ background: none;
66
+ border: none;
67
+ cursor: pointer;
68
+ }
69
+
70
+ ._levelContainer_pl06n_70 {
71
+ height: 100%;
72
+ position: relative;
73
+ }
74
+
75
+ ._level_pl06n_70 {
76
+ background: var(--_1073cm86);
77
+ color: var(--_1073cm85);
78
+ font-size: 0.9rem;
79
+ padding: 14px 1.2rem;
80
+ position: sticky;
81
+ top: 54.78px;
82
+ width: 100%;
83
+ z-index: 1;
84
+ }
85
+
86
+ ._levelTitle_pl06n_86 {
87
+ font: 700 0.9rem / 1.39 var(--main-font-family);
88
+ letter-spacing: 0.4px;
89
+ }
90
+
91
+ ._menu_pl06n_91 {
92
+ background-color: transparent;
93
+ list-style: none;
94
+ margin: 0;
95
+ min-height: 100%;
96
+ padding: 0 1.2rem;
97
+ position: relative;
98
+ }
99
+
100
+ ._menu_pl06n_91 li {
101
+ color: var(--_1073cm83);
102
+ font-family: var(--header-font-family);
103
+ font-weight: 500;
104
+ border-top: 1px solid #e9e9e9;
105
+ }
106
+
107
+ ._menu_pl06n_91 li + li {
108
+ margin-top: 0.5rem;
109
+ }
110
+
111
+ ._menuItem_pl06n_111 {
112
+ display: flex;
113
+ align-items: center;
114
+ background: none;
115
+ border: none;
116
+ color: inherit;
117
+ cursor: pointer;
118
+ font-size: 1rem;
119
+ justify-content: space-between;
120
+ padding: 0.75rem 0;
121
+ text-align: left;
122
+ text-decoration: none;
123
+ transition: background 0.2s ease;
124
+ width: 100%;
125
+ }
126
+
127
+ ._chevron_pl06n_127 {
128
+ font-size: 1.2rem;
129
+ margin-left: auto;
130
+ }
131
+
132
+ ._chevronIcon_pl06n_132 {
133
+ height: auto;
134
+ margin-right: 10px;
135
+ max-width: 8px;
136
+ }
137
+
138
+ body:has(._drawer_pl06n_9) {
139
+ overflow-y: hidden;
140
+ position: relative;
141
+ }
142
+
143
+ ._quickLinks_pl06n_143 {
144
+ background-color: #e8f7ff;
145
+ bottom: 0;
146
+ box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
147
+ gap: 8px;
148
+ margin-top: 9px;
149
+ padding: 1rem;
150
+ position: sticky;
151
+ }
152
+
153
+ ._quickLink_pl06n_143 {
154
+ display: flex;
155
+ align-items: center;
156
+ color: var(--_1073cm83);
157
+ flex-direction: column;
158
+ flex: 1 1 0%;
159
+ font-size: 0.8rem;
160
+ font-weight: 600;
161
+ gap: 8px;
162
+ line-height: 1.5;
163
+ text-decoration: none;
164
+ text-transform: uppercase;
165
+ }
166
+
167
+ ._sr_only_pl06n_167 {
168
+ position: absolute;
169
+ border: 0;
170
+ clip: rect(0, 0, 0, 0);
171
+ height: 1px;
172
+ margin: -1px;
173
+ overflow: hidden;
174
+ padding: 0;
175
+ white-space: nowrap;
176
+ width: 1px;
177
+ }
178
+
179
+ @media (max-width: 540px) {
180
+ ._drawer_pl06n_9 {
181
+ border-radius: 0;
182
+ max-width: none;
183
+ width: 100%;
184
+ }
185
+ ._menu_pl06n_91 li + li {
186
+ margin-top: 3px;
187
+ }
188
+ ._menuItem_pl06n_111 {
189
+ font-size: 0.9rem;
190
+ padding: 0.65rem 0;
191
+ }
192
+ }
@@ -1,5 +1,5 @@
1
1
  const moreDomains = {
2
- "{AXOS}": "" + process.env.AXOS_URL || "https://www.axos.com",
2
+ "{AXOS}": process.env.AXOS_URL ?? "https://www.axos.com",
3
3
  "{AXOSBANK}": process.env.AXOS_BANK_URL !== void 0 ? process.env.AXOS_BANK_URL : "https://www.axosbank.com",
4
4
  "{AXOSCLEARING}": process.env.CLEARING_URL || "https://axosclearing.com",
5
5
  "{AAS}": process.env.AAS_URL || "https://www.axosadvisorservices.com",
@@ -41,8 +41,8 @@ const moreDomains = {
41
41
  "{LVFMYSITE}": process.env.LVF_MYSITE_URL || "https://lavictoire-finance.my.site.com",
42
42
  "{PERSONALLOANS}": process.env.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
43
43
  "{MODELSELECTION}": process.env.MODEL_SELECTION_URL || "https://modelselection.axos.com",
44
- "{COMMERCIALPORTAL_LOGIN}": `${process.env.COMMERCIALPORTAL_URL}/login` || "https://portals.axosbank.com/login",
45
- "{COMMERCIALPORTAL_REGISTER}": process.env.COMMERCIALPORTAL_URL + "/Register" || "https://portals.axosbank.com/Register",
44
+ "{COMMERCIALPORTAL_LOGIN}": process.env.COMMERCIALPORTAL_URL ? `${process.env.COMMERCIALPORTAL_URL}/login` : "https://portals.axosbank.com/login",
45
+ "{COMMERCIALPORTAL_REGISTER}": process.env.COMMERCIALPORTAL_URL ? `${process.env.COMMERCIALPORTAL_URL}/Register` : "https://portals.axosbank.com/Register",
46
46
  "{SHAREAXB}": process.env.SHAREAXB_URL || "https://share.axosbank.com",
47
47
  "{MERIDIAN}": process.env.MERIDIAN_URL || "https://www.axosbank.com/"
48
48
  };
package/package.json CHANGED
@@ -1,145 +1,148 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "1.0.101-dev.1",
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 . --ext ts,tsx --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 . --ext ts --ext tsx --ext js",
35
- "format": "prettier --write .",
36
- "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
37
- "prepare": "husky",
38
- "storybook": "storybook dev -p 6006",
39
- "build-storybook": "storybook build",
40
- "npm:link": "npm run build && npm link"
41
- },
42
- "dependencies": {
43
- "@headlessui/react": "^2.2.0",
44
- "@hookform/resolvers": "^5.0.1",
45
- "@next-safe-action/adapter-react-hook-form": "^2.0.2",
46
- "@react-input/mask": "^1.2.15",
47
- "@react-input/number-format": "^1.1.3",
48
- "@storybook/icons": "^1.3.0",
49
- "@storybook/preview-api": "^8.4.7",
50
- "@ts-stack/markdown": "^1.5.0",
51
- "@types/iframe-resizer": "3.5.13",
52
- "@ujet/websdk-headless": "^3.41.4",
53
- "@vanilla-extract/css": "^1.16.1",
54
- "@vanilla-extract/recipes": "^0.5.1",
55
- "antd": "^5.22.5",
56
- "clsx": "^2.1.1",
57
- "framer-motion": "^12.9.2",
58
- "iframe-resizer": "^3.6.6",
59
- "lodash": "^4.17.21",
60
- "moment": "^2.30.1",
61
- "next-safe-action": "^8.0.2",
62
- "react-date-picker": "^11.0.0",
63
- "react-date-range": "^2.0.1",
64
- "react-hook-form": "^7.56.4",
65
- "react-markdown": "^9.1.0",
66
- "react-slick": "^0.30.2",
67
- "react-use": "^17.6.0",
68
- "react-wrap-balancer": "^1.1.1",
69
- "remark-gfm": "^4.0.1",
70
- "rsuite": "^5.75.0",
71
- "slick-carousel": "^1.8.1",
72
- "typed-css-modules": "^0.9.1",
73
- "vite-plugin-svgr": "^4.3.0",
74
- "zod": "^3.24.1",
75
- "zustand": "^4.5.5"
76
- },
77
- "peerDependencies": {
78
- "@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
79
- "@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
80
- "@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
81
- "next": "^14.1.4 || ^15.0.0 || ^16.0.0",
82
- "react": "^18.2.0 || ^19.0.0",
83
- "react-date-range": "^2.0.1",
84
- "react-dom": "^18.2.0 || ^19.0.0",
85
- "react-slick": "^0.30.2",
86
- "slick-carousel": "^1.8.1"
87
- },
88
- "devDependencies": {
89
- "@chromatic-com/storybook": "^1.9.0",
90
- "@rollup/plugin-alias": "^5.1.1",
91
- "@storybook/addon-essentials": "^8.4.7",
92
- "@storybook/addon-interactions": "^8.4.7",
93
- "@storybook/addon-links": "^8.4.7",
94
- "@storybook/addon-mdx-gfm": "^8.4.7",
95
- "@storybook/addon-onboarding": "^8.4.7",
96
- "@storybook/addon-themes": "^8.4.7",
97
- "@storybook/blocks": "^8.4.7",
98
- "@storybook/react": "^8.6.14",
99
- "@storybook/react-vite": "^8.4.7",
100
- "@storybook/test": "^8.6.14",
101
- "@svgr/core": "^8.1.0",
102
- "@svgr/plugin-prettier": "^8.1.0",
103
- "@svgr/plugin-svgo": "^8.1.0",
104
- "@types/lodash": "^4.17.17",
105
- "@types/node": "^20.19.0",
106
- "@types/react": "^19.0.0",
107
- "@types/react-date-range": "^1.4.9",
108
- "@types/react-datepicker": "^6.2.0",
109
- "@types/react-dom": "^19.0.0",
110
- "@types/react-slick": "^0.23.13",
111
- "@typescript-eslint/eslint-plugin": "^8.0.0",
112
- "@typescript-eslint/parser": "^8.0.0",
113
- "@vanilla-extract/css-utils": "^0.1.4",
114
- "@vanilla-extract/recipes": "^0.5.5",
115
- "@vanilla-extract/vite-plugin": "^4.0.18",
116
- "@vitejs/plugin-react-swc": "^3.7.2",
117
- "esbuild-vanilla-image-loader": "^0.1.3",
118
- "eslint": "^9.0.0",
119
- "eslint-plugin-react-hooks": "^5.1.0",
120
- "eslint-plugin-react-refresh": "^0.4.16",
121
- "eslint-plugin-storybook": "^0.8.0",
122
- "glob": "^10.4.5",
123
- "husky": "^9.1.7",
124
- "next": "^16.0.0",
125
- "prettier": "3.2.5",
126
- "react": "^19.0.0",
127
- "react-dom": "^19.0.0",
128
- "rollup-plugin-preserve-directives": "^0.4.0",
129
- "rollup-plugin-svg-import": "^3.0.0",
130
- "rollup-plugin-svgo": "^2.0.0",
131
- "storybook": "^8.4.7",
132
- "typescript": "^5.7.2",
133
- "typescript-plugin-css-modules": "^5.1.0",
134
- "vite": "^5.4.11",
135
- "vite-plugin-dts": "^3.9.1",
136
- "vite-plugin-lib-inject-css": "^2.1.1",
137
- "vite-plugin-setting-css-module": "^1.1.4",
138
- "vite-tsconfig-paths": "^4.3.2"
139
- },
140
- "directories": {
141
- "lib": "lib"
142
- },
143
- "author": "axos-web-dev",
144
- "license": "ISC"
145
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "2.0.0-dev.1",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "module": "dist/main.js",
8
+ "types": "dist/main.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/main.d.ts",
12
+ "import": "./dist/main.js"
13
+ },
14
+ "./styles.css": "./dist/assets/index.css",
15
+ "./globals.css": "./dist/assets/globals.css",
16
+ "./themes/axos.css": "./dist/assets/themes/axos.css",
17
+ "./themes/premier.css": "./dist/assets/themes/premier.css",
18
+ "./dist/*": "./dist/*"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "sideEffects": [
24
+ "dist/assets/**/*.css"
25
+ ],
26
+ "scripts": {
27
+ "dev": "vite",
28
+ "build": "tsc --p ./tsconfig.build.json && vite build",
29
+ "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
30
+ "preview": "vite preview",
31
+ "prepublishOnly": "npm run build",
32
+ "check-types": "tsc --pretty --noEmit",
33
+ "check-format": "prettier --check .",
34
+ "check-lint": "eslint .",
35
+ "format": "prettier --write .",
36
+ "test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
37
+ "prepare": "husky",
38
+ "storybook": "storybook dev -p 6006",
39
+ "build-storybook": "storybook build",
40
+ "npm:link": "npm run build && npm link"
41
+ },
42
+ "dependencies": {
43
+ "@headlessui/react": "^2.2.0",
44
+ "@hookform/resolvers": "^5.0.1",
45
+ "@next-safe-action/adapter-react-hook-form": "^2.0.2",
46
+ "@react-input/mask": "^1.2.15",
47
+ "@react-input/number-format": "^1.1.3",
48
+ "@storybook/icons": "^1.3.0",
49
+ "@storybook/preview-api": "^8.4.7",
50
+ "@ts-stack/markdown": "^1.5.0",
51
+ "@types/iframe-resizer": "3.5.13",
52
+ "@ujet/websdk-headless": "^3.41.4",
53
+ "@vanilla-extract/css": "^1.16.1",
54
+ "@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
55
+ "antd": "^5.22.5",
56
+ "clsx": "^2.1.1",
57
+ "framer-motion": "^12.9.2",
58
+ "iframe-resizer": "^3.6.6",
59
+ "lodash": "^4.17.21",
60
+ "moment": "^2.30.1",
61
+ "next-safe-action": "^8.0.2",
62
+ "react-date-picker": "^11.0.0",
63
+ "react-date-range": "^2.0.1",
64
+ "react-hook-form": "^7.56.4",
65
+ "react-markdown": "^9.1.0",
66
+ "react-slick": "^0.30.2",
67
+ "react-use": "^17.6.0",
68
+ "react-wrap-balancer": "^1.1.1",
69
+ "remark-gfm": "^4.0.1",
70
+ "rsuite": "^5.75.0",
71
+ "slick-carousel": "^1.8.1",
72
+ "typed-css-modules": "^0.9.1",
73
+ "vite-plugin-svgr": "^4.3.0",
74
+ "zod": "^3.24.1",
75
+ "zustand": "^4.5.5"
76
+ },
77
+ "peerDependencies": {
78
+ "@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
79
+ "@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
80
+ "@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
81
+ "next": "^14.1.4 || ^15.0.0 || ^16.0.0",
82
+ "react": "^18.2.0 || ^19.0.0",
83
+ "react-date-range": "^2.0.1",
84
+ "react-dom": "^18.2.0 || ^19.0.0",
85
+ "react-slick": "^0.30.2",
86
+ "slick-carousel": "^1.8.1"
87
+ },
88
+ "devDependencies": {
89
+ "@chromatic-com/storybook": "^1.9.0",
90
+ "@eslint/js": "^9.39.4",
91
+ "@rollup/plugin-alias": "^5.1.1",
92
+ "@storybook/addon-essentials": "^8.4.7",
93
+ "@storybook/addon-interactions": "^8.4.7",
94
+ "@storybook/addon-links": "^8.4.7",
95
+ "@storybook/addon-mdx-gfm": "^8.4.7",
96
+ "@storybook/addon-onboarding": "^8.4.7",
97
+ "@storybook/addon-themes": "^8.4.7",
98
+ "@storybook/blocks": "^8.4.7",
99
+ "@storybook/react": "^8.6.14",
100
+ "@storybook/react-vite": "^8.4.7",
101
+ "@storybook/test": "^8.6.14",
102
+ "@svgr/core": "^8.1.0",
103
+ "@svgr/plugin-prettier": "^8.1.0",
104
+ "@svgr/plugin-svgo": "^8.1.0",
105
+ "@types/lodash": "^4.17.17",
106
+ "@types/node": "^20.19.0",
107
+ "@types/react": "^19.0.0",
108
+ "@types/react-date-range": "^1.4.9",
109
+ "@types/react-datepicker": "^6.2.0",
110
+ "@types/react-dom": "^19.0.0",
111
+ "@types/react-slick": "^0.23.13",
112
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
113
+ "@typescript-eslint/parser": "^8.0.0",
114
+ "@vanilla-extract/css-utils": "^0.1.4",
115
+ "@vanilla-extract/recipes": "^0.5.5",
116
+ "@vanilla-extract/vite-plugin": "^4.0.18",
117
+ "@vitejs/plugin-react-swc": "^3.7.2",
118
+ "esbuild-vanilla-image-loader": "^0.1.3",
119
+ "eslint": "^9.0.0",
120
+ "eslint-plugin-react-hooks": "^5.1.0",
121
+ "eslint-plugin-react-refresh": "^0.4.16",
122
+ "eslint-plugin-storybook": "^0.8.0",
123
+ "glob": "^10.4.5",
124
+ "globals": "^15.15.0",
125
+ "husky": "^9.1.7",
126
+ "next": "^16.0.0",
127
+ "prettier": "3.2.5",
128
+ "react": "^19.0.0",
129
+ "react-dom": "^19.0.0",
130
+ "rollup-plugin-preserve-directives": "^0.4.0",
131
+ "rollup-plugin-svg-import": "^3.0.0",
132
+ "rollup-plugin-svgo": "^2.0.0",
133
+ "storybook": "^8.4.7",
134
+ "typescript": "^5.7.2",
135
+ "typescript-eslint": "^8.57.0",
136
+ "typescript-plugin-css-modules": "^5.1.0",
137
+ "vite": "^5.4.11",
138
+ "vite-plugin-dts": "^3.9.1",
139
+ "vite-plugin-lib-inject-css": "^2.1.1",
140
+ "vite-plugin-setting-css-module": "^1.1.4",
141
+ "vite-tsconfig-paths": "^4.3.2"
142
+ },
143
+ "directories": {
144
+ "lib": "lib"
145
+ },
146
+ "author": "axos-web-dev",
147
+ "license": "ISC"
148
+ }