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

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 (151) hide show
  1. package/dist/AnimatedText/AnimatedText.d.cts +3 -3
  2. package/dist/AnimatedText/AnimatedText.d.ts +3 -3
  3. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  4. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
  5. package/dist/Carousel/Carousel.cjs +1 -1
  6. package/dist/Carousel/Carousel.d.cts +2 -2
  7. package/dist/Carousel/Carousel.d.ts +2 -2
  8. package/dist/Carousel/Carousel.js +1 -1
  9. package/dist/Carousel/components/Container.cjs +2 -2
  10. package/dist/Carousel/components/Container.js +2 -2
  11. package/dist/ChatFooter/ChatFooter.cjs +1 -1
  12. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  13. package/dist/ChatFooter/ChatFooter.js +1 -1
  14. package/dist/ChatFooter/components/Layout.cjs +2 -2
  15. package/dist/ChatFooter/components/Layout.js +2 -2
  16. package/dist/ChatFooter/components/index.d.cts +5 -5
  17. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  18. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  19. package/dist/ChatHeader/components/Handle.cjs +2 -2
  20. package/dist/ChatHeader/components/Handle.js +2 -2
  21. package/dist/ChatHeader/components/Toggle.cjs +3 -3
  22. package/dist/ChatHeader/components/Toggle.js +3 -3
  23. package/dist/ChatPreview/ChatPreview.cjs +1 -1
  24. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  25. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  26. package/dist/ChatPreview/ChatPreview.js +1 -1
  27. package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +1 -1
  28. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  29. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  30. package/dist/ChatPreviewComparison/ChatPreviewComparison.js +1 -1
  31. package/dist/ChatPreviewComparison/components/Headline.cjs +2 -2
  32. package/dist/ChatPreviewComparison/components/Headline.js +2 -2
  33. package/dist/ChatPreviewComparison/components/Layout.cjs +4 -4
  34. package/dist/ChatPreviewComparison/components/Layout.js +4 -4
  35. package/dist/ChatPreviewComparison/components/Message.cjs +2 -2
  36. package/dist/ChatPreviewComparison/components/Message.js +2 -2
  37. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  38. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  39. package/dist/Container/Container.d.cts +172 -172
  40. package/dist/Container/Container.d.ts +172 -172
  41. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  42. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  43. package/dist/Disclaimer/components/Container.cjs +2 -2
  44. package/dist/Disclaimer/components/Container.js +2 -2
  45. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  46. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  47. package/dist/DocumentRetrievalCard/components/Layout.cjs +2 -2
  48. package/dist/DocumentRetrievalCard/components/Layout.js +2 -2
  49. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
  50. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
  51. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  52. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  53. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  54. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  55. package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
  56. package/dist/FloatingChat/components/ChatMessages.js +1 -1
  57. package/dist/FloatingChat/components/Layout.cjs +3 -3
  58. package/dist/FloatingChat/components/Layout.js +3 -3
  59. package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
  60. package/dist/FloatingChat/components/ResultsGridView.js +1 -1
  61. package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +1 -1
  62. package/dist/FloatingChat/components/SalesAgentBadgeContent.js +1 -1
  63. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +1 -1
  64. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +1 -1
  65. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +5 -2
  66. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  67. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
  68. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +5 -2
  69. package/dist/Image/Image.d.cts +2 -2
  70. package/dist/Image/Image.d.ts +2 -2
  71. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  72. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  73. package/dist/ImageGallery/components/Layout.cjs +1 -1
  74. package/dist/ImageGallery/components/Layout.js +1 -1
  75. package/dist/Message/components/LinkButton.cjs +1 -1
  76. package/dist/Message/components/LinkButton.js +1 -1
  77. package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
  78. package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
  79. package/dist/ProductCard/ProductCard.cjs +2 -2
  80. package/dist/ProductCard/ProductCard.d.cts +2 -2
  81. package/dist/ProductCard/ProductCard.d.ts +2 -2
  82. package/dist/ProductCard/ProductCard.js +2 -2
  83. package/dist/PromptButton/PromptButton.d.cts +2 -2
  84. package/dist/PromptButton/PromptButton.d.ts +2 -2
  85. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  86. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  87. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
  88. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
  89. package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
  90. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  91. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  92. package/dist/PromptCarousel/PromptCarousel.js +3 -3
  93. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  94. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  95. package/dist/ReviewCard/components/Container.cjs +2 -2
  96. package/dist/ReviewCard/components/Container.js +2 -2
  97. package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
  98. package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
  99. package/dist/ReviewCard/components/index.d.cts +6 -6
  100. package/dist/ReviewCard/components/index.d.ts +6 -6
  101. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  102. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  103. package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
  104. package/dist/SalesAgentProductCard/components/Container.js +2 -2
  105. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  106. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  107. package/dist/SocialProof/SocialProof.cjs +1 -1
  108. package/dist/SocialProof/SocialProof.d.cts +2 -2
  109. package/dist/SocialProof/SocialProof.d.ts +2 -2
  110. package/dist/SocialProof/SocialProof.js +1 -1
  111. package/dist/SocialProof/components/Headline.cjs +3 -3
  112. package/dist/SocialProof/components/Headline.js +3 -3
  113. package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
  114. package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
  115. package/dist/SocialProof/components/LayoutSingle.cjs +1 -1
  116. package/dist/SocialProof/components/LayoutSingle.js +1 -1
  117. package/dist/SocialProof/components/Subheadline.cjs +1 -1
  118. package/dist/SocialProof/components/Subheadline.js +1 -1
  119. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  120. package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
  121. package/dist/Stack/Stack.d.cts +2 -2
  122. package/dist/Stack/Stack.d.ts +2 -2
  123. package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
  124. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  125. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  126. package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
  127. package/dist/Tokens/index.cjs +1 -1
  128. package/dist/Tokens/index.js +1 -1
  129. package/dist/TypingAnimation/TypingAnimation.cjs +1 -1
  130. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  131. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  132. package/dist/TypingAnimation/TypingAnimation.js +1 -1
  133. package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +1 -1
  134. package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +1 -1
  135. package/dist/Typography/Typography.d.cts +4 -4
  136. package/dist/WelcomeMessage/components/Container.cjs +2 -2
  137. package/dist/WelcomeMessage/components/Container.js +2 -2
  138. package/dist/WidgetTextField/WidgetTextField.cjs +4 -4
  139. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  140. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  141. package/dist/WidgetTextField/WidgetTextField.js +1 -1
  142. package/dist/WidgetTextField/components/Container.cjs +2 -2
  143. package/dist/WidgetTextField/components/Container.js +2 -2
  144. package/dist/WidgetTextField/components/Icon.cjs +1 -1
  145. package/dist/WidgetTextField/components/Icon.js +1 -1
  146. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  147. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  148. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  149. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  150. package/package.json +1 -1
  151. package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +11 -1
