@envive-ai/react-toolkit-v3 0.3.12 → 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 (269) 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 +1 -1
  10. package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +1 -1
  11. package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +1 -1
  12. package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +1 -1
  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 +1 -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 +1 -1
  23. package/dist/ChatFooter/components/Layout.cjs +1 -1
  24. package/dist/ChatFooter/components/Layout.js +1 -1
  25. package/dist/ChatFooter/components/index.d.cts +5 -5
  26. package/dist/ChatFooter/components/index.d.ts +5 -5
  27. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  28. package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +1 -1
  29. package/dist/ChatHeader/hooks/useGetLayoutProperties.js +1 -1
  30. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  31. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  32. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  33. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  34. package/dist/ChatPreviewComparison/components/Layout.cjs +6 -5
  35. package/dist/ChatPreviewComparison/components/Layout.js +6 -5
  36. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  37. package/dist/Container/Container.d.cts +173 -173
  38. package/dist/Container/Container.d.ts +173 -173
  39. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  40. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  41. package/dist/DesignTokens/components/FontFamily.cjs +1 -1
  42. package/dist/DesignTokens/components/FontFamily.js +1 -1
  43. package/dist/DesignTokens/components/FontSize.cjs +1 -1
  44. package/dist/DesignTokens/components/FontSize.js +1 -1
  45. package/dist/DesignTokens/components/FontWeight.cjs +1 -1
  46. package/dist/DesignTokens/components/FontWeight.js +1 -1
  47. package/dist/DesignTokens/components/LetterSpacing.cjs +1 -1
  48. package/dist/DesignTokens/components/LetterSpacing.js +1 -1
  49. package/dist/DesignTokens/components/LineHeight.cjs +1 -1
  50. package/dist/DesignTokens/components/LineHeight.js +1 -1
  51. package/dist/DesignTokens/components/Typography.cjs +1 -1
  52. package/dist/DesignTokens/components/Typography.js +1 -1
  53. package/dist/Disclaimer/components/Container.cjs +1 -1
  54. package/dist/Disclaimer/components/Container.js +1 -1
  55. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  56. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  57. package/dist/DocumentRetrievalCard/components/Image.cjs +1 -1
  58. package/dist/DocumentRetrievalCard/components/Image.js +1 -1
  59. package/dist/DocumentRetrievalCard/components/Layout.cjs +1 -1
  60. package/dist/DocumentRetrievalCard/components/Layout.js +1 -1
  61. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
  62. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
  63. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.cjs +1 -1
  64. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +1 -1
  65. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +1 -1
  66. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +1 -1
  67. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  68. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  69. package/dist/FloatingButton/components/Button.cjs +1 -1
  70. package/dist/FloatingButton/components/Button.js +1 -1
  71. package/dist/FloatingButton/components/Container.cjs +1 -1
  72. package/dist/FloatingButton/components/Container.js +1 -1
  73. package/dist/FloatingButton/components/Wrapper.cjs +1 -1
  74. package/dist/FloatingButton/components/Wrapper.js +1 -1
  75. package/dist/FloatingChat/FloatingChat.cjs +12 -5
  76. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  77. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  78. package/dist/FloatingChat/FloatingChat.js +12 -5
  79. package/dist/FloatingChat/components/AgentMessage.cjs +2 -2
  80. package/dist/FloatingChat/components/AgentMessage.js +2 -2
  81. package/dist/FloatingChat/components/ChatMessages.cjs +2 -2
  82. package/dist/FloatingChat/components/ChatMessages.js +2 -2
  83. package/dist/FloatingChat/components/Layout.cjs +1 -1
  84. package/dist/FloatingChat/components/Layout.js +1 -1
  85. package/dist/FloatingChat/hooks/useSnapSetup.cjs +10 -7
  86. package/dist/FloatingChat/hooks/useSnapSetup.js +10 -7
  87. package/dist/Form/Form.cjs +1 -1
  88. package/dist/Form/Form.js +1 -1
  89. package/dist/Form/components/Layout.cjs +1 -1
  90. package/dist/Form/components/Layout.js +1 -1
  91. package/dist/Form/components/SubmitButtonItem.cjs +1 -1
  92. package/dist/Form/components/SubmitButtonItem.js +1 -1
  93. package/dist/Form/components/TextFieldItem.cjs +1 -1
  94. package/dist/Form/components/TextFieldItem.js +1 -1
  95. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  96. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
  97. package/dist/FullPageSalesAgent/components/Layout.cjs +1 -1
  98. package/dist/FullPageSalesAgent/components/Layout.js +1 -1
  99. package/dist/Image/Image.cjs +1 -1
  100. package/dist/Image/Image.d.cts +2 -2
  101. package/dist/Image/Image.js +1 -1
  102. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  103. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  104. package/dist/ImageGallery/components/Layout.cjs +1 -1
  105. package/dist/ImageGallery/components/Layout.js +1 -1
  106. package/dist/ImageGallery/utils/functions.cjs +1 -1
  107. package/dist/ImageGallery/utils/functions.js +1 -1
  108. package/dist/MarkdownProcessor/MarkdownProcessor.cjs +14 -27
  109. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +3 -5
  110. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +3 -5
  111. package/dist/MarkdownProcessor/MarkdownProcessor.js +15 -26
  112. package/dist/MarkdownProcessor/components/index.cjs +1 -3
  113. package/dist/MarkdownProcessor/components/index.js +1 -3
  114. package/dist/MarkdownProcessor/utils/functions.cjs +1 -11
  115. package/dist/MarkdownProcessor/utils/functions.js +1 -10
  116. package/dist/Message/components/AgentHeader.cjs +6 -2
  117. package/dist/Message/components/AgentHeader.js +6 -2
  118. package/dist/Message/components/Layout.cjs +1 -1
  119. package/dist/Message/components/Layout.js +1 -1
  120. package/dist/Message/components/index.cjs +1 -1
  121. package/dist/Message/components/index.js +1 -1
  122. package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
  123. package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
  124. package/dist/OrderLookupCard/components/Layout.cjs +1 -1
  125. package/dist/OrderLookupCard/components/Layout.js +1 -1
  126. package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +1 -1
  127. package/dist/OrderLookupCard/components/MoreProductsOverlay.js +1 -1
  128. package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +1 -1
  129. package/dist/OrderLookupCard/components/ProductImageGridItem.js +1 -1
  130. package/dist/OrderLookupCard/components/ProductImageItem.cjs +1 -1
  131. package/dist/OrderLookupCard/components/ProductImageItem.js +1 -1
  132. package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +1 -1
  133. package/dist/OrderLookupCard/components/ProductImagesGrid.js +1 -1
  134. package/dist/OrderLookupCard/components/StatusLabel.cjs +1 -1
  135. package/dist/OrderLookupCard/components/StatusLabel.js +1 -1
  136. package/dist/OrderLookupCard/components/TrackOrderLink.cjs +1 -1
  137. package/dist/OrderLookupCard/components/TrackOrderLink.js +1 -1
  138. package/dist/ProductCard/ProductCard.cjs +1 -1
  139. package/dist/ProductCard/ProductCard.d.cts +2 -2
  140. package/dist/ProductCard/ProductCard.d.ts +2 -2
  141. package/dist/ProductCard/ProductCard.js +1 -1
  142. package/dist/ProductCard/components/Header.cjs +33 -7
  143. package/dist/ProductCard/components/Header.js +34 -8
  144. package/dist/PromptButton/PromptButton.cjs +1 -1
  145. package/dist/PromptButton/PromptButton.d.cts +2 -2
  146. package/dist/PromptButton/PromptButton.d.ts +2 -2
  147. package/dist/PromptButton/PromptButton.js +1 -1
  148. package/dist/PromptButton/components/Layout.cjs +1 -1
  149. package/dist/PromptButton/components/Layout.js +1 -1
  150. package/dist/PromptButton/components/Loading.cjs +1 -1
  151. package/dist/PromptButton/components/Loading.js +1 -1
  152. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  153. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  154. package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +1 -1
  155. package/dist/PromptButtonCarouselWithImage/components/Layout.js +1 -1
  156. package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +1 -1
  157. package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +1 -1
  158. package/dist/PromptCarousel/PromptCarousel.cjs +1 -1
  159. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  160. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  161. package/dist/PromptCarousel/PromptCarousel.js +1 -1
  162. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  163. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  164. package/dist/ReviewCard/components/Container.cjs +1 -1
  165. package/dist/ReviewCard/components/Container.js +1 -1
  166. package/dist/ReviewCard/components/Rating.cjs +1 -1
  167. package/dist/ReviewCard/components/Rating.js +1 -1
  168. package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
  169. package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
  170. package/dist/ReviewCard/components/index.d.cts +6 -6
  171. package/dist/ReviewCard/components/index.d.ts +6 -6
  172. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  173. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  174. package/dist/SalesAgentProductCard/components/Container.cjs +1 -1
  175. package/dist/SalesAgentProductCard/components/Container.js +1 -1
  176. package/dist/SalesAgentProductCard/components/ProductImage.cjs +1 -1
  177. package/dist/SalesAgentProductCard/components/ProductImage.js +1 -1
  178. package/dist/SalesAgentProductCard/components/ProductName.cjs +1 -1
  179. package/dist/SalesAgentProductCard/components/ProductName.js +1 -1
  180. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  181. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  182. package/dist/SocialProof/SocialProof.d.cts +2 -2
  183. package/dist/SocialProof/SocialProof.d.ts +2 -2
  184. package/dist/SocialProof/components/Headline.cjs +1 -1
  185. package/dist/SocialProof/components/Headline.js +1 -1
  186. package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
  187. package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
  188. package/dist/SparkleAnimation/SparkleAnimation.cjs +107 -0
  189. package/dist/SparkleAnimation/SparkleAnimation.d.cts +15 -0
  190. package/dist/SparkleAnimation/SparkleAnimation.d.ts +15 -0
  191. package/dist/SparkleAnimation/SparkleAnimation.js +105 -0
  192. package/dist/SparkleAnimation/index.cjs +5 -0
  193. package/dist/SparkleAnimation/index.d.cts +3 -0
  194. package/dist/SparkleAnimation/index.d.ts +3 -0
  195. package/dist/SparkleAnimation/index.js +4 -0
  196. package/dist/SparkleAnimation/types.cjs +12 -0
  197. package/dist/SparkleAnimation/types.d.cts +9 -0
  198. package/dist/SparkleAnimation/types.d.ts +9 -0
  199. package/dist/SparkleAnimation/types.js +11 -0
  200. package/dist/Stack/Stack.d.cts +2 -2
  201. package/dist/Stack/Stack.d.ts +2 -2
  202. package/dist/TextField/TextField.cjs +1 -1
  203. package/dist/TextField/TextField.js +1 -1
  204. package/dist/TextField/components/Input.cjs +1 -1
  205. package/dist/TextField/components/Input.js +1 -1
  206. package/dist/TextField/components/Layout.cjs +1 -1
  207. package/dist/TextField/components/Layout.js +1 -1
  208. package/dist/TextField/components/SendIcon.cjs +1 -1
  209. package/dist/TextField/components/SendIcon.js +1 -1
  210. package/dist/Title/Title.cjs +1 -1
  211. package/dist/Title/Title.js +1 -1
  212. package/dist/Title/components/Layout.cjs +1 -1
  213. package/dist/Title/components/Layout.js +1 -1
  214. package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
  215. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  216. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  217. package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
  218. package/dist/Tokens/index.cjs +2 -2
  219. package/dist/Tokens/index.js +2 -2
  220. package/dist/TypingAnimation/TypingAnimation.cjs +61 -19
  221. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  222. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  223. package/dist/TypingAnimation/TypingAnimation.js +62 -20
  224. package/dist/TypingAnimation/types/index.d.cts +8 -0
  225. package/dist/TypingAnimation/types/index.d.ts +8 -0
  226. package/dist/Typography/Typography.d.ts +4 -4
  227. package/dist/WelcomeMessage/components/Container.cjs +1 -1
  228. package/dist/WelcomeMessage/components/Container.js +1 -1
  229. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  230. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  231. package/dist/WidgetTextField/components/Container.cjs +1 -1
  232. package/dist/WidgetTextField/components/Container.js +1 -1
  233. package/dist/WidgetTextField/components/Skeleton.cjs +1 -1
  234. package/dist/WidgetTextField/components/Skeleton.js +1 -1
  235. package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +1 -1
  236. package/dist/WidgetTextField/hooks/useGetContainerProperties.js +1 -1
  237. package/dist/WidgetWrapper/WidgetWrapper.cjs +1 -1
  238. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  239. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  240. package/dist/WidgetWrapper/WidgetWrapper.js +1 -1
  241. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  242. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  243. package/dist/styles.css +1 -1
  244. package/dist/utils/resolveTheme.cjs +1 -1
  245. package/dist/utils/resolveTheme.js +1 -1
  246. package/dist/utils/useAnimatedTextMinHeight.cjs +28 -0
  247. package/dist/utils/useAnimatedTextMinHeight.js +27 -0
  248. package/package.json +5 -3
  249. package/src/components/ChatPreviewComparison/components/Layout.tsx +2 -2
  250. package/src/components/FloatingChat/FloatingChat.tsx +10 -1
  251. package/src/components/FloatingChat/components/AgentMessage.tsx +3 -1
  252. package/src/components/FloatingChat/components/ChatMessages.tsx +1 -1
  253. package/src/components/FloatingChat/hooks/useSnapSetup.ts +11 -4
  254. package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +3 -19
  255. package/src/components/MarkdownProcessor/__tests__/MarkdownProcessor.test.tsx +1 -39
  256. package/src/components/MarkdownProcessor/components/index.ts +0 -2
  257. package/src/components/MarkdownProcessor/utils/functions.tsx +0 -19
  258. package/src/components/Message/components/AgentHeader.tsx +7 -2
  259. package/src/components/ProductCard/components/Header.tsx +39 -9
  260. package/src/components/SparkleAnimation/SparkleAnimation.tsx +102 -0
  261. package/src/components/SparkleAnimation/index.ts +2 -0
  262. package/src/components/SparkleAnimation/types.ts +6 -0
  263. package/src/components/TypingAnimation/TypingAnimation.tsx +72 -22
  264. package/src/components/TypingAnimation/types/index.ts +10 -0
  265. package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +1 -1
  266. package/src/components/utils/useAnimatedTextMinHeight.ts +29 -0
  267. package/dist/MarkdownProcessor/components/MarkdownSubscript.cjs +0 -15
  268. package/dist/MarkdownProcessor/components/MarkdownSubscript.js +0 -14
  269. package/src/components/MarkdownProcessor/components/MarkdownSubscript.tsx +0 -22
