@axos-web-dev/shared-components 2.2.15 → 2.2.17
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/ATMLocator/ATMLocator.d.ts +1 -1
- package/dist/Accordion/Accordion.d.ts +3 -3
- package/dist/Article/Article.d.ts +1 -1
- package/dist/Auth/ErrorAlert.d.ts +1 -1
- package/dist/Auth/Logout.d.ts +1 -1
- package/dist/Auth/SignInPassword.d.ts +1 -1
- package/dist/BulletItem/BulletItem.d.ts +1 -1
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/GoBackButton.d.ts +1 -1
- package/dist/Calculators/Calculator.d.ts +1 -1
- package/dist/Carousel/index.d.ts +3 -3
- package/dist/Chatbot/Bubble.d.ts +1 -1
- package/dist/Chatbot/ChatWindow.js +98 -87
- package/dist/Chatbot/Chatbot.d.ts +1 -1
- package/dist/Chatbot/EllipsisAnimation.d.ts +1 -1
- package/dist/Chatbot/EllipsisIcon.d.ts +1 -1
- package/dist/Comparison/Comparison.d.ts +1 -1
- package/dist/Comparison/ComparisonSet.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
- package/dist/ExecutiveBio/Overlay.d.ts +1 -1
- package/dist/FaqAccordion/index.d.ts +5 -5
- package/dist/FdicCallout/index.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +4 -4
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.d.ts +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.d.ts +1 -1
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplyNow.d.ts +1 -1
- package/dist/Forms/BoatMooringLocation.d.ts +1 -1
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDepositsACS.d.ts +3 -0
- package/dist/Forms/CommercialDepositsACS.js +278 -0
- package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +1 -1
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/ConstructionLendingDynamic.d.ts +1 -1
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsLVF.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsSchwabAAS.d.ts +1 -1
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +9 -6
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/HoneyPot/index.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +1 -1
- package/dist/Forms/MortgageWarehouseLending.d.ts +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/UserInformation.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/SuccesForm.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +2 -0
- package/dist/HeroBanner/HeroBanner.d.ts +1 -1
- package/dist/HeroBanner/HeroVideoPoster.d.ts +1 -1
- package/dist/HeroBanner/LargeHeroBanner.d.ts +1 -1
- package/dist/IconBillboard/IconBillboard.d.ts +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
- package/dist/IconBillboard/sections/CallToActionSection.d.ts +1 -1
- package/dist/IconBillboard/sections/HeaderSection.d.ts +2 -2
- package/dist/IconBillboard/sections/IconSection.d.ts +1 -1
- package/dist/IconBillboard/sections/ItemsSection.d.ts +1 -1
- package/dist/IconBillboard/sections/LayoutSection.d.ts +1 -1
- package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageLink/ImageLink.d.ts +1 -1
- package/dist/ImageLink/ImageLinkSet.d.ts +1 -1
- package/dist/ImageWrapper/ImageWrapper.d.ts +1 -1
- package/dist/Insight/Featured/CategorySelector.d.ts +2 -2
- package/dist/Insight/Featured/Featured.d.ts +2 -2
- package/dist/Insight/Featured/Header.d.ts +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.d.ts +1 -1
- package/dist/LoadingIndicator/index.d.ts +1 -1
- package/dist/MainHTML/index.d.ts +1 -1
- package/dist/Modal/contextApi/store.d.ts +1 -1
- package/dist/NavigationMenu/AxosALTS/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -1
- package/dist/NavigationMenu/AxosBank/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosClearing/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosClearing/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosFiduciary/index.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/index.d.ts +1 -1
- package/dist/NavigationMenu/NavItem/index.d.ts +1 -1
- package/dist/NavigationMenu/Navbar.d.ts +1 -1
- package/dist/NavigationMenu/SignInNavButton.d.ts +1 -3
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/SecondaryFooter/index.d.ts +1 -1
- package/dist/SetContainer/SetContainer.d.ts +1 -1
- package/dist/SocialMediaBar/iconsRepository.d.ts +14 -14
- package/dist/SocialMediaBar/index.d.ts +1 -1
- package/dist/Tab/Tab.d.ts +1 -1
- package/dist/Tab/TabContainer.d.ts +1 -1
- package/dist/Table/Table.d.ts +5 -5
- package/dist/TextBlock/TextBlock.d.ts +1 -1
- package/dist/Topic/Topic.d.ts +4 -4
- package/dist/VideoTile/VideoInit.d.ts +1 -1
- package/dist/WalnutIframe/index.d.ts +1 -1
- package/dist/icons/AxosX/Blue.d.ts +1 -1
- package/dist/icons/AxosX/index.d.ts +1 -1
- package/dist/icons/CheckCircle.d.ts +1 -1
- package/dist/icons/CheckCircleLight.d.ts +1 -1
- package/dist/icons/CheckIcon/index.d.ts +1 -1
- package/dist/icons/ChevronDown.d.ts +1 -1
- package/dist/icons/ChevronUp.d.ts +1 -1
- package/dist/icons/Clock/index.d.ts +1 -1
- package/dist/icons/EqualHousingLender.d.ts +1 -1
- package/dist/icons/Logos/AAS.d.ts +1 -1
- package/dist/icons/Logos/AFS.d.ts +1 -1
- package/dist/icons/Logos/AXA.d.ts +1 -1
- package/dist/icons/Logos/AXB.d.ts +1 -1
- package/dist/icons/Logos/AXC.d.ts +1 -1
- package/dist/icons/Logos/AXI.d.ts +1 -1
- package/dist/icons/Logos/AXOS.d.ts +1 -1
- package/dist/icons/Logos/GBLVF.d.ts +1 -1
- package/dist/icons/Logos/LVF.d.ts +1 -1
- package/dist/icons/Logos/LVFText.d.ts +1 -1
- package/dist/icons/Logos/SPB.d.ts +1 -1
- package/dist/icons/MemberFdicLogo.d.ts +1 -1
- package/dist/icons/QuoteIconGrey.d.ts +1 -1
- package/dist/icons/QuoteIconWhite.d.ts +1 -1
- package/dist/icons/QuoteIconYellow.d.ts +1 -1
- package/dist/main.js +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CalculatorProps } from '../Calculators';
|
|
2
2
|
|
|
3
3
|
export type ATMLocatorProps = CalculatorProps;
|
|
4
|
-
export declare const ATMLocator: (props: CalculatorProps) => import("react").JSX.Element;
|
|
4
|
+
export declare const ATMLocator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,6 +7,6 @@ export declare const AccordionCtx: React.Context<{
|
|
|
7
7
|
isOpen: boolean;
|
|
8
8
|
onclick: () => void;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const AccordionHeader: (props: PropsWithChildren) =>
|
|
11
|
-
export declare const AccordionDetails: ({ children }: PropsWithChildren) =>
|
|
12
|
-
export declare const Accordion: (props: Accordion & PropsWithChildren) =>
|
|
10
|
+
export declare const AccordionHeader: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const AccordionDetails: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Accordion: (props: Accordion & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface ArticleProps {
|
|
|
12
12
|
variant?: QuaternaryTypes;
|
|
13
13
|
useChevron?: boolean | false;
|
|
14
14
|
}
|
|
15
|
-
export declare const Article: ({ id, image, itemType, title, description, targetUrl, variant: fullVariant, useChevron, }: ArticleProps) => import("react").JSX.Element;
|
|
15
|
+
export declare const Article: ({ id, image, itemType, title, description, targetUrl, variant: fullVariant, useChevron, }: ArticleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
modalRef?: React.RefObject<HTMLDivElement>;
|
|
12
12
|
};
|
|
13
|
-
export declare const ErrorAlert: ({ variant: fullVariant, modalRef, onClose, }: Props) => import("react").JSX.Element;
|
|
13
|
+
export declare const ErrorAlert: ({ variant: fullVariant, modalRef, onClose, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
package/dist/Auth/Logout.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export interface BulletItemProps extends PropsWithChildren {
|
|
|
12
12
|
subBullet?: boolean;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare const BulletItem: (props: BulletItemProps) => import("react").JSX.Element;
|
|
15
|
+
export declare const BulletItem: (props: BulletItemProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export type ButtonAsLink = ButtonBase & Omit<AnchorHTMLAttributes<HTMLAnchorElem
|
|
|
18
18
|
as?: "a";
|
|
19
19
|
};
|
|
20
20
|
export type ButtonProps = ButtonAsButton | ButtonAsLink;
|
|
21
|
-
export declare const Button: ({ as, children, color, size, disabled, rounded, targetUrl, id, newTab, action, className, square, marketingIntersitial, ...rest }: ButtonProps & ButtonVariants) => import("react").JSX.Element;
|
|
21
|
+
export declare const Button: ({ as, children, color, size, disabled, rounded, targetUrl, id, newTab, action, className, square, marketingIntersitial, ...rest }: ButtonProps & ButtonVariants) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ButtonProps } from './Button';
|
|
2
2
|
import { ButtonVariants } from './Button.css';
|
|
3
3
|
|
|
4
|
-
export declare const GoBackButton: (props: ButtonProps & ButtonVariants) => import("react").JSX.Element;
|
|
4
|
+
export declare const GoBackButton: (props: ButtonProps & ButtonVariants) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export interface CalculatorProps {
|
|
|
16
16
|
initialBalance?: number;
|
|
17
17
|
callToActionRow?: ChevronProps[];
|
|
18
18
|
}
|
|
19
|
-
export declare const Calculator: (props: CalculatorProps) =>
|
|
19
|
+
export declare const Calculator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { carouselVariants } from './Carousel.css';
|
|
3
3
|
|
|
4
4
|
export interface SlideProps extends PropsWithChildren {
|
|
@@ -17,5 +17,5 @@ export interface CarouselProps extends PropsWithChildren {
|
|
|
17
17
|
description?: ReactNode;
|
|
18
18
|
internalName?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare const CarouselSlide: (props: SlideProps & carouselVariants) =>
|
|
21
|
-
export declare const Carousel: (props: CarouselProps & carouselVariants) =>
|
|
20
|
+
export declare const CarouselSlide: (props: SlideProps & carouselVariants) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const Carousel: (props: CarouselProps & carouselVariants) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Chatbot/Bubble.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { PropsWithChildren } from 'react';
|
|
|
3
3
|
export declare const Bubble: ({ children, onClick, }: PropsWithChildren & {
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
project: "axos" | "ufb" | "Axos" | "Ufb";
|
|
6
|
-
}) => import("react").JSX.Element;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,7 +11,7 @@ import React, { useRef, useState, useEffect } from "react";
|
|
|
11
11
|
import { useNetworkState, useMount } from "react-use";
|
|
12
12
|
import { focusAnimation, gradientFocus } from "./AnimatedGradientBorder.css.js";
|
|
13
13
|
import { ChatbotMessage } from "./ChatbotMessage.js";
|
|
14
|
-
import { windowBarStyle, left_bar_section, chat_title, button_bar, chatbotMenuItem, chatbotMenu, chatEndDialogOverlay, chatFinishDialog, chatEndCircle, endChatButtonStyle, noAnswerButton, arrowFill, button_reset, buttonss_section, chatNetworkStatus, shimmerText, messagesContainerStyle, formTextButton, inputStyle, autoResize, sendButtonStyle, windowStyle, windowOpenStyle, windowExpandedStyle } from "./ChatWindow.css.js";
|
|
14
|
+
import { windowBarStyle, left_bar_section, chat_title, button_bar, chatbotMenuItem, chatbotMenu, chatEndDialogOverlay, chatFinishDialog, chatEndCircle, endChatButtonStyle, noAnswerButton, arrowFill, button_reset, buttonss_section, chatNetworkStatus, shimmerText, messagesContainerStyle, formTextButton, inputStyle, autoResize, sendButtonStyle, chatAiDisclaimer, windowStyle, windowOpenStyle, windowExpandedStyle } from "./ChatWindow.css.js";
|
|
15
15
|
import { EllipsisIcon } from "./EllipsisIcon.js";
|
|
16
16
|
import { ExpandChatToggle } from "./ExpandChatToggle.js";
|
|
17
17
|
import { useOpenChat } from "./store/chat.js";
|
|
@@ -136,6 +136,7 @@ const ChatWindow = ({
|
|
|
136
136
|
height: "17",
|
|
137
137
|
viewBox: "0 0 20 17",
|
|
138
138
|
fill: "none",
|
|
139
|
+
"aria-hidden": "true",
|
|
139
140
|
children: [
|
|
140
141
|
/* @__PURE__ */ jsx(
|
|
141
142
|
"path",
|
|
@@ -182,6 +183,8 @@ const ChatWindow = ({
|
|
|
182
183
|
alignContent: "center",
|
|
183
184
|
background: menuOpen ? "#0000000f" : void 0
|
|
184
185
|
},
|
|
186
|
+
"aria-label": "end chat with evo ai",
|
|
187
|
+
title: "end chat",
|
|
185
188
|
children: /* @__PURE__ */ jsx(EllipsisIcon, { color: vars.chatbot.window.headerText })
|
|
186
189
|
}
|
|
187
190
|
),
|
|
@@ -208,6 +211,7 @@ const ChatWindow = ({
|
|
|
208
211
|
height: "16",
|
|
209
212
|
viewBox: "0 0 16 16",
|
|
210
213
|
fill: "none",
|
|
214
|
+
"aria-hidden": true,
|
|
211
215
|
children: [
|
|
212
216
|
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_92_1389)", children: [
|
|
213
217
|
/* @__PURE__ */ jsx(
|
|
@@ -399,12 +403,12 @@ const ChatWindow = ({
|
|
|
399
403
|
height: "24",
|
|
400
404
|
viewBox: "0 0 24 24",
|
|
401
405
|
fill: "none",
|
|
406
|
+
"aria-hidden": "true",
|
|
402
407
|
children: /* @__PURE__ */ jsx(
|
|
403
408
|
"path",
|
|
404
409
|
{
|
|
405
410
|
className: arrowFill,
|
|
406
|
-
d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z"
|
|
407
|
-
color: vars.chatbot.window.headerText
|
|
411
|
+
d: "M2.46875 7.76574L11.9991 17.2961L21.5294 7.76574L20.4687 6.70508L11.9991 15.1749L3.52941 6.70508L2.46875 7.76574Z"
|
|
408
412
|
}
|
|
409
413
|
)
|
|
410
414
|
}
|
|
@@ -417,6 +421,7 @@ const ChatWindow = ({
|
|
|
417
421
|
viewBox: "0 0 15 15",
|
|
418
422
|
fill: "none",
|
|
419
423
|
xmlns: "http://www.w3.org/2000/svg",
|
|
424
|
+
"aria-hidden": "true",
|
|
420
425
|
children: /* @__PURE__ */ jsx(
|
|
421
426
|
"path",
|
|
422
427
|
{
|
|
@@ -515,91 +520,97 @@ const ChatWindow = ({
|
|
|
515
520
|
),
|
|
516
521
|
/* @__PURE__ */ jsx("div", { ref: messagesEndRef })
|
|
517
522
|
] }),
|
|
518
|
-
/* @__PURE__ */
|
|
519
|
-
/* @__PURE__ */
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
style: {
|
|
526
|
-
position: "absolute",
|
|
527
|
-
left: "10%",
|
|
528
|
-
width: "80%",
|
|
529
|
-
height: "40px",
|
|
530
|
-
zIndex: "-1"
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
),
|
|
534
|
-
/* @__PURE__ */ jsxs(
|
|
535
|
-
"div",
|
|
536
|
-
{
|
|
537
|
-
className: formTextButton,
|
|
538
|
-
style: {
|
|
539
|
-
display: "flex",
|
|
540
|
-
padding: "12px 16px",
|
|
541
|
-
background: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected ? "light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3))" : "#ffffff",
|
|
542
|
-
borderRadius: 12
|
|
543
|
-
},
|
|
544
|
-
children: [
|
|
545
|
-
/* @__PURE__ */ jsx(
|
|
546
|
-
"textarea",
|
|
547
|
-
{
|
|
548
|
-
ref: inputRef,
|
|
549
|
-
value: input,
|
|
550
|
-
onChange: (e) => setInput(e.target.value),
|
|
551
|
-
onKeyDown: (e) => {
|
|
552
|
-
if (hasEscalated) {
|
|
553
|
-
previewTyping(e.target?.value);
|
|
554
|
-
}
|
|
555
|
-
if (e.key === "Enter" && !e.shiftKey) {
|
|
556
|
-
handleSend(e);
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
onFocus: () => setFocused(() => true),
|
|
560
|
-
onBlur: () => setFocused(() => false),
|
|
561
|
-
placeholder: "Ask anything...",
|
|
562
|
-
className: clsx(inputStyle, autoResize),
|
|
563
|
-
autoFocus: true,
|
|
564
|
-
disabled: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected,
|
|
565
|
-
rows: 1
|
|
566
|
-
}
|
|
523
|
+
/* @__PURE__ */ jsxs("div", { style: { padding: "16px 16px 24px 16px" }, children: [
|
|
524
|
+
/* @__PURE__ */ jsxs("form", { onSubmit: handleSend, className: clsx(gradientFocus), children: [
|
|
525
|
+
/* @__PURE__ */ jsx(
|
|
526
|
+
"div",
|
|
527
|
+
{
|
|
528
|
+
className: clsx(
|
|
529
|
+
focused && !inputDisabled && !isBlockedInput ? focusAnimation : ""
|
|
567
530
|
),
|
|
568
|
-
|
|
569
|
-
"
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
531
|
+
style: {
|
|
532
|
+
position: "absolute",
|
|
533
|
+
left: "10%",
|
|
534
|
+
width: "80%",
|
|
535
|
+
height: "40px",
|
|
536
|
+
zIndex: "-1"
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
),
|
|
540
|
+
/* @__PURE__ */ jsxs(
|
|
541
|
+
"div",
|
|
542
|
+
{
|
|
543
|
+
className: formTextButton,
|
|
544
|
+
style: {
|
|
545
|
+
display: "flex",
|
|
546
|
+
padding: "12px 16px",
|
|
547
|
+
background: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected ? "light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3))" : "#ffffff",
|
|
548
|
+
borderRadius: 12
|
|
549
|
+
},
|
|
550
|
+
children: [
|
|
551
|
+
/* @__PURE__ */ jsx(
|
|
552
|
+
"textarea",
|
|
553
|
+
{
|
|
554
|
+
ref: inputRef,
|
|
555
|
+
value: input,
|
|
556
|
+
onChange: (e) => setInput(e.target.value),
|
|
557
|
+
onKeyDown: (e) => {
|
|
558
|
+
if (hasEscalated) {
|
|
559
|
+
previewTyping(e.target?.value);
|
|
560
|
+
}
|
|
561
|
+
if (e.key === "Enter" && !e.shiftKey) {
|
|
562
|
+
handleSend(e);
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
onFocus: () => setFocused(() => true),
|
|
566
|
+
onBlur: () => setFocused(() => false),
|
|
567
|
+
placeholder: "Ask anything...",
|
|
568
|
+
"aria-label": "Ask anything...",
|
|
569
|
+
className: clsx(inputStyle, autoResize),
|
|
570
|
+
autoFocus: true,
|
|
571
|
+
disabled: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected,
|
|
572
|
+
rows: 1
|
|
573
|
+
}
|
|
574
|
+
),
|
|
575
|
+
/* @__PURE__ */ jsx(
|
|
576
|
+
"button",
|
|
577
|
+
{
|
|
578
|
+
className: clsx(
|
|
579
|
+
sendButtonStyle,
|
|
580
|
+
input.trim().length > 0 && "active"
|
|
581
|
+
),
|
|
582
|
+
type: "submit",
|
|
583
|
+
title: "Send message",
|
|
584
|
+
"aria-label": "Send message",
|
|
585
|
+
disabled: isBlockedInput || inputDisabled || status !== "connected" || !input.trim() || messages.length == 0 || escalationDeflected,
|
|
586
|
+
children: /* @__PURE__ */ jsx(
|
|
587
|
+
"svg",
|
|
588
|
+
{
|
|
589
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
590
|
+
width: "20",
|
|
591
|
+
height: "20",
|
|
592
|
+
viewBox: "0 0 16 16",
|
|
593
|
+
fill: "none",
|
|
594
|
+
"aria-hidden": true,
|
|
595
|
+
children: /* @__PURE__ */ jsx(
|
|
596
|
+
"path",
|
|
597
|
+
{
|
|
598
|
+
fillRule: "evenodd",
|
|
599
|
+
clipRule: "evenodd",
|
|
600
|
+
d: "M0.0030533 5.42479C0.0273417 5.1795 0.193529 4.9714 0.427369 4.89345L15.0114 0.0320896C15.236 -0.0427712 15.4836 0.0156801 15.651 0.183075C15.8184 0.35047 15.8769 0.598075 15.802 0.822659L10.9407 15.4067C10.8627 15.6406 10.6546 15.8068 10.4093 15.8311C10.164 15.8553 9.92737 15.7332 9.80508 15.5192L6.35411 9.47999L0.314925 6.02903C0.100912 5.90673 -0.0212351 5.67008 0.0030533 5.42479ZM7.59169 9.1263L9.64202 12.7144C9.85645 13.0896 10.4138 13.0344 10.5505 12.6244L13.9046 2.56191C14.0349 2.17103 13.6631 1.79916 13.2722 1.92946L3.20969 5.28362C2.79967 5.4203 2.74448 5.97766 3.11973 6.19209L6.70781 8.24242L9.90579 5.04443C10.1499 4.80036 10.5456 4.80036 10.7897 5.04443C11.0337 5.28851 11.0337 5.68424 10.7897 5.92832L7.59169 9.1263Z",
|
|
601
|
+
fill: "#435164"
|
|
602
|
+
}
|
|
603
|
+
)
|
|
604
|
+
}
|
|
605
|
+
)
|
|
606
|
+
}
|
|
607
|
+
)
|
|
608
|
+
]
|
|
609
|
+
}
|
|
610
|
+
)
|
|
611
|
+
] }),
|
|
612
|
+
/* @__PURE__ */ jsx("p", { className: chatAiDisclaimer, children: "Evo is AI and can make mistakes. Verify important details." })
|
|
613
|
+
] })
|
|
603
614
|
]
|
|
604
615
|
}
|
|
605
616
|
);
|
|
@@ -17,5 +17,5 @@ export declare const Chatbot: ({ project, projectEnv, menuOption, config, }: {
|
|
|
17
17
|
menuOption?: "Support Virtual Agent" | string;
|
|
18
18
|
debug?: boolean;
|
|
19
19
|
config: InitalizeChatbot;
|
|
20
|
-
}) => false | import("react").JSX.Element;
|
|
20
|
+
}) => false | import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const EllipsisLoader: () => import("react").JSX.Element;
|
|
1
|
+
declare const EllipsisLoader: () => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default EllipsisLoader;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ComparisonProps } from './Comparison.interface';
|
|
2
2
|
|
|
3
|
-
export declare const Comparison: ({ id, variant: fullVariant, headline, description, bullets, callToActionRow, keyFeature, keyFeatureDescription, highlightedFeature, index, toggleState, table, }: ComparisonProps) => import("react").JSX.Element;
|
|
3
|
+
export declare const Comparison: ({ id, variant: fullVariant, headline, description, bullets, callToActionRow, keyFeature, keyFeatureDescription, highlightedFeature, index, toggleState, table, }: ComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ComparisonSetProps } from './Comparison.interface';
|
|
2
2
|
|
|
3
|
-
export declare const ComparisonSet: ({ headline, variant, id, additionalDetails, icon, eyebrow, bodyCopy, comparisonElements, }: ComparisonSetProps) => import("react").JSX.Element;
|
|
3
|
+
export declare const ComparisonSet: ({ headline, variant, id, additionalDetails, icon, eyebrow, bodyCopy, comparisonElements, }: ComparisonSetProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ExecutiveBioProps as Props } from './ExecutiveBio.interface';
|
|
2
2
|
|
|
3
|
-
export declare const ExecutiveBio: ({ id, hasParentH2, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveLinkedIn, executiveWebsite, executiveHeadshot, variant: fullVariant, bannerType, executiveTwitter, executiveFacebook, bullets, bulletsTitle, quote, backgroundOverlay, }: Props) => import("react").JSX.Element;
|
|
3
|
+
export declare const ExecutiveBio: ({ id, hasParentH2, executiveName, executiveTitle, executiveBodyCopy, executiveEmailAddress, executivePhoneNumber, executiveLinkedIn, executiveWebsite, executiveHeadshot, variant: fullVariant, bannerType, executiveTwitter, executiveFacebook, bullets, bulletsTitle, quote, backgroundOverlay, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ExecutiveBioSetProps as Props } from './ExecutiveBio.interface';
|
|
2
2
|
|
|
3
|
-
export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails, variant: fullVariant, numberOfColumns, }: Props) => import("react").JSX.Element;
|
|
3
|
+
export declare const ExecutiveBioSet: ({ id, title, description, executiveBios, additionalDetails, variant: fullVariant, numberOfColumns, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,5 @@ interface OverlayProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
variant?: QuaternaryTypes;
|
|
6
6
|
}
|
|
7
|
-
export declare const Overlay: ({ className, variant }: OverlayProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const Overlay: ({ className, variant }: OverlayProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -4,19 +4,19 @@ import { PropsWithChildren, ReactNode } from 'react';
|
|
|
4
4
|
export interface AccordionItemProps extends PropsWithChildren {
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const AccordionItem: (props: AccordionItemProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const AccordionItem: (props: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare const AccordionItemSummary: (props: {
|
|
9
9
|
id: string;
|
|
10
10
|
level: string;
|
|
11
|
-
} & PropsWithChildren) => import("react").JSX.Element;
|
|
11
|
+
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare const AccordionCtas: (props: {
|
|
13
13
|
callToActionRow: ChevronProps;
|
|
14
|
-
}) => import("react").JSX.Element;
|
|
15
|
-
export declare const AccordionItemContent: (props: PropsWithChildren) => import("react").JSX.Element;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const AccordionItemContent: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export declare const FaqAccordion: (props: {
|
|
17
17
|
header?: string;
|
|
18
18
|
accordionEmbedLevel?: string;
|
|
19
19
|
internalName?: string;
|
|
20
20
|
id?: string;
|
|
21
21
|
additionalDetails?: ReactNode | string;
|
|
22
|
-
} & PropsWithChildren) => import("react").JSX.Element;
|
|
22
|
+
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FdicBanner: () => import("react").JSX.Element;
|
|
1
|
+
export declare const FdicBanner: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,8 +7,8 @@ type WithStyles = {
|
|
|
7
7
|
type WithId = {
|
|
8
8
|
id?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const FooterContent: (props: PropsWithChildren & WithStyles & WithId) => import("react").JSX.Element;
|
|
11
|
-
export declare const FooterParagraph: (props: PropsWithChildren & WithStyles & WithId) => import("react").JSX.Element;
|
|
12
|
-
export declare const FooterIcons: (props: PropsWithChildren & WithStyles) => import("react").JSX.Element;
|
|
13
|
-
export declare const FooterDisclosure: (props: PropsWithChildren & WithStyles) => import("react").JSX.Element;
|
|
10
|
+
export declare const FooterContent: (props: PropsWithChildren & WithStyles & WithId) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const FooterParagraph: (props: PropsWithChildren & WithStyles & WithId) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const FooterIcons: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const FooterDisclosure: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -9,4 +9,4 @@ export type ApplicationStartInputs = {
|
|
|
9
9
|
Send_SMS__c: boolean;
|
|
10
10
|
DoNotCall: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const ApplicationStart: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const ApplicationStart: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Forms/ApplyNow.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { FormProps } from './FormProps';
|
|
|
3
3
|
export declare const ApplyNow: ({ icon, children, disclosure, variant: fullVariant, headline, description, id, gbf, project, }: Omit<FormProps & {
|
|
4
4
|
gbf?: boolean;
|
|
5
5
|
project?: string;
|
|
6
|
-
}, "callToAction" | "validateEmail" | "onSubmit">) => import("react").JSX.Element;
|
|
6
|
+
}, "callToAction" | "validateEmail" | "onSubmit">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -27,4 +27,4 @@ export type BoatMooringLocationInputs = {
|
|
|
27
27
|
insurancePolicyExpirationDate: string;
|
|
28
28
|
insuranceContactEmailAddress: string;
|
|
29
29
|
};
|
|
30
|
-
export declare const BoatMooringLocation: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react").JSX.Element;
|
|
30
|
+
export declare const BoatMooringLocation: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ClearingInputs = {
|
|
|
11
11
|
Memo__c: string;
|
|
12
12
|
business_type_selection: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
14
|
+
export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export type CommercialDepositsInputs = {
|
|
|
14
14
|
Others_Detail__c: string;
|
|
15
15
|
Product_and_servicing_needs__c: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FormProps } from './FormProps';
|
|
2
|
+
|
|
3
|
+
export declare const CommercialDepositsACS: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|