@envive-ai/react-toolkit-v3 0.3.5

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 (1663) hide show
  1. package/LICENSE +2 -0
  2. package/dist/AnimatedText/AnimatedText.cjs +47 -0
  3. package/dist/AnimatedText/AnimatedText.d.cts +13 -0
  4. package/dist/AnimatedText/AnimatedText.d.ts +13 -0
  5. package/dist/AnimatedText/AnimatedText.js +46 -0
  6. package/dist/AnimatedText/index.cjs +3 -0
  7. package/dist/AnimatedText/index.d.cts +2 -0
  8. package/dist/AnimatedText/index.d.ts +2 -0
  9. package/dist/AnimatedText/index.js +3 -0
  10. package/dist/AnimatedText/types/types.d.cts +14 -0
  11. package/dist/AnimatedText/types/types.d.ts +14 -0
  12. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.cjs +14 -0
  13. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +10 -0
  14. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +10 -0
  15. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.js +13 -0
  16. package/dist/CSSVariablesEditor/components/CSSVariablesEditor.cjs +119 -0
  17. package/dist/CSSVariablesEditor/components/CSSVariablesEditor.js +118 -0
  18. package/dist/CSSVariablesEditor/components/Container.cjs +14 -0
  19. package/dist/CSSVariablesEditor/components/Container.js +13 -0
  20. package/dist/CSSVariablesEditor/components/Header.cjs +14 -0
  21. package/dist/CSSVariablesEditor/components/Header.js +13 -0
  22. package/dist/CSSVariablesEditor/components/Purpose.cjs +14 -0
  23. package/dist/CSSVariablesEditor/components/Purpose.js +13 -0
  24. package/dist/CSSVariablesEditor/components/index.cjs +15 -0
  25. package/dist/CSSVariablesEditor/components/index.js +15 -0
  26. package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.cjs +120 -0
  27. package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.js +119 -0
  28. package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.cjs +165 -0
  29. package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.js +164 -0
  30. package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +423 -0
  31. package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +422 -0
  32. package/dist/CSSVariablesEditor/hooks/useHandleCssVariablesState.cjs +55 -0
  33. package/dist/CSSVariablesEditor/hooks/useHandleCssVariablesState.js +54 -0
  34. package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +103 -0
  35. package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +103 -0
  36. package/dist/CSSVariablesEditor/index.cjs +3 -0
  37. package/dist/CSSVariablesEditor/index.d.cts +2 -0
  38. package/dist/CSSVariablesEditor/index.d.ts +2 -0
  39. package/dist/CSSVariablesEditor/index.js +3 -0
  40. package/dist/CSSVariablesEditor/utils/functions.cjs +53 -0
  41. package/dist/CSSVariablesEditor/utils/functions.js +51 -0
  42. package/dist/Carousel/Carousel.cjs +26 -0
  43. package/dist/Carousel/Carousel.d.cts +16 -0
  44. package/dist/Carousel/Carousel.d.ts +16 -0
  45. package/dist/Carousel/Carousel.js +25 -0
  46. package/dist/Carousel/components/ArrowIcon.cjs +21 -0
  47. package/dist/Carousel/components/ArrowIcon.js +20 -0
  48. package/dist/Carousel/components/Badge.cjs +28 -0
  49. package/dist/Carousel/components/Badge.js +26 -0
  50. package/dist/Carousel/components/Container.cjs +68 -0
  51. package/dist/Carousel/components/Container.js +67 -0
  52. package/dist/Carousel/components/Item.cjs +11 -0
  53. package/dist/Carousel/components/Item.js +10 -0
  54. package/dist/Carousel/components/Next.cjs +17 -0
  55. package/dist/Carousel/components/Next.js +16 -0
  56. package/dist/Carousel/components/Previous.cjs +17 -0
  57. package/dist/Carousel/components/Previous.js +16 -0
  58. package/dist/Carousel/components/index.cjs +17 -0
  59. package/dist/Carousel/components/index.js +17 -0
  60. package/dist/Carousel/hooks/useCarouselButtons.cjs +13 -0
  61. package/dist/Carousel/hooks/useCarouselButtons.js +12 -0
  62. package/dist/Carousel/hooks/useCarouselItems.cjs +16 -0
  63. package/dist/Carousel/hooks/useCarouselItems.js +15 -0
  64. package/dist/Carousel/hooks/useCarouselNavigation.cjs +102 -0
  65. package/dist/Carousel/hooks/useCarouselNavigation.js +101 -0
  66. package/dist/Carousel/hooks/useCarouselNavigationButtons.cjs +33 -0
  67. package/dist/Carousel/hooks/useCarouselNavigationButtons.js +32 -0
  68. package/dist/Carousel/hooks/useGetBadgeProperties.cjs +20 -0
  69. package/dist/Carousel/hooks/useGetBadgeProperties.js +19 -0
  70. package/dist/Carousel/index.cjs +3 -0
  71. package/dist/Carousel/index.d.cts +3 -0
  72. package/dist/Carousel/index.d.ts +3 -0
  73. package/dist/Carousel/index.js +3 -0
  74. package/dist/Carousel/types/types.d.cts +50 -0
  75. package/dist/Carousel/types/types.d.ts +50 -0
  76. package/dist/ChatFooter/ChatFooter.cjs +43 -0
  77. package/dist/ChatFooter/ChatFooter.d.cts +23 -0
  78. package/dist/ChatFooter/ChatFooter.d.ts +23 -0
  79. package/dist/ChatFooter/ChatFooter.js +41 -0
  80. package/dist/ChatFooter/components/EnviveLogo.cjs +18 -0
  81. package/dist/ChatFooter/components/EnviveLogo.js +17 -0
  82. package/dist/ChatFooter/components/Layout.cjs +51 -0
  83. package/dist/ChatFooter/components/Layout.d.cts +17 -0
  84. package/dist/ChatFooter/components/Layout.d.ts +18 -0
  85. package/dist/ChatFooter/components/Layout.js +49 -0
  86. package/dist/ChatFooter/components/PromptSuggestions.cjs +21 -0
  87. package/dist/ChatFooter/components/PromptSuggestions.d.cts +13 -0
  88. package/dist/ChatFooter/components/PromptSuggestions.d.ts +14 -0
  89. package/dist/ChatFooter/components/PromptSuggestions.js +20 -0
  90. package/dist/ChatFooter/components/index.cjs +16 -0
  91. package/dist/ChatFooter/components/index.d.cts +51 -0
  92. package/dist/ChatFooter/components/index.d.ts +51 -0
  93. package/dist/ChatFooter/components/index.js +16 -0
  94. package/dist/ChatFooter/hooks/useGetButtonScrollProperties.cjs +18 -0
  95. package/dist/ChatFooter/hooks/useGetButtonScrollProperties.js +17 -0
  96. package/dist/ChatFooter/hooks/useGetChatScrollProperties.cjs +24 -0
  97. package/dist/ChatFooter/hooks/useGetChatScrollProperties.js +23 -0
  98. package/dist/ChatFooter/hooks/useGetContainerProperties.cjs +20 -0
  99. package/dist/ChatFooter/hooks/useGetContainerProperties.js +19 -0
  100. package/dist/ChatFooter/index.cjs +5 -0
  101. package/dist/ChatFooter/index.d.cts +3 -0
  102. package/dist/ChatFooter/index.d.ts +3 -0
  103. package/dist/ChatFooter/index.js +4 -0
  104. package/dist/ChatFooter/types/types.d.cts +74 -0
  105. package/dist/ChatFooter/types/types.d.ts +74 -0
  106. package/dist/ChatHeader/ChatHeader.cjs +45 -0
  107. package/dist/ChatHeader/ChatHeader.d.cts +25 -0
  108. package/dist/ChatHeader/ChatHeader.d.ts +25 -0
  109. package/dist/ChatHeader/ChatHeader.js +44 -0
  110. package/dist/ChatHeader/components/CloseButton.cjs +29 -0
  111. package/dist/ChatHeader/components/CloseButton.js +28 -0
  112. package/dist/ChatHeader/components/Handle.cjs +22 -0
  113. package/dist/ChatHeader/components/Handle.js +21 -0
  114. package/dist/ChatHeader/components/Layout.cjs +18 -0
  115. package/dist/ChatHeader/components/Layout.js +17 -0
  116. package/dist/ChatHeader/components/Logo.cjs +21 -0
  117. package/dist/ChatHeader/components/Logo.js +20 -0
  118. package/dist/ChatHeader/components/Toggle.cjs +45 -0
  119. package/dist/ChatHeader/components/Toggle.js +44 -0
  120. package/dist/ChatHeader/components/ToggleItem.cjs +38 -0
  121. package/dist/ChatHeader/components/ToggleItem.js +37 -0
  122. package/dist/ChatHeader/components/index.cjs +19 -0
  123. package/dist/ChatHeader/components/index.js +19 -0
  124. package/dist/ChatHeader/hooks/useGetCloseButtonProperties.cjs +28 -0
  125. package/dist/ChatHeader/hooks/useGetCloseButtonProperties.js +26 -0
  126. package/dist/ChatHeader/hooks/useGetHandleProperties.cjs +75 -0
  127. package/dist/ChatHeader/hooks/useGetHandleProperties.js +75 -0
  128. package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +33 -0
  129. package/dist/ChatHeader/hooks/useGetLayoutProperties.js +31 -0
  130. package/dist/ChatHeader/hooks/useGetLogoProperties.cjs +11 -0
  131. package/dist/ChatHeader/hooks/useGetLogoProperties.js +10 -0
  132. package/dist/ChatHeader/hooks/useGetToggleOptionProperties.cjs +83 -0
  133. package/dist/ChatHeader/hooks/useGetToggleOptionProperties.js +83 -0
  134. package/dist/ChatHeader/hooks/useGetToggleProperties.cjs +18 -0
  135. package/dist/ChatHeader/hooks/useGetToggleProperties.js +18 -0
  136. package/dist/ChatHeader/hooks/useHeaderLogoSelector.cjs +9 -0
  137. package/dist/ChatHeader/hooks/useHeaderLogoSelector.js +9 -0
  138. package/dist/ChatHeader/hooks/useToggleLogoSelector.cjs +14 -0
  139. package/dist/ChatHeader/hooks/useToggleLogoSelector.js +14 -0
  140. package/dist/ChatHeader/index.cjs +5 -0
  141. package/dist/ChatHeader/index.d.cts +3 -0
  142. package/dist/ChatHeader/index.d.ts +3 -0
  143. package/dist/ChatHeader/index.js +4 -0
  144. package/dist/ChatHeader/types/index.cjs +22 -0
  145. package/dist/ChatHeader/types/index.d.cts +49 -0
  146. package/dist/ChatHeader/types/index.d.ts +49 -0
  147. package/dist/ChatHeader/types/index.js +19 -0
  148. package/dist/ChatPreview/ChatPreview.cjs +56 -0
  149. package/dist/ChatPreview/ChatPreview.d.cts +12 -0
  150. package/dist/ChatPreview/ChatPreview.d.ts +12 -0
  151. package/dist/ChatPreview/ChatPreview.js +55 -0
  152. package/dist/ChatPreview/components/Layout.cjs +21 -0
  153. package/dist/ChatPreview/components/Layout.js +20 -0
  154. package/dist/ChatPreview/components/Message.cjs +17 -0
  155. package/dist/ChatPreview/components/Message.js +16 -0
  156. package/dist/ChatPreview/components/index.cjs +11 -0
  157. package/dist/ChatPreview/components/index.js +11 -0
  158. package/dist/ChatPreview/index.cjs +3 -0
  159. package/dist/ChatPreview/index.d.cts +3 -0
  160. package/dist/ChatPreview/index.d.ts +3 -0
  161. package/dist/ChatPreview/index.js +3 -0
  162. package/dist/ChatPreview/types/types.d.cts +143 -0
  163. package/dist/ChatPreview/types/types.d.ts +143 -0
  164. package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +67 -0
  165. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +12 -0
  166. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +12 -0
  167. package/dist/ChatPreviewComparison/ChatPreviewComparison.js +66 -0
  168. package/dist/ChatPreviewComparison/components/Headline.cjs +23 -0
  169. package/dist/ChatPreviewComparison/components/Headline.js +22 -0
  170. package/dist/ChatPreviewComparison/components/Layout.cjs +96 -0
  171. package/dist/ChatPreviewComparison/components/Layout.js +95 -0
  172. package/dist/ChatPreviewComparison/components/Message.cjs +23 -0
  173. package/dist/ChatPreviewComparison/components/Message.js +22 -0
  174. package/dist/ChatPreviewComparison/components/index.cjs +13 -0
  175. package/dist/ChatPreviewComparison/components/index.js +13 -0
  176. package/dist/ChatPreviewComparison/index.cjs +3 -0
  177. package/dist/ChatPreviewComparison/index.d.cts +3 -0
  178. package/dist/ChatPreviewComparison/index.d.ts +3 -0
  179. package/dist/ChatPreviewComparison/index.js +3 -0
  180. package/dist/ChatPreviewComparison/types/types.d.cts +152 -0
  181. package/dist/ChatPreviewComparison/types/types.d.ts +152 -0
  182. package/dist/ChatPreviewLoading/ChatPreviewLoading.cjs +59 -0
  183. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +20 -0
  184. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +20 -0
  185. package/dist/ChatPreviewLoading/ChatPreviewLoading.js +58 -0
  186. package/dist/ChatPreviewLoading/components/LayoutLoading.cjs +21 -0
  187. package/dist/ChatPreviewLoading/components/LayoutLoading.js +20 -0
  188. package/dist/ChatPreviewLoading/components/Skeleton.cjs +14 -0
  189. package/dist/ChatPreviewLoading/components/Skeleton.js +13 -0
  190. package/dist/ChatPreviewLoading/components/index.cjs +13 -0
  191. package/dist/ChatPreviewLoading/components/index.js +13 -0
  192. package/dist/ChatPreviewLoading/index.cjs +3 -0
  193. package/dist/ChatPreviewLoading/index.d.cts +3 -0
  194. package/dist/ChatPreviewLoading/index.d.ts +3 -0
  195. package/dist/ChatPreviewLoading/index.js +3 -0
  196. package/dist/ChatPreviewLoading/types/types.d.cts +76 -0
  197. package/dist/ChatPreviewLoading/types/types.d.ts +76 -0
  198. package/dist/Container/Container.cjs +26 -0
  199. package/dist/Container/Container.d.cts +303 -0
  200. package/dist/Container/Container.d.ts +303 -0
  201. package/dist/Container/Container.js +24 -0
  202. package/dist/Container/hooks/useGetCenterContentProperties.cjs +13 -0
  203. package/dist/Container/hooks/useGetCenterContentProperties.js +12 -0
  204. package/dist/Container/hooks/useGetFluidProperties.cjs +13 -0
  205. package/dist/Container/hooks/useGetFluidProperties.js +12 -0
  206. package/dist/Container/index.cjs +3 -0
  207. package/dist/Container/index.d.cts +3 -0
  208. package/dist/Container/index.d.ts +3 -0
  209. package/dist/Container/index.js +3 -0
  210. package/dist/Container/types/index.d.cts +43 -0
  211. package/dist/Container/types/index.d.ts +43 -0
  212. package/dist/DesignTokens/DesignTokensComponent.cjs +30 -0
  213. package/dist/DesignTokens/DesignTokensComponent.d.cts +14 -0
  214. package/dist/DesignTokens/DesignTokensComponent.d.ts +14 -0
  215. package/dist/DesignTokens/DesignTokensComponent.js +28 -0
  216. package/dist/DesignTokens/components/BorderRadius.cjs +27 -0
  217. package/dist/DesignTokens/components/BorderRadius.js +26 -0
  218. package/dist/DesignTokens/components/Breakpoints.cjs +35 -0
  219. package/dist/DesignTokens/components/Breakpoints.js +34 -0
  220. package/dist/DesignTokens/components/Container.cjs +14 -0
  221. package/dist/DesignTokens/components/Container.js +13 -0
  222. package/dist/DesignTokens/components/FontFamily.cjs +42 -0
  223. package/dist/DesignTokens/components/FontFamily.js +40 -0
  224. package/dist/DesignTokens/components/FontSize.cjs +47 -0
  225. package/dist/DesignTokens/components/FontSize.js +45 -0
  226. package/dist/DesignTokens/components/FontWeight.cjs +39 -0
  227. package/dist/DesignTokens/components/FontWeight.js +37 -0
  228. package/dist/DesignTokens/components/Header.cjs +14 -0
  229. package/dist/DesignTokens/components/Header.js +13 -0
  230. package/dist/DesignTokens/components/LetterSpacing.cjs +35 -0
  231. package/dist/DesignTokens/components/LetterSpacing.js +33 -0
  232. package/dist/DesignTokens/components/LineHeight.cjs +38 -0
  233. package/dist/DesignTokens/components/LineHeight.js +36 -0
  234. package/dist/DesignTokens/components/PaletteColors.cjs +146 -0
  235. package/dist/DesignTokens/components/PaletteColors.js +145 -0
  236. package/dist/DesignTokens/components/Purpose.cjs +14 -0
  237. package/dist/DesignTokens/components/Purpose.js +13 -0
  238. package/dist/DesignTokens/components/Spacing.cjs +37 -0
  239. package/dist/DesignTokens/components/Spacing.js +36 -0
  240. package/dist/DesignTokens/components/Typography.cjs +119 -0
  241. package/dist/DesignTokens/components/Typography.js +117 -0
  242. package/dist/DesignTokens/components/index.cjs +33 -0
  243. package/dist/DesignTokens/components/index.js +33 -0
  244. package/dist/DesignTokens/components/utils.cjs +20 -0
  245. package/dist/DesignTokens/components/utils.js +18 -0
  246. package/dist/DesignTokens/hooks/useGetDesignTokensFromTailwindConfig.cjs +34 -0
  247. package/dist/DesignTokens/hooks/useGetDesignTokensFromTailwindConfig.js +33 -0
  248. package/dist/DesignTokens/index.cjs +3 -0
  249. package/dist/DesignTokens/index.d.cts +2 -0
  250. package/dist/DesignTokens/index.d.ts +2 -0
  251. package/dist/DesignTokens/index.js +3 -0
  252. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.cjs +40 -0
  253. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +21 -0
  254. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +21 -0
  255. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.js +39 -0
  256. package/dist/DocumentRetrievalCard/components/Content.cjs +40 -0
  257. package/dist/DocumentRetrievalCard/components/Content.js +39 -0
  258. package/dist/DocumentRetrievalCard/components/Image.cjs +20 -0
  259. package/dist/DocumentRetrievalCard/components/Image.js +18 -0
  260. package/dist/DocumentRetrievalCard/components/Layout.cjs +45 -0
  261. package/dist/DocumentRetrievalCard/components/Layout.js +43 -0
  262. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +25 -0
  263. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +23 -0
  264. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.cjs +28 -0
  265. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +26 -0
  266. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +25 -0
  267. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +23 -0
  268. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/index.cjs +13 -0
  269. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/index.js +13 -0
  270. package/dist/DocumentRetrievalCard/components/ViewArticleButton.cjs +40 -0
  271. package/dist/DocumentRetrievalCard/components/ViewArticleButton.js +39 -0
  272. package/dist/DocumentRetrievalCard/components/index.cjs +15 -0
  273. package/dist/DocumentRetrievalCard/components/index.js +15 -0
  274. package/dist/DocumentRetrievalCard/hooks/useGetBackgroundColorsProperties.cjs +16 -0
  275. package/dist/DocumentRetrievalCard/hooks/useGetBackgroundColorsProperties.js +16 -0
  276. package/dist/DocumentRetrievalCard/hooks/useGetBorderProperties.cjs +16 -0
  277. package/dist/DocumentRetrievalCard/hooks/useGetBorderProperties.js +16 -0
  278. package/dist/DocumentRetrievalCard/hooks/useGetBorderRadiusProperties.cjs +13 -0
  279. package/dist/DocumentRetrievalCard/hooks/useGetBorderRadiusProperties.js +13 -0
  280. package/dist/DocumentRetrievalCard/hooks/useGetCardWidthProperties.cjs +8 -0
  281. package/dist/DocumentRetrievalCard/hooks/useGetCardWidthProperties.js +7 -0
  282. package/dist/DocumentRetrievalCard/hooks/useGetIconBackgroundProperties.cjs +13 -0
  283. package/dist/DocumentRetrievalCard/hooks/useGetIconBackgroundProperties.js +13 -0
  284. package/dist/DocumentRetrievalCard/hooks/useGetIconColorProperties.cjs +13 -0
  285. package/dist/DocumentRetrievalCard/hooks/useGetIconColorProperties.js +13 -0
  286. package/dist/DocumentRetrievalCard/hooks/useGetLabelTextCaseProperties.cjs +9 -0
  287. package/dist/DocumentRetrievalCard/hooks/useGetLabelTextCaseProperties.js +9 -0
  288. package/dist/DocumentRetrievalCard/hooks/useGetLabelTypographyProperties.cjs +15 -0
  289. package/dist/DocumentRetrievalCard/hooks/useGetLabelTypographyProperties.js +15 -0
  290. package/dist/DocumentRetrievalCard/hooks/useGetLabelUnderlineProperties.cjs +11 -0
  291. package/dist/DocumentRetrievalCard/hooks/useGetLabelUnderlineProperties.js +10 -0
  292. package/dist/DocumentRetrievalCard/hooks/useGetPaddingProperties.cjs +11 -0
  293. package/dist/DocumentRetrievalCard/hooks/useGetPaddingProperties.js +10 -0
  294. package/dist/DocumentRetrievalCard/hooks/useGetStackLayoutProperties.cjs +12 -0
  295. package/dist/DocumentRetrievalCard/hooks/useGetStackLayoutProperties.js +11 -0
  296. package/dist/DocumentRetrievalCard/hooks/useGetThemeProperties.cjs +32 -0
  297. package/dist/DocumentRetrievalCard/hooks/useGetThemeProperties.js +32 -0
  298. package/dist/DocumentRetrievalCard/index.cjs +7 -0
  299. package/dist/DocumentRetrievalCard/index.d.cts +4 -0
  300. package/dist/DocumentRetrievalCard/index.d.ts +4 -0
  301. package/dist/DocumentRetrievalCard/index.js +5 -0
  302. package/dist/DocumentRetrievalCard/types/index.cjs +10 -0
  303. package/dist/DocumentRetrievalCard/types/index.d.cts +73 -0
  304. package/dist/DocumentRetrievalCard/types/index.d.ts +73 -0
  305. package/dist/DocumentRetrievalCard/types/index.js +9 -0
  306. package/dist/DocumentRetrievalCard/utils/functions.cjs +29 -0
  307. package/dist/DocumentRetrievalCard/utils/functions.js +27 -0
  308. package/dist/FloatingButton/FloatingButton.cjs +37 -0
  309. package/dist/FloatingButton/FloatingButton.d.cts +21 -0
  310. package/dist/FloatingButton/FloatingButton.d.ts +21 -0
  311. package/dist/FloatingButton/FloatingButton.js +36 -0
  312. package/dist/FloatingButton/components/Button.cjs +23 -0
  313. package/dist/FloatingButton/components/Button.js +21 -0
  314. package/dist/FloatingButton/components/Container.cjs +23 -0
  315. package/dist/FloatingButton/components/Container.js +21 -0
  316. package/dist/FloatingButton/components/Icon.cjs +25 -0
  317. package/dist/FloatingButton/components/Icon.js +24 -0
  318. package/dist/FloatingButton/components/Wrapper.cjs +18 -0
  319. package/dist/FloatingButton/components/Wrapper.js +16 -0
  320. package/dist/FloatingButton/components/index.cjs +15 -0
  321. package/dist/FloatingButton/components/index.js +15 -0
  322. package/dist/FloatingButton/hooks/useGetButtonHoverProperties.cjs +19 -0
  323. package/dist/FloatingButton/hooks/useGetButtonHoverProperties.js +19 -0
  324. package/dist/FloatingButton/hooks/useGetButtonProperties.cjs +22 -0
  325. package/dist/FloatingButton/hooks/useGetButtonProperties.js +22 -0
  326. package/dist/FloatingButton/hooks/useGetContainerProperties.cjs +57 -0
  327. package/dist/FloatingButton/hooks/useGetContainerProperties.js +57 -0
  328. package/dist/FloatingButton/hooks/useGetIconProperties.cjs +15 -0
  329. package/dist/FloatingButton/hooks/useGetIconProperties.js +15 -0
  330. package/dist/FloatingButton/hooks/useGetWrapperProperties.cjs +20 -0
  331. package/dist/FloatingButton/hooks/useGetWrapperProperties.js +20 -0
  332. package/dist/FloatingButton/index.cjs +8 -0
  333. package/dist/FloatingButton/index.d.cts +3 -0
  334. package/dist/FloatingButton/index.d.ts +3 -0
  335. package/dist/FloatingButton/index.js +4 -0
  336. package/dist/FloatingButton/types/types.cjs +45 -0
  337. package/dist/FloatingButton/types/types.d.cts +97 -0
  338. package/dist/FloatingButton/types/types.d.ts +97 -0
  339. package/dist/FloatingButton/types/types.js +41 -0
  340. package/dist/FloatingChat/FloatingChat.cjs +142 -0
  341. package/dist/FloatingChat/FloatingChat.d.cts +19 -0
  342. package/dist/FloatingChat/FloatingChat.d.ts +19 -0
  343. package/dist/FloatingChat/FloatingChat.js +141 -0
  344. package/dist/FloatingChat/components/AgentMessage.cjs +75 -0
  345. package/dist/FloatingChat/components/AgentMessage.js +74 -0
  346. package/dist/FloatingChat/components/ChatMessages.cjs +71 -0
  347. package/dist/FloatingChat/components/ChatMessages.js +69 -0
  348. package/dist/FloatingChat/components/DocumentRetrievalCardsCarousel.cjs +25 -0
  349. package/dist/FloatingChat/components/DocumentRetrievalCardsCarousel.js +24 -0
  350. package/dist/FloatingChat/components/Layout.cjs +59 -0
  351. package/dist/FloatingChat/components/Layout.js +57 -0
  352. package/dist/FloatingChat/components/MessageDivider.cjs +30 -0
  353. package/dist/FloatingChat/components/MessageDivider.js +29 -0
  354. package/dist/FloatingChat/components/OrderLookupCardCarousel.cjs +31 -0
  355. package/dist/FloatingChat/components/OrderLookupCardCarousel.js +30 -0
  356. package/dist/FloatingChat/components/ReviewCardsCarousel.cjs +27 -0
  357. package/dist/FloatingChat/components/ReviewCardsCarousel.js +26 -0
  358. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +36 -0
  359. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +35 -0
  360. package/dist/FloatingChat/components/ScrollToBottomButton.cjs +31 -0
  361. package/dist/FloatingChat/components/ScrollToBottomButton.js +30 -0
  362. package/dist/FloatingChat/components/UserMessage.cjs +35 -0
  363. package/dist/FloatingChat/components/UserMessage.js +34 -0
  364. package/dist/FloatingChat/components/index.cjs +27 -0
  365. package/dist/FloatingChat/components/index.js +27 -0
  366. package/dist/FloatingChat/hooks/useScrollToBottom.cjs +50 -0
  367. package/dist/FloatingChat/hooks/useScrollToBottom.js +49 -0
  368. package/dist/FloatingChat/index.cjs +3 -0
  369. package/dist/FloatingChat/index.d.cts +2 -0
  370. package/dist/FloatingChat/index.d.ts +2 -0
  371. package/dist/FloatingChat/index.js +3 -0
  372. package/dist/FloatingChat/types/types.d.cts +64 -0
  373. package/dist/FloatingChat/types/types.d.ts +65 -0
  374. package/dist/FloatingChat/utils/functions.cjs +85 -0
  375. package/dist/FloatingChat/utils/functions.js +79 -0
  376. package/dist/Form/Form.cjs +53 -0
  377. package/dist/Form/Form.d.cts +19 -0
  378. package/dist/Form/Form.d.ts +19 -0
  379. package/dist/Form/Form.js +51 -0
  380. package/dist/Form/components/Layout.cjs +35 -0
  381. package/dist/Form/components/Layout.js +33 -0
  382. package/dist/Form/components/SubmitButtonItem.cjs +24 -0
  383. package/dist/Form/components/SubmitButtonItem.js +22 -0
  384. package/dist/Form/components/TextFieldItem.cjs +43 -0
  385. package/dist/Form/components/TextFieldItem.js +41 -0
  386. package/dist/Form/components/index.cjs +13 -0
  387. package/dist/Form/components/index.js +13 -0
  388. package/dist/Form/hooks/useFormsTextFieldValues.cjs +31 -0
  389. package/dist/Form/hooks/useFormsTextFieldValues.js +30 -0
  390. package/dist/Form/hooks/useGetButtonProperties.cjs +21 -0
  391. package/dist/Form/hooks/useGetButtonProperties.js +20 -0
  392. package/dist/Form/hooks/useGetTextFieldProperties.cjs +25 -0
  393. package/dist/Form/hooks/useGetTextFieldProperties.js +24 -0
  394. package/dist/Form/index.cjs +3 -0
  395. package/dist/Form/index.d.cts +3 -0
  396. package/dist/Form/index.d.ts +3 -0
  397. package/dist/Form/index.js +3 -0
  398. package/dist/Form/types/index.d.cts +71 -0
  399. package/dist/Form/types/index.d.ts +71 -0
  400. package/dist/Form/utils/buildSubmitButtonElement.cjs +18 -0
  401. package/dist/Form/utils/buildSubmitButtonElement.js +17 -0
  402. package/dist/Form/utils/buildTextFieldsSubmitPayload.cjs +17 -0
  403. package/dist/Form/utils/buildTextFieldsSubmitPayload.js +16 -0
  404. package/dist/Form/utils/createFormSchema.cjs +40 -0
  405. package/dist/Form/utils/createFormSchema.js +39 -0
  406. package/dist/Form/utils/handleFormsSubmit.cjs +16 -0
  407. package/dist/Form/utils/handleFormsSubmit.js +16 -0
  408. package/dist/Form/utils/mapTextFields.cjs +24 -0
  409. package/dist/Form/utils/mapTextFields.js +23 -0
  410. package/dist/Form/utils/validateTextFieldsForSubmit.cjs +37 -0
  411. package/dist/Form/utils/validateTextFieldsForSubmit.js +37 -0
  412. package/dist/Image/Image.cjs +64 -0
  413. package/dist/Image/Image.d.cts +30 -0
  414. package/dist/Image/Image.d.ts +30 -0
  415. package/dist/Image/Image.js +62 -0
  416. package/dist/Image/hooks/useGetAccessibilityProperties.cjs +24 -0
  417. package/dist/Image/hooks/useGetAccessibilityProperties.js +23 -0
  418. package/dist/Image/hooks/useGetAspectRatioProperties.cjs +19 -0
  419. package/dist/Image/hooks/useGetAspectRatioProperties.js +18 -0
  420. package/dist/Image/hooks/useGetObjectFitProperties.cjs +20 -0
  421. package/dist/Image/hooks/useGetObjectFitProperties.js +19 -0
  422. package/dist/Image/hooks/useGetRoundedProperties.cjs +12 -0
  423. package/dist/Image/hooks/useGetRoundedProperties.js +11 -0
  424. package/dist/Image/hooks/useGetSkeletonProperties.cjs +13 -0
  425. package/dist/Image/hooks/useGetSkeletonProperties.js +12 -0
  426. package/dist/Image/hooks/useGetWidthProperties.cjs +19 -0
  427. package/dist/Image/hooks/useGetWidthProperties.js +18 -0
  428. package/dist/Image/hooks/useHandleImageLoading.cjs +32 -0
  429. package/dist/Image/hooks/useHandleImageLoading.js +31 -0
  430. package/dist/Image/index.cjs +6 -0
  431. package/dist/Image/index.d.cts +3 -0
  432. package/dist/Image/index.d.ts +3 -0
  433. package/dist/Image/index.js +4 -0
  434. package/dist/Image/types/index.cjs +54 -0
  435. package/dist/Image/types/index.d.cts +131 -0
  436. package/dist/Image/types/index.d.ts +131 -0
  437. package/dist/Image/types/index.js +52 -0
  438. package/dist/ImageGallery/ImageGallery.cjs +58 -0
  439. package/dist/ImageGallery/ImageGallery.d.cts +45 -0
  440. package/dist/ImageGallery/ImageGallery.d.ts +45 -0
  441. package/dist/ImageGallery/ImageGallery.js +57 -0
  442. package/dist/ImageGallery/components/ImageItem.cjs +11 -0
  443. package/dist/ImageGallery/components/ImageItem.js +10 -0
  444. package/dist/ImageGallery/components/Layout.cjs +52 -0
  445. package/dist/ImageGallery/components/Layout.js +50 -0
  446. package/dist/ImageGallery/components/NormalLayout.cjs +12 -0
  447. package/dist/ImageGallery/components/NormalLayout.js +10 -0
  448. package/dist/ImageGallery/components/OverlappedLayout.cjs +16 -0
  449. package/dist/ImageGallery/components/OverlappedLayout.js +15 -0
  450. package/dist/ImageGallery/components/index.cjs +15 -0
  451. package/dist/ImageGallery/components/index.js +15 -0
  452. package/dist/ImageGallery/hooks/useGetContainerProperties.cjs +19 -0
  453. package/dist/ImageGallery/hooks/useGetContainerProperties.js +18 -0
  454. package/dist/ImageGallery/hooks/useValidateImages.cjs +17 -0
  455. package/dist/ImageGallery/hooks/useValidateImages.js +17 -0
  456. package/dist/ImageGallery/index.cjs +5 -0
  457. package/dist/ImageGallery/index.d.cts +3 -0
  458. package/dist/ImageGallery/index.d.ts +3 -0
  459. package/dist/ImageGallery/index.js +4 -0
  460. package/dist/ImageGallery/types/types.cjs +12 -0
  461. package/dist/ImageGallery/types/types.d.cts +132 -0
  462. package/dist/ImageGallery/types/types.d.ts +132 -0
  463. package/dist/ImageGallery/types/types.js +11 -0
  464. package/dist/ImageGallery/utils/functions.cjs +15 -0
  465. package/dist/ImageGallery/utils/functions.js +15 -0
  466. package/dist/MarkdownProcessor/MarkdownProcessor.cjs +46 -0
  467. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +14 -0
  468. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +14 -0
  469. package/dist/MarkdownProcessor/MarkdownProcessor.js +42 -0
  470. package/dist/MarkdownProcessor/components/MarkdownLink.cjs +12 -0
  471. package/dist/MarkdownProcessor/components/MarkdownLink.js +11 -0
  472. package/dist/MarkdownProcessor/components/MarkdownListItem.cjs +15 -0
  473. package/dist/MarkdownProcessor/components/MarkdownListItem.js +14 -0
  474. package/dist/MarkdownProcessor/components/MarkdownOrderedList.cjs +11 -0
  475. package/dist/MarkdownProcessor/components/MarkdownOrderedList.js +10 -0
  476. package/dist/MarkdownProcessor/components/MarkdownParagraph.cjs +16 -0
  477. package/dist/MarkdownProcessor/components/MarkdownParagraph.js +15 -0
  478. package/dist/MarkdownProcessor/components/MarkdownSubscript.cjs +15 -0
  479. package/dist/MarkdownProcessor/components/MarkdownSubscript.js +14 -0
  480. package/dist/MarkdownProcessor/components/MarkdownUnorderedList.cjs +11 -0
  481. package/dist/MarkdownProcessor/components/MarkdownUnorderedList.js +10 -0
  482. package/dist/MarkdownProcessor/components/index.cjs +19 -0
  483. package/dist/MarkdownProcessor/components/index.js +19 -0
  484. package/dist/MarkdownProcessor/index.cjs +3 -0
  485. package/dist/MarkdownProcessor/index.d.cts +3 -0
  486. package/dist/MarkdownProcessor/index.d.ts +3 -0
  487. package/dist/MarkdownProcessor/index.js +3 -0
  488. package/dist/MarkdownProcessor/types/types.d.cts +44 -0
  489. package/dist/MarkdownProcessor/types/types.d.ts +44 -0
  490. package/dist/MarkdownProcessor/utils/functions.cjs +28 -0
  491. package/dist/MarkdownProcessor/utils/functions.js +26 -0
  492. package/dist/Message/Message.cjs +44 -0
  493. package/dist/Message/Message.d.cts +21 -0
  494. package/dist/Message/Message.d.ts +21 -0
  495. package/dist/Message/Message.js +43 -0
  496. package/dist/Message/components/AgentContent.cjs +16 -0
  497. package/dist/Message/components/AgentContent.js +15 -0
  498. package/dist/Message/components/AgentHeader.cjs +28 -0
  499. package/dist/Message/components/AgentHeader.js +27 -0
  500. package/dist/Message/components/Layout.cjs +25 -0
  501. package/dist/Message/components/Layout.js +23 -0
  502. package/dist/Message/components/LinkButton.cjs +53 -0
  503. package/dist/Message/components/LinkButton.d.cts +15 -0
  504. package/dist/Message/components/LinkButton.d.ts +15 -0
  505. package/dist/Message/components/LinkButton.js +52 -0
  506. package/dist/Message/components/LoadingSkeleton.cjs +19 -0
  507. package/dist/Message/components/LoadingSkeleton.js +18 -0
  508. package/dist/Message/components/SparkleIcon.cjs +22 -0
  509. package/dist/Message/components/SparkleIcon.js +21 -0
  510. package/dist/Message/components/UserContent.cjs +20 -0
  511. package/dist/Message/components/UserContent.js +19 -0
  512. package/dist/Message/components/index.cjs +21 -0
  513. package/dist/Message/components/index.js +21 -0
  514. package/dist/Message/hooks/useGetLinkButtonIconProperties.cjs +15 -0
  515. package/dist/Message/hooks/useGetLinkButtonIconProperties.js +14 -0
  516. package/dist/Message/hooks/useGetLinkButtonProperties.cjs +15 -0
  517. package/dist/Message/hooks/useGetLinkButtonProperties.js +14 -0
  518. package/dist/Message/hooks/useLatencyAnimation.cjs +47 -0
  519. package/dist/Message/hooks/useLatencyAnimation.js +46 -0
  520. package/dist/Message/hooks/useVariantStyleProperties.cjs +33 -0
  521. package/dist/Message/hooks/useVariantStyleProperties.js +32 -0
  522. package/dist/Message/index.cjs +7 -0
  523. package/dist/Message/index.d.cts +4 -0
  524. package/dist/Message/index.d.ts +4 -0
  525. package/dist/Message/index.js +5 -0
  526. package/dist/Message/types/index.cjs +13 -0
  527. package/dist/Message/types/index.d.cts +60 -0
  528. package/dist/Message/types/index.d.ts +60 -0
  529. package/dist/Message/types/index.js +12 -0
  530. package/dist/Message/utils/openUrlInNewTab.cjs +16 -0
  531. package/dist/Message/utils/openUrlInNewTab.js +15 -0
  532. package/dist/Message/utils/validateMessageProps.cjs +22 -0
  533. package/dist/Message/utils/validateMessageProps.js +21 -0
  534. package/dist/OrderLookupCard/OrderLookupCard.cjs +76 -0
  535. package/dist/OrderLookupCard/OrderLookupCard.d.cts +34 -0
  536. package/dist/OrderLookupCard/OrderLookupCard.d.ts +34 -0
  537. package/dist/OrderLookupCard/OrderLookupCard.js +74 -0
  538. package/dist/OrderLookupCard/components/Layout.cjs +27 -0
  539. package/dist/OrderLookupCard/components/Layout.js +25 -0
  540. package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +41 -0
  541. package/dist/OrderLookupCard/components/MoreProductsOverlay.js +39 -0
  542. package/dist/OrderLookupCard/components/OrderDate.cjs +21 -0
  543. package/dist/OrderLookupCard/components/OrderDate.js +20 -0
  544. package/dist/OrderLookupCard/components/OrderNumber.cjs +22 -0
  545. package/dist/OrderLookupCard/components/OrderNumber.js +21 -0
  546. package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +26 -0
  547. package/dist/OrderLookupCard/components/ProductImageGridItem.js +24 -0
  548. package/dist/OrderLookupCard/components/ProductImageItem.cjs +37 -0
  549. package/dist/OrderLookupCard/components/ProductImageItem.js +35 -0
  550. package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +31 -0
  551. package/dist/OrderLookupCard/components/ProductImagesGrid.js +29 -0
  552. package/dist/OrderLookupCard/components/StatusLabel.cjs +30 -0
  553. package/dist/OrderLookupCard/components/StatusLabel.js +28 -0
  554. package/dist/OrderLookupCard/components/TrackOrderLink.cjs +34 -0
  555. package/dist/OrderLookupCard/components/TrackOrderLink.js +32 -0
  556. package/dist/OrderLookupCard/components/index.cjs +23 -0
  557. package/dist/OrderLookupCard/components/index.js +23 -0
  558. package/dist/OrderLookupCard/hooks/useGetContainerProperties.cjs +24 -0
  559. package/dist/OrderLookupCard/hooks/useGetContainerProperties.js +24 -0
  560. package/dist/OrderLookupCard/hooks/useGetImageBorderRadiusProperties.cjs +14 -0
  561. package/dist/OrderLookupCard/hooks/useGetImageBorderRadiusProperties.js +14 -0
  562. package/dist/OrderLookupCard/hooks/useGetImageGridPositionProperties.cjs +33 -0
  563. package/dist/OrderLookupCard/hooks/useGetImageGridPositionProperties.js +32 -0
  564. package/dist/OrderLookupCard/hooks/useGetProductImagesGridProperties.cjs +14 -0
  565. package/dist/OrderLookupCard/hooks/useGetProductImagesGridProperties.js +13 -0
  566. package/dist/OrderLookupCard/hooks/useGetStatusLabelProperties.cjs +24 -0
  567. package/dist/OrderLookupCard/hooks/useGetStatusLabelProperties.js +24 -0
  568. package/dist/OrderLookupCard/hooks/useGetTrackOrderLinkProperties.cjs +13 -0
  569. package/dist/OrderLookupCard/hooks/useGetTrackOrderLinkProperties.js +13 -0
  570. package/dist/OrderLookupCard/index.cjs +3 -0
  571. package/dist/OrderLookupCard/index.d.cts +3 -0
  572. package/dist/OrderLookupCard/index.d.ts +3 -0
  573. package/dist/OrderLookupCard/index.js +3 -0
  574. package/dist/OrderLookupCard/types/index.d.cts +102 -0
  575. package/dist/OrderLookupCard/types/index.d.ts +102 -0
  576. package/dist/OrderLookupCard/utils/calculateMoreProductsCount.cjs +13 -0
  577. package/dist/OrderLookupCard/utils/calculateMoreProductsCount.js +12 -0
  578. package/dist/OrderLookupCard/utils/formatOrderDate.cjs +25 -0
  579. package/dist/OrderLookupCard/utils/formatOrderDate.js +24 -0
  580. package/dist/OrderLookupCard/utils/formatOrderNumber.cjs +13 -0
  581. package/dist/OrderLookupCard/utils/formatOrderNumber.js +12 -0
  582. package/dist/OrderLookupCard/utils/getProductImagesToDisplay.cjs +12 -0
  583. package/dist/OrderLookupCard/utils/getProductImagesToDisplay.js +11 -0
  584. package/dist/OrderLookupCard/utils/handleTrackOrderNavigation.cjs +12 -0
  585. package/dist/OrderLookupCard/utils/handleTrackOrderNavigation.js +11 -0
  586. package/dist/PromptButton/PromptButton.cjs +47 -0
  587. package/dist/PromptButton/PromptButton.d.cts +21 -0
  588. package/dist/PromptButton/PromptButton.d.ts +21 -0
  589. package/dist/PromptButton/PromptButton.js +45 -0
  590. package/dist/PromptButton/components/Icon.cjs +10 -0
  591. package/dist/PromptButton/components/Icon.js +9 -0
  592. package/dist/PromptButton/components/Label.cjs +19 -0
  593. package/dist/PromptButton/components/Label.js +18 -0
  594. package/dist/PromptButton/components/Layout.cjs +39 -0
  595. package/dist/PromptButton/components/Layout.js +37 -0
  596. package/dist/PromptButton/components/Loading.cjs +12 -0
  597. package/dist/PromptButton/components/Loading.js +10 -0
  598. package/dist/PromptButton/components/index.cjs +15 -0
  599. package/dist/PromptButton/components/index.js +15 -0
  600. package/dist/PromptButton/hooks/useGetBackgroundColorsProperties.cjs +17 -0
  601. package/dist/PromptButton/hooks/useGetBackgroundColorsProperties.js +17 -0
  602. package/dist/PromptButton/hooks/useGetBoldTextProperties.cjs +12 -0
  603. package/dist/PromptButton/hooks/useGetBoldTextProperties.js +11 -0
  604. package/dist/PromptButton/hooks/useGetBorderColorsProperties.cjs +17 -0
  605. package/dist/PromptButton/hooks/useGetBorderColorsProperties.js +17 -0
  606. package/dist/PromptButton/hooks/useGetIconColorsProperties.cjs +31 -0
  607. package/dist/PromptButton/hooks/useGetIconColorsProperties.js +31 -0
  608. package/dist/PromptButton/hooks/useGetLayoutBaseProperties.cjs +15 -0
  609. package/dist/PromptButton/hooks/useGetLayoutBaseProperties.js +13 -0
  610. package/dist/PromptButton/hooks/useGetTextColorsProperties.cjs +18 -0
  611. package/dist/PromptButton/hooks/useGetTextColorsProperties.js +18 -0
  612. package/dist/PromptButton/hooks/useGetVariantColorsProperties.cjs +28 -0
  613. package/dist/PromptButton/hooks/useGetVariantColorsProperties.js +28 -0
  614. package/dist/PromptButton/index.cjs +5 -0
  615. package/dist/PromptButton/index.d.cts +3 -0
  616. package/dist/PromptButton/index.d.ts +3 -0
  617. package/dist/PromptButton/index.js +4 -0
  618. package/dist/PromptButton/types/index.cjs +37 -0
  619. package/dist/PromptButton/types/index.d.cts +98 -0
  620. package/dist/PromptButton/types/index.d.ts +98 -0
  621. package/dist/PromptButton/types/index.js +33 -0
  622. package/dist/PromptButton/utils/functions.cjs +9 -0
  623. package/dist/PromptButton/utils/functions.js +9 -0
  624. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.cjs +43 -0
  625. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +23 -0
  626. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +23 -0
  627. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.js +42 -0
  628. package/dist/PromptButtonCarouselWithImage/components/Image.cjs +18 -0
  629. package/dist/PromptButtonCarouselWithImage/components/Image.js +17 -0
  630. package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +53 -0
  631. package/dist/PromptButtonCarouselWithImage/components/Layout.js +51 -0
  632. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +29 -0
  633. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +28 -0
  634. package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +15 -0
  635. package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +13 -0
  636. package/dist/PromptButtonCarouselWithImage/components/Title.cjs +20 -0
  637. package/dist/PromptButtonCarouselWithImage/components/Title.js +19 -0
  638. package/dist/PromptButtonCarouselWithImage/components/index.cjs +20 -0
  639. package/dist/PromptButtonCarouselWithImage/components/index.js +20 -0
  640. package/dist/PromptButtonCarouselWithImage/index.cjs +3 -0
  641. package/dist/PromptButtonCarouselWithImage/index.d.cts +3 -0
  642. package/dist/PromptButtonCarouselWithImage/index.d.ts +3 -0
  643. package/dist/PromptButtonCarouselWithImage/index.js +3 -0
  644. package/dist/PromptButtonCarouselWithImage/types/types.d.cts +76 -0
  645. package/dist/PromptButtonCarouselWithImage/types/types.d.ts +76 -0
  646. package/dist/PromptCarousel/PromptCarousel.cjs +96 -0
  647. package/dist/PromptCarousel/PromptCarousel.d.cts +24 -0
  648. package/dist/PromptCarousel/PromptCarousel.d.ts +24 -0
  649. package/dist/PromptCarousel/PromptCarousel.js +95 -0
  650. package/dist/PromptCarousel/components/BlockScrollContainer.cjs +23 -0
  651. package/dist/PromptCarousel/components/BlockScrollContainer.js +21 -0
  652. package/dist/PromptCarousel/components/ButtonContainerRow.cjs +34 -0
  653. package/dist/PromptCarousel/components/ButtonContainerRow.js +32 -0
  654. package/dist/PromptCarousel/components/CarouselContentWithBlockScroll.cjs +45 -0
  655. package/dist/PromptCarousel/components/CarouselContentWithBlockScroll.js +44 -0
  656. package/dist/PromptCarousel/components/CarouselContentWithRowScroll.cjs +33 -0
  657. package/dist/PromptCarousel/components/CarouselContentWithRowScroll.js +32 -0
  658. package/dist/PromptCarousel/components/index.cjs +13 -0
  659. package/dist/PromptCarousel/components/index.js +13 -0
  660. package/dist/PromptCarousel/hooks/index.cjs +5 -0
  661. package/dist/PromptCarousel/hooks/index.js +7 -0
  662. package/dist/PromptCarousel/hooks/useButtonScrollPosition.cjs +79 -0
  663. package/dist/PromptCarousel/hooks/useButtonScrollPosition.js +78 -0
  664. package/dist/PromptCarousel/hooks/useCarouselAnimation.cjs +23 -0
  665. package/dist/PromptCarousel/hooks/useCarouselAnimation.js +22 -0
  666. package/dist/PromptCarousel/hooks/useCarouselButtons.cjs +19 -0
  667. package/dist/PromptCarousel/hooks/useCarouselButtons.js +18 -0
  668. package/dist/PromptCarousel/hooks/useCarouselRefs.cjs +20 -0
  669. package/dist/PromptCarousel/hooks/useCarouselRefs.js +19 -0
  670. package/dist/PromptCarousel/hooks/useGetScrollProperties.cjs +18 -0
  671. package/dist/PromptCarousel/hooks/useGetScrollProperties.js +17 -0
  672. package/dist/PromptCarousel/hooks/useHorizontalScrollAnimation.cjs +78 -0
  673. package/dist/PromptCarousel/hooks/useHorizontalScrollAnimation.js +77 -0
  674. package/dist/PromptCarousel/index.cjs +6 -0
  675. package/dist/PromptCarousel/index.d.cts +3 -0
  676. package/dist/PromptCarousel/index.d.ts +3 -0
  677. package/dist/PromptCarousel/index.js +4 -0
  678. package/dist/PromptCarousel/types/types.cjs +24 -0
  679. package/dist/PromptCarousel/types/types.d.cts +102 -0
  680. package/dist/PromptCarousel/types/types.d.ts +102 -0
  681. package/dist/PromptCarousel/types/types.js +21 -0
  682. package/dist/PromptCarousel/utils/functions.cjs +17 -0
  683. package/dist/PromptCarousel/utils/functions.js +15 -0
  684. package/dist/ReviewCard/ReviewCard.cjs +55 -0
  685. package/dist/ReviewCard/ReviewCard.d.cts +30 -0
  686. package/dist/ReviewCard/ReviewCard.d.ts +30 -0
  687. package/dist/ReviewCard/ReviewCard.js +54 -0
  688. package/dist/ReviewCard/components/Container.cjs +44 -0
  689. package/dist/ReviewCard/components/Container.d.cts +17 -0
  690. package/dist/ReviewCard/components/Container.d.ts +17 -0
  691. package/dist/ReviewCard/components/Container.js +42 -0
  692. package/dist/ReviewCard/components/Name.cjs +36 -0
  693. package/dist/ReviewCard/components/Name.js +35 -0
  694. package/dist/ReviewCard/components/Rating.cjs +37 -0
  695. package/dist/ReviewCard/components/Rating.d.cts +10 -0
  696. package/dist/ReviewCard/components/Rating.d.ts +11 -0
  697. package/dist/ReviewCard/components/Rating.js +35 -0
  698. package/dist/ReviewCard/components/ReadMoreButton.cjs +42 -0
  699. package/dist/ReviewCard/components/ReadMoreButton.d.cts +13 -0
  700. package/dist/ReviewCard/components/ReadMoreButton.d.ts +13 -0
  701. package/dist/ReviewCard/components/ReadMoreButton.js +40 -0
  702. package/dist/ReviewCard/components/ReviewText.cjs +25 -0
  703. package/dist/ReviewCard/components/ReviewText.js +24 -0
  704. package/dist/ReviewCard/components/StarIcon.cjs +23 -0
  705. package/dist/ReviewCard/components/StarIcon.js +22 -0
  706. package/dist/ReviewCard/components/VerifiedBuyer.cjs +32 -0
  707. package/dist/ReviewCard/components/VerifiedBuyer.js +31 -0
  708. package/dist/ReviewCard/components/index.cjs +19 -0
  709. package/dist/ReviewCard/components/index.d.cts +70 -0
  710. package/dist/ReviewCard/components/index.d.ts +70 -0
  711. package/dist/ReviewCard/components/index.js +19 -0
  712. package/dist/ReviewCard/hooks/useGetBackgroundColorsProperties.cjs +13 -0
  713. package/dist/ReviewCard/hooks/useGetBackgroundColorsProperties.js +13 -0
  714. package/dist/ReviewCard/hooks/useGetBorderProperties.cjs +16 -0
  715. package/dist/ReviewCard/hooks/useGetBorderProperties.js +16 -0
  716. package/dist/ReviewCard/hooks/useGetBorderRadiusProperties.cjs +13 -0
  717. package/dist/ReviewCard/hooks/useGetBorderRadiusProperties.js +13 -0
  718. package/dist/ReviewCard/hooks/useGetCardWidthProperties.cjs +8 -0
  719. package/dist/ReviewCard/hooks/useGetCardWidthProperties.js +7 -0
  720. package/dist/ReviewCard/hooks/useGetNameProperties.cjs +15 -0
  721. package/dist/ReviewCard/hooks/useGetNameProperties.js +14 -0
  722. package/dist/ReviewCard/hooks/useGetPaddingProperties.cjs +8 -0
  723. package/dist/ReviewCard/hooks/useGetPaddingProperties.js +7 -0
  724. package/dist/ReviewCard/hooks/useGetRatingBackgroundProperties.cjs +13 -0
  725. package/dist/ReviewCard/hooks/useGetRatingBackgroundProperties.js +13 -0
  726. package/dist/ReviewCard/hooks/useGetReadMoreTypographyProperties.cjs +15 -0
  727. package/dist/ReviewCard/hooks/useGetReadMoreTypographyProperties.js +15 -0
  728. package/dist/ReviewCard/hooks/useGetReviewTextProperties.cjs +19 -0
  729. package/dist/ReviewCard/hooks/useGetReviewTextProperties.js +18 -0
  730. package/dist/ReviewCard/hooks/useGetStarIconProperties.cjs +17 -0
  731. package/dist/ReviewCard/hooks/useGetStarIconProperties.js +16 -0
  732. package/dist/ReviewCard/hooks/useGetThemeProperties.cjs +19 -0
  733. package/dist/ReviewCard/hooks/useGetThemeProperties.js +19 -0
  734. package/dist/ReviewCard/index.cjs +5 -0
  735. package/dist/ReviewCard/index.d.cts +4 -0
  736. package/dist/ReviewCard/index.d.ts +4 -0
  737. package/dist/ReviewCard/index.js +4 -0
  738. package/dist/ReviewCard/types/types.d.cts +66 -0
  739. package/dist/ReviewCard/types/types.d.ts +66 -0
  740. package/dist/SalesAgentProductCard/SalesAgentProductCard.cjs +54 -0
  741. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +34 -0
  742. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +34 -0
  743. package/dist/SalesAgentProductCard/SalesAgentProductCard.js +53 -0
  744. package/dist/SalesAgentProductCard/components/Container.cjs +55 -0
  745. package/dist/SalesAgentProductCard/components/Container.d.cts +20 -0
  746. package/dist/SalesAgentProductCard/components/Container.d.ts +21 -0
  747. package/dist/SalesAgentProductCard/components/Container.js +53 -0
  748. package/dist/SalesAgentProductCard/components/Price.cjs +31 -0
  749. package/dist/SalesAgentProductCard/components/Price.d.cts +9 -0
  750. package/dist/SalesAgentProductCard/components/Price.d.ts +11 -0
  751. package/dist/SalesAgentProductCard/components/Price.js +30 -0
  752. package/dist/SalesAgentProductCard/components/ProductImage.cjs +23 -0
  753. package/dist/SalesAgentProductCard/components/ProductImage.d.cts +12 -0
  754. package/dist/SalesAgentProductCard/components/ProductImage.d.ts +13 -0
  755. package/dist/SalesAgentProductCard/components/ProductImage.js +21 -0
  756. package/dist/SalesAgentProductCard/components/ProductName.cjs +28 -0
  757. package/dist/SalesAgentProductCard/components/ProductName.d.cts +11 -0
  758. package/dist/SalesAgentProductCard/components/ProductName.d.ts +12 -0
  759. package/dist/SalesAgentProductCard/components/ProductName.js +26 -0
  760. package/dist/SalesAgentProductCard/components/Rate.cjs +33 -0
  761. package/dist/SalesAgentProductCard/components/Rate.d.cts +10 -0
  762. package/dist/SalesAgentProductCard/components/Rate.d.ts +11 -0
  763. package/dist/SalesAgentProductCard/components/Rate.js +32 -0
  764. package/dist/SalesAgentProductCard/components/StarIcon.cjs +22 -0
  765. package/dist/SalesAgentProductCard/components/StarIcon.js +21 -0
  766. package/dist/SalesAgentProductCard/components/index.cjs +19 -0
  767. package/dist/SalesAgentProductCard/components/index.d.cts +60 -0
  768. package/dist/SalesAgentProductCard/components/index.d.ts +60 -0
  769. package/dist/SalesAgentProductCard/components/index.js +19 -0
  770. package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.cjs +30 -0
  771. package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.js +29 -0
  772. package/dist/SalesAgentProductCard/hooks/useGetImageProperties.cjs +12 -0
  773. package/dist/SalesAgentProductCard/hooks/useGetImageProperties.js +12 -0
  774. package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.cjs +38 -0
  775. package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.js +37 -0
  776. package/dist/SalesAgentProductCard/hooks/useGetProductNameProperties.cjs +13 -0
  777. package/dist/SalesAgentProductCard/hooks/useGetProductNameProperties.js +12 -0
  778. package/dist/SalesAgentProductCard/hooks/useGetStarIconProperties.cjs +17 -0
  779. package/dist/SalesAgentProductCard/hooks/useGetStarIconProperties.js +16 -0
  780. package/dist/SalesAgentProductCard/index.cjs +5 -0
  781. package/dist/SalesAgentProductCard/index.d.cts +3 -0
  782. package/dist/SalesAgentProductCard/index.d.ts +3 -0
  783. package/dist/SalesAgentProductCard/index.js +4 -0
  784. package/dist/SalesAgentProductCard/types/types.cjs +15 -0
  785. package/dist/SalesAgentProductCard/types/types.d.cts +104 -0
  786. package/dist/SalesAgentProductCard/types/types.d.ts +104 -0
  787. package/dist/SalesAgentProductCard/types/types.js +14 -0
  788. package/dist/SalesAgentProductCard/utils/functions.cjs +21 -0
  789. package/dist/SalesAgentProductCard/utils/functions.js +19 -0
  790. package/dist/SocialProof/SocialProof.cjs +106 -0
  791. package/dist/SocialProof/SocialProof.d.cts +12 -0
  792. package/dist/SocialProof/SocialProof.d.ts +12 -0
  793. package/dist/SocialProof/SocialProof.js +105 -0
  794. package/dist/SocialProof/components/Headline.cjs +53 -0
  795. package/dist/SocialProof/components/Headline.js +51 -0
  796. package/dist/SocialProof/components/ImageGallery.cjs +24 -0
  797. package/dist/SocialProof/components/ImageGallery.js +23 -0
  798. package/dist/SocialProof/components/LayoutFourGrid.cjs +43 -0
  799. package/dist/SocialProof/components/LayoutFourGrid.js +42 -0
  800. package/dist/SocialProof/components/LayoutFourHorizontal.cjs +58 -0
  801. package/dist/SocialProof/components/LayoutFourHorizontal.js +56 -0
  802. package/dist/SocialProof/components/LayoutSingle.cjs +63 -0
  803. package/dist/SocialProof/components/LayoutSingle.js +62 -0
  804. package/dist/SocialProof/components/Skeleton.cjs +14 -0
  805. package/dist/SocialProof/components/Skeleton.js +13 -0
  806. package/dist/SocialProof/components/Subheadline.cjs +37 -0
  807. package/dist/SocialProof/components/Subheadline.js +36 -0
  808. package/dist/SocialProof/components/Textfield.cjs +18 -0
  809. package/dist/SocialProof/components/Textfield.js +17 -0
  810. package/dist/SocialProof/components/index.cjs +23 -0
  811. package/dist/SocialProof/components/index.js +23 -0
  812. package/dist/SocialProof/index.cjs +5 -0
  813. package/dist/SocialProof/index.d.cts +3 -0
  814. package/dist/SocialProof/index.d.ts +3 -0
  815. package/dist/SocialProof/index.js +4 -0
  816. package/dist/SocialProof/types/types.cjs +10 -0
  817. package/dist/SocialProof/types/types.d.cts +216 -0
  818. package/dist/SocialProof/types/types.d.ts +216 -0
  819. package/dist/SocialProof/types/types.js +9 -0
  820. package/dist/SocialProof/utils/functions.cjs +15 -0
  821. package/dist/SocialProof/utils/functions.js +15 -0
  822. package/dist/Stack/Stack.cjs +35 -0
  823. package/dist/Stack/Stack.d.cts +10 -0
  824. package/dist/Stack/Stack.d.ts +10 -0
  825. package/dist/Stack/Stack.js +33 -0
  826. package/dist/Stack/hooks/useFormatStackChildren.cjs +26 -0
  827. package/dist/Stack/hooks/useFormatStackChildren.js +25 -0
  828. package/dist/Stack/hooks/useGetAlignProperties.cjs +19 -0
  829. package/dist/Stack/hooks/useGetAlignProperties.js +18 -0
  830. package/dist/Stack/hooks/useGetDirectionProperties.cjs +18 -0
  831. package/dist/Stack/hooks/useGetDirectionProperties.js +17 -0
  832. package/dist/Stack/hooks/useGetGapProperties.cjs +15 -0
  833. package/dist/Stack/hooks/useGetGapProperties.js +14 -0
  834. package/dist/Stack/hooks/useGetJustifyProperties.cjs +20 -0
  835. package/dist/Stack/hooks/useGetJustifyProperties.js +19 -0
  836. package/dist/Stack/hooks/useGetStyleProperties.cjs +37 -0
  837. package/dist/Stack/hooks/useGetStyleProperties.js +37 -0
  838. package/dist/Stack/hooks/useGetWrapProperties.cjs +12 -0
  839. package/dist/Stack/hooks/useGetWrapProperties.js +11 -0
  840. package/dist/Stack/index.cjs +3 -0
  841. package/dist/Stack/index.d.cts +3 -0
  842. package/dist/Stack/index.d.ts +3 -0
  843. package/dist/Stack/index.js +3 -0
  844. package/dist/Stack/types/index.d.cts +64 -0
  845. package/dist/Stack/types/index.d.ts +64 -0
  846. package/dist/Stack/utils/constants.cjs +41 -0
  847. package/dist/Stack/utils/constants.js +40 -0
  848. package/dist/TextField/TextField.cjs +57 -0
  849. package/dist/TextField/TextField.d.cts +24 -0
  850. package/dist/TextField/TextField.d.ts +24 -0
  851. package/dist/TextField/TextField.js +55 -0
  852. package/dist/TextField/components/Input.cjs +31 -0
  853. package/dist/TextField/components/Input.js +29 -0
  854. package/dist/TextField/components/Layout.cjs +22 -0
  855. package/dist/TextField/components/Layout.js +20 -0
  856. package/dist/TextField/components/SendIcon.cjs +26 -0
  857. package/dist/TextField/components/SendIcon.js +24 -0
  858. package/dist/TextField/components/index.cjs +13 -0
  859. package/dist/TextField/components/index.js +13 -0
  860. package/dist/TextField/hooks/useGetContainerProperties.cjs +51 -0
  861. package/dist/TextField/hooks/useGetContainerProperties.js +50 -0
  862. package/dist/TextField/hooks/useGetSkeletonProperties.cjs +13 -0
  863. package/dist/TextField/hooks/useGetSkeletonProperties.js +12 -0
  864. package/dist/TextField/hooks/useSendIconHandlers.cjs +32 -0
  865. package/dist/TextField/hooks/useSendIconHandlers.js +31 -0
  866. package/dist/TextField/hooks/useTextFieldFocus.cjs +22 -0
  867. package/dist/TextField/hooks/useTextFieldFocus.js +21 -0
  868. package/dist/TextField/hooks/useTextFieldSubmit.cjs +40 -0
  869. package/dist/TextField/hooks/useTextFieldSubmit.js +39 -0
  870. package/dist/TextField/hooks/useTextFieldValue.cjs +28 -0
  871. package/dist/TextField/hooks/useTextFieldValue.js +27 -0
  872. package/dist/TextField/index.cjs +3 -0
  873. package/dist/TextField/index.d.cts +3 -0
  874. package/dist/TextField/index.d.ts +3 -0
  875. package/dist/TextField/index.js +3 -0
  876. package/dist/TextField/types/index.d.cts +48 -0
  877. package/dist/TextField/types/index.d.ts +48 -0
  878. package/dist/TextField/utils/createInputChangeHandler.cjs +14 -0
  879. package/dist/TextField/utils/createInputChangeHandler.js +13 -0
  880. package/dist/TextField/utils/getIconColor.cjs +12 -0
  881. package/dist/TextField/utils/getIconColor.js +11 -0
  882. package/dist/TextField/utils/getInputClasses.cjs +17 -0
  883. package/dist/TextField/utils/getInputClasses.js +17 -0
  884. package/dist/TextField/utils/getLayoutStateProperties.cjs +15 -0
  885. package/dist/TextField/utils/getLayoutStateProperties.js +14 -0
  886. package/dist/TextField/utils/getSendIconElement.cjs +42 -0
  887. package/dist/TextField/utils/getSendIconElement.js +41 -0
  888. package/dist/Title/Title.cjs +32 -0
  889. package/dist/Title/Title.d.cts +19 -0
  890. package/dist/Title/Title.d.ts +19 -0
  891. package/dist/Title/Title.js +30 -0
  892. package/dist/Title/components/Image.cjs +38 -0
  893. package/dist/Title/components/Image.js +37 -0
  894. package/dist/Title/components/Label.cjs +19 -0
  895. package/dist/Title/components/Label.js +18 -0
  896. package/dist/Title/components/Layout.cjs +27 -0
  897. package/dist/Title/components/Layout.js +25 -0
  898. package/dist/Title/components/index.cjs +13 -0
  899. package/dist/Title/components/index.js +13 -0
  900. package/dist/Title/index.cjs +3 -0
  901. package/dist/Title/index.d.cts +3 -0
  902. package/dist/Title/index.d.ts +3 -0
  903. package/dist/Title/index.js +3 -0
  904. package/dist/Title/types/index.d.cts +40 -0
  905. package/dist/Title/types/index.d.ts +40 -0
  906. package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +48 -0
  907. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +20 -0
  908. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +20 -0
  909. package/dist/TitledPromptCarousel/TitledPromptCarousel.js +46 -0
  910. package/dist/TitledPromptCarousel/index.cjs +3 -0
  911. package/dist/TitledPromptCarousel/index.d.cts +3 -0
  912. package/dist/TitledPromptCarousel/index.d.ts +3 -0
  913. package/dist/TitledPromptCarousel/index.js +3 -0
  914. package/dist/TitledPromptCarousel/types/index.d.cts +71 -0
  915. package/dist/TitledPromptCarousel/types/index.d.ts +71 -0
  916. package/dist/Tokens/index.cjs +30 -0
  917. package/dist/Tokens/index.d.cts +14 -0
  918. package/dist/Tokens/index.d.ts +14 -0
  919. package/dist/Tokens/index.js +15 -0
  920. package/dist/TypingAnimation/TypingAnimation.cjs +94 -0
  921. package/dist/TypingAnimation/TypingAnimation.d.cts +12 -0
  922. package/dist/TypingAnimation/TypingAnimation.d.ts +12 -0
  923. package/dist/TypingAnimation/TypingAnimation.js +93 -0
  924. package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +12 -0
  925. package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +12 -0
  926. package/dist/TypingAnimation/index.cjs +3 -0
  927. package/dist/TypingAnimation/index.d.cts +3 -0
  928. package/dist/TypingAnimation/index.d.ts +3 -0
  929. package/dist/TypingAnimation/index.js +3 -0
  930. package/dist/TypingAnimation/types/index.d.cts +137 -0
  931. package/dist/TypingAnimation/types/index.d.ts +137 -0
  932. package/dist/Typography/Typography.cjs +42 -0
  933. package/dist/Typography/Typography.d.cts +32 -0
  934. package/dist/Typography/Typography.d.ts +32 -0
  935. package/dist/Typography/Typography.js +40 -0
  936. package/dist/Typography/hooks/useGetAccessibilityAttributes.cjs +30 -0
  937. package/dist/Typography/hooks/useGetAccessibilityAttributes.js +29 -0
  938. package/dist/Typography/hooks/useGetAlignProperties.cjs +19 -0
  939. package/dist/Typography/hooks/useGetAlignProperties.js +18 -0
  940. package/dist/Typography/hooks/useGetColorProperties.cjs +20 -0
  941. package/dist/Typography/hooks/useGetColorProperties.js +19 -0
  942. package/dist/Typography/hooks/useGetNoWrapProperties.cjs +12 -0
  943. package/dist/Typography/hooks/useGetNoWrapProperties.js +11 -0
  944. package/dist/Typography/hooks/useGetNumberOfLinesProperties.cjs +21 -0
  945. package/dist/Typography/hooks/useGetNumberOfLinesProperties.js +20 -0
  946. package/dist/Typography/hooks/useGetVariantProperties.cjs +61 -0
  947. package/dist/Typography/hooks/useGetVariantProperties.js +60 -0
  948. package/dist/Typography/index.cjs +7 -0
  949. package/dist/Typography/index.d.cts +3 -0
  950. package/dist/Typography/index.d.ts +3 -0
  951. package/dist/Typography/index.js +4 -0
  952. package/dist/Typography/types/index.cjs +46 -0
  953. package/dist/Typography/types/index.d.cts +95 -0
  954. package/dist/Typography/types/index.d.ts +95 -0
  955. package/dist/Typography/types/index.js +43 -0
  956. package/dist/Typography/utils/utils.cjs +11 -0
  957. package/dist/Typography/utils/utils.js +9 -0
  958. package/dist/WelcomeMessage/WelcomeMessage.cjs +40 -0
  959. package/dist/WelcomeMessage/WelcomeMessage.d.cts +21 -0
  960. package/dist/WelcomeMessage/WelcomeMessage.d.ts +21 -0
  961. package/dist/WelcomeMessage/WelcomeMessage.js +39 -0
  962. package/dist/WelcomeMessage/components/Container.cjs +34 -0
  963. package/dist/WelcomeMessage/components/Container.js +32 -0
  964. package/dist/WelcomeMessage/components/SparkleIcon.cjs +22 -0
  965. package/dist/WelcomeMessage/components/SparkleIcon.js +21 -0
  966. package/dist/WelcomeMessage/components/Text.cjs +19 -0
  967. package/dist/WelcomeMessage/components/Text.js +18 -0
  968. package/dist/WelcomeMessage/components/Title.cjs +20 -0
  969. package/dist/WelcomeMessage/components/Title.js +19 -0
  970. package/dist/WelcomeMessage/components/index.cjs +15 -0
  971. package/dist/WelcomeMessage/components/index.js +15 -0
  972. package/dist/WelcomeMessage/hooks/useGetContainerProperties.cjs +21 -0
  973. package/dist/WelcomeMessage/hooks/useGetContainerProperties.js +20 -0
  974. package/dist/WelcomeMessage/hooks/useGetSparkleIconProperties.cjs +30 -0
  975. package/dist/WelcomeMessage/hooks/useGetSparkleIconProperties.js +29 -0
  976. package/dist/WelcomeMessage/index.cjs +5 -0
  977. package/dist/WelcomeMessage/index.d.cts +3 -0
  978. package/dist/WelcomeMessage/index.d.ts +3 -0
  979. package/dist/WelcomeMessage/index.js +4 -0
  980. package/dist/WelcomeMessage/types/types.cjs +13 -0
  981. package/dist/WelcomeMessage/types/types.d.cts +44 -0
  982. package/dist/WelcomeMessage/types/types.d.ts +44 -0
  983. package/dist/WelcomeMessage/types/types.js +13 -0
  984. package/dist/WidgetTextField/WidgetTextField.cjs +26 -0
  985. package/dist/WidgetTextField/WidgetTextField.d.cts +18 -0
  986. package/dist/WidgetTextField/WidgetTextField.d.ts +18 -0
  987. package/dist/WidgetTextField/WidgetTextField.js +25 -0
  988. package/dist/WidgetTextField/components/Container.cjs +38 -0
  989. package/dist/WidgetTextField/components/Container.js +36 -0
  990. package/dist/WidgetTextField/components/FakeTextInput.cjs +18 -0
  991. package/dist/WidgetTextField/components/FakeTextInput.js +17 -0
  992. package/dist/WidgetTextField/components/Icon.cjs +34 -0
  993. package/dist/WidgetTextField/components/Icon.js +33 -0
  994. package/dist/WidgetTextField/components/Skeleton.cjs +19 -0
  995. package/dist/WidgetTextField/components/Skeleton.js +17 -0
  996. package/dist/WidgetTextField/components/index.cjs +15 -0
  997. package/dist/WidgetTextField/components/index.js +15 -0
  998. package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +19 -0
  999. package/dist/WidgetTextField/hooks/useGetContainerProperties.js +18 -0
  1000. package/dist/WidgetTextField/hooks/useHandleKeyboard.cjs +14 -0
  1001. package/dist/WidgetTextField/hooks/useHandleKeyboard.js +13 -0
  1002. package/dist/WidgetTextField/index.cjs +3 -0
  1003. package/dist/WidgetTextField/index.d.cts +3 -0
  1004. package/dist/WidgetTextField/index.d.ts +3 -0
  1005. package/dist/WidgetTextField/index.js +3 -0
  1006. package/dist/WidgetTextField/types/types.d.cts +46 -0
  1007. package/dist/WidgetTextField/types/types.d.ts +46 -0
  1008. package/dist/WidgetWrapper/WidgetWrapper.cjs +28 -0
  1009. package/dist/WidgetWrapper/WidgetWrapper.d.cts +21 -0
  1010. package/dist/WidgetWrapper/WidgetWrapper.d.ts +21 -0
  1011. package/dist/WidgetWrapper/WidgetWrapper.js +26 -0
  1012. package/dist/WidgetWrapper/hooks/useGetWrapperProperties.cjs +19 -0
  1013. package/dist/WidgetWrapper/hooks/useGetWrapperProperties.js +18 -0
  1014. package/dist/WidgetWrapper/index.cjs +5 -0
  1015. package/dist/WidgetWrapper/index.d.cts +3 -0
  1016. package/dist/WidgetWrapper/index.d.ts +3 -0
  1017. package/dist/WidgetWrapper/index.js +4 -0
  1018. package/dist/WidgetWrapper/types/types.cjs +12 -0
  1019. package/dist/WidgetWrapper/types/types.d.cts +34 -0
  1020. package/dist/WidgetWrapper/types/types.d.ts +34 -0
  1021. package/dist/WidgetWrapper/types/types.js +11 -0
  1022. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.cjs +41 -0
  1023. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +19 -0
  1024. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +19 -0
  1025. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.js +40 -0
  1026. package/dist/WidgetWrapperWithTitle/index.cjs +3 -0
  1027. package/dist/WidgetWrapperWithTitle/index.d.cts +3 -0
  1028. package/dist/WidgetWrapperWithTitle/index.d.ts +3 -0
  1029. package/dist/WidgetWrapperWithTitle/index.js +3 -0
  1030. package/dist/WidgetWrapperWithTitle/types/types.d.cts +70 -0
  1031. package/dist/WidgetWrapperWithTitle/types/types.d.ts +70 -0
  1032. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  1033. package/dist/components-v3/src/models/colorsConfig.cjs +27 -0
  1034. package/dist/components-v3/src/models/colorsConfig.d.cts +22 -0
  1035. package/dist/components-v3/src/models/colorsConfig.d.ts +22 -0
  1036. package/dist/components-v3/src/models/colorsConfig.js +25 -0
  1037. package/dist/components-v3/tokens/aspectRatio/aspectRatio.cjs +36 -0
  1038. package/dist/components-v3/tokens/aspectRatio/aspectRatio.d.cts +10 -0
  1039. package/dist/components-v3/tokens/aspectRatio/aspectRatio.d.ts +10 -0
  1040. package/dist/components-v3/tokens/aspectRatio/aspectRatio.js +32 -0
  1041. package/dist/components-v3/tokens/breakpoints/breakpoints.cjs +33 -0
  1042. package/dist/components-v3/tokens/breakpoints/breakpoints.d.cts +6 -0
  1043. package/dist/components-v3/tokens/breakpoints/breakpoints.d.ts +6 -0
  1044. package/dist/components-v3/tokens/breakpoints/breakpoints.js +30 -0
  1045. package/dist/components-v3/tokens/colors/colors.cjs +53 -0
  1046. package/dist/components-v3/tokens/colors/colors.d.cts +25 -0
  1047. package/dist/components-v3/tokens/colors/colors.d.ts +25 -0
  1048. package/dist/components-v3/tokens/colors/colors.js +50 -0
  1049. package/dist/components-v3/tokens/montion/motion.cjs +171 -0
  1050. package/dist/components-v3/tokens/montion/motion.d.cts +170 -0
  1051. package/dist/components-v3/tokens/montion/motion.d.ts +170 -0
  1052. package/dist/components-v3/tokens/montion/motion.js +169 -0
  1053. package/dist/components-v3/tokens/radius/radius.cjs +65 -0
  1054. package/dist/components-v3/tokens/radius/radius.d.cts +58 -0
  1055. package/dist/components-v3/tokens/radius/radius.d.ts +58 -0
  1056. package/dist/components-v3/tokens/radius/radius.js +64 -0
  1057. package/dist/components-v3/tokens/spacing/spacing.cjs +40 -0
  1058. package/dist/components-v3/tokens/spacing/spacing.d.cts +38 -0
  1059. package/dist/components-v3/tokens/spacing/spacing.d.ts +38 -0
  1060. package/dist/components-v3/tokens/spacing/spacing.js +39 -0
  1061. package/dist/components-v3/tokens/theme/theme.cjs +17 -0
  1062. package/dist/components-v3/tokens/theme/theme.d.cts +10 -0
  1063. package/dist/components-v3/tokens/theme/theme.d.ts +10 -0
  1064. package/dist/components-v3/tokens/theme/theme.js +15 -0
  1065. package/dist/components-v3/tokens/typography/fontFamily.cjs +30 -0
  1066. package/dist/components-v3/tokens/typography/fontFamily.d.cts +14 -0
  1067. package/dist/components-v3/tokens/typography/fontFamily.d.ts +14 -0
  1068. package/dist/components-v3/tokens/typography/fontFamily.js +28 -0
  1069. package/dist/components-v3/tokens/typography/fontSize.cjs +54 -0
  1070. package/dist/components-v3/tokens/typography/fontSize.d.cts +20 -0
  1071. package/dist/components-v3/tokens/typography/fontSize.d.ts +20 -0
  1072. package/dist/components-v3/tokens/typography/fontSize.js +52 -0
  1073. package/dist/components-v3/tokens/typography/fontWeight.cjs +24 -0
  1074. package/dist/components-v3/tokens/typography/fontWeight.d.cts +10 -0
  1075. package/dist/components-v3/tokens/typography/fontWeight.d.ts +10 -0
  1076. package/dist/components-v3/tokens/typography/fontWeight.js +22 -0
  1077. package/dist/components-v3/tokens/typography/letterSpacing.cjs +21 -0
  1078. package/dist/components-v3/tokens/typography/letterSpacing.d.cts +9 -0
  1079. package/dist/components-v3/tokens/typography/letterSpacing.d.ts +9 -0
  1080. package/dist/components-v3/tokens/typography/letterSpacing.js +19 -0
  1081. package/dist/components-v3/tokens/typography/lineHeight.cjs +53 -0
  1082. package/dist/components-v3/tokens/typography/lineHeight.d.cts +17 -0
  1083. package/dist/components-v3/tokens/typography/lineHeight.d.ts +17 -0
  1084. package/dist/components-v3/tokens/typography/lineHeight.js +49 -0
  1085. package/dist/components-v3/tokens/typography/typography.cjs +161 -0
  1086. package/dist/components-v3/tokens/typography/typography.d.cts +10 -0
  1087. package/dist/components-v3/tokens/typography/typography.d.ts +10 -0
  1088. package/dist/components-v3/tokens/typography/typography.js +161 -0
  1089. package/dist/components-v3/tokens/utils.cjs +6 -0
  1090. package/dist/components-v3/tokens/utils.js +5 -0
  1091. package/dist/hooks/dist/application/models/api/response.d.cts +63 -0
  1092. package/dist/hooks/dist/application/models/api/response.d.ts +63 -0
  1093. package/dist/hooks/dist/application/models/api/responseGenerics.d.cts +41 -0
  1094. package/dist/hooks/dist/application/models/api/responseGenerics.d.ts +41 -0
  1095. package/dist/hooks/dist/application/models/api/suggestion.d.cts +10 -0
  1096. package/dist/hooks/dist/application/models/api/suggestion.d.ts +10 -0
  1097. package/dist/hooks/dist/application/models/api/userEvent.d.cts +60 -0
  1098. package/dist/hooks/dist/application/models/api/userEvent.d.ts +60 -0
  1099. package/dist/hooks/dist/application/models/message.d.cts +108 -0
  1100. package/dist/hooks/dist/application/models/message.d.ts +108 -0
  1101. package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.cts +71 -0
  1102. package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.ts +71 -0
  1103. package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.cts +58 -0
  1104. package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.ts +58 -0
  1105. package/dist/hooks/dist/application/models/utilityTypes/internal.d.cts +22 -0
  1106. package/dist/hooks/dist/application/models/utilityTypes/internal.d.ts +22 -0
  1107. package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.cts +31 -0
  1108. package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.ts +31 -0
  1109. package/dist/hooks/dist/application/models/utilityTypes/trim.d.cts +30 -0
  1110. package/dist/hooks/dist/application/models/utilityTypes/trim.d.ts +30 -0
  1111. package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.cts +30 -0
  1112. package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.ts +30 -0
  1113. package/dist/hooks/dist/contexts/salesAgentContext/chatAPI.d.cts +23 -0
  1114. package/dist/hooks/dist/contexts/salesAgentContext/chatAPI.d.ts +23 -0
  1115. package/dist/hooks/dist/contexts/salesAgentContext/index.d.ts +3 -0
  1116. package/dist/hooks/dist/contexts/salesAgentContext/salesAgentContext.d.cts +18 -0
  1117. package/dist/hooks/dist/contexts/salesAgentContext/salesAgentContext.d.ts +18 -0
  1118. package/dist/hooks/dist/contexts/typesV3.d.cts +81 -0
  1119. package/dist/hooks/dist/contexts/typesV3.d.ts +81 -0
  1120. package/dist/icons/dist/ArrowUp.cjs +28 -0
  1121. package/dist/icons/dist/ArrowUp.js +28 -0
  1122. package/dist/icons/dist/Checkmark.cjs +31 -0
  1123. package/dist/icons/dist/Checkmark.js +31 -0
  1124. package/dist/icons/dist/ChevronDown.cjs +23 -0
  1125. package/dist/icons/dist/ChevronDown.js +23 -0
  1126. package/dist/icons/dist/Document.cjs +18 -0
  1127. package/dist/icons/dist/Document.js +18 -0
  1128. package/dist/icons/dist/EnviveWatermark.cjs +39 -0
  1129. package/dist/icons/dist/EnviveWatermark.js +39 -0
  1130. package/dist/icons/dist/FourPointStar.cjs +22 -0
  1131. package/dist/icons/dist/FourPointStar.js +22 -0
  1132. package/dist/icons/dist/IconCloseRounded.cjs +21 -0
  1133. package/dist/icons/dist/IconCloseRounded.js +21 -0
  1134. package/dist/icons/dist/IconCloseSharp.cjs +30 -0
  1135. package/dist/icons/dist/IconCloseSharp.js +30 -0
  1136. package/dist/icons/dist/IconCloseTransparent.cjs +23 -0
  1137. package/dist/icons/dist/IconCloseTransparent.js +23 -0
  1138. package/dist/icons/dist/LatencyIconEmptyStep.cjs +17 -0
  1139. package/dist/icons/dist/LatencyIconEmptyStep.js +17 -0
  1140. package/dist/icons/dist/LatencyIconStep1.cjs +43 -0
  1141. package/dist/icons/dist/LatencyIconStep1.js +43 -0
  1142. package/dist/icons/dist/LatencyIconStep2.cjs +32 -0
  1143. package/dist/icons/dist/LatencyIconStep2.js +32 -0
  1144. package/dist/icons/dist/LatencyIconStep3.cjs +25 -0
  1145. package/dist/icons/dist/LatencyIconStep3.js +25 -0
  1146. package/dist/icons/dist/LatencyIconStep4.cjs +25 -0
  1147. package/dist/icons/dist/LatencyIconStep4.js +25 -0
  1148. package/dist/icons/dist/LatencyIconStep5.cjs +32 -0
  1149. package/dist/icons/dist/LatencyIconStep5.js +32 -0
  1150. package/dist/icons/dist/Send.cjs +21 -0
  1151. package/dist/icons/dist/Send.js +21 -0
  1152. package/dist/icons/dist/SendMinimalist.cjs +34 -0
  1153. package/dist/icons/dist/SendMinimalist.js +34 -0
  1154. package/dist/icons/dist/SendModern.cjs +43 -0
  1155. package/dist/icons/dist/SendModern.js +43 -0
  1156. package/dist/icons/dist/SendStandard.cjs +21 -0
  1157. package/dist/icons/dist/SendStandard.js +21 -0
  1158. package/dist/icons/dist/Sparkles.cjs +43 -0
  1159. package/dist/icons/dist/Sparkles.js +43 -0
  1160. package/dist/icons/dist/Star.cjs +23 -0
  1161. package/dist/icons/dist/Star.js +23 -0
  1162. package/dist/icons/dist/VectorUpRight.cjs +17 -0
  1163. package/dist/icons/dist/VectorUpRight.js +17 -0
  1164. package/dist/icons/dist/_virtual/rolldown_runtime.cjs +27 -0
  1165. package/dist/icons/dist/_virtual/rolldown_runtime.js +25 -0
  1166. package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +696 -0
  1167. package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +696 -0
  1168. package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +43 -0
  1169. package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +43 -0
  1170. package/dist/icons/dist/node_modules/react/cjs/react.development.cjs +1528 -0
  1171. package/dist/icons/dist/node_modules/react/cjs/react.development.js +1528 -0
  1172. package/dist/icons/dist/node_modules/react/cjs/react.production.min.cjs +329 -0
  1173. package/dist/icons/dist/node_modules/react/cjs/react.production.min.js +329 -0
  1174. package/dist/icons/dist/node_modules/react/index.cjs +13 -0
  1175. package/dist/icons/dist/node_modules/react/index.js +13 -0
  1176. package/dist/icons/dist/node_modules/react/jsx-runtime.cjs +13 -0
  1177. package/dist/icons/dist/node_modules/react/jsx-runtime.js +13 -0
  1178. package/dist/styles.css +1 -0
  1179. package/dist/utils/CustomIcon.cjs +21 -0
  1180. package/dist/utils/CustomIcon.js +20 -0
  1181. package/dist/utils/resolveTheme.cjs +12 -0
  1182. package/dist/utils/resolveTheme.js +12 -0
  1183. package/dist/utils/useCheckIsMobile.cjs +26 -0
  1184. package/dist/utils/useCheckIsMobile.js +25 -0
  1185. package/dist/utils/useGetContentSize.cjs +41 -0
  1186. package/dist/utils/useGetContentSize.js +40 -0
  1187. package/dist/utils/useHorizontalWheelScroll.cjs +29 -0
  1188. package/dist/utils/useHorizontalWheelScroll.js +28 -0
  1189. package/dist/utils/useResponsiveValue.cjs +56 -0
  1190. package/dist/utils/useResponsiveValue.d.cts +6 -0
  1191. package/dist/utils/useResponsiveValue.d.ts +6 -0
  1192. package/dist/utils/useResponsiveValue.js +55 -0
  1193. package/package.json +254 -0
  1194. package/src/components/AnimatedText/AnimatedText.tsx +62 -0
  1195. package/src/components/AnimatedText/__tests__/AnimatedText.test.tsx +226 -0
  1196. package/src/components/AnimatedText/index.ts +1 -0
  1197. package/src/components/AnimatedText/types/types.ts +11 -0
  1198. package/src/components/CSSVariablesEditor/CssVariablesEditorComponent.tsx +16 -0
  1199. package/src/components/CSSVariablesEditor/components/CSSVariablesEditor.tsx +158 -0
  1200. package/src/components/CSSVariablesEditor/components/Container.tsx +11 -0
  1201. package/src/components/CSSVariablesEditor/components/Header.tsx +7 -0
  1202. package/src/components/CSSVariablesEditor/components/Purpose.tsx +14 -0
  1203. package/src/components/CSSVariablesEditor/components/index.ts +11 -0
  1204. package/src/components/CSSVariablesEditor/hooks/useGetCssVariablesOptions.ts +77 -0
  1205. package/src/components/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.ts +224 -0
  1206. package/src/components/CSSVariablesEditor/hooks/useGetDefaultCssVariables.ts +467 -0
  1207. package/src/components/CSSVariablesEditor/hooks/useHandleCssVariablesState.ts +47 -0
  1208. package/src/components/CSSVariablesEditor/hooks/useHandleUpdateCssVars.ts +107 -0
  1209. package/src/components/CSSVariablesEditor/index.ts +1 -0
  1210. package/src/components/CSSVariablesEditor/types/types.ts +18 -0
  1211. package/src/components/CSSVariablesEditor/utils/functions.ts +94 -0
  1212. package/src/components/Carousel/Carousel.tsx +42 -0
  1213. package/src/components/Carousel/__tests__/Carousel.test.tsx +243 -0
  1214. package/src/components/Carousel/__tests__/hooks/useCarouselButtons.test.tsx +184 -0
  1215. package/src/components/Carousel/__tests__/hooks/useCarouselItems.test.tsx +98 -0
  1216. package/src/components/Carousel/__tests__/hooks/useCarouselNavigation.test.ts +297 -0
  1217. package/src/components/Carousel/__tests__/hooks/useCarouselNavigationButtons.test.ts +202 -0
  1218. package/src/components/Carousel/components/ArrowIcon.tsx +22 -0
  1219. package/src/components/Carousel/components/Badge.tsx +31 -0
  1220. package/src/components/Carousel/components/Container.tsx +95 -0
  1221. package/src/components/Carousel/components/Item.tsx +9 -0
  1222. package/src/components/Carousel/components/Next.tsx +18 -0
  1223. package/src/components/Carousel/components/Previous.tsx +18 -0
  1224. package/src/components/Carousel/components/index.ts +13 -0
  1225. package/src/components/Carousel/hooks/useCarouselButtons.ts +34 -0
  1226. package/src/components/Carousel/hooks/useCarouselItems.ts +14 -0
  1227. package/src/components/Carousel/hooks/useCarouselNavigation.ts +130 -0
  1228. package/src/components/Carousel/hooks/useCarouselNavigationButtons.ts +46 -0
  1229. package/src/components/Carousel/hooks/useGetBadgeProperties.ts +21 -0
  1230. package/src/components/Carousel/index.ts +2 -0
  1231. package/src/components/Carousel/types/types.ts +46 -0
  1232. package/src/components/ChatFooter/ChatFooter.tsx +60 -0
  1233. package/src/components/ChatFooter/__tests__/ChatFooter.test.tsx +311 -0
  1234. package/src/components/ChatFooter/components/EnviveLogo.tsx +23 -0
  1235. package/src/components/ChatFooter/components/Layout.tsx +81 -0
  1236. package/src/components/ChatFooter/components/PromptSuggestions.tsx +32 -0
  1237. package/src/components/ChatFooter/components/TextField.tsx +49 -0
  1238. package/src/components/ChatFooter/components/index.ts +11 -0
  1239. package/src/components/ChatFooter/hooks/useGetButtonScrollProperties.ts +14 -0
  1240. package/src/components/ChatFooter/hooks/useGetChatScrollProperties.ts +22 -0
  1241. package/src/components/ChatFooter/hooks/useGetContainerProperties.ts +26 -0
  1242. package/src/components/ChatFooter/index.ts +2 -0
  1243. package/src/components/ChatFooter/types/types.ts +70 -0
  1244. package/src/components/ChatHeader/ChatHeader.tsx +71 -0
  1245. package/src/components/ChatHeader/__tests__/ChatHeader.test.tsx +487 -0
  1246. package/src/components/ChatHeader/components/CloseButton.tsx +32 -0
  1247. package/src/components/ChatHeader/components/Handle.tsx +16 -0
  1248. package/src/components/ChatHeader/components/Layout.tsx +21 -0
  1249. package/src/components/ChatHeader/components/Logo.tsx +18 -0
  1250. package/src/components/ChatHeader/components/Toggle.tsx +51 -0
  1251. package/src/components/ChatHeader/components/ToggleItem.tsx +51 -0
  1252. package/src/components/ChatHeader/components/index.ts +15 -0
  1253. package/src/components/ChatHeader/hooks/useGetCloseButtonProperties.ts +30 -0
  1254. package/src/components/ChatHeader/hooks/useGetHandleProperties.ts +86 -0
  1255. package/src/components/ChatHeader/hooks/useGetLayoutProperties.ts +40 -0
  1256. package/src/components/ChatHeader/hooks/useGetLogoProperties.ts +8 -0
  1257. package/src/components/ChatHeader/hooks/useGetToggleOptionProperties.ts +97 -0
  1258. package/src/components/ChatHeader/hooks/useGetToggleProperties.ts +21 -0
  1259. package/src/components/ChatHeader/hooks/useHeaderLogoSelector.ts +9 -0
  1260. package/src/components/ChatHeader/hooks/useToggleLogoSelector.ts +18 -0
  1261. package/src/components/ChatHeader/index.ts +2 -0
  1262. package/src/components/ChatHeader/types/index.ts +75 -0
  1263. package/src/components/ChatPreview/ChatPreview.tsx +73 -0
  1264. package/src/components/ChatPreview/__tests__/ChatPreview.test.tsx +382 -0
  1265. package/src/components/ChatPreview/components/Layout.tsx +27 -0
  1266. package/src/components/ChatPreview/components/Message.tsx +17 -0
  1267. package/src/components/ChatPreview/components/index.ts +7 -0
  1268. package/src/components/ChatPreview/index.ts +2 -0
  1269. package/src/components/ChatPreview/types/types.ts +164 -0
  1270. package/src/components/ChatPreviewComparison/ChatPreviewComparison.tsx +97 -0
  1271. package/src/components/ChatPreviewComparison/__tests__/ChatPreviewComparison.test.tsx +400 -0
  1272. package/src/components/ChatPreviewComparison/components/Headline.tsx +24 -0
  1273. package/src/components/ChatPreviewComparison/components/Layout.tsx +165 -0
  1274. package/src/components/ChatPreviewComparison/components/Message.tsx +28 -0
  1275. package/src/components/ChatPreviewComparison/components/index.ts +9 -0
  1276. package/src/components/ChatPreviewComparison/index.ts +2 -0
  1277. package/src/components/ChatPreviewComparison/types/types.ts +170 -0
  1278. package/src/components/ChatPreviewLoading/ChatPreviewLoading.tsx +85 -0
  1279. package/src/components/ChatPreviewLoading/__tests__/ChatPreviewLoading.test.tsx +333 -0
  1280. package/src/components/ChatPreviewLoading/components/LayoutLoading.tsx +21 -0
  1281. package/src/components/ChatPreviewLoading/components/Skeleton.tsx +15 -0
  1282. package/src/components/ChatPreviewLoading/components/index.ts +9 -0
  1283. package/src/components/ChatPreviewLoading/index.ts +2 -0
  1284. package/src/components/ChatPreviewLoading/types/types.ts +83 -0
  1285. package/src/components/Container/Container.tsx +37 -0
  1286. package/src/components/Container/__tests__/Container.test.tsx +83 -0
  1287. package/src/components/Container/hooks/useGetCenterContentProperties.ts +14 -0
  1288. package/src/components/Container/hooks/useGetFluidProperties.ts +14 -0
  1289. package/src/components/Container/index.ts +2 -0
  1290. package/src/components/Container/types/index.ts +44 -0
  1291. package/src/components/DesignTokens/DesignTokensComponent.tsx +38 -0
  1292. package/src/components/DesignTokens/components/BorderRadius.tsx +31 -0
  1293. package/src/components/DesignTokens/components/Breakpoints.tsx +39 -0
  1294. package/src/components/DesignTokens/components/Container.tsx +11 -0
  1295. package/src/components/DesignTokens/components/FontFamily.tsx +51 -0
  1296. package/src/components/DesignTokens/components/FontSize.tsx +56 -0
  1297. package/src/components/DesignTokens/components/FontWeight.tsx +48 -0
  1298. package/src/components/DesignTokens/components/Header.tsx +7 -0
  1299. package/src/components/DesignTokens/components/LetterSpacing.tsx +45 -0
  1300. package/src/components/DesignTokens/components/LineHeight.tsx +46 -0
  1301. package/src/components/DesignTokens/components/PaletteColors.tsx +145 -0
  1302. package/src/components/DesignTokens/components/Purpose.tsx +13 -0
  1303. package/src/components/DesignTokens/components/Spacing.tsx +41 -0
  1304. package/src/components/DesignTokens/components/Typography.tsx +128 -0
  1305. package/src/components/DesignTokens/components/index.ts +29 -0
  1306. package/src/components/DesignTokens/components/utils.ts +20 -0
  1307. package/src/components/DesignTokens/hooks/useGetDesignTokensFromTailwindConfig.ts +45 -0
  1308. package/src/components/DesignTokens/index.ts +2 -0
  1309. package/src/components/DocumentRetrievalCard/DocumentRetrievalCard.tsx +61 -0
  1310. package/src/components/DocumentRetrievalCard/__tests__/DocumentRetrievalCard.test.tsx +312 -0
  1311. package/src/components/DocumentRetrievalCard/components/Content.tsx +56 -0
  1312. package/src/components/DocumentRetrievalCard/components/Image.tsx +19 -0
  1313. package/src/components/DocumentRetrievalCard/components/Layout.tsx +90 -0
  1314. package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.tsx +29 -0
  1315. package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/Label.tsx +38 -0
  1316. package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.tsx +36 -0
  1317. package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/index.ts +9 -0
  1318. package/src/components/DocumentRetrievalCard/components/ViewArticleButton.tsx +67 -0
  1319. package/src/components/DocumentRetrievalCard/components/index.ts +11 -0
  1320. package/src/components/DocumentRetrievalCard/hooks/useGetBackgroundColorsProperties.ts +16 -0
  1321. package/src/components/DocumentRetrievalCard/hooks/useGetBorderProperties.ts +19 -0
  1322. package/src/components/DocumentRetrievalCard/hooks/useGetBorderRadiusProperties.ts +13 -0
  1323. package/src/components/DocumentRetrievalCard/hooks/useGetCardWidthProperties.ts +5 -0
  1324. package/src/components/DocumentRetrievalCard/hooks/useGetIconBackgroundProperties.ts +14 -0
  1325. package/src/components/DocumentRetrievalCard/hooks/useGetIconColorProperties.ts +14 -0
  1326. package/src/components/DocumentRetrievalCard/hooks/useGetLabelTextCaseProperties.ts +7 -0
  1327. package/src/components/DocumentRetrievalCard/hooks/useGetLabelTypographyProperties.ts +14 -0
  1328. package/src/components/DocumentRetrievalCard/hooks/useGetLabelUnderlineProperties.ts +12 -0
  1329. package/src/components/DocumentRetrievalCard/hooks/useGetPaddingProperties.ts +6 -0
  1330. package/src/components/DocumentRetrievalCard/hooks/useGetStackLayoutProperties.ts +14 -0
  1331. package/src/components/DocumentRetrievalCard/hooks/useGetThemeProperties.ts +37 -0
  1332. package/src/components/DocumentRetrievalCard/index.ts +4 -0
  1333. package/src/components/DocumentRetrievalCard/types/index.ts +70 -0
  1334. package/src/components/DocumentRetrievalCard/utils/functions.ts +25 -0
  1335. package/src/components/FloatingButton/FloatingButton.tsx +55 -0
  1336. package/src/components/FloatingButton/components/Button.tsx +62 -0
  1337. package/src/components/FloatingButton/components/Container.tsx +60 -0
  1338. package/src/components/FloatingButton/components/Icon.tsx +43 -0
  1339. package/src/components/FloatingButton/components/Wrapper.tsx +42 -0
  1340. package/src/components/FloatingButton/components/index.ts +11 -0
  1341. package/src/components/FloatingButton/hooks/index.ts +6 -0
  1342. package/src/components/FloatingButton/hooks/useGetButtonHoverProperties.ts +31 -0
  1343. package/src/components/FloatingButton/hooks/useGetButtonProperties.ts +45 -0
  1344. package/src/components/FloatingButton/hooks/useGetContainerProperties.ts +71 -0
  1345. package/src/components/FloatingButton/hooks/useGetFloatingButtonStyles.ts +41 -0
  1346. package/src/components/FloatingButton/hooks/useGetIconProperties.ts +30 -0
  1347. package/src/components/FloatingButton/hooks/useGetWrapperProperties.ts +37 -0
  1348. package/src/components/FloatingButton/index.ts +8 -0
  1349. package/src/components/FloatingButton/types/types.ts +117 -0
  1350. package/src/components/FloatingChat/FloatingChat.tsx +218 -0
  1351. package/src/components/FloatingChat/components/AgentMessage.tsx +138 -0
  1352. package/src/components/FloatingChat/components/ChatMessages.tsx +133 -0
  1353. package/src/components/FloatingChat/components/DocumentRetrievalCardsCarousel.tsx +38 -0
  1354. package/src/components/FloatingChat/components/Layout.tsx +87 -0
  1355. package/src/components/FloatingChat/components/MessageDivider.tsx +28 -0
  1356. package/src/components/FloatingChat/components/OrderLookupCardCarousel.tsx +39 -0
  1357. package/src/components/FloatingChat/components/ReviewCardsCarousel.tsx +38 -0
  1358. package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +59 -0
  1359. package/src/components/FloatingChat/components/ScrollToBottomButton.tsx +37 -0
  1360. package/src/components/FloatingChat/components/UserMessage.tsx +56 -0
  1361. package/src/components/FloatingChat/components/index.ts +23 -0
  1362. package/src/components/FloatingChat/hooks/useScrollToBottom.ts +76 -0
  1363. package/src/components/FloatingChat/index.ts +3 -0
  1364. package/src/components/FloatingChat/types/types.ts +60 -0
  1365. package/src/components/FloatingChat/utils/functions.ts +119 -0
  1366. package/src/components/Form/Form.tsx +71 -0
  1367. package/src/components/Form/__tests__/Form.test.tsx +121 -0
  1368. package/src/components/Form/components/Layout.tsx +50 -0
  1369. package/src/components/Form/components/SubmitButtonItem.tsx +52 -0
  1370. package/src/components/Form/components/TextFieldItem.tsx +94 -0
  1371. package/src/components/Form/components/index.ts +9 -0
  1372. package/src/components/Form/hooks/useFormsTextFieldValues.ts +34 -0
  1373. package/src/components/Form/hooks/useGetButtonProperties.ts +26 -0
  1374. package/src/components/Form/hooks/useGetTextFieldProperties.ts +51 -0
  1375. package/src/components/Form/index.ts +2 -0
  1376. package/src/components/Form/types/index.ts +72 -0
  1377. package/src/components/Form/utils/buildSubmitButtonElement.ts +14 -0
  1378. package/src/components/Form/utils/buildTextFieldsSubmitPayload.ts +17 -0
  1379. package/src/components/Form/utils/createFormSchema.ts +63 -0
  1380. package/src/components/Form/utils/handleFormsSubmit.ts +27 -0
  1381. package/src/components/Form/utils/mapTextFields.ts +25 -0
  1382. package/src/components/Form/utils/validateTextFieldsForSubmit.ts +48 -0
  1383. package/src/components/Image/Image.tsx +98 -0
  1384. package/src/components/Image/__tests__/Image.test.tsx +571 -0
  1385. package/src/components/Image/hooks/useGetAccessibilityProperties.ts +43 -0
  1386. package/src/components/Image/hooks/useGetAspectRatioProperties.ts +20 -0
  1387. package/src/components/Image/hooks/useGetObjectFitProperties.ts +21 -0
  1388. package/src/components/Image/hooks/useGetRoundedProperties.ts +10 -0
  1389. package/src/components/Image/hooks/useGetSkeletonProperties.ts +12 -0
  1390. package/src/components/Image/hooks/useGetWidthProperties.ts +23 -0
  1391. package/src/components/Image/hooks/useHandleImageLoading.ts +37 -0
  1392. package/src/components/Image/index.ts +3 -0
  1393. package/src/components/Image/types/index.ts +132 -0
  1394. package/src/components/ImageGallery/ImageGallery.tsx +74 -0
  1395. package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +436 -0
  1396. package/src/components/ImageGallery/components/ImageItem.tsx +6 -0
  1397. package/src/components/ImageGallery/components/Layout.tsx +80 -0
  1398. package/src/components/ImageGallery/components/NormalLayout.tsx +11 -0
  1399. package/src/components/ImageGallery/components/OverlappedLayout.tsx +17 -0
  1400. package/src/components/ImageGallery/components/index.ts +11 -0
  1401. package/src/components/ImageGallery/hooks/useGetContainerProperties.ts +30 -0
  1402. package/src/components/ImageGallery/hooks/useValidateImages.ts +29 -0
  1403. package/src/components/ImageGallery/index.ts +3 -0
  1404. package/src/components/ImageGallery/types/types.ts +130 -0
  1405. package/src/components/ImageGallery/utils/functions.ts +26 -0
  1406. package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +43 -0
  1407. package/src/components/MarkdownProcessor/__tests__/MarkdownProcessor.test.tsx +194 -0
  1408. package/src/components/MarkdownProcessor/components/MarkdownLink.tsx +13 -0
  1409. package/src/components/MarkdownProcessor/components/MarkdownListItem.tsx +18 -0
  1410. package/src/components/MarkdownProcessor/components/MarkdownOrderedList.tsx +7 -0
  1411. package/src/components/MarkdownProcessor/components/MarkdownParagraph.tsx +25 -0
  1412. package/src/components/MarkdownProcessor/components/MarkdownSubscript.tsx +22 -0
  1413. package/src/components/MarkdownProcessor/components/MarkdownUnorderedList.tsx +7 -0
  1414. package/src/components/MarkdownProcessor/components/index.ts +15 -0
  1415. package/src/components/MarkdownProcessor/index.ts +5 -0
  1416. package/src/components/MarkdownProcessor/types/types.ts +40 -0
  1417. package/src/components/MarkdownProcessor/utils/functions.tsx +43 -0
  1418. package/src/components/Message/Message.tsx +55 -0
  1419. package/src/components/Message/__tests__/Message.test.tsx +357 -0
  1420. package/src/components/Message/components/AgentContent.tsx +21 -0
  1421. package/src/components/Message/components/AgentHeader.tsx +34 -0
  1422. package/src/components/Message/components/Layout.tsx +54 -0
  1423. package/src/components/Message/components/LinkButton.tsx +55 -0
  1424. package/src/components/Message/components/LoadingSkeleton.tsx +19 -0
  1425. package/src/components/Message/components/SparkleIcon.tsx +23 -0
  1426. package/src/components/Message/components/UserContent.tsx +19 -0
  1427. package/src/components/Message/components/index.ts +17 -0
  1428. package/src/components/Message/hooks/useGetLinkButtonIconProperties.ts +20 -0
  1429. package/src/components/Message/hooks/useGetLinkButtonProperties.ts +18 -0
  1430. package/src/components/Message/hooks/useLatencyAnimation.ts +57 -0
  1431. package/src/components/Message/hooks/useVariantStyleProperties.ts +42 -0
  1432. package/src/components/Message/index.ts +4 -0
  1433. package/src/components/Message/types/index.ts +87 -0
  1434. package/src/components/Message/utils/openUrlInNewTab.ts +14 -0
  1435. package/src/components/Message/utils/validateMessageProps.ts +29 -0
  1436. package/src/components/OrderLookupCard/OrderLookupCard.tsx +104 -0
  1437. package/src/components/OrderLookupCard/__tests__/OrderLookupCard.test.tsx +363 -0
  1438. package/src/components/OrderLookupCard/components/Layout.tsx +42 -0
  1439. package/src/components/OrderLookupCard/components/MoreProductsOverlay.tsx +67 -0
  1440. package/src/components/OrderLookupCard/components/OrderDate.tsx +24 -0
  1441. package/src/components/OrderLookupCard/components/OrderNumber.tsx +31 -0
  1442. package/src/components/OrderLookupCard/components/ProductImageGridItem.tsx +46 -0
  1443. package/src/components/OrderLookupCard/components/ProductImageItem.tsx +73 -0
  1444. package/src/components/OrderLookupCard/components/ProductImagesGrid.tsx +59 -0
  1445. package/src/components/OrderLookupCard/components/StatusLabel.tsx +53 -0
  1446. package/src/components/OrderLookupCard/components/TrackOrderLink.tsx +56 -0
  1447. package/src/components/OrderLookupCard/components/index.ts +19 -0
  1448. package/src/components/OrderLookupCard/hooks/useGetContainerProperties.ts +32 -0
  1449. package/src/components/OrderLookupCard/hooks/useGetImageBorderRadiusProperties.ts +14 -0
  1450. package/src/components/OrderLookupCard/hooks/useGetImageGridPositionProperties.ts +49 -0
  1451. package/src/components/OrderLookupCard/hooks/useGetMoreProductsOverlayProperties.ts +13 -0
  1452. package/src/components/OrderLookupCard/hooks/useGetProductImagesGridProperties.ts +11 -0
  1453. package/src/components/OrderLookupCard/hooks/useGetStatusLabelProperties.ts +38 -0
  1454. package/src/components/OrderLookupCard/hooks/useGetTrackOrderLinkProperties.ts +15 -0
  1455. package/src/components/OrderLookupCard/index.ts +2 -0
  1456. package/src/components/OrderLookupCard/types/index.ts +98 -0
  1457. package/src/components/OrderLookupCard/utils/calculateMoreProductsCount.ts +10 -0
  1458. package/src/components/OrderLookupCard/utils/formatOrderDate.ts +28 -0
  1459. package/src/components/OrderLookupCard/utils/formatOrderNumber.ts +10 -0
  1460. package/src/components/OrderLookupCard/utils/getProductImagesToDisplay.ts +9 -0
  1461. package/src/components/OrderLookupCard/utils/handleTrackOrderNavigation.ts +14 -0
  1462. package/src/components/PromptButton/PromptButton.tsx +82 -0
  1463. package/src/components/PromptButton/__tests__/PromptButton.test.tsx +358 -0
  1464. package/src/components/PromptButton/components/Icon.tsx +15 -0
  1465. package/src/components/PromptButton/components/Label.tsx +27 -0
  1466. package/src/components/PromptButton/components/Layout.tsx +75 -0
  1467. package/src/components/PromptButton/components/Loading.tsx +16 -0
  1468. package/src/components/PromptButton/components/index.ts +11 -0
  1469. package/src/components/PromptButton/hooks/useGetBackgroundColorsProperties.ts +17 -0
  1470. package/src/components/PromptButton/hooks/useGetBoldTextProperties.ts +9 -0
  1471. package/src/components/PromptButton/hooks/useGetBorderColorsProperties.ts +21 -0
  1472. package/src/components/PromptButton/hooks/useGetIconColorsProperties.ts +43 -0
  1473. package/src/components/PromptButton/hooks/useGetLayoutBaseProperties.ts +32 -0
  1474. package/src/components/PromptButton/hooks/useGetTextColorsProperties.ts +17 -0
  1475. package/src/components/PromptButton/hooks/useGetVariantColorsProperties.ts +36 -0
  1476. package/src/components/PromptButton/index.ts +3 -0
  1477. package/src/components/PromptButton/types/index.ts +98 -0
  1478. package/src/components/PromptButton/utils/functions.ts +5 -0
  1479. package/src/components/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.tsx +68 -0
  1480. package/src/components/PromptButtonCarouselWithImage/__tests__/PromptButtonCarouselWithImage.test.tsx +415 -0
  1481. package/src/components/PromptButtonCarouselWithImage/components/Image.tsx +20 -0
  1482. package/src/components/PromptButtonCarouselWithImage/components/Layout.tsx +93 -0
  1483. package/src/components/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.tsx +46 -0
  1484. package/src/components/PromptButtonCarouselWithImage/components/Skeleton.tsx +15 -0
  1485. package/src/components/PromptButtonCarouselWithImage/components/Title.tsx +23 -0
  1486. package/src/components/PromptButtonCarouselWithImage/components/index.ts +15 -0
  1487. package/src/components/PromptButtonCarouselWithImage/index.ts +5 -0
  1488. package/src/components/PromptButtonCarouselWithImage/types/types.ts +72 -0
  1489. package/src/components/PromptCarousel/PromptCarousel.tsx +128 -0
  1490. package/src/components/PromptCarousel/__tests__/PromptCarousel.test.tsx +617 -0
  1491. package/src/components/PromptCarousel/components/BlockScrollContainer.tsx +34 -0
  1492. package/src/components/PromptCarousel/components/ButtonContainerRow.tsx +46 -0
  1493. package/src/components/PromptCarousel/components/CarouselContentWithBlockScroll.tsx +83 -0
  1494. package/src/components/PromptCarousel/components/CarouselContentWithRowScroll.tsx +71 -0
  1495. package/src/components/PromptCarousel/components/index.ts +9 -0
  1496. package/src/components/PromptCarousel/hooks/index.ts +5 -0
  1497. package/src/components/PromptCarousel/hooks/useButtonScrollPosition.ts +128 -0
  1498. package/src/components/PromptCarousel/hooks/useCarouselAnimation.ts +47 -0
  1499. package/src/components/PromptCarousel/hooks/useCarouselButtons.ts +35 -0
  1500. package/src/components/PromptCarousel/hooks/useCarouselRefs.ts +26 -0
  1501. package/src/components/PromptCarousel/hooks/useGetScrollProperties.ts +14 -0
  1502. package/src/components/PromptCarousel/hooks/useHorizontalScrollAnimation.ts +103 -0
  1503. package/src/components/PromptCarousel/index.ts +3 -0
  1504. package/src/components/PromptCarousel/types/types.ts +101 -0
  1505. package/src/components/PromptCarousel/utils/functions.ts +19 -0
  1506. package/src/components/ReviewCard/ReviewCard.tsx +77 -0
  1507. package/src/components/ReviewCard/__tests__/ReviewCard.test.tsx +413 -0
  1508. package/src/components/ReviewCard/components/Container.tsx +84 -0
  1509. package/src/components/ReviewCard/components/Name.tsx +44 -0
  1510. package/src/components/ReviewCard/components/Rating.tsx +45 -0
  1511. package/src/components/ReviewCard/components/ReadMoreButton.tsx +62 -0
  1512. package/src/components/ReviewCard/components/ReviewText.tsx +25 -0
  1513. package/src/components/ReviewCard/components/StarIcon.tsx +34 -0
  1514. package/src/components/ReviewCard/components/VerifiedBuyer.tsx +36 -0
  1515. package/src/components/ReviewCard/components/index.ts +15 -0
  1516. package/src/components/ReviewCard/hooks/useGetBackgroundColorsProperties.ts +13 -0
  1517. package/src/components/ReviewCard/hooks/useGetBorderProperties.ts +19 -0
  1518. package/src/components/ReviewCard/hooks/useGetBorderRadiusProperties.ts +13 -0
  1519. package/src/components/ReviewCard/hooks/useGetCardWidthProperties.ts +5 -0
  1520. package/src/components/ReviewCard/hooks/useGetNameProperties.ts +17 -0
  1521. package/src/components/ReviewCard/hooks/useGetPaddingProperties.ts +5 -0
  1522. package/src/components/ReviewCard/hooks/useGetRatingBackgroundProperties.ts +14 -0
  1523. package/src/components/ReviewCard/hooks/useGetRatingProperties.ts +20 -0
  1524. package/src/components/ReviewCard/hooks/useGetReadMoreTypographyProperties.ts +14 -0
  1525. package/src/components/ReviewCard/hooks/useGetReviewTextProperties.ts +26 -0
  1526. package/src/components/ReviewCard/hooks/useGetStarIconProperties.ts +20 -0
  1527. package/src/components/ReviewCard/hooks/useGetThemeProperties.ts +19 -0
  1528. package/src/components/ReviewCard/index.ts +3 -0
  1529. package/src/components/ReviewCard/types/types.ts +62 -0
  1530. package/src/components/SalesAgentProductCard/SalesAgentProductCard.tsx +77 -0
  1531. package/src/components/SalesAgentProductCard/__tests__/SalesAgentProductCard.test.tsx +478 -0
  1532. package/src/components/SalesAgentProductCard/__tests__/functions.test.ts +117 -0
  1533. package/src/components/SalesAgentProductCard/components/Container.tsx +92 -0
  1534. package/src/components/SalesAgentProductCard/components/Price.tsx +42 -0
  1535. package/src/components/SalesAgentProductCard/components/ProductImage.tsx +33 -0
  1536. package/src/components/SalesAgentProductCard/components/ProductName.tsx +36 -0
  1537. package/src/components/SalesAgentProductCard/components/Rate.tsx +39 -0
  1538. package/src/components/SalesAgentProductCard/components/StarIcon.tsx +25 -0
  1539. package/src/components/SalesAgentProductCard/components/index.ts +15 -0
  1540. package/src/components/SalesAgentProductCard/hooks/useGetContainerProperties.ts +39 -0
  1541. package/src/components/SalesAgentProductCard/hooks/useGetImageProperties.ts +13 -0
  1542. package/src/components/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.ts +56 -0
  1543. package/src/components/SalesAgentProductCard/hooks/useGetProductNameProperties.ts +17 -0
  1544. package/src/components/SalesAgentProductCard/hooks/useGetStarIconProperties.ts +20 -0
  1545. package/src/components/SalesAgentProductCard/index.ts +2 -0
  1546. package/src/components/SalesAgentProductCard/types/types.ts +101 -0
  1547. package/src/components/SalesAgentProductCard/utils/functions.ts +24 -0
  1548. package/src/components/SocialProof/SocialProof.tsx +161 -0
  1549. package/src/components/SocialProof/__tests__/SocialProof.test.tsx +469 -0
  1550. package/src/components/SocialProof/components/Headline.tsx +75 -0
  1551. package/src/components/SocialProof/components/ImageGallery.tsx +39 -0
  1552. package/src/components/SocialProof/components/LayoutFourGrid.tsx +57 -0
  1553. package/src/components/SocialProof/components/LayoutFourHorizontal.tsx +97 -0
  1554. package/src/components/SocialProof/components/LayoutSingle.tsx +127 -0
  1555. package/src/components/SocialProof/components/Skeleton.tsx +15 -0
  1556. package/src/components/SocialProof/components/Subheadline.tsx +54 -0
  1557. package/src/components/SocialProof/components/Textfield.tsx +25 -0
  1558. package/src/components/SocialProof/components/index.ts +19 -0
  1559. package/src/components/SocialProof/index.ts +3 -0
  1560. package/src/components/SocialProof/types/types.ts +244 -0
  1561. package/src/components/SocialProof/utils/functions.ts +31 -0
  1562. package/src/components/Stack/Stack.tsx +64 -0
  1563. package/src/components/Stack/__tests__/Stack.test.tsx +257 -0
  1564. package/src/components/Stack/hooks/useFormatStackChildren.tsx +34 -0
  1565. package/src/components/Stack/hooks/useGetAlignProperties.ts +25 -0
  1566. package/src/components/Stack/hooks/useGetDirectionProperties.ts +19 -0
  1567. package/src/components/Stack/hooks/useGetGapProperties.ts +18 -0
  1568. package/src/components/Stack/hooks/useGetJustifyProperties.ts +26 -0
  1569. package/src/components/Stack/hooks/useGetStyleProperties.ts +44 -0
  1570. package/src/components/Stack/hooks/useGetWrapProperties.ts +7 -0
  1571. package/src/components/Stack/index.ts +13 -0
  1572. package/src/components/Stack/types/index.ts +70 -0
  1573. package/src/components/Stack/utils/constants.ts +36 -0
  1574. package/src/components/TextField/TextField.tsx +84 -0
  1575. package/src/components/TextField/__tests__/TextField.test.tsx +472 -0
  1576. package/src/components/TextField/components/Input.tsx +58 -0
  1577. package/src/components/TextField/components/Layout.tsx +65 -0
  1578. package/src/components/TextField/components/SendIcon.tsx +42 -0
  1579. package/src/components/TextField/components/StandardThemeSendIcon.tsx +27 -0
  1580. package/src/components/TextField/components/index.ts +9 -0
  1581. package/src/components/TextField/hooks/useGetContainerProperties.ts +73 -0
  1582. package/src/components/TextField/hooks/useGetSkeletonProperties.ts +11 -0
  1583. package/src/components/TextField/hooks/useSendIconHandlers.ts +30 -0
  1584. package/src/components/TextField/hooks/useTextFieldFocus.ts +22 -0
  1585. package/src/components/TextField/hooks/useTextFieldSubmit.ts +36 -0
  1586. package/src/components/TextField/hooks/useTextFieldValue.ts +42 -0
  1587. package/src/components/TextField/index.ts +2 -0
  1588. package/src/components/TextField/types/index.ts +45 -0
  1589. package/src/components/TextField/utils/createInputChangeHandler.ts +11 -0
  1590. package/src/components/TextField/utils/getIconColor.ts +9 -0
  1591. package/src/components/TextField/utils/getInputClasses.ts +33 -0
  1592. package/src/components/TextField/utils/getLayoutStateProperties.ts +14 -0
  1593. package/src/components/TextField/utils/getSendIconElement.tsx +53 -0
  1594. package/src/components/Title/Title.tsx +40 -0
  1595. package/src/components/Title/__tests__/Title.test.tsx +179 -0
  1596. package/src/components/Title/components/Image.tsx +66 -0
  1597. package/src/components/Title/components/Label.tsx +19 -0
  1598. package/src/components/Title/components/Layout.tsx +42 -0
  1599. package/src/components/Title/components/index.ts +9 -0
  1600. package/src/components/Title/index.ts +2 -0
  1601. package/src/components/Title/types/index.ts +37 -0
  1602. package/src/components/TitledPromptCarousel/TitledPromptCarousel.tsx +55 -0
  1603. package/src/components/TitledPromptCarousel/__tests__/TitledPromptCarousel.test.tsx +129 -0
  1604. package/src/components/TitledPromptCarousel/index.ts +2 -0
  1605. package/src/components/TitledPromptCarousel/types/index.ts +67 -0
  1606. package/src/components/Tokens/index.ts +35 -0
  1607. package/src/components/TypingAnimation/TypingAnimation.tsx +122 -0
  1608. package/src/components/TypingAnimation/__tests__/TypingAnimation.test.tsx +329 -0
  1609. package/src/components/TypingAnimation/hooks/useGetTypographyVariant.tsx +6 -0
  1610. package/src/components/TypingAnimation/index.ts +2 -0
  1611. package/src/components/TypingAnimation/types/index.ts +155 -0
  1612. package/src/components/Typography/Typography.tsx +68 -0
  1613. package/src/components/Typography/__tests__/Typography.test.tsx +384 -0
  1614. package/src/components/Typography/hooks/useGetAccessibilityAttributes.ts +42 -0
  1615. package/src/components/Typography/hooks/useGetAlignProperties.ts +17 -0
  1616. package/src/components/Typography/hooks/useGetColorProperties.ts +18 -0
  1617. package/src/components/Typography/hooks/useGetNoWrapProperties.ts +11 -0
  1618. package/src/components/Typography/hooks/useGetNumberOfLinesProperties.ts +23 -0
  1619. package/src/components/Typography/hooks/useGetVariantProperties.ts +63 -0
  1620. package/src/components/Typography/index.ts +3 -0
  1621. package/src/components/Typography/types/index.ts +106 -0
  1622. package/src/components/Typography/utils/utils.ts +11 -0
  1623. package/src/components/WelcomeMessage/WelcomeMessage.tsx +53 -0
  1624. package/src/components/WelcomeMessage/__tests__/WelcomeMessage.test.tsx +132 -0
  1625. package/src/components/WelcomeMessage/components/Container.tsx +56 -0
  1626. package/src/components/WelcomeMessage/components/SparkleIcon.tsx +30 -0
  1627. package/src/components/WelcomeMessage/components/Text.tsx +19 -0
  1628. package/src/components/WelcomeMessage/components/Title.tsx +20 -0
  1629. package/src/components/WelcomeMessage/components/index.ts +11 -0
  1630. package/src/components/WelcomeMessage/hooks/useGetContainerProperties.ts +24 -0
  1631. package/src/components/WelcomeMessage/hooks/useGetSparkleIconProperties.ts +35 -0
  1632. package/src/components/WelcomeMessage/index.ts +3 -0
  1633. package/src/components/WelcomeMessage/types/types.ts +43 -0
  1634. package/src/components/WidgetTextField/WidgetTextField.tsx +38 -0
  1635. package/src/components/WidgetTextField/__tests__/WidgetTextField.test.tsx +331 -0
  1636. package/src/components/WidgetTextField/components/Container.tsx +66 -0
  1637. package/src/components/WidgetTextField/components/FakeTextInput.tsx +18 -0
  1638. package/src/components/WidgetTextField/components/Icon.tsx +47 -0
  1639. package/src/components/WidgetTextField/components/Skeleton.tsx +28 -0
  1640. package/src/components/WidgetTextField/components/index.ts +11 -0
  1641. package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +21 -0
  1642. package/src/components/WidgetTextField/hooks/useHandleKeyboard.ts +10 -0
  1643. package/src/components/WidgetTextField/index.ts +2 -0
  1644. package/src/components/WidgetTextField/types/types.ts +42 -0
  1645. package/src/components/WidgetWrapper/WidgetWrapper.tsx +31 -0
  1646. package/src/components/WidgetWrapper/__tests__/WidgetWrapper.test.tsx +130 -0
  1647. package/src/components/WidgetWrapper/hooks/useGetWrapperProperties.ts +21 -0
  1648. package/src/components/WidgetWrapper/index.ts +3 -0
  1649. package/src/components/WidgetWrapper/types/types.ts +34 -0
  1650. package/src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.tsx +52 -0
  1651. package/src/components/WidgetWrapperWithTitle/__tests__/WidgetWrapperWithTitle.test.tsx +352 -0
  1652. package/src/components/WidgetWrapperWithTitle/index.ts +2 -0
  1653. package/src/components/WidgetWrapperWithTitle/types/types.ts +76 -0
  1654. package/src/components/utils/CustomIcon.tsx +45 -0
  1655. package/src/components/utils/resolveTheme.ts +15 -0
  1656. package/src/components/utils/useCheckIsMobile.ts +30 -0
  1657. package/src/components/utils/useGetContentSize.tsx +55 -0
  1658. package/src/components/utils/useHorizontalWheelScroll.ts +35 -0
  1659. package/src/components/utils/useResponsiveValue.ts +107 -0
  1660. package/src/logging/logger.ts +21 -0
  1661. package/src/models/colorsConfig.ts +28 -0
  1662. package/src/test/setup.ts +30 -0
  1663. package/src/test/types.ts +3 -0
