@envive-ai/react-toolkit-v3 0.3.42 → 0.3.44

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 (86) hide show
  1. package/dist/AnimatedText/AnimatedText.d.cts +3 -3
  2. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  3. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
  4. package/dist/Carousel/Carousel.d.cts +2 -2
  5. package/dist/Carousel/Carousel.d.ts +2 -2
  6. package/dist/Carousel/components/Container.cjs +1 -1
  7. package/dist/Carousel/components/Container.js +1 -1
  8. package/dist/Carousel/components/Item.cjs +4 -1
  9. package/dist/Carousel/components/Item.js +4 -1
  10. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  11. package/dist/ChatFooter/components/index.d.cts +5 -5
  12. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  13. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  14. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  15. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  16. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  17. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  18. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  19. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  20. package/dist/Container/Container.d.cts +223 -223
  21. package/dist/Container/Container.d.ts +56 -56
  22. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  23. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  24. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  25. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  26. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  27. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  28. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  29. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  30. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +25 -5
  31. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +5 -3
  32. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +5 -3
  33. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +26 -6
  34. package/dist/FullPageSalesAgent/components/Layout.cjs +15 -7
  35. package/dist/FullPageSalesAgent/components/Layout.js +15 -7
  36. package/dist/Image/Image.d.cts +2 -2
  37. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  38. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  39. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  40. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  41. package/dist/ProductCard/ProductCard.d.cts +2 -2
  42. package/dist/ProductCard/ProductCard.d.ts +2 -2
  43. package/dist/PromptButton/PromptButton.d.cts +2 -2
  44. package/dist/PromptButton/PromptButton.d.ts +2 -2
  45. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  46. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  47. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  48. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  49. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  50. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  51. package/dist/ReviewCard/components/index.d.cts +6 -6
  52. package/dist/ReviewCard/components/index.d.ts +6 -6
  53. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  54. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  55. package/dist/SalesAgentProductCard/components/Container.cjs +14 -10
  56. package/dist/SalesAgentProductCard/components/Container.js +14 -10
  57. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  58. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  59. package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.cjs +3 -0
  60. package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.js +3 -0
  61. package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.cjs +3 -3
  62. package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.js +3 -3
  63. package/dist/SocialProof/SocialProof.d.cts +2 -2
  64. package/dist/SocialProof/SocialProof.d.ts +2 -2
  65. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  66. package/dist/Stack/Stack.d.cts +2 -2
  67. package/dist/Stack/Stack.d.ts +2 -2
  68. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  69. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  70. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  71. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  72. package/dist/Typography/Typography.d.ts +4 -4
  73. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  74. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  75. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  76. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  77. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  78. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  79. package/package.json +1 -1
  80. package/src/components/Carousel/components/Container.tsx +1 -1
  81. package/src/components/Carousel/components/Item.tsx +1 -1
  82. package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +49 -5
  83. package/src/components/FullPageSalesAgent/components/Layout.tsx +7 -0
  84. package/src/components/SalesAgentProductCard/components/Container.tsx +15 -5
  85. package/src/components/SalesAgentProductCard/hooks/useGetContainerProperties.ts +11 -1
  86. package/src/components/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.ts +8 -4
