@zenpatient-org/healthspan-marketing-ui 0.1.20 → 0.1.22

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 (283) hide show
  1. package/README.md +18 -16
  2. package/dist/_virtual/Popover.cjs.js +1 -0
  3. package/dist/_virtual/Popover.es.js +5 -0
  4. package/dist/_virtual/Popover.es2.js +4 -0
  5. package/dist/_virtual/{jsx-runtime.cjs2.js → PopoverPortal.cjs.js} +1 -1
  6. package/dist/_virtual/PopoverPortal.es.js +4 -0
  7. package/dist/_virtual/useArrowContainer.cjs.js +1 -0
  8. package/dist/_virtual/useArrowContainer.es.js +4 -0
  9. package/dist/_virtual/useElementRef.cjs.js +1 -0
  10. package/dist/_virtual/useHandlePrevValues.cjs.js +1 -0
  11. package/dist/_virtual/useHandlePrevValues.es.js +4 -0
  12. package/dist/_virtual/useMemoizedArray.cjs.js +1 -0
  13. package/dist/_virtual/useMemoizedArray.es.js +4 -0
  14. package/dist/_virtual/usePopover.cjs.js +1 -0
  15. package/dist/_virtual/usePopover.es.js +4 -0
  16. package/dist/_virtual/util.cjs.js +1 -0
  17. package/dist/_virtual/util.es.js +4 -0
  18. package/dist/components/Benefit/Benefit.cjs.js +1 -0
  19. package/dist/components/Benefit/Benefit.es.js +13 -0
  20. package/dist/components/Benefit/benefit.module.css.cjs.js +1 -0
  21. package/dist/components/Benefit/benefit.module.css.es.js +9 -0
  22. package/dist/components/Button/Button.cjs.js +1 -1
  23. package/dist/components/Button/Button.es.js +13 -13
  24. package/dist/components/Callback/Callback.cjs.js +1 -1
  25. package/dist/components/Callback/Callback.es.js +34 -35
  26. package/dist/components/ComplexTooltip/ComplexTooltip.cjs.js +1 -0
  27. package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +5 -13
  28. package/dist/components/ComplexTooltip/ComplexTooltip.es.js +60 -0
  29. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -0
  30. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +10 -0
  31. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +50 -0
  32. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.cjs.js +1 -0
  33. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.es.js +15 -0
  34. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/index.d.ts +1 -0
  35. package/dist/components/ComplexTooltip/index.d.ts +1 -0
  36. package/dist/components/ComplexTooltip/types.d.ts +13 -0
  37. package/dist/components/ContentTabs/ContentTabs.cjs.js +1 -1
  38. package/dist/components/ContentTabs/ContentTabs.es.js +19 -19
  39. package/dist/components/Cursor/Cursor.cjs.js +1 -0
  40. package/dist/components/Cursor/Cursor.es.js +9 -0
  41. package/dist/components/Cursor/components/ClientCursor.cjs.js +1 -0
  42. package/dist/components/Cursor/components/ClientCursor.es.js +42 -0
  43. package/dist/components/Cursor/components/ServerCursor.cjs.js +1 -0
  44. package/dist/components/Cursor/components/ServerCursor.es.js +4 -0
  45. package/dist/components/Cursor/cursor.module.css.cjs.js +1 -0
  46. package/dist/components/Cursor/cursor.module.css.es.js +11 -0
  47. package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
  48. package/dist/components/FilterMenu/FilterMenu.es.js +18 -17
  49. package/dist/components/HighlightedTitle/HighlightedTitle.cjs.js +1 -1
  50. package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +1 -1
  51. package/dist/components/HighlightedTitle/HighlightedTitle.es.js +22 -33
  52. package/dist/components/Icon/Icon.cjs.js +1 -1
  53. package/dist/components/Icon/Icon.es.js +7 -16
  54. package/dist/components/Icon/iconsMap.cjs.js +1 -0
  55. package/dist/components/Icon/iconsMap.d.ts +4 -0
  56. package/dist/components/Icon/iconsMap.es.js +110 -0
  57. package/dist/components/IconButton/IconButton.cjs.js +1 -1
  58. package/dist/components/IconButton/IconButton.es.js +12 -13
  59. package/dist/components/InfiniteScroll/InfiniteScroll.cjs.js +1 -1
  60. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +34 -33
  61. package/dist/components/Label/Label.cjs.js +1 -1
  62. package/dist/components/Label/Label.es.js +8 -8
  63. package/dist/components/ProductGallery/ProductGallery.cjs.js +1 -1
  64. package/dist/components/ProductGallery/ProductGallery.es.js +46 -45
  65. package/dist/components/ProductGalleryCard/ProductGalleryCard.cjs.js +1 -1
  66. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +5 -1
  67. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +16 -15
  68. package/dist/components/ProductGalleryCard/productGalleryCard.module.css.cjs.js +1 -1
  69. package/dist/components/ProductGalleryCard/productGalleryCard.module.css.es.js +14 -12
  70. package/dist/components/ProductListing/ProductListing.cjs.js +1 -0
  71. package/dist/components/ProductListing/ProductListing.es.js +30 -0
  72. package/dist/components/ProductListing/productListing.module.css.cjs.js +1 -0
  73. package/dist/components/ProductListing/productListing.module.css.es.js +29 -0
  74. package/dist/components/ProductPairs/ProductPairs.cjs.js +1 -0
  75. package/dist/components/ProductPairs/ProductPairs.d.ts +7 -0
  76. package/dist/components/ProductPairs/ProductPairs.es.js +55 -0
  77. package/dist/components/ProductPairs/index.d.ts +1 -0
  78. package/dist/components/ProductPairs/productPairs.module.css.cjs.js +1 -0
  79. package/dist/components/ProductPairs/productPairs.module.css.es.js +17 -0
  80. package/dist/components/ProgramCard/ProgramCard.cjs.js +1 -0
  81. package/dist/components/ProgramCard/ProgramCard.es.js +48 -0
  82. package/dist/components/ProgramCard/assets/program_card_bg.png.cjs.js +1 -0
  83. package/dist/components/ProgramCard/assets/program_card_bg.png.es.js +4 -0
  84. package/dist/components/ProgramCard/programCard.module.css.cjs.js +1 -0
  85. package/dist/components/ProgramCard/programCard.module.css.es.js +7 -0
  86. package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
  87. package/dist/components/ProgressButton/ProgressButton.es.js +18 -19
  88. package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -0
  89. package/dist/components/StepsCarousel/StepsCarousel.d.ts +13 -0
  90. package/dist/components/StepsCarousel/StepsCarousel.es.js +92 -0
  91. package/dist/components/StepsCarousel/index.d.ts +1 -0
  92. package/dist/components/StepsCarousel/stepsCarousel.module.css.cjs.js +1 -0
  93. package/dist/components/StepsCarousel/stepsCarousel.module.css.es.js +31 -0
  94. package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -0
  95. package/dist/components/StudyGridCard/StudyGridCard.es.js +61 -0
  96. package/dist/components/StudyGridCard/studyGridCard.module.css.cjs.js +1 -0
  97. package/dist/components/StudyGridCard/studyGridCard.module.css.es.js +19 -0
  98. package/dist/components/Tabs/Tabs.cjs.js +1 -1
  99. package/dist/components/Tabs/Tabs.es.js +20 -20
  100. package/dist/components/Tabs/TabsWithFade.cjs.js +1 -1
  101. package/dist/components/Tabs/TabsWithFade.es.js +16 -15
  102. package/dist/components/Tag/Tag.cjs.js +1 -1
  103. package/dist/components/Tag/Tag.es.js +15 -15
  104. package/dist/components/TextButton/TextButton.cjs.js +1 -1
  105. package/dist/components/TextButton/TextButton.es.js +18 -18
  106. package/dist/components/TypeBadge/TypeBadge.cjs.js +1 -1
  107. package/dist/components/TypeBadge/TypeBadge.es.js +4 -4
  108. package/dist/components/Typography/Typography.cjs.js +1 -1
  109. package/dist/components/Typography/Typography.es.js +9 -9
  110. package/dist/components/index.d.ts +0 -26
  111. package/dist/healthspan-marketing-ui.css +1 -1
  112. package/dist/index.cjs.js +1 -1
  113. package/dist/index.d.ts +0 -3
  114. package/dist/index.es.js +2 -55
  115. package/dist/modules/Benefits/Benefits.cjs.js +1 -0
  116. package/dist/modules/Benefits/Benefits.d.ts +14 -0
  117. package/dist/modules/Benefits/Benefits.es.js +53 -0
  118. package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -0
  119. package/dist/modules/Benefits/benefits.module.css.es.js +25 -0
  120. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.cjs.js +1 -0
  121. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.d.ts +7 -0
  122. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +37 -0
  123. package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
  124. package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.es.js +11 -0
  125. package/dist/modules/Benefits/components/BenefitItem/index.d.ts +1 -0
  126. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.cjs.js +1 -0
  127. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.d.ts +6 -0
  128. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +17 -0
  129. package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.cjs.js +1 -0
  130. package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.es.js +9 -0
  131. package/dist/modules/Benefits/components/BenefitTag/index.d.ts +1 -0
  132. package/dist/modules/Benefits/components/index.d.ts +2 -0
  133. package/dist/modules/Benefits/index.d.ts +1 -0
  134. package/dist/modules/Callback/Callback.cjs.js +1 -0
  135. package/dist/modules/Callback/Callback.d.ts +1 -1
  136. package/dist/modules/Callback/Callback.es.js +36 -0
  137. package/dist/modules/Callback/callback.module.css.cjs.js +1 -0
  138. package/dist/modules/Callback/callback.module.css.es.js +13 -0
  139. package/dist/modules/Comparison/Comparison.cjs.js +1 -0
  140. package/dist/modules/Comparison/Comparison.es.js +86 -0
  141. package/dist/modules/Comparison/assets/company-logo.svg.cjs.js +1 -0
  142. package/dist/modules/Comparison/assets/company-logo.svg.es.js +5 -0
  143. package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -0
  144. package/dist/modules/Comparison/comparison.module.css.es.js +39 -0
  145. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.cjs.js +1 -0
  146. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.es.js +42 -0
  147. package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.cjs.js +1 -0
  148. package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.es.js +27 -0
  149. package/dist/modules/Comparison/utils.cjs.js +1 -0
  150. package/dist/modules/Comparison/utils.es.js +4 -0
  151. package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -0
  152. package/dist/modules/FeaturedIn/FeaturedIn.es.js +54 -0
  153. package/dist/modules/FeaturedIn/featuredIn.module.css.cjs.js +1 -0
  154. package/dist/modules/FeaturedIn/featuredIn.module.css.es.js +37 -0
  155. package/dist/modules/FeaturesGallery/FeaturesGallery.cjs.js +1 -0
  156. package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +22 -0
  157. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.cjs.js +1 -0
  158. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +29 -0
  159. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.cjs.js +1 -0
  160. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.es.js +21 -0
  161. package/dist/modules/FeaturesGallery/featuresGallery.module.css.cjs.js +1 -0
  162. package/dist/modules/FeaturesGallery/featuresGallery.module.css.es.js +21 -0
  163. package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -0
  164. package/dist/modules/FollowTheScience/FollowTheScience.es.js +73 -0
  165. package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -0
  166. package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +15 -0
  167. package/dist/modules/HowItWorks/HowItWorks.cjs.js +1 -0
  168. package/dist/modules/HowItWorks/HowItWorks.es.js +16 -0
  169. package/dist/modules/HowItWorks/components/Content/Content.cjs.js +1 -0
  170. package/dist/modules/HowItWorks/components/Content/Content.es.js +65 -0
  171. package/dist/modules/HowItWorks/components/Content/content.module.css.cjs.js +1 -0
  172. package/dist/modules/HowItWorks/components/Content/content.module.css.es.js +21 -0
  173. package/dist/modules/HowItWorks/howItWorks.module.css.cjs.js +1 -0
  174. package/dist/modules/HowItWorks/howItWorks.module.css.es.js +13 -0
  175. package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -0
  176. package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -0
  177. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -0
  178. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +37 -0
  179. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -0
  180. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +15 -0
  181. package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +1 -0
  182. package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +13 -0
  183. package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -0
  184. package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +19 -0
  185. package/dist/modules/OurProcess/OurProcess.cjs.js +1 -0
  186. package/dist/modules/OurProcess/OurProcess.d.ts +2 -2
  187. package/dist/modules/OurProcess/OurProcess.es.js +15 -0
  188. package/dist/modules/OurProcess/ourProcess.module.css.cjs.js +1 -0
  189. package/dist/modules/OurProcess/ourProcess.module.css.es.js +11 -0
  190. package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -0
  191. package/dist/modules/PairedProducts/PairedProducts.d.ts +12 -0
  192. package/dist/modules/PairedProducts/PairedProducts.es.js +17 -0
  193. package/dist/modules/PairedProducts/index.d.ts +1 -0
  194. package/dist/modules/PairedProducts/pairedProducts.module.css.cjs.js +1 -0
  195. package/dist/modules/PairedProducts/pairedProducts.module.css.es.js +17 -0
  196. package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
  197. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -1
  198. package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +17 -22
  199. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js +1 -1
  200. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -1
  201. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js +9 -19
  202. package/dist/modules/ProductsDisplay/types.d.ts +2 -2
  203. package/dist/modules/ProductsDisplay/useProductsData.cjs.js +1 -1
  204. package/dist/modules/ProductsDisplay/useProductsData.d.ts +2 -1
  205. package/dist/modules/ProductsDisplay/useProductsData.es.js +8 -7
  206. package/dist/modules/Studies/Studies.cjs.js +1 -0
  207. package/dist/modules/Studies/Studies.es.js +26 -0
  208. package/dist/modules/Studies/studies.module.css.cjs.js +1 -0
  209. package/dist/modules/Studies/studies.module.css.es.js +15 -0
  210. package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -0
  211. package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +67 -0
  212. package/dist/modules/TargetedPrograms/targetedPrograms.module.css.cjs.js +1 -0
  213. package/dist/modules/TargetedPrograms/targetedPrograms.module.css.es.js +15 -0
  214. package/dist/modules/TotalCare/TotalCare.cjs.js +1 -1
  215. package/dist/modules/TotalCare/TotalCare.d.ts +1 -1
  216. package/dist/modules/TotalCare/TotalCare.es.js +18 -27
  217. package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -0
  218. package/dist/modules/TypesOfTests/TypesOfTests.d.ts +10 -0
  219. package/dist/modules/TypesOfTests/TypesOfTests.es.js +67 -0
  220. package/dist/modules/TypesOfTests/index.d.ts +1 -0
  221. package/dist/modules/TypesOfTests/types.d.ts +4 -0
  222. package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -0
  223. package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +29 -0
  224. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  225. package/dist/modules/YourProtocol/YourProtocol.es.js +19 -30
  226. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.cjs.js +1 -1
  227. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +19 -27
  228. package/dist/modules/index.d.ts +0 -3
  229. package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.cjs.js +1 -0
  230. package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.es.js +37 -0
  231. package/dist/node_modules/react-tiny-popover/dist/Popover.cjs.js +1 -0
  232. package/dist/node_modules/react-tiny-popover/dist/Popover.es.js +147 -0
  233. package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.cjs.js +1 -0
  234. package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.es.js +20 -0
  235. package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.cjs.js +1 -0
  236. package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.es.js +86 -0
  237. package/dist/node_modules/react-tiny-popover/dist/useElementRef.cjs.js +1 -0
  238. package/dist/node_modules/react-tiny-popover/dist/useElementRef.es.js +22 -0
  239. package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.cjs.js +1 -0
  240. package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.es.js +34 -0
  241. package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.cjs.js +1 -0
  242. package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.es.js +24 -0
  243. package/dist/node_modules/react-tiny-popover/dist/usePopover.cjs.js +1 -0
  244. package/dist/node_modules/react-tiny-popover/dist/usePopover.es.js +140 -0
  245. package/dist/node_modules/react-tiny-popover/dist/util.cjs.js +1 -0
  246. package/dist/node_modules/react-tiny-popover/dist/util.es.js +81 -0
  247. package/dist/utils/index.d.ts +0 -4
  248. package/dist/utils/isHsIcon/isHsIcon.cjs.js +1 -0
  249. package/dist/utils/{isHsIcon.es.js → isHsIcon/isHsIcon.es.js} +1 -1
  250. package/dist/utils/useIsMobile.cjs.js +1 -0
  251. package/dist/utils/useIsMobile.d.ts +1 -0
  252. package/dist/utils/useIsMobile.es.js +12 -0
  253. package/package.json +210 -4
  254. package/dist/_virtual/dynamic-import-helper.cjs.js +0 -1
  255. package/dist/_virtual/dynamic-import-helper.es.js +0 -16
  256. package/dist/_virtual/jsx-runtime.cjs.js +0 -1
  257. package/dist/_virtual/jsx-runtime.es.js +0 -5
  258. package/dist/_virtual/jsx-runtime.es2.js +0 -4
  259. package/dist/icons/map/pin-drop.svg.cjs.js +0 -1
  260. package/dist/icons/map/pin-drop.svg.es.js +0 -5
  261. package/dist/modules/OurProcess/components/StepCards/StepCards.d.ts +0 -9
  262. package/dist/modules/OurProcess/components/StepCards/index.d.ts +0 -1
  263. package/dist/modules/OurProcess/types.d.ts +0 -5
  264. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +0 -22
  265. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -604
  266. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +0 -9
  267. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +0 -28
  268. package/dist/node_modules/react/jsx-runtime.cjs.js +0 -1
  269. package/dist/node_modules/react/jsx-runtime.es.js +0 -10
  270. package/dist/utils/isHsIcon.cjs.js +0 -1
  271. package/dist/utils.cjs.js +0 -1
  272. package/dist/utils.es.js +0 -10
  273. /package/dist/_virtual/{react-jsx-runtime.development.cjs.js → ArrowContainer.cjs.js} +0 -0
  274. /package/dist/_virtual/{react-jsx-runtime.production.min.es.js → ArrowContainer.es.js} +0 -0
  275. /package/dist/_virtual/{react-jsx-runtime.production.min.cjs.js → Popover.cjs2.js} +0 -0
  276. /package/dist/_virtual/{react-jsx-runtime.development.es.js → useElementRef.es.js} +0 -0
  277. /package/dist/{utils → lib}/useSwiper.d.ts +0 -0
  278. /package/dist/utils/{cn.cjs.js → cn/cn.cjs.js} +0 -0
  279. /package/dist/utils/{cn.es.js → cn/cn.es.js} +0 -0
  280. /package/dist/utils/{formatUnits.cjs.js → formatUnits/formatUnits.cjs.js} +0 -0
  281. /package/dist/utils/{formatUnits.es.js → formatUnits/formatUnits.es.js} +0 -0
  282. /package/dist/utils/{useSwiper.cjs.js → useSwiper/useSwiper.cjs.js} +0 -0
  283. /package/dist/utils/{useSwiper.es.js → useSwiper/useSwiper.es.js} +0 -0
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const r=require("./styles/typography.module.css.cjs.js"),t=require("./components/Button/Button.cjs.js"),o=require("./components/Label/Label.cjs.js"),n=require("./components/Tag/Tag.cjs.js"),i=require("./components/Tabs/Tabs.cjs.js"),u=require("./components/Tabs/TabsWithFade.cjs.js"),e=require("./components/TypeBadge/TypeBadge.cjs.js"),s=require("./components/ContentTabs/ContentTabs.cjs.js"),c=require("./components/Icon/Icon.cjs.js"),a=require("./components/Icon/constants.cjs.js"),l=require("./components/ProductGalleryCard/ProductGalleryCard.cjs.js"),q=require("./components/HighlightedTitle/HighlightedTitle.cjs.js"),T=require("./components/Callback/Callback.cjs.js"),d=require("./components/IconButton/IconButton.cjs.js"),y=require("./components/FilterMenu/FilterMenu.cjs.js"),g=require("./components/InfiniteScroll/InfiniteScroll.cjs.js"),p=require("./components/ProductGallery/ProductGallery.cjs.js"),b=require("./components/ProgressButton/ProgressButton.cjs.js"),B=require("./components/TextButton/TextButton.cjs.js"),P=require("./components/Typography/Typography.cjs.js"),h=require("./modules/YourProtocol/YourProtocol.cjs.js"),I=require("./modules/TotalCare/TotalCare.cjs.js"),C=require("./modules/ProductsDisplay/ProductsDisplay.cjs.js"),f=require("./utils/cn.cjs.js"),S=require("./utils/isHsIcon.cjs.js"),m=require("./utils/formatUnits.cjs.js"),F=require("./utils/useSwiper.cjs.js");exports.typography=r.default;exports.Button=t.Button;exports.Label=o.Label;exports.Tag=n.Tag;exports.Tabs=i.Tabs;exports.TabsWithFade=u.TabsWithFade;exports.ETypeBadge=e.ETypeBadge;exports.TypeBadge=e.TypeBadge;exports.ContentTabs=s.ContentTabs;exports.Icon=c.Icon;exports.EIconName=a.EIconName;exports.ProductGalleryCard=l.ProductGalleryCard;exports.HighlightedTitle=q.HighlightedTitle;exports.Callback=T.Callback;exports.IconButton=d.IconButton;exports.FilterMenu=y.FilterMenu;exports.InfiniteScroll=g.InfiniteScroll;exports.ProductGallery=p.ProductGallery;exports.ProgressButton=b.ProgressButton;exports.TextButton=B.TextButton;exports.Typography=P.Typography;exports.YourProtocol=h.YourProtocol;exports.TotalCare=I.TotalCare;exports.ProductsDisplay=C.ProductsDisplay;exports.cn=f.cn;exports.isHsIcon=S.isHsIcon;exports.formatUnits=m.formatUnits;exports.useSwiper=F.useSwiper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const e=require("./styles/typography.module.css.cjs.js");exports.typography=e.default;
package/dist/index.d.ts CHANGED
@@ -1,4 +1 @@
1
1
  export * from './styles';