@@ -1,8 +1,8 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_Stack = require('../../Stack/Stack.cjs');
3
- require('../../Stack/index.cjs');
4
2
  const require_Container = require('../../Container/Container.cjs');
5
3
  require('../../Container/index.cjs');
4
+ const require_Stack = require('../../Stack/Stack.cjs');
5
+ require('../../Stack/index.cjs');
6
6
  const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
8
  let classnames = require("classnames");
@@ -1,7 +1,7 @@
1
- import { Stack } from "../../Stack/Stack.js";
2
- import "../../Stack/index.js";
3
1
  import { Container } from "../../Container/Container.js";
4
2
  import "../../Container/index.js";
3
+ import { Stack } from "../../Stack/Stack.js";
4
+ import "../../Stack/index.js";
5
5
  import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import classNames from "classnames";
@@ -1,11 +1,11 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../packages/components-v3/tokens/theme/theme.cjs');
3
- const require_index = require('../Typography/types/index.cjs');
4
3
  const require_resolveTheme = require('../utils/resolveTheme.cjs');
5
- const require_index$1 = require('../TextField/components/index.cjs');
4
+ const require_index = require('../TextField/components/index.cjs');
6
5
  const require_useGetSkeletonProperties = require('../TextField/hooks/useGetSkeletonProperties.cjs');
7
6
  const require_react = require('../node_modules/jotai/esm/react.cjs');
8
7
  const require_useVoiceInput = require('../TextField/hooks/useVoiceInput.cjs');
8
+ const require_index$1 = require('../Typography/types/index.cjs');
9
9
  const require_types = require('./types/types.cjs');
10
10
  const require_index$2 = require('./components/index.cjs');
11
11
  const require_useGetMicWidgetButtonProperties = require('./hooks/useGetMicWidgetButtonProperties.cjs');
@@ -15,7 +15,7 @@ classnames = require_rolldown_runtime.__toESM(classnames);
15
15
  let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
16
16
 
17
17
  //#region src/components/WidgetTextField/WidgetTextField.tsx
