@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.
- package/dist/Accordion/Accordion.css.d.ts +4 -3
- package/dist/Accordion/Accordion.d.ts +2 -1
- package/dist/Accordion/Accordion.js +1 -0
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/AlertBanner/AlertBanner.css.d.ts +1 -1
- package/dist/AlertBanner/AlertBanner.interface.d.ts +2 -1
- package/dist/AlertBanner/index.d.ts +3 -2
- package/dist/AlertBanner/index.js +1 -0
- package/dist/ApyCalculator/index.d.ts +2 -1
- package/dist/ApyCalculator/index.js +3 -17
- package/dist/BulletItem/BulletItem.d.ts +2 -1
- package/dist/BulletItem/BulletItem.js +1 -0
- package/dist/BulletItem/index.d.ts +1 -1
- package/dist/Button/Button.css.d.ts +13 -2
- package/dist/Button/Button.d.ts +4 -3
- package/dist/Button/Button.interface.d.ts +2 -1
- package/dist/Button/GoBackButton.d.ts +3 -2
- package/dist/Button/index.d.ts +3 -3
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +2 -1
- package/dist/CallToActionBar/index.d.ts +3 -2
- package/dist/Carousel/Carousel.css.d.ts +6 -5
- package/dist/Carousel/index.d.ts +3 -2
- package/dist/Carousel/index.js +2 -1
- package/dist/Carousel/store.d.ts +1 -1
- package/dist/Chevron/Chevron.css.d.ts +1 -1
- package/dist/Chevron/Chevron.interface.d.ts +2 -1
- package/dist/Chevron/index.d.ts +3 -2
- package/dist/Chevron/index.js +3 -3
- package/dist/CollectInformationAlert/index.d.ts +2 -1
- package/dist/CollectInformationAlert/index.js +1 -0
- package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
- package/dist/ContentBanner/ContentBanner.interface.d.ts +2 -1
- package/dist/ContentBanner/index.d.ts +3 -2
- package/dist/ContentBanner/index.js +1 -1
- package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
- package/dist/DownloadTile/index.d.ts +3 -2
- package/dist/DownloadTile/index.js +1 -0
- package/dist/FaqAccordion/index.d.ts +3 -2
- package/dist/FaqAccordion/index.js +1 -0
- package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
- package/dist/FooterDisclosure/FooterDisclosure.js +16 -2
- package/dist/FooterDisclosure/index.d.ts +2 -2
- package/dist/Forms/Forms.css.d.ts +4 -4
- package/dist/Forms/RenderForm.d.ts +3 -2
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +3 -2
- package/dist/Forms/ScheduleCall.js +21 -8
- package/dist/Forms/index.d.ts +4 -4
- package/dist/HeroBanner/HeroBanner.css.d.ts +5 -4
- package/dist/HeroBanner/HeroBanner.css.js +11 -9
- package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
- package/dist/HeroBanner/index.d.ts +2 -1
- package/dist/HeroBanner/index.js +3 -3
- package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
- package/dist/Hyperlink/index.d.ts +3 -2
- package/dist/Hyperlink/index.js +4 -3
- package/dist/IconBillboard/IconBillboard.css.d.ts +6 -5
- package/dist/IconBillboard/IconBillboard.d.ts +4 -3
- package/dist/IconBillboard/IconBillboard.interface.d.ts +4 -3
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +2 -1
- package/dist/IconBillboard/index.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -4
- package/dist/ImageBillboard/ImageBillboard.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +5 -4
- package/dist/ImageBillboard/ImageBillboard.js +1 -0
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
- package/dist/ImageBillboard/index.d.ts +4 -4
- package/dist/Input/Input.css.d.ts +6 -6
- package/dist/Input/Input.css.js +2 -2
- package/dist/Input/Input.d.ts +14 -0
- package/dist/Input/Input.js +45 -0
- package/dist/Input/InputPhone.d.ts +3 -0
- package/dist/Input/InputPhone.js +24 -0
- package/dist/Input/index.d.ts +3 -13
- package/dist/Input/index.js +13 -43
- package/dist/Inputs/Input.css.d.ts +6 -6
- package/dist/MainHTML/index.d.ts +2 -1
- package/dist/MainHTML/index.js +8 -1
- package/dist/Modal/Modal.d.ts +3 -2
- package/dist/Modal/Modal.js +4 -3
- package/dist/Modal/contextApi/store.d.ts +3 -2
- package/dist/Modal/contextApi/store.js +11 -16
- package/dist/Modal/index.d.ts +2 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +138 -97
- package/dist/NavigationMenu/AxosAdvisor/index.js +13 -19
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
- package/dist/NavigationMenu/index.d.ts +2 -2
- package/dist/SetContainer/SetContainer.d.ts +3 -2
- package/dist/SetContainer/SetContainer.js +4 -3
- package/dist/SetContainer/index.d.ts +2 -2
- package/dist/Table/Table.css.d.ts +16 -5
- package/dist/Table/Table.css.js +15 -13
- package/dist/Table/Table.d.ts +9 -8
- package/dist/Table/Table.interface.d.ts +3 -1
- package/dist/Table/Table.js +37 -19
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +2 -1
- package/dist/TextBlock/TextBlock.d.ts +2 -1
- package/dist/TextBlock/index.d.ts +2 -2
- package/dist/Typography/Typography.css.d.ts +4 -3
- package/dist/Typography/Typography.d.ts +3 -2
- package/dist/Typography/index.d.ts +1 -1
- package/dist/VideoTile/VideoTile.css.js +1 -1
- package/dist/VideoTile/VideoTile.d.ts +3 -2
- package/dist/VideoTile/VideoTile.js +4 -3
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/VideoWrapper.css.d.ts +1 -0
- package/dist/VideoWrapper/VideoWrapper.css.js +5 -3
- package/dist/VideoWrapper/index.d.ts +3 -2
- package/dist/VideoWrapper/index.js +23 -17
- package/dist/assets/Button/Button.css +14 -3
- package/dist/assets/FaqAccordion/FaqAccordion.css +12 -3
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -7
- package/dist/assets/Forms/Forms.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +100 -52
- package/dist/assets/ImageBillboard/ImageBillboard.css +6 -1
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +594 -591
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +84 -81
- package/dist/assets/Table/Table.css +89 -54
- package/dist/assets/TextBlock/TextBlock.css +0 -1
- package/dist/assets/VideoTile/VideoTile.css +5 -0
- package/dist/assets/VideoWrapper/VideoWrapper.css +11 -8
- package/dist/assets/globals.css +7 -2
- package/dist/assets/index.css +0 -3
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
- package/dist/icons/ArrowIcon/index.d.ts +2 -1
- package/dist/icons/ArrowIcon/index.js +3 -1
- package/dist/icons/AxosX/Blue.d.ts +2 -1
- package/dist/icons/AxosX/index.d.ts +2 -1
- package/dist/icons/CheckCircle.d.ts +2 -1
- package/dist/icons/CheckCircleLight.d.ts +2 -1
- package/dist/icons/CheckIcon/CheckIcon.css.d.ts +3 -2
- package/dist/icons/CheckIcon/index.d.ts +2 -1
- package/dist/icons/ChevronDown.d.ts +2 -1
- package/dist/icons/ChevronUp.d.ts +2 -1
- package/dist/icons/CloseIcon/index.d.ts +2 -1
- package/dist/icons/DownloadIcon/index.d.ts +2 -1
- package/dist/icons/EqualHousingLender.d.ts +2 -1
- package/dist/icons/LockIcon/index.d.ts +2 -1
- package/dist/icons/MemberFdicLogo.d.ts +2 -1
- package/dist/icons/QuoteIconGrey.d.ts +2 -1
- package/dist/icons/QuoteIconWhite.d.ts +2 -1
- package/dist/icons/QuoteIconYellow.d.ts +2 -1
- package/dist/icons/WarningIcon/index.d.ts +2 -1
- package/dist/icons/index.d.ts +17 -17
- package/dist/index.css.d.ts +1 -0
- package/dist/main.d.ts +2 -1
- package/dist/main.js +17 -3
- package/dist/themes/index.d.ts +2 -2
- package/dist/utils/allowedAxosDomains.js +9 -7
- package/dist/utils/ctaOptions.d.ts +1 -0
- package/dist/utils/getVariant.d.ts +2 -1
- package/dist/utils/index.d.ts +5 -5
- 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/
|
|
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
|
};
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
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.
|
|
10
|
-
"{IMAGEASSETSURL}": "https://images.
|
|
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
|
|
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;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
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.
|
|
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
|
-
"@
|
|
33
|
-
"@storybook/
|
|
34
|
-
"@
|
|
35
|
-
"@vanilla-extract/
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"react-
|
|
39
|
-
"react-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"@vanilla-extract/css
|
|
48
|
-
"@vanilla-extract/
|
|
49
|
-
"@vanilla-extract/
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"react
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"@
|
|
57
|
-
"@storybook/addon-
|
|
58
|
-
"@storybook/addon-
|
|
59
|
-
"@storybook/addon-
|
|
60
|
-
"@storybook/addon-
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/
|
|
63
|
-
"@storybook/react
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@
|
|
66
|
-
"@svgr/
|
|
67
|
-
"@svgr/plugin-
|
|
68
|
-
"@
|
|
69
|
-
"@types/
|
|
70
|
-
"@types/react
|
|
71
|
-
"@
|
|
72
|
-
"@typescript-eslint/
|
|
73
|
-
"@
|
|
74
|
-
"@vanilla-extract/
|
|
75
|
-
"@vanilla-extract/
|
|
76
|
-
"@
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"eslint
|
|
80
|
-
"eslint-plugin-react-
|
|
81
|
-
"eslint-plugin-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"rollup-plugin-
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"vite
|
|
96
|
-
"vite-plugin-
|
|
97
|
-
"vite-
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
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
|
+
}
|