@envive-ai/react-toolkit-v3 0.3.15 → 0.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/AnimatedText/AnimatedText.d.cts +3 -3
  2. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  3. package/dist/Carousel/Carousel.d.cts +2 -2
  4. package/dist/Carousel/Carousel.d.ts +2 -2
  5. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  6. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  7. package/dist/ChatFooter/components/index.d.cts +5 -5
  8. package/dist/ChatFooter/components/index.d.ts +3 -3
  9. package/dist/ChatFooter/hooks/useGetContainerProperties.cjs +1 -1
  10. package/dist/ChatFooter/hooks/useGetContainerProperties.js +1 -1
  11. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  12. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  13. package/dist/ChatHeader/components/Handle.cjs +6 -4
  14. package/dist/ChatHeader/components/Handle.js +6 -4
  15. package/dist/ChatPreview/ChatPreview.cjs +14 -5
  16. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  17. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  18. package/dist/ChatPreview/ChatPreview.js +14 -5
  19. package/dist/ChatPreview/components/Message.cjs +3 -2
  20. package/dist/ChatPreview/components/Message.js +3 -2
  21. package/dist/ChatPreview/types/types.d.cts +34 -2
  22. package/dist/ChatPreview/types/types.d.ts +34 -2
  23. package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +11 -4
  24. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  25. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  26. package/dist/ChatPreviewComparison/ChatPreviewComparison.js +11 -4
  27. package/dist/ChatPreviewComparison/components/Message.cjs +3 -2
  28. package/dist/ChatPreviewComparison/components/Message.js +3 -2
  29. package/dist/ChatPreviewComparison/types/types.d.cts +34 -1
  30. package/dist/ChatPreviewComparison/types/types.d.ts +34 -1
  31. package/dist/ChatPreviewLoading/ChatPreviewLoading.cjs +1 -1
  32. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  33. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  34. package/dist/ChatPreviewLoading/ChatPreviewLoading.js +1 -1
  35. package/dist/Container/Container.d.cts +180 -180
  36. package/dist/Container/Container.d.ts +10 -10
  37. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  38. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  39. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  40. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  41. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  42. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  43. package/dist/FloatingChat/FloatingChat.cjs +4 -8
  44. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  45. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  46. package/dist/FloatingChat/FloatingChat.js +4 -8
  47. package/dist/FloatingChat/components/AgentMessage.cjs +1 -2
  48. package/dist/FloatingChat/components/AgentMessage.js +1 -2
  49. package/dist/FloatingChat/components/ChatMessages.cjs +1 -2
  50. package/dist/FloatingChat/components/ChatMessages.js +1 -2
  51. package/dist/FloatingChat/components/ModalSheet.cjs +13 -3
  52. package/dist/FloatingChat/components/ModalSheet.js +14 -4
  53. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +2 -3
  54. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +2 -3
  55. package/dist/FloatingChat/hooks/useFilteredChatMessages.cjs +1 -1
  56. package/dist/FloatingChat/hooks/useFilteredChatMessages.js +1 -1
  57. package/dist/FloatingChat/hooks/useSnapControl.cjs +17 -16
  58. package/dist/FloatingChat/hooks/useSnapControl.js +17 -16
  59. package/dist/FloatingChat/hooks/useSnapSetup.cjs +9 -27
  60. package/dist/FloatingChat/hooks/useSnapSetup.js +10 -28
  61. package/dist/FloatingChat/snapConstants.cjs +10 -0
  62. package/dist/FloatingChat/snapConstants.js +7 -0
  63. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +5 -2
  64. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  65. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
  66. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +5 -2
  67. package/dist/FullPageSalesAgent/components/Layout.cjs +3 -1
  68. package/dist/FullPageSalesAgent/components/Layout.js +3 -1
  69. package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.cjs +2 -1
  70. package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.js +2 -1
  71. package/dist/FullPageSalesAgent/hooks/useGetMessagesStyles.cjs +10 -0
  72. package/dist/FullPageSalesAgent/hooks/useGetMessagesStyles.js +10 -0
  73. package/dist/FullPageSalesAgent/hooks/useGetScrollContentStyles.cjs +4 -2
  74. package/dist/FullPageSalesAgent/hooks/useGetScrollContentStyles.js +4 -2
  75. package/dist/Image/Image.d.cts +2 -2
  76. package/dist/Image/Image.d.ts +2 -2
  77. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  78. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  79. package/dist/MarkdownProcessor/MarkdownProcessor.cjs +2 -1
  80. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  81. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  82. package/dist/MarkdownProcessor/MarkdownProcessor.js +2 -1
  83. package/dist/ProductCard/ProductCard.cjs +8 -2
  84. package/dist/ProductCard/ProductCard.d.cts +8 -2
  85. package/dist/ProductCard/ProductCard.d.ts +8 -2
  86. package/dist/ProductCard/ProductCard.js +8 -2
  87. package/dist/ProductCard/components/Carousel.cjs +9 -3
  88. package/dist/ProductCard/components/Carousel.js +9 -3
  89. package/dist/ProductCard/types/index.d.cts +34 -0
  90. package/dist/ProductCard/types/index.d.ts +34 -0
  91. package/dist/PromptButton/PromptButton.d.cts +2 -2
  92. package/dist/PromptButton/PromptButton.d.ts +2 -2
  93. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  94. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  95. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +15 -21
  96. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +15 -21
  97. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  98. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  99. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  100. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  101. package/dist/ReviewCard/components/index.d.cts +6 -6
  102. package/dist/ReviewCard/components/index.d.ts +6 -6
  103. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  104. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +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 +4 -4
  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/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  112. package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
  113. package/dist/Stack/Stack.d.cts +2 -2
  114. package/dist/Stack/Stack.d.ts +2 -2
  115. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  116. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  117. package/dist/TypingAnimation/TypingAnimation.cjs +8 -2
  118. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  119. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  120. package/dist/TypingAnimation/TypingAnimation.js +8 -2
  121. package/dist/TypingAnimation/types/index.d.cts +28 -0
  122. package/dist/TypingAnimation/types/index.d.ts +28 -0
  123. package/dist/Typography/Typography.d.cts +4 -4
  124. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  125. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  126. package/dist/WidgetTextField/components/Icon.cjs +2 -2
  127. package/dist/WidgetTextField/components/Icon.js +2 -2
  128. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  129. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  130. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  131. package/dist/styles.css +1 -1
  132. package/package.json +3 -3
  133. package/src/components/ChatFooter/__tests__/ChatFooter.test.tsx +3 -0
  134. package/src/components/ChatFooter/hooks/useGetContainerProperties.ts +1 -1
  135. package/src/components/ChatHeader/components/Handle.tsx +14 -4
  136. package/src/components/ChatPreview/ChatPreview.tsx +27 -6
  137. package/src/components/ChatPreview/__tests__/ChatPreview.test.tsx +16 -5
  138. package/src/components/ChatPreview/components/Message.tsx +3 -1
  139. package/src/components/ChatPreview/types/types.ts +35 -2
  140. package/src/components/ChatPreviewComparison/ChatPreviewComparison.tsx +23 -6
  141. package/src/components/ChatPreviewComparison/__tests__/ChatPreviewComparison.test.tsx +16 -5
  142. package/src/components/ChatPreviewComparison/components/Message.tsx +7 -1
  143. package/src/components/ChatPreviewComparison/types/types.ts +35 -1
  144. package/src/components/FloatingChat/FloatingChat.tsx +3 -9
  145. package/src/components/FloatingChat/components/AgentMessage.tsx +0 -3
  146. package/src/components/FloatingChat/components/ChatMessages.tsx +0 -3
  147. package/src/components/FloatingChat/components/ModalSheet.tsx +18 -10
  148. package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +1 -5
  149. package/src/components/FloatingChat/hooks/useFilteredChatMessages.ts +2 -2
  150. package/src/components/FloatingChat/hooks/useScrollToBottom.ts +1 -0
  151. package/src/components/FloatingChat/hooks/useSnapControl.ts +17 -22
  152. package/src/components/FloatingChat/hooks/useSnapSetup.ts +16 -37
  153. package/src/components/FloatingChat/snapConstants.ts +7 -0
  154. package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +5 -2
  155. package/src/components/FullPageSalesAgent/components/Layout.tsx +3 -1
  156. package/src/components/FullPageSalesAgent/hooks/useGetFooterStyles.ts +7 -2
  157. package/src/components/FullPageSalesAgent/hooks/useGetMessagesStyles.ts +11 -0
  158. package/src/components/FullPageSalesAgent/hooks/useGetScrollContentStyles.ts +5 -1
  159. package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +1 -1
  160. package/src/components/Message/__tests__/Message.test.tsx +3 -3
  161. package/src/components/ProductCard/ProductCard.tsx +13 -1
  162. package/src/components/ProductCard/__tests__/ProductCard.test.tsx +73 -1
  163. package/src/components/ProductCard/components/Carousel.tsx +13 -1
  164. package/src/components/ProductCard/types/index.ts +34 -0
  165. package/src/components/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.tsx +12 -9
  166. package/src/components/TypingAnimation/TypingAnimation.tsx +22 -7
  167. package/src/components/TypingAnimation/types/index.ts +29 -0
  168. package/src/components/WidgetTextField/components/Icon.tsx +2 -2
@@ -86,12 +86,12 @@ export const Icon = ({ variant, theme, textColor }: IconProps) => {
86
86
  }
87
87
  return (
88
88
  <CustomIcon
89
- IconComponent={<SendMinimalist />}
89
+ IconComponent={<SvgSendModern />}
90
90
  className="envive-tw-h-6 envive-tw-w-6"
91
91
  stroke={
92
92
  textColor !== TypographyColor.TEXT_SECONDARY
93
93
  ? `var(--envive-colors-${textColor})`
94
- : 'var(--envive-colors-text-light)'
94
+ : 'var(--envive-colors-border-medium)'
95
95
  }
96
96
  />
97
97
  );