@axos-web-dev/shared-components 2.2.13 → 2.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/ATMLocator/ATMLocator.d.ts +1 -1
  2. package/dist/Accordion/Accordion.d.ts +3 -3
  3. package/dist/Article/Article.d.ts +1 -1
  4. package/dist/Auth/ErrorAlert.d.ts +1 -1
  5. package/dist/Auth/ErrorAlert.js +1 -1
  6. package/dist/Auth/Logout.d.ts +1 -1
  7. package/dist/Auth/SignInPassword.d.ts +1 -1
  8. package/dist/BulletItem/BulletItem.d.ts +1 -1
  9. package/dist/Button/Button.d.ts +1 -1
  10. package/dist/Button/GoBackButton.d.ts +1 -1
  11. package/dist/Calculators/Calculator.d.ts +1 -1
  12. package/dist/Calculators/Calculator.js +1 -1
  13. package/dist/Carousel/index.d.ts +3 -3
  14. package/dist/Chatbot/Bubble.d.ts +1 -1
  15. package/dist/Chatbot/ChatWindow.css.d.ts +6 -0
  16. package/dist/Chatbot/ChatWindow.css.js +47 -34
  17. package/dist/Chatbot/ChatWindow.js +135 -76
  18. package/dist/Chatbot/Chatbot.d.ts +1 -1
  19. package/dist/Chatbot/EllipsisAnimation.d.ts +1 -1
  20. package/dist/Chatbot/EllipsisIcon.d.ts +1 -1
  21. package/dist/Chatbot/index.js +7 -1
  22. package/dist/Comparison/Comparison.d.ts +1 -1
  23. package/dist/Comparison/ComparisonSet.d.ts +1 -1
  24. package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
  25. package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
  26. package/dist/ExecutiveBio/Overlay.d.ts +1 -1
  27. package/dist/FaqAccordion/index.d.ts +5 -5
  28. package/dist/FdicCallout/index.d.ts +1 -1
  29. package/dist/FooterDisclosure/FooterDisclosure.d.ts +4 -4
  30. package/dist/FooterDisclosure/LVF/LaVictorieFooter.d.ts +1 -1
  31. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.d.ts +1 -1
  32. package/dist/Forms/ApplicationStart.d.ts +1 -1
  33. package/dist/Forms/ApplyNow.d.ts +1 -1
  34. package/dist/Forms/BoatMooringLocation.d.ts +1 -1
  35. package/dist/Forms/ClearingForm.d.ts +1 -1
  36. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  37. package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +1 -1
  38. package/dist/Forms/CommercialLending.d.ts +1 -1
  39. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  40. package/dist/Forms/ConstructionLendingDynamic.d.ts +1 -1
  41. package/dist/Forms/ContactCompany.d.ts +1 -1
  42. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  43. package/dist/Forms/ContactUs.d.ts +1 -1
  44. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  45. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  46. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  47. package/dist/Forms/ContactUsLVF.d.ts +1 -1
  48. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  49. package/dist/Forms/ContactUsSchwabAAS.d.ts +1 -1
  50. package/dist/Forms/CpraRequest.d.ts +1 -1
  51. package/dist/Forms/CraPublicFile.d.ts +1 -1
  52. package/dist/Forms/DealerServices.d.ts +1 -1
  53. package/dist/Forms/EmailOnly.d.ts +1 -1
  54. package/dist/Forms/EmailUs.d.ts +1 -1
  55. package/dist/Forms/HoneyPot/index.d.ts +1 -1
  56. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  57. package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.d.ts +1 -1
  58. package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +1 -1
  59. package/dist/Forms/MortgageWarehouseLending.d.ts +1 -1
  60. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  61. package/dist/Forms/QuickPricer/UserInformation.d.ts +1 -1
  62. package/dist/Forms/ScheduleCall.d.ts +1 -1
  63. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  64. package/dist/Forms/SuccesForm.d.ts +1 -1
  65. package/dist/Forms/SuccesForm.js +1 -1
  66. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  67. package/dist/Forms/WcplSurvey.d.ts +1 -1
  68. package/dist/HeroBanner/HeroBanner.d.ts +1 -1
  69. package/dist/HeroBanner/HeroVideoPoster.d.ts +1 -1
  70. package/dist/HeroBanner/LargeHeroBanner.d.ts +1 -1
  71. package/dist/IconBillboard/IconBillboard.d.ts +1 -1
  72. package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
  73. package/dist/IconBillboard/sections/CallToActionSection.d.ts +1 -1
  74. package/dist/IconBillboard/sections/HeaderSection.d.ts +2 -2
  75. package/dist/IconBillboard/sections/IconSection.d.ts +1 -1
  76. package/dist/IconBillboard/sections/ItemsSection.d.ts +1 -1
  77. package/dist/IconBillboard/sections/LayoutSection.d.ts +1 -1
  78. package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.d.ts +1 -1
  79. package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
  80. package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
  81. package/dist/ImageLink/ImageLink.d.ts +1 -1
  82. package/dist/ImageLink/ImageLinkSet.d.ts +1 -1
  83. package/dist/ImageWrapper/ImageWrapper.d.ts +1 -1
  84. package/dist/Insight/Featured/CategorySelector.d.ts +2 -2
  85. package/dist/Insight/Featured/Featured.d.ts +2 -2
  86. package/dist/Insight/Featured/Header.d.ts +1 -1
  87. package/dist/LandingPageHeader/LandingPageHeader.d.ts +1 -1
  88. package/dist/LoadingIndicator/index.d.ts +1 -1
  89. package/dist/MainHTML/index.d.ts +1 -1
  90. package/dist/Modal/contextApi/store.d.ts +1 -1
  91. package/dist/NavigationMenu/AxosALTS/index.d.ts +1 -1
  92. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
  93. package/dist/NavigationMenu/AxosAdvisor/index.d.ts +1 -1
  94. package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.d.ts +1 -1
  95. package/dist/NavigationMenu/AxosAdvisorServices/index.d.ts +1 -1
  96. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +1 -1
  97. package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +1 -1
  98. package/dist/NavigationMenu/AxosBank/index.d.ts +1 -1
  99. package/dist/NavigationMenu/AxosClearing/SubNavBar.d.ts +1 -1
  100. package/dist/NavigationMenu/AxosClearing/index.d.ts +1 -1
  101. package/dist/NavigationMenu/AxosFiduciary/index.d.ts +1 -1
  102. package/dist/NavigationMenu/LaVictoire/SubNavBar.d.ts +1 -1
  103. package/dist/NavigationMenu/LaVictoire/index.d.ts +1 -1
  104. package/dist/NavigationMenu/NavItem/index.d.ts +1 -1
  105. package/dist/NavigationMenu/Navbar.d.ts +1 -1
  106. package/dist/NavigationMenu/SignInNavButton.d.ts +3 -1
  107. package/dist/Pagination/Pagination.d.ts +1 -1
  108. package/dist/SecondaryFooter/index.d.ts +1 -1
  109. package/dist/SetContainer/SetContainer.d.ts +1 -1
  110. package/dist/SocialMediaBar/iconsRepository.d.ts +14 -14
  111. package/dist/SocialMediaBar/index.d.ts +1 -1
  112. package/dist/Tab/Tab.d.ts +1 -1
  113. package/dist/Tab/TabContainer.d.ts +1 -1
  114. package/dist/Table/Table.d.ts +5 -5
  115. package/dist/TextBlock/TextBlock.d.ts +1 -1
  116. package/dist/Topic/Topic.d.ts +4 -4
  117. package/dist/VideoTile/VideoInit.d.ts +1 -1
  118. package/dist/WalnutIframe/index.d.ts +1 -1
  119. package/dist/assets/Chatbot/ChatWindow.css +155 -74
  120. package/dist/icons/AxosX/Blue.d.ts +1 -1
  121. package/dist/icons/AxosX/index.d.ts +1 -1
  122. package/dist/icons/CheckCircle.d.ts +1 -1
  123. package/dist/icons/CheckCircleLight.d.ts +1 -1
  124. package/dist/icons/CheckIcon/index.d.ts +1 -1
  125. package/dist/icons/ChevronDown.d.ts +1 -1
  126. package/dist/icons/ChevronUp.d.ts +1 -1
  127. package/dist/icons/Clock/index.d.ts +1 -1
  128. package/dist/icons/EqualHousingLender.d.ts +1 -1
  129. package/dist/icons/Logos/AAS.d.ts +1 -1
  130. package/dist/icons/Logos/AFS.d.ts +1 -1
  131. package/dist/icons/Logos/AXA.d.ts +1 -1
  132. package/dist/icons/Logos/AXB.d.ts +1 -1
  133. package/dist/icons/Logos/AXC.d.ts +1 -1
  134. package/dist/icons/Logos/AXI.d.ts +1 -1
  135. package/dist/icons/Logos/AXOS.d.ts +1 -1
  136. package/dist/icons/Logos/GBLVF.d.ts +1 -1
  137. package/dist/icons/Logos/LVF.d.ts +1 -1
  138. package/dist/icons/Logos/LVFText.d.ts +1 -1
  139. package/dist/icons/Logos/SPB.d.ts +1 -1
  140. package/dist/icons/MemberFdicLogo.d.ts +1 -1
  141. package/dist/icons/QuoteIconGrey.d.ts +1 -1
  142. package/dist/icons/QuoteIconWhite.d.ts +1 -1
  143. package/dist/icons/QuoteIconYellow.d.ts +1 -1
  144. package/dist/main.js +7 -1
  145. 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-runtime").JSX.Element;