@@ -18,59 +18,22 @@ declare const Container: ({
18
18
  centerContent,
19
19
  ...props
20
20
  }: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react10.DetailedReactHTMLElement<{
21
- onClick?: react10.MouseEventHandler<HTMLElement>;
22
- defaultChecked?: boolean | undefined;
23
- defaultValue?: string | number | readonly string[] | undefined;
24
- suppressContentEditableWarning?: boolean | undefined;
25
- suppressHydrationWarning?: boolean | undefined;
26
- accessKey?: string | undefined;
27
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
28
- autoFocus?: boolean | undefined;
29
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
30
- contextMenu?: string | undefined;
31
- dir?: string | undefined;
32
- draggable?: (boolean | "true" | "false") | undefined;
33
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
34
- hidden?: boolean | undefined;
35
- lang?: string | undefined;
36
- nonce?: string | undefined;
21
+ color?: string | undefined;
37
22
  slot?: string | undefined;
38
- spellCheck?: (boolean | "true" | "false") | undefined;
39
- tabIndex?: number | undefined;
40
23
  title?: string | undefined;
41
- translate?: "yes" | "no" | undefined;
42
- radioGroup?: string | undefined;
24
+ "aria-label"?: string | undefined;
25
+ onClick?: react10.MouseEventHandler<HTMLElement>;
26
+ "aria-labelledby"?: string | undefined;
27
+ "aria-describedby"?: string | undefined;
43
28
  role?: react10.AriaRole | undefined;
44
- about?: string | undefined;
45
29
  content?: string | undefined;
46
- datatype?: string | undefined;
47
- inlist?: any;
48
- prefix?: string | undefined;
49
- property?: string | undefined;
50
- rel?: string | undefined;
51
- resource?: string | undefined;
52
- rev?: string | undefined;
53
- typeof?: string | undefined;
54
- vocab?: string | undefined;
55
- autoCorrect?: string | undefined;
56
- autoSave?: string | undefined;
57
- color?: string | undefined;
58
- itemProp?: string | undefined;
59
- itemScope?: boolean | undefined;
60
- itemType?: string | undefined;
61
- itemID?: string | undefined;
62
- itemRef?: string | undefined;
63
- results?: number | undefined;
64
- security?: string | undefined;
65
- unselectable?: "on" | "off" | undefined;
66
- popover?: "" | "auto" | "manual" | "hint" | undefined;
67
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
68
- popoverTarget?: string | undefined;
69
- inert?: boolean | undefined;
70
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
71
- is?: string | undefined;
72
- exportparts?: string | undefined;
73
- part?: string | undefined;
30
+ onChange?: react10.FormEventHandler<HTMLElement>;
31
+ onSubmit?: react10.FormEventHandler<HTMLElement>;
32
+ onFocus?: react10.FocusEventHandler<HTMLElement>;
33
+ onToggle?: react10.ToggleEventHandler<HTMLElement>;
34
+ suppressHydrationWarning?: boolean | undefined;
35
+ lang?: string | undefined;
36
+ tabIndex?: number | undefined;
74
37
  "aria-activedescendant"?: string | undefined;
75
38
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
76
39
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -84,7 +47,6 @@ declare const Container: ({
84
47
  "aria-colspan"?: number | undefined;
85
48
  "aria-controls"?: string | undefined;
86
49
  "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
87
- "aria-describedby"?: string | undefined;
88
50
  "aria-description"?: string | undefined;
89
51
  "aria-details"?: string | undefined;
90
52
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -97,8 +59,6 @@ declare const Container: ({
97
59
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
98
60
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
99
61
  "aria-keyshortcuts"?: string | undefined;
100
- "aria-label"?: string | undefined;
101
- "aria-labelledby"?: string | undefined;
102
62
  "aria-level"?: number | undefined;
103
63
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
104
64
  "aria-modal"?: (boolean | "true" | "false") | undefined;
@@ -139,11 +99,9 @@ declare const Container: ({
139
99
  onCompositionStartCapture?: react10.CompositionEventHandler<HTMLElement>;
140
100
  onCompositionUpdate?: react10.CompositionEventHandler<HTMLElement>;
141
101
  onCompositionUpdateCapture?: react10.CompositionEventHandler<HTMLElement>;
142
- onFocus?: react10.FocusEventHandler<HTMLElement>;
143
102
  onFocusCapture?: react10.FocusEventHandler<HTMLElement>;
144
103
  onBlur?: react10.FocusEventHandler<HTMLElement>;
145
104
  onBlurCapture?: react10.FocusEventHandler<HTMLElement>;
146
- onChange?: react10.FormEventHandler<HTMLElement>;
147
105
  onChangeCapture?: react10.FormEventHandler<HTMLElement>;
148
106
  onBeforeInput?: react10.InputEventHandler<HTMLElement>;
149
107
  onBeforeInputCapture?: react10.FormEventHandler<HTMLElement>;
@@ -151,7 +109,6 @@ declare const Container: ({
151
109
  onInputCapture?: react10.FormEventHandler<HTMLElement>;
152
110
  onReset?: react10.FormEventHandler<HTMLElement>;
153
111
  onResetCapture?: react10.FormEventHandler<HTMLElement>;
154
- onSubmit?: react10.FormEventHandler<HTMLElement>;
155
112
  onSubmitCapture?: react10.FormEventHandler<HTMLElement>;
156
113
  onInvalid?: react10.FormEventHandler<HTMLElement>;
157
114
  onInvalidCapture?: react10.FormEventHandler<HTMLElement>;
@@ -284,7 +241,6 @@ declare const Container: ({
284
241
  onAnimationEndCapture?: react10.AnimationEventHandler<HTMLElement>;
285
242
  onAnimationIteration?: react10.AnimationEventHandler<HTMLElement>;
286
243
  onAnimationIterationCapture?: react10.AnimationEventHandler<HTMLElement>;
287
- onToggle?: react10.ToggleEventHandler<HTMLElement>;
288
244
  onBeforeToggle?: react10.ToggleEventHandler<HTMLElement>;
289
245
  onTransitionCancel?: react10.TransitionEventHandler<HTMLElement>;
290
246
  onTransitionCancelCapture?: react10.TransitionEventHandler<HTMLElement>;
@@ -294,6 +250,50 @@ declare const Container: ({
294
250
  onTransitionRunCapture?: react10.TransitionEventHandler<HTMLElement>;
295
251
  onTransitionStart?: react10.TransitionEventHandler<HTMLElement>;
296
252
  onTransitionStartCapture?: react10.TransitionEventHandler<HTMLElement>;
253
+ defaultChecked?: boolean | undefined;
254
+ defaultValue?: string | number | readonly string[] | undefined;
255
+ suppressContentEditableWarning?: boolean | undefined;
256
+ accessKey?: string | undefined;
257
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
258
+ autoFocus?: boolean | undefined;
259
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
260
+ contextMenu?: string | undefined;
261
+ dir?: string | undefined;
262
+ draggable?: (boolean | "true" | "false") | undefined;
263
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
264
+ hidden?: boolean | undefined;
265
+ nonce?: string | undefined;
266
+ spellCheck?: (boolean | "true" | "false") | undefined;
267
+ translate?: "yes" | "no" | undefined;
268
+ radioGroup?: string | undefined;
269
+ about?: string | undefined;
270
+ datatype?: string | undefined;
271
+ inlist?: any;
272
+ prefix?: string | undefined;
273
+ property?: string | undefined;
274
+ rel?: string | undefined;
275
+ resource?: string | undefined;
276
+ rev?: string | undefined;
277
+ typeof?: string | undefined;
278
+ vocab?: string | undefined;
279
+ autoCorrect?: string | undefined;
280
+ autoSave?: string | undefined;
281
+ itemProp?: string | undefined;
282
+ itemScope?: boolean | undefined;
283
+ itemType?: string | undefined;
284
+ itemID?: string | undefined;
285
+ itemRef?: string | undefined;
286
+ results?: number | undefined;
287
+ security?: string | undefined;
288
+ unselectable?: "on" | "off" | undefined;
289
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
290
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
291
+ popoverTarget?: string | undefined;
292
+ inert?: boolean | undefined;
293
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
294
+ is?: string | undefined;
295
+ exportparts?: string | undefined;
296
+ part?: string | undefined;
297
297
  className: string;
298
298
  style: react10.CSSProperties;
299
299
  id: string;
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime18 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 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) => react_jsx_runtime18.JSX.Element;
12
+ }: DesignTokensProps) => react_jsx_runtime14.JSX.Element;
13
13
  //#endregion
14
14
  export { DesignTokens, DesignTokensProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime31 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime21 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) => react_jsx_runtime31.JSX.Element;
12
+ }: DesignTokensProps) => react_jsx_runtime21.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 react_jsx_runtime30 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime11 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) => react_jsx_runtime30.JSX.Element;
19
+ }: DocumentRetrievalCardProps) => react_jsx_runtime11.JSX.Element;
20
20
  //#endregion
21
21
  export { DocumentRetrievalCard };
@@ -1,5 +1,5 @@
1
1
  import { DocumentRetrievalCardProps } from "./types/index.js";
2
- import * as react_jsx_runtime25 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime24 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) => react_jsx_runtime25.JSX.Element;
19
+ }: DocumentRetrievalCardProps) => react_jsx_runtime24.JSX.Element;
20
20
  //#endregion
21
21
  export { DocumentRetrievalCard };
@@ -1,5 +1,5 @@
1
1
  import { FloatingButtonProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime3 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FloatingButton/FloatingButton.d.ts
5
5
  declare const FloatingButton: ({
@@ -19,6 +19,6 @@ declare const FloatingButton: ({
19
19
  ariaLabel,
20
20
  previewMode,
21
21
  containerRef
22
- }: FloatingButtonProps) => react_jsx_runtime3.JSX.Element;
22
+ }: FloatingButtonProps) => react_jsx_runtime13.JSX.Element;
23
23
  //#endregion
24
24
  export { FloatingButton };
@@ -1,5 +1,5 @@
1
1
  import { FloatingButtonProps } from "./types/types.js";
2
- import * as react_jsx_runtime30 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FloatingButton/FloatingButton.d.ts
5
5
  declare const FloatingButton: ({
@@ -19,6 +19,6 @@ declare const FloatingButton: ({
19
19
  ariaLabel,
20
20
  previewMode,
21
21
  containerRef
22
- }: FloatingButtonProps) => react_jsx_runtime30.JSX.Element;
22
+ }: FloatingButtonProps) => react_jsx_runtime23.JSX.Element;
23
23
  //#endregion
24
24
  export { FloatingButton };
@@ -1,5 +1,5 @@
1
1
  import { FloatingChatProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime7 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime22 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) => react_jsx_runtime7.JSX.Element;
22
+ }: FloatingChatProps) => react_jsx_runtime22.JSX.Element;
23
23
  //#endregion
24
24
  export { FloatingChat };
@@ -1,5 +1,5 @@
1
1
  import { FloatingChatProps } from "./types/types.js";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime30 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) => react_jsx_runtime36.JSX.Element;
22
+ }: FloatingChatProps) => react_jsx_runtime30.JSX.Element;
23
23
  //#endregion
