@envive-ai/react-toolkit-v3 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) 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.ts +2 -2
  4. package/dist/Carousel/Carousel.d.cts +2 -2
  5. package/dist/Carousel/Carousel.d.ts +2 -2
  6. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  7. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  8. package/dist/ChatFooter/components/index.d.cts +3 -3
  9. package/dist/ChatFooter/components/index.d.ts +5 -5
  10. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  11. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  12. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  13. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  14. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  15. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  16. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  17. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  18. package/dist/Container/Container.d.cts +173 -173
  19. package/dist/Container/Container.d.ts +173 -173
  20. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  21. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  22. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  23. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  24. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  25. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  26. package/dist/FloatingChat/FloatingChat.cjs +7 -3
  27. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  28. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  29. package/dist/FloatingChat/FloatingChat.js +7 -3
  30. package/dist/FloatingChat/components/AgentMessage.cjs +2 -2
  31. package/dist/FloatingChat/components/AgentMessage.js +2 -2
  32. package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
  33. package/dist/FloatingChat/components/ChatMessages.js +1 -1
  34. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  35. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
  36. package/dist/Image/Image.d.cts +2 -2
  37. package/dist/Image/Image.d.ts +2 -2
  38. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  39. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  40. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  41. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  42. package/dist/Message/components/AgentHeader.cjs +6 -2
  43. package/dist/Message/components/AgentHeader.js +6 -2
  44. package/dist/Message/components/index.cjs +1 -1
  45. package/dist/Message/components/index.js +1 -1
  46. package/dist/ProductCard/ProductCard.d.cts +2 -2
  47. package/dist/ProductCard/ProductCard.d.ts +2 -2
  48. package/dist/PromptButton/PromptButton.d.cts +2 -2
  49. package/dist/PromptButton/PromptButton.d.ts +2 -2
  50. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  51. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  52. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  53. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  54. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  55. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  56. package/dist/ReviewCard/components/index.d.cts +6 -6
  57. package/dist/ReviewCard/components/index.d.ts +6 -6
  58. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  59. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  60. package/dist/SalesAgentProductCard/components/index.d.cts +6 -6
  61. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  62. package/dist/SocialProof/SocialProof.d.cts +2 -2
  63. package/dist/SocialProof/SocialProof.d.ts +2 -2
  64. package/dist/SparkleAnimation/SparkleAnimation.cjs +107 -0
  65. package/dist/SparkleAnimation/SparkleAnimation.d.cts +15 -0
  66. package/dist/SparkleAnimation/SparkleAnimation.d.ts +15 -0
  67. package/dist/SparkleAnimation/SparkleAnimation.js +105 -0
  68. package/dist/SparkleAnimation/index.cjs +5 -0
  69. package/dist/SparkleAnimation/index.d.cts +3 -0
  70. package/dist/SparkleAnimation/index.d.ts +3 -0
  71. package/dist/SparkleAnimation/index.js +4 -0
  72. package/dist/SparkleAnimation/types.cjs +12 -0
  73. package/dist/SparkleAnimation/types.d.cts +9 -0
  74. package/dist/SparkleAnimation/types.d.ts +9 -0
  75. package/dist/SparkleAnimation/types.js +11 -0
  76. package/dist/Stack/Stack.d.cts +2 -2
  77. package/dist/Stack/Stack.d.ts +2 -2
  78. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  79. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  80. package/dist/TypingAnimation/TypingAnimation.cjs +3 -1
  81. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  82. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  83. package/dist/TypingAnimation/TypingAnimation.js +3 -1
  84. package/dist/TypingAnimation/types/index.d.cts +8 -0
  85. package/dist/TypingAnimation/types/index.d.ts +8 -0
  86. package/dist/Typography/Typography.d.ts +4 -4
  87. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  88. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  89. package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +1 -1
  90. package/dist/WidgetTextField/hooks/useGetContainerProperties.js +1 -1
  91. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  92. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  93. package/dist/styles.css +1 -1
  94. package/package.json +5 -1
  95. package/src/components/FloatingChat/FloatingChat.tsx +6 -0
  96. package/src/components/FloatingChat/components/AgentMessage.tsx +3 -1
  97. package/src/components/FloatingChat/components/ChatMessages.tsx +1 -1
  98. package/src/components/Message/components/AgentHeader.tsx +7 -2
  99. package/src/components/SparkleAnimation/SparkleAnimation.tsx +102 -0
  100. package/src/components/SparkleAnimation/index.ts +2 -0
  101. package/src/components/SparkleAnimation/types.ts +6 -0
  102. package/src/components/TypingAnimation/TypingAnimation.tsx +4 -0
  103. package/src/components/TypingAnimation/types/index.ts +10 -0
  104. package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { ContainerProps } from "./types/index.js";
2
- import * as react10 from "react";
2
+ import * as react7 from "react";
3
3
 
4
4
  //#region src/components/Container/Container.d.ts
5
5
 
