@envive-ai/react-toolkit-v3 0.3.28 → 0.3.29
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/AnimatedText/AnimatedText.d.ts +3 -3
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +8 -8
- package/dist/Container/Container.d.ts +8 -8
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -2
- package/dist/FullPageSalesAgent/components/Layout.cjs +24 -27
- package/dist/FullPageSalesAgent/components/Layout.js +24 -27
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.cjs +27 -17
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.js +27 -17
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +4 -4
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +6 -6
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/Typography/Typography.d.cts +4 -4
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +1 -2
- package/src/components/FullPageSalesAgent/components/Layout.tsx +4 -1
- package/src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx +30 -17
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AnimatedTextProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react181 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AnimatedText/AnimatedText.d.ts
|
|
5
|
-
declare const AnimatedText:
|
|
5
|
+
declare const AnimatedText: react181.MemoExoticComponent<({
|
|
6
6
|
sequence,
|
|
7
7
|
typingDuration,
|
|
8
8
|
transition,
|
|
9
9
|
loop,
|
|
10
10
|
getNodeWrapper
|
|
11
|
-
}: AnimatedTextProps) =>
|
|
11
|
+
}: AnimatedTextProps) => react181.ReactNode>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { AnimatedText };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/CSSVariablesEditor/CssVariablesEditorComponent.d.ts
|
|
4
4
|
declare const CssVariablesEditorComponent: ({
|
|
5
5
|
selectedMerchantName
|
|
6
6
|
}: {
|
|
7
7
|
selectedMerchantName: string;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => react_jsx_runtime36.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CssVariablesEditorComponent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/CSSVariablesEditor/CssVariablesEditorComponent.d.ts
|
|
4
4
|
declare const CssVariablesEditorComponent: ({
|
|
5
5
|
selectedMerchantName
|
|
6
6
|
}: {
|
|
7
7
|
selectedMerchantName: string;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => react_jsx_runtime21.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CssVariablesEditorComponent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CarouselProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Carousel/Carousel.d.ts
|
|
5
5
|
declare const Carousel: ({
|
|
@@ -12,6 +12,6 @@ declare const Carousel: ({
|
|
|
12
12
|
badgeContent,
|
|
13
13
|
theme,
|
|
14
14
|
hideNavigation
|
|
15
|
-
}: CarouselProps) =>
|
|
15
|
+
}: CarouselProps) => react_jsx_runtime24.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Carousel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatFooterProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatFooter/ChatFooter.d.ts
|
|
5
5
|
declare const ChatFooter: ({
|
|
@@ -24,6 +24,6 @@ declare const ChatFooter: ({
|
|
|
24
24
|
voiceInputEnabled,
|
|
25
25
|
onTranscriptionStarted,
|
|
26
26
|
onTranscriptionCompleted
|
|
27
|
-
}: ChatFooterProps) =>
|
|
27
|
+
}: ChatFooterProps) => react_jsx_runtime27.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ChatFooter };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LayoutProps } from "./Layout.js";
|
|
2
2
|
import { PromptSuggestionsProps } from "./PromptSuggestions.js";
|
|
3
3
|
import { TextFieldProps } from "../../TextField/types/index.js";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as react7 from "react";
|
|
5
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/ChatFooter/components/index.d.ts
|
|
8
8
|
declare const ChatFooterComponents: {
|
|
@@ -18,13 +18,13 @@ declare const ChatFooterComponents: {
|
|
|
18
18
|
testId,
|
|
19
19
|
className,
|
|
20
20
|
style
|
|
21
|
-
}: LayoutProps) =>
|
|
21
|
+
}: LayoutProps) => react_jsx_runtime25.JSX.Element;
|
|
22
22
|
EnviveLogo: ({
|
|
23
23
|
style
|
|
24
24
|
}: {
|
|
25
25
|
className?: string;
|
|
26
26
|
style?: React.CSSProperties;
|
|
27
|
-
}) =>
|
|
27
|
+
}) => react7.ReactElement<react7.SVGProps<SVGSVGElement>, string | react7.JSXElementConstructor<any>>;
|
|
28
28
|
PromptSuggestions: ({
|
|
29
29
|
theme,
|
|
30
30
|
suggestions,
|
|
@@ -33,7 +33,7 @@ declare const ChatFooterComponents: {
|
|
|
33
33
|
style,
|
|
34
34
|
disabled,
|
|
35
35
|
parentWidget
|
|
36
|
-
}: PromptSuggestionsProps) =>
|
|
36
|
+
}: PromptSuggestionsProps) => react_jsx_runtime25.JSX.Element;
|
|
37
37
|
TextField: ({
|
|
38
38
|
theme,
|
|
39
39
|
placeholder,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatHeaderProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatHeader/ChatHeader.d.ts
|
|
5
5
|
declare const ChatHeader: ({
|
|
@@ -21,6 +21,6 @@ declare const ChatHeader: ({
|
|
|
21
21
|
headerBgColor,
|
|
22
22
|
onClose,
|
|
23
23
|
onToggle
|
|
24
|
-
}: ChatHeaderProps) =>
|
|
24
|
+
}: ChatHeaderProps) => react_jsx_runtime35.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ChatHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatHeaderProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatHeader/ChatHeader.d.ts
|
|
5
5
|
declare const ChatHeader: ({
|
|
@@ -21,6 +21,6 @@ declare const ChatHeader: ({
|
|
|
21
21
|
headerBgColor,
|
|
22
22
|
onClose,
|
|
23
23
|
onToggle
|
|
24
|
-
}: ChatHeaderProps) =>
|
|
24
|
+
}: ChatHeaderProps) => react_jsx_runtime15.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ChatHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatPreviewProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatPreview/ChatPreview.d.ts
|
|
5
5
|
declare const ChatPreview: ({
|
|
@@ -7,6 +7,6 @@ declare const ChatPreview: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: ChatPreviewProps) =>
|
|
10
|
+
}: ChatPreviewProps) => react_jsx_runtime34.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ChatPreview };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatPreviewProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatPreview/ChatPreview.d.ts
|
|
5
5
|
declare const ChatPreview: ({
|
|
@@ -7,6 +7,6 @@ declare const ChatPreview: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: ChatPreviewProps) =>
|
|
10
|
+
}: ChatPreviewProps) => react_jsx_runtime23.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ChatPreview };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatPreviewComparisonProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatPreviewComparison/ChatPreviewComparison.d.ts
|
|
5
5
|
declare const ChatPreviewComparison: ({
|
|
@@ -7,6 +7,6 @@ declare const ChatPreviewComparison: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: ChatPreviewComparisonProps) =>
|
|
10
|
+
}: ChatPreviewComparisonProps) => react_jsx_runtime29.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ChatPreviewComparison };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatPreviewLoadingProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatPreviewLoading/ChatPreviewLoading.d.ts
|
|
5
5
|
declare const ChatPreviewLoading: ({
|
|
@@ -16,6 +16,6 @@ declare const ChatPreviewLoading: ({
|
|
|
16
16
|
logoSrc,
|
|
17
17
|
titleLabel,
|
|
18
18
|
voiceInputEnabled
|
|
19
|
-
}: ChatPreviewLoadingProps) =>
|
|
19
|
+
}: ChatPreviewLoadingProps) => react_jsx_runtime28.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ChatPreviewLoading };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatPreviewLoadingProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ChatPreviewLoading/ChatPreviewLoading.d.ts
|
|
5
5
|
declare const ChatPreviewLoading: ({
|
|
@@ -16,6 +16,6 @@ declare const ChatPreviewLoading: ({
|
|
|
16
16
|
logoSrc,
|
|
17
17
|
titleLabel,
|
|
18
18
|
voiceInputEnabled
|
|
19
|
-
}: ChatPreviewLoadingProps) =>
|
|
19
|
+
}: ChatPreviewLoadingProps) => react_jsx_runtime28.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ChatPreviewLoading };
|
|
@@ -18,17 +18,14 @@ declare const Container: ({
|
|
|
18
18
|
centerContent,
|
|
19
19
|
...props
|
|
20
20
|
}: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react10.DetailedReactHTMLElement<{
|
|
21
|
-
|
|
21
|
+
color?: string | undefined;
|
|
22
|
+
onChange?: react10.FormEventHandler<HTMLElement>;
|
|
23
|
+
onSubmit?: react10.FormEventHandler<HTMLElement>;
|
|
22
24
|
onFocus?: react10.FocusEventHandler<HTMLElement>;
|
|
23
|
-
onMouseDown?: react10.MouseEventHandler<HTMLElement>;
|
|
24
|
-
onMouseUp?: react10.MouseEventHandler<HTMLElement>;
|
|
25
|
-
onTouchStart?: react10.TouchEventHandler<HTMLElement>;
|
|
26
|
-
onTouchEnd?: react10.TouchEventHandler<HTMLElement>;
|
|
27
25
|
onToggle?: react10.ToggleEventHandler<HTMLElement>;
|
|
28
26
|
slot?: string | undefined;
|
|
29
27
|
title?: string | undefined;
|
|
30
28
|
suppressHydrationWarning?: boolean | undefined;
|
|
31
|
-
color?: string | undefined;
|
|
32
29
|
lang?: string | undefined;
|
|
33
30
|
role?: react10.AriaRole | undefined;
|
|
34
31
|
tabIndex?: number | undefined;
|
|
@@ -103,7 +100,6 @@ declare const Container: ({
|
|
|
103
100
|
onFocusCapture?: react10.FocusEventHandler<HTMLElement>;
|
|
104
101
|
onBlur?: react10.FocusEventHandler<HTMLElement>;
|
|
105
102
|
onBlurCapture?: react10.FocusEventHandler<HTMLElement>;
|
|
106
|
-
onChange?: react10.FormEventHandler<HTMLElement>;
|
|
107
103
|
onChangeCapture?: react10.FormEventHandler<HTMLElement>;
|
|
108
104
|
onBeforeInput?: react10.InputEventHandler<HTMLElement>;
|
|
109
105
|
onBeforeInputCapture?: react10.FormEventHandler<HTMLElement>;
|
|
@@ -111,7 +107,6 @@ declare const Container: ({
|
|
|
111
107
|
onInputCapture?: react10.FormEventHandler<HTMLElement>;
|
|
112
108
|
onReset?: react10.FormEventHandler<HTMLElement>;
|
|
113
109
|
onResetCapture?: react10.FormEventHandler<HTMLElement>;
|
|
114
|
-
onSubmit?: react10.FormEventHandler<HTMLElement>;
|
|
115
110
|
onSubmitCapture?: react10.FormEventHandler<HTMLElement>;
|
|
116
111
|
onInvalid?: react10.FormEventHandler<HTMLElement>;
|
|
117
112
|
onInvalidCapture?: react10.FormEventHandler<HTMLElement>;
|
|
@@ -171,6 +166,7 @@ declare const Container: ({
|
|
|
171
166
|
onWaitingCapture?: react10.ReactEventHandler<HTMLElement>;
|
|
172
167
|
onAuxClick?: react10.MouseEventHandler<HTMLElement>;
|
|
173
168
|
onAuxClickCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
169
|
+
onClick?: react10.MouseEventHandler<HTMLElement>;
|
|
174
170
|
onClickCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
175
171
|
onContextMenu?: react10.MouseEventHandler<HTMLElement>;
|
|
176
172
|
onContextMenuCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
@@ -192,6 +188,7 @@ declare const Container: ({
|
|
|
192
188
|
onDragStartCapture?: react10.DragEventHandler<HTMLElement>;
|
|
193
189
|
onDrop?: react10.DragEventHandler<HTMLElement>;
|
|
194
190
|
onDropCapture?: react10.DragEventHandler<HTMLElement>;
|
|
191
|
+
onMouseDown?: react10.MouseEventHandler<HTMLElement>;
|
|
195
192
|
onMouseDownCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
196
193
|
onMouseEnter?: react10.MouseEventHandler<HTMLElement>;
|
|
197
194
|
onMouseLeave?: react10.MouseEventHandler<HTMLElement>;
|
|
@@ -201,14 +198,17 @@ declare const Container: ({
|
|
|
201
198
|
onMouseOutCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
202
199
|
onMouseOver?: react10.MouseEventHandler<HTMLElement>;
|
|
203
200
|
onMouseOverCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
201
|
+
onMouseUp?: react10.MouseEventHandler<HTMLElement>;
|
|
204
202
|
onMouseUpCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
205
203
|
onSelect?: react10.ReactEventHandler<HTMLElement>;
|
|
206
204
|
onSelectCapture?: react10.ReactEventHandler<HTMLElement>;
|
|
207
205
|
onTouchCancel?: react10.TouchEventHandler<HTMLElement>;
|
|
208
206
|
onTouchCancelCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
207
|
+
onTouchEnd?: react10.TouchEventHandler<HTMLElement>;
|
|
209
208
|
onTouchEndCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
210
209
|
onTouchMove?: react10.TouchEventHandler<HTMLElement>;
|
|
211
210
|
onTouchMoveCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
211
|
+
onTouchStart?: react10.TouchEventHandler<HTMLElement>;
|
|
212
212
|
onTouchStartCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
213
213
|
onPointerDown?: react10.PointerEventHandler<HTMLElement>;
|
|
214
214
|
onPointerDownCapture?: react10.PointerEventHandler<HTMLElement>;
|
|
@@ -18,17 +18,14 @@ declare const Container: ({
|
|
|
18
18
|
centerContent,
|
|
19
19
|
...props
|
|
20
20
|
}: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react10.DetailedReactHTMLElement<{
|
|
21
|
-
|
|
21
|
+
color?: string | undefined;
|
|
22
|
+
onChange?: react10.FormEventHandler<HTMLElement>;
|
|
23
|
+
onSubmit?: react10.FormEventHandler<HTMLElement>;
|
|
22
24
|
onFocus?: react10.FocusEventHandler<HTMLElement>;
|
|
23
|
-
onMouseDown?: react10.MouseEventHandler<HTMLElement>;
|
|
24
|
-
onMouseUp?: react10.MouseEventHandler<HTMLElement>;
|
|
25
|
-
onTouchStart?: react10.TouchEventHandler<HTMLElement>;
|
|
26
|
-
onTouchEnd?: react10.TouchEventHandler<HTMLElement>;
|
|
27
25
|
onToggle?: react10.ToggleEventHandler<HTMLElement>;
|
|
28
26
|
slot?: string | undefined;
|
|
29
27
|
title?: string | undefined;
|
|
30
28
|
suppressHydrationWarning?: boolean | undefined;
|
|
31
|
-
color?: string | undefined;
|
|
32
29
|
lang?: string | undefined;
|
|
33
30
|
role?: react10.AriaRole | undefined;
|
|
34
31
|
tabIndex?: number | undefined;
|
|
@@ -103,7 +100,6 @@ declare const Container: ({
|
|
|
103
100
|
onFocusCapture?: react10.FocusEventHandler<HTMLElement>;
|
|
104
101
|
onBlur?: react10.FocusEventHandler<HTMLElement>;
|
|
105
102
|
onBlurCapture?: react10.FocusEventHandler<HTMLElement>;
|
|
106
|
-
onChange?: react10.FormEventHandler<HTMLElement>;
|
|
107
103
|
onChangeCapture?: react10.FormEventHandler<HTMLElement>;
|
|
108
104
|
onBeforeInput?: react10.InputEventHandler<HTMLElement>;
|
|
109
105
|
onBeforeInputCapture?: react10.FormEventHandler<HTMLElement>;
|
|
@@ -111,7 +107,6 @@ declare const Container: ({
|
|
|
111
107
|
onInputCapture?: react10.FormEventHandler<HTMLElement>;
|
|
112
108
|
onReset?: react10.FormEventHandler<HTMLElement>;
|
|
113
109
|
onResetCapture?: react10.FormEventHandler<HTMLElement>;
|
|
114
|
-
onSubmit?: react10.FormEventHandler<HTMLElement>;
|
|
115
110
|
onSubmitCapture?: react10.FormEventHandler<HTMLElement>;
|
|
116
111
|
onInvalid?: react10.FormEventHandler<HTMLElement>;
|
|
117
112
|
onInvalidCapture?: react10.FormEventHandler<HTMLElement>;
|
|
@@ -171,6 +166,7 @@ declare const Container: ({
|
|
|
171
166
|
onWaitingCapture?: react10.ReactEventHandler<HTMLElement>;
|
|
172
167
|
onAuxClick?: react10.MouseEventHandler<HTMLElement>;
|
|
173
168
|
onAuxClickCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
169
|
+
onClick?: react10.MouseEventHandler<HTMLElement>;
|
|
174
170
|
onClickCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
175
171
|
onContextMenu?: react10.MouseEventHandler<HTMLElement>;
|
|
176
172
|
onContextMenuCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
@@ -192,6 +188,7 @@ declare const Container: ({
|
|
|
192
188
|
onDragStartCapture?: react10.DragEventHandler<HTMLElement>;
|
|
193
189
|
onDrop?: react10.DragEventHandler<HTMLElement>;
|
|
194
190
|
onDropCapture?: react10.DragEventHandler<HTMLElement>;
|
|
191
|
+
onMouseDown?: react10.MouseEventHandler<HTMLElement>;
|
|
195
192
|
onMouseDownCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
196
193
|
onMouseEnter?: react10.MouseEventHandler<HTMLElement>;
|
|
197
194
|
onMouseLeave?: react10.MouseEventHandler<HTMLElement>;
|
|
@@ -201,14 +198,17 @@ declare const Container: ({
|
|
|
201
198
|
onMouseOutCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
202
199
|
onMouseOver?: react10.MouseEventHandler<HTMLElement>;
|
|
203
200
|
onMouseOverCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
201
|
+
onMouseUp?: react10.MouseEventHandler<HTMLElement>;
|
|
204
202
|
onMouseUpCapture?: react10.MouseEventHandler<HTMLElement>;
|
|
205
203
|
onSelect?: react10.ReactEventHandler<HTMLElement>;
|
|
206
204
|
onSelectCapture?: react10.ReactEventHandler<HTMLElement>;
|
|
207
205
|
onTouchCancel?: react10.TouchEventHandler<HTMLElement>;
|
|
208
206
|
onTouchCancelCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
207
|
+
onTouchEnd?: react10.TouchEventHandler<HTMLElement>;
|
|
209
208
|
onTouchEndCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
210
209
|
onTouchMove?: react10.TouchEventHandler<HTMLElement>;
|
|
211
210
|
onTouchMoveCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
211
|
+
onTouchStart?: react10.TouchEventHandler<HTMLElement>;
|
|
212
212
|
onTouchStartCapture?: react10.TouchEventHandler<HTMLElement>;
|
|
213
213
|
onPointerDown?: react10.PointerEventHandler<HTMLElement>;
|
|
214
214
|
onPointerDownCapture?: react10.PointerEventHandler<HTMLElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
import { Config } from "tailwindcss";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DesignTokens/DesignTokensComponent.d.ts
|
|
@@ -9,6 +9,6 @@ type DesignTokensProps = {
|
|
|
9
9
|
declare const DesignTokens: ({
|
|
10
10
|
selectedMerchant,
|
|
11
11
|
config
|
|
12
|
-
}: DesignTokensProps) =>
|
|
12
|
+
}: DesignTokensProps) => react_jsx_runtime27.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DesignTokens, DesignTokensProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
2
|
import { Config } from "tailwindcss";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DesignTokens/DesignTokensComponent.d.ts
|
|
@@ -9,6 +9,6 @@ type DesignTokensProps = {
|
|
|
9
9
|
declare const DesignTokens: ({
|
|
10
10
|
selectedMerchant,
|
|
11
11
|
config
|
|
12
|
-
}: DesignTokensProps) =>
|
|
12
|
+
}: DesignTokensProps) => react_jsx_runtime30.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DesignTokens, DesignTokensProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentRetrievalCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DocumentRetrievalCard/DocumentRetrievalCard.d.ts
|
|
5
5
|
declare const DocumentRetrievalCard: ({
|
|
@@ -16,6 +16,6 @@ declare const DocumentRetrievalCard: ({
|
|
|
16
16
|
onViewArticle,
|
|
17
17
|
ariaLabel,
|
|
18
18
|
viewArticleLabel
|
|
19
|
-
}: DocumentRetrievalCardProps) =>
|
|
19
|
+
}: DocumentRetrievalCardProps) => react_jsx_runtime22.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DocumentRetrievalCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentRetrievalCardProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DocumentRetrievalCard/DocumentRetrievalCard.d.ts
|
|
5
5
|
declare const DocumentRetrievalCard: ({
|
|
@@ -16,6 +16,6 @@ declare const DocumentRetrievalCard: ({
|
|
|
16
16
|
onViewArticle,
|
|
17
17
|
ariaLabel,
|
|
18
18
|
viewArticleLabel
|
|
19
|
-
}: DocumentRetrievalCardProps) =>
|
|
19
|
+
}: DocumentRetrievalCardProps) => react_jsx_runtime17.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DocumentRetrievalCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingButtonProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingButton/FloatingButton.d.ts
|
|
5
5
|
declare const FloatingButton: ({
|
|
@@ -18,6 +18,6 @@ declare const FloatingButton: ({
|
|
|
18
18
|
onMouseOver,
|
|
19
19
|
ariaLabel,
|
|
20
20
|
previewMode
|
|
21
|
-
}: FloatingButtonProps) =>
|
|
21
|
+
}: FloatingButtonProps) => react_jsx_runtime26.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { FloatingButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingButtonProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingButton/FloatingButton.d.ts
|
|
5
5
|
declare const FloatingButton: ({
|
|
@@ -18,6 +18,6 @@ declare const FloatingButton: ({
|
|
|
18
18
|
onMouseOver,
|
|
19
19
|
ariaLabel,
|
|
20
20
|
previewMode
|
|
21
|
-
}: FloatingButtonProps) =>
|
|
21
|
+
}: FloatingButtonProps) => react_jsx_runtime22.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { FloatingButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingChatProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingChat/FloatingChat.d.ts
|
|
5
5
|
declare const FloatingChat: ({
|
|
@@ -19,6 +19,6 @@ declare const FloatingChat: ({
|
|
|
19
19
|
onSwipeClose,
|
|
20
20
|
onToggleCXButton,
|
|
21
21
|
setIsResultsModalOpen
|
|
22
|
-
}: FloatingChatProps) =>
|
|
22
|
+
}: FloatingChatProps) => react_jsx_runtime25.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FloatingChat };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingChatProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingChat/FloatingChat.d.ts
|
|
5
5
|
declare const FloatingChat: ({
|
|
@@ -19,6 +19,6 @@ declare const FloatingChat: ({
|
|
|
19
19
|
onSwipeClose,
|
|
20
20
|
onToggleCXButton,
|
|
21
21
|
setIsResultsModalOpen
|
|
22
|
-
}: FloatingChatProps) =>
|
|
22
|
+
}: FloatingChatProps) => react_jsx_runtime18.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FloatingChat };
|
|
@@ -294,8 +294,7 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
|
|
|
294
294
|
headerContainer,
|
|
295
295
|
autoHeight,
|
|
296
296
|
scrollContainerRef,
|
|
297
|
-
|
|
298
|
-
overlay: overlayEnabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WelcomeOverlay.WelcomeOverlay, {
|
|
297
|
+
overlay: overlayEnabled && showOverlay ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WelcomeOverlay.WelcomeOverlay, {
|
|
299
298
|
show: showOverlay,
|
|
300
299
|
theme: resolvedTheme,
|
|
301
300
|
suggestionButtonType,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../tokens/theme/theme.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
import { FloatingChatConfig, FullPageSalesAgentWidgetV3Config, LookAndFeelConfig } from "@envive-ai/react-hooks/contexts/typesV3";
|
|
4
4
|
import { HardcopyResponse } from "@envive-ai/react-hooks/contexts/hardcopyContext";
|
|
5
5
|
|
|
@@ -19,6 +19,6 @@ declare const FullPageSalesAgent: ({
|
|
|
19
19
|
widgetConfig,
|
|
20
20
|
hardcopyContent,
|
|
21
21
|
voiceInputEnabled
|
|
22
|
-
}: FullPageSalesAgentProps) =>
|
|
22
|
+
}: FullPageSalesAgentProps) => react_jsx_runtime21.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FullPageSalesAgent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
import { FloatingChatConfig, FullPageSalesAgentWidgetV3Config, LookAndFeelConfig } from "@envive-ai/react-hooks/contexts/typesV3";
|
|
4
4
|
import { HardcopyResponse } from "@envive-ai/react-hooks/contexts/hardcopyContext";
|
|
5
5
|
|
|
@@ -19,6 +19,6 @@ declare const FullPageSalesAgent: ({
|
|
|
19
19
|
widgetConfig,
|
|
20
20
|
hardcopyContent,
|
|
21
21
|
voiceInputEnabled
|
|
22
|
-
}: FullPageSalesAgentProps) =>
|
|
22
|
+
}: FullPageSalesAgentProps) => react_jsx_runtime14.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FullPageSalesAgent };
|
|
@@ -293,8 +293,7 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
|
|
|
293
293
|
headerContainer,
|
|
294
294
|
autoHeight,
|
|
295
295
|
scrollContainerRef,
|
|
296
|
-
|
|
297
|
-
overlay: overlayEnabled ? /* @__PURE__ */ jsx(WelcomeOverlay, {
|
|
296
|
+
overlay: overlayEnabled && showOverlay ? /* @__PURE__ */ jsx(WelcomeOverlay, {
|
|
298
297
|
show: showOverlay,
|
|
299
298
|
theme: resolvedTheme,
|
|
300
299
|
suggestionButtonType,
|
|
@@ -22,39 +22,36 @@ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions
|
|
|
22
22
|
headerContainer,
|
|
23
23
|
autoHeight
|
|
24
24
|
});
|
|
25
|
+
if (overlay) return overlay;
|
|
25
26
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26
27
|
className: (0, classnames.default)(containerClasses, "envive-tw-relative"),
|
|
27
28
|
style: {
|
|
28
29
|
...containerStyles,
|
|
29
30
|
...backgroundStyle
|
|
30
31
|
},
|
|
31
|
-
children: [
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
47
|
-
className:
|
|
48
|
-
children:
|
|
49
|
-
className: "envive-tw-
|
|
50
|
-
children:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}), footer]
|
|
55
|
-
}),
|
|
56
|
-
overlay
|
|
57
|
-
]
|
|
32
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
33
|
+
ref: scrollContainerRef,
|
|
34
|
+
className: contentClasses,
|
|
35
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
36
|
+
direction: "column",
|
|
37
|
+
justify: "between",
|
|
38
|
+
children: [welcomeMessage, disclaimer]
|
|
39
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
40
|
+
direction: "column",
|
|
41
|
+
gap: "0",
|
|
42
|
+
className: (0, classnames.default)((!hasWelcomeMessage || hasWelcomeMessage && theme === require_theme.Theme.STANDARD) && !hasAnswerSuggestions && "envive-tw-pb-4", isMobile ? "envive-tw-pt-4" : "envive-tw-pt-6"),
|
|
43
|
+
children: [chatMessages, answerSuggestions]
|
|
44
|
+
})]
|
|
45
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
46
|
+
className: footerContainerClasses,
|
|
47
|
+
children: [scrollToBottomButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
48
|
+
className: "envive-tw-h-[0px]",
|
|
49
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
50
|
+
className: "envive-tw-ml-auto envive-tw-table envive-tw-translate-x-[-30px] envive-tw-translate-y-[-50px]",
|
|
51
|
+
children: scrollToBottomButton
|
|
52
|
+
})
|
|
53
|
+
}), footer]
|
|
54
|
+
})]
|
|
58
55
|
});
|
|
59
56
|
};
|
|
60
57
|
|