24
24
  export { FloatingChat };
@@ -35,7 +35,7 @@ let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks
35
35
  let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
36
36
 
37
37
  //#region src/components/FullPageSalesAgent/FullPageSalesAgent.tsx
38
- const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatingChatConfig, lookAndFeelConfig, widgetConfig, hardcopyContent, voiceInputEnabled }) => {
38
+ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatingChatConfig, lookAndFeelConfig, widgetConfig, hardcopyContent, voiceInputEnabled, debugBar }) => {
39
39
  const resolvedTheme = require_resolveTheme.resolveTheme(theme);
40
40
  const salesAgentData = (0, __envive_ai_react_hooks_contexts_salesAgentContext.useSalesAgent)(__envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.FULL_PAGE_SALES_AGENT);
41
41
  const [query, setQuery] = (0, react.useState)("");
@@ -43,19 +43,20 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
43
43
  const { messageClasses } = require_useGetMessagesStyles.useGetMessagesStyles();
44
44
  const { isMobile } = require_useIsMobile.useIsMobile();
45
45
  const { trackWidgetInteraction } = (0, __envive_ai_react_hooks_hooks_WidgetInteraction.useWidgetInteraction)();
46
+ const { trackEvent } = (0, __envive_ai_react_hooks_contexts_amplitudeContext.useAmplitude)();
46
47
  const { onDrag, onHover, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = require_usePromptCarouselAnalytics.usePromptCarouselAnalytics(__envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.FULL_PAGE_SALES_AGENT, (text) => text);
47
- const getOverlaySuggestionId = (0, react.useCallback)((text) => {
48
+ const getOverlayStringId = (0, react.useCallback)((text) => {
48
49
  const rawValues = hardcopyContent?.rawValues;
49
50
  if (rawValues) for (const raw of Object.values(rawValues)) {
50
51
  const found = (Array.isArray(raw) ? raw : [raw]).find((s) => s.value === text);
51
52
  if (found) return found.id;
52
53
  }
53
- return text;
54
54
  }, [hardcopyContent?.rawValues]);
55
+ const getOverlaySuggestionId = (0, react.useCallback)((text) => getOverlayStringId(text) ?? text, [getOverlayStringId]);
55
56
  const { onDrag: onOverlayDrag, onHover: onOverlayHover, onMouseDown: onOverlayMouseDown, onMouseUp: onOverlayMouseUp, onTouchStart: onOverlayTouchStart, onTouchEnd: onOverlayTouchEnd } = require_usePromptCarouselAnalytics.usePromptCarouselAnalytics(__envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.FULL_PAGE_SALES_AGENT, getOverlaySuggestionId);
56
57
  const setListeningToSpeech = require_react.useSetAtom(__envive_ai_react_hooks_atoms_chat.listeningToSpeechAtom);
57
58
  const { ignoreFirstModelResponse, neverShowSingleProductCards, showVerifiedBuyer, showEnviveLogo } = floatingChatConfig;
58
- const { headerContainer, autoHeight, sparkleColor = "var(--envive-colors-accent-primary)", suggestionButtonType = require_PromptButton_types_index.PromptButtonVariant.LIGHT, useBackgroundImage, mobileBackgroundImage, desktopBackgroundImage, backgroundColor } = widgetConfig;
59
+ const { headerContainer, autoHeight, sparkleColor = "var(--envive-colors-accent-primary)", suggestionButtonType = require_PromptButton_types_index.PromptButtonVariant.LIGHT, useBackgroundImage, mobileBackgroundImage, desktopBackgroundImage, backgroundColor, chatBackgroundColor } = widgetConfig;
59
60
  const backgroundStyle = (0, react.useMemo)(() => {
60
61
  if (useBackgroundImage) {
61
62
  const imageUrl = isMobile ? mobileBackgroundImage ?? desktopBackgroundImage : desktopBackgroundImage ?? mobileBackgroundImage;
@@ -74,6 +75,9 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
74
75
  backgroundColor,
75
76
  isMobile
76
77
  ]);
78
+ const chatBackgroundStyle = (0, react.useMemo)(() => {
79
+ if (chatBackgroundColor) return { backgroundColor: chatBackgroundColor };
80
+ }, [chatBackgroundColor]);
77
81
  const { agentName } = lookAndFeelConfig;
78
82
  const { chatFooterTextFieldPlaceholderText, disclaimerText, welcomeOverlayTitle, welcomeOverlayAnimatedPlaceholder, welcomeOverlayPromptSuggestions, welcomeOverlayProductCarouselTitle, welcomeOverlayProductIds } = hardcopyContent?.values ?? {};
79
83
  const overlayTitle = Array.isArray(welcomeOverlayTitle) && welcomeOverlayTitle.length > 0 ? welcomeOverlayTitle[0] : welcomeOverlayTitle;
@@ -123,6 +127,9 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
123
127
  const handleProductCardClick = (product) => {
124
128
  require_trackProductCardInteraction.trackProductCardClicked(trackWidgetInteraction, __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.FULL_PAGE_SALES_AGENT, product);
125
129
  };
130
+ const handleSuggestionCardClick = (product) => {
131
+ require_trackProductCardInteraction.trackProductCardClicked(trackWidgetInteraction, __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.FULL_PAGE_SALES_AGENT_RECOMMENDATIONS, product);
132
+ };
126
133
  const handleTranscriptionStarted = (0, react.useCallback)(() => {
127
134
  trackWidgetInteraction({
128
135
  eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetInteraction,
@@ -161,6 +168,14 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
161
168
  widget_interaction_data: { suggestion_clicked: { suggestion_id: getOverlaySuggestionId(buttonText) } }
162
169
  }
163
170
  });
171
+ trackEvent({
172
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetTextClicked,
173
+ eventProps: {
174
+ response_id: hardcopyContent?.responseId,
175
+ string_id: getOverlayStringId(buttonText),
176
+ text: buttonText
177
+ }
178
+ });
164
179
  onTypedMessageSubmitted({
165
180
  query: buttonText,
166
181
  userTyped: false,
@@ -172,7 +187,10 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
172
187
  setShowOverlay(false);
173
188
  }, [
174
189
  getOverlaySuggestionId,
190
+ getOverlayStringId,
175
191
  trackWidgetInteraction,
192
+ trackEvent,
193
+ hardcopyContent?.responseId,
176
194
  onTypedMessageSubmitted,
177
195
  setListeningToSpeech,
178
196
  setAnswerSuggestions,
@@ -290,10 +308,12 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
290
308
  chatMessages: middleContent,
291
309
  answerSuggestions: showAnswerSuggestions && !isResultsView ? answerSuggestionsComponent : void 0,
292
310
  scrollToBottomButton: !isResultsView && showScrollButton ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.FloatingChatComponents.ScrollToBottomButton, { onClick: handleScrollToBottom }) : void 0,
311
+ chatBackgroundStyle,
293
312
  disclaimer: isResultsView ? null : disclaimer,
294
313
  headerContainer,
295
314
  autoHeight,
296
315
  scrollContainerRef,
316
+ debugBar,
297
317
  overlay: overlayEnabled && showOverlay ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WelcomeOverlay.WelcomeOverlay, {
298
318
  show: showOverlay,
299
319
  theme: resolvedTheme,
@@ -312,7 +332,7 @@ const FullPageSalesAgent = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, floatin
312
332
  onSuggestionMouseUp: onOverlayMouseUp,
313
333
  onSuggestionTouchStart: onOverlayTouchStart,
314
334
  onSuggestionTouchEnd: onOverlayTouchEnd,
315
- onProductCardClick: handleProductCardClick
335
+ onProductCardClick: handleSuggestionCardClick
316
336
  }) : null
317
337
  }) });
318
338
  };
@@ -1,5 +1,5 @@
1
1
  import { Theme } from "../tokens/theme/theme.cjs";
2
- import * as react_jsx_runtime31 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 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
 
@@ -11,6 +11,7 @@ interface FullPageSalesAgentProps {
11
11
  widgetConfig: FullPageSalesAgentWidgetV3Config;
12
12
  hardcopyContent: HardcopyResponse;
13
13
  voiceInputEnabled?: boolean;
14
+ debugBar?: React.ReactNode;
14
15
  }
15
16
  declare const FullPageSalesAgent: ({
16
17
  theme,
@@ -18,7 +19,8 @@ declare const FullPageSalesAgent: ({
18
19
  lookAndFeelConfig,
19
20
  widgetConfig,
20
21
  hardcopyContent,
21
- voiceInputEnabled
22
- }: FullPageSalesAgentProps) => react_jsx_runtime31.JSX.Element;
22
+ voiceInputEnabled,
23
+ debugBar
24
+ }: FullPageSalesAgentProps) => react_jsx_runtime23.JSX.Element;
23
25
  //#endregion
24
26
  export { FullPageSalesAgent };
@@ -1,5 +1,5 @@
1
1
  import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
2
- import * as react_jsx_runtime11 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime26 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
 
@@ -11,6 +11,7 @@ interface FullPageSalesAgentProps {
11
11
  widgetConfig: FullPageSalesAgentWidgetV3Config;
12
12
  hardcopyContent: HardcopyResponse;
13
13
  voiceInputEnabled?: boolean;
14
+ debugBar?: React.ReactNode;
14
15
  }
15
16
  declare const FullPageSalesAgent: ({
16
17
  theme,
@@ -18,7 +19,8 @@ declare const FullPageSalesAgent: ({
18
19
  lookAndFeelConfig,
19
20
  widgetConfig,
20
21
  hardcopyContent,
21
- voiceInputEnabled
22
- }: FullPageSalesAgentProps) => react_jsx_runtime11.JSX.Element;
22
+ voiceInputEnabled,
23
+ debugBar
24
+ }: FullPageSalesAgentProps) => react_jsx_runtime26.JSX.Element;
23
25
  //#endregion
24
26
  export { FullPageSalesAgent };
@@ -26,7 +26,7 @@ import { useGetMessagesStyles } from "./hooks/useGetMessagesStyles.js";
26
26
  import { useCallback, useMemo, useRef, useState } from "react";
27
27
  import { jsx } from "react/jsx-runtime";
28
28
  import { listeningToSpeechAtom } from "@envive-ai/react-hooks/atoms/chat";
29
- import { EnviveMetricsEventName } from "@envive-ai/react-hooks/contexts/amplitudeContext";
29
+ import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
30
30
  import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
31
31
  import { WidgetInteractionComponent, WidgetInteractionType } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
32
32
  import { LayoutGroup, motion } from "framer-motion";
@@ -34,7 +34,7 @@ import { ChatElementDisplayLocationV3 } from "@envive-ai/react-hooks/application
34
34
  import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
35
35
 
36
36
  //#region src/components/FullPageSalesAgent/FullPageSalesAgent.tsx
37
- const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, lookAndFeelConfig, widgetConfig, hardcopyContent, voiceInputEnabled }) => {
37
+ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, lookAndFeelConfig, widgetConfig, hardcopyContent, voiceInputEnabled, debugBar }) => {
38
38
  const resolvedTheme = resolveTheme(theme);
39
39
  const salesAgentData = useSalesAgent(WidgetInteractionComponent.FULL_PAGE_SALES_AGENT);
40
40
  const [query, setQuery] = useState("");
@@ -42,19 +42,20 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
42
42
  const { messageClasses } = useGetMessagesStyles();
43
43
  const { isMobile } = useIsMobile();
44
44
  const { trackWidgetInteraction } = useWidgetInteraction();
45
+ const { trackEvent } = useAmplitude();
45
46
  const { onDrag, onHover, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = usePromptCarouselAnalytics(WidgetInteractionComponent.FULL_PAGE_SALES_AGENT, (text) => text);
46
- const getOverlaySuggestionId = useCallback((text) => {
47
+ const getOverlayStringId = useCallback((text) => {
47
48
  const rawValues = hardcopyContent?.rawValues;
48
49
  if (rawValues) for (const raw of Object.values(rawValues)) {
49
50
  const found = (Array.isArray(raw) ? raw : [raw]).find((s) => s.value === text);
50
51
  if (found) return found.id;
51
52
  }
52
- return text;
53
53
  }, [hardcopyContent?.rawValues]);
54
+ const getOverlaySuggestionId = useCallback((text) => getOverlayStringId(text) ?? text, [getOverlayStringId]);
54
55
  const { onDrag: onOverlayDrag, onHover: onOverlayHover, onMouseDown: onOverlayMouseDown, onMouseUp: onOverlayMouseUp, onTouchStart: onOverlayTouchStart, onTouchEnd: onOverlayTouchEnd } = usePromptCarouselAnalytics(WidgetInteractionComponent.FULL_PAGE_SALES_AGENT, getOverlaySuggestionId);
55
56
  const setListeningToSpeech = useSetAtom(listeningToSpeechAtom);
56
57
  const { ignoreFirstModelResponse, neverShowSingleProductCards, showVerifiedBuyer, showEnviveLogo } = floatingChatConfig;
57
- const { headerContainer, autoHeight, sparkleColor = "var(--envive-colors-accent-primary)", suggestionButtonType = PromptButtonVariant.LIGHT, useBackgroundImage, mobileBackgroundImage, desktopBackgroundImage, backgroundColor } = widgetConfig;
58
+ const { headerContainer, autoHeight, sparkleColor = "var(--envive-colors-accent-primary)", suggestionButtonType = PromptButtonVariant.LIGHT, useBackgroundImage, mobileBackgroundImage, desktopBackgroundImage, backgroundColor, chatBackgroundColor } = widgetConfig;
58
59
  const backgroundStyle = useMemo(() => {
59
60
  if (useBackgroundImage) {
60
61
  const imageUrl = isMobile ? mobileBackgroundImage ?? desktopBackgroundImage : desktopBackgroundImage ?? mobileBackgroundImage;
@@ -73,6 +74,9 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
73
74
  backgroundColor,
74
75
  isMobile
75
76
  ]);
77
+ const chatBackgroundStyle = useMemo(() => {
78
+ if (chatBackgroundColor) return { backgroundColor: chatBackgroundColor };
79
+ }, [chatBackgroundColor]);
76
80
  const { agentName } = lookAndFeelConfig;
77
81
  const { chatFooterTextFieldPlaceholderText, disclaimerText, welcomeOverlayTitle, welcomeOverlayAnimatedPlaceholder, welcomeOverlayPromptSuggestions, welcomeOverlayProductCarouselTitle, welcomeOverlayProductIds } = hardcopyContent?.values ?? {};
78
82
  const overlayTitle = Array.isArray(welcomeOverlayTitle) && welcomeOverlayTitle.length > 0 ? welcomeOverlayTitle[0] : welcomeOverlayTitle;
@@ -122,6 +126,9 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
122
126
  const handleProductCardClick = (product) => {
123
127
  trackProductCardClicked(trackWidgetInteraction, WidgetInteractionComponent.FULL_PAGE_SALES_AGENT, product);
124
128
  };
129
+ const handleSuggestionCardClick = (product) => {
130
+ trackProductCardClicked(trackWidgetInteraction, WidgetInteractionComponent.FULL_PAGE_SALES_AGENT_RECOMMENDATIONS, product);
131
+ };
125
132
  const handleTranscriptionStarted = useCallback(() => {
126
133
  trackWidgetInteraction({
127
134
  eventName: EnviveMetricsEventName.WidgetInteraction,
@@ -160,6 +167,14 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
160
167
  widget_interaction_data: { suggestion_clicked: { suggestion_id: getOverlaySuggestionId(buttonText) } }
161
168
  }
162
169
  });
170
+ trackEvent({
171
+ eventName: EnviveMetricsEventName.WidgetTextClicked,
172
+ eventProps: {
173
+ response_id: hardcopyContent?.responseId,
174
+ string_id: getOverlayStringId(buttonText),
175
+ text: buttonText
176
+ }
177
+ });
163
178
  onTypedMessageSubmitted({
164
179
  query: buttonText,
165
180
  userTyped: false,
@@ -171,7 +186,10 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
171
186
  setShowOverlay(false);
172
187
  }, [
173
188
  getOverlaySuggestionId,
189
+ getOverlayStringId,
174
190
  trackWidgetInteraction,
191
+ trackEvent,
192
+ hardcopyContent?.responseId,
175
193
  onTypedMessageSubmitted,
176
194
  setListeningToSpeech,
177
195
  setAnswerSuggestions,
@@ -289,10 +307,12 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
289
307
  chatMessages: middleContent,
290
308
  answerSuggestions: showAnswerSuggestions && !isResultsView ? answerSuggestionsComponent : void 0,
291
309
  scrollToBottomButton: !isResultsView && showScrollButton ? /* @__PURE__ */ jsx(FloatingChatComponents.ScrollToBottomButton, { onClick: handleScrollToBottom }) : void 0,
310
+ chatBackgroundStyle,
292
311
  disclaimer: isResultsView ? null : disclaimer,
293
312
  headerContainer,
294
313
  autoHeight,
295
314
  scrollContainerRef,
315
+ debugBar,
296
316
  overlay: overlayEnabled && showOverlay ? /* @__PURE__ */ jsx(WelcomeOverlay, {
297
317
  show: showOverlay,
298
318
  theme: resolvedTheme,
@@ -311,7 +331,7 @@ const FullPageSalesAgent = ({ theme = Theme.GLOBAL_CUSTOM, floatingChatConfig, l
311
331
  onSuggestionMouseUp: onOverlayMouseUp,
312
332
  onSuggestionTouchStart: onOverlayTouchStart,
313
333
  onSuggestionTouchEnd: onOverlayTouchEnd,
314
- onProductCardClick: handleProductCardClick
334
+ onProductCardClick: handleSuggestionCardClick
315
335
  }) : null
316
336
  }) });
317
337
  };
@@ -12,7 +12,7 @@ let classnames = require("classnames");
12
12
  classnames = require_rolldown_runtime.__toESM(classnames);
13
13
 
14
14
  //#region src/components/FullPageSalesAgent/components/Layout.tsx
15
- const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions, scrollToBottomButton, disclaimer, headerContainer, autoHeight, scrollContainerRef, overlay, backgroundStyle }) => {
15
+ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions, scrollToBottomButton, disclaimer, headerContainer, autoHeight, scrollContainerRef, overlay, backgroundStyle, chatBackgroundStyle, debugBar }) => {
16
16
  const hasWelcomeMessage = (0, react.isValidElement)(welcomeMessage);
17
17
  const hasAnswerSuggestions = (0, react.isValidElement)(answerSuggestions);
18
18
  const { isMobile } = require_useIsMobile.useIsMobile();
@@ -39,18 +39,26 @@ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions
39
39
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
40
40
  direction: "column",
41
41
  gap: "0",
42
+ style: { ...chatBackgroundStyle },
42
43
  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
44
  children: [chatMessages, answerSuggestions]
44
45
  })]