@@ -17,7 +17,9 @@ declare const Container: ({
17
17
  fluid,
18
18
  centerContent,
19
19
  ...props
20
- }: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react10.DetailedReactHTMLElement<{
20
+ }: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react7.DetailedReactHTMLElement<{
21
+ color?: string | undefined;
22
+ onClick?: react7.MouseEventHandler<HTMLElement>;
21
23
  defaultChecked?: boolean | undefined;
22
24
  defaultValue?: string | number | readonly string[] | undefined;
23
25
  suppressContentEditableWarning?: boolean | undefined;
@@ -39,7 +41,7 @@ declare const Container: ({
39
41
  title?: string | undefined;
40
42
  translate?: "yes" | "no" | undefined;
41
43
  radioGroup?: string | undefined;
42
- role?: react10.AriaRole | undefined;
44
+ role?: react7.AriaRole | undefined;
43
45
  about?: string | undefined;
44
46
  content?: string | undefined;
45
47
  datatype?: string | undefined;
@@ -53,7 +55,6 @@ declare const Container: ({
53
55
  vocab?: string | undefined;
54
56
  autoCorrect?: string | undefined;
55
57
  autoSave?: string | undefined;
56
- color?: string | undefined;
57
58
  itemProp?: string | undefined;
58
59
  itemScope?: boolean | undefined;
59
60
  itemType?: string | undefined;
@@ -126,176 +127,175 @@ declare const Container: ({
126
127
  dangerouslySetInnerHTML?: {
127
128
  __html: string | TrustedHTML;
128
129
  } | undefined;
129
- onCopy?: react10.ClipboardEventHandler<HTMLElement>;
130
- onCopyCapture?: react10.ClipboardEventHandler<HTMLElement>;
131
- onCut?: react10.ClipboardEventHandler<HTMLElement>;
132
- onCutCapture?: react10.ClipboardEventHandler<HTMLElement>;
133
- onPaste?: react10.ClipboardEventHandler<HTMLElement>;
134
- onPasteCapture?: react10.ClipboardEventHandler<HTMLElement>;
135
- onCompositionEnd?: react10.CompositionEventHandler<HTMLElement>;
136
- onCompositionEndCapture?: react10.CompositionEventHandler<HTMLElement>;
137
- onCompositionStart?: react10.CompositionEventHandler<HTMLElement>;
138
- onCompositionStartCapture?: react10.CompositionEventHandler<HTMLElement>;
139
- onCompositionUpdate?: react10.CompositionEventHandler<HTMLElement>;
140
- onCompositionUpdateCapture?: react10.CompositionEventHandler<HTMLElement>;
141
- onFocus?: react10.FocusEventHandler<HTMLElement>;
142
- onFocusCapture?: react10.FocusEventHandler<HTMLElement>;
143
- onBlur?: react10.FocusEventHandler<HTMLElement>;
144
- onBlurCapture?: react10.FocusEventHandler<HTMLElement>;
145
- onChange?: react10.FormEventHandler<HTMLElement>;
146
- onChangeCapture?: react10.FormEventHandler<HTMLElement>;
147
- onBeforeInput?: react10.InputEventHandler<HTMLElement>;
148
- onBeforeInputCapture?: react10.FormEventHandler<HTMLElement>;
149
- onInput?: react10.FormEventHandler<HTMLElement>;
150
- onInputCapture?: react10.FormEventHandler<HTMLElement>;
151
- onReset?: react10.FormEventHandler<HTMLElement>;
152
- onResetCapture?: react10.FormEventHandler<HTMLElement>;
153
- onSubmit?: react10.FormEventHandler<HTMLElement>;
154
- onSubmitCapture?: react10.FormEventHandler<HTMLElement>;
155
- onInvalid?: react10.FormEventHandler<HTMLElement>;
156
- onInvalidCapture?: react10.FormEventHandler<HTMLElement>;
157
- onLoad?: react10.ReactEventHandler<HTMLElement>;
158
- onLoadCapture?: react10.ReactEventHandler<HTMLElement>;
159
- onError?: react10.ReactEventHandler<HTMLElement>;
160
- onErrorCapture?: react10.ReactEventHandler<HTMLElement>;
161
- onKeyDown?: react10.KeyboardEventHandler<HTMLElement>;
162
- onKeyDownCapture?: react10.KeyboardEventHandler<HTMLElement>;
163
- onKeyPress?: react10.KeyboardEventHandler<HTMLElement>;
164
- onKeyPressCapture?: react10.KeyboardEventHandler<HTMLElement>;
165
- onKeyUp?: react10.KeyboardEventHandler<HTMLElement>;
166
- onKeyUpCapture?: react10.KeyboardEventHandler<HTMLElement>;
167
- onAbort?: react10.ReactEventHandler<HTMLElement>;
168
- onAbortCapture?: react10.ReactEventHandler<HTMLElement>;
169
- onCanPlay?: react10.ReactEventHandler<HTMLElement>;
170
- onCanPlayCapture?: react10.ReactEventHandler<HTMLElement>;
171
- onCanPlayThrough?: react10.ReactEventHandler<HTMLElement>;
172
- onCanPlayThroughCapture?: react10.ReactEventHandler<HTMLElement>;
173
- onDurationChange?: react10.ReactEventHandler<HTMLElement>;
174
- onDurationChangeCapture?: react10.ReactEventHandler<HTMLElement>;
175
- onEmptied?: react10.ReactEventHandler<HTMLElement>;
176
- onEmptiedCapture?: react10.ReactEventHandler<HTMLElement>;
177
- onEncrypted?: react10.ReactEventHandler<HTMLElement>;
178
- onEncryptedCapture?: react10.ReactEventHandler<HTMLElement>;
179
- onEnded?: react10.ReactEventHandler<HTMLElement>;
180
- onEndedCapture?: react10.ReactEventHandler<HTMLElement>;
181
- onLoadedData?: react10.ReactEventHandler<HTMLElement>;
182
- onLoadedDataCapture?: react10.ReactEventHandler<HTMLElement>;
183
- onLoadedMetadata?: react10.ReactEventHandler<HTMLElement>;
184
- onLoadedMetadataCapture?: react10.ReactEventHandler<HTMLElement>;
185
- onLoadStart?: react10.ReactEventHandler<HTMLElement>;
186
- onLoadStartCapture?: react10.ReactEventHandler<HTMLElement>;
187
- onPause?: react10.ReactEventHandler<HTMLElement>;
188
- onPauseCapture?: react10.ReactEventHandler<HTMLElement>;
189
- onPlay?: react10.ReactEventHandler<HTMLElement>;
190
- onPlayCapture?: react10.ReactEventHandler<HTMLElement>;
191
- onPlaying?: react10.ReactEventHandler<HTMLElement>;
192
- onPlayingCapture?: react10.ReactEventHandler<HTMLElement>;
193
- onProgress?: react10.ReactEventHandler<HTMLElement>;
194
- onProgressCapture?: react10.ReactEventHandler<HTMLElement>;
195
- onRateChange?: react10.ReactEventHandler<HTMLElement>;
196
- onRateChangeCapture?: react10.ReactEventHandler<HTMLElement>;
197
- onSeeked?: react10.ReactEventHandler<HTMLElement>;
198
- onSeekedCapture?: react10.ReactEventHandler<HTMLElement>;
199
- onSeeking?: react10.ReactEventHandler<HTMLElement>;
200
- onSeekingCapture?: react10.ReactEventHandler<HTMLElement>;
201
- onStalled?: react10.ReactEventHandler<HTMLElement>;
202
- onStalledCapture?: react10.ReactEventHandler<HTMLElement>;
203
- onSuspend?: react10.ReactEventHandler<HTMLElement>;
204
- onSuspendCapture?: react10.ReactEventHandler<HTMLElement>;
205
- onTimeUpdate?: react10.ReactEventHandler<HTMLElement>;
206
- onTimeUpdateCapture?: react10.ReactEventHandler<HTMLElement>;
207
- onVolumeChange?: react10.ReactEventHandler<HTMLElement>;
208
- onVolumeChangeCapture?: react10.ReactEventHandler<HTMLElement>;
209
- onWaiting?: react10.ReactEventHandler<HTMLElement>;
210
- onWaitingCapture?: react10.ReactEventHandler<HTMLElement>;
211
- onAuxClick?: react10.MouseEventHandler<HTMLElement>;
212
- onAuxClickCapture?: react10.MouseEventHandler<HTMLElement>;
213
- onClick?: react10.MouseEventHandler<HTMLElement>;
214
- onClickCapture?: react10.MouseEventHandler<HTMLElement>;
215
- onContextMenu?: react10.MouseEventHandler<HTMLElement>;
216
- onContextMenuCapture?: react10.MouseEventHandler<HTMLElement>;
217
- onDoubleClick?: react10.MouseEventHandler<HTMLElement>;
218
- onDoubleClickCapture?: react10.MouseEventHandler<HTMLElement>;
219
- onDrag?: react10.DragEventHandler<HTMLElement>;
220
- onDragCapture?: react10.DragEventHandler<HTMLElement>;
221
- onDragEnd?: react10.DragEventHandler<HTMLElement>;
222
- onDragEndCapture?: react10.DragEventHandler<HTMLElement>;
223
- onDragEnter?: react10.DragEventHandler<HTMLElement>;
224
- onDragEnterCapture?: react10.DragEventHandler<HTMLElement>;
225
- onDragExit?: react10.DragEventHandler<HTMLElement>;
226
- onDragExitCapture?: react10.DragEventHandler<HTMLElement>;
227
- onDragLeave?: react10.DragEventHandler<HTMLElement>;
228
- onDragLeaveCapture?: react10.DragEventHandler<HTMLElement>;
229
- onDragOver?: react10.DragEventHandler<HTMLElement>;
230
- onDragOverCapture?: react10.DragEventHandler<HTMLElement>;
231
- onDragStart?: react10.DragEventHandler<HTMLElement>;
232
- onDragStartCapture?: react10.DragEventHandler<HTMLElement>;
233
- onDrop?: react10.DragEventHandler<HTMLElement>;
234
- onDropCapture?: react10.DragEventHandler<HTMLElement>;
235
- onMouseDown?: react10.MouseEventHandler<HTMLElement>;
236
- onMouseDownCapture?: react10.MouseEventHandler<HTMLElement>;
237
- onMouseEnter?: react10.MouseEventHandler<HTMLElement>;
238
- onMouseLeave?: react10.MouseEventHandler<HTMLElement>;
239
- onMouseMove?: react10.MouseEventHandler<HTMLElement>;
240
- onMouseMoveCapture?: react10.MouseEventHandler<HTMLElement>;
241
- onMouseOut?: react10.MouseEventHandler<HTMLElement>;
242
- onMouseOutCapture?: react10.MouseEventHandler<HTMLElement>;
243
- onMouseOver?: react10.MouseEventHandler<HTMLElement>;
244
- onMouseOverCapture?: react10.MouseEventHandler<HTMLElement>;
245
- onMouseUp?: react10.MouseEventHandler<HTMLElement>;
246
- onMouseUpCapture?: react10.MouseEventHandler<HTMLElement>;
247
- onSelect?: react10.ReactEventHandler<HTMLElement>;
248
- onSelectCapture?: react10.ReactEventHandler<HTMLElement>;
249
- onTouchCancel?: react10.TouchEventHandler<HTMLElement>;
250
- onTouchCancelCapture?: react10.TouchEventHandler<HTMLElement>;
251
- onTouchEnd?: react10.TouchEventHandler<HTMLElement>;
252
- onTouchEndCapture?: react10.TouchEventHandler<HTMLElement>;
253
- onTouchMove?: react10.TouchEventHandler<HTMLElement>;
254
- onTouchMoveCapture?: react10.TouchEventHandler<HTMLElement>;
255
- onTouchStart?: react10.TouchEventHandler<HTMLElement>;
256
- onTouchStartCapture?: react10.TouchEventHandler<HTMLElement>;
257
- onPointerDown?: react10.PointerEventHandler<HTMLElement>;
258
- onPointerDownCapture?: react10.PointerEventHandler<HTMLElement>;
259
- onPointerMove?: react10.PointerEventHandler<HTMLElement>;
260
- onPointerMoveCapture?: react10.PointerEventHandler<HTMLElement>;
261
- onPointerUp?: react10.PointerEventHandler<HTMLElement>;
262
- onPointerUpCapture?: react10.PointerEventHandler<HTMLElement>;
263
- onPointerCancel?: react10.PointerEventHandler<HTMLElement>;
264
- onPointerCancelCapture?: react10.PointerEventHandler<HTMLElement>;
265
- onPointerEnter?: react10.PointerEventHandler<HTMLElement>;
266
- onPointerLeave?: react10.PointerEventHandler<HTMLElement>;
267
- onPointerOver?: react10.PointerEventHandler<HTMLElement>;
268
- onPointerOverCapture?: react10.PointerEventHandler<HTMLElement>;
269
- onPointerOut?: react10.PointerEventHandler<HTMLElement>;
270
- onPointerOutCapture?: react10.PointerEventHandler<HTMLElement>;
271
- onGotPointerCapture?: react10.PointerEventHandler<HTMLElement>;
272
- onGotPointerCaptureCapture?: react10.PointerEventHandler<HTMLElement>;
273
- onLostPointerCapture?: react10.PointerEventHandler<HTMLElement>;
274
- onLostPointerCaptureCapture?: react10.PointerEventHandler<HTMLElement>;
275
- onScroll?: react10.UIEventHandler<HTMLElement>;
276
- onScrollCapture?: react10.UIEventHandler<HTMLElement>;
277
- onScrollEnd?: react10.UIEventHandler<HTMLElement>;
278
- onScrollEndCapture?: react10.UIEventHandler<HTMLElement>;
279
- onWheel?: react10.WheelEventHandler<HTMLElement>;
280
- onWheelCapture?: react10.WheelEventHandler<HTMLElement>;
281
- onAnimationStart?: react10.AnimationEventHandler<HTMLElement>;
282
- onAnimationStartCapture?: react10.AnimationEventHandler<HTMLElement>;
283
- onAnimationEnd?: react10.AnimationEventHandler<HTMLElement>;
284
- onAnimationEndCapture?: react10.AnimationEventHandler<HTMLElement>;
285
- onAnimationIteration?: react10.AnimationEventHandler<HTMLElement>;
286
- onAnimationIterationCapture?: react10.AnimationEventHandler<HTMLElement>;
287
- onToggle?: react10.ToggleEventHandler<HTMLElement>;
288
- onBeforeToggle?: react10.ToggleEventHandler<HTMLElement>;
289
- onTransitionCancel?: react10.TransitionEventHandler<HTMLElement>;
290
- onTransitionCancelCapture?: react10.TransitionEventHandler<HTMLElement>;
291
- onTransitionEnd?: react10.TransitionEventHandler<HTMLElement>;
292
- onTransitionEndCapture?: react10.TransitionEventHandler<HTMLElement>;
293
- onTransitionRun?: react10.TransitionEventHandler<HTMLElement>;
294
- onTransitionRunCapture?: react10.TransitionEventHandler<HTMLElement>;
295
- onTransitionStart?: react10.TransitionEventHandler<HTMLElement>;
296
- onTransitionStartCapture?: react10.TransitionEventHandler<HTMLElement>;
130
+ onCopy?: react7.ClipboardEventHandler<HTMLElement>;
131
+ onCopyCapture?: react7.ClipboardEventHandler<HTMLElement>;
132
+ onCut?: react7.ClipboardEventHandler<HTMLElement>;
133
+ onCutCapture?: react7.ClipboardEventHandler<HTMLElement>;
134
+ onPaste?: react7.ClipboardEventHandler<HTMLElement>;
135
+ onPasteCapture?: react7.ClipboardEventHandler<HTMLElement>;
136
+ onCompositionEnd?: react7.CompositionEventHandler<HTMLElement>;
137
+ onCompositionEndCapture?: react7.CompositionEventHandler<HTMLElement>;
138
+ onCompositionStart?: react7.CompositionEventHandler<HTMLElement>;
139
+ onCompositionStartCapture?: react7.CompositionEventHandler<HTMLElement>;
140
+ onCompositionUpdate?: react7.CompositionEventHandler<HTMLElement>;
141
+ onCompositionUpdateCapture?: react7.CompositionEventHandler<HTMLElement>;
142
+ onFocus?: react7.FocusEventHandler<HTMLElement>;
143
+ onFocusCapture?: react7.FocusEventHandler<HTMLElement>;
144
+ onBlur?: react7.FocusEventHandler<HTMLElement>;
145
+ onBlurCapture?: react7.FocusEventHandler<HTMLElement>;
146
+ onChange?: react7.FormEventHandler<HTMLElement>;
147
+ onChangeCapture?: react7.FormEventHandler<HTMLElement>;
148
+ onBeforeInput?: react7.InputEventHandler<HTMLElement>;
149
+ onBeforeInputCapture?: react7.FormEventHandler<HTMLElement>;
150
+ onInput?: react7.FormEventHandler<HTMLElement>;
151
+ onInputCapture?: react7.FormEventHandler<HTMLElement>;
152
+ onReset?: react7.FormEventHandler<HTMLElement>;
153
+ onResetCapture?: react7.FormEventHandler<HTMLElement>;
154
+ onSubmit?: react7.FormEventHandler<HTMLElement>;
155
+ onSubmitCapture?: react7.FormEventHandler<HTMLElement>;
156
+ onInvalid?: react7.FormEventHandler<HTMLElement>;
157
+ onInvalidCapture?: react7.FormEventHandler<HTMLElement>;
158
+ onLoad?: react7.ReactEventHandler<HTMLElement>;
159
+ onLoadCapture?: react7.ReactEventHandler<HTMLElement>;
160
+ onError?: react7.ReactEventHandler<HTMLElement>;
161
+ onErrorCapture?: react7.ReactEventHandler<HTMLElement>;
162
+ onKeyDown?: react7.KeyboardEventHandler<HTMLElement>;
163
+ onKeyDownCapture?: react7.KeyboardEventHandler<HTMLElement>;
164
+ onKeyPress?: react7.KeyboardEventHandler<HTMLElement>;
165
+ onKeyPressCapture?: react7.KeyboardEventHandler<HTMLElement>;
166
+ onKeyUp?: react7.KeyboardEventHandler<HTMLElement>;
167
+ onKeyUpCapture?: react7.KeyboardEventHandler<HTMLElement>;
168
+ onAbort?: react7.ReactEventHandler<HTMLElement>;
169
+ onAbortCapture?: react7.ReactEventHandler<HTMLElement>;
170
+ onCanPlay?: react7.ReactEventHandler<HTMLElement>;
171
+ onCanPlayCapture?: react7.ReactEventHandler<HTMLElement>;
172
+ onCanPlayThrough?: react7.ReactEventHandler<HTMLElement>;
173
+ onCanPlayThroughCapture?: react7.ReactEventHandler<HTMLElement>;
174
+ onDurationChange?: react7.ReactEventHandler<HTMLElement>;
175
+ onDurationChangeCapture?: react7.ReactEventHandler<HTMLElement>;
176
+ onEmptied?: react7.ReactEventHandler<HTMLElement>;
177
+ onEmptiedCapture?: react7.ReactEventHandler<HTMLElement>;
178
+ onEncrypted?: react7.ReactEventHandler<HTMLElement>;
179
+ onEncryptedCapture?: react7.ReactEventHandler<HTMLElement>;
180
+ onEnded?: react7.ReactEventHandler<HTMLElement>;
181
+ onEndedCapture?: react7.ReactEventHandler<HTMLElement>;
182
+ onLoadedData?: react7.ReactEventHandler<HTMLElement>;
183
+ onLoadedDataCapture?: react7.ReactEventHandler<HTMLElement>;
184
+ onLoadedMetadata?: react7.ReactEventHandler<HTMLElement>;
185
+ onLoadedMetadataCapture?: react7.ReactEventHandler<HTMLElement>;
186
+ onLoadStart?: react7.ReactEventHandler<HTMLElement>;
187
+ onLoadStartCapture?: react7.ReactEventHandler<HTMLElement>;
188
+ onPause?: react7.ReactEventHandler<HTMLElement>;
189
+ onPauseCapture?: react7.ReactEventHandler<HTMLElement>;
190
+ onPlay?: react7.ReactEventHandler<HTMLElement>;
191
+ onPlayCapture?: react7.ReactEventHandler<HTMLElement>;
192
+ onPlaying?: react7.ReactEventHandler<HTMLElement>;
193
+ onPlayingCapture?: react7.ReactEventHandler<HTMLElement>;
194
+ onProgress?: react7.ReactEventHandler<HTMLElement>;
195
+ onProgressCapture?: react7.ReactEventHandler<HTMLElement>;
196
+ onRateChange?: react7.ReactEventHandler<HTMLElement>;
197
+ onRateChangeCapture?: react7.ReactEventHandler<HTMLElement>;
198
+ onSeeked?: react7.ReactEventHandler<HTMLElement>;
199
+ onSeekedCapture?: react7.ReactEventHandler<HTMLElement>;
200
+ onSeeking?: react7.ReactEventHandler<HTMLElement>;
201
+ onSeekingCapture?: react7.ReactEventHandler<HTMLElement>;
202
+ onStalled?: react7.ReactEventHandler<HTMLElement>;
203
+ onStalledCapture?: react7.ReactEventHandler<HTMLElement>;
204
+ onSuspend?: react7.ReactEventHandler<HTMLElement>;
205
+ onSuspendCapture?: react7.ReactEventHandler<HTMLElement>;
206
+ onTimeUpdate?: react7.ReactEventHandler<HTMLElement>;
207
+ onTimeUpdateCapture?: react7.ReactEventHandler<HTMLElement>;
208
+ onVolumeChange?: react7.ReactEventHandler<HTMLElement>;
209
+ onVolumeChangeCapture?: react7.ReactEventHandler<HTMLElement>;
210
+ onWaiting?: react7.ReactEventHandler<HTMLElement>;
211
+ onWaitingCapture?: react7.ReactEventHandler<HTMLElement>;
212
+ onAuxClick?: react7.MouseEventHandler<HTMLElement>;
213
+ onAuxClickCapture?: react7.MouseEventHandler<HTMLElement>;
214
+ onClickCapture?: react7.MouseEventHandler<HTMLElement>;
215
+ onContextMenu?: react7.MouseEventHandler<HTMLElement>;
216
+ onContextMenuCapture?: react7.MouseEventHandler<HTMLElement>;
217
+ onDoubleClick?: react7.MouseEventHandler<HTMLElement>;
218
+ onDoubleClickCapture?: react7.MouseEventHandler<HTMLElement>;
219
+ onDrag?: react7.DragEventHandler<HTMLElement>;
220
+ onDragCapture?: react7.DragEventHandler<HTMLElement>;
221
+ onDragEnd?: react7.DragEventHandler<HTMLElement>;
222
+ onDragEndCapture?: react7.DragEventHandler<HTMLElement>;
223
+ onDragEnter?: react7.DragEventHandler<HTMLElement>;
224
+ onDragEnterCapture?: react7.DragEventHandler<HTMLElement>;
225
+ onDragExit?: react7.DragEventHandler<HTMLElement>;
226
+ onDragExitCapture?: react7.DragEventHandler<HTMLElement>;
227
+ onDragLeave?: react7.DragEventHandler<HTMLElement>;
228
+ onDragLeaveCapture?: react7.DragEventHandler<HTMLElement>;
229
+ onDragOver?: react7.DragEventHandler<HTMLElement>;
230
+ onDragOverCapture?: react7.DragEventHandler<HTMLElement>;
231
+ onDragStart?: react7.DragEventHandler<HTMLElement>;
232
+ onDragStartCapture?: react7.DragEventHandler<HTMLElement>;
233
+ onDrop?: react7.DragEventHandler<HTMLElement>;
234
+ onDropCapture?: react7.DragEventHandler<HTMLElement>;
235
+ onMouseDown?: react7.MouseEventHandler<HTMLElement>;
236
+ onMouseDownCapture?: react7.MouseEventHandler<HTMLElement>;
237
+ onMouseEnter?: react7.MouseEventHandler<HTMLElement>;
238
+ onMouseLeave?: react7.MouseEventHandler<HTMLElement>;
239
+ onMouseMove?: react7.MouseEventHandler<HTMLElement>;
240
+ onMouseMoveCapture?: react7.MouseEventHandler<HTMLElement>;
241
+ onMouseOut?: react7.MouseEventHandler<HTMLElement>;
242
+ onMouseOutCapture?: react7.MouseEventHandler<HTMLElement>;
243
+ onMouseOver?: react7.MouseEventHandler<HTMLElement>;
244
+ onMouseOverCapture?: react7.MouseEventHandler<HTMLElement>;
245
+ onMouseUp?: react7.MouseEventHandler<HTMLElement>;
246
+ onMouseUpCapture?: react7.MouseEventHandler<HTMLElement>;
247
+ onSelect?: react7.ReactEventHandler<HTMLElement>;
248
+ onSelectCapture?: react7.ReactEventHandler<HTMLElement>;
249
+ onTouchCancel?: react7.TouchEventHandler<HTMLElement>;
250
+ onTouchCancelCapture?: react7.TouchEventHandler<HTMLElement>;
251
+ onTouchEnd?: react7.TouchEventHandler<HTMLElement>;
252
+ onTouchEndCapture?: react7.TouchEventHandler<HTMLElement>;
253
+ onTouchMove?: react7.TouchEventHandler<HTMLElement>;
254
+ onTouchMoveCapture?: react7.TouchEventHandler<HTMLElement>;
255
+ onTouchStart?: react7.TouchEventHandler<HTMLElement>;
256
+ onTouchStartCapture?: react7.TouchEventHandler<HTMLElement>;
257
+ onPointerDown?: react7.PointerEventHandler<HTMLElement>;
258
+ onPointerDownCapture?: react7.PointerEventHandler<HTMLElement>;
259
+ onPointerMove?: react7.PointerEventHandler<HTMLElement>;
260
+ onPointerMoveCapture?: react7.PointerEventHandler<HTMLElement>;
261
+ onPointerUp?: react7.PointerEventHandler<HTMLElement>;
262
+ onPointerUpCapture?: react7.PointerEventHandler<HTMLElement>;
263
+ onPointerCancel?: react7.PointerEventHandler<HTMLElement>;
264
+ onPointerCancelCapture?: react7.PointerEventHandler<HTMLElement>;
265
+ onPointerEnter?: react7.PointerEventHandler<HTMLElement>;
266
+ onPointerLeave?: react7.PointerEventHandler<HTMLElement>;
267
+ onPointerOver?: react7.PointerEventHandler<HTMLElement>;
268
+ onPointerOverCapture?: react7.PointerEventHandler<HTMLElement>;
269
+ onPointerOut?: react7.PointerEventHandler<HTMLElement>;
270
+ onPointerOutCapture?: react7.PointerEventHandler<HTMLElement>;
271
+ onGotPointerCapture?: react7.PointerEventHandler<HTMLElement>;
272
+ onGotPointerCaptureCapture?: react7.PointerEventHandler<HTMLElement>;
273
+ onLostPointerCapture?: react7.PointerEventHandler<HTMLElement>;
274
+ onLostPointerCaptureCapture?: react7.PointerEventHandler<HTMLElement>;
275
+ onScroll?: react7.UIEventHandler<HTMLElement>;
276
+ onScrollCapture?: react7.UIEventHandler<HTMLElement>;
277
+ onScrollEnd?: react7.UIEventHandler<HTMLElement>;
278
+ onScrollEndCapture?: react7.UIEventHandler<HTMLElement>;
279
+ onWheel?: react7.WheelEventHandler<HTMLElement>;
280
+ onWheelCapture?: react7.WheelEventHandler<HTMLElement>;
281
+ onAnimationStart?: react7.AnimationEventHandler<HTMLElement>;
282
+ onAnimationStartCapture?: react7.AnimationEventHandler<HTMLElement>;
283
+ onAnimationEnd?: react7.AnimationEventHandler<HTMLElement>;
284
+ onAnimationEndCapture?: react7.AnimationEventHandler<HTMLElement>;
285
+ onAnimationIteration?: react7.AnimationEventHandler<HTMLElement>;
286
+ onAnimationIterationCapture?: react7.AnimationEventHandler<HTMLElement>;
287
+ onToggle?: react7.ToggleEventHandler<HTMLElement>;
288
+ onBeforeToggle?: react7.ToggleEventHandler<HTMLElement>;
289
+ onTransitionCancel?: react7.TransitionEventHandler<HTMLElement>;
290
+ onTransitionCancelCapture?: react7.TransitionEventHandler<HTMLElement>;
291
+ onTransitionEnd?: react7.TransitionEventHandler<HTMLElement>;
292
+ onTransitionEndCapture?: react7.TransitionEventHandler<HTMLElement>;
293
+ onTransitionRun?: react7.TransitionEventHandler<HTMLElement>;
294
+ onTransitionRunCapture?: react7.TransitionEventHandler<HTMLElement>;
295
+ onTransitionStart?: react7.TransitionEventHandler<HTMLElement>;
296
+ onTransitionStartCapture?: react7.TransitionEventHandler<HTMLElement>;
297
297
  className: string;
298
- style: react10.CSSProperties;
298
+ style: react7.CSSProperties;
299
299
  id: string;
300
300
  'data-testid': string;
301
301
  }, HTMLElement>;
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime19 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime18 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_runtime19.JSX.Element;
12
+ }: DesignTokensProps) => react_jsx_runtime18.JSX.Element;
13
13
  //#endregion
14
14
  export { DesignTokens, DesignTokensProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime34 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 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_runtime34.JSX.Element;
12
+ }: DesignTokensProps) => react_jsx_runtime28.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_runtime23 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime26 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_runtime23.JSX.Element;
19
+ }: DocumentRetrievalCardProps) => react_jsx_runtime26.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_runtime31 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 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_runtime31.JSX.Element;
19
+ }: DocumentRetrievalCardProps) => react_jsx_runtime23.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_runtime21 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FloatingButton/FloatingButton.d.ts
5
5
  declare const FloatingButton: ({
@@ -17,6 +17,6 @@ declare const FloatingButton: ({
17
17
  onClick,
18
18
  ariaLabel,
19
19
  previewMode
20
- }: FloatingButtonProps) => react_jsx_runtime21.JSX.Element;
20
+ }: FloatingButtonProps) => react_jsx_runtime24.JSX.Element;
21
21
  //#endregion