4
+ export declare const ATMLocator: (props: CalculatorProps) => import("react").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) => 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;
10
+ export declare const AccordionHeader: (props: PropsWithChildren) => React.JSX.Element;
11
+ export declare const AccordionDetails: ({ children }: PropsWithChildren) => React.JSX.Element;
12
+ export declare const Accordion: (props: Accordion & PropsWithChildren) => React.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-runtime").JSX.Element;
15
+ export declare const Article: ({ id, image, itemType, title, description, targetUrl, variant: fullVariant, useChevron, }: ArticleProps) => import("react").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-runtime").JSX.Element;
13
+ export declare const ErrorAlert: ({ variant: fullVariant, modalRef, onClose, }: Props) => import("react").JSX.Element;
14
14
  export {};
@@ -69,6 +69,7 @@ import "../Carousel/index.js";
69
69
  import "../Chatbot/store/chat.js";
70
70
  import "../Chatbot/Chatbot.js";
71
71
  /* empty css */
72
+ import "../LoadingIndicator/LoadingIndicator.css.js";
72
73
  /* empty css */
73
74
  import "../Chatbot/store/messages.js";
74
75
  import { Hyperlink } from "../Hyperlink/index.js";
@@ -97,7 +98,6 @@ import "next/script.js";
97
98
  /* empty css */