45
46
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
46
47
  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
48
+ children: [
49
+ scrollToBottomButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
50
+ className: "envive-tw-h-[0px]",
51
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
52
+ className: "envive-tw-ml-auto envive-tw-table envive-tw-translate-x-[-30px] envive-tw-translate-y-[-50px]",
53
+ children: scrollToBottomButton
54
+ })
55
+ }),
56
+ footer,
57
+ debugBar && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
58
+ className: "envive-debug-bar",
59
+ children: debugBar
52
60
  })
53
- }), footer]
61
+ ]
54
62
  })]
55
63
  });
56
64
  };
@@ -10,7 +10,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import classNames from "classnames";
11
11
 
12
12
  //#region src/components/FullPageSalesAgent/components/Layout.tsx
13
- const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions, scrollToBottomButton, disclaimer, headerContainer, autoHeight, scrollContainerRef, overlay, backgroundStyle }) => {
13
+ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions, scrollToBottomButton, disclaimer, headerContainer, autoHeight, scrollContainerRef, overlay, backgroundStyle, chatBackgroundStyle, debugBar }) => {
14
14
  const hasWelcomeMessage = isValidElement(welcomeMessage);
15
15
  const hasAnswerSuggestions = isValidElement(answerSuggestions);
16
16
  const { isMobile } = useIsMobile();
@@ -37,18 +37,26 @@ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions
37
37
  }), /* @__PURE__ */ jsxs(Stack, {
38
38
  direction: "column",
39
39
  gap: "0",
40
+ style: { ...chatBackgroundStyle },
40
41
  className: classNames((!hasWelcomeMessage || hasWelcomeMessage && theme === Theme.STANDARD) && !hasAnswerSuggestions && "envive-tw-pb-4", isMobile ? "envive-tw-pt-4" : "envive-tw-pt-6"),
41
42
  children: [chatMessages, answerSuggestions]
42
43
  })]
