@axos-web-dev/shared-components 0.0.20 → 0.0.22
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/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/ApyCalculator/index.d.ts +2 -1
- package/dist/ApyCalculator/index.js +27 -10
- package/dist/BulletItem/BulletItem.d.ts +3 -1
- package/dist/BulletItem/BulletItem.js +32 -5
- package/dist/BulletItem/index.d.ts +1 -1
- package/dist/Button/Button.css.d.ts +3 -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 +9 -7
- package/dist/Carousel/store.d.ts +1 -1
- package/dist/Chevron/Chevron.css.d.ts +19 -1
- package/dist/Chevron/Chevron.interface.d.ts +2 -1
- package/dist/Chevron/index.d.ts +3 -2
- package/dist/Chevron/index.js +0 -2
- package/dist/CollectInformationAlert/index.d.ts +2 -1
- package/dist/ContentBanner/ContentBanner.css.d.ts +2 -2
- package/dist/ContentBanner/ContentBanner.interface.d.ts +3 -1
- package/dist/ContentBanner/index.d.ts +3 -2
- package/dist/ContentBanner/index.js +6 -4
- package/dist/DownloadTile/DownloadTile.interface.d.ts +2 -1
- package/dist/DownloadTile/index.d.ts +3 -2
- package/dist/FaqAccordion/index.d.ts +2 -2
- package/dist/FooterDisclosure/FooterDisclosure.css.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +2 -1
- package/dist/FooterDisclosure/FooterDisclosure.js +6 -1
- package/dist/FooterDisclosure/index.d.ts +2 -2
- package/dist/Forms/Forms.css.d.ts +42 -4
- package/dist/Forms/Forms.css.js +9 -1
- package/dist/Forms/RenderForm.d.ts +3 -2
- package/dist/Forms/RenderForm.js +1 -0
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +9 -2
- package/dist/Forms/ScheduleCall.js +10 -10
- package/dist/Forms/SuccesForm.d.ts +7 -0
- package/dist/Forms/SuccesForm.js +88 -0
- package/dist/Forms/index.d.ts +5 -4
- package/dist/Forms/index.js +8 -2
- package/dist/HeroBanner/HeroBanner.css.d.ts +3 -3
- package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -1
- package/dist/HeroBanner/index.d.ts +2 -1
- package/dist/HeroBanner/index.js +1 -0
- package/dist/Hyperlink/Hyperlink.interface.d.ts +2 -1
- package/dist/Hyperlink/index.d.ts +3 -2
- package/dist/Hyperlink/index.js +0 -2
- 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/ImageBillboardSet.d.ts +2 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +14 -9
- package/dist/ImageBillboard/index.d.ts +4 -4
- package/dist/Input/Input.css.d.ts +6 -6
- package/dist/Input/Input.d.ts +3 -2
- package/dist/Input/InputPhone.d.ts +3 -3
- package/dist/Input/index.d.ts +3 -3
- package/dist/Inputs/Input.css.d.ts +6 -6
- package/dist/MainHTML/index.d.ts +2 -1
- package/dist/Modal/Modal.css.d.ts +1 -0
- package/dist/Modal/Modal.css.js +3 -1
- package/dist/Modal/Modal.d.ts +3 -2
- package/dist/Modal/Modal.js +45 -44
- package/dist/Modal/contextApi/store.d.ts +3 -2
- package/dist/Modal/index.d.ts +2 -2
- package/dist/NavigationMenu/AxosAdvisor/index.js +202 -182
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -40
- package/dist/NavigationMenu/AxosFiduciary/index.js +2 -2
- package/dist/NavigationMenu/index.d.ts +2 -2
- package/dist/SecondaryFooter/index.js +2 -1
- package/dist/SetContainer/SetContainer.d.ts +3 -2
- package/dist/SetContainer/SetContainer.js +3 -5
- package/dist/SetContainer/index.d.ts +2 -2
- package/dist/Table/Table.css.d.ts +6 -5
- package/dist/Table/Table.css.js +2 -0
- package/dist/Table/Table.d.ts +5 -4
- package/dist/Table/Table.interface.d.ts +3 -1
- package/dist/Table/Table.js +4 -2
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +2 -1
- package/dist/TextBlock/TextBlock.d.ts +3 -1
- package/dist/TextBlock/TextBlock.js +1 -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.d.ts +3 -2
- package/dist/VideoTile/index.d.ts +4 -4
- package/dist/VideoWrapper/index.d.ts +3 -2
- package/dist/assets/ApyCalculator/ApyCalculator.css +11 -6
- package/dist/assets/Chevron/Chevron.css +12 -0
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
- package/dist/assets/Forms/Forms.css +103 -0
- package/dist/assets/HeroBanner/HeroBanner.css +2 -5
- package/dist/assets/ImageBillboard/ImageBillboard.css +0 -1
- package/dist/assets/Modal/Modal.css +5 -0
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +81 -82
- package/dist/assets/SetContainer/SetContainer.css +4 -1
- package/dist/assets/Table/Table.css +10 -0
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +1 -1
- package/dist/icons/ArrowIcon/index.d.ts +2 -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 +1 -1
- package/dist/main.js +13 -6
- package/dist/themes/index.d.ts +2 -2
- 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/dist/utils/validateExternalLinks.js +2 -3
- package/package.json +1 -1
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { default as ArrowIcon } from
|
|
2
|
-
export { default as AxosX } from
|
|
3
|
-
export { default as AxosXBlue } from
|
|
4
|
-
export { default as CheckCircle } from
|
|
5
|
-
export { default as CheckCircleLight } from
|
|
6
|
-
export { default as CheckIcon } from
|
|
7
|
-
export { default as ChevronDown } from
|
|
8
|
-
export { default as ChevronUp } from
|
|
9
|
-
export { default as CloseIcon } from
|
|
10
|
-
export { default as DownloadIcon } from
|
|
11
|
-
export { default as EqualHousingLender } from
|
|
12
|
-
export { default as LockIcon } from
|
|
13
|
-
export { default as MemberFdicLogo } from
|
|
14
|
-
export { default as QuoteIconGrey } from
|
|
15
|
-
export { default as QuoteIconWhite } from
|
|
16
|
-
export { default as QuoteIconYellow } from
|
|
17
|
-
export { default as WarningIcon } from
|
|
1
|
+
export { default as ArrowIcon } from './ArrowIcon';
|
|
2
|
+
export { default as AxosX } from './AxosX';
|
|
3
|
+
export { default as AxosXBlue } from './AxosX/Blue';
|
|
4
|
+
export { default as CheckCircle } from './CheckCircle';
|
|
5
|
+
export { default as CheckCircleLight } from './CheckCircleLight';
|
|
6
|
+
export { default as CheckIcon } from './CheckIcon';
|
|
7
|
+
export { default as ChevronDown } from './ChevronDown';
|
|
8
|
+
export { default as ChevronUp } from './ChevronUp';
|
|
9
|
+
export { default as CloseIcon } from './CloseIcon';
|
|
10
|
+
export { default as DownloadIcon } from './DownloadIcon';
|
|
11
|
+
export { default as EqualHousingLender } from './EqualHousingLender';
|
|
12
|
+
export { default as LockIcon } from './LockIcon';
|
|
13
|
+
export { default as MemberFdicLogo } from './MemberFdicLogo';
|
|
14
|
+
export { default as QuoteIconGrey } from './QuoteIconGrey';
|
|
15
|
+
export { default as QuoteIconWhite } from './QuoteIconWhite';
|
|
16
|
+
export { default as QuoteIconYellow } from './QuoteIconYellow';
|
|
17
|
+
export { default as WarningIcon } from './WarningIcon';
|
package/dist/index.css.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -16,10 +16,16 @@ import { DownloadTile } from "./DownloadTile/index.js";
|
|
|
16
16
|
import { AccordionItem, AccordionItemContent, AccordionItemSummary, FaqAccordion } from "./FaqAccordion/index.js";
|
|
17
17
|
import { footerDisclosure, footerLink, footerParagraph, iconsContent } from "./FooterDisclosure/FooterDisclosure.css.js";
|
|
18
18
|
import { FooterContent, FooterDisclosure, FooterIcons, FooterParagraph } from "./FooterDisclosure/FooterDisclosure.js";
|
|
19
|
-
import { actions, disclosureForm, form, formContainer, formWrapper, headerForm, iconForm } from "./Forms/Forms.css.js";
|
|
19
|
+
import { actions, disclosureForm, form, formContainer, formWrapper, headerForm, iconForm, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms/Forms.css.js";
|
|
20
20
|
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
|
+
import "react/jsx-runtime";
|
|
24
|
+
import { associatedEmail } from "./utils/EverestValidity.js";
|
|
25
|
+
import { findMoreAxosDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
|
|
26
|
+
import { getVariant, getVariantWithRegex } from "./utils/getVariant.js";
|
|
27
|
+
import { isAbsoluteUrl, isEmailLink, isPhoneLink, shortUrl, validateLink } from "./utils/validateExternalLinks.js";
|
|
28
|
+
import "clsx";
|
|
23
29
|
import { HeroBanner } from "./HeroBanner/index.js";
|
|
24
30
|
import { Hyperlink } from "./Hyperlink/index.js";
|
|
25
31
|
import { IconBillboard } from "./IconBillboard/IconBillboard.js";
|
|
@@ -40,7 +46,7 @@ import { SecondaryFooter } from "./SecondaryFooter/index.js";
|
|
|
40
46
|
import { SetContainer } from "./SetContainer/SetContainer.js";
|
|
41
47
|
import { inline_container } from "./SetContainer/SetContainer.css.js";
|
|
42
48
|
import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table/Table.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";
|
|
49
|
+
import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_first_row, highlight_last_row, table, tableWrapper, table_container, table_container_text, table_description_text, table_headline, td, th } from "./Table/Table.css.js";
|
|
44
50
|
import { TextBlock } from "./TextBlock/TextBlock.js";
|
|
45
51
|
import { textBlockHeader, textBlockList, textBlockParagraph } from "./TextBlock/TextBlock.css.js";
|
|
46
52
|
import { VideoInit } from "./VideoTile/VideoInit.js";
|
|
@@ -66,10 +72,6 @@ import { default as default19 } from "./icons/QuoteIconYellow.js";
|
|
|
66
72
|
import { SvgWarningIcon } from "./icons/WarningIcon/index.js";
|
|
67
73
|
import { axosTheme, vars } from "./themes/axos.css.js";
|
|
68
74
|
import { premierTheme } from "./themes/premier.css.js";
|
|
69
|
-
import { associatedEmail } from "./utils/EverestValidity.js";
|
|
70
|
-
import { findMoreAxosDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
|
|
71
|
-
import { getVariant, getVariantWithRegex } from "./utils/getVariant.js";
|
|
72
|
-
import { isAbsoluteUrl, isEmailLink, isPhoneLink, shortUrl, validateLink } from "./utils/validateExternalLinks.js";
|
|
73
75
|
export {
|
|
74
76
|
Accordion,
|
|
75
77
|
AccordionCtx,
|
|
@@ -223,11 +225,16 @@ export {
|
|
|
223
225
|
shortUrl,
|
|
224
226
|
show,
|
|
225
227
|
single_container,
|
|
228
|
+
succes_check_mark,
|
|
229
|
+
success_circle,
|
|
230
|
+
success_icon,
|
|
231
|
+
success_wrap,
|
|
226
232
|
supertag,
|
|
227
233
|
table,
|
|
228
234
|
tableWrapper,
|
|
229
235
|
table_container,
|
|
230
236
|
table_container_text,
|
|
237
|
+
table_description_text,
|
|
231
238
|
table_headline,
|
|
232
239
|
td,
|
|
233
240
|
textBlockHeader,
|
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,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';
|
|
@@ -4,7 +4,7 @@ const isAbsoluteUrl = (url) => {
|
|
|
4
4
|
return RgExp.test(url);
|
|
5
5
|
};
|
|
6
6
|
const shortUrl = (url) => {
|
|
7
|
-
const uri = new URL(url);
|
|
7
|
+
const uri = new URL(url, location.href);
|
|
8
8
|
return uri.hostname;
|
|
9
9
|
};
|
|
10
10
|
const isEmailLink = (url) => {
|
|
@@ -16,9 +16,8 @@ const isPhoneLink = (url) => {
|
|
|
16
16
|
return uri.protocol === "tel:";
|
|
17
17
|
};
|
|
18
18
|
const validateLink = (url) => {
|
|
19
|
-
const newUrl = new URL(url, location.href);
|
|
20
19
|
let openModal = false;
|
|
21
|
-
if (isAbsoluteUrl(
|
|
20
|
+
if (isAbsoluteUrl(url) && !isEmailLink(url) && !isPhoneLink(url) && !isAllowedUrl(url)) {
|
|
22
21
|
openModal = true;
|
|
23
22
|
}
|
|
24
23
|
return openModal;
|