@envive-ai/react-toolkit 0.1.0 → 0.1.2

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 (404) hide show
  1. package/LICENSE +2 -0
  2. package/dist/AppliedFiltersScrollbar-BlcyhZkZ.cjs +53 -0
  3. package/dist/AppliedFiltersScrollbar-DFGzRemu.js +44 -0
  4. package/dist/ButtonBase-C1rsL9gO.js +60 -0
  5. package/dist/ButtonBase-a8uj6c2f.cjs +69 -0
  6. package/dist/DynamicFiltersScrollbar-B2Rr1KnJ.cjs +41 -0
  7. package/dist/DynamicFiltersScrollbar-Dys6geP0.js +32 -0
  8. package/dist/Headline-L7w3BsBF.cjs +72 -0
  9. package/dist/Headline-ro_Nigw5.js +64 -0
  10. package/dist/ImageWithFallback-CfmkC58B.js +42 -0
  11. package/dist/ImageWithFallback-P3AjyL2Y.cjs +51 -0
  12. package/dist/ProductCard-Btg8tHGc.js +172 -0
  13. package/dist/ProductCard-CS6DZAwO.cjs +193 -0
  14. package/dist/ProductCardSkeleton-BPfp6IOp.js +38 -0
  15. package/dist/ProductCardSkeleton-BgvDlaty.cjs +46 -0
  16. package/dist/ProductGrid-B7QZfW-v.cjs +77 -0
  17. package/dist/ProductGrid-DB_Uq5F-.js +69 -0
  18. package/dist/SearchAutocomplete-C5FL82xC.js +51 -0
  19. package/dist/SearchAutocomplete-wr18dJ8L.cjs +62 -0
  20. package/dist/SearchFilter-D-2IdBKS.js +62 -0
  21. package/dist/SearchFilter-D0IzBlG5.cjs +70 -0
  22. package/dist/SearchFilterHeader-BQT0-ssS.js +37 -0
  23. package/dist/SearchFilterHeader-C3EklfoO.cjs +45 -0
  24. package/dist/SearchFilterItem-BodtWLoP.js +26 -0
  25. package/dist/SearchFilterItem-DmMkiqNC.cjs +34 -0
  26. package/dist/SearchInput-BrcAgcvI.js +89 -0
  27. package/dist/SearchInput-DSB9CwIq.cjs +106 -0
  28. package/dist/SparkleAnimation-BpLwrEqM.cjs +96 -0
  29. package/dist/SparkleAnimation-CXs58sFd.js +85 -0
  30. package/dist/Spinner-BZ-kTOpm.js +38 -0
  31. package/dist/Spinner-CfQ85Ajl.cjs +46 -0
  32. package/dist/Text-Bdv7F5-u.js +42 -0
  33. package/dist/Text-C04c4Z93.cjs +50 -0
  34. package/dist/TextInput-BO80ixsV.cjs +40 -0
  35. package/dist/TextInput-CEGWfdPC.js +31 -0
  36. package/dist/chunk-CUT6urMc.cjs +30 -0
  37. package/dist/colorsConfig-TCONYTQ7.cjs +38 -0
  38. package/dist/colorsConfig-l0ODUVhu.js +26 -0
  39. package/dist/common/ButtonBase/ButtonBase.cjs +5 -0
  40. package/dist/common/ButtonBase/ButtonBase.d.cts +35 -0
  41. package/dist/common/ButtonBase/ButtonBase.d.ts +35 -0
  42. package/dist/common/ButtonBase/ButtonBase.js +5 -0
  43. package/dist/common/Headline/Headline.cjs +4 -0
  44. package/dist/common/Headline/Headline.d.cts +21 -0
  45. package/dist/common/Headline/Headline.d.ts +21 -0
  46. package/dist/common/Headline/Headline.js +4 -0
  47. package/dist/common/ImageWithFallback/ImageWithFallback.cjs +3 -0
  48. package/dist/common/ImageWithFallback/ImageWithFallback.d.cts +26 -0
  49. package/dist/common/ImageWithFallback/ImageWithFallback.d.ts +26 -0
  50. package/dist/common/ImageWithFallback/ImageWithFallback.js +3 -0
  51. package/dist/common/ProductCard/ProductCard.cjs +11 -0
  52. package/dist/common/ProductCard/ProductCard.d.cts +91 -0
  53. package/dist/common/ProductCard/ProductCard.d.ts +91 -0
  54. package/dist/common/ProductCard/ProductCard.js +9 -0
  55. package/dist/common/ProductCard/ProductCardSkeleton.cjs +4 -0
  56. package/dist/common/ProductCard/ProductCardSkeleton.d.cts +12 -0
  57. package/dist/common/ProductCard/ProductCardSkeleton.d.ts +12 -0
  58. package/dist/common/ProductCard/ProductCardSkeleton.js +4 -0
  59. package/dist/common/ProductGrid/ProductGrid.cjs +11 -0
  60. package/dist/common/ProductGrid/ProductGrid.d.cts +26 -0
  61. package/dist/common/ProductGrid/ProductGrid.d.ts +26 -0
  62. package/dist/common/ProductGrid/ProductGrid.js +11 -0
  63. package/dist/common/SparkleAnimation/SparkleAnimation.cjs +3 -0
  64. package/dist/common/SparkleAnimation/SparkleAnimation.d.cts +15 -0
  65. package/dist/common/SparkleAnimation/SparkleAnimation.d.ts +15 -0
  66. package/dist/common/SparkleAnimation/SparkleAnimation.js +3 -0
  67. package/dist/common/Spinner/Spinner.cjs +3 -0
  68. package/dist/common/Spinner/Spinner.d.cts +11 -0
  69. package/dist/common/Spinner/Spinner.d.ts +11 -0
  70. package/dist/common/Spinner/Spinner.js +3 -0
  71. package/dist/common/SuggestionButton/SuggestionButton.cjs +188 -0
  72. package/dist/common/SuggestionButton/SuggestionButton.d.cts +35 -0
  73. package/dist/common/SuggestionButton/SuggestionButton.d.ts +35 -0
  74. package/dist/common/SuggestionButton/SuggestionButton.js +180 -0
  75. package/dist/common/Text/Text.cjs +4 -0
  76. package/dist/common/Text/Text.d.cts +28 -0
  77. package/dist/common/Text/Text.d.ts +28 -0
  78. package/dist/common/Text/Text.js +4 -0
  79. package/dist/common/TextInput/TextInput.cjs +4 -0
  80. package/dist/common/TextInput/TextInput.d.cts +98 -0
  81. package/dist/common/TextInput/TextInput.d.ts +98 -0
  82. package/dist/common/TextInput/TextInput.js +4 -0
  83. package/dist/productCardVariants-C_QIZ-KF.js +45 -0
  84. package/dist/productCardVariants-Dd-wrJKP.cjs +69 -0
  85. package/dist/productGridVariants-CxCKx5Fq.js +20 -0
  86. package/dist/productGridVariants-DVzvjK9i.cjs +26 -0
  87. package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.cjs +5 -0
  88. package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.d.cts +22 -0
  89. package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts +22 -0
  90. package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.js +5 -0
  91. package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.cjs +5 -0
  92. package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.d.cts +28 -0
  93. package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts +28 -0
  94. package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.js +5 -0
  95. package/dist/search/SearchFilter/SearchFilter.cjs +7 -0
  96. package/dist/search/SearchFilter/SearchFilter.d.cts +18 -0
  97. package/dist/search/SearchFilter/SearchFilter.d.ts +18 -0
  98. package/dist/search/SearchFilter/SearchFilter.js +7 -0
  99. package/dist/search/SearchFilter/SearchFilterHeader.cjs +5 -0
  100. package/dist/search/SearchFilter/SearchFilterHeader.d.cts +12 -0
  101. package/dist/search/SearchFilter/SearchFilterHeader.d.ts +12 -0
  102. package/dist/search/SearchFilter/SearchFilterHeader.js +5 -0
  103. package/dist/search/SearchFilter/SearchFilterItem.cjs +5 -0
  104. package/dist/search/SearchFilter/SearchFilterItem.d.cts +13 -0
  105. package/dist/search/SearchFilter/SearchFilterItem.d.ts +13 -0
  106. package/dist/search/SearchFilter/SearchFilterItem.js +5 -0
  107. package/dist/search/SearchInput/SearchInput.cjs +6 -0
  108. package/dist/search/SearchInput/SearchInput.d.cts +20 -0
  109. package/dist/search/SearchInput/SearchInput.d.ts +20 -0
  110. package/dist/search/SearchInput/SearchInput.js +6 -0
  111. package/dist/search/SearchInputAutocomplete/SearchAutocomplete.cjs +3 -0
  112. package/dist/search/SearchInputAutocomplete/SearchAutocomplete.d.cts +13 -0
  113. package/dist/search/SearchInputAutocomplete/SearchAutocomplete.d.ts +13 -0
  114. package/dist/search/SearchInputAutocomplete/SearchAutocomplete.js +3 -0
  115. package/dist/search/SearchInputForm/SearchInputForm.cjs +38 -0
  116. package/dist/search/SearchInputForm/SearchInputForm.d.cts +32 -0
  117. package/dist/search/SearchInputForm/SearchInputForm.d.ts +32 -0
  118. package/dist/search/SearchInputForm/SearchInputForm.js +36 -0
  119. package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.cjs +52 -0
  120. package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.d.cts +28 -0
  121. package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +28 -0
  122. package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.js +49 -0
  123. package/dist/search/SearchResultsStates/NoSearchResultsFound.cjs +30 -0
  124. package/dist/search/SearchResultsStates/NoSearchResultsFound.d.cts +17 -0
  125. package/dist/search/SearchResultsStates/NoSearchResultsFound.d.ts +17 -0
  126. package/dist/search/SearchResultsStates/NoSearchResultsFound.js +26 -0
  127. package/dist/search/SearchResultsStates/SearchResultsGrid.cjs +66 -0
  128. package/dist/search/SearchResultsStates/SearchResultsGrid.d.cts +41 -0
  129. package/dist/search/SearchResultsStates/SearchResultsGrid.d.ts +41 -0
  130. package/dist/search/SearchResultsStates/SearchResultsGrid.js +62 -0
  131. package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.cjs +52 -0
  132. package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.d.cts +15 -0
  133. package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.d.ts +15 -0
  134. package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.js +49 -0
  135. package/dist/searchFilterSidebarVariants-GfFbQzGf.cjs +39 -0
  136. package/dist/searchFilterSidebarVariants-lJVVZT_2.js +34 -0
  137. package/dist/textVariantClasses-5t3OricK.js +101 -0
  138. package/dist/textVariantClasses-Bhf4VY5z.cjs +125 -0
  139. package/dist/types-53zIialA.d.ts +35 -0
  140. package/dist/types-B4BGZSlV.d.cts +4 -0
  141. package/dist/types-BQNqA5xL.d.ts +46 -0
  142. package/dist/types-BRLWwGMI.d.ts +4 -0
  143. package/dist/types-CImLkcNh.d.cts +46 -0
  144. package/dist/types-Cph97xkm.d.ts +6 -0
  145. package/dist/types-CpiJO5UH.d.ts +4 -0
  146. package/dist/types-DFetqNL2.d.ts +8 -0
  147. package/dist/types-DaSkJnT_.d.cts +8 -0
  148. package/dist/types-Dy4_w6Cf.d.cts +4 -0
  149. package/dist/types-TYhhwWZw.d.cts +6 -0
  150. package/dist/types-aa4flfRE.d.cts +35 -0
  151. package/package.json +8 -5
  152. package/src/atoms/search/types.ts +5 -0
  153. package/src/components/common/ButtonBase/ButtonBase.tsx +70 -0
  154. package/src/components/common/ButtonBase/types.ts +26 -0
  155. package/src/components/common/Headline/Headline.tsx +81 -0
  156. package/src/components/common/ImageWithFallback/ImageWithFallback.tsx +66 -0
  157. package/src/components/common/ProductCard/ProductCard.tsx +305 -0
  158. package/src/components/common/ProductCard/ProductCardSkeleton.tsx +83 -0
  159. package/src/components/common/ProductCard/productCardVariants.ts +63 -0
  160. package/src/components/common/ProductCard/types.ts +49 -0
  161. package/src/components/common/ProductGrid/ProductGrid.tsx +73 -0
  162. package/src/components/common/ProductGrid/productGridVariants.ts +31 -0
  163. package/src/components/common/SparkleAnimation/SparkleAnimation.tsx +105 -0
  164. package/src/components/common/SparkleAnimation/types.ts +6 -0
  165. package/src/components/common/Spinner/Spinner.tsx +30 -0
  166. package/src/components/common/SuggestionButton/SuggestionButton.tsx +258 -0
  167. package/src/components/common/SuggestionButton/types.ts +14 -0
  168. package/src/components/common/Text/Text.tsx +58 -0
  169. package/src/components/common/Text/textVariantClasses.ts +106 -0
  170. package/src/components/common/Text/types.ts +23 -0
  171. package/src/components/common/TextInput/TextInput.tsx +34 -0
  172. package/src/components/models/colorsConfig.ts +28 -0
  173. package/src/components/search/FilterScrollbar/AppliedFiltersScrollbar.tsx +70 -0
  174. package/src/components/search/FilterScrollbar/DynamicFiltersScrollbar.tsx +52 -0
  175. package/src/components/search/SearchFilter/SearchFilter.tsx +84 -0
  176. package/src/components/search/SearchFilter/SearchFilterHeader.tsx +42 -0
  177. package/src/components/search/SearchFilter/SearchFilterItem.tsx +42 -0
  178. package/src/components/search/SearchFilter/types.ts +48 -0
  179. package/src/components/search/SearchInput/SearchInput.tsx +135 -0
  180. package/src/components/search/SearchInput/searchInputVariants.ts +27 -0
  181. package/src/components/search/SearchInputAutocomplete/SearchAutocomplete.tsx +62 -0
  182. package/src/components/search/SearchInputForm/SearchInputForm.tsx +66 -0
  183. package/src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.tsx +82 -0
  184. package/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +45 -0
  185. package/{dist/packages/components/src/components/search/SearchResultsFilterSidebar/types.d.ts → src/components/search/SearchResultsFilterSidebar/types.ts} +1 -1
  186. package/src/components/search/SearchResultsStates/NoSearchResultsFound.tsx +41 -0
  187. package/src/components/search/SearchResultsStates/SearchResultsGrid.tsx +105 -0
  188. package/src/components/search/SearchResultsStates/SearchResultsLoadingGrid.tsx +50 -0
  189. package/src/components/search/types.ts +5 -0
  190. package/{dist/packages/components/src/components/test/types.d.ts → src/components/test/types.ts} +1 -1
  191. package/src/config/chatElementDisplayLocation.ts +22 -0
  192. package/src/logging/logger.ts +21 -0
  193. package/src/types/external.ts +24 -0
  194. package/{dist/packages/components/src/util/camelCase.d.ts → src/util/camelCase.ts} +33 -11
  195. package/src/util/camelCasedPropertiesDeep.ts +81 -0
  196. package/src/util/formatPrice.ts +14 -0
  197. package/src/util/internal.ts +95 -0
  198. package/{dist/src/util/primitive.d.ts → src/util/primitive.ts} +2 -0
  199. package/src/util/splitWords.ts +72 -0
  200. package/{dist/src/util/trim.d.ts → src/util/trim.ts} +5 -1
  201. package/dist/packages/components/src/atoms/search/types.d.ts +0 -5
  202. package/dist/packages/components/src/atoms/search/types.js +0 -1
  203. package/dist/packages/components/src/components/common/ButtonBase/ButtonBase.d.ts +0 -2
  204. package/dist/packages/components/src/components/common/ButtonBase/ButtonBase.js +0 -41
  205. package/dist/packages/components/src/components/common/ButtonBase/types.d.ts +0 -24
  206. package/dist/packages/components/src/components/common/ButtonBase/types.js +0 -6
  207. package/dist/packages/components/src/components/common/Headline/Headline.d.ts +0 -10
  208. package/dist/packages/components/src/components/common/Headline/Headline.js +0 -34
  209. package/dist/packages/components/src/components/common/ImageWithFallback/ImageWithFallback.d.ts +0 -12
  210. package/dist/packages/components/src/components/common/ImageWithFallback/ImageWithFallback.js +0 -26
  211. package/dist/packages/components/src/components/common/ProductCard/ProductCard.d.ts +0 -39
  212. package/dist/packages/components/src/components/common/ProductCard/ProductCard.js +0 -83
  213. package/dist/packages/components/src/components/common/ProductCard/ProductCardSkeleton.d.ts +0 -9
  214. package/dist/packages/components/src/components/common/ProductCard/ProductCardSkeleton.js +0 -15
  215. package/dist/packages/components/src/components/common/ProductCard/productCardVariants.d.ts +0 -8
  216. package/dist/packages/components/src/components/common/ProductCard/productCardVariants.js +0 -50
  217. package/dist/packages/components/src/components/common/ProductCard/types.d.ts +0 -39
  218. package/dist/packages/components/src/components/common/ProductCard/types.js +0 -10
  219. package/dist/packages/components/src/components/common/ProductGrid/ProductGrid.d.ts +0 -14
  220. package/dist/packages/components/src/components/common/ProductGrid/ProductGrid.js +0 -13
  221. package/dist/packages/components/src/components/common/ProductGrid/productGridVariants.d.ts +0 -10
  222. package/dist/packages/components/src/components/common/ProductGrid/productGridVariants.js +0 -16
  223. package/dist/packages/components/src/components/common/SparkleAnimation/SparkleAnimation.d.ts +0 -7
  224. package/dist/packages/components/src/components/common/SparkleAnimation/SparkleAnimation.js +0 -40
  225. package/dist/packages/components/src/components/common/SparkleAnimation/types.d.ts +0 -6
  226. package/dist/packages/components/src/components/common/SparkleAnimation/types.js +0 -7
  227. package/dist/packages/components/src/components/common/Spinner/Spinner.d.ts +0 -5
  228. package/dist/packages/components/src/components/common/Spinner/Spinner.js +0 -16
  229. package/dist/packages/components/src/components/common/SuggestionButton/SuggestionButton.d.ts +0 -18
  230. package/dist/packages/components/src/components/common/SuggestionButton/SuggestionButton.js +0 -210
  231. package/dist/packages/components/src/components/common/SuggestionButton/types.d.ts +0 -1
  232. package/dist/packages/components/src/components/common/SuggestionButton/types.js +0 -1
  233. package/dist/packages/components/src/components/common/Text/Text.d.ts +0 -12
  234. package/dist/packages/components/src/components/common/Text/Text.js +0 -26
  235. package/dist/packages/components/src/components/common/Text/textVariantClasses.d.ts +0 -171
  236. package/dist/packages/components/src/components/common/Text/textVariantClasses.js +0 -103
  237. package/dist/packages/components/src/components/common/Text/types.d.ts +0 -16
  238. package/dist/packages/components/src/components/common/Text/types.js +0 -6
  239. package/dist/packages/components/src/components/common/TextInput/TextInput.d.ts +0 -8
  240. package/dist/packages/components/src/components/common/TextInput/TextInput.js +0 -25
  241. package/dist/packages/components/src/components/models/colorsConfig.d.ts +0 -26
  242. package/dist/packages/components/src/components/models/colorsConfig.js +0 -23
  243. package/dist/packages/components/src/components/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts +0 -11
  244. package/dist/packages/components/src/components/search/FilterScrollbar/AppliedFiltersScrollbar.js +0 -18
  245. package/dist/packages/components/src/components/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts +0 -15
  246. package/dist/packages/components/src/components/search/FilterScrollbar/DynamicFiltersScrollbar.js +0 -15
  247. package/dist/packages/components/src/components/search/SearchFilter/SearchFilter.d.ts +0 -2
  248. package/dist/packages/components/src/components/search/SearchFilter/SearchFilter.js +0 -24
  249. package/dist/packages/components/src/components/search/SearchFilter/SearchFilterHeader.d.ts +0 -2
  250. package/dist/packages/components/src/components/search/SearchFilter/SearchFilterHeader.js +0 -9
  251. package/dist/packages/components/src/components/search/SearchFilter/SearchFilterItem.d.ts +0 -2
  252. package/dist/packages/components/src/components/search/SearchFilter/SearchFilterItem.js +0 -13
  253. package/dist/packages/components/src/components/search/SearchFilter/types.d.ts +0 -42
  254. package/dist/packages/components/src/components/search/SearchFilter/types.js +0 -1
  255. package/dist/packages/components/src/components/search/SearchInput/SearchInput.d.ts +0 -16
  256. package/dist/packages/components/src/components/search/SearchInput/SearchInput.js +0 -38
  257. package/dist/packages/components/src/components/search/SearchInput/searchInputVariants.d.ts +0 -13
  258. package/dist/packages/components/src/components/search/SearchInput/searchInputVariants.js +0 -12
  259. package/dist/packages/components/src/components/search/SearchInputAutocomplete/SearchAutocomplete.d.ts +0 -10
  260. package/dist/packages/components/src/components/search/SearchInputAutocomplete/SearchAutocomplete.js +0 -14
  261. package/dist/packages/components/src/components/search/SearchInputForm/SearchInputForm.d.ts +0 -16
  262. package/dist/packages/components/src/components/search/SearchInputForm/SearchInputForm.js +0 -13
  263. package/dist/packages/components/src/components/search/SearchInputForm/types.js +0 -1
  264. package/dist/packages/components/src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +0 -14
  265. package/dist/packages/components/src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.js +0 -15
  266. package/dist/packages/components/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.d.ts +0 -16
  267. package/dist/packages/components/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.js +0 -29
  268. package/dist/packages/components/src/components/search/SearchResultsFilterSidebar/types.js +0 -1
  269. package/dist/packages/components/src/components/search/SearchResultsStates/NoSearchResultsFound.d.ts +0 -8
  270. package/dist/packages/components/src/components/search/SearchResultsStates/NoSearchResultsFound.js +0 -10
  271. package/dist/packages/components/src/components/search/SearchResultsStates/SearchResultsGrid.d.ts +0 -24
  272. package/dist/packages/components/src/components/search/SearchResultsStates/SearchResultsGrid.js +0 -19
  273. package/dist/packages/components/src/components/search/SearchResultsStates/SearchResultsLoadingGrid.d.ts +0 -6
  274. package/dist/packages/components/src/components/search/SearchResultsStates/SearchResultsLoadingGrid.js +0 -10
  275. package/dist/packages/components/src/components/search/types.d.ts +0 -5
  276. package/dist/packages/components/src/components/search/types.js +0 -6
  277. package/dist/packages/components/src/components/test/types.js +0 -1
  278. package/dist/packages/components/src/config/chatElementDisplayLocation.d.ts +0 -21
  279. package/dist/packages/components/src/config/chatElementDisplayLocation.js +0 -23
  280. package/dist/packages/components/src/index.d.ts +0 -45
  281. package/dist/packages/components/src/index.js +0 -49
  282. package/dist/packages/components/src/logging/logger.d.ts +0 -7
  283. package/dist/packages/components/src/logging/logger.js +0 -16
  284. package/dist/packages/components/src/types/external.d.ts +0 -21
  285. package/dist/packages/components/src/types/external.js +0 -5
  286. package/dist/packages/components/src/util/camelCase.js +0 -2
  287. package/dist/packages/components/src/util/camelCasedPropertiesDeep.d.ts +0 -53
  288. package/dist/packages/components/src/util/camelCasedPropertiesDeep.js +0 -1
  289. package/dist/packages/components/src/util/formatPrice.d.ts +0 -1
  290. package/dist/packages/components/src/util/formatPrice.js +0 -11
  291. package/dist/packages/components/src/util/internal.d.ts +0 -27
  292. package/dist/packages/components/src/util/internal.js +0 -4
  293. package/dist/packages/components/src/util/primitive.d.ts +0 -6
  294. package/dist/packages/components/src/util/primitive.js +0 -2
  295. package/dist/packages/components/src/util/splitWords.d.ts +0 -55
  296. package/dist/packages/components/src/util/splitWords.js +0 -2
  297. package/dist/packages/components/src/util/trim.d.ts +0 -24
  298. package/dist/packages/components/src/util/trim.js +0 -2
  299. package/dist/packages/components/src/util/unknownArray.js +0 -1
  300. package/dist/src/atoms/search/types.d.ts +0 -5
  301. package/dist/src/atoms/search/types.js +0 -1
  302. package/dist/src/components/common/ButtonBase/ButtonBase.d.ts +0 -2
  303. package/dist/src/components/common/ButtonBase/ButtonBase.js +0 -41
  304. package/dist/src/components/common/ButtonBase/types.d.ts +0 -24
  305. package/dist/src/components/common/ButtonBase/types.js +0 -6
  306. package/dist/src/components/common/Headline/Headline.d.ts +0 -10
  307. package/dist/src/components/common/Headline/Headline.js +0 -34
  308. package/dist/src/components/common/ImageWithFallback/ImageWithFallback.d.ts +0 -12
  309. package/dist/src/components/common/ImageWithFallback/ImageWithFallback.js +0 -26
  310. package/dist/src/components/common/ProductCard/ProductCard.d.ts +0 -39
  311. package/dist/src/components/common/ProductCard/ProductCard.js +0 -84
  312. package/dist/src/components/common/ProductCard/ProductCardSkeleton.d.ts +0 -9
  313. package/dist/src/components/common/ProductCard/ProductCardSkeleton.js +0 -15
  314. package/dist/src/components/common/ProductCard/productCardVariants.d.ts +0 -8
  315. package/dist/src/components/common/ProductCard/productCardVariants.js +0 -50
  316. package/dist/src/components/common/ProductCard/types.d.ts +0 -39
  317. package/dist/src/components/common/ProductCard/types.js +0 -10
  318. package/dist/src/components/common/ProductGrid/ProductGrid.d.ts +0 -14
  319. package/dist/src/components/common/ProductGrid/ProductGrid.js +0 -13
  320. package/dist/src/components/common/ProductGrid/productGridVariants.d.ts +0 -10
  321. package/dist/src/components/common/ProductGrid/productGridVariants.js +0 -16
  322. package/dist/src/components/common/SparkleAnimation/SparkleAnimation.d.ts +0 -7
  323. package/dist/src/components/common/SparkleAnimation/SparkleAnimation.js +0 -40
  324. package/dist/src/components/common/SparkleAnimation/types.d.ts +0 -6
  325. package/dist/src/components/common/SparkleAnimation/types.js +0 -7
  326. package/dist/src/components/common/Spinner/Spinner.d.ts +0 -5
  327. package/dist/src/components/common/Spinner/Spinner.js +0 -16
  328. package/dist/src/components/common/SuggestionButton/SuggestionButton.d.ts +0 -18
  329. package/dist/src/components/common/SuggestionButton/SuggestionButton.js +0 -210
  330. package/dist/src/components/common/SuggestionButton/types.d.ts +0 -1
  331. package/dist/src/components/common/SuggestionButton/types.js +0 -1
  332. package/dist/src/components/common/Text/Text.d.ts +0 -12
  333. package/dist/src/components/common/Text/Text.js +0 -26
  334. package/dist/src/components/common/Text/textVariantClasses.d.ts +0 -171
  335. package/dist/src/components/common/Text/textVariantClasses.js +0 -103
  336. package/dist/src/components/common/Text/types.d.ts +0 -16
  337. package/dist/src/components/common/Text/types.js +0 -6
  338. package/dist/src/components/common/TextInput/TextInput.d.ts +0 -8
  339. package/dist/src/components/common/TextInput/TextInput.js +0 -25
  340. package/dist/src/components/models/colorsConfig.d.ts +0 -26
  341. package/dist/src/components/models/colorsConfig.js +0 -23
  342. package/dist/src/components/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts +0 -11
  343. package/dist/src/components/search/FilterScrollbar/AppliedFiltersScrollbar.js +0 -18
  344. package/dist/src/components/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts +0 -15
  345. package/dist/src/components/search/FilterScrollbar/DynamicFiltersScrollbar.js +0 -15
  346. package/dist/src/components/search/SearchFilter/SearchFilter.d.ts +0 -2
  347. package/dist/src/components/search/SearchFilter/SearchFilter.js +0 -24
  348. package/dist/src/components/search/SearchFilter/SearchFilterHeader.d.ts +0 -2
  349. package/dist/src/components/search/SearchFilter/SearchFilterHeader.js +0 -9
  350. package/dist/src/components/search/SearchFilter/SearchFilterItem.d.ts +0 -2
  351. package/dist/src/components/search/SearchFilter/SearchFilterItem.js +0 -13
  352. package/dist/src/components/search/SearchFilter/types.d.ts +0 -42
  353. package/dist/src/components/search/SearchFilter/types.js +0 -1
  354. package/dist/src/components/search/SearchInput/SearchInput.d.ts +0 -16
  355. package/dist/src/components/search/SearchInput/SearchInput.js +0 -38
  356. package/dist/src/components/search/SearchInput/searchInputVariants.d.ts +0 -13
  357. package/dist/src/components/search/SearchInput/searchInputVariants.js +0 -12
  358. package/dist/src/components/search/SearchInputAutocomplete/SearchAutocomplete.d.ts +0 -10
  359. package/dist/src/components/search/SearchInputAutocomplete/SearchAutocomplete.js +0 -14
  360. package/dist/src/components/search/SearchInputForm/SearchInputForm.d.ts +0 -16
  361. package/dist/src/components/search/SearchInputForm/SearchInputForm.js +0 -13
  362. package/dist/src/components/search/SearchInputForm/types.d.ts +0 -1
  363. package/dist/src/components/search/SearchInputForm/types.js +0 -1
  364. package/dist/src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +0 -14
  365. package/dist/src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.js +0 -15
  366. package/dist/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.d.ts +0 -16
  367. package/dist/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.js +0 -29
  368. package/dist/src/components/search/SearchResultsFilterSidebar/types.d.ts +0 -2
  369. package/dist/src/components/search/SearchResultsFilterSidebar/types.js +0 -1
  370. package/dist/src/components/search/SearchResultsStates/NoSearchResultsFound.d.ts +0 -8
  371. package/dist/src/components/search/SearchResultsStates/NoSearchResultsFound.js +0 -10
  372. package/dist/src/components/search/SearchResultsStates/SearchResultsGrid.d.ts +0 -24
  373. package/dist/src/components/search/SearchResultsStates/SearchResultsGrid.js +0 -19
  374. package/dist/src/components/search/SearchResultsStates/SearchResultsLoadingGrid.d.ts +0 -6
  375. package/dist/src/components/search/SearchResultsStates/SearchResultsLoadingGrid.js +0 -10
  376. package/dist/src/components/search/types.d.ts +0 -5
  377. package/dist/src/components/search/types.js +0 -6
  378. package/dist/src/components/test/types.d.ts +0 -3
  379. package/dist/src/components/test/types.js +0 -1
  380. package/dist/src/config/chatElementDisplayLocation.d.ts +0 -21
  381. package/dist/src/config/chatElementDisplayLocation.js +0 -23
  382. package/dist/src/index.d.ts +0 -45
  383. package/dist/src/index.js +0 -49
  384. package/dist/src/logging/logger.d.ts +0 -7
  385. package/dist/src/logging/logger.js +0 -16
  386. package/dist/src/types/external.d.ts +0 -21
  387. package/dist/src/types/external.js +0 -5
  388. package/dist/src/util/camelCase.d.ts +0 -65
  389. package/dist/src/util/camelCase.js +0 -2
  390. package/dist/src/util/camelCasedPropertiesDeep.d.ts +0 -53
  391. package/dist/src/util/camelCasedPropertiesDeep.js +0 -1
  392. package/dist/src/util/formatPrice.d.ts +0 -1
  393. package/dist/src/util/formatPrice.js +0 -11
  394. package/dist/src/util/internal.d.ts +0 -27
  395. package/dist/src/util/internal.js +0 -4
  396. package/dist/src/util/primitive.js +0 -2
  397. package/dist/src/util/splitWords.d.ts +0 -55
  398. package/dist/src/util/splitWords.js +0 -2
  399. package/dist/src/util/trim.js +0 -2
  400. package/dist/src/util/unknownArray.d.ts +0 -25
  401. package/dist/src/util/unknownArray.js +0 -1
  402. package/dist/tsconfig.tsbuildinfo +0 -1
  403. /package/{dist/packages/components/src/components/search/SearchInputForm/types.d.ts → src/components/search/SearchInputForm/types.ts} +0 -0
  404. /package/{dist/packages/components/src/util/unknownArray.d.ts → src/util/unknownArray.ts} +0 -0
