@zenpatient-org/healthspan-marketing-ui 0.2.85 → 0.2.87

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 (191) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +1 -2
  2. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +1 -2
  3. package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +0 -1
  4. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
  5. package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +0 -1
  6. package/dist/components/AnchorLinks/AnchorLinks.d.ts +0 -1
  7. package/dist/components/AnchorLinks/types.d.ts +0 -1
  8. package/dist/components/Benefit/Benefit.d.ts +1 -2
  9. package/dist/components/Button/Button.d.ts +2 -3
  10. package/dist/components/Callback/Callback.d.ts +2 -3
  11. package/dist/components/Callback/constants.d.ts +2 -3
  12. package/dist/components/Checkbox/Checkbox.d.ts +0 -1
  13. package/dist/components/ClaimBlock/ClaimBlock.d.ts +1 -2
  14. package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +0 -1
  15. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +0 -1
  16. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +0 -1
  17. package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +0 -1
  18. package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +3 -4
  19. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +1 -2
  20. package/dist/components/ComplexTooltip/types.d.ts +1 -2
  21. package/dist/components/ContentTabs/ContentTabs.d.ts +2 -3
  22. package/dist/components/ContentTabs/contentTabs.module.css +1 -0
  23. package/dist/components/Cursor/Cursor.d.ts +1 -2
  24. package/dist/components/Cursor/components/ClientCursor.d.ts +1 -2
  25. package/dist/components/Cursor/components/ServerCursor.d.ts +1 -2
  26. package/dist/components/FAQComponent/FAQComponent.d.ts +0 -1
  27. package/dist/components/FAQComponent/types.d.ts +0 -1
  28. package/dist/components/FAQComponentItem/FAQComponentItem.d.ts +0 -1
  29. package/dist/components/FAQComponentItem/types.d.ts +1 -2
  30. package/dist/components/FeaturesList/FeaturesList.d.ts +1 -2
  31. package/dist/components/FeaturesList/types.d.ts +1 -2
  32. package/dist/components/FilterError/FilterError.d.ts +0 -1
  33. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -2
  34. package/dist/components/HighlightCard/HighlightCard.d.ts +1 -2
  35. package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +3 -4
  36. package/dist/components/Icon/Icon.d.ts +0 -1
  37. package/dist/components/Icon/iconsMap.d.ts +0 -1
  38. package/dist/components/IconBracket/IconBracket.d.ts +0 -1
  39. package/dist/components/IconBracket/types.d.ts +0 -1
  40. package/dist/components/IconButton/IconButton.d.ts +2 -3
  41. package/dist/components/ImageGallery/ImageGallery.d.ts +0 -1
  42. package/dist/components/ImageGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
  43. package/dist/components/ImageGallery/imageGallery.module.css +4 -0
  44. package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +1 -2
  45. package/dist/components/Label/Label.d.ts +1 -2
  46. package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +0 -1
  47. package/dist/components/PlayButton/PlayButton.d.ts +1 -2
  48. package/dist/components/PriceDisplay/PriceDisplay.d.ts +1 -2
  49. package/dist/components/Pricing/Pricing.d.ts +0 -1
  50. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +1 -2
  51. package/dist/components/Pricing/types.d.ts +3 -4
  52. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -2
  53. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -2
  54. package/dist/components/ProductGalleryCard/types.d.ts +1 -2
  55. package/dist/components/ProductListing/ProductListing.d.ts +2 -3
  56. package/dist/components/ProductPairs/ProductPairs.d.ts +0 -1
  57. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -3
  58. package/dist/components/Quote/Quote.d.ts +1 -2
  59. package/dist/components/SmartCallout/SmartCallout.d.ts +0 -1
  60. package/dist/components/StepsCarousel/StepsCarousel.d.ts +1 -2
  61. package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -2
  62. package/dist/components/Tabs/Tabs.d.ts +1 -2
  63. package/dist/components/Tabs/TabsWithFade.d.ts +0 -1
  64. package/dist/components/Tabs/types.d.ts +1 -2
  65. package/dist/components/Tag/Tag.d.ts +2 -3
  66. package/dist/components/TextButton/TextButton.d.ts +2 -3
  67. package/dist/components/TextInput/TextInput.d.ts +0 -1
  68. package/dist/components/Typography/Typography.d.ts +2 -2
  69. package/dist/icons/arrow/arrow-forward-thin.svg +1 -1
  70. package/dist/icons/arrow/arrow-forward-thin.svg.cjs.js +1 -1
  71. package/dist/icons/arrow/arrow-forward-thin.svg.es.js +1 -1
  72. package/dist/lib/useSwiper.d.ts +2 -3
  73. package/dist/modules/BasicImageText/BasicImageText.cjs.js +1 -1
  74. package/dist/modules/BasicImageText/BasicImageText.d.ts +1 -2
  75. package/dist/modules/BasicImageText/BasicImageText.es.js +36 -34
  76. package/dist/modules/BasicImageText/basicImageText.module.css +48 -27
  77. package/dist/modules/Benefits/Benefits.d.ts +0 -1
  78. package/dist/modules/CallToAction/CallToAction.d.ts +0 -1
  79. package/dist/modules/Callback/Callback.d.ts +1 -2
  80. package/dist/modules/Claims/Claims.d.ts +0 -1
  81. package/dist/modules/Compare/Compare.d.ts +0 -1
  82. package/dist/modules/Compare/types.d.ts +2 -3
  83. package/dist/modules/Comparison/Comparison.d.ts +2 -3
  84. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -2
  85. package/dist/modules/ComparisonV2/ComparisonV2.d.ts +1 -2
  86. package/dist/modules/ComparisonV2/comparisonV2.module.css +17 -2
  87. package/dist/modules/ContentHighlight/ContentHighlight.d.ts +1 -2
  88. package/dist/modules/Curiosity/Curiosity.d.ts +0 -1
  89. package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +1 -2
  90. package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +0 -1
  91. package/dist/modules/ExpandingDetails/types.d.ts +0 -1
  92. package/dist/modules/FAQModule/FAQModule.d.ts +0 -1
  93. package/dist/modules/FAQModule/types.d.ts +0 -1
  94. package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +2 -3
  95. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +1 -2
  96. package/dist/modules/FollowTheScience/FollowTheScience.d.ts +0 -1
  97. package/dist/modules/HSModal/HSModal.d.ts +0 -1
  98. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +0 -1
  99. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +0 -1
  100. package/dist/modules/HSModal/types.d.ts +0 -1
  101. package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
  102. package/dist/modules/HSModal/useHSModal.es.js +1 -1
  103. package/dist/modules/HighestStandards/HighestStandards.d.ts +0 -1
  104. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +0 -1
  105. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +0 -1
  106. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +1 -2
  107. package/dist/modules/HighestStandards/types.d.ts +0 -1
  108. package/dist/modules/Highlight/Highlight.d.ts +1 -2
  109. package/dist/modules/HowItWorks/components/Content/Content.d.ts +0 -1
  110. package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +0 -1
  111. package/dist/modules/ImageWithText/ImageWithText.d.ts +0 -1
  112. package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +0 -1
  113. package/dist/modules/ImageWithText/types.d.ts +1 -2
  114. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -3
  115. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +1 -2
  116. package/dist/modules/IndividualProductCard/types.d.ts +2 -3
  117. package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +0 -1
  118. package/dist/modules/IndividualProductCardV2/types.d.ts +0 -1
  119. package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +0 -1
  120. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +0 -1
  121. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +0 -1
  122. package/dist/modules/LongevityPathways/types.d.ts +0 -1
  123. package/dist/modules/OptimalHealth/OptimalHealth.d.ts +2 -3
  124. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +1 -2
  125. package/dist/modules/OurProcess/OurProcess.d.ts +3 -4
  126. package/dist/modules/PairedProducts/PairedProducts.d.ts +1 -2
  127. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -2
  128. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -2
  129. package/dist/modules/ProductsDisplay/types.d.ts +1 -2
  130. package/dist/modules/ProductsDisplay/useProductsData.d.ts +3 -4
  131. package/dist/modules/ProgramDetails/ProgramDetails.cjs.js +1 -1
  132. package/dist/modules/ProgramDetails/ProgramDetails.d.ts +0 -1
  133. package/dist/modules/ProgramDetails/ProgramDetails.es.js +6 -6
  134. package/dist/modules/ProgramDetails/components/Features/Features.d.ts +1 -2
  135. package/dist/modules/ProgramDetails/programDetails.module.css +27 -0
  136. package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +0 -1
  137. package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +1 -2
  138. package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +1 -2
  139. package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +1 -2
  140. package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +1 -2
  141. package/dist/modules/ResearchFilters/ResearchFilters.d.ts +1 -2
  142. package/dist/modules/ResearchStudies/ResearchStudies.d.ts +1 -2
  143. package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +1 -2
  144. package/dist/modules/Reviews/Reviews.d.ts +0 -1
  145. package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +0 -1
  146. package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +1 -2
  147. package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +1 -2
  148. package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +1 -2
  149. package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +1 -2
  150. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +2 -3
  151. package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +1 -2
  152. package/dist/modules/StillHaveQuestions/constants.d.ts +0 -1
  153. package/dist/modules/Studies/Studies.d.ts +2 -3
  154. package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +1 -2
  155. package/dist/modules/Testimonial/Testimonial.d.ts +1 -2
  156. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +0 -1
  157. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +0 -1
  158. package/dist/modules/TextTwoImages/TextTwoImages.d.ts +1 -2
  159. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +1 -2
  160. package/dist/modules/TotalCare/TotalCare.d.ts +3 -4
  161. package/dist/modules/TotalCare/totalCare.module.css +29 -3
  162. package/dist/modules/TrackProgress/TrackProgress.d.ts +0 -1
  163. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +0 -1
  164. package/dist/modules/TypesOfTests/TypesOfTests.d.ts +2 -3
  165. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  166. package/dist/modules/YourProtocol/YourProtocol.d.ts +3 -4
  167. package/dist/modules/YourProtocol/YourProtocol.es.js +18 -9
  168. package/dist/modules/YourProtocol/types.d.ts +0 -1
  169. package/dist/modules/YourProtocol/yourProtocol.module.css +146 -44
  170. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.cjs.js +1 -1
  171. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.es.js +2 -2
  172. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.cjs.js +19 -19
  173. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.es.js +270 -270
  174. package/dist/node_modules/gsap/CustomEase.cjs.js +1 -1
  175. package/dist/node_modules/gsap/CustomEase.es.js +2 -2
  176. package/dist/node_modules/gsap/Draggable.cjs.js +1 -1
  177. package/dist/node_modules/gsap/Draggable.es.js +6 -6
  178. package/dist/node_modules/gsap/Flip.cjs.js +1 -1
  179. package/dist/node_modules/gsap/Flip.es.js +6 -6
  180. package/dist/node_modules/gsap/Observer.cjs.js +1 -1
  181. package/dist/node_modules/gsap/Observer.es.js +2 -2
  182. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +1 -1
  183. package/dist/node_modules/gsap/ScrollTrigger.es.js +2 -2
  184. package/dist/node_modules/gsap/utils/matrix.cjs.js +1 -1
  185. package/dist/node_modules/gsap/utils/matrix.es.js +2 -2
  186. package/dist/pageComponents/Banner/Banner.d.ts +1 -2
  187. package/dist/pageComponents/Footer/Footer.d.ts +0 -1
  188. package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +0 -1
  189. package/dist/types/articles.d.ts +0 -1
  190. package/dist/utils/isHsIcon.d.ts +0 -1
  191. package/package.json +1 -1