18
- const WidgetTextField = ({ id, testId, style, className, voiceInputClassName, theme = require_theme.Theme.GLOBAL_CUSTOM, minimalFrame = "full", minimalBorderVariant, iconVariant = require_types.IconVariant.DEFAULT, textColor = require_index.TypographyColor.TEXT_SECONDARY, placeholder, ariaLabel, disabled, isLoading, onClick, enableVoiceInput = false, onTranscriptionStarted }) => {
18
+ const WidgetTextField = ({ id, testId, style, className, voiceInputClassName, theme = require_theme.Theme.GLOBAL_CUSTOM, minimalFrame = "full", minimalBorderVariant, iconVariant = require_types.IconVariant.DEFAULT, textColor = require_index$1.TypographyColor.TEXT_SECONDARY, placeholder, ariaLabel, disabled, isLoading, onClick, enableVoiceInput = false, onTranscriptionStarted }) => {
19
19
  const resolvedTheme = require_resolveTheme.resolveTheme(theme);
20
20
  const setListeningToSpeech = require_react.useSetAtom(__envive_ai_react_hooks_atoms_chat.listeningToSpeechAtom);
21
21
  const { skeletonClass } = require_useGetSkeletonProperties.useGetSkeletonProperties(isLoading);
@@ -31,7 +31,7 @@ const WidgetTextField = ({ id, testId, style, className, voiceInputClassName, th
31
31
  onTranscriptionStarted?.();
32
32
  onClick();
33
33
  };
34
- const voiceInputButton = enableVoiceInput && browserSupportsSpeechRecognition ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.TextFieldComponents.VoiceInputButton, {
34
+ const voiceInputButton = enableVoiceInput && browserSupportsSpeechRecognition ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.TextFieldComponents.VoiceInputButton, {
35
35
  theme: resolvedTheme,
36
36
  isListening: false,
37
37
  onToggleListening: disabled ? void 0 : handleToggleListening,
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime19 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -20,6 +20,6 @@ declare const WidgetTextField: ({
20
20
  onClick,
21
21
  enableVoiceInput,
22
22
  onTranscriptionStarted
23
- }: WidgetTextFieldProps) => react_jsx_runtime19.JSX.Element;
23
+ }: WidgetTextFieldProps) => react_jsx_runtime0.JSX.Element;
24
24
  //#endregion
25
25
  export { WidgetTextField };
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -20,6 +20,6 @@ declare const WidgetTextField: ({
20
20
  onClick,
21
21
  enableVoiceInput,
22
22
  onTranscriptionStarted
23
- }: WidgetTextFieldProps) => react_jsx_runtime0.JSX.Element;
23
+ }: WidgetTextFieldProps) => react_jsx_runtime5.JSX.Element;
24
24
  //#endregion
25
25
  export { WidgetTextField };
@@ -1,10 +1,10 @@
1
1
  import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
2
- import { TypographyColor } from "../Typography/types/index.js";
3
2
  import { resolveTheme } from "../utils/resolveTheme.js";
4
3
  import { TextFieldComponents } from "../TextField/components/index.js";
5
4
  import { useGetSkeletonProperties } from "../TextField/hooks/useGetSkeletonProperties.js";
6
5
  import { useSetAtom } from "../node_modules/jotai/esm/react.js";
7
6
  import { useVoiceInput } from "../TextField/hooks/useVoiceInput.js";
7
+ import { TypographyColor } from "../Typography/types/index.js";
8
8
  import { IconVariant } from "./types/types.js";
9
9
  import { WidgetTextFieldComponents } from "./components/index.js";
10
10
  import { useGetMicWidgetButtonProperties } from "./hooks/useGetMicWidgetButtonProperties.js";
@@ -1,8 +1,8 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_Stack = require('../../Stack/Stack.cjs');
3
- require('../../Stack/index.cjs');
4
2
  const require_Container = require('../../Container/Container.cjs');
5
3
  require('../../Container/index.cjs');
4
+ const require_Stack = require('../../Stack/Stack.cjs');
5
+ require('../../Stack/index.cjs');
6
6
  const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
7
7
  const require_useHandleKeyboard = require('../hooks/useHandleKeyboard.cjs');
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1,7 +1,7 @@
1
- import { Stack } from "../../Stack/Stack.js";
2
- import "../../Stack/index.js";
3
1
  import { Container } from "../../Container/Container.js";
4
2
  import "../../Container/index.js";
3
+ import { Stack } from "../../Stack/Stack.js";
4
+ import "../../Stack/index.js";
5
5
  import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
6
6
  import { useHandleKeyboard } from "../hooks/useHandleKeyboard.js";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
3
- const require_index = require('../../Typography/types/index.cjs');
4
3
  const require_CustomIcon = require('../../utils/CustomIcon.cjs');
4
+ const require_index = require('../../Typography/types/index.cjs');
5
5
  const require_types = require('../types/types.cjs');
6
6
  let react_jsx_runtime = require("react/jsx-runtime");
7
7
  let __envive_ai_react_icons_SendStandard = require("@envive-ai/react-icons/SendStandard");
@@ -1,6 +1,6 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
- import { TypographyColor } from "../../Typography/types/index.js";
3
2
  import { CustomIcon } from "../../utils/CustomIcon.js";
3
+ import { TypographyColor } from "../../Typography/types/index.js";
4
4
  import { IconVariant } from "../types/types.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import SendStandard from "@envive-ai/react-icons/SendStandard";
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime20 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapper/WidgetWrapper.d.ts
5
5
 
@@ -16,6 +16,6 @@ declare const WidgetWrapper: ({
16
16
  className,
17
17
  style,
18
18
  ...containerProps
19
- }: WidgetWrapperProps) => react_jsx_runtime20.JSX.Element;
19
+ }: WidgetWrapperProps) => react_jsx_runtime1.JSX.Element;
20
20
  //#endregion