22
22
  export { FloatingButton };
@@ -1,5 +1,5 @@
1
1
  import { FloatingButtonProps } from "./types/types.js";
2
- import * as react_jsx_runtime22 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FloatingButton/FloatingButton.d.ts
5
5
  declare const FloatingButton: ({
@@ -17,6 +17,6 @@ declare const FloatingButton: ({
17
17
  onClick,
18
18
  ariaLabel,
19
19
  previewMode
20
- }: FloatingButtonProps) => react_jsx_runtime22.JSX.Element;
20
+ }: FloatingButtonProps) => react_jsx_runtime24.JSX.Element;
21
21
  //#endregion
22
22
  export { FloatingButton };
@@ -32,7 +32,7 @@ const FloatingChat = ({ id, className, style, testId, theme = require_theme.Them
32
32
  const [query, setQuery] = (0, react.useState)("");
33
33
  const chatMessagesRef = (0, react.useRef)(null);
34
34
  const { headerBackgroundColor, headerMode, welcomeMessageIconColor, showVerifiedBuyer, userQueryInputEnabled = true, showEnviveLogo, ignoreFirstModelResponse, neverShowSingleProductCards, partialViewConfig } = floatingChatConfig;
35
- const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText } = hardcopyContent?.values ?? {};
35
+ const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText, leftToggleLabel, rightToggleLabel } = hardcopyContent?.values ?? {};
36
36
  const { agentName, chatHeaderLogoDarkSrc, chatHeaderLogoLightSrc } = lookAndFeelConfig;