@@ -1,5 +1,4 @@
1
- import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
-
1
+ import type { TProductGalleryCardView } from '../../components/ProductGalleryCard';
3
2
  type PairedProductsProps = {
4
3
  title: string;
5
4
  button: {
@@ -1,3 +1,2 @@
1
- import { TProductsDisplay } from './types';
2
-
1
+ import type { TProductsDisplay } from './types';
3
2
  export declare const ProductsDisplay: ({ labelText, productDisplays }: TProductsDisplay) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { TTab } from '../../../../components/Tabs';
2
-
1
+ import { type TTab } from '../../../../components/Tabs';
3
2
  type Props<T extends string | number> = {
4
3
  label?: string;
5
4
  tabs: TTab<T>[];
@@ -1,5 +1,4 @@
1
- import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
-
1
+ import type { TProductGalleryCardView } from '../../components/ProductGalleryCard';
3
2
  export type TProductsDisplayView = {
4
3
  title: string;
5
4
  description?: string;
@@ -1,7 +1,6 @@
1
- import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
- import { TTab } from '../../components/Tabs';
3
- import { TProductsDisplayView } from './types';
4
-
1
+ import type { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
+ import type { TTab } from '../../components/Tabs';
3
+ import type { TProductsDisplayView } from './types';
5
4
  type UseProductsReceiveProps = {
6
5
  productDisplays: Array<TProductsDisplayView>;
7
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../src/modules/ProgramDetails/programDetails.module.css"),t=require("../../components/Typography/Typography.cjs.js"),n=require("./components/Features/Features.cjs.js"),o=({label:r,description:i,image:l,features:s})=>e.jsx("section",{className:a.root,children:e.jsxs("div",{className:a.container,children:[e.jsxs("div",{className:a.header,children:[r&&e.jsx(t.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,children:r}),e.jsx(t.Typography,{as:"p",defaultVariant:"preambleLg",mobileVariant:"preambleSm",children:i})]}),e.jsxs("div",{className:a.content,children:[e.jsx("img",{className:a.image,src:l,alt:"program detatils"}),s.length>0&&e.jsx(n.Features,{features:s})]})]})});exports.ProgramDetails=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../src/modules/ProgramDetails/programDetails.module.css"),t=require("../../components/Typography/Typography.cjs.js"),l=require("./components/Features/Features.cjs.js"),o=({label:r,description:i,image:n,features:a})=>e.jsx("section",{className:s.root,children:e.jsxs("div",{className:s.container,children:[e.jsxs("div",{className:s.header,children:[r&&e.jsx(t.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,children:r}),e.jsx(t.Typography,{as:"p",defaultVariant:"preambleLg",mobileVariant:"preambleSm",children:i})]}),e.jsxs("div",{className:s.content,children:[e.jsx("img",{className:s.image,src:n,alt:"program detatils"}),a.length>0&&e.jsx(l.Features,{features:a})]})]})});exports.ProgramDetails=o;
@@ -1,5 +1,4 @@
1
1
  import { TProgramDetailsFeature } from './types';
2
-
3
2
  type ProgramDetailsProps = {
4
3
  label?: string;
5
4
  description: string;
@@ -1,15 +1,15 @@
1
1
  import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
2
  import e from "../../modules/ProgramDetails/programDetails.module.css";
3
- import { Typography as l } from "../../components/Typography/Typography.es.js";
3
+ import { Typography as t } from "../../components/Typography/Typography.es.js";
4
4
  import { Features as o } from "./components/Features/Features.es.js";
5
- const h = ({ label: i, description: m, image: s, features: t }) => /* @__PURE__ */ a("section", { className: e.root, children: /* @__PURE__ */ r("div", { className: e.container, children: [
5
+ const h = ({ label: i, description: m, image: l, features: s }) => /* @__PURE__ */ a("section", { className: e.root, children: /* @__PURE__ */ r("div", { className: e.container, children: [
6
6
  /* @__PURE__ */ r("div", { className: e.header, children: [
7
- i && /* @__PURE__ */ a(l, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, children: i }),
8
- /* @__PURE__ */ a(l, { as: "p", defaultVariant: "preambleLg", mobileVariant: "preambleSm", children: m })
7
+ i && /* @__PURE__ */ a(t, { as: "p", defaultVariant: "labelSm", emphasis: !0, children: i }),
8
+ /* @__PURE__ */ a(t, { as: "p", defaultVariant: "preambleLg", mobileVariant: "preambleSm", children: m })
9
9
  ] }),
10
10
  /* @__PURE__ */ r("div", { className: e.content, children: [
11
- /* @__PURE__ */ a("img", { className: e.image, src: s, alt: "program detatils" }),
12
- t.length > 0 && /* @__PURE__ */ a(o, { features: t })
11
+ /* @__PURE__ */ a("img", { className: e.image, src: l, alt: "program detatils" }),
12
+ s.length > 0 && /* @__PURE__ */ a(o, { features: s })
13
13
  ] })
14
14
  ] }) });
15
15
  export {
@@ -1,5 +1,4 @@
1
- import { TProgramDetailsFeature } from '../../types';
2
-
1
+ import { type TProgramDetailsFeature } from '../../types';
3
2
  type FeaturesProps = {
4
3
  features: Array<TProgramDetailsFeature>;
5
4
  };
@@ -39,7 +39,34 @@
39
39
  aspect-ratio: 1 / 1;
40
40
  }
41
41
 
42
+ @media (width <= 1240px) {
43
+ .image {
44
+ max-width: 470px;
45
+ }
46
+ }
47
+
42
48
  @media (width <= 1024px) {
49
+ .container {
50
+ padding: 64px;
51
+ gap: 32px;
52
+ }
53
+
54
+ .content {
55
+ gap: 40px;
56
+ }
57
+
58
+ .image {
59
+ max-width: 410px;
60
+ }
61
+ }
62
+
63
+ @media (width <= 820px) {
64
+ .container {
65
+ padding: 56px 48px;
66
+ }
67
+ }
68
+
69
+ @media (width <= 768px) {
43
70
  .container {
44
71
  padding: 64px 20px 20px;
45
72
  gap: 40px;
@@ -1,5 +1,4 @@
1
1
  import { TResearchArticleView } from '../../types/articles';
2
-
3
2
  type TResearchEssentialReadingsProps = {
4
3
  readings: Array<TResearchArticleView>;
5
4
  };
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare function ReadingCard({ title, link, image, date, label, readTime }: TResearchArticleView): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import { TResearchArticleView } from '../../types/articles';
1
+ import type { TResearchArticleView } from '../../types/articles';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  type TResearchFeatured = {
5
4
  highlightedArticle: TResearchArticleView;
6
5
  articles: Array<TResearchArticleView>;
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare const FeaturedArticle: ({ image, date, readTime, title, link, trackingEvent, trackingLocation, }: TResearchArticleView) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare const HighlightedArticle: ({ label, image, date, title, link }: TResearchArticleView) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import { TTab } from '../../components/Tabs';
1
+ import { type TTab } from '../../components/Tabs';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  export type TResearchFilters = {
5
4
  tabs: Array<TTab<string>>;
6
5
  activeTab: string;
@@ -1,6 +1,5 @@
1
- import { TResearchArticleView } from '../../types/articles';
1
+ import type { TResearchArticleView } from '../../types/articles';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  type ResearchStudiesProps = {
5
4
  title: string;
6
5
  backButton?: {
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare function StudyCard({ title, link, image, date, label, readTime, trackingEvent, trackingLocation, }: TResearchArticleView): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { TReviewCard } from './types';
2
-
3
2
  type ReviewsProps = {
4
3
  rating?: {
5
4
  stars?: number;
@@ -1,3 +1,2 @@
1
1
  import { TReviewCard } from '../../types';
2
-
3
2
  export declare const ReviewCard: ({ review }: TReviewCard) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { TReviewCard } from '../../types';
2
-
1
+ import type { TReviewCard } from '../../types';
3
2
  type ReviewListProps = {
4
3
  reviews: Array<TReviewCard>;
5
4
  page: number;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export type ScienceHeroCursorProps = {
4
3
  children: React.ReactNode;
5
4
  backgroundImage: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  type ScienceClientCursorProps = {
4
3
  children: React.ReactNode;
5
4
  backgroundImage: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export declare const ScienceServerCursor: ({ children }: {
4
3
  children: React.ReactNode;
5
4
  }) => React.ReactNode;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { TContentTab } from '../../components/ContentTabs';
3
-
1
+ import { type ReactNode } from 'react';
2
+ import { type TContentTab } from '../../components/ContentTabs';
4
3
  export type SlidingTabsGalleryProps = {
5
4
  title: ReactNode;
6
5
  tabs: ReadonlyArray<TContentTab>;
@@ -1,5 +1,4 @@
1
- import { ReactNode } from 'react';
2
-
1
+ import type { ReactNode } from 'react';
3
2
  export type StillHaveQuestionsVariant = 'StillHaveQuestions' | 'JoinOurTeam';
4
3
  export type StillHaveQuestionsProps = {
5
4
  variant?: StillHaveQuestionsVariant;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { StillHaveQuestionsVariant } from './StillHaveQuestions';
3
-
4
3
  export declare const LEGACY_CONFIG: Record<StillHaveQuestionsVariant, {
5
4
  title: ReactNode;
6
5
  button: {
@@ -1,7 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { StudyGridCardProps } from '../../components/StudyGridCard/StudyGridCard';
1
+ import type { ReactNode } from 'react';
2
+ import { type StudyGridCardProps } from '../../components/StudyGridCard/StudyGridCard';
3
3
  import { EAnalyticsEvent } from '../../types/analytics';
4
-
5
4
  export type StudiesProps = {
6
5
  title: ReactNode;
7
6
  description?: string;
@@ -1,5 +1,4 @@
1
- import { ProgramCardProps } from '../../components/ProgramCard/ProgramCard';
2
-
1
+ import { type ProgramCardProps } from '../../components/ProgramCard/ProgramCard';
3
2
  export type TargetedProgramsProps = {
4
3
  title: string;
5
4
  cards: Array<ProgramCardProps>;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  import { RichReviewCard } from './types';
3
-
4
3
  type TestimonialProps = {
5
4
  title: ReactNode;
6
5
  reviews: Array<RichReviewCard>;
@@ -1,3 +1,2 @@
1
1
  import { RichReviewCard } from '../../types';
2
-
3
2
  export declare const TextCard: ({ background, review, product }: RichReviewCard) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { RichReviewCard } from '../../types';
2
-
3
2
  type VideoCardProps = {
4
3
  background: {
5
4
  type: 'video';
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  interface TextTwoImagesProps {
4
3
  title: string;
5
4
  label?: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export type Card = {
4
3
  title: string;
5
4
  description: string;
@@ -1,7 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { TContentTab } from '../../components/ContentTabs';
3
- import { TColorScheme } from '../../types/common';
4
-
1
+ import { type ReactNode } from 'react';
2
+ import { type TContentTab } from '../../components/ContentTabs';
3
+ import type { TColorScheme } from '../../types/common';
5
4
  export type TotalCareProps = {
6
5
  title: ReactNode;
7
6
  label: string;
@@ -37,6 +37,10 @@
37
37
  padding-top: var(--spacing-48);
38
38
  }
39
39
 
40
+ .tags > div {
41
+ text-align: left;
42
+ }
43
+
40
44
  .imageWrap {
41
45
  display: flex;
42
46
  align-items: center;
@@ -109,19 +113,41 @@
109
113
 
110
114
  @media (width <= 1024px) {
111
115
  .container {
112
- padding: var(--spacing-120) var(--spacing-20);
116
+ padding: var(--spacing-64);
113
117
  }
114
118
 
115
119
  .root[data-version='v1'] .image {
116
120
  padding: var(--spacing-12);
117
121
  }
122
+
123
+ .header h2 {
124
+ font-size: var(--font-size-display-sm);
125
+ }
126
+
127
+ .content {
128
+ gap: 40px;
129
+ }
118
130
  }
119
131
 
120
- @media screen and (width <= 768px) {
132
+ @media (width <= 820px) {
121
133
  .container {
122
- padding: var(--spacing-64) var(--spacing-20);
134
+ padding: var(--spacing-56) var(--spacing-48);
123
135
  }
136
+
137
+ .header {
138
+ margin-bottom: 48px;
139
+ }
140
+
141
+ .header h2 {
142
+ font-size: var(--font-size-display-xs);
143
+ }
144
+
145
+ .content {
146
+ gap: 36px;
147
+ }
148
+ }
124
149
 
150
+ @media screen and (width <= 768px) {
125
151
  .header {
126
152
  margin-bottom: var(--spacing-40);
127
153
  }
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { TTrackProgressTab } from './types';
3
-
4
3
  type TrackProgressProps = {
5
4
  title: ReactNode;
6
5
  description: string;
@@ -1,5 +1,4 @@
1
1
  import { TTrackProgressTab } from '../../types';
2
-
3
2
  type TimelineContentProps = {
4
3
  tabs: Array<TTrackProgressTab>;
5
4
  };
@@ -1,6 +1,5 @@
1
- import { TColorScheme } from '../../types/common';
2
- import { TTypesOfTestsItem } from './types';
3
-
1
+ import type { TColorScheme } from '../../types/common';
2
+ import type { TTypesOfTestsItem } from './types';
4
3
  export type TypesOfTestsProps = {
5
4
  title: string;
6
5
  items: Array<TTypesOfTestsItem>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../src/modules/YourProtocol/yourProtocol.module.css"),n=require("../../types/analytics/analytics.cjs.js"),h=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),y=require("../../components/Icon/Icon.cjs.js"),r=require("../../components/Typography/Typography.cjs.js"),g=require("../../components/Button/Button.cjs.js"),j=({title:t,image:o,tags:c,button:s,colorScheme:l="light"})=>{const d={event:n.EAnalyticsEvent.ctaClicked,type:n.EAnalyticsEventType.interaction,component:"YourProtocol",element:"Callback",payload:{ctaLink:(s==null?void 0:s.link)||"no_link"}},p=l==="dark"?"secondary":"primary";return e.jsx("section",{className:a.root,"data-scheme":l,children:e.jsxs("div",{className:a.container,children:[e.jsx(h.HighlightedTitle,{title:t,className:a.title,defaultVariant:"displayMd",mobileVariant:"headingXl",colorScheme:l}),c.length>0&&e.jsx("div",{className:a.tagsList,children:c.map((i,m)=>e.jsxs("div",{className:a.tagItem,children:[i.icon&&e.jsx("div",{className:a.iconWrapper,children:e.jsx(y.Icon,{name:i.icon,className:a.icon})}),e.jsxs("div",{className:a.tagText,children:[e.jsx(r.Typography,{className:a.tagLabel,as:"p",defaultVariant:"headingXs",children:i.label}),i.description&&e.jsx(r.Typography,{className:a.tagDescription,as:"p",defaultVariant:"bodyMd",children:i.description})]})]},m))}),(s==null?void 0:s.link)&&(s==null?void 0:s.label)&&e.jsx("div",{className:a.callbackButton,children:e.jsx(g.Button,{href:s.link,as:"a",analyticsProps:d,size:"lg",variant:p,children:s.label})}),e.jsx("img",{src:o,alt:"Your Protocol",className:a.image})]})})};exports.YourProtocol=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../src/modules/YourProtocol/yourProtocol.module.css"),n=require("../../types/analytics/analytics.cjs.js"),y=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),h=require("../../components/Icon/Icon.cjs.js"),r=require("../../components/Typography/Typography.cjs.js"),g=require("../../components/Button/Button.cjs.js"),j=({title:t,image:o,tags:c,button:i,colorScheme:l="light"})=>{const d={event:n.EAnalyticsEvent.ctaClicked,type:n.EAnalyticsEventType.interaction,component:"YourProtocol",element:"Callback",payload:{ctaLink:(i==null?void 0:i.link)||"no_link"}},m=l==="dark"?"secondary":"primary";return e.jsx("section",{className:a.root,"data-scheme":l,children:e.jsxs("div",{className:a.container,children:[e.jsx(y.HighlightedTitle,{title:t,className:a.title,defaultVariant:"displayMd",mobileVariant:"headingXl",colorScheme:l}),c.length>0&&e.jsx("div",{className:a.tagsList,children:c.map((s,p)=>e.jsxs("div",{className:a.tagItem,children:[s.icon&&e.jsx("div",{className:a.iconWrapper,children:e.jsx(h.Icon,{name:s.icon,className:a.icon})}),e.jsxs("div",{className:a.tagText,children:[e.jsx(r.Typography,{className:a.tagLabel,as:"p",defaultVariant:"preambleSm",children:s.label}),s.description&&e.jsx(r.Typography,{className:a.tagDescription,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:s.description})]})]},p))}),(i==null?void 0:i.link)&&(i==null?void 0:i.label)&&e.jsx("div",{className:a.callbackButton,children:e.jsx(g.Button,{href:i.link,as:"a",analyticsProps:d,size:"lg",variant:m,children:i.label})}),e.jsx("img",{src:o,alt:"Your Protocol",className:a.image})]})})};exports.YourProtocol=j;
@@ -1,7 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { TTagView } from './types';
3
- import { TColorScheme } from '../../types/common';
4
-
1
+ import type { ReactNode } from 'react';
2
+ import type { TTagView } from './types';
3
+ import type { TColorScheme } from '../../types/common';
5
4
  type Props = {
6
5
  title: ReactNode;
7
6
  tags: Array<TTagView>;
@@ -1,11 +1,11 @@
1
- import { jsx as e, jsxs as s } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
2
  import a from "../../modules/YourProtocol/yourProtocol.module.css";
3
3
  import { EAnalyticsEventType as h, EAnalyticsEvent as y } from "../../types/analytics/analytics.es.js";
4
4
  import { HighlightedTitle as N } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
5
5
  import { Icon as f } from "../../components/Icon/Icon.es.js";
6
6
  import { Typography as n } from "../../components/Typography/Typography.es.js";
7
7
  import { Button as v } from "../../components/Button/Button.es.js";
8
- const L = ({ title: o, image: m, tags: c, button: i, colorScheme: r = "light" }) => {
8
+ const L = ({ title: m, image: o, tags: s, button: i, colorScheme: r = "light" }) => {
9
9
  const d = {
10
10
  event: y.ctaClicked,
11
11
  type: h.interaction,
@@ -15,26 +15,35 @@ const L = ({ title: o, image: m, tags: c, button: i, colorScheme: r = "light" })
15
15
  ctaLink: (i == null ? void 0 : i.link) || "no_link"
16
16
  }
17
17
  }, t = r === "dark" ? "secondary" : "primary";
18
- return /* @__PURE__ */ e("section", { className: a.root, "data-scheme": r, children: /* @__PURE__ */ s("div", { className: a.container, children: [
18
+ return /* @__PURE__ */ e("section", { className: a.root, "data-scheme": r, children: /* @__PURE__ */ c("div", { className: a.container, children: [
19
19
  /* @__PURE__ */ e(
20
20
  N,
21
21
  {
22
- title: o,
22
+ title: m,
23
23
  className: a.title,
24
24
  defaultVariant: "displayMd",
25
25
  mobileVariant: "headingXl",
26
26
  colorScheme: r
27
27
  }
28
28
  ),
29
- c.length > 0 && /* @__PURE__ */ e("div", { className: a.tagsList, children: c.map((l, p) => /* @__PURE__ */ s("div", { className: a.tagItem, children: [
29
+ s.length > 0 && /* @__PURE__ */ e("div", { className: a.tagsList, children: s.map((l, p) => /* @__PURE__ */ c("div", { className: a.tagItem, children: [
30
30
  l.icon && /* @__PURE__ */ e("div", { className: a.iconWrapper, children: /* @__PURE__ */ e(f, { name: l.icon, className: a.icon }) }),
31
- /* @__PURE__ */ s("div", { className: a.tagText, children: [
32
- /* @__PURE__ */ e(n, { className: a.tagLabel, as: "p", defaultVariant: "headingXs", children: l.label }),
33
- l.description && /* @__PURE__ */ e(n, { className: a.tagDescription, as: "p", defaultVariant: "bodyMd", children: l.description })
31
+ /* @__PURE__ */ c("div", { className: a.tagText, children: [
32
+ /* @__PURE__ */ e(n, { className: a.tagLabel, as: "p", defaultVariant: "preambleSm", children: l.label }),
33
+ l.description && /* @__PURE__ */ e(
34
+ n,
35
+ {
36
+ className: a.tagDescription,
37
+ as: "p",
38
+ defaultVariant: "bodyMd",
39
+ mobileVariant: "bodySm",
40
+ children: l.description
41
+ }
42
+ )
34
43
  ] })
35
44
  ] }, p)) }),
36
45
  (i == null ? void 0 : i.link) && (i == null ? void 0 : i.label) && /* @__PURE__ */ e("div", { className: a.callbackButton, children: /* @__PURE__ */ e(v, { href: i.link, as: "a", analyticsProps: d, size: "lg", variant: t, children: i.label }) }),
37
- /* @__PURE__ */ e("img", { src: m, alt: "Your Protocol", className: a.image })
46
+ /* @__PURE__ */ e("img", { src: o, alt: "Your Protocol", className: a.image })
38
47
  ] }) });
39
48
  };
40
49
  export {
@@ -1,5 +1,4 @@
1
1
  import { EIconName } from '../../components/Icon/constants';
2
-
3
2
  export type TTagView = {
4
3
  label: string;
5
4
  description?: string;