@envive-ai/react-toolkit-v3 0.3.25 → 0.3.27

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 (288) 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/CSSVariablesEditor/hooks/useGetCssVariablesOptions.cjs +1 -1
  6. package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.js +1 -1
  7. package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.cjs +1 -1
  8. package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.js +1 -1
  9. package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +4 -4
  10. package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +4 -4
  11. package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +3 -3
  12. package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +3 -3
  13. package/dist/Carousel/Carousel.d.cts +2 -2
  14. package/dist/Carousel/Carousel.d.ts +2 -2
  15. package/dist/Carousel/components/Badge.cjs +1 -1
  16. package/dist/Carousel/components/Badge.js +1 -1
  17. package/dist/Carousel/components/Container.cjs +1 -1
  18. package/dist/Carousel/components/Container.js +1 -1
  19. package/dist/ChatFooter/ChatFooter.cjs +2 -1
  20. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  21. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  22. package/dist/ChatFooter/ChatFooter.js +2 -1
  23. package/dist/ChatFooter/components/Layout.cjs +3 -3
  24. package/dist/ChatFooter/components/Layout.d.cts +1 -0
  25. package/dist/ChatFooter/components/Layout.d.ts +1 -0
  26. package/dist/ChatFooter/components/Layout.js +3 -3
  27. package/dist/ChatFooter/components/index.d.cts +6 -5
  28. package/dist/ChatFooter/components/index.d.ts +6 -5
  29. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  30. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  31. package/dist/ChatHeader/hooks/useGetHandleProperties.cjs +1 -1
  32. package/dist/ChatHeader/hooks/useGetHandleProperties.js +1 -1
  33. package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +1 -1
  34. package/dist/ChatHeader/hooks/useGetLayoutProperties.js +1 -1
  35. package/dist/ChatHeader/hooks/useGetToggleOptionProperties.cjs +6 -6
  36. package/dist/ChatHeader/hooks/useGetToggleOptionProperties.js +6 -6
  37. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  38. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  39. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  40. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  41. package/dist/ChatPreviewComparison/components/Layout.cjs +2 -2
  42. package/dist/ChatPreviewComparison/components/Layout.js +2 -2
  43. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  44. package/dist/Container/Container.d.cts +176 -176
  45. package/dist/Container/Container.d.ts +176 -176
  46. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  47. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  48. package/dist/DesignTokens/components/FontFamily.cjs +1 -1
  49. package/dist/DesignTokens/components/FontFamily.js +1 -1
  50. package/dist/DesignTokens/components/FontSize.cjs +1 -1
  51. package/dist/DesignTokens/components/FontSize.js +1 -1
  52. package/dist/DesignTokens/components/FontWeight.cjs +1 -1
  53. package/dist/DesignTokens/components/FontWeight.js +1 -1
  54. package/dist/DesignTokens/components/LetterSpacing.cjs +1 -1
  55. package/dist/DesignTokens/components/LetterSpacing.js +1 -1
  56. package/dist/DesignTokens/components/LineHeight.cjs +1 -1
  57. package/dist/DesignTokens/components/LineHeight.js +1 -1
  58. package/dist/DesignTokens/components/Typography.cjs +1 -1
  59. package/dist/DesignTokens/components/Typography.js +1 -1
  60. package/dist/Disclaimer/components/Container.cjs +1 -1
  61. package/dist/Disclaimer/components/Container.js +1 -1
  62. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  63. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  64. package/dist/DocumentRetrievalCard/components/Image.cjs +1 -1
  65. package/dist/DocumentRetrievalCard/components/Image.js +1 -1
  66. package/dist/DocumentRetrievalCard/components/Layout.cjs +1 -1
  67. package/dist/DocumentRetrievalCard/components/Layout.js +1 -1
  68. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
  69. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
  70. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.cjs +1 -1
  71. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +1 -1
  72. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +1 -1
  73. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +1 -1
  74. package/dist/DocumentRetrievalCard/components/ViewArticleButton.cjs +1 -1
  75. package/dist/DocumentRetrievalCard/components/ViewArticleButton.js +1 -1
  76. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  77. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  78. package/dist/FloatingButton/components/Button.cjs +1 -1
  79. package/dist/FloatingButton/components/Button.js +1 -1
  80. package/dist/FloatingButton/components/Container.cjs +1 -1
  81. package/dist/FloatingButton/components/Container.js +1 -1
  82. package/dist/FloatingButton/components/Wrapper.cjs +1 -1
  83. package/dist/FloatingButton/components/Wrapper.js +1 -1
  84. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  85. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  86. package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
  87. package/dist/FloatingChat/components/ChatMessages.js +1 -1
  88. package/dist/FloatingChat/components/Layout.cjs +1 -1
  89. package/dist/FloatingChat/components/Layout.js +1 -1
  90. package/dist/FloatingChat/components/ProductResultsModal.cjs +1 -1
  91. package/dist/FloatingChat/components/ProductResultsModal.js +1 -1
  92. package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
  93. package/dist/FloatingChat/components/ResultsGridView.js +1 -1
  94. package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +6 -2
  95. package/dist/FloatingChat/components/SalesAgentBadgeContent.js +6 -2
  96. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +2 -1
  97. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +2 -1
  98. package/dist/Form/Form.cjs +1 -1
  99. package/dist/Form/Form.js +1 -1
  100. package/dist/Form/components/Layout.cjs +1 -1
  101. package/dist/Form/components/Layout.js +1 -1
  102. package/dist/Form/components/SubmitButtonItem.cjs +1 -1
  103. package/dist/Form/components/SubmitButtonItem.js +1 -1
  104. package/dist/Form/components/TextFieldItem.cjs +1 -1
  105. package/dist/Form/components/TextFieldItem.js +1 -1
  106. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +89 -25
  107. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +5 -7
  108. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +5 -7
  109. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +90 -26
  110. package/dist/FullPageSalesAgent/components/Layout.cjs +35 -28
  111. package/dist/FullPageSalesAgent/components/Layout.js +35 -28
  112. package/dist/FullPageSalesAgent/components/WelcomeOverlay.cjs +102 -0
  113. package/dist/FullPageSalesAgent/components/WelcomeOverlay.js +100 -0
  114. package/dist/FullPageSalesAgent/components/index.cjs +1 -0
  115. package/dist/FullPageSalesAgent/components/index.js +1 -0
  116. package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.cjs +16 -6
  117. package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.js +16 -6
  118. package/dist/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.cjs +43 -0
  119. package/dist/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.js +41 -0
  120. package/dist/Image/Image.cjs +1 -1
  121. package/dist/Image/Image.d.cts +2 -2
  122. package/dist/Image/Image.d.ts +2 -2
  123. package/dist/Image/Image.js +1 -1
  124. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  125. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  126. package/dist/ImageGallery/components/Layout.cjs +1 -1
  127. package/dist/ImageGallery/components/Layout.js +1 -1
  128. package/dist/ImageGallery/utils/functions.cjs +1 -1
  129. package/dist/ImageGallery/utils/functions.js +1 -1
  130. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  131. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  132. package/dist/Message/components/Layout.cjs +1 -1
  133. package/dist/Message/components/Layout.js +1 -1
  134. package/dist/Message/components/LinkButton.cjs +1 -1
  135. package/dist/Message/components/LinkButton.js +1 -1
  136. package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
  137. package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
  138. package/dist/OrderLookupCard/components/Layout.cjs +1 -1
  139. package/dist/OrderLookupCard/components/Layout.js +1 -1
  140. package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +1 -1
  141. package/dist/OrderLookupCard/components/MoreProductsOverlay.js +1 -1
  142. package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +1 -1
  143. package/dist/OrderLookupCard/components/ProductImageGridItem.js +1 -1
  144. package/dist/OrderLookupCard/components/ProductImageItem.cjs +1 -1
  145. package/dist/OrderLookupCard/components/ProductImageItem.js +1 -1
  146. package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +1 -1
  147. package/dist/OrderLookupCard/components/ProductImagesGrid.js +1 -1
  148. package/dist/OrderLookupCard/components/StatusLabel.cjs +1 -1
  149. package/dist/OrderLookupCard/components/StatusLabel.js +1 -1
  150. package/dist/OrderLookupCard/components/TrackOrderLink.cjs +1 -1
  151. package/dist/OrderLookupCard/components/TrackOrderLink.js +1 -1
  152. package/dist/ProductCard/ProductCard.cjs +1 -1
  153. package/dist/ProductCard/ProductCard.d.cts +2 -2
  154. package/dist/ProductCard/ProductCard.d.ts +2 -2
  155. package/dist/ProductCard/ProductCard.js +1 -1
  156. package/dist/PromptButton/PromptButton.cjs +1 -1
  157. package/dist/PromptButton/PromptButton.d.cts +2 -2
  158. package/dist/PromptButton/PromptButton.d.ts +2 -2
  159. package/dist/PromptButton/PromptButton.js +1 -1
  160. package/dist/PromptButton/components/Layout.cjs +1 -1
  161. package/dist/PromptButton/components/Layout.js +1 -1
  162. package/dist/PromptButton/components/Loading.cjs +1 -1
  163. package/dist/PromptButton/components/Loading.js +1 -1
  164. package/dist/PromptButton/hooks/useGetLayoutBaseProperties.cjs +1 -1
  165. package/dist/PromptButton/hooks/useGetLayoutBaseProperties.js +1 -1
  166. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  167. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  168. package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +1 -1
  169. package/dist/PromptButtonCarouselWithImage/components/Layout.js +1 -1
  170. package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +1 -1
  171. package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +1 -1
  172. package/dist/PromptCarousel/PromptCarousel.cjs +1 -1
  173. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  174. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  175. package/dist/PromptCarousel/PromptCarousel.js +1 -1
  176. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  177. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  178. package/dist/ReviewCard/components/Container.cjs +1 -1
  179. package/dist/ReviewCard/components/Container.js +1 -1
  180. package/dist/ReviewCard/components/Rating.cjs +1 -1
  181. package/dist/ReviewCard/components/Rating.js +1 -1
  182. package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
  183. package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
  184. package/dist/ReviewCard/components/index.d.cts +6 -6
  185. package/dist/ReviewCard/components/index.d.ts +6 -6
  186. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  187. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  188. package/dist/SalesAgentProductCard/components/Container.cjs +1 -1
  189. package/dist/SalesAgentProductCard/components/Container.js +1 -1
  190. package/dist/SalesAgentProductCard/components/Price.cjs +2 -2
  191. package/dist/SalesAgentProductCard/components/Price.js +2 -2
  192. package/dist/SalesAgentProductCard/components/ProductImage.cjs +1 -1
  193. package/dist/SalesAgentProductCard/components/ProductImage.js +1 -1
  194. package/dist/SalesAgentProductCard/components/ProductName.cjs +1 -1
  195. package/dist/SalesAgentProductCard/components/ProductName.js +1 -1
  196. package/dist/SalesAgentProductCard/components/Rate.cjs +1 -1
  197. package/dist/SalesAgentProductCard/components/Rate.js +1 -1
  198. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  199. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  200. package/dist/SocialProof/SocialProof.cjs +4 -3
  201. package/dist/SocialProof/SocialProof.d.cts +2 -2
  202. package/dist/SocialProof/SocialProof.d.ts +2 -2
  203. package/dist/SocialProof/SocialProof.js +4 -3
  204. package/dist/SocialProof/components/Headline.cjs +2 -2
  205. package/dist/SocialProof/components/Headline.js +2 -2
  206. package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
  207. package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
  208. package/dist/SocialProof/components/LayoutSingle.cjs +3 -4
  209. package/dist/SocialProof/components/LayoutSingle.js +3 -4
  210. package/dist/SocialProof/hooks/useSocialProofCount.cjs +3 -2
  211. package/dist/SocialProof/hooks/useSocialProofCount.d.cts +2 -0
  212. package/dist/SocialProof/hooks/useSocialProofCount.d.ts +2 -0
  213. package/dist/SocialProof/hooks/useSocialProofCount.js +3 -2
  214. package/dist/SocialProof/types/types.d.cts +5 -0
  215. package/dist/SocialProof/types/types.d.ts +5 -0
  216. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  217. package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
  218. package/dist/Stack/Stack.d.cts +2 -2
  219. package/dist/Stack/Stack.d.ts +2 -2
  220. package/dist/TextField/TextField.cjs +4 -1
  221. package/dist/TextField/TextField.js +4 -1
  222. package/dist/TextField/components/Input.cjs +1 -1
  223. package/dist/TextField/components/Input.js +1 -1
  224. package/dist/TextField/components/Layout.cjs +1 -1
  225. package/dist/TextField/components/Layout.js +1 -1
  226. package/dist/TextField/components/SendIcon.cjs +1 -1
  227. package/dist/TextField/components/SendIcon.js +1 -1
  228. package/dist/TextField/hooks/useVoiceInput.cjs +9 -1
  229. package/dist/TextField/hooks/useVoiceInput.js +9 -1
  230. package/dist/TextField/types/index.d.cts +12 -0
  231. package/dist/TextField/types/index.d.ts +12 -0
  232. package/dist/Title/Title.cjs +1 -1
  233. package/dist/Title/Title.js +1 -1
  234. package/dist/Title/components/Layout.cjs +1 -1
  235. package/dist/Title/components/Layout.js +1 -1
  236. package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
  237. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  238. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  239. package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
  240. package/dist/Tokens/index.cjs +6 -6
  241. package/dist/Tokens/index.js +6 -6
  242. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  243. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  244. package/dist/Typography/Typography.d.cts +4 -4
  245. package/dist/WelcomeMessage/components/Container.cjs +1 -1
  246. package/dist/WelcomeMessage/components/Container.js +1 -1
  247. package/dist/WidgetTextField/WidgetTextField.cjs +1 -1
  248. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  249. package/dist/WidgetTextField/WidgetTextField.js +1 -1
  250. package/dist/WidgetTextField/components/Container.cjs +1 -1
  251. package/dist/WidgetTextField/components/Container.js +1 -1
  252. package/dist/WidgetTextField/components/Skeleton.cjs +1 -1
  253. package/dist/WidgetTextField/components/Skeleton.js +1 -1
  254. package/dist/WidgetWrapper/WidgetWrapper.cjs +1 -1
  255. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  256. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  257. package/dist/WidgetWrapper/WidgetWrapper.js +1 -1
  258. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  259. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  260. package/dist/packages/components-v3/tokens/typography/typography.cjs +1 -1
  261. package/dist/packages/components-v3/tokens/typography/typography.js +1 -1
  262. package/dist/styles.css +1 -1
  263. package/dist/utils/resolveTheme.cjs +1 -1
  264. package/dist/utils/resolveTheme.js +1 -1
  265. package/package.json +1 -1
  266. package/src/components/ChatFooter/ChatFooter.tsx +1 -0
  267. package/src/components/ChatFooter/components/Layout.tsx +3 -1
  268. package/src/components/ChatHeader/hooks/useGetToggleOptionProperties.ts +6 -6
  269. package/src/components/FloatingChat/components/SalesAgentBadgeContent.tsx +8 -0
  270. package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +3 -0
  271. package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +139 -49
  272. package/src/components/FullPageSalesAgent/components/Layout.tsx +10 -3
  273. package/src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx +121 -0
  274. package/src/components/FullPageSalesAgent/components/index.ts +2 -0
  275. package/src/components/FullPageSalesAgent/hooks/useGetFooterStyles.ts +15 -5
  276. package/src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts +51 -0
  277. package/src/components/PromptButton/hooks/useGetLayoutBaseProperties.ts +3 -1
  278. package/src/components/SalesAgentProductCard/components/Price.tsx +2 -2
  279. package/src/components/SalesAgentProductCard/components/Rate.tsx +1 -1
  280. package/src/components/SocialProof/SocialProof.tsx +4 -2
  281. package/src/components/SocialProof/components/Headline.tsx +1 -1
  282. package/src/components/SocialProof/components/LayoutSingle.tsx +6 -5
  283. package/src/components/SocialProof/hooks/useSocialProofCount.ts +8 -1
  284. package/src/components/SocialProof/types/types.ts +6 -0
  285. package/src/components/TextField/TextField.tsx +10 -2
  286. package/src/components/TextField/__tests__/VoiceInputButton.test.tsx +22 -58
  287. package/src/components/TextField/hooks/useVoiceInput.ts +8 -0
  288. package/src/components/TextField/types/index.ts +12 -0