@@ -0,0 +1,85 @@
1
+ import classNames from "classnames";
2
+ import { useEffect, useState } from "react";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { motion } from "framer-motion";
5
+ import FourPointStar from "@envive-ai/react-icons/src/FourPointStar";
6
+
7
+ //#region src/components/common/SparkleAnimation/types.ts
8
+ let SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
9
+ SparkleAnimationOverride$1["CONTAINER"] = "spiffy-sparkle-animation-container";
10
+ SparkleAnimationOverride$1["STAR_ONE_CONTAINER"] = "spiffy-sparkle-animation-star-one-container";
11
+ SparkleAnimationOverride$1["STAR_TWO_CONTAINER"] = "spiffy-sparkle-animation-star-two-container";
12
+ SparkleAnimationOverride$1["STAR_THREE_CONTAINER"] = "spiffy-sparkle-animation-star-three-container";
13
+ return SparkleAnimationOverride$1;
14
+ }({});
15
+
16
+ //#endregion
17
+ //#region src/components/common/SparkleAnimation/SparkleAnimation.tsx
18
+ const ANIMATION_CYCLE_TIME = 1e3;
19
+ const STAR_DELAY_OFFSET = 250;
20
+ const SparkleAnimation = ({ color, className, animate = true }) => {
21
+ const [mainStarScale, setMainStarScale] = useState(animate ? 0 : 1);
22
+ const [smallStar1Scale, setSmallStar1Scale] = useState(animate ? 0 : 1);
23
+ const [smallStar2Scale, setSmallStar2Scale] = useState(animate ? 0 : 1);
24
+ const containerClasses = classNames(SparkleAnimationOverride.CONTAINER, "spiffy-tw-w-6 spiffy-tw-h-6 spiffy-tw-relative", className);
25
+ useEffect(() => {
26
+ if (!animate) {
27
+ setMainStarScale(1);
28
+ setSmallStar1Scale(1);
29
+ setSmallStar2Scale(1);
30
+ return;
31
+ }
32
+ }, [animate]);
33
+ useEffect(() => {
34
+ if (!animate) return;
35
+ const newScale = mainStarScale === 1 ? 0 : 1;
36
+ setTimeout(() => setMainStarScale(newScale), ANIMATION_CYCLE_TIME);
37
+ setTimeout(() => setSmallStar1Scale(newScale), ANIMATION_CYCLE_TIME + STAR_DELAY_OFFSET);
38
+ setTimeout(() => setSmallStar2Scale(newScale), ANIMATION_CYCLE_TIME + 2 * STAR_DELAY_OFFSET);
39
+ }, [mainStarScale, animate]);
40
+ const starTransition = {
41
+ duration: .3,
42
+ ease: "easeOut"
43
+ };
44
+ return /* @__PURE__ */ jsxs("div", {
45
+ className: containerClasses,
46
+ children: [
47
+ /* @__PURE__ */ jsx("div", {
48
+ className: classNames(SparkleAnimationOverride.STAR_ONE_CONTAINER, "spiffy-tw-absolute -spiffy-tw-top-[2px] spiffy-tw-left-0"),
49
+ children: /* @__PURE__ */ jsx(motion.div, {
50
+ animate: { scale: mainStarScale },
51
+ transition: starTransition,
52
+ children: /* @__PURE__ */ jsx(FourPointStar, {
53
+ fill: color,
54
+ className: "spiffy-tw-w-4 spiffy-tw-h-4 spiffy-tw-inline-block"
55
+ })
56
+ })
57
+ }),
58
+ /* @__PURE__ */ jsx("div", {
59
+ className: classNames(SparkleAnimationOverride.STAR_TWO_CONTAINER, "spiffy-tw-absolute -spiffy-tw-top-[7px] spiffy-tw-left-[10px]"),
60
+ children: /* @__PURE__ */ jsx(motion.div, {
61
+ animate: { scale: smallStar1Scale },
62
+ transition: starTransition,
63
+ children: /* @__PURE__ */ jsx(FourPointStar, {
64
+ fill: color,
65
+ className: "spiffy-tw-w-2 spiffy-tw-h-2 spiffy-tw-inline-block"
66
+ })
67
+ })
68
+ }),
69
+ /* @__PURE__ */ jsx("div", {
70
+ className: classNames(SparkleAnimationOverride.STAR_THREE_CONTAINER, "spiffy-tw-absolute spiffy-tw-top-[1px] spiffy-tw-left-[12px]"),
71
+ children: /* @__PURE__ */ jsx(motion.div, {
72
+ animate: { scale: smallStar2Scale },
73
+ transition: starTransition,
74
+ children: /* @__PURE__ */ jsx(FourPointStar, {
75
+ fill: color,
76
+ className: "spiffy-tw-w-2 spiffy-tw-h-2 spiffy-tw-inline-block"
77
+ })
78
+ })
79
+ })
80
+ ]
81
+ });
82
+ };
83
+
84
+ //#endregion
85
+ export { SparkleAnimation };
@@ -0,0 +1,38 @@
1
+ import classNames from "classnames";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+
4
+ //#region src/components/common/Spinner/Spinner.tsx
5
+ const Spinner = ({ className }) => {
6
+ const svgClassnames = classNames({
7
+ "spiffy-tw-w-4": true,
8
+ "spiffy-tw-h-4": true,
9
+ "spiffy-tw-text-gray-200": true,
10
+ "spiffy-tw-animate-spin": true,
11
+ "spiffy-tw-dark:text-gray-600": true,
12
+ "spiffy-tw-fill-black": true
13
+ }, className);
14
+ const spanClassnames = classNames({ "spiffy-tw-sr-only": true });
15
+ return /* @__PURE__ */ jsxs("div", {
16
+ role: "status",
17
+ children: [/* @__PURE__ */ jsxs("svg", {
18
+ "aria-hidden": "true",
19
+ className: svgClassnames,
20
+ viewBox: "0 0 100 101",
21
+ fill: "none",
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ children: [/* @__PURE__ */ jsx("path", {
24
+ d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
25
+ fill: "currentColor"
26
+ }), /* @__PURE__ */ jsx("path", {
27
+ d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
28
+ fill: "currentFill"
29
+ })]
30
+ }), /* @__PURE__ */ jsx("span", {
31
+ className: spanClassnames,
32
+ children: "Loading..."
33
+ })]
34
+ });
35
+ };
36
+
37
+ //#endregion
38
+ export { Spinner };
@@ -0,0 +1,46 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ let classnames = require("classnames");
3
+ classnames = require_chunk.__toESM(classnames);
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
6
+
7
+ //#region src/components/common/Spinner/Spinner.tsx
8
+ const Spinner = ({ className }) => {
9
+ const svgClassnames = (0, classnames.default)({
10
+ "spiffy-tw-w-4": true,
11
+ "spiffy-tw-h-4": true,
12
+ "spiffy-tw-text-gray-200": true,
13
+ "spiffy-tw-animate-spin": true,
14
+ "spiffy-tw-dark:text-gray-600": true,
15
+ "spiffy-tw-fill-black": true
16
+ }, className);
17
+ const spanClassnames = (0, classnames.default)({ "spiffy-tw-sr-only": true });
18
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
19
+ role: "status",
20
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
21
+ "aria-hidden": "true",
22
+ className: svgClassnames,
23
+ viewBox: "0 0 100 101",
24
+ fill: "none",
25
+ xmlns: "http://www.w3.org/2000/svg",
26
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
27
+ d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
28
+ fill: "currentColor"
29
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
30
+ d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
31
+ fill: "currentFill"
32
+ })]
33
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
34
+ className: spanClassnames,
35
+ children: "Loading..."
36
+ })]
37
+ });
38
+ };
39
+
40
+ //#endregion
41
+ Object.defineProperty(exports, 'Spinner', {
42
+ enumerable: true,
43
+ get: function () {
44
+ return Spinner;
45
+ }
46
+ });
@@ -0,0 +1,42 @@
1
+ import { TextVariantMap } from "./textVariantClasses-5t3OricK.js";
2
+ import classNames from "classnames";
3
+ import { jsx } from "react/jsx-runtime";
4
+
5
+ //#region src/components/common/Text/Text.tsx
6
+ const Text = ({ children, className, style, noOfLines, testId, type = "span", variant = "body3" }) => {
7
+ const variantClassNames = variant ? TextVariantMap[variant] : {};
8
+ const textClassNames = classNames(className, variantClassNames, {
9
+ "spiffy-tw-font-[\"Inter Variable,sans-serif\"]": true,
10
+ "spiffy-tw-line-clamp-1": noOfLines === 1,
11
+ "spiffy-tw-line-clamp-2": noOfLines === 2,
12
+ "spiffy-tw-line-clamp-3": noOfLines === 3,
13
+ "spiffy-tw-line-clamp-4": noOfLines === 4,
14
+ "spiffy-tw-line-clamp-5": noOfLines === 5,
15
+ "spiffy-tw-line-clamp-6": noOfLines === 6,
16
+ "spiffy-tw-line-clamp-7": noOfLines === 7
17
+ });
18
+ switch (type) {
19
+ case "p": return /* @__PURE__ */ jsx("p", {
20
+ "data-testid": testId,
21
+ className: textClassNames,
22
+ style,
23
+ children
24
+ });
25
+ case "span": return /* @__PURE__ */ jsx("span", {
26
+ "data-testid": testId,
27
+ className: textClassNames,
28
+ style,
29
+ children
30
+ });
31
+ case "sub": return /* @__PURE__ */ jsx("sub", {
32
+ "data-testid": testId,
33
+ className: textClassNames,
34
+ style,
35
+ children
36
+ });
37
+ default: throw new Error(`Invalid text type: ${type}`);
38
+ }
39
+ };
40
+
41
+ //#endregion
42
+ export { Text };
@@ -0,0 +1,50 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const require_textVariantClasses = require('./textVariantClasses-Bhf4VY5z.cjs');
3
+ let classnames = require("classnames");
4
+ classnames = require_chunk.__toESM(classnames);
5
+ let react_jsx_runtime = require("react/jsx-runtime");
6
+ react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
7
+
8
+ //#region src/components/common/Text/Text.tsx
9
+ const Text = ({ children, className, style, noOfLines, testId, type = "span", variant = "body3" }) => {
10
+ const variantClassNames = variant ? require_textVariantClasses.TextVariantMap[variant] : {};
11
+ const textClassNames = (0, classnames.default)(className, variantClassNames, {
12
+ "spiffy-tw-font-[\"Inter Variable,sans-serif\"]": true,
13
+ "spiffy-tw-line-clamp-1": noOfLines === 1,
14
+ "spiffy-tw-line-clamp-2": noOfLines === 2,
15
+ "spiffy-tw-line-clamp-3": noOfLines === 3,
16
+ "spiffy-tw-line-clamp-4": noOfLines === 4,
17
+ "spiffy-tw-line-clamp-5": noOfLines === 5,
18
+ "spiffy-tw-line-clamp-6": noOfLines === 6,
19
+ "spiffy-tw-line-clamp-7": noOfLines === 7
20
+ });
21
+ switch (type) {
22
+ case "p": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
23
+ "data-testid": testId,
24
+ className: textClassNames,
25
+ style,
26
+ children
27
+ });
28
+ case "span": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
29
+ "data-testid": testId,
30
+ className: textClassNames,
31
+ style,
32
+ children
33
+ });
34
+ case "sub": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("sub", {
35
+ "data-testid": testId,
36
+ className: textClassNames,
37
+ style,
38
+ children
39
+ });
40
+ default: throw new Error(`Invalid text type: ${type}`);
41
+ }
42
+ };
43
+
44
+ //#endregion
45
+ Object.defineProperty(exports, 'Text', {
46
+ enumerable: true,
47
+ get: function () {
48
+ return Text;
49
+ }
50
+ });
@@ -0,0 +1,40 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const require_textVariantClasses = require('./textVariantClasses-Bhf4VY5z.cjs');
3
+ let classnames = require("classnames");
4
+ classnames = require_chunk.__toESM(classnames);
5
+ let react = require("react");
6
+ react = require_chunk.__toESM(react);
7
+ let react_jsx_runtime = require("react/jsx-runtime");
8
+ react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
9
+
10
+ //#region src/components/common/TextInput/TextInput.tsx
11
+ const TextInput = react.default.forwardRef(({ className, borderRadius, borderColorClass, placeholderVariant,...rest }, ref) => {
12
+ const variantClassNames = placeholderVariant ? require_textVariantClasses.TextStyleVariantMap[placeholderVariant] : {};
13
+ const placeholderVariantClassNames = require_textVariantClasses.getVariantPlaceholderClassNames(variantClassNames);
14
+ const inputClasses = (0, classnames.default)([
15
+ {
16
+ "spiffy-text-input": true,
17
+ "spiffy-tw-outline-none": true,
18
+ "spiffy-tw-rounded-[64px]": borderRadius === "xl",
19
+ "spiffy-tw-rounded-[20px]": borderRadius === "lg",
20
+ "spiffy-tw-rounded-[8px]": borderRadius === "md",
21
+ "spiffy-tw-rounded-[0px]": borderRadius === "sm",
22
+ ...placeholderVariantClassNames
23
+ },
24
+ borderColorClass,
25
+ className
26
+ ]);
27
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
28
+ ref,
29
+ ...rest,
30
+ className: inputClasses
31
+ });
32
+ });
33
+
34
+ //#endregion
35
+ Object.defineProperty(exports, 'TextInput', {
36
+ enumerable: true,
37
+ get: function () {
38
+ return TextInput;
39
+ }
40
+ });
@@ -0,0 +1,31 @@
1
+ import { TextStyleVariantMap, getVariantPlaceholderClassNames } from "./textVariantClasses-5t3OricK.js";
2
+ import classNames from "classnames";
3
+ import React from "react";
4
+ import { jsx } from "react/jsx-runtime";
5
+
6
+ //#region src/components/common/TextInput/TextInput.tsx
7
+ const TextInput = React.forwardRef(({ className, borderRadius, borderColorClass, placeholderVariant,...rest }, ref) => {
8
+ const variantClassNames = placeholderVariant ? TextStyleVariantMap[placeholderVariant] : {};
9
+ const placeholderVariantClassNames = getVariantPlaceholderClassNames(variantClassNames);
10
+ const inputClasses = classNames([
11
+ {
12
+ "spiffy-text-input": true,
13
+ "spiffy-tw-outline-none": true,
14
+ "spiffy-tw-rounded-[64px]": borderRadius === "xl",
15
+ "spiffy-tw-rounded-[20px]": borderRadius === "lg",
16
+ "spiffy-tw-rounded-[8px]": borderRadius === "md",
17
+ "spiffy-tw-rounded-[0px]": borderRadius === "sm",
18
+ ...placeholderVariantClassNames
19
+ },
20
+ borderColorClass,
21
+ className
22
+ ]);
23
+ return /* @__PURE__ */ jsx("input", {
24
+ ref,
25
+ ...rest,
26
+ className: inputClasses
27
+ });
28
+ });
29
+
30
+ //#endregion
31
+ export { TextInput };
@@ -0,0 +1,30 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+
25
+ Object.defineProperty(exports, '__toESM', {
26
+ enumerable: true,
27
+ get: function () {
28
+ return __toESM;
29
+ }
30
+ });
@@ -0,0 +1,38 @@
1
+
2
+ //#region src/components/models/colorsConfig.ts
3
+ var ColorNames = /* @__PURE__ */ function(ColorNames$1) {
4
+ ColorNames$1["TextPrimary"] = "text-primary";
5
+ ColorNames$1["TextSecondary"] = "text-secondary";
6
+ ColorNames$1["TextAccent"] = "text-accent";
7
+ ColorNames$1["TextLink"] = "text-link";
8
+ ColorNames$1["TextLight"] = "text-light";
9
+ ColorNames$1["BackgroundPrimary"] = "background-primary";
10
+ ColorNames$1["BackgroundSecondary"] = "background-secondary";
11
+ ColorNames$1["BackgroundSecondaryDark"] = "background-secondary-dark";
12
+ ColorNames$1["BackgroundTertiary"] = "background-tertiary";
13
+ ColorNames$1["BackgroundDark"] = "background-dark";
14
+ ColorNames$1["BackgroundLight"] = "background-light";
15
+ ColorNames$1["BackgroundSaturated"] = "background-saturated";
16
+ ColorNames$1["BorderLight"] = "border-light";
17
+ ColorNames$1["BorderMedium"] = "border-medium";
18
+ ColorNames$1["BorderDark"] = "border-dark";
19
+ ColorNames$1["BorderOutline"] = "border-outline";
20
+ ColorNames$1["AccentPrimary"] = "accent-primary";
21
+ ColorNames$1["AccentSecondary"] = "accent-secondary";
22
+ return ColorNames$1;
23
+ }(ColorNames || {});
24
+ const colorVar = (color) => `var(--spiffy-colors-${color})`;
25
+
26
+ //#endregion
27
+ Object.defineProperty(exports, 'ColorNames', {
28
+ enumerable: true,
29
+ get: function () {
30
+ return ColorNames;
31
+ }
32
+ });
33
+ Object.defineProperty(exports, 'colorVar', {
34
+ enumerable: true,
35
+ get: function () {
36
+ return colorVar;
37
+ }
38
+ });
@@ -0,0 +1,26 @@
1
+ //#region src/components/models/colorsConfig.ts
2
+ var ColorNames = /* @__PURE__ */ function(ColorNames$1) {
3
+ ColorNames$1["TextPrimary"] = "text-primary";
4
+ ColorNames$1["TextSecondary"] = "text-secondary";
5
+ ColorNames$1["TextAccent"] = "text-accent";
6
+ ColorNames$1["TextLink"] = "text-link";
7
+ ColorNames$1["TextLight"] = "text-light";
8
+ ColorNames$1["BackgroundPrimary"] = "background-primary";
9
+ ColorNames$1["BackgroundSecondary"] = "background-secondary";
10
+ ColorNames$1["BackgroundSecondaryDark"] = "background-secondary-dark";
11
+ ColorNames$1["BackgroundTertiary"] = "background-tertiary";
12
+ ColorNames$1["BackgroundDark"] = "background-dark";
13
+ ColorNames$1["BackgroundLight"] = "background-light";
14
+ ColorNames$1["BackgroundSaturated"] = "background-saturated";
15
+ ColorNames$1["BorderLight"] = "border-light";
16
+ ColorNames$1["BorderMedium"] = "border-medium";
17
+ ColorNames$1["BorderDark"] = "border-dark";
18
+ ColorNames$1["BorderOutline"] = "border-outline";
19
+ ColorNames$1["AccentPrimary"] = "accent-primary";
20
+ ColorNames$1["AccentSecondary"] = "accent-secondary";
21
+ return ColorNames$1;
22
+ }(ColorNames || {});
23
+ const colorVar = (color) => `var(--spiffy-colors-${color})`;
24
+
25
+ //#endregion
26
+ export { ColorNames, colorVar };
@@ -0,0 +1,5 @@
1
+ const require_ButtonBase = require('../../ButtonBase-a8uj6c2f.cjs');
2
+ require('../../textVariantClasses-Bhf4VY5z.cjs');
3
+ require('../../Text-C04c4Z93.cjs');
4
+
5
+ exports.ButtonBase = require_ButtonBase.ButtonBase;
@@ -0,0 +1,35 @@
1
+ import { TestProps } from "../../types-TYhhwWZw.cjs";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { ButtonHTMLAttributes } from "react";
4
+
5
+ //#region src/components/common/ButtonBase/types.d.ts
6
+
7
+ interface ButtonBaseProps extends TestProps {
8
+ type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
9
+ isDisabled?: boolean;
10
+ dataAttributes?: Record<string, string>;
11
+ buttonClass?: string;
12
+ text: string;
13
+ textClass?: string;
14
+ icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
15
+ iconClass?: string;
16
+ onClick?: () => void;
17
+ disablePadding?: boolean;
18
+ }
19
+ //#endregion
20
+ //#region src/components/common/ButtonBase/ButtonBase.d.ts
21
+ declare const ButtonBase: ({
22
+ type,
23
+ isDisabled,
24
+ dataAttributes,
25
+ buttonClass,
26
+ text,
27
+ textClass,
28
+ icon,
29
+ iconClass,
30
+ dataTestId,
31
+ onClick,
32
+ disablePadding
33
+ }: ButtonBaseProps) => react_jsx_runtime0.JSX.Element;
34
+ //#endregion
35
+ export { ButtonBase };
@@ -0,0 +1,35 @@
1
+ import { TestProps } from "../../types-Cph97xkm.js";
2
+ import { ButtonHTMLAttributes } from "react";
3
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
4
+
5
+ //#region src/components/common/ButtonBase/types.d.ts
6
+
7
+ interface ButtonBaseProps extends TestProps {
8
+ type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
9
+ isDisabled?: boolean;
10
+ dataAttributes?: Record<string, string>;
11
+ buttonClass?: string;
12
+ text: string;
13
+ textClass?: string;
14
+ icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
15
+ iconClass?: string;
16
+ onClick?: () => void;
17
+ disablePadding?: boolean;
18
+ }
19
+ //#endregion
20
+ //#region src/components/common/ButtonBase/ButtonBase.d.ts
21
+ declare const ButtonBase: ({
22
+ type,
23
+ isDisabled,
24
+ dataAttributes,
25
+ buttonClass,
26
+ text,
27
+ textClass,
28
+ icon,
29
+ iconClass,
30
+ dataTestId,
31
+ onClick,
32
+ disablePadding
33
+ }: ButtonBaseProps) => react_jsx_runtime6.JSX.Element;
34
+ //#endregion
35
+ export { ButtonBase };
@@ -0,0 +1,5 @@
1
+ import { ButtonBase } from "../../ButtonBase-C1rsL9gO.js";
2
+ import "../../textVariantClasses-5t3OricK.js";
3
+ import "../../Text-Bdv7F5-u.js";
4
+
5
+ export { ButtonBase };
@@ -0,0 +1,4 @@
1
+ require('../../textVariantClasses-Bhf4VY5z.cjs');
2
+ const require_Headline = require('../../Headline-L7w3BsBF.cjs');
3
+
4
+ exports.Headline = require_Headline.Headline;
@@ -0,0 +1,21 @@
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+
3
+ //#region src/components/common/Headline/Headline.d.ts
4
+ type HeadlineVariant = 't1' | 't2' | 't3' | 'h1' | 'h2' | 'h3' | 'h4';
5
+ type HeadlineProps = {
6
+ children: React.ReactNode;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ variant?: HeadlineVariant;
10
+ testId?: string;
11
+ id?: string;
12
+ };
13
+ declare const Headline: ({
14
+ children,
15
+ className,
16
+ style,
17
+ testId,
18
+ variant
19
+ }: HeadlineProps) => react_jsx_runtime1.JSX.Element;
20
+ //#endregion
21
+ export { Headline, HeadlineProps, HeadlineVariant };
@@ -0,0 +1,21 @@
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
+
3
+ //#region src/components/common/Headline/Headline.d.ts
4
+ type HeadlineVariant = 't1' | 't2' | 't3' | 'h1' | 'h2' | 'h3' | 'h4';
5
+ type HeadlineProps = {
6
+ children: React.ReactNode;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ variant?: HeadlineVariant;
10
+ testId?: string;
11
+ id?: string;
12
+ };
13
+ declare const Headline: ({
14
+ children,
15
+ className,
16
+ style,
17
+ testId,
18
+ variant
19
+ }: HeadlineProps) => react_jsx_runtime4.JSX.Element;
20
+ //#endregion
21
+ export { Headline, HeadlineProps, HeadlineVariant };
@@ -0,0 +1,4 @@
1
+ import "../../textVariantClasses-5t3OricK.js";
2
+ import { Headline } from "../../Headline-ro_Nigw5.js";
3
+
4
+ export { Headline };
@@ -0,0 +1,3 @@
1
+ const require_ImageWithFallback = require('../../ImageWithFallback-P3AjyL2Y.cjs');
2
+
3
+ exports.ImageWithFallback = require_ImageWithFallback.ImageWithFallback;
@@ -0,0 +1,26 @@
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import React from "react";
3
+
4
+ //#region src/components/common/ImageWithFallback/ImageWithFallback.d.ts
5
+ interface ImageWithFallbackProps {
6
+ src: string | undefined;
7
+ alt: string;
8
+ fallbackClassnames?: string;
9
+ fallback: React.ReactNode;
10
+ dataTestId?: string;
11
+ imageClassnames: string;
12
+ onLoad?: () => void;
13
+ onError?: () => void;
14
+ }
15
+ declare const ImageWithFallback: ({
16
+ src,
17
+ alt,
18
+ dataTestId,
19
+ fallbackClassnames,
20
+ fallback,
21
+ imageClassnames,
22
+ onLoad,
23
+ onError
24
+ }: ImageWithFallbackProps) => react_jsx_runtime0.JSX.Element;
25
+ //#endregion
26
+ export { ImageWithFallback, ImageWithFallbackProps };
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
3
+
4
+ //#region src/components/common/ImageWithFallback/ImageWithFallback.d.ts
5
+ interface ImageWithFallbackProps {
6
+ src: string | undefined;
7
+ alt: string;
8
+ fallbackClassnames?: string;
9
+ fallback: React.ReactNode;
10
+ dataTestId?: string;
11
+ imageClassnames: string;
12
+ onLoad?: () => void;
13
+ onError?: () => void;
14
+ }
15
+ declare const ImageWithFallback: ({
16
+ src,
17
+ alt,
18
+ dataTestId,
19
+ fallbackClassnames,
20
+ fallback,
21
+ imageClassnames,
22
+ onLoad,
23
+ onError
24
+ }: ImageWithFallbackProps) => react_jsx_runtime8.JSX.Element;
25
+ //#endregion
26
+ export { ImageWithFallback, ImageWithFallbackProps };
@@ -0,0 +1,3 @@
1
+ import { ImageWithFallback } from "../../ImageWithFallback-CfmkC58B.js";
2
+
3
+ export { ImageWithFallback };
@@ -0,0 +1,11 @@
1
+ require('../../textVariantClasses-Bhf4VY5z.cjs');
2
+ require('../../Text-C04c4Z93.cjs');
3
+ require('../../Headline-L7w3BsBF.cjs');
4
+ require('../../ImageWithFallback-P3AjyL2Y.cjs');
5
+ require('../../productCardVariants-Dd-wrJKP.cjs');
6
+ const require_ProductCard = require('../../ProductCard-CS6DZAwO.cjs');
7
+ require('../../Spinner-CfQ85Ajl.cjs');
8
+
9
+ exports.PriceSection = require_ProductCard.PriceSection;
10
+ exports.ProductCard = require_ProductCard.ProductCard;
11
+ exports.RatingSummary = require_ProductCard.RatingSummary;