@@ -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, 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, 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 }) => {
@@ -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, promptButtonTexts, promptCarouselAriaLabel }) => {
@@ -1,5 +1,5 @@
1
1
  import { TitledPromptCarouselProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime9 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.d.ts
5
5
  declare const TitledPromptCarousel: ({
@@ -15,6 +15,6 @@ declare const TitledPromptCarousel: ({
15
15
  handleButtonClick,
16
16
  promptButtonTexts,
17
17
  promptCarouselAriaLabel
18
- }: TitledPromptCarouselProps) => react_jsx_runtime9.JSX.Element;
18
+ }: TitledPromptCarouselProps) => react_jsx_runtime2.JSX.Element;
19
19
  //#endregion
20
20
  export { TitledPromptCarousel };
@@ -1,5 +1,5 @@
1
1
  import { TitledPromptCarouselProps } from "./types/index.js";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.d.ts
5
5
  declare const TitledPromptCarousel: ({
@@ -15,6 +15,6 @@ declare const TitledPromptCarousel: ({
15
15
  handleButtonClick,
16
16
  promptButtonTexts,
17
17
  promptCarouselAriaLabel
18
- }: TitledPromptCarouselProps) => react_jsx_runtime6.JSX.Element;
18
+ }: TitledPromptCarouselProps) => react_jsx_runtime5.JSX.Element;
19
19
  //#endregion
20
20
  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, promptButtonTexts, promptCarouselAriaLabel }) => {
@@ -1,5 +1,3 @@
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
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');
@@ -8,6 +6,8 @@ const require_letterSpacing = require('../packages/components-v3/tokens/typograp
8
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');
10
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
11
  const require_typography = require('../packages/components-v3/tokens/typography/typography.cjs');
12
12
  const require_spacing = require('../packages/components-v3/tokens/spacing/spacing.cjs');
13
13
  const require_motion = require('../packages/components-v3/tokens/montion/motion.cjs');
@@ -1,5 +1,3 @@
1
- import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
2
- import { screensBreakpointsVariables, tailwindScreens } from "../packages/components-v3/tokens/breakpoints/breakpoints.js";
3
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";
@@ -8,6 +6,8 @@ import { letterSpacingVariables } from "../packages/components-v3/tokens/typogra
8
6
  import { FontFamily, fontFamilyVariables } from "../packages/components-v3/tokens/typography/fontFamily.js";
9
7
  import { borderRadiusVariables } from "../packages/components-v3/tokens/radius/radius.js";
10
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
11
  import { createTypographyComponents } from "../packages/components-v3/tokens/typography/typography.js";
12
12
  import { spacingVariables } from "../packages/components-v3/tokens/spacing/spacing.js";
13
13
  import { animationsVariables, keyFramesVariables } from "../packages/components-v3/tokens/montion/motion.js";
@@ -17,6 +17,7 @@ const require_WidgetTextField = require('../WidgetTextField/WidgetTextField.cjs'
17
17
  require('../WidgetTextField/index.cjs');
18
18
  require('../WidgetWrapper/index.cjs');
19
19
  const require_WidgetWrapperWithTitle = require('../WidgetWrapperWithTitle/WidgetWrapperWithTitle.cjs');
20
+ const require_useAnimatedTextMinHeight = require('../utils/useAnimatedTextMinHeight.cjs');
20
21
  require('../WidgetWrapperWithTitle/index.cjs');
21
22
  const require_useGetTypographyVariant = require('./hooks/useGetTypographyVariant.cjs');
22
23
  let react = require("react");
@@ -25,10 +26,15 @@ let react_jsx_runtime = require("react/jsx-runtime");
25
26
  //#region src/components/TypingAnimation/TypingAnimation.tsx
26
27
  const TypingAnimation = ({ baseProps, widgetContentProps, widgetStyleProps, widgetEventProps }) => {
27
28
  const { id, testId, className, style } = baseProps || {};
28
- const { titleLabel, headlineText, animatedTextSequence, promptButtonTexts, hintText, textFieldAriaLabel } = widgetContentProps || {};
29
+ const { titleLabel, headlineText, animatedTextSequence, promptButtonTexts, hintText, textFieldAriaLabel, logoSrc, hideLogo } = widgetContentProps || {};
29
30
  const { widgetVariant = require_types.WidgetWrapperVariant.CARD_WITH_BORDER, cardColor, promptButtonType = require_PromptButton_types_index.PromptButtonVariant.LIGHT, promptCarouselRows = require_PromptCarousel_types_types.PromptCarouselRows.ALWAYS_ONE, showTextField = true, theme = require_theme.Theme.GLOBAL_CUSTOM, isLoading = false } = widgetStyleProps || {};
30
31
  const { handleButtonClick, handleTextFieldClick } = widgetEventProps || {};
31
32
  const typographyVariant = require_useGetTypographyVariant.useGetTypographyVariant(theme);
33
+ const { measuringRef, minHeight } = require_useAnimatedTextMinHeight.useAnimatedTextMinHeight(animatedTextSequence ?? []);
34
+ const biggestAnimatedText = (0, react.useMemo)(() => {
35
+ if (!animatedTextSequence || animatedTextSequence.length === 0) return "";
36
+ return animatedTextSequence.reduce((maxText, currText) => currText.length > maxText.length ? currText : maxText, "");
37
+ }, [animatedTextSequence]);
32
38
  const getAnimatedTextWrapper = (0, react.useCallback)((text) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
33
39
  variant: typographyVariant,
34
40
  color: require_index.TypographyColor.TEXT_ACCENT,
@@ -42,30 +48,66 @@ const TypingAnimation = ({ baseProps, widgetContentProps, widgetStyleProps, widg
42
48
  className,
43
49
  style,
44
50
  titleLabel,
51
+ logoSrc,
52
+ hideLogo,
45
53
  hexCardColor: cardColor,
46
54
  fullIsLoading: isLoading,
47
55
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
48
56
  direction: "column",
49
57
  gap: "4",
50
58
  children: [
51
- (headlineText || animatedTextSequence && animatedTextSequence.length > 0) && !isLoading && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
52
- "data-testid": "typing-animation-headline-text",
53
- className: "envive-tw-max-w-[90ch] envive-tw-overflow-hidden envive-tw-text-ellipsis envive-tw-whitespace-nowrap",
54
- style: { textAlign: "left" },
55
- children: [
56
- headlineText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
57
- variant: typographyVariant,
58
- color: require_index.TypographyColor.TEXT_PRIMARY,
59
- as: "span",
60
- children: headlineText
61
- }),
62
- " ",
63
- animatedTextSequence && animatedTextSequence.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AnimatedText.AnimatedText, {
64
- sequence: animatedTextSequence,
65
- loop: true,
66
- getNodeWrapper: getAnimatedTextWrapper
67
- }) : null
68
- ]
59
+ (headlineText || animatedTextSequence && animatedTextSequence.length > 0) && !isLoading && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
60
+ style: { position: "relative" },
61
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
62
+ ref: measuringRef,
63
+ "aria-hidden": "true",
64
+ style: {
65
+ position: "absolute",
66
+ visibility: "hidden",
67
+ pointerEvents: "none",
68
+ width: "100%"
69
+ },
70
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
71
+ className: "envive-tw-max-w-[90ch]",
72
+ style: { textAlign: "left" },
73
+ children: [
74
+ headlineText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
75
+ variant: typographyVariant,
76
+ color: require_index.TypographyColor.TEXT_PRIMARY,
77
+ as: "span",
78
+ children: headlineText
79
+ }),
80
+ " ",
81
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
82
+ variant: typographyVariant,
83
+ color: require_index.TypographyColor.TEXT_ACCENT,
84
+ as: "span",
85
+ children: biggestAnimatedText
86
+ })
87
+ ]
88
+ })
89
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
90
+ style: { minHeight },
91
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
92
+ "data-testid": "typing-animation-headline-text",
93
+ className: "envive-tw-max-w-[90ch]",
94
+ style: { textAlign: "left" },
95
+ children: [
96
+ headlineText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
97
+ variant: typographyVariant,
98
+ color: require_index.TypographyColor.TEXT_PRIMARY,
99
+ as: "span",
100
+ children: headlineText
101
+ }),
102
+ " ",
103
+ animatedTextSequence && animatedTextSequence.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AnimatedText.AnimatedText, {
104
+ sequence: animatedTextSequence,
105
+ loop: true,
106
+ getNodeWrapper: getAnimatedTextWrapper
107
+ }) : null
108
+ ]
109
+ })
110
+ })]
69
111
  }),