@@ -9,9 +9,9 @@ const require_useTextFieldSubmit = require('./hooks/useTextFieldSubmit.cjs');
9
9
  const require_useTextFieldValue = require('./hooks/useTextFieldValue.cjs');
10
10
  const require_useVoiceInput = require('./hooks/useVoiceInput.cjs');
11
11
  let react = require("react");
12
+ let react_jsx_runtime = require("react/jsx-runtime");
12
13
  let classnames = require("classnames");
13
14
  classnames = require_rolldown_runtime.__toESM(classnames);
14
- let react_jsx_runtime = require("react/jsx-runtime");
15
15
 
16
16
  //#region src/components/TextField/TextField.tsx
17
17
  /**
@@ -33,6 +33,9 @@ const TextField = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, placeholder, val
33
33
  resetValue,
34
34
  onTranscriptionCompleted
35
35
  ]),
36
+ onTranscription: (0, react.useCallback)((transcript) => {
37
+ handleChange(transcript);
38
+ }, [handleChange]),
36
39
  disabled
37
40
  });
38
41
  const handleInternalFocus = () => {
@@ -8,8 +8,8 @@ import { useTextFieldSubmit } from "./hooks/useTextFieldSubmit.js";
8
8
  import { useTextFieldValue } from "./hooks/useTextFieldValue.js";
9
9
  import { useVoiceInput } from "./hooks/useVoiceInput.js";
10
10
  import { useCallback } from "react";
11
- import classNames from "classnames";
12
11
  import { jsx } from "react/jsx-runtime";
12
+ import classNames from "classnames";
13
13
 
14
14
  //#region src/components/TextField/TextField.tsx
15
15
  /**
@@ -31,6 +31,9 @@ const TextField = ({ theme = Theme.GLOBAL_CUSTOM, placeholder, value: controlled
31
31
  resetValue,
32
32
  onTranscriptionCompleted
33
33
  ]),
34
+ onTranscription: useCallback((transcript) => {
35
+ handleChange(transcript);
36
+ }, [handleChange]),
34
37
  disabled
35
38
  });
36
39
  const handleInternalFocus = () => {
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_getInputClasses = require('../utils/getInputClasses.cjs');
3
3
  const require_createInputChangeHandler = require('../utils/createInputChangeHandler.cjs');
4
+ let react_jsx_runtime = require("react/jsx-runtime");
4
5
  let classnames = require("classnames");
5
6
  classnames = require_rolldown_runtime.__toESM(classnames);
6
- let react_jsx_runtime = require("react/jsx-runtime");
7
7
 
8
8
  //#region src/components/TextField/components/Input.tsx
9
9
  const Input = ({ theme, placeholder, value, onChange, onKeyDown, onFocus, onBlur, disabled = false, id, testId, className, style, ariaLabel }) => {
@@ -1,7 +1,7 @@
1
1
  import { getInputClasses } from "../utils/getInputClasses.js";
2
2
  import { createInputChangeHandler } from "../utils/createInputChangeHandler.js";
3
- import classNames from "classnames";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import classNames from "classnames";
5
5
 
6
6
  //#region src/components/TextField/components/Input.tsx
7
7
  const Input = ({ theme, placeholder, value, onChange, onKeyDown, onFocus, onBlur, disabled = false, id, testId, className, style, ariaLabel }) => {
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
3
3
  const require_getLayoutStateProperties = require('../utils/getLayoutStateProperties.cjs');
4
+ let react_jsx_runtime = require("react/jsx-runtime");
4
5
  let classnames = require("classnames");
5
6
  classnames = require_rolldown_runtime.__toESM(classnames);
6
- let react_jsx_runtime = require("react/jsx-runtime");
7
7
 
8
8
  //#region src/components/TextField/components/Layout.tsx
9
9
  const Layout = ({ theme, input, sendIcon, voiceInputButton, isFocused, hasValue, disabled = false, id, testId, className, style }) => {
@@ -1,7 +1,7 @@
1
1
  import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
2
2
  import { getLayoutStateProperties } from "../utils/getLayoutStateProperties.js";
3
- import classNames from "classnames";
4
3
  import { jsxs } from "react/jsx-runtime";
4
+ import classNames from "classnames";
5
5
 
6
6
  //#region src/components/TextField/components/Layout.tsx
7
7
  const Layout = ({ theme, input, sendIcon, voiceInputButton, isFocused, hasValue, disabled = false, id, testId, className, style }) => {
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_getSendIconElement = require('../utils/getSendIconElement.cjs');
3
3
  const require_useSendIconHandlers = require('../hooks/useSendIconHandlers.cjs');
4
+ let react_jsx_runtime = require("react/jsx-runtime");
4
5
  let classnames = require("classnames");
5
6
  classnames = require_rolldown_runtime.__toESM(classnames);
6
- let react_jsx_runtime = require("react/jsx-runtime");
7
7
 
8
8
  //#region src/components/TextField/components/SendIcon.tsx
9
9
  const SendIcon = ({ theme, hasValue, disabled = false, onClick, className, style, ariaLabel }) => {
@@ -1,7 +1,7 @@
1
1
  import { getSendIconElement } from "../utils/getSendIconElement.js";
2
2
  import { useSendIconHandlers } from "../hooks/useSendIconHandlers.js";
3
- import classNames from "classnames";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import classNames from "classnames";
5
5
 
6
6
  //#region src/components/TextField/components/SendIcon.tsx
7
7
  const SendIcon = ({ theme, hasValue, disabled = false, onClick, className, style, ariaLabel }) => {
@@ -6,7 +6,7 @@ let react_speech_recognition = require("react-speech-recognition");
6
6
  react_speech_recognition = require_rolldown_runtime.__toESM(react_speech_recognition);
7
7
 
8
8
  //#region src/components/TextField/hooks/useVoiceInput.ts
9
- const useVoiceInput = ({ onTranscriptionCompleted, onTranscriptionStarted, disabled = false }) => {
9
+ const useVoiceInput = ({ onTranscriptionCompleted, onTranscriptionStarted, onTranscription, disabled = false }) => {
10
10
  const [listeningToSpeech, setListeningToSpeech] = require_react.useAtom(__envive_ai_react_hooks_atoms_chat.listeningToSpeechAtom);
11
11
  const { transcript, browserSupportsSpeechRecognition, resetTranscript, isMicrophoneAvailable } = (0, react_speech_recognition.useSpeechRecognition)();
12
12
  const handleStartListening = async () => {
@@ -43,6 +43,14 @@ const useVoiceInput = ({ onTranscriptionCompleted, onTranscriptionStarted, disab
43
43
  else if (listeningToSpeech === "stop") handleStopListening();
44
44
  else if (listeningToSpeech === "abort") handleAbortListening();
45
45
  }, [listeningToSpeech]);
46
+ (0, react.useEffect)(() => {
47
+ if (!disabled && listeningToSpeech === "start" && transcript) onTranscription?.(transcript);
48
+ }, [
49
+ transcript,
50
+ listeningToSpeech,
51
+ disabled,
52
+ onTranscription
53
+ ]);
46
54
  return {
47
55
  isListening: listeningToSpeech === "start",
48
56
  handleToggleListening,
@@ -4,7 +4,7 @@ import { listeningToSpeechAtom } from "@envive-ai/react-hooks/atoms/chat";
4
4
  import SpeechRecognition, { useSpeechRecognition } from "react-speech-recognition";
5
5
 
6
6
  //#region src/components/TextField/hooks/useVoiceInput.ts
7
- const useVoiceInput = ({ onTranscriptionCompleted, onTranscriptionStarted, disabled = false }) => {
7
+ const useVoiceInput = ({ onTranscriptionCompleted, onTranscriptionStarted, onTranscription, disabled = false }) => {
8
8
  const [listeningToSpeech, setListeningToSpeech] = useAtom(listeningToSpeechAtom);
9
9
  const { transcript, browserSupportsSpeechRecognition, resetTranscript, isMicrophoneAvailable } = useSpeechRecognition();
10
10
  const handleStartListening = async () => {
@@ -41,6 +41,14 @@ const useVoiceInput = ({ onTranscriptionCompleted, onTranscriptionStarted, disab
41
41
  else if (listeningToSpeech === "stop") handleStopListening();
42
42
  else if (listeningToSpeech === "abort") handleAbortListening();
43
43
  }, [listeningToSpeech]);
44
+ useEffect(() => {
45
+ if (!disabled && listeningToSpeech === "start" && transcript) onTranscription?.(transcript);
46
+ }, [
47
+ transcript,
48
+ listeningToSpeech,
49
+ disabled,
50
+ onTranscription
51
+ ]);
44
52
  return {
45
53
  isListening: listeningToSpeech === "start",
46
54
  handleToggleListening,
@@ -53,8 +53,20 @@ type TextFieldProps = {
53
53
  * @default false
54
54
  */