21
21
  export { WidgetWrapper };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperProps } from "./types/types.js";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapper/WidgetWrapper.d.ts
5
5
 
@@ -16,6 +16,6 @@ declare const WidgetWrapper: ({
16
16
  className,
17
17
  style,
18
18
  ...containerProps
19
- }: WidgetWrapperProps) => react_jsx_runtime1.JSX.Element;
19
+ }: WidgetWrapperProps) => react_jsx_runtime0.JSX.Element;
20
20
  //#endregion
21
21
  export { WidgetWrapper };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperWithTitleProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime17 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts
5
5
  declare const WidgetWrapperWithTitle: ({
@@ -14,6 +14,6 @@ declare const WidgetWrapperWithTitle: ({
14
14
  hexCardColor,
15
15
  hideLogo,
16
16
  fullIsLoading
17
- }: WidgetWrapperWithTitleProps) => react_jsx_runtime17.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime3.JSX.Element;
18
18
  //#endregion
19
19
  export { WidgetWrapperWithTitle };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperWithTitleProps } from "./types/types.js";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts
5
5
  declare const WidgetWrapperWithTitle: ({
@@ -14,6 +14,6 @@ declare const WidgetWrapperWithTitle: ({
14
14
  hexCardColor,
15
15
  hideLogo,
16
16
  fullIsLoading
17
- }: WidgetWrapperWithTitleProps) => react_jsx_runtime2.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime36.JSX.Element;
18
18
  //#endregion
19
19
  export { WidgetWrapperWithTitle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envive-ai/react-toolkit-v3",
3
- "version": "0.3.42",
3
+ "version": "0.3.43",
4
4
  "description": "React component library for Envive services.",
5
5
  "keywords": [
6
6
  "react",
@@ -233,6 +233,16 @@ export const FullPageSalesAgent = ({
233
233
  );
234
234
  };
235
235
 
236
+ // Product cards in the default-view welcome overlay are the static suggestion/recommendations
237
+ // widget — tag them with a distinct widget so analytics separates them from in-chat product cards.
238
+ const handleSuggestionCardClick = (product: SalesAgentProductCardProps) => {
239
+ trackProductCardClicked(
240
+ trackWidgetInteraction,
241
+ WidgetInteractionComponent.FULL_PAGE_SALES_AGENT_RECOMMENDATIONS,
242
+ product,
243
+ );
244
+ };
245
+
236
246
  const handleTranscriptionStarted = useCallback(() => {
237
247
  trackWidgetInteraction({
238
248
  eventName: EnviveMetricsEventName.WidgetInteraction,
@@ -481,7 +491,7 @@ export const FullPageSalesAgent = ({
481
491
  onSuggestionMouseUp={onOverlayMouseUp}
482
492
  onSuggestionTouchStart={onOverlayTouchStart}
483
493
  onSuggestionTouchEnd={onOverlayTouchEnd}
484
- onProductCardClick={handleProductCardClick}
494
+ onProductCardClick={handleSuggestionCardClick}
485
495
  />
486
496
  ) : null
487
497
  }