70
112
  promptButtonTexts && promptButtonTexts.length > 0 && handleButtonClick && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PromptCarousel.PromptCarousel, {
71
113
  id,
@@ -1,5 +1,5 @@
1
1
  import { TypingAnimationProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/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_runtime1.JSX.Element;
10
+ }: TypingAnimationProps) => react_jsx_runtime0.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_runtime4 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 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_runtime4.JSX.Element;
10
+ }: TypingAnimationProps) => react_jsx_runtime2.JSX.Element;
11
11
  //#endregion
12
12
  export { TypingAnimation };
@@ -16,18 +16,24 @@ import { WidgetTextField } from "../WidgetTextField/WidgetTextField.js";
16
16
  import "../WidgetTextField/index.js";
17
17
  import "../WidgetWrapper/index.js";
18
18
  import { WidgetWrapperWithTitle } from "../WidgetWrapperWithTitle/WidgetWrapperWithTitle.js";
19
+ import { useAnimatedTextMinHeight } from "../utils/useAnimatedTextMinHeight.js";
19
20
  import "../WidgetWrapperWithTitle/index.js";
20
21
  import { useGetTypographyVariant } from "./hooks/useGetTypographyVariant.js";
21
- import { useCallback } from "react";
22
+ import { useCallback, useMemo } from "react";
22
23
  import { jsx, jsxs } from "react/jsx-runtime";