43
44
  }), /* @__PURE__ */ jsxs("div", {
44
45
  className: footerContainerClasses,
45
- children: [scrollToBottomButton && /* @__PURE__ */ jsx("div", {
46
- className: "envive-tw-h-[0px]",
47
- children: /* @__PURE__ */ jsx("div", {
48
- className: "envive-tw-ml-auto envive-tw-table envive-tw-translate-x-[-30px] envive-tw-translate-y-[-50px]",
49
- children: scrollToBottomButton
46
+ children: [
47
+ scrollToBottomButton && /* @__PURE__ */ jsx("div", {
48
+ className: "envive-tw-h-[0px]",
49
+ children: /* @__PURE__ */ 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
+ }),
54
+ footer,
55
+ debugBar && /* @__PURE__ */ jsx("div", {
56
+ className: "envive-debug-bar",
57
+ children: debugBar
50
58
  })
51
- }), footer]
59
+ ]
52
60
  })]
53
61
  });
54
62
  };
@@ -1,5 +1,5 @@
1
1
  import { ImageProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime26 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Image/Image.d.ts
5
5
 
@@ -25,6 +25,6 @@ declare const Image: ({
25
25
  role,
26
26
  "aria-hidden": ariaHidden,
27
27
  ...rest
28
- }: ImageProps) => react_jsx_runtime26.JSX.Element;
28
+ }: ImageProps) => react_jsx_runtime27.JSX.Element;
29
29
  //#endregion
30
30
  export { Image };