98
99
  import "../Interstitial/Interstitial-variants.css.js";
99
100
  import "../LandingPageHeader/LandingPageHeader.css.js";
100
- import "../LoadingIndicator/LoadingIndicator.css.js";
101
101
  /* empty css */
102
102
  import "next/navigation.js";
103
103
  /* empty css */
@@ -1,3 +1,3 @@
1
1
  export declare const Logout: ({ action, }: {
2
2
  action: (prev: unknown, formData: FormData) => void;
3
- }) => import("react/jsx-runtime").JSX.Element;
3
+ }) => import("react").JSX.Element;
@@ -12,4 +12,4 @@ export type Credentials = {
12
12
  username: string;
13
13
  password: string;
14
14
  };
15
- export declare const SignIn: (props: SignIn) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const SignIn: (props: SignIn) => import("react").JSX.Element;
@@ -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-runtime").JSX.Element;
15
+ export declare const BulletItem: (props: BulletItemProps) => import("react").JSX.Element;
@@ -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-runtime").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.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-runtime").JSX.Element;
4
+ export declare const GoBackButton: (props: ButtonProps & ButtonVariants) => import("react").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) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const Calculator: (props: CalculatorProps) => React.JSX.Element;
@@ -55,6 +55,7 @@ import "../Carousel/index.js";
55
55
  import "../Chatbot/store/chat.js";
56
56
  import "../Chatbot/Chatbot.js";
57
57
  /* empty css */
58
+ import "../LoadingIndicator/LoadingIndicator.css.js";
58
59
  import "react-use";
59
60
  /* empty css */
60
61
  import "../Chatbot/store/messages.js";
@@ -94,7 +95,6 @@ import "../Input/RadioButton.js";
94
95
  /* empty css */
95
96
  /* empty css */
96
97
  import "../LandingPageHeader/LandingPageHeader.css.js";
97
- import "../LoadingIndicator/LoadingIndicator.css.js";
98
98
  /* empty css */
99
99
  import "next/navigation.js";