55
55
  enableVoiceInput?: boolean;
56
+ /**
57
+ * Callback function invoked when voice transcription begins.
58
+ */
56
59
  onTranscriptionStarted?: () => void;
60
+ /**
61
+ * Callback function invoked when voice transcription completes.
62
+ * @param transcript - The transcribed text from voice input.
63
+ */
57
64
  onTranscriptionCompleted?: (transcript: string) => void;
65
+ /**
66
+ * Callback function invoked during voice transcription as audio is processed.
67
+ * @param transcript - The current transcribed text from voice input.
68
+ */
69
+ onTranscription?: (transcript: string) => void;
58
70
  };
59
71
  //#endregion
60
72
  export { TextFieldProps };
@@ -53,8 +53,20 @@ type TextFieldProps = {
53
53
  * @default false
54
54
  */
55
55
  enableVoiceInput?: boolean;
56
+ /**
57
+ * Callback function invoked when voice transcription begins.
58
+ */
56
59
  onTranscriptionStarted?: () => void;
60
+ /**
61
+ * Callback function invoked when voice transcription completes.
62
+ * @param transcript - The transcribed text from voice input.
63
+ */
57
64
  onTranscriptionCompleted?: (transcript: string) => void;
65
+ /**
66
+ * Callback function invoked during voice transcription as audio is processed.
67
+ * @param transcript - The current transcribed text from voice input.
68
+ */
69
+ onTranscription?: (transcript: string) => void;
58
70
  };