37
37
  const { messages, isResponseStreaming, isPendingResponse, suggestions, onSuggestionClicked, onTypedMessageSubmitted, onFormResponseSubmitted } = salesAgentData;
38
38
  const { answerSuggestions, generalSuggestions, showAnswerSuggestions, setAnswerSuggestions, setGeneralSuggestions } = require_useChatSuggestions.useChatSuggestions({
@@ -82,7 +82,9 @@ const FloatingChat = ({ id, className, style, testId, theme = require_theme.Them
82
82
  showHandle: false,
83
83
  theme: finalTheme,
84
84
  variant: headerMode,
85
- headerBgColor: headerBackgroundColor
85
+ headerBgColor: headerBackgroundColor,
86
+ leftToggleLabel,
87
+ rightToggleLabel
86
88
  });
87
89
  const mobileHeader = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
88
90
  style: {
@@ -100,7 +102,9 @@ const FloatingChat = ({ id, className, style, testId, theme = require_theme.Them
100
102
  centralizeCXToggle: true,
101
103
  selectedOption: require_index.ChatHeaderOptions.ASSISTANT,
102
104
  onToggle: handleToggleCXButton,
103
- onClose
105
+ onClose,
106
+ leftToggleLabel,
107
+ rightToggleLabel
104
108
  })
105
109
  });
106
110
  const handler = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ChatHeader.ChatHeader, {
@@ -1,5 +1,5 @@
1
1
  import { FloatingChatProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime20 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime16 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FloatingChat/FloatingChat.d.ts
5
5
  declare const FloatingChat: ({
@@ -17,6 +17,6 @@ declare const FloatingChat: ({
17
17
  debugBar,
18
18
  onClose,
19
19
  onToggleCXButton
20
- }: FloatingChatProps) => react_jsx_runtime20.JSX.Element;
20
+ }: FloatingChatProps) => react_jsx_runtime16.JSX.Element;
21
21
  //#endregion
22
22
  export { FloatingChat };
@@ -1,5 +1,5 @@
1
1
  import { FloatingChatProps } from "./types/types.js";
2
- import * as react_jsx_runtime25 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime21 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FloatingChat/FloatingChat.d.ts
5
5
  declare const FloatingChat: ({
@@ -17,6 +17,6 @@ declare const FloatingChat: ({
17
17
  debugBar,
18
18
  onClose,
19
19
  onToggleCXButton
20
- }: FloatingChatProps) => react_jsx_runtime25.JSX.Element;
20
+ }: FloatingChatProps) => react_jsx_runtime21.JSX.Element;
21
21
  //#endregion
22
22
  export { FloatingChat };
@@ -31,7 +31,7 @@ const FloatingChat = ({ id, className, style, testId, theme = Theme.GLOBAL_CUSTO
31
31
  const [query, setQuery] = useState("");
32
32
  const chatMessagesRef = useRef(null);
33
33
  const { headerBackgroundColor, headerMode, welcomeMessageIconColor, showVerifiedBuyer, userQueryInputEnabled = true, showEnviveLogo, ignoreFirstModelResponse, neverShowSingleProductCards, partialViewConfig } = floatingChatConfig;
34
- const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText } = hardcopyContent?.values ?? {};
34
+ const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText, leftToggleLabel, rightToggleLabel } = hardcopyContent?.values ?? {};
35
35
  const { agentName, chatHeaderLogoDarkSrc, chatHeaderLogoLightSrc } = lookAndFeelConfig;
36
36
  const { messages, isResponseStreaming, isPendingResponse, suggestions, onSuggestionClicked, onTypedMessageSubmitted, onFormResponseSubmitted } = salesAgentData;
37
37
  const { answerSuggestions, generalSuggestions, showAnswerSuggestions, setAnswerSuggestions, setGeneralSuggestions } = useChatSuggestions({
@@ -81,7 +81,9 @@ const FloatingChat = ({ id, className, style, testId, theme = Theme.GLOBAL_CUSTO
81
81
  showHandle: false,
82
82
  theme: finalTheme,
83
83
  variant: headerMode,
84
- headerBgColor: headerBackgroundColor
84
+ headerBgColor: headerBackgroundColor,
85
+ leftToggleLabel,
86
+ rightToggleLabel
85
87
  });
86
88
  const mobileHeader = /* @__PURE__ */ jsx(motion.div, {
87
89
  style: {
@@ -99,7 +101,9 @@ const FloatingChat = ({ id, className, style, testId, theme = Theme.GLOBAL_CUSTO
99
101
  centralizeCXToggle: true,
100
102
  selectedOption: ChatHeaderOptions.ASSISTANT,
101
103
  onToggle: handleToggleCXButton,
102
- onClose
104
+ onClose,
105
+ leftToggleLabel,
106
+ rightToggleLabel
103
107
  })
104
108
  });
105
109
  const handler = /* @__PURE__ */ jsx(ChatHeader, {
@@ -17,7 +17,7 @@ let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks
17
17
  let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
18
18
 
19
19
  //#region src/components/FloatingChat/components/AgentMessage.tsx
20
- const AgentMessage = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
20
+ const AgentMessage = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, isPendingResponse = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
21
21
  const handleFormSubmittedAtomFallback = require_react.useSetAtom(__envive_ai_react_hooks_atoms_chat.handleFormSubmittedAtom);
22
22
  const finalTheme = require_resolveTheme.resolveTheme(theme);
23
23
  if (new Set([
@@ -28,7 +28,7 @@ const AgentMessage = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, agentName, ty
28
28
  if (msg.type === __envive_ai_react_hooks_application_models.MessageType.Text && msg.metadata.content) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Message.Message, {
29
29
  variant: require_index.MessageVariant.AGENT,
30
30
  agentName: hideAgentName ? void 0 : agentName,
31
- showSparkle: isResponseStreaming,
31
+ showSparkle: isResponseStreaming || isPendingResponse,
32
32
  content: msg.metadata.content
33
33
  }, msg.id);
34
34
  return null;
@@ -16,7 +16,7 @@ import { MessageType } from "@envive-ai/react-hooks/application/models";
16
16
  import { handleFormSubmittedAtom } from "@envive-ai/react-hooks/atoms/chat";
17
17
 
18
18
  //#region src/components/FloatingChat/components/AgentMessage.tsx
19
- const AgentMessage = ({ theme = Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
19
+ const AgentMessage = ({ theme = Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, isPendingResponse = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
20
20
  const handleFormSubmittedAtomFallback = useSetAtom(handleFormSubmittedAtom);
21
21
  const finalTheme = resolveTheme(theme);
22
22
  if (new Set([
@@ -27,7 +27,7 @@ const AgentMessage = ({ theme = Theme.GLOBAL_CUSTOM, agentName, type, messages,
27
27
  if (msg.type === MessageType.Text && msg.metadata.content) return /* @__PURE__ */ jsx(Message, {
28
28
  variant: MessageVariant.AGENT,
29
29
  agentName: hideAgentName ? void 0 : agentName,
30
- showSparkle: isResponseStreaming,
30
+ showSparkle: isResponseStreaming || isPendingResponse,
31
31
  content: msg.metadata.content
32
32
  }, msg.id);
33
33
  return null;
@@ -66,6 +66,7 @@ const ChatMessages = (0, react.forwardRef)(({ theme = require_theme.Theme.GLOBAL
66
66
  type,
67
67
  messages: assistantMessages,
68
68
  isResponseStreaming: isResponseStreaming && isLastMessageTurn,
69
+ isPendingResponse: isLoading && isLastMessageTurn,
69
70
  neverShowSingleProductCards,
70
71
  showVerifiedBuyer,
71
72
  isPartialView,
@@ -78,7 +79,6 @@ const ChatMessages = (0, react.forwardRef)(({ theme = require_theme.Theme.GLOBAL
78
79
  }),
79
80
  isLoading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Message.Message, {
80
81
  isLoading: true,
81
- agentName,
82
82
  variant: require_index$1.MessageVariant.AGENT
83
83
  })
84
84
  ]