@@ -0,0 +1,120 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_colors = require('../../components-v3/tokens/colors/colors.cjs');
3
+ const require_aspectRatio = require('../../components-v3/tokens/aspectRatio/aspectRatio.cjs');
4
+ const require_theme = require('../../components-v3/tokens/theme/theme.cjs');
5
+ let react = require("react");
6
+
7
+ //#region src/components/CSSVariablesEditor/hooks/useGetCssVariablesOptions.ts
8
+ const useGetCssVariablesOptions = () => {
9
+ return {
10
+ aspectRatioOptions: (0, react.useMemo)(() => [{
11
+ label: "Square",
12
+ value: require_aspectRatio.AspectRatio.SQUARE
13
+ }, {
14
+ label: "Portrait",
15
+ value: require_aspectRatio.AspectRatio.PORTRAIT
16
+ }], []),
17
+ themeOptions: (0, react.useMemo)(() => [
18
+ {
19
+ label: "Standard",
20
+ value: require_theme.Theme.STANDARD
21
+ },
22
+ {
23
+ label: "Modern",
24
+ value: require_theme.Theme.MODERN
25
+ },
26
+ {
27
+ label: "Minimal",
28
+ value: require_theme.Theme.MINIMAL
29
+ }
30
+ ], []),
31
+ lightButtonBackgroundOptions: (0, react.useMemo)(() => [
32
+ {
33
+ label: "Background Secondary",
34
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundSecondary})`
35
+ },
36
+ {
37
+ label: "Background Tertiary",
38
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundTertiary})`
39
+ },
40
+ {
41
+ label: "Background Light",
42
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundLight})`
43
+ },
44
+ {
45
+ label: "Background Primary",
46
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundPrimary})`
47
+ }
48
+ ], []),
49
+ lightButtonIconOptions: (0, react.useMemo)(() => [
50
+ {
51
+ label: "Background Secondary",
52
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundSecondary})`
53
+ },
54
+ {
55
+ label: "Background Tertiary",
56
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundTertiary})`
57
+ },
58
+ {
59
+ label: "Background Light",
60
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundLight})`
61
+ },
62
+ {
63
+ label: "Background Dark",
64
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundDark})`
65
+ },
66
+ {
67
+ label: "Background Primary",
68
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundPrimary})`
69
+ },
70
+ {
71
+ label: "Accent Primary",
72
+ value: `var(--${require_colors.ColorsNamesVars.AccentPrimary})`
73
+ },
74
+ {
75
+ label: "Accent Secondary",
76
+ value: `var(--${require_colors.ColorsNamesVars.AccentSecondary})`
77
+ }
78
+ ], []),
79
+ darkButtonBackgroundOptions: (0, react.useMemo)(() => [{
80
+ label: "Background Dark",
81
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundDark})`
82
+ }, {
83
+ label: "Background Primary",
84
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundPrimary})`
85
+ }], []),
86
+ darkButtonIconOptions: (0, react.useMemo)(() => [
87
+ {
88
+ label: "Background Secondary",
89
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundSecondary})`
90
+ },
91
+ {
92
+ label: "Background Tertiary",
93
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundTertiary})`
94
+ },
95
+ {
96
+ label: "Background Light",
97
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundLight})`
98
+ },
99
+ {
100
+ label: "Background Dark",
101
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundDark})`
102
+ },
103
+ {
104
+ label: "Background Primary",
105
+ value: `var(--${require_colors.ColorsNamesVars.BackgroundPrimary})`
106
+ },
107
+ {
108
+ label: "Accent Primary",
109
+ value: `var(--${require_colors.ColorsNamesVars.AccentPrimary})`
110
+ },
111
+ {
112
+ label: "Accent Secondary",
113
+ value: `var(--${require_colors.ColorsNamesVars.AccentSecondary})`
114
+ }
115
+ ], [])
116
+ };
117
+ };
118
+
119
+ //#endregion
120
+ exports.useGetCssVariablesOptions = useGetCssVariablesOptions;
@@ -0,0 +1,119 @@
1
+ import { ColorsNamesVars } from "../../components-v3/tokens/colors/colors.js";
2
+ import { AspectRatio } from "../../components-v3/tokens/aspectRatio/aspectRatio.js";
3
+ import { Theme } from "../../components-v3/tokens/theme/theme.js";
4
+ import { useMemo } from "react";
5
+
6
+ //#region src/components/CSSVariablesEditor/hooks/useGetCssVariablesOptions.ts
7
+ const useGetCssVariablesOptions = () => {
8
+ return {
9
+ aspectRatioOptions: useMemo(() => [{
10
+ label: "Square",
11
+ value: AspectRatio.SQUARE
12
+ }, {
13
+ label: "Portrait",
14
+ value: AspectRatio.PORTRAIT
15
+ }], []),
16
+ themeOptions: useMemo(() => [
17
+ {
18
+ label: "Standard",
19
+ value: Theme.STANDARD
20
+ },
21
+ {
22
+ label: "Modern",
23
+ value: Theme.MODERN
24
+ },
25
+ {
26
+ label: "Minimal",
27
+ value: Theme.MINIMAL
28
+ }
29
+ ], []),
30
+ lightButtonBackgroundOptions: useMemo(() => [
31
+ {
32
+ label: "Background Secondary",
33
+ value: `var(--${ColorsNamesVars.BackgroundSecondary})`
34
+ },
35
+ {
36
+ label: "Background Tertiary",
37
+ value: `var(--${ColorsNamesVars.BackgroundTertiary})`
38
+ },
39
+ {
40
+ label: "Background Light",
41
+ value: `var(--${ColorsNamesVars.BackgroundLight})`
42
+ },
43
+ {
44
+ label: "Background Primary",
45
+ value: `var(--${ColorsNamesVars.BackgroundPrimary})`
46
+ }
47
+ ], []),
48
+ lightButtonIconOptions: useMemo(() => [
49
+ {
50
+ label: "Background Secondary",
51
+ value: `var(--${ColorsNamesVars.BackgroundSecondary})`
52
+ },
53
+ {
54
+ label: "Background Tertiary",
55
+ value: `var(--${ColorsNamesVars.BackgroundTertiary})`
56
+ },
57
+ {
58
+ label: "Background Light",
59
+ value: `var(--${ColorsNamesVars.BackgroundLight})`
60
+ },
61
+ {
62
+ label: "Background Dark",
63
+ value: `var(--${ColorsNamesVars.BackgroundDark})`
64
+ },
65
+ {
66
+ label: "Background Primary",
67
+ value: `var(--${ColorsNamesVars.BackgroundPrimary})`
68
+ },
69
+ {
70
+ label: "Accent Primary",
71
+ value: `var(--${ColorsNamesVars.AccentPrimary})`
72
+ },
73
+ {
74
+ label: "Accent Secondary",
75
+ value: `var(--${ColorsNamesVars.AccentSecondary})`
76
+ }
77
+ ], []),
78
+ darkButtonBackgroundOptions: useMemo(() => [{
79
+ label: "Background Dark",
80
+ value: `var(--${ColorsNamesVars.BackgroundDark})`
81
+ }, {
82
+ label: "Background Primary",
83
+ value: `var(--${ColorsNamesVars.BackgroundPrimary})`
84
+ }], []),
85
+ darkButtonIconOptions: useMemo(() => [
86
+ {
87
+ label: "Background Secondary",
88
+ value: `var(--${ColorsNamesVars.BackgroundSecondary})`
89
+ },
90
+ {
91
+ label: "Background Tertiary",
92
+ value: `var(--${ColorsNamesVars.BackgroundTertiary})`
93
+ },
94
+ {
95
+ label: "Background Light",
96
+ value: `var(--${ColorsNamesVars.BackgroundLight})`
97
+ },
98
+ {
99
+ label: "Background Dark",
100
+ value: `var(--${ColorsNamesVars.BackgroundDark})`
101
+ },
102
+ {
103
+ label: "Background Primary",
104
+ value: `var(--${ColorsNamesVars.BackgroundPrimary})`
105
+ },
106
+ {
107
+ label: "Accent Primary",
108
+ value: `var(--${ColorsNamesVars.AccentPrimary})`
109
+ },
110
+ {
111
+ label: "Accent Secondary",
112
+ value: `var(--${ColorsNamesVars.AccentSecondary})`
113
+ }
114
+ ], [])
115
+ };
116
+ };
117
+
118
+ //#endregion
119
+ export { useGetCssVariablesOptions };
@@ -0,0 +1,165 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_colorsConfig = require('../../components-v3/src/models/colorsConfig.cjs');
3
+ const require_utils = require('../../DesignTokens/components/utils.cjs');
4
+ let react = require("react");
5
+
6
+ //#region src/components/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.ts
7
+ const defaultMerchantTest = {
8
+ devApiKey: "242fa4217b8b3db70e3a20f9740430afd87033d8f0b15e608ec8c42d5409094b",
9
+ domains: ["semantic-colors-test.com"],
10
+ name: "semantic-colors-test",
11
+ prodApiKey: "242fa4217b8b3db70e3a20f9740430afd87033d8f0b15e608ec8c42d5409094b"
12
+ };
13
+ const standardColors = {
14
+ [require_colorsConfig.ColorNames.TextPrimary]: "#021414",
15
+ [require_colorsConfig.ColorNames.TextSecondary]: "#666666",
16
+ [require_colorsConfig.ColorNames.TextAccent]: "#478D87",
17
+ [require_colorsConfig.ColorNames.TextLink]: "#042E2C",
18
+ [require_colorsConfig.ColorNames.TextLight]: "#FFFFFF",
19
+ [require_colorsConfig.ColorNames.BackgroundPrimary]: "#1F5F51",
20
+ [require_colorsConfig.ColorNames.BackgroundSecondary]: "#F9F6EA",
21
+ [require_colorsConfig.ColorNames.BackgroundSecondaryDark]: "#EEECDD",
22
+ [require_colorsConfig.ColorNames.BackgroundTertiary]: "#EEECDD",
23
+ [require_colorsConfig.ColorNames.BackgroundDark]: "#021414",
24
+ [require_colorsConfig.ColorNames.BackgroundLight]: "#FFFFFF",
25
+ [require_colorsConfig.ColorNames.BackgroundSaturated]: "#FFFFFF",
26
+ [require_colorsConfig.ColorNames.BorderLight]: "#E6E7E7",
27
+ [require_colorsConfig.ColorNames.BorderMedium]: "#B3B8B8",
28
+ [require_colorsConfig.ColorNames.BorderDark]: "#021414",
29
+ [require_colorsConfig.ColorNames.AccentPrimary]: "#1F5F51",
30
+ [require_colorsConfig.ColorNames.AccentSecondary]: "#AE8659"
31
+ };
32
+ const getSpiffyColors = () => {
33
+ return {
34
+ [require_colorsConfig.ColorNames.TextPrimary]: require_utils.getCSSVariable("--spiffy-colors-text-primary") || require_utils.getCSSVariable("--envive-colors-text-primary"),
35
+ [require_colorsConfig.ColorNames.TextSecondary]: require_utils.getCSSVariable("--spiffy-colors-text-secondary") || require_utils.getCSSVariable("--envive-colors-text-secondary"),
36
+ [require_colorsConfig.ColorNames.TextAccent]: require_utils.getCSSVariable("--spiffy-colors-text-accent") || require_utils.getCSSVariable("--envive-colors-text-accent"),
37
+ [require_colorsConfig.ColorNames.TextLink]: require_utils.getCSSVariable("--spiffy-colors-text-link") || require_utils.getCSSVariable("--envive-colors-text-link"),
38
+ [require_colorsConfig.ColorNames.TextLight]: require_utils.getCSSVariable("--spiffy-colors-text-light") || require_utils.getCSSVariable("--envive-colors-text-light"),
39
+ [require_colorsConfig.ColorNames.BackgroundPrimary]: require_utils.getCSSVariable("--spiffy-colors-background-primary") || require_utils.getCSSVariable("--envive-colors-background-primary"),
40
+ [require_colorsConfig.ColorNames.BackgroundSecondary]: require_utils.getCSSVariable("--spiffy-colors-background-secondary") || require_utils.getCSSVariable("--envive-colors-background-secondary"),
41
+ [require_colorsConfig.ColorNames.BackgroundSecondaryDark]: require_utils.getCSSVariable("--spiffy-colors-background-secondary-dark") || require_utils.getCSSVariable("--envive-colors-background-secondary-dark"),
42
+ [require_colorsConfig.ColorNames.BackgroundTertiary]: require_utils.getCSSVariable("--spiffy-colors-background-tertiary") || require_utils.getCSSVariable("--envive-colors-background-tertiary"),
43
+ [require_colorsConfig.ColorNames.BackgroundDark]: require_utils.getCSSVariable("--spiffy-colors-background-dark") || require_utils.getCSSVariable("--envive-colors-background-dark"),
44
+ [require_colorsConfig.ColorNames.BackgroundLight]: require_utils.getCSSVariable("--spiffy-colors-background-light") || require_utils.getCSSVariable("--envive-colors-background-light"),
45
+ [require_colorsConfig.ColorNames.BackgroundSaturated]: require_utils.getCSSVariable("--spiffy-colors-background-saturated") || require_utils.getCSSVariable("--envive-colors-background-saturated"),
46
+ [require_colorsConfig.ColorNames.BorderLight]: require_utils.getCSSVariable("--spiffy-colors-border-light") || require_utils.getCSSVariable("--envive-colors-border-light"),
47
+ [require_colorsConfig.ColorNames.BorderMedium]: require_utils.getCSSVariable("--spiffy-colors-border-medium") || require_utils.getCSSVariable("--envive-colors-border-medium"),
48
+ [require_colorsConfig.ColorNames.BorderDark]: require_utils.getCSSVariable("--spiffy-colors-border-dark") || require_utils.getCSSVariable("--envive-colors-border-dark"),
49
+ [require_colorsConfig.ColorNames.AccentPrimary]: require_utils.getCSSVariable("--spiffy-colors-accent-primary") || require_utils.getCSSVariable("--envive-colors-accent-primary"),
50
+ [require_colorsConfig.ColorNames.AccentSecondary]: require_utils.getCSSVariable("--spiffy-colors-accent-secondary") || require_utils.getCSSVariable("--envive-colors-accent-secondary")
51
+ };
52
+ };
53
+ const areColorMappingsEqual = (a, b) => {
54
+ for (const key in require_colorsConfig.ColorNames) if (Object.prototype.hasOwnProperty.call(require_colorsConfig.ColorNames, key)) {
55
+ const colorKey = require_colorsConfig.ColorNames[key];
56
+ if (a[colorKey] !== b[colorKey]) return false;
57
+ }
58
+ return true;
59
+ };
60
+ const useGetCurrentMerchantColors = (selectedMerchant) => {
61
+ const [currentColors, setCurrentColors] = (0, react.useState)(() => {
62
+ if (selectedMerchant === defaultMerchantTest.name) return standardColors;
63
+ return getSpiffyColors();
64
+ });
65
+ (0, react.useEffect)(() => {
66
+ if (selectedMerchant === defaultMerchantTest.name) {
67
+ setCurrentColors((prev) => {
68
+ if (areColorMappingsEqual(prev, standardColors)) return prev;
69
+ return standardColors;
70
+ });
71
+ return () => {};
72
+ }
73
+ const initialColors = getSpiffyColors();
74
+ let lastDetectedColors = initialColors;
75
+ let stableColorCount = 0;
76
+ const requiredStableReads = 2;
77
+ const updateColors = () => {
78
+ const colors = getSpiffyColors();
79
+ if (areColorMappingsEqual(lastDetectedColors, colors)) {
80
+ stableColorCount += 1;
81
+ if (stableColorCount >= requiredStableReads) setCurrentColors((prev) => {
82
+ if (areColorMappingsEqual(prev, colors)) return prev;
83
+ return colors;
84
+ });
85
+ } else {
86
+ lastDetectedColors = colors;
87
+ stableColorCount = 1;
88
+ if (!areColorMappingsEqual(initialColors, colors)) setCurrentColors((prev) => {
89
+ if (areColorMappingsEqual(prev, colors)) return prev;
90
+ return colors;
91
+ });
92
+ }
93
+ };
94
+ let timeout2;
95
+ let timeout3;
96
+ let timeout4;
97
+ let timeout5;
98
+ let intervalId;
99
+ let headObserver;
100
+ const timeout1 = setTimeout(() => {
101
+ updateColors();
102
+ timeout2 = setTimeout(updateColors, 100);
103
+ timeout3 = setTimeout(updateColors, 300);
104
+ timeout4 = setTimeout(updateColors, 600);
105
+ timeout5 = setTimeout(updateColors, 1e3);
106
+ }, 300);
107
+ const lateTimeout = setTimeout(updateColors, 1500);
108
+ const observer = new MutationObserver(() => {
109
+ requestAnimationFrame(() => {
110
+ setTimeout(updateColors, 10);
111
+ });
112
+ });
113
+ if (typeof document !== "undefined") {
114
+ observer.observe(document.head, {
115
+ childList: true,
116
+ subtree: true,
117
+ attributes: true,
118
+ attributeFilter: ["style"],
119
+ characterData: true
120
+ });
121
+ observer.observe(document.documentElement, {
122
+ attributes: true,
123
+ attributeFilter: ["style", "class"],
124
+ subtree: false
125
+ });
126
+ const observeStyleElements = () => {
127
+ document.querySelectorAll("style").forEach((style) => {
128
+ observer.observe(style, {
129
+ childList: true,
130
+ characterData: true,
131
+ subtree: true,
132
+ attributes: true
133
+ });
134
+ });
135
+ };
136
+ observeStyleElements();
137
+ headObserver = new MutationObserver(() => {
138
+ observeStyleElements();
139
+ updateColors();
140
+ });
141
+ headObserver.observe(document.head, {
142
+ childList: true,
143
+ subtree: false
144
+ });
145
+ intervalId = setInterval(() => {
146
+ updateColors();
147
+ }, 300);
148
+ }
149
+ return () => {
150
+ if (timeout1) clearTimeout(timeout1);
151
+ if (timeout2) clearTimeout(timeout2);
152
+ if (timeout3) clearTimeout(timeout3);
153
+ if (timeout4) clearTimeout(timeout4);
154
+ if (timeout5) clearTimeout(timeout5);
155
+ clearTimeout(lateTimeout);
156
+ if (intervalId) clearInterval(intervalId);
157
+ observer.disconnect();
158
+ if (headObserver) headObserver.disconnect();
159
+ };
160
+ }, [selectedMerchant]);
161
+ return currentColors;
162
+ };
163
+
164
+ //#endregion
165
+ exports.useGetCurrentMerchantColors = useGetCurrentMerchantColors;
@@ -0,0 +1,164 @@
1
+ import { ColorNames } from "../../components-v3/src/models/colorsConfig.js";
2
+ import { getCSSVariable } from "../../DesignTokens/components/utils.js";
3
+ import { useEffect, useState } from "react";
4
+
5
+ //#region src/components/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.ts
6
+ const defaultMerchantTest = {
7
+ devApiKey: "242fa4217b8b3db70e3a20f9740430afd87033d8f0b15e608ec8c42d5409094b",
8
+ domains: ["semantic-colors-test.com"],
9
+ name: "semantic-colors-test",
10
+ prodApiKey: "242fa4217b8b3db70e3a20f9740430afd87033d8f0b15e608ec8c42d5409094b"
11
+ };
12
+ const standardColors = {
13
+ [ColorNames.TextPrimary]: "#021414",
14
+ [ColorNames.TextSecondary]: "#666666",
15
+ [ColorNames.TextAccent]: "#478D87",
16
+ [ColorNames.TextLink]: "#042E2C",
17
+ [ColorNames.TextLight]: "#FFFFFF",
18
+ [ColorNames.BackgroundPrimary]: "#1F5F51",
19
+ [ColorNames.BackgroundSecondary]: "#F9F6EA",
20
+ [ColorNames.BackgroundSecondaryDark]: "#EEECDD",
21
+ [ColorNames.BackgroundTertiary]: "#EEECDD",
22
+ [ColorNames.BackgroundDark]: "#021414",
23
+ [ColorNames.BackgroundLight]: "#FFFFFF",
24
+ [ColorNames.BackgroundSaturated]: "#FFFFFF",
25
+ [ColorNames.BorderLight]: "#E6E7E7",
26
+ [ColorNames.BorderMedium]: "#B3B8B8",
27
+ [ColorNames.BorderDark]: "#021414",
28
+ [ColorNames.AccentPrimary]: "#1F5F51",
29
+ [ColorNames.AccentSecondary]: "#AE8659"
30
+ };
31
+ const getSpiffyColors = () => {
32
+ return {
33
+ [ColorNames.TextPrimary]: getCSSVariable("--spiffy-colors-text-primary") || getCSSVariable("--envive-colors-text-primary"),
34
+ [ColorNames.TextSecondary]: getCSSVariable("--spiffy-colors-text-secondary") || getCSSVariable("--envive-colors-text-secondary"),
35
+ [ColorNames.TextAccent]: getCSSVariable("--spiffy-colors-text-accent") || getCSSVariable("--envive-colors-text-accent"),
36
+ [ColorNames.TextLink]: getCSSVariable("--spiffy-colors-text-link") || getCSSVariable("--envive-colors-text-link"),
37
+ [ColorNames.TextLight]: getCSSVariable("--spiffy-colors-text-light") || getCSSVariable("--envive-colors-text-light"),
38
+ [ColorNames.BackgroundPrimary]: getCSSVariable("--spiffy-colors-background-primary") || getCSSVariable("--envive-colors-background-primary"),
39
+ [ColorNames.BackgroundSecondary]: getCSSVariable("--spiffy-colors-background-secondary") || getCSSVariable("--envive-colors-background-secondary"),
40
+ [ColorNames.BackgroundSecondaryDark]: getCSSVariable("--spiffy-colors-background-secondary-dark") || getCSSVariable("--envive-colors-background-secondary-dark"),
41
+ [ColorNames.BackgroundTertiary]: getCSSVariable("--spiffy-colors-background-tertiary") || getCSSVariable("--envive-colors-background-tertiary"),
42
+ [ColorNames.BackgroundDark]: getCSSVariable("--spiffy-colors-background-dark") || getCSSVariable("--envive-colors-background-dark"),
43
+ [ColorNames.BackgroundLight]: getCSSVariable("--spiffy-colors-background-light") || getCSSVariable("--envive-colors-background-light"),
44
+ [ColorNames.BackgroundSaturated]: getCSSVariable("--spiffy-colors-background-saturated") || getCSSVariable("--envive-colors-background-saturated"),
45
+ [ColorNames.BorderLight]: getCSSVariable("--spiffy-colors-border-light") || getCSSVariable("--envive-colors-border-light"),
46
+ [ColorNames.BorderMedium]: getCSSVariable("--spiffy-colors-border-medium") || getCSSVariable("--envive-colors-border-medium"),
47
+ [ColorNames.BorderDark]: getCSSVariable("--spiffy-colors-border-dark") || getCSSVariable("--envive-colors-border-dark"),
48
+ [ColorNames.AccentPrimary]: getCSSVariable("--spiffy-colors-accent-primary") || getCSSVariable("--envive-colors-accent-primary"),
49
+ [ColorNames.AccentSecondary]: getCSSVariable("--spiffy-colors-accent-secondary") || getCSSVariable("--envive-colors-accent-secondary")
50
+ };
51
+ };
52
+ const areColorMappingsEqual = (a, b) => {
53
+ for (const key in ColorNames) if (Object.prototype.hasOwnProperty.call(ColorNames, key)) {
54
+ const colorKey = ColorNames[key];
55
+ if (a[colorKey] !== b[colorKey]) return false;
56
+ }
57
+ return true;
58
+ };
59
+ const useGetCurrentMerchantColors = (selectedMerchant) => {
60
+ const [currentColors, setCurrentColors] = useState(() => {
61
+ if (selectedMerchant === defaultMerchantTest.name) return standardColors;
62
+ return getSpiffyColors();
63
+ });
64
+ useEffect(() => {
65
+ if (selectedMerchant === defaultMerchantTest.name) {
66
+ setCurrentColors((prev) => {
67
+ if (areColorMappingsEqual(prev, standardColors)) return prev;
68
+ return standardColors;
69
+ });
70
+ return () => {};
71
+ }
72
+ const initialColors = getSpiffyColors();
73
+ let lastDetectedColors = initialColors;
74
+ let stableColorCount = 0;
75
+ const requiredStableReads = 2;
76
+ const updateColors = () => {
77
+ const colors = getSpiffyColors();
78
+ if (areColorMappingsEqual(lastDetectedColors, colors)) {
79
+ stableColorCount += 1;
80
+ if (stableColorCount >= requiredStableReads) setCurrentColors((prev) => {
81
+ if (areColorMappingsEqual(prev, colors)) return prev;
82
+ return colors;
83
+ });
84
+ } else {
85
+ lastDetectedColors = colors;
86
+ stableColorCount = 1;
87
+ if (!areColorMappingsEqual(initialColors, colors)) setCurrentColors((prev) => {
88
+ if (areColorMappingsEqual(prev, colors)) return prev;
89
+ return colors;
90
+ });
91
+ }
92
+ };
93
+ let timeout2;
94
+ let timeout3;
95
+ let timeout4;
96
+ let timeout5;
97
+ let intervalId;
98
+ let headObserver;
99
+ const timeout1 = setTimeout(() => {
100
+ updateColors();
101
+ timeout2 = setTimeout(updateColors, 100);
102
+ timeout3 = setTimeout(updateColors, 300);
103
+ timeout4 = setTimeout(updateColors, 600);
104
+ timeout5 = setTimeout(updateColors, 1e3);
105
+ }, 300);
106
+ const lateTimeout = setTimeout(updateColors, 1500);
107
+ const observer = new MutationObserver(() => {
108
+ requestAnimationFrame(() => {
109
+ setTimeout(updateColors, 10);
110
+ });
111
+ });
112
+ if (typeof document !== "undefined") {
113
+ observer.observe(document.head, {
114
+ childList: true,
115
+ subtree: true,
116
+ attributes: true,
117
+ attributeFilter: ["style"],
118
+ characterData: true
119
+ });
120
+ observer.observe(document.documentElement, {
121
+ attributes: true,
122
+ attributeFilter: ["style", "class"],
123
+ subtree: false
124
+ });
125
+ const observeStyleElements = () => {
126
+ document.querySelectorAll("style").forEach((style) => {
127
+ observer.observe(style, {
128
+ childList: true,
129
+ characterData: true,
130
+ subtree: true,
131
+ attributes: true
132
+ });
133
+ });
134
+ };
135
+ observeStyleElements();
136
+ headObserver = new MutationObserver(() => {
137
+ observeStyleElements();
138
+ updateColors();
139
+ });
140
+ headObserver.observe(document.head, {
141
+ childList: true,
142
+ subtree: false
143
+ });
144
+ intervalId = setInterval(() => {
145
+ updateColors();
146
+ }, 300);
147
+ }
148
+ return () => {
149
+ if (timeout1) clearTimeout(timeout1);
150
+ if (timeout2) clearTimeout(timeout2);
151
+ if (timeout3) clearTimeout(timeout3);
152
+ if (timeout4) clearTimeout(timeout4);
153
+ if (timeout5) clearTimeout(timeout5);
154
+ clearTimeout(lateTimeout);
155
+ if (intervalId) clearInterval(intervalId);
156
+ observer.disconnect();
157
+ if (headObserver) headObserver.disconnect();
158
+ };
159
+ }, [selectedMerchant]);
160
+ return currentColors;
161
+ };
162
+
163
+ //#endregion
164
+ export { useGetCurrentMerchantColors };