59
71
  //#endregion
60
72
  export { TextFieldProps };
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_index = require('./components/index.cjs');
3
3
  const require_useGetSkeletonProperties = require('../Image/hooks/useGetSkeletonProperties.cjs');
4
+ let react_jsx_runtime = require("react/jsx-runtime");
4
5
  let classnames = require("classnames");
5
6
  classnames = require_rolldown_runtime.__toESM(classnames);
6
- let react_jsx_runtime = require("react/jsx-runtime");
7
7
 
8
8
  //#region src/components/Title/Title.tsx
9
9
  /**
@@ -1,7 +1,7 @@
1
1
  import { TitleComponents } from "./components/index.js";
2
2
  import { useGetSkeletonProperties } from "../Image/hooks/useGetSkeletonProperties.js";
3
- import classNames from "classnames";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import classNames from "classnames";
5
5
 
6
6
  //#region src/components/Title/Title.tsx
7
7
  /**
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_Stack = require('../../Stack/Stack.cjs');
3
3
  require('../../Stack/index.cjs');
4
+ let react_jsx_runtime = require("react/jsx-runtime");
4
5
  let classnames = require("classnames");
5
6
  classnames = require_rolldown_runtime.__toESM(classnames);
6
- let react_jsx_runtime = require("react/jsx-runtime");
7
7
 
8
8
  //#region src/components/Title/components/Layout.tsx
9
9
  const Layout = ({ logo, label, id, testId, className, style, ariaLabel }) => {
@@ -1,7 +1,7 @@
1
1
  import { Stack } from "../../Stack/Stack.js";
2
2
  import "../../Stack/index.js";
3
- import classNames from "classnames";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import classNames from "classnames";
5
5
 
6
6
  //#region src/components/Title/components/Layout.tsx
7
7
  const Layout = ({ logo, label, id, testId, className, style, ariaLabel }) => {
@@ -12,9 +12,9 @@ const require_PromptCarousel_types_types = require('../PromptCarousel/types/type
12
12
  const require_PromptCarousel = require('../PromptCarousel/PromptCarousel.cjs');
13
13
  require('../PromptCarousel/index.cjs');
14
14
  const require_useGetSkeletonProperties = require('../Image/hooks/useGetSkeletonProperties.cjs');
15
+ let react_jsx_runtime = require("react/jsx-runtime");
15
16
  let classnames = require("classnames");
16
17
  classnames = require_rolldown_runtime.__toESM(classnames);
17
- let react_jsx_runtime = require("react/jsx-runtime");
18
18
 
19
19
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.tsx
20
20
  const TitledPromptCarousel = ({ id, titleLabel, titleAriaLabel, theme = require_theme.Theme.GLOBAL_CUSTOM, isLoading = false, boldFirstButton = false, promptButtonType = require_PromptButton_types_index.PromptButtonVariant.LIGHT, promptCarouselRows = require_PromptCarousel_types_types.PromptCarouselRows.ALWAYS_ONE, animationSpeed = require_PromptCarousel_types_types.AnimationSpeed.NONE, handleButtonClick, handleButtonDrag, handleButtonHover, handleButtonMouseDown, handleButtonMouseUp, handleButtonTouchStart, handleButtonTouchEnd, promptButtonTexts, promptCarouselAriaLabel }) => {
@@ -1,5 +1,5 @@
1
1
  import { TitledPromptCarouselProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.d.ts
5
5
  declare const TitledPromptCarousel: ({
@@ -21,6 +21,6 @@ declare const TitledPromptCarousel: ({
21
21
  handleButtonTouchEnd,
22
22
  promptButtonTexts,
23
23
  promptCarouselAriaLabel
24
- }: TitledPromptCarouselProps) => react_jsx_runtime15.JSX.Element;
24
+ }: TitledPromptCarouselProps) => react_jsx_runtime18.JSX.Element;
25
25
  //#endregion
26
26
  export { TitledPromptCarousel };
@@ -1,5 +1,5 @@
1
1
  import { TitledPromptCarouselProps } from "./types/index.js";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.d.ts
5
5
  declare const TitledPromptCarousel: ({
@@ -21,6 +21,6 @@ declare const TitledPromptCarousel: ({
21
21
  handleButtonTouchEnd,
22
22
  promptButtonTexts,
23
23
  promptCarouselAriaLabel
24
- }: TitledPromptCarouselProps) => react_jsx_runtime5.JSX.Element;
24
+ }: TitledPromptCarouselProps) => react_jsx_runtime0.JSX.Element;
25
25
  //#endregion
26
26
  export { TitledPromptCarousel };
@@ -11,8 +11,8 @@ import { AnimationSpeed, PromptCarouselRows } from "../PromptCarousel/types/type
11
11
  import { PromptCarousel } from "../PromptCarousel/PromptCarousel.js";
12
12
  import "../PromptCarousel/index.js";
13
13
  import { useGetSkeletonProperties } from "../Image/hooks/useGetSkeletonProperties.js";
14
- import classNames from "classnames";
15
14
  import { jsx, jsxs } from "react/jsx-runtime";
15
+ import classNames from "classnames";
16
16
 
17
17
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.tsx
18
18
  const TitledPromptCarousel = ({ id, titleLabel, titleAriaLabel, theme = Theme.GLOBAL_CUSTOM, isLoading = false, boldFirstButton = false, promptButtonType = PromptButtonVariant.LIGHT, promptCarouselRows = PromptCarouselRows.ALWAYS_ONE, animationSpeed = AnimationSpeed.NONE, handleButtonClick, handleButtonDrag, handleButtonHover, handleButtonMouseDown, handleButtonMouseUp, handleButtonTouchStart, handleButtonTouchEnd, promptButtonTexts, promptCarouselAriaLabel }) => {
@@ -1,16 +1,16 @@
1
- const require_theme = require('../packages/components-v3/tokens/theme/theme.cjs');
2
- const require_breakpoints = require('../packages/components-v3/tokens/breakpoints/breakpoints.cjs');
3
- const require_fontFamily = require('../packages/components-v3/tokens/typography/fontFamily.cjs');
1
+ const require_colors = require('../packages/components-v3/tokens/colors/colors.cjs');
4
2
  const require_fontSize = require('../packages/components-v3/tokens/typography/fontSize.cjs');
5
3
  const require_fontWeight = require('../packages/components-v3/tokens/typography/fontWeight.cjs');
6
4
  const require_lineHeight = require('../packages/components-v3/tokens/typography/lineHeight.cjs');
7
5
  const require_letterSpacing = require('../packages/components-v3/tokens/typography/letterSpacing.cjs');
8
- const require_typography = require('../packages/components-v3/tokens/typography/typography.cjs');
6
+ const require_fontFamily = require('../packages/components-v3/tokens/typography/fontFamily.cjs');
9
7
  const require_radius = require('../packages/components-v3/tokens/radius/radius.cjs');
8
+ const require_aspectRatio = require('../packages/components-v3/tokens/aspectRatio/aspectRatio.cjs');
9
+ const require_theme = require('../packages/components-v3/tokens/theme/theme.cjs');
10
+ const require_breakpoints = require('../packages/components-v3/tokens/breakpoints/breakpoints.cjs');
11
+ const require_typography = require('../packages/components-v3/tokens/typography/typography.cjs');
10
12
  const require_spacing = require('../packages/components-v3/tokens/spacing/spacing.cjs');
11
- const require_colors = require('../packages/components-v3/tokens/colors/colors.cjs');
12
13
  const require_motion = require('../packages/components-v3/tokens/montion/motion.cjs');
13
- const require_aspectRatio = require('../packages/components-v3/tokens/aspectRatio/aspectRatio.cjs');
14
14
 
15
15
  exports.FontFamily = require_fontFamily.FontFamily;
16
16
  exports.Theme = require_theme.Theme;
@@ -1,15 +1,15 @@
1
- import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
2
- import { screensBreakpointsVariables, tailwindScreens } from "../packages/components-v3/tokens/breakpoints/breakpoints.js";
3
- import { FontFamily, fontFamilyVariables } from "../packages/components-v3/tokens/typography/fontFamily.js";
1
+ import { colorsVariables } from "../packages/components-v3/tokens/colors/colors.js";
4
2
  import { fontSizeVariables } from "../packages/components-v3/tokens/typography/fontSize.js";
5
3
  import { fontWeightVariables } from "../packages/components-v3/tokens/typography/fontWeight.js";
6
4
  import { lineHeightVariables } from "../packages/components-v3/tokens/typography/lineHeight.js";
7
5
  import { letterSpacingVariables } from "../packages/components-v3/tokens/typography/letterSpacing.js";
8
- import { createTypographyComponents } from "../packages/components-v3/tokens/typography/typography.js";
6
+ import { FontFamily, fontFamilyVariables } from "../packages/components-v3/tokens/typography/fontFamily.js";
9
7
  import { borderRadiusVariables } from "../packages/components-v3/tokens/radius/radius.js";
8
+ import { aspectRatioVariables } from "../packages/components-v3/tokens/aspectRatio/aspectRatio.js";
9
+ import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
10
+ import { screensBreakpointsVariables, tailwindScreens } from "../packages/components-v3/tokens/breakpoints/breakpoints.js";
11
+ import { createTypographyComponents } from "../packages/components-v3/tokens/typography/typography.js";
10
12
  import { spacingVariables } from "../packages/components-v3/tokens/spacing/spacing.js";
11
- import { colorsVariables } from "../packages/components-v3/tokens/colors/colors.js";
12
13
  import { animationsVariables, keyFramesVariables } from "../packages/components-v3/tokens/montion/motion.js";
13
- import { aspectRatioVariables } from "../packages/components-v3/tokens/aspectRatio/aspectRatio.js";
14
14
 
15
15
  export { FontFamily, Theme, animationsVariables, aspectRatioVariables, borderRadiusVariables, colorsVariables, createTypographyComponents, fontFamilyVariables, fontSizeVariables, fontWeightVariables, keyFramesVariables, letterSpacingVariables, lineHeightVariables, screensBreakpointsVariables, spacingVariables, tailwindScreens };
@@ -1,5 +1,5 @@
1
1
  import { TypingAnimationProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TypingAnimation/TypingAnimation.d.ts
5
5
  declare const TypingAnimation: ({
@@ -7,6 +7,6 @@ declare const TypingAnimation: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: TypingAnimationProps) => react_jsx_runtime6.JSX.Element;
10
+ }: TypingAnimationProps) => react_jsx_runtime14.JSX.Element;
11
11
  //#endregion
12
12
  export { TypingAnimation };
@@ -1,5 +1,5 @@
1
1
  import { TypingAnimationProps } from "./types/index.js";
2
- import * as react_jsx_runtime3 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TypingAnimation/TypingAnimation.d.ts
5
5
  declare const TypingAnimation: ({
@@ -7,6 +7,6 @@ declare const TypingAnimation: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: TypingAnimationProps) => react_jsx_runtime3.JSX.Element;
10
+ }: TypingAnimationProps) => react_jsx_runtime5.JSX.Element;
11
11
  //#endregion
12
12
  export { TypingAnimation };
@@ -1,5 +1,5 @@
1
1
  import { TypographyProps } from "./types/index.cjs";
2
- import * as react0 from "react";
2
+ import * as react9 from "react";
3
3
 
4
4
  //#region src/components/Typography/Typography.d.ts
5
5
  /**
@@ -18,13 +18,13 @@ declare const Typography: ({
18
18
  noWrap,
19
19
  as,
20
20
  "aria-label": ariaLabel
21
- }: TypographyProps) => react0.DetailedReactHTMLElement<{
21
+ }: TypographyProps) => react9.DetailedReactHTMLElement<{
22
22
  'aria-label': string;
23
23
  'aria-level'?: number;
24
- role?: react0.AriaRole;
24
+ role?: react9.AriaRole;
25
25
  title?: string;
26
26
  className: string;
27
- style: react0.CSSProperties;
27
+ style: react9.CSSProperties;
28
28
  id: string;
29
29
  'data-testid': string;
30
30
  }, HTMLElement>;
@@ -4,9 +4,9 @@ require('../../Stack/index.cjs');
4
4
  const require_Container = require('../../Container/Container.cjs');
5
5
  require('../../Container/index.cjs');
6
6
  const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
7
+ let react_jsx_runtime = require("react/jsx-runtime");
7
8
  let classnames = require("classnames");
8
9
  classnames = require_rolldown_runtime.__toESM(classnames);
9
- let react_jsx_runtime = require("react/jsx-runtime");
10
10
 
11
11
  //#region src/components/WelcomeMessage/components/Container.tsx
12
12
  const Container$1 = ({ sparkleIcon, titleNode, textNode, theme, id, testId, className, style }) => {
@@ -3,8 +3,8 @@ import "../../Stack/index.js";
3
3
  import { Container } from "../../Container/Container.js";
4
4
  import "../../Container/index.js";
5
5
  import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
6
- import classNames from "classnames";
7
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
+ import classNames from "classnames";
8
8
 
9
9
  //#region src/components/WelcomeMessage/components/Container.tsx
10
10
  const Container$1 = ({ sparkleIcon, titleNode, textNode, theme, id, testId, className, style }) => {
@@ -9,9 +9,9 @@ const require_useVoiceInput = require('../TextField/hooks/useVoiceInput.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');
12
+ let react_jsx_runtime = require("react/jsx-runtime");
12
13
  let classnames = require("classnames");
13
14
  classnames = require_rolldown_runtime.__toESM(classnames);
14
- let react_jsx_runtime = require("react/jsx-runtime");
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
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime16 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: ({
@@ -19,6 +19,6 @@ declare const WidgetTextField: ({
19
19
  onClick,
20
20
  enableVoiceInput,
21
21
  onTranscriptionStarted
22
- }: WidgetTextFieldProps) => react_jsx_runtime16.JSX.Element;
22
+ }: WidgetTextFieldProps) => react_jsx_runtime0.JSX.Element;
23
23
  //#endregion
24
24
  export { WidgetTextField };
@@ -8,8 +8,8 @@ import { useVoiceInput } from "../TextField/hooks/useVoiceInput.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";
11
- import classNames from "classnames";
12
11
  import { jsx } from "react/jsx-runtime";
12
+ import classNames from "classnames";
13
13
  import { listeningToSpeechAtom } from "@envive-ai/react-hooks/atoms/chat";
14
14
 
15
15
  //#region src/components/WidgetTextField/WidgetTextField.tsx
@@ -5,9 +5,9 @@ const require_Container = require('../../Container/Container.cjs');
5
5
  require('../../Container/index.cjs');
6
6
  const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
7
7
  const require_useHandleKeyboard = require('../hooks/useHandleKeyboard.cjs');
8
+ let react_jsx_runtime = require("react/jsx-runtime");
8
9
  let classnames = require("classnames");
9
10
  classnames = require_rolldown_runtime.__toESM(classnames);
10
- let react_jsx_runtime = require("react/jsx-runtime");
11
11
 
12
12
  //#region src/components/WidgetTextField/components/Container.tsx
13
13
  const Container$1 = ({ id, testId, style, className, theme, minimalFrame, ariaLabel, icon, text, voiceInputButton, disabled, onClick }) => {
@@ -4,8 +4,8 @@ import { Container } from "../../Container/Container.js";
4
4
  import "../../Container/index.js";
5
5
  import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
6
6
  import { useHandleKeyboard } from "../hooks/useHandleKeyboard.js";
7
- import classNames from "classnames";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
+ import classNames from "classnames";
9
9
 
10
10
  //#region src/components/WidgetTextField/components/Container.tsx
11
11
  const Container$1 = ({ id, testId, style, className, theme, minimalFrame, ariaLabel, icon, text, voiceInputButton, disabled, onClick }) => {
@@ -2,9 +2,9 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
3
3
  const require_resolveTheme = require('../../utils/resolveTheme.cjs');
4
4
  let react = require("react");
5
+ let react_jsx_runtime = require("react/jsx-runtime");
5
6
  let classnames = require("classnames");
6
7
  classnames = require_rolldown_runtime.__toESM(classnames);
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
8
 
9
9
  //#region src/components/WidgetTextField/components/Skeleton.tsx
10
10
  const Skeleton = ({ theme = require_theme.Theme.GLOBAL_CUSTOM }) => {
@@ -1,8 +1,8 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
2
  import { resolveTheme } from "../../utils/resolveTheme.js";
3
3
  import { useMemo } from "react";
4
- import classNames from "classnames";
5
4
  import { jsx } from "react/jsx-runtime";
5
+ import classNames from "classnames";
6
6
 
7
7
  //#region src/components/WidgetTextField/components/Skeleton.tsx
8
8
  const Skeleton = ({ theme = Theme.GLOBAL_CUSTOM }) => {
@@ -2,9 +2,9 @@ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_Container = require('../Container/Container.cjs');
3
3
  require('../Container/index.cjs');
4
4
  const require_useGetWrapperProperties = require('./hooks/useGetWrapperProperties.cjs');
5
+ let react_jsx_runtime = require("react/jsx-runtime");
5
6
  let classnames = require("classnames");
6
7
  classnames = require_rolldown_runtime.__toESM(classnames);
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
8
 
9
9
  //#region src/components/WidgetWrapper/WidgetWrapper.tsx
10
10
  /**
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime4 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_runtime8.JSX.Element;
19
+ }: WidgetWrapperProps) => react_jsx_runtime4.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_runtime4 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_runtime4.JSX.Element;
20
20
  //#endregion
21
21
  export { WidgetWrapper };
@@ -1,8 +1,8 @@
1
1
  import { Container } from "../Container/Container.js";
2
2
  import "../Container/index.js";
3
3
  import { useGetWrapperProperties } from "./hooks/useGetWrapperProperties.js";
4
- import classNames from "classnames";
5
4
  import { jsx } from "react/jsx-runtime";
5
+ import classNames from "classnames";
6
6
 
7
7
  //#region src/components/WidgetWrapper/WidgetWrapper.tsx
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperWithTitleProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime34 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_runtime10.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime34.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_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 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_runtime0.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime1.JSX.Element;
18
18
  //#endregion
19
19
  export { WidgetWrapperWithTitle };
@@ -1,8 +1,8 @@
1
- require('./fontFamily.cjs');
2
1
  require('./fontSize.cjs');
3
2
  require('./fontWeight.cjs');
4
3
  require('./lineHeight.cjs');
5
4
  require('./letterSpacing.cjs');
5
+ require('./fontFamily.cjs');
6
6
 
7
7
  //#region tokens/typography/typography.ts
8
8
  const createTypographyComponents = ({ addComponents, theme }) => {
@@ -1,8 +1,8 @@
1
- import "./fontFamily.js";
2
1
  import "./fontSize.js";
3
2
  import "./fontWeight.js";
4
3
  import "./lineHeight.js";
5
4
  import "./letterSpacing.js";
5
+ import "./fontFamily.js";
6
6
 
7
7
  //#region tokens/typography/typography.ts
8
8
  const createTypographyComponents = ({ addComponents, theme }) => {