23
24
 
24
25
  //#region src/components/TypingAnimation/TypingAnimation.tsx
25
26
  const TypingAnimation = ({ baseProps, widgetContentProps, widgetStyleProps, widgetEventProps }) => {
26
27
  const { id, testId, className, style } = baseProps || {};
27
- const { titleLabel, headlineText, animatedTextSequence, promptButtonTexts, hintText, textFieldAriaLabel } = widgetContentProps || {};
28
+ const { titleLabel, headlineText, animatedTextSequence, promptButtonTexts, hintText, textFieldAriaLabel, logoSrc, hideLogo } = widgetContentProps || {};
28
29
  const { widgetVariant = WidgetWrapperVariant.CARD_WITH_BORDER, cardColor, promptButtonType = PromptButtonVariant.LIGHT, promptCarouselRows = PromptCarouselRows.ALWAYS_ONE, showTextField = true, theme = Theme.GLOBAL_CUSTOM, isLoading = false } = widgetStyleProps || {};
29
30
  const { handleButtonClick, handleTextFieldClick } = widgetEventProps || {};
30
31
  const typographyVariant = useGetTypographyVariant(theme);
32
+ const { measuringRef, minHeight } = useAnimatedTextMinHeight(animatedTextSequence ?? []);
33
+ const biggestAnimatedText = useMemo(() => {
34
+ if (!animatedTextSequence || animatedTextSequence.length === 0) return "";
35
+ return animatedTextSequence.reduce((maxText, currText) => currText.length > maxText.length ? currText : maxText, "");
36
+ }, [animatedTextSequence]);
31
37
  const getAnimatedTextWrapper = useCallback((text) => /* @__PURE__ */ jsx(Typography, {
32
38
  variant: typographyVariant,
33
39
  color: TypographyColor.TEXT_ACCENT,
@@ -41,30 +47,66 @@ const TypingAnimation = ({ baseProps, widgetContentProps, widgetStyleProps, widg
41
47
  className,
42
48
  style,
43
49
  titleLabel,
50
+ logoSrc,
51
+ hideLogo,
44
52
  hexCardColor: cardColor,
45
53
  fullIsLoading: isLoading,
46
54
  children: /* @__PURE__ */ jsxs(Stack, {
47
55
  direction: "column",
48
56
  gap: "4",
49
57
  children: [
50
- (headlineText || animatedTextSequence && animatedTextSequence.length > 0) && !isLoading && /* @__PURE__ */ jsxs("p", {
51
- "data-testid": "typing-animation-headline-text",
52
- className: "envive-tw-max-w-[90ch] envive-tw-overflow-hidden envive-tw-text-ellipsis envive-tw-whitespace-nowrap",
53
- style: { textAlign: "left" },
54
- children: [
55
- headlineText && /* @__PURE__ */ jsx(Typography, {
56
- variant: typographyVariant,
57
- color: TypographyColor.TEXT_PRIMARY,
58
- as: "span",
59
- children: headlineText
60
- }),
61
- " ",
62
- animatedTextSequence && animatedTextSequence.length > 0 ? /* @__PURE__ */ jsx(AnimatedText, {
63
- sequence: animatedTextSequence,
64
- loop: true,
65
- getNodeWrapper: getAnimatedTextWrapper
66
- }) : null
67
- ]
58
+ (headlineText || animatedTextSequence && animatedTextSequence.length > 0) && !isLoading && /* @__PURE__ */ jsxs("div", {
59
+ style: { position: "relative" },
60
+ children: [/* @__PURE__ */ jsx("div", {
61
+ ref: measuringRef,
62
+ "aria-hidden": "true",
63
+ style: {
64
+ position: "absolute",
65
+ visibility: "hidden",
66
+ pointerEvents: "none",
67
+ width: "100%"
68
+ },
69
+ children: /* @__PURE__ */ jsxs("p", {
70
+ className: "envive-tw-max-w-[90ch]",
71
+ style: { textAlign: "left" },
72
+ children: [
73
+ headlineText && /* @__PURE__ */ jsx(Typography, {
74
+ variant: typographyVariant,
75
+ color: TypographyColor.TEXT_PRIMARY,
76
+ as: "span",
77
+ children: headlineText
78
+ }),
79
+ " ",
80
+ /* @__PURE__ */ jsx(Typography, {
81
+ variant: typographyVariant,
82
+ color: TypographyColor.TEXT_ACCENT,
83
+ as: "span",
84
+ children: biggestAnimatedText
85
+ })
86
+ ]
87
+ })
88
+ }), /* @__PURE__ */ jsx("div", {
89
+ style: { minHeight },
90
+ children: /* @__PURE__ */ jsxs("p", {
91
+ "data-testid": "typing-animation-headline-text",
92
+ className: "envive-tw-max-w-[90ch]",
93
+ style: { textAlign: "left" },
94
+ children: [
95
+ headlineText && /* @__PURE__ */ jsx(Typography, {
96
+ variant: typographyVariant,
97
+ color: TypographyColor.TEXT_PRIMARY,
98
+ as: "span",
99
+ children: headlineText
100
+ }),
101
+ " ",
102
+ animatedTextSequence && animatedTextSequence.length > 0 ? /* @__PURE__ */ jsx(AnimatedText, {
103
+ sequence: animatedTextSequence,
104
+ loop: true,
105
+ getNodeWrapper: getAnimatedTextWrapper
106
+ }) : null
107
+ ]
108
+ })
109
+ })]
68
110
  }),
69
111
  promptButtonTexts && promptButtonTexts.length > 0 && handleButtonClick && /* @__PURE__ */ jsx(PromptCarousel, {
70
112
  id,
@@ -56,6 +56,14 @@ type WidgetContentProps = {
56
56
  * Accessibility: Provides an accessible name for the TextField.
57
57
  */
58
58
  textFieldAriaLabel?: string;
59
+ /**
60
+ * Source URL of the logo image displayed in the widget title.
61
+ */
62
+ logoSrc?: string;
63
+ /**
64
+ * When `true`, hides the logo in the title even if logoSrc is provided.
65
+ */
66
+ hideLogo?: boolean;
59
67
  };
60
68
  /**
61
69
  * Props to control the visual appearance, layout, and behavior of the widget.
@@ -56,6 +56,14 @@ type WidgetContentProps = {
56
56
  * Accessibility: Provides an accessible name for the TextField.
57
57
  */
58
58
  textFieldAriaLabel?: string;
59
+ /**
60
+ * Source URL of the logo image displayed in the widget title.
61
+ */
62
+ logoSrc?: string;
63
+ /**
64
+ * When `true`, hides the logo in the title even if logoSrc is provided.
65
+ */
66
+ hideLogo?: boolean;
59
67
  };
60
68
  /**
61
69
  * Props to control the visual appearance, layout, and behavior of the widget.
@@ -1,5 +1,5 @@
1
1
  import { TypographyProps } from "./types/index.js";
2
- import * as react2 from "react";
2
+ import * as react183 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) => react2.DetailedReactHTMLElement<{
21
+ }: TypographyProps) => react183.DetailedReactHTMLElement<{
22
22
  'aria-label': string;
23
23
  'aria-level'?: number;
24
- role?: react2.AriaRole;
24
+ role?: react183.AriaRole;
25
25
  title?: string;
26
26
  className: string;
27
- style: react2.CSSProperties;
27
+ style: react183.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 }) => {
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.cjs";
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/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -15,6 +15,6 @@ declare const WidgetTextField: ({
15
15
  disabled,
16
16
  isLoading,
17
17
  onClick
18
- }: WidgetTextFieldProps) => react_jsx_runtime0.JSX.Element;
18
+ }: WidgetTextFieldProps) => react_jsx_runtime1.JSX.Element;
19
19
  //#endregion
20
20
  export { WidgetTextField };
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.js";
2
- import * as react_jsx_runtime9 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -15,6 +15,6 @@ declare const WidgetTextField: ({
15
15
  disabled,
16
16
  isLoading,
17
17
  onClick
18
- }: WidgetTextFieldProps) => react_jsx_runtime9.JSX.Element;
18
+ }: WidgetTextFieldProps) => react_jsx_runtime1.JSX.Element;
19
19
  //#endregion
20
20
  export { WidgetTextField };
@@ -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, ariaLabel, icon, text, 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, ariaLabel, icon, text, 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 }) => {
@@ -10,7 +10,7 @@ const useGetContainerProperties = ({ theme }) => {
10
10
  return {
11
11
  [require_theme.Theme.STANDARD]: "envive-tw-border-[1px] envive-tw-border-border-light envive-tw-rounded-global-custom",
12
12
  [require_theme.Theme.MODERN]: "envive-tw-border-[1px] envive-tw-border-border-light envive-tw-rounded-4",
13
- [require_theme.Theme.MINIMAL]: "envive-tw-border-b-[1px] envive-tw-border-text-light"
13
+ [require_theme.Theme.MINIMAL]: "envive-tw-border-[1px] envive-tw-border-border-light"
14
14
  }[theme] ?? "";
15
15
  }, [theme])
16
16
  };
@@ -9,7 +9,7 @@ const useGetContainerProperties = ({ theme }) => {
9
9
  return {
10
10
  [Theme.STANDARD]: "envive-tw-border-[1px] envive-tw-border-border-light envive-tw-rounded-global-custom",
11
11
  [Theme.MODERN]: "envive-tw-border-[1px] envive-tw-border-border-light envive-tw-rounded-4",
12
- [Theme.MINIMAL]: "envive-tw-border-b-[1px] envive-tw-border-text-light"
12
+ [Theme.MINIMAL]: "envive-tw-border-[1px] envive-tw-border-border-light"
13
13
  }[theme] ?? "";
14
14
  }, [theme])
15
15
  };