100
100
  /* empty css */
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren, ReactNode } from 'react';
1
+ import { default as React, 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) => import("react/jsx-runtime").JSX.Element;
21
- export declare const Carousel: (props: CarouselProps & carouselVariants) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const CarouselSlide: (props: SlideProps & carouselVariants) => React.JSX.Element;
21
+ export declare const Carousel: (props: CarouselProps & carouselVariants) => React.JSX.Element;
@@ -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-runtime").JSX.Element;
6
+ }) => import("react").JSX.Element;
@@ -16,6 +16,7 @@ export declare const inputStyle: string;
16
16
  * - Sets a minimum height to ensure at least 1 or 2 lines are visible.
17
17
  */
18
18
  export declare const autoResize: string;
19
+ export declare const chatAiDisclaimer: string;
19
20
  export declare const sendButtonStyle: string;
20
21
  export declare const messagesContainerStyle: string;
21
22
  export declare const notificationStyle: string;
@@ -36,3 +37,8 @@ export declare const chatEndCircle: string;
36
37
  export declare const user_msg: string;
37
38
  export declare const agent_msg: string;
38
39
  export declare const shimmerText: string;
40
+ export declare const tableMsg: string;
41
+ export declare const tableHead: string;
42
+ export declare const tableCell: string;
43
+ export declare const trMortgageTable: string;
44
+ export declare const formTextButton: string;
@@ -1,42 +1,49 @@
1
- import '../assets/Chatbot/ChatWindow.css';import '../assets/Chatbot/Chatbot.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
1
+ import '../assets/Chatbot/ChatWindow.css';import '../assets/Chatbot/Chatbot.css';import '../assets/Typography/Typography.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
+ /* empty css */
5
6
  /* empty css */
6
7
  /* empty css */