2
- export * from './components';
3
- export * from './modules';
4
- export * from './utils';
package/dist/index.es.js CHANGED
@@ -3,60 +3,7 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { default as x } from "./styles/typography.module.css.es.js";
7
- import { Button as i } from "./components/Button/Button.es.js";
8
- import { Label as n } from "./components/Label/Label.es.js";
9
- import { Tag as c } from "./components/Tag/Tag.es.js";
10
- import { Tabs as T } from "./components/Tabs/Tabs.es.js";
11
- import { TabsWithFade as y } from "./components/Tabs/TabsWithFade.es.js";
12
- import { ETypeBadge as B, TypeBadge as b } from "./components/TypeBadge/TypeBadge.es.js";
13
- import { ContentTabs as I } from "./components/ContentTabs/ContentTabs.es.js";
14
- import { Icon as C } from "./components/Icon/Icon.es.js";
15
- import { EIconName as F } from "./components/Icon/constants.es.js";
16
- import { ProductGalleryCard as H } from "./components/ProductGalleryCard/ProductGalleryCard.es.js";
17
- import { HighlightedTitle as k } from "./components/HighlightedTitle/HighlightedTitle.es.js";
18
- import { Callback as D } from "./components/Callback/Callback.es.js";
19
- import { IconButton as M } from "./components/IconButton/IconButton.es.js";
20
- import { FilterMenu as U } from "./components/FilterMenu/FilterMenu.es.js";
21
- import { InfiniteScroll as Y } from "./components/InfiniteScroll/InfiniteScroll.es.js";
22
- import { ProductGallery as q } from "./components/ProductGallery/ProductGallery.es.js";
23
- import { ProgressButton as z } from "./components/ProgressButton/ProgressButton.es.js";
24
- import { TextButton as J } from "./components/TextButton/TextButton.es.js";
25
- import { Typography as O } from "./components/Typography/Typography.es.js";
26
- import { YourProtocol as R } from "./modules/YourProtocol/YourProtocol.es.js";
27
- import { TotalCare as X } from "./modules/TotalCare/TotalCare.es.js";
28
- import { ProductsDisplay as _ } from "./modules/ProductsDisplay/ProductsDisplay.es.js";
29
- import { cn as oo } from "./utils/cn.es.js";
30
- import { isHsIcon as to } from "./utils/isHsIcon.es.js";
31
- import { formatUnits as po } from "./utils/formatUnits.es.js";
32
- import { useSwiper as fo } from "./utils/useSwiper.es.js";
6
+ import { default as e } from "./styles/typography.module.css.es.js";
33
7
  export {
34
- i as Button,
35
- D as Callback,
36
- I as ContentTabs,
37
- F as EIconName,
38
- B as ETypeBadge,
39
- U as FilterMenu,
40
- k as HighlightedTitle,
41
- C as Icon,
42
- M as IconButton,
43
- Y as InfiniteScroll,
44
- n as Label,
45
- q as ProductGallery,
46
- H as ProductGalleryCard,
47
- _ as ProductsDisplay,
48
- z as ProgressButton,
49
- T as Tabs,
50
- y as TabsWithFade,
51
- c as Tag,
52
- J as TextButton,
53
- X as TotalCare,
54
- b as TypeBadge,
55
- O as Typography,
56
- R as YourProtocol,
57
- oo as cn,
58
- po as formatUnits,
59
- to as isHsIcon,
60
- x as typography,
61
- fo as useSwiper
8
+ e as typography
62
9
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),o=require("./components/BenefitTag/BenefitTag.cjs.js"),m=require("./components/BenefitItem/BenefitItem.cjs.js"),u=require("../../components/Typography/Typography.cjs.js"),t=require("./benefits.module.css.cjs.js"),g=({label:s,title:l,image:r,benefits:n,tags:d})=>e.jsxs("div",{className:t.default.root,children:[e.jsxs("div",{className:t.default.header,children:[e.jsx(u.Typography,{defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:t.default.label,children:s}),e.jsx(c.HighlightedTitle,{title:l,defaultVariant:"displayMd",mobileVariant:"headingLg"})]}),e.jsxs("div",{className:t.default.content,children:[e.jsxs("div",{className:t.default.imageWrapper,children:[e.jsx("img",{src:r,alt:"image",className:t.default.image}),d.map((i,a)=>e.jsx(o.BenefitTag,{text:i,className:t.default[`tag${a+1}`]},a))]}),e.jsx("div",{className:t.default.benefits,children:n.map((i,a)=>e.jsx(m.BenefitItem,{index:a+1,title:i.title,description:i.description},a))})]})]});exports.Benefits=g;
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type Props = {
4
+ label: string;
5
+ title: ReactNode;
6
+ image: string;
7
+ benefits: Array<{
8
+ title: string;
9
+ description: string;
10
+ }>;
11
+ tags: Array<string>;
12
+ };
13
+ export declare const Benefits: ({ label, title, image, benefits, tags }: Props) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,53 @@
1
+ import { jsxs as r, jsx as a } from "react/jsx-runtime";
2
+ import { HighlightedTitle as c } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
+ import { BenefitTag as n } from "./components/BenefitTag/BenefitTag.es.js";
4
+ import { BenefitItem as p } from "./components/BenefitItem/BenefitItem.es.js";
5
+ import { Typography as h } from "../../components/Typography/Typography.es.js";
6
+ import e from "./benefits.module.css.es.js";
7
+ const y = ({ label: l, title: m, image: s, benefits: o, tags: d }) => /* @__PURE__ */ r("div", { className: e.root, children: [
8
+ /* @__PURE__ */ r("div", { className: e.header, children: [
9
+ /* @__PURE__ */ a(
10
+ h,
11
+ {
12
+ defaultVariant: "labelMd",
13
+ mobileVariant: "labelSm",
14
+ emphasis: !0,
15
+ className: e.label,
16
+ children: l
17
+ }
18
+ ),
19
+ /* @__PURE__ */ a(
20
+ c,
21
+ {
22
+ title: m,
23
+ defaultVariant: "displayMd",
24
+ mobileVariant: "headingLg"
25
+ }
26
+ )
27
+ ] }),
28
+ /* @__PURE__ */ r("div", { className: e.content, children: [
29
+ /* @__PURE__ */ r("div", { className: e.imageWrapper, children: [
30
+ /* @__PURE__ */ a("img", { src: s, alt: "image", className: e.image }),
31
+ d.map((t, i) => /* @__PURE__ */ a(
32
+ n,
33
+ {
34
+ text: t,
35
+ className: e[`tag${i + 1}`]
36
+ },
37
+ i
38
+ ))
39
+ ] }),
40
+ /* @__PURE__ */ a("div", { className: e.benefits, children: o.map((t, i) => /* @__PURE__ */ a(
41
+ p,
42
+ {
43
+ index: i + 1,
44
+ title: t.title,
45
+ description: t.description
46
+ },
47
+ i
48
+ )) })
49
+ ] })
50
+ ] });
51
+ export {
52
+ y as Benefits
53
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefits-module__root___DiO7c",t="benefits-module__header___wt7M5",_="benefits-module__label___sgWAr",o="benefits-module__content___Q1Nej",a="benefits-module__imageWrapper___Owwd8",n="benefits-module__image___Hq7o5",s="benefits-module__tag1___orgyD",i="benefits-module__tag2___49bdt",l="benefits-module__tag3___TYdET",g="benefits-module__benefits___psqX-",r={root:e,header:t,label:_,content:o,imageWrapper:a,image:n,tag1:s,tag2:i,tag3:l,benefits:g};exports.benefits=g;exports.content=o;exports.default=r;exports.header=t;exports.image=n;exports.imageWrapper=a;exports.label=_;exports.root=e;exports.tag1=s;exports.tag2=i;exports.tag3=l;
@@ -0,0 +1,25 @@
1
+ const e = "benefits-module__root___DiO7c", _ = "benefits-module__header___wt7M5", t = "benefits-module__label___sgWAr", o = "benefits-module__content___Q1Nej", n = "benefits-module__imageWrapper___Owwd8", s = "benefits-module__image___Hq7o5", a = "benefits-module__tag1___orgyD", i = "benefits-module__tag2___49bdt", l = "benefits-module__tag3___TYdET", b = "benefits-module__benefits___psqX-", d = {
2
+ root: e,
3
+ header: _,
4
+ label: t,
5
+ content: o,
6
+ imageWrapper: n,
7
+ image: s,
8
+ tag1: a,
9
+ tag2: i,
10
+ tag3: l,
11
+ benefits: b
12
+ };
13
+ export {
14
+ b as benefits,
15
+ o as content,
16
+ d as default,
17
+ _ as header,
18
+ s as image,
19
+ n as imageWrapper,
20
+ t as label,
21
+ e as root,
22
+ a as tag1,
23
+ i as tag2,
24
+ l as tag3
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../../../components/Typography/Typography.cjs.js"),a=require("./benefitItem.module.css.cjs.js"),l=({index:i,title:n,description:r})=>e.jsxs("div",{className:a.default.benefit,children:[e.jsx(t.Typography,{defaultVariant:"labelXl",emphasis:!0,className:a.default.benefitIndex,children:`(0${i})`}),e.jsxs("div",{className:a.default.benefitDetails,children:[e.jsx(t.Typography,{defaultVariant:"headingLg",mobileVariant:"headingXs",className:a.default.benefitTitle,children:n}),e.jsx(t.Typography,{defaultVariant:"bodyMd",mobileVariant:"bodySm",className:a.default.benefitDesc,children:r})]})]});exports.BenefitItem=l;
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ index: number;
3
+ title: string;
4
+ description: string;
5
+ };
6
+ export declare const BenefitItem: ({ index, title, description }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,37 @@
1
+ import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
+ import { Typography as i } from "../../../../components/Typography/Typography.es.js";
3
+ import e from "./benefitItem.module.css.es.js";
4
+ const o = ({ index: l, title: n, description: r }) => /* @__PURE__ */ t("div", { className: e.benefit, children: [
5
+ /* @__PURE__ */ a(
6
+ i,
7
+ {
8
+ defaultVariant: "labelXl",
9
+ emphasis: !0,
10
+ className: e.benefitIndex,
11
+ children: `(0${l})`
12
+ }
13
+ ),
14
+ /* @__PURE__ */ t("div", { className: e.benefitDetails, children: [
15
+ /* @__PURE__ */ a(
16
+ i,
17
+ {
18
+ defaultVariant: "headingLg",
19
+ mobileVariant: "headingXs",
20
+ className: e.benefitTitle,
21
+ children: n
22
+ }
23
+ ),
24
+ /* @__PURE__ */ a(
25
+ i,
26
+ {
27
+ defaultVariant: "bodyMd",
28
+ mobileVariant: "bodySm",
29
+ className: e.benefitDesc,
30
+ children: r
31
+ }
32
+ )
33
+ ] })
34
+ ] });
35
+ export {
36
+ o as BenefitItem
37
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefitItem-module__benefit___yL87M",t="benefitItem-module__benefitIndex___I0-tr",n="benefitItem-module__benefitDetails___nw6dI",i={benefit:e,benefitIndex:t,benefitDetails:n};exports.benefit=e;exports.benefitDetails=n;exports.benefitIndex=t;exports.default=i;
@@ -0,0 +1,11 @@
1
+ const e = "benefitItem-module__benefit___yL87M", t = "benefitItem-module__benefitIndex___I0-tr", n = "benefitItem-module__benefitDetails___nw6dI", i = {
2
+ benefit: e,
3
+ benefitIndex: t,
4
+ benefitDetails: n
5
+ };
6
+ export {
7
+ e as benefit,
8
+ n as benefitDetails,
9
+ t as benefitIndex,
10
+ i as default
11
+ };
@@ -0,0 +1 @@
1
+ export { BenefitItem } from './BenefitItem';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./benefitTag.module.css.cjs.js"),n=require("../../../../components/Typography/Typography.cjs.js"),i=require("../../../../utils/cn/cn.cjs.js"),o=({text:t,className:a})=>e.jsx("div",{className:i.cn(r.default.root,a),children:e.jsx(n.Typography,{emphasis:!0,defaultVariant:"labelLg",mobileVariant:"labelSm",className:r.default.benefitTag,children:t})});exports.BenefitTag=o;
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ text: string;
3
+ className: string;
4
+ };
5
+ export declare const BenefitTag: ({ text, className }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,17 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import e from "./benefitTag.module.css.es.js";
3
+ import { Typography as o } from "../../../../components/Typography/Typography.es.js";
4
+ import { cn as i } from "../../../../utils/cn/cn.es.js";
5
+ const p = ({ text: a, className: t }) => /* @__PURE__ */ r("div", { className: i(e.root, t), children: /* @__PURE__ */ r(
6
+ o,
7
+ {
8
+ emphasis: !0,
9
+ defaultVariant: "labelLg",
10
+ mobileVariant: "labelSm",
11
+ className: e.benefitTag,
12
+ children: a
13
+ }
14
+ ) });
15
+ export {
16
+ p as BenefitTag
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefitTag-module__root___8-WMf",t="benefitTag-module__benefitTag___9R-qj",o={root:e,benefitTag:t};exports.benefitTag=t;exports.default=o;exports.root=e;
@@ -0,0 +1,9 @@
1
+ const e = "benefitTag-module__root___8-WMf", t = "benefitTag-module__benefitTag___9R-qj", o = {
2
+ root: e,
3
+ benefitTag: t
4
+ };
5
+ export {
6
+ t as benefitTag,
7
+ o as default,
8
+ e as root
9
+ };
@@ -0,0 +1 @@
1
+ export { BenefitTag } from './BenefitTag';
@@ -0,0 +1,2 @@
1
+ export { BenefitTag } from './BenefitTag';
2
+ export { BenefitItem } from './BenefitItem';
@@ -0,0 +1 @@
1
+ export { Benefits } from './Benefits';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/Callback/Callback.cjs.js"),s=require("../../components/Icon/Icon.cjs.js"),n=require("../../components/Icon/constants.cjs.js"),r=require("../../components/Typography/Typography.cjs.js"),c=require("./callback.module.css.cjs.js"),l=[{icon:n.EIconName.HEART,description:"No hidden fees"},{icon:n.EIconName.PROTOCOLS,description:"Personalized Protocols"},{icon:n.EIconName.PACKAGE,description:"Free Shipping"},{icon:n.EIconName.MESSAGE,description:"Doctor & Clinical Team"}];function t({callback:i}){return e.jsx("div",{className:c.default.container,children:e.jsxs("div",{className:c.default.content,children:[e.jsx(a.Callback,{...i}),e.jsx("div",{className:c.default.icons,children:l.map(o=>e.jsxs("div",{className:c.default.icon,children:[e.jsx(s.Icon,{name:o.icon}),e.jsx(r.Typography,{defaultVariant:"labelXl",children:o.description})]},o.description))})]})})}exports.CallbackModule=t;
@@ -1,4 +1,4 @@
1
- import { CallbackProps } from '../../components';
1
+ import { CallbackProps } from '../../components/Callback';
2
2
 
3
3
  export type CallbackModuleProps = {
4
4
  callback: CallbackProps;
@@ -0,0 +1,36 @@
1
+ import { jsx as i, jsxs as r } from "react/jsx-runtime";
2
+ import { Callback as a } from "../../components/Callback/Callback.es.js";
3
+ import { Icon as s } from "../../components/Icon/Icon.es.js";
4
+ import { EIconName as o } from "../../components/Icon/constants.es.js";
5
+ import { Typography as l } from "../../components/Typography/Typography.es.js";
6
+ import n from "./callback.module.css.es.js";
7
+ const t = [
8
+ {
9
+ icon: o.HEART,
10
+ description: "No hidden fees"
11
+ },
12
+ {
13
+ icon: o.PROTOCOLS,
14
+ description: "Personalized Protocols"
15
+ },
16
+ {
17
+ icon: o.PACKAGE,
18
+ description: "Free Shipping"
19
+ },
20
+ {
21
+ icon: o.MESSAGE,
22
+ description: "Doctor & Clinical Team"
23
+ }
24
+ ];
25
+ function N({ callback: e }) {
26
+ return /* @__PURE__ */ i("div", { className: n.container, children: /* @__PURE__ */ r("div", { className: n.content, children: [
27
+ /* @__PURE__ */ i(a, { ...e }),
28
+ /* @__PURE__ */ i("div", { className: n.icons, children: t.map((c) => /* @__PURE__ */ r("div", { className: n.icon, children: [
29
+ /* @__PURE__ */ i(s, { name: c.icon }),
30
+ /* @__PURE__ */ i(l, { defaultVariant: "labelXl", children: c.description })
31
+ ] }, c.description)) })
32
+ ] }) });
33
+ }
34
+ export {
35
+ N as CallbackModule
36
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n="callback-module__container___DtDyZ",c="callback-module__content___f04-o",o="callback-module__icons___bhRnM",t="callback-module__icon___Q2van",e={container:n,content:c,icons:o,icon:t};exports.container=n;exports.content=c;exports.default=e;exports.icon=t;exports.icons=o;
@@ -0,0 +1,13 @@
1
+ const c = "callback-module__container___DtDyZ", n = "callback-module__content___f04-o", o = "callback-module__icons___bhRnM", _ = "callback-module__icon___Q2van", t = {
2
+ container: c,
3
+ content: n,
4
+ icons: o,
5
+ icon: _
6
+ };
7
+ export {
8
+ c as container,
9
+ n as content,
10
+ t as default,
11
+ _ as icon,
12
+ o as icons
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),h=require("../../components/Icon/Icon.cjs.js"),u=require("../../components/Icon/constants.cjs.js"),p=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),d=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),f=require("./assets/company-logo.svg.cjs.js"),g=require("./components/ComparisonMobileView/ComparisonMobileView.cjs.js"),e=require("./comparison.module.css.cjs.js"),o=require("./utils.cjs.js"),y=({title:m,description:r,comparison:i})=>a.jsxs("div",{className:e.default.root,children:[a.jsxs("div",{className:e.default.header,children:[a.jsx(p.HighlightedTitle,{title:m,defaultVariant:"displayMd",mobileVariant:"headingXl"}),r&&a.jsx(d.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",className:e.default.description,children:r})]}),a.jsxs("div",{className:e.default.table,style:{gridTemplateColumns:`minmax(220px, 1fr) repeat(${i.headers.length}, minmax(220px, 270px))`},children:[a.jsx("div",{className:s.cn(e.default.emptyCell,e.default.stickyCell)}),a.jsx("div",{className:s.cn(e.default.otherEmptyCells)}),a.jsx(d.Typography,{defaultVariant:"bodyXl",as:"div",className:s.cn(e.default.cell,e.default.cellFeature,e.default.stickyCell),weight:"medium",children:"Features"}),i.headers.map(l=>a.jsx(d.Typography,{as:"div",defaultVariant:i.headers.length>2?"bodyXl":"headingLg",className:s.cn(e.default.cell,o.isHealthspan(l)?e.default.cellHighlighted:""),weight:i.headers.length>2?"medium":"regular",children:o.isHealthspan(l)?a.jsx(f.default,{className:e.default.companyLogo}):l},l)),i.rows.map((l,c)=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:s.cn(e.default.cell,e.default.cellFeature,e.default.stickyCell),children:a.jsxs("div",{className:e.default.featureContent,children:[a.jsx(d.Typography,{defaultVariant:"bodyXl",weight:"medium",children:l.feature}),l.description&&a.jsx(d.Typography,{defaultVariant:"bodyXl",className:e.default.featureDescription,children:l.description})]})},`feature-${c}`),i.headers.map((j,n)=>{const t=l.values[n];return a.jsxs("div",{className:s.cn(e.default.cell,n?"":e.default.cellHighlighted),children:[(t==null?void 0:t.type)==="boolean"&&a.jsx("div",{className:s.cn(e.default.booleanValue,!n&&t.value?e.default.booleanValueHighlighted:""),children:a.jsx(h.Icon,{name:t.value?u.EIconName.CHECK:u.EIconName.CLOSE})}),(t==null?void 0:t.type)==="string"&&a.jsx(d.Typography,{defaultVariant:"bodyXl",weight:"medium",className:e.default.stringValue,children:t.value})]},`value-${c}-${n}`)})]})),a.jsx("div",{className:s.cn(e.default.emptyCell,e.default.stickyCell)}),a.jsx("div",{className:s.cn(e.default.otherEmptyCells)}),a.jsx("div",{className:e.default.gradientBackground})]}),a.jsx(g.ComparisonMobileView,{comparison:i,className:e.default.mobileTable})]});exports.Comparison=y;
@@ -0,0 +1,86 @@
1
+ import { jsxs as s, jsx as a, Fragment as g } from "react/jsx-runtime";
2
+ import { Icon as u } from "../../components/Icon/Icon.es.js";
3
+ import { EIconName as c } from "../../components/Icon/constants.es.js";
4
+ import { HighlightedTitle as y } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
5
+ import { Typography as m } from "../../components/Typography/Typography.es.js";
6
+ import { cn as t } from "../../utils/cn/cn.es.js";
7
+ import f from "./assets/company-logo.svg.es.js";
8
+ import { ComparisonMobileView as N } from "./components/ComparisonMobileView/ComparisonMobileView.es.js";
9
+ import e from "./comparison.module.css.es.js";
10
+ import { isHealthspan as h } from "./utils.es.js";
11
+ const T = ({ title: p, description: o, comparison: r }) => /* @__PURE__ */ s("div", { className: e.root, children: [
12
+ /* @__PURE__ */ s("div", { className: e.header, children: [
13
+ /* @__PURE__ */ a(y, { title: p, defaultVariant: "displayMd", mobileVariant: "headingXl" }),
14
+ o && /* @__PURE__ */ a(m, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", className: e.description, children: o })
15
+ ] }),
16
+ /* @__PURE__ */ s(
17
+ "div",
18
+ {
19
+ className: e.table,
20
+ style: {
21
+ gridTemplateColumns: `minmax(220px, 1fr) repeat(${r.headers.length}, minmax(220px, 270px))`
22
+ },
23
+ children: [
24
+ /* @__PURE__ */ a("div", { className: t(e.emptyCell, e.stickyCell) }),
25
+ /* @__PURE__ */ a("div", { className: t(e.otherEmptyCells) }),
26
+ /* @__PURE__ */ a(
27
+ m,
28
+ {
29
+ defaultVariant: "bodyXl",
30
+ as: "div",
31
+ className: t(e.cell, e.cellFeature, e.stickyCell),
32
+ weight: "medium",
33
+ children: "Features"
34
+ }
35
+ ),
36
+ r.headers.map((l) => /* @__PURE__ */ a(
37
+ m,
38
+ {
39
+ as: "div",
40
+ defaultVariant: r.headers.length > 2 ? "bodyXl" : "headingLg",
41
+ className: t(e.cell, h(l) ? e.cellHighlighted : ""),
42
+ weight: r.headers.length > 2 ? "medium" : "regular",
43
+ children: h(l) ? /* @__PURE__ */ a(f, { className: e.companyLogo }) : l
44
+ },
45
+ l
46
+ )),
47
+ r.rows.map((l, n) => /* @__PURE__ */ s(g, { children: [
48
+ /* @__PURE__ */ a("div", { className: t(e.cell, e.cellFeature, e.stickyCell), children: /* @__PURE__ */ s("div", { className: e.featureContent, children: [
49
+ /* @__PURE__ */ a(m, { defaultVariant: "bodyXl", weight: "medium", children: l.feature }),
50
+ l.description && /* @__PURE__ */ a(m, { defaultVariant: "bodyXl", className: e.featureDescription, children: l.description })
51
+ ] }) }, `feature-${n}`),
52
+ r.headers.map((v, d) => {
53
+ const i = l.values[d];
54
+ return /* @__PURE__ */ s(
55
+ "div",
56
+ {
57
+ className: t(e.cell, d ? "" : e.cellHighlighted),
58
+ children: [
59
+ (i == null ? void 0 : i.type) === "boolean" && /* @__PURE__ */ a(
60
+ "div",
61
+ {
62
+ className: t(
63
+ e.booleanValue,
64
+ !d && i.value ? e.booleanValueHighlighted : ""
65
+ ),
66
+ children: /* @__PURE__ */ a(u, { name: i.value ? c.CHECK : c.CLOSE })
67
+ }
68
+ ),
69
+ (i == null ? void 0 : i.type) === "string" && /* @__PURE__ */ a(m, { defaultVariant: "bodyXl", weight: "medium", className: e.stringValue, children: i.value })
70
+ ]
71
+ },
72
+ `value-${n}-${d}`
73
+ );
74
+ })
75
+ ] })),
76
+ /* @__PURE__ */ a("div", { className: t(e.emptyCell, e.stickyCell) }),
77
+ /* @__PURE__ */ a("div", { className: t(e.otherEmptyCells) }),
78
+ /* @__PURE__ */ a("div", { className: e.gradientBackground })
79
+ ]
80
+ }
81
+ ),
82
+ /* @__PURE__ */ a(N, { comparison: r, className: e.mobileTable })
83
+ ] });
84
+ export {
85
+ T as Comparison
86
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react");function r(C){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(C){for(const e in C)if(e!=="default"){const V=Object.getOwnPropertyDescriptor(C,e);Object.defineProperty(t,e,V.get?V:{enumerable:!0,get:()=>C[e]})}}return t.default=C,Object.freeze(t)}const n=r(o),H=C=>n.createElement("svg",{width:160,height:32,viewBox:"0 0 160 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C},n.createElement("path",{d:"M51.056 6.4704C50.1504 6.4704 49.3088 6.7456 48.288 7.3888C49.7216 7.8944 50.2624 9.1328 50.2624 11.6256V11.7376L45.4848 14.4064C41.6608 16.5568 39.888 18.1056 39.888 20.9536C39.888 23.3888 42.0736 25.0336 44.4128 25.0336C46.752 25.0336 48.8736 23.7088 50.2656 20.8256V24.7616H54.0608V10.6144C54.0608 7.7984 53.0496 6.4704 51.056 6.4704ZM50.2656 20.7584C48.8096 22.1632 47.6224 22.5664 46.2496 22.5664C44.9536 22.5664 43.5936 21.5552 43.5936 19.9744C43.5936 17.728 44.5088 16.272 47.5776 14.5024L50.2656 12.9472V20.7584ZM73.6512 21.888L73.6832 21.92C72.3072 24.2016 70.9344 25.0336 68.8096 25.0336C66.528 25.0336 64.9856 23.5072 64.9856 20.6656V0H68.8064V6.7392H73.1744V8.1056H68.8064V20.1216C68.8064 21.9008 69.9936 22.8608 71.3056 22.8608C72.0864 22.8608 72.9344 22.544 73.6512 21.888ZM25.52 13.3792C25.4432 13.9488 25.4048 14.528 25.4048 15.0976C25.4048 19.6256 28.496 22.1344 32.3072 22.1344C34.7136 22.1344 36.4928 21.072 37.7728 19.3536L37.8368 19.3856C37.1168 22.1024 34.496 25.0368 30.56 25.0368C25.44 25.0368 21.568 21.2064 21.568 15.9264C21.568 10.6464 24.5984 7.504 28.72 7.504H28.9088C27.2576 8.4928 26.2656 10.1952 25.7792 12.0928H33.968C33.6544 9.2512 31.6896 7.7216 28.9088 7.504C29.8464 6.9408 30.9888 6.4672 32.3328 6.4672C35.5168 6.4672 37.8688 9.3184 37.9328 13.3792H25.52ZM14.4704 0H18.5664V24.7616H14.4704V13.3824H4.096V24.7616H0V0H4.096V12.016H14.4704V0ZM48.288 7.3888L41.7888 11.5296V8.272C42.992 7.5424 44.5696 7.1008 46.1504 7.1008C47.0208 7.1008 47.7216 7.1904 48.288 7.3888ZM57.6096 0H61.4336V24.7616H57.6096V0ZM138.976 6.4704C138.07 6.4704 137.229 6.7456 136.208 7.3888C137.642 7.8944 138.182 9.1328 138.182 11.6256V11.7376L133.405 14.4064C129.581 16.5568 127.808 18.1056 127.808 20.9536C127.808 23.3888 129.994 25.0336 132.333 25.0336C134.672 25.0336 136.794 23.7088 138.186 20.8256V24.7616H141.981V10.6144C141.981 7.7984 140.97 6.4704 138.976 6.4704ZM138.186 20.7584C136.73 22.1632 135.542 22.5664 134.17 22.5664C132.874 22.5664 131.514 21.5552 131.514 19.9744C131.514 17.728 132.429 16.272 135.498 14.5024L138.186 12.9472V20.7584ZM136.208 7.3888L129.709 11.5296V8.272C130.912 7.5424 132.49 7.1008 134.07 7.1008C134.941 7.1008 135.642 7.1904 136.208 7.3888ZM160 10.8352V24.7616H156.176V11.3824C156.176 9.5104 155.395 8.432 153.834 8.432C152.896 8.432 151.35 8.6816 149.35 9.744V24.7584H145.526V6.7392H149.35V9.68C151.568 7.152 153.994 6.4672 155.904 6.4672C158.589 6.4672 160 8.0544 160 10.8352ZM119.162 6.4672C116.726 6.4672 114.24 7.4048 112.493 9.6832V6.7392H108.669V32H112.493V24.7232C113.056 24.88 113.728 25.0336 114.355 25.0336C116.01 25.0336 117.478 24.5952 118.696 23.7872C121.819 24.6256 126.144 20.5584 126.144 14.6592C126.144 9.9744 123.411 6.4672 119.162 6.4672ZM118.696 23.7856L112.496 21.9936V9.7152C113.651 9.0272 115.011 8.4672 116.323 8.4672C120.038 8.4672 122.323 11.1232 122.323 16.0256C122.323 19.4624 120.976 22.288 118.696 23.7856ZM93.6512 21.2128L99.888 24.5152C99.0432 24.8256 97.9904 25.0336 96.928 25.0336C95.8656 25.0336 94.6816 24.8256 93.6512 24.4192V21.2128ZM90.3776 10.5632V24.7616H86.5536V11.3824C86.5536 9.5104 85.7728 8.432 84.2112 8.432C83.2736 8.432 81.728 8.6816 79.728 9.744V24.7616H75.904V0H79.728V9.68C81.9456 7.152 84.3712 6.4672 86.2816 6.4672C88.9664 6.4672 90.3776 7.7824 90.3776 10.5632ZM105.824 20.4224C105.824 23.1712 103.872 25.0336 101.654 25.0336C101.155 25.0336 100.33 24.7648 99.8912 24.5152C101.328 23.952 102.326 22.9824 102.326 21.7344C102.326 20.3936 101.67 19.456 97.984 16.5824C94.4544 13.8336 93.7056 12.672 93.7056 10.9536C93.7056 8.2336 96.3296 6.3616 98.9216 7.392C97.8912 7.8912 97.2032 8.672 97.2032 9.7024C97.2032 10.8256 97.984 11.856 101.325 14.3552C104.698 16.8544 105.824 18.2048 105.824 20.4224ZM105.12 10.288L98.9216 7.392C99.9808 6.8928 101.258 6.4672 102.662 6.4672C103.536 6.4672 104.621 6.7392 105.12 7.0176V10.288Z",fill:"#FEF38E"}));exports.default=H;
@@ -0,0 +1,5 @@
1
+ import * as C from "react";
2
+ const H = (V) => /* @__PURE__ */ C.createElement("svg", { width: 160, height: 32, viewBox: "0 0 160 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...V }, /* @__PURE__ */ C.createElement("path", { d: "M51.056 6.4704C50.1504 6.4704 49.3088 6.7456 48.288 7.3888C49.7216 7.8944 50.2624 9.1328 50.2624 11.6256V11.7376L45.4848 14.4064C41.6608 16.5568 39.888 18.1056 39.888 20.9536C39.888 23.3888 42.0736 25.0336 44.4128 25.0336C46.752 25.0336 48.8736 23.7088 50.2656 20.8256V24.7616H54.0608V10.6144C54.0608 7.7984 53.0496 6.4704 51.056 6.4704ZM50.2656 20.7584C48.8096 22.1632 47.6224 22.5664 46.2496 22.5664C44.9536 22.5664 43.5936 21.5552 43.5936 19.9744C43.5936 17.728 44.5088 16.272 47.5776 14.5024L50.2656 12.9472V20.7584ZM73.6512 21.888L73.6832 21.92C72.3072 24.2016 70.9344 25.0336 68.8096 25.0336C66.528 25.0336 64.9856 23.5072 64.9856 20.6656V0H68.8064V6.7392H73.1744V8.1056H68.8064V20.1216C68.8064 21.9008 69.9936 22.8608 71.3056 22.8608C72.0864 22.8608 72.9344 22.544 73.6512 21.888ZM25.52 13.3792C25.4432 13.9488 25.4048 14.528 25.4048 15.0976C25.4048 19.6256 28.496 22.1344 32.3072 22.1344C34.7136 22.1344 36.4928 21.072 37.7728 19.3536L37.8368 19.3856C37.1168 22.1024 34.496 25.0368 30.56 25.0368C25.44 25.0368 21.568 21.2064 21.568 15.9264C21.568 10.6464 24.5984 7.504 28.72 7.504H28.9088C27.2576 8.4928 26.2656 10.1952 25.7792 12.0928H33.968C33.6544 9.2512 31.6896 7.7216 28.9088 7.504C29.8464 6.9408 30.9888 6.4672 32.3328 6.4672C35.5168 6.4672 37.8688 9.3184 37.9328 13.3792H25.52ZM14.4704 0H18.5664V24.7616H14.4704V13.3824H4.096V24.7616H0V0H4.096V12.016H14.4704V0ZM48.288 7.3888L41.7888 11.5296V8.272C42.992 7.5424 44.5696 7.1008 46.1504 7.1008C47.0208 7.1008 47.7216 7.1904 48.288 7.3888ZM57.6096 0H61.4336V24.7616H57.6096V0ZM138.976 6.4704C138.07 6.4704 137.229 6.7456 136.208 7.3888C137.642 7.8944 138.182 9.1328 138.182 11.6256V11.7376L133.405 14.4064C129.581 16.5568 127.808 18.1056 127.808 20.9536C127.808 23.3888 129.994 25.0336 132.333 25.0336C134.672 25.0336 136.794 23.7088 138.186 20.8256V24.7616H141.981V10.6144C141.981 7.7984 140.97 6.4704 138.976 6.4704ZM138.186 20.7584C136.73 22.1632 135.542 22.5664 134.17 22.5664C132.874 22.5664 131.514 21.5552 131.514 19.9744C131.514 17.728 132.429 16.272 135.498 14.5024L138.186 12.9472V20.7584ZM136.208 7.3888L129.709 11.5296V8.272C130.912 7.5424 132.49 7.1008 134.07 7.1008C134.941 7.1008 135.642 7.1904 136.208 7.3888ZM160 10.8352V24.7616H156.176V11.3824C156.176 9.5104 155.395 8.432 153.834 8.432C152.896 8.432 151.35 8.6816 149.35 9.744V24.7584H145.526V6.7392H149.35V9.68C151.568 7.152 153.994 6.4672 155.904 6.4672C158.589 6.4672 160 8.0544 160 10.8352ZM119.162 6.4672C116.726 6.4672 114.24 7.4048 112.493 9.6832V6.7392H108.669V32H112.493V24.7232C113.056 24.88 113.728 25.0336 114.355 25.0336C116.01 25.0336 117.478 24.5952 118.696 23.7872C121.819 24.6256 126.144 20.5584 126.144 14.6592C126.144 9.9744 123.411 6.4672 119.162 6.4672ZM118.696 23.7856L112.496 21.9936V9.7152C113.651 9.0272 115.011 8.4672 116.323 8.4672C120.038 8.4672 122.323 11.1232 122.323 16.0256C122.323 19.4624 120.976 22.288 118.696 23.7856ZM93.6512 21.2128L99.888 24.5152C99.0432 24.8256 97.9904 25.0336 96.928 25.0336C95.8656 25.0336 94.6816 24.8256 93.6512 24.4192V21.2128ZM90.3776 10.5632V24.7616H86.5536V11.3824C86.5536 9.5104 85.7728 8.432 84.2112 8.432C83.2736 8.432 81.728 8.6816 79.728 9.744V24.7616H75.904V0H79.728V9.68C81.9456 7.152 84.3712 6.4672 86.2816 6.4672C88.9664 6.4672 90.3776 7.7824 90.3776 10.5632ZM105.824 20.4224C105.824 23.1712 103.872 25.0336 101.654 25.0336C101.155 25.0336 100.33 24.7648 99.8912 24.5152C101.328 23.952 102.326 22.9824 102.326 21.7344C102.326 20.3936 101.67 19.456 97.984 16.5824C94.4544 13.8336 93.7056 12.672 93.7056 10.9536C93.7056 8.2336 96.3296 6.3616 98.9216 7.392C97.8912 7.8912 97.2032 8.672 97.2032 9.7024C97.2032 10.8256 97.984 11.856 101.325 14.3552C104.698 16.8544 105.824 18.2048 105.824 20.4224ZM105.12 10.288L98.9216 7.392C99.9808 6.8928 101.258 6.4672 102.662 6.4672C103.536 6.4672 104.621 6.7392 105.12 7.0176V10.288Z", fill: "#FEF38E" }));
3
+ export {
4
+ H as default
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="comparison-module__root___oxRMS",o="comparison-module__header___8n5Em",l="comparison-module__description___F7mAT",t="comparison-module__table___xo0kv",_="comparison-module__emptyCell___Z-HpK",a="comparison-module__otherEmptyCells___Lso-e",n="comparison-module__cell___9EubB",i="comparison-module__cellFeature___lLq8H",r="comparison-module__featureContent___Mrbek",c="comparison-module__featureDescription___8YGHq",s="comparison-module__cellHighlighted___P14Jz",u="comparison-module__booleanValue___-wG65",m="comparison-module__stringValue___-YalT",d="comparison-module__booleanValueHighlighted___NmSLw",p="comparison-module__gradientBackground___LjwhY",g="comparison-module__stickyCell___zXlQv",h="comparison-module__mobileTable___hxH2j",b={root:e,header:o,description:l,table:t,emptyCell:_,otherEmptyCells:a,cell:n,cellFeature:i,featureContent:r,featureDescription:c,cellHighlighted:s,booleanValue:u,stringValue:m,booleanValueHighlighted:d,gradientBackground:p,stickyCell:g,mobileTable:h};exports.booleanValue=u;exports.booleanValueHighlighted=d;exports.cell=n;exports.cellFeature=i;exports.cellHighlighted=s;exports.default=b;exports.description=l;exports.emptyCell=_;exports.featureContent=r;exports.featureDescription=c;exports.gradientBackground=p;exports.header=o;exports.mobileTable=h;exports.otherEmptyCells=a;exports.root=e;exports.stickyCell=g;exports.stringValue=m;exports.table=t;
@@ -0,0 +1,39 @@
1
+ const e = "comparison-module__root___oxRMS", o = "comparison-module__header___8n5Em", l = "comparison-module__description___F7mAT", _ = "comparison-module__table___xo0kv", t = "comparison-module__emptyCell___Z-HpK", n = "comparison-module__otherEmptyCells___Lso-e", a = "comparison-module__cell___9EubB", c = "comparison-module__cellFeature___lLq8H", s = "comparison-module__featureContent___Mrbek", i = "comparison-module__featureDescription___8YGHq", r = "comparison-module__cellHighlighted___P14Jz", m = "comparison-module__booleanValue___-wG65", u = "comparison-module__stringValue___-YalT", d = "comparison-module__booleanValueHighlighted___NmSLw", p = "comparison-module__gradientBackground___LjwhY", g = "comparison-module__stickyCell___zXlQv", h = "comparison-module__mobileTable___hxH2j", b = {
2
+ root: e,
3
+ header: o,
4
+ description: l,
5
+ table: _,
6
+ emptyCell: t,
7
+ otherEmptyCells: n,
8
+ cell: a,
9
+ cellFeature: c,
10
+ featureContent: s,
11
+ featureDescription: i,
12
+ cellHighlighted: r,
13
+ booleanValue: m,
14
+ stringValue: u,
15
+ booleanValueHighlighted: d,
16
+ gradientBackground: p,
17
+ stickyCell: g,
18
+ mobileTable: h
19
+ };
20
+ export {
21
+ m as booleanValue,
22
+ d as booleanValueHighlighted,
23
+ a as cell,
24
+ c as cellFeature,
25
+ r as cellHighlighted,
26
+ b as default,
27
+ l as description,
28
+ t as emptyCell,
29
+ s as featureContent,
30
+ i as featureDescription,
31
+ p as gradientBackground,
32
+ o as header,
33
+ h as mobileTable,
34
+ n as otherEmptyCells,
35
+ e as root,
36
+ g as stickyCell,
37
+ u as stringValue,
38
+ _ as table
39
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),r=require("../../../../components/Icon/constants.cjs.js"),f=require("../../../../components/FilterMenu/FilterMenu.cjs.js"),m=require("../../../../components/Icon/Icon.cjs.js"),c=require("../../../../components/Typography/Typography.cjs.js"),i=require("../../../../utils/cn/cn.cjs.js"),v=require("../../assets/company-logo.svg.cjs.js"),l=require("./comparisonMobileView.module.css.cjs.js"),d=s=>s?s.type==="string"?e.jsx(c.Typography,{defaultVariant:"bodyMd",as:"div",children:s.value}):e.jsx("div",{className:i.cn(l.default.iconCell,s.value?l.default.iconCellHighlighted:""),children:e.jsx(m.Icon,{name:s.value?r.EIconName.CHECK:r.EIconName.CLOSE,className:l.default.icon})}):null,p=s=>s.slice(1).map((t,a)=>({values:[{value:a+1,label:t}]})),g=({comparison:s,className:t})=>{const[a,o]=h.useState(1);return e.jsxs("div",{className:i.cn(l.default.root,t),children:[s.headers.length>2&&e.jsx("div",{children:e.jsx(f.FilterMenu,{options:p(s.headers),label:"Select comparison",selectedValue:a,onSelect:o})}),e.jsxs("div",{className:l.default.table,children:[e.jsxs("div",{className:l.default.headers,children:[e.jsx("div",{className:i.cn(l.default.cell,l.default.cellHighlighted),children:e.jsx(v.default,{className:l.default.companyLogo})}),e.jsx(c.Typography,{as:"div",defaultVariant:"bodyXl",className:l.default.cell,children:s.headers[a]})]}),s.rows.map((n,u)=>e.jsxs("div",{className:l.default.feature,children:[e.jsx(c.Typography,{defaultVariant:"bodyLg",as:"div",weight:"medium",children:n.feature}),e.jsxs("div",{className:l.default.row,children:[e.jsx("div",{className:l.default.cell,children:d(n.values[0])}),e.jsx("div",{className:l.default.cell,children:d(n.values[a])})]})]},`feature-${u}`))]})]})};exports.ComparisonMobileView=g;
@@ -0,0 +1,42 @@
1
+ "use client";
2
+ import { jsxs as r, jsx as a } from "react/jsx-runtime";
3
+ import { useState as v } from "react";
4
+ import { EIconName as n } from "../../../../components/Icon/constants.es.js";
5
+ import { FilterMenu as u } from "../../../../components/FilterMenu/FilterMenu.es.js";
6
+ import { Icon as f } from "../../../../components/Icon/Icon.es.js";
7
+ import { Typography as d } from "../../../../components/Typography/Typography.es.js";
8
+ import { cn as c } from "../../../../utils/cn/cn.es.js";
9
+ import p from "../../assets/company-logo.svg.es.js";
10
+ import e from "./comparisonMobileView.module.css.es.js";
11
+ const o = (l) => l ? l.type === "string" ? /* @__PURE__ */ a(d, { defaultVariant: "bodyMd", as: "div", children: l.value }) : /* @__PURE__ */ a("div", { className: c(e.iconCell, l.value ? e.iconCellHighlighted : ""), children: /* @__PURE__ */ a(f, { name: l.value ? n.CHECK : n.CLOSE, className: e.icon }) }) : null, g = (l) => l.slice(1).map((t, i) => ({
12
+ values: [{ value: i + 1, label: t }]
13
+ })), H = ({ comparison: l, className: t }) => {
14
+ const [i, m] = v(1);
15
+ return /* @__PURE__ */ r("div", { className: c(e.root, t), children: [
16
+ l.headers.length > 2 && /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
17
+ u,
18
+ {
19
+ options: g(l.headers),
20
+ label: "Select comparison",
21
+ selectedValue: i,
22
+ onSelect: m
23
+ }
24
+ ) }),
25
+ /* @__PURE__ */ r("div", { className: e.table, children: [
26
+ /* @__PURE__ */ r("div", { className: e.headers, children: [
27
+ /* @__PURE__ */ a("div", { className: c(e.cell, e.cellHighlighted), children: /* @__PURE__ */ a(p, { className: e.companyLogo }) }),
28
+ /* @__PURE__ */ a(d, { as: "div", defaultVariant: "bodyXl", className: e.cell, children: l.headers[i] })
29
+ ] }),
30
+ l.rows.map((s, h) => /* @__PURE__ */ r("div", { className: e.feature, children: [
31
+ /* @__PURE__ */ a(d, { defaultVariant: "bodyLg", as: "div", weight: "medium", children: s.feature }),
32
+ /* @__PURE__ */ r("div", { className: e.row, children: [
33
+ /* @__PURE__ */ a("div", { className: e.cell, children: o(s.values[0]) }),
34
+ /* @__PURE__ */ a("div", { className: e.cell, children: o(s.values[i]) })
35
+ ] })
36
+ ] }, `feature-${h}`))
37
+ ] })
38
+ ] });
39
+ };
40
+ export {
41
+ H as ComparisonMobileView
42
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="comparisonMobileView-module__root___sSosN",e="comparisonMobileView-module__table___2J5UL",l="comparisonMobileView-module__headers___8E-5n",i="comparisonMobileView-module__feature___ErASb",_="comparisonMobileView-module__row___0rP2u",c="comparisonMobileView-module__cell___c-kqb",n="comparisonMobileView-module__cellHighlighted___dS4jy",t="comparisonMobileView-module__companyLogo___FOuDV",s="comparisonMobileView-module__iconCell___Agxvq",r="comparisonMobileView-module__iconCellHighlighted___xVD1a",a="comparisonMobileView-module__icon___hLpTA",d={root:o,table:e,headers:l,feature:i,row:_,cell:c,cellHighlighted:n,companyLogo:t,iconCell:s,iconCellHighlighted:r,icon:a};exports.cell=c;exports.cellHighlighted=n;exports.companyLogo=t;exports.default=d;exports.feature=i;exports.headers=l;exports.icon=a;exports.iconCell=s;exports.iconCellHighlighted=r;exports.root=o;exports.row=_;exports.table=e;