7
- var windowStyle = "_13n1jqk0";
8
- var windowExpandedStyle = "_13n1jqk1";
9
- var expandToggleStyle = "_13n1jqk2";
10
- var windowOpenStyle = "_13n1jqk3";
11
- var windowBarStyle = "_13n1jqk4";
12
- var left_bar_section = "_13n1jqk5";
13
- var chat_title = "_13n1jqk6";
14
- var buttonss_section = "_13n1jqk7";
15
- var button_bar = "_13n1jqk8";
16
- var button_reset = "_13n1jqk9";
17
- var arrowFill = "_13n1jqka";
18
- var inputStyle = "_13n1jqkb";
19
- var autoResize = "_13n1jqkc";
20
- var sendButtonStyle = "_13n1jqkd";
21
- var messagesContainerStyle = "_13n1jqke";
22
- var notificationStyle = "_13n1jqkf";
23
- var messageStyle = "_13n1jqkg";
24
- var inline_button_wrapper = "_13n1jqkh";
25
- var inline_button = "_13n1jqki";
26
- var endChatButtonStyle = "_13n1jqkj";
27
- var noAnswerButton = "_13n1jqkk";
28
- var chatbotMenu = "_13n1jqkl";
29
- var chatbotMenuItem = "_13n1jqkm";
30
- var chatNetworkStatus = "_13n1jqkn";
31
- var chatEndDialogOverlay = "_13n1jqko";
32
- var chatFinishDialog = "_13n1jqkp";
33
- var thankyou_overlay = "_13n1jqkq";
34
- var thankyou_message = "_13n1jqkr";
35
- var thankyou_image = "_13n1jqks";
36
- var chatEndCircle = "_13n1jqkt";
37
- var user_msg = "_13n1jqku";
38
- var agent_msg = "_13n1jqkv";
39
- var shimmerText = "_13n1jqkx";
8
+ var windowStyle = "_13n1jqk1";
9
+ var windowExpandedStyle = "_13n1jqk2";
10
+ var expandToggleStyle = "_13n1jqk3";
11
+ var windowOpenStyle = "_13n1jqk4";
12
+ var windowBarStyle = "_13n1jqk5";
13
+ var left_bar_section = "_13n1jqk6";
14
+ var chat_title = "_13n1jqk7";
15
+ var buttonss_section = "_13n1jqk8";
16
+ var button_bar = "_13n1jqk9";
17
+ var button_reset = "_13n1jqka";
18
+ var arrowFill = "_13n1jqkb";
19
+ var inputStyle = "_13n1jqkc";
20
+ var autoResize = "_13n1jqkd";
21
+ var chatAiDisclaimer = "_13n1jqke";
22
+ var sendButtonStyle = "_13n1jqkf";
23
+ var messagesContainerStyle = "_13n1jqkg";
24
+ var notificationStyle = "_13n1jqkh";
25
+ var messageStyle = "_13n1jqki";
26
+ var inline_button_wrapper = "_13n1jqkj";
27
+ var inline_button = "_13n1jqkk";
28
+ var endChatButtonStyle = "_13n1jqkl";
29
+ var noAnswerButton = "_13n1jqkm";
30
+ var chatbotMenu = "_13n1jqkn";
31
+ var chatbotMenuItem = "_13n1jqko";
32
+ var chatNetworkStatus = "_13n1jqkp";
33
+ var chatEndDialogOverlay = "_13n1jqkq";
34
+ var chatFinishDialog = "_13n1jqkr";
35
+ var thankyou_overlay = "_13n1jqks";
36
+ var thankyou_message = "_13n1jqkt";
37
+ var thankyou_image = "_13n1jqku";
38
+ var chatEndCircle = "_13n1jqkv";
39
+ var user_msg = "_13n1jqkw";
40
+ var agent_msg = "_13n1jqkx";
41
+ var shimmerText = "_13n1jqkz";
42
+ var tableMsg = "_13n1jqk10";
43
+ var tableHead = "_13n1jqk11";
44
+ var tableCell = "_13n1jqk12";
45
+ var trMortgageTable = "_13n1jqk13";
46
+ var formTextButton = "_13n1jqk14";
40
47
  export {
41
48
  agent_msg,
42
49
  arrowFill,
@@ -44,6 +51,7 @@ export {
44
51
  button_bar,
45
52
  button_reset,
46
53
  buttonss_section,
54
+ chatAiDisclaimer,
47
55
  chatEndCircle,
48
56
  chatEndDialogOverlay,
49
57
  chatFinishDialog,
@@ -53,6 +61,7 @@ export {
53
61
  chatbotMenuItem,
54
62
  endChatButtonStyle,
55
63
  expandToggleStyle,
64
+ formTextButton,
56
65
  inline_button,
57
66
  inline_button_wrapper,
58
67
  inputStyle,
@@ -63,9 +72,13 @@ export {
63
72
  notificationStyle,
64
73
  sendButtonStyle,
65
74
  shimmerText,
75
+ tableCell,
76
+ tableHead,
77
+ tableMsg,
66
78
  thankyou_image,
67
79
  thankyou_message,
68
80
  thankyou_overlay,
81
+ trMortgageTable,
69
82
  user_msg,
70
83
  windowBarStyle,
71
84
  windowExpandedStyle,
@@ -1,16 +1,17 @@
1
1
  "use client";
2
2
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
3
+ import { LoadingIndicator } from "../LoadingIndicator/index.js";
3
4
  import { vars } from "../themes/axos.css.js";
4
5
  import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
5
6
  /* empty css */
6
7
  /* empty css */
7
8
  /* empty css */
8
9
  import clsx from "clsx";
9
- import React, { useRef, useEffect } from "react";
10
+ import React, { useRef, useState, useEffect } from "react";
10
11
  import { useNetworkState, useMount } from "react-use";
11
- import { gradientFocus } from "./AnimatedGradientBorder.css.js";
12
+ import { focusAnimation, gradientFocus } from "./AnimatedGradientBorder.css.js";
12
13
  import { ChatbotMessage } from "./ChatbotMessage.js";
13
- import { windowBarStyle, left_bar_section, chat_title, button_bar, chatbotMenuItem, chatbotMenu, chatEndDialogOverlay, chatFinishDialog, chatEndCircle, endChatButtonStyle, noAnswerButton, arrowFill, button_reset, buttonss_section, chatNetworkStatus, shimmerText, messagesContainerStyle, 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, windowStyle, windowOpenStyle, windowExpandedStyle } from "./ChatWindow.css.js";
14
15
  import { EllipsisIcon } from "./EllipsisIcon.js";
15
16
  import { ExpandChatToggle } from "./ExpandChatToggle.js";
16
17
  import { useOpenChat } from "./store/chat.js";
@@ -40,12 +41,13 @@ const ChatWindow = ({
40
41
  }) => {
41
42
  const {
42
43
  showThankyouMessage,
43
- displayThankyouMessage,
44
44
  toggleThankyouMessage,
45
45
  hasEscalated,
46
46
  isBlockedInput,
47
47
  isOpen,
48
48
  hasOpenedOnce,
49
+ chatStatus,
50
+ setChatStatus,
49
51
  isWindowExpanded,
50
52
  toggleWindowExpanded
51
53
  } = useOpenChat();
@@ -56,6 +58,7 @@ const ChatWindow = ({
56
58
  const [input, setInput] = React.useState("");
57
59
  const messagesEndRef = useRef(null);
58
60
  const inputRef = useRef(null);
61
+ const [focused, setFocused] = useState(false);
59
62
  useEffect(() => {
60
63
  messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
61
64
  }, [messages]);
@@ -86,9 +89,6 @@ const ChatWindow = ({
86
89
  useEffect(() => {
87
90
  autoResizeTextarea();
88
91
  }, [input]);
89
- const displayThankYouScreen = () => {
90
- displayThankyouMessage();
91
- };
92
92
  const onCancelEndChat = () => {
93
93
  setShowEndChatDialog(false);
94
94
  toggleThankyouMessage?.();
@@ -182,7 +182,7 @@ const ChatWindow = ({
182
182
  alignContent: "center",
183
183
  background: menuOpen ? "#0000000f" : void 0
184
184
  },
185
- children: /* @__PURE__ */ jsx(EllipsisIcon, {})
185
+ children: /* @__PURE__ */ jsx(EllipsisIcon, { color: vars.chatbot.window.headerText })
186
186
  }
187
187
  ),
188
188
  menuOpen && /* @__PURE__ */ jsx("ul", { className: clsx(chatbotMenu), children: /* @__PURE__ */ jsx("li", { className: chatbotMenuItem, children: /* @__PURE__ */ jsxs(
@@ -214,7 +214,7 @@ const ChatWindow = ({
214
214
  "path",
215
215
  {
216
216
  d: "M11.1236 5.37374L8.60278 7.89457L11.1236 10.4167L10.4166 11.1237L7.89445 8.6029L5.37362 11.1237L4.66658 10.4167L7.18742 7.89457L4.66658 5.37374L5.37362 4.66671L7.89445 7.18754L10.4166 4.66671L11.1236 5.37374Z",
217
- fill: "#1E3860"
217
+ fill: vars.chatbot.window.headerText
218
218
  }
219
219
  ),
220
220
  /* @__PURE__ */ jsx(
@@ -223,7 +223,7 @@ const ChatWindow = ({
223
223
  fillRule: "evenodd",
224
224
  clipRule: "evenodd",
225
225
  d: "M13.3333 0.833374C14.3458 0.833374 15.1666 1.65419 15.1666 2.66671V13.3334C15.1666 14.3459 14.3458 15.1667 13.3333 15.1667H2.66659C1.65406 15.1667 0.833252 14.3459 0.833252 13.3334V2.66671C0.833252 1.65419 1.65406 0.833374 2.66659 0.833374H13.3333ZM2.66659 1.83337C2.20635 1.83337 1.83325 2.20647 1.83325 2.66671V13.3334C1.83325 13.7936 2.20635 14.1667 2.66659 14.1667H13.3333C13.7935 14.1667 14.1666 13.7936 14.1666 13.3334V2.66671C14.1666 2.20647 13.7935 1.83337 13.3333 1.83337H2.66659Z",
226
- fill: "#1E3860"
226
+ fill: vars.chatbot.window.headerText
227
227
  }
228
228
  )
229
229
  ] }),
@@ -310,7 +310,7 @@ const ChatWindow = ({
310
310
  type: "submit",
311
311
  onClick: () => {
312
312
  endChat();
313
- displayThankYouScreen();
313
+ setChatStatus("ending");
314
314
  setShowEndChatDialog(false);
315
315
  },
316
316
  children: "Yes, End Chat"
@@ -333,6 +333,45 @@ const ChatWindow = ({
333
333
  " "
334
334
  ] }) })
335
335
  ] }),
336
+ chatStatus == "ending" && /* @__PURE__ */ jsxs("div", { children: [
337
+ /* @__PURE__ */ jsx(
338
+ "div",
339
+ {
340
+ style: {
341
+ background: "#00000080",
342
+ position: "fixed",
343
+ top: 0,
344
+ left: 0,
345
+ right: 0,
346
+ bottom: 0,
347
+ zIndex: 999
348
+ }
349
+ }
350
+ ),
351
+ /* @__PURE__ */ jsx(
352
+ "div",
353
+ {
354
+ style: {
355
+ position: "fixed",
356
+ top: 0,
357
+ left: 0,
358
+ right: 0,
359
+ bottom: 0,
360
+ zIndex: 1e3,
361
+ display: "flex",
362
+ justifyContent: "center",
363
+ alignItems: "center"
364
+ },
365
+ children: /* @__PURE__ */ jsx(
366
+ LoadingIndicator,
367
+ {
368
+ variant: "primary",
369
+ style: { borderTopColor: vars.chatbot.bubble.glowShadow }
370
+ }
371
+ )
372
+ }
373
+ )
374
+ ] }),
336
375
  /* @__PURE__ */ jsx(
337
376
  ThankYouMessage,
338
377
  {
@@ -436,7 +475,7 @@ const ChatWindow = ({
436
475
  fontSize: 14,
437
476
  display: "flex",
438
477
  flexDirection: "column",
439
- gap: 4
478
+ gap: 16
440
479
  },
441
480
  children: /* @__PURE__ */ jsx("p", { className: shimmerText, children: "Chat connecting..." })
442
481
  }
@@ -476,71 +515,91 @@ const ChatWindow = ({
476
515
  ),
477
516
  /* @__PURE__ */ jsx("div", { ref: messagesEndRef })
478
517
  ] }),
479
- /* @__PURE__ */ jsx("div", { style: { padding: "16px 16px 24px 16px" }, children: /* @__PURE__ */ jsx("form", { onSubmit: handleSend, className: clsx(gradientFocus), children: /* @__PURE__ */ jsxs(
480
- "div",
481
- {
482
- style: {
483
- display: "flex",
484
- padding: "12px 16px",
485
- background: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected ? "light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3))" : "#ffffff",
486
- borderRadius: 12
487
- },
488
- children: [
489
- /* @__PURE__ */ jsx(
490
- "textarea",
491
- {
492
- ref: inputRef,
493
- value: input,
494
- onChange: (e) => setInput(e.target.value),
495
- onKeyDown: (e) => {
496
- if (hasEscalated) {
497
- previewTyping(e.target?.value);
498
- }
499
- if (e.key === "Enter" && !e.shiftKey) {
500
- handleSend(e);
501
- }
502
- },
503
- placeholder: "Ask anything...",
504
- className: clsx(inputStyle, autoResize),
505
- autoFocus: true,
506
- disabled: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected,
507
- rows: 1
508
- }
518
+ /* @__PURE__ */ jsx("div", { style: { padding: "16px 16px 24px 16px" }, children: /* @__PURE__ */ jsxs("form", { onSubmit: handleSend, className: clsx(gradientFocus), children: [
519
+ /* @__PURE__ */ jsx(
520
+ "div",
521
+ {
522
+ className: clsx(
523
+ focused && !inputDisabled && !isBlockedInput ? focusAnimation : ""
509
524
  ),
510
- /* @__PURE__ */ jsx(
511
- "button",
512
- {
513
- className: clsx(
514
- sendButtonStyle,
515
- input.trim().length > 0 && "active"
516
- ),
517
- type: "submit",
518
- title: "Send message",
519
- disabled: isBlockedInput || inputDisabled || status !== "connected" || !input.trim() || messages.length == 0 || escalationDeflected,
520
- children: /* @__PURE__ */ jsx(
521
- "svg",
522
- {
523
- xmlns: "http://www.w3.org/2000/svg",
524
- width: "16",
525
- height: "16",
526
- viewBox: "0 0 16 16",
527
- fill: "none",
528
- children: /* @__PURE__ */ jsx(
529
- "path",
530
- {
531
- fillRule: "evenodd",
532
- clipRule: "evenodd",
533
- 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",
534
- fill: "#435164"
535
- }
536
- )
537
- }
538
- )
539
- }
540
- )
541
- ]
542
- }
543
- ) }) })
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
+ }
567
+ ),
568
+ /* @__PURE__ */ jsx(
569
+ "button",
570
+ {
571
+ className: clsx(
572
+ sendButtonStyle,
573
+ input.trim().length > 0 && "active"
574
+ ),
575
+ type: "submit",
576
+ title: "Send message",
577
+ disabled: isBlockedInput || inputDisabled || status !== "connected" || !input.trim() || messages.length == 0 || escalationDeflected,
578
+ children: /* @__PURE__ */ jsx(
579
+ "svg",
580
+ {
581
+ xmlns: "http://www.w3.org/2000/svg",
582
+ width: "20",
583
+ height: "20",
584
+ viewBox: "0 0 16 16",
585
+ fill: "none",
586
+ children: /* @__PURE__ */ jsx(
587
+ "path",
588
+ {
589
+ fillRule: "evenodd",
590
+ clipRule: "evenodd",
591
+ 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",
592
+ fill: "#435164"
593
+ }
594
+ )
595
+ }
596
+ )
597
+ }
598
+ )
599
+ ]
600
+ }
601
+ )
602
+ ] }) })
544
603
  ]
545
604
  }
546
605
  );
@@ -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-runtime").JSX.Element;
20
+ }) => false | import("react").JSX.Element;
21
21
  export {};
@@ -1,2 +1,2 @@
1
- declare const EllipsisLoader: () => import("react/jsx-runtime").JSX.Element;
1
+ declare const EllipsisLoader: () => import("react").JSX.Element;
2
2
  export default EllipsisLoader;
@@ -1,4 +1,4 @@
1
1
  export declare const EllipsisIcon: ({ size, color }: {
2
2
  size?: number | undefined;
3
3
  color?: string | undefined;
4
- }) => import("react/jsx-runtime").JSX.Element;
4
+ }) => import("react").JSX.Element;
@@ -4,7 +4,7 @@ import { borderHoverGradient, bubbleButton, bubbleText, bubbleWrapper, inner, sv
4
4
  import { Chatbot, audioManager } from "./Chatbot.js";
5
5
  import { chatbotAXB, chatbotUFB } from "./Chatbot.css.js";
6
6
  import { ChatWindow } from "./ChatWindow.js";
7
- import { agent_msg, arrowFill, autoResize, button_bar, button_reset, buttonss_section, chatEndCircle, chatEndDialogOverlay, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, expandToggleStyle, inline_button, inline_button_wrapper, inputStyle, left_bar_section, messageStyle, messagesContainerStyle, noAnswerButton, notificationStyle, sendButtonStyle, shimmerText, thankyou_image, thankyou_message, thankyou_overlay, user_msg, windowBarStyle, windowExpandedStyle, windowOpenStyle, windowStyle } from "./ChatWindow.css.js";
7
+ import { agent_msg, arrowFill, autoResize, button_bar, button_reset, buttonss_section, chatAiDisclaimer, chatEndCircle, chatEndDialogOverlay, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, expandToggleStyle, formTextButton, inline_button, inline_button_wrapper, inputStyle, left_bar_section, messageStyle, messagesContainerStyle, noAnswerButton, notificationStyle, sendButtonStyle, shimmerText, tableCell, tableHead, tableMsg, thankyou_image, thankyou_message, thankyou_overlay, trMortgageTable, user_msg, windowBarStyle, windowExpandedStyle, windowOpenStyle, windowStyle } from "./ChatWindow.css.js";
8
8
  import { useOpenChat } from "./store/chat.js";
9
9
  import { useMessages } from "./store/messages.js";
10
10
  export {
@@ -22,6 +22,7 @@ export {
22
22
  button_bar,
23
23
  button_reset,
24
24
  buttonss_section,
25
+ chatAiDisclaimer,
25
26
  chatEndCircle,
26
27
  chatEndDialogOverlay,
27
28
  chatFinishDialog,
@@ -33,6 +34,7 @@ export {
33
34
  chatbotUFB,
34
35
  endChatButtonStyle,
35
36
  expandToggleStyle,
37
+ formTextButton,
36
38
  inline_button,
37
39
  inline_button_wrapper,
38
40
  inner,
@@ -45,9 +47,13 @@ export {
45
47
  sendButtonStyle,
46
48
  shimmerText,
47
49
  svgFill,
50
+ tableCell,
51
+ tableHead,
52
+ tableMsg,
48
53
  thankyou_image,
49
54
  thankyou_message,
50
55
  thankyou_overlay,
56
+ trMortgageTable,
51
57
  useMessages,
52
58
  useOpenChat,
53
59
  user_msg,
@@ -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-runtime").JSX.Element;
3
+ export declare const Comparison: ({ id, variant: fullVariant, headline, description, bullets, callToActionRow, keyFeature, keyFeatureDescription, highlightedFeature, index, toggleState, table, }: ComparisonProps) => import("react").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-runtime").JSX.Element;
3
+ export declare const ComparisonSet: ({ headline, variant, id, additionalDetails, icon, eyebrow, bodyCopy, comparisonElements, }: ComparisonSetProps) => import("react").JSX.Element;