@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.
- package/dist/components/Accordion/Accordion.d.ts +1 -2
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +1 -2
- package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +0 -1
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
- package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +0 -1
- package/dist/components/AnchorLinks/AnchorLinks.d.ts +0 -1
- package/dist/components/AnchorLinks/types.d.ts +0 -1
- package/dist/components/Benefit/Benefit.d.ts +1 -2
- package/dist/components/Button/Button.d.ts +2 -3
- package/dist/components/Callback/Callback.d.ts +2 -3
- package/dist/components/Callback/constants.d.ts +2 -3
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/ClaimBlock/ClaimBlock.d.ts +1 -2
- package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +0 -1
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +0 -1
- package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +0 -1
- package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +0 -1
- package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +3 -4
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +1 -2
- package/dist/components/ComplexTooltip/types.d.ts +1 -2
- package/dist/components/ContentTabs/ContentTabs.d.ts +2 -3
- package/dist/components/ContentTabs/contentTabs.module.css +1 -0
- package/dist/components/Cursor/Cursor.d.ts +1 -2
- package/dist/components/Cursor/components/ClientCursor.d.ts +1 -2
- package/dist/components/Cursor/components/ServerCursor.d.ts +1 -2
- package/dist/components/FAQComponent/FAQComponent.d.ts +0 -1
- package/dist/components/FAQComponent/types.d.ts +0 -1
- package/dist/components/FAQComponentItem/FAQComponentItem.d.ts +0 -1
- package/dist/components/FAQComponentItem/types.d.ts +1 -2
- package/dist/components/FeaturesList/FeaturesList.d.ts +1 -2
- package/dist/components/FeaturesList/types.d.ts +1 -2
- package/dist/components/FilterError/FilterError.d.ts +0 -1
- package/dist/components/FilterMenu/FilterMenu.d.ts +1 -2
- package/dist/components/HighlightCard/HighlightCard.d.ts +1 -2
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +3 -4
- package/dist/components/Icon/Icon.d.ts +0 -1
- package/dist/components/Icon/iconsMap.d.ts +0 -1
- package/dist/components/IconBracket/IconBracket.d.ts +0 -1
- package/dist/components/IconBracket/types.d.ts +0 -1
- package/dist/components/IconButton/IconButton.d.ts +2 -3
- package/dist/components/ImageGallery/ImageGallery.d.ts +0 -1
- package/dist/components/ImageGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
- package/dist/components/ImageGallery/imageGallery.module.css +4 -0
- package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +1 -2
- package/dist/components/Label/Label.d.ts +1 -2
- package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +0 -1
- package/dist/components/PlayButton/PlayButton.d.ts +1 -2
- package/dist/components/PriceDisplay/PriceDisplay.d.ts +1 -2
- package/dist/components/Pricing/Pricing.d.ts +0 -1
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +1 -2
- package/dist/components/Pricing/types.d.ts +3 -4
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -2
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -2
- package/dist/components/ProductGalleryCard/types.d.ts +1 -2
- package/dist/components/ProductListing/ProductListing.d.ts +2 -3
- package/dist/components/ProductPairs/ProductPairs.d.ts +0 -1
- package/dist/components/ProgressButton/ProgressButton.d.ts +2 -3
- package/dist/components/Quote/Quote.d.ts +1 -2
- package/dist/components/SmartCallout/SmartCallout.d.ts +0 -1
- package/dist/components/StepsCarousel/StepsCarousel.d.ts +1 -2
- package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +1 -2
- package/dist/components/Tabs/TabsWithFade.d.ts +0 -1
- package/dist/components/Tabs/types.d.ts +1 -2
- package/dist/components/Tag/Tag.d.ts +2 -3
- package/dist/components/TextButton/TextButton.d.ts +2 -3
- package/dist/components/TextInput/TextInput.d.ts +0 -1
- package/dist/components/Typography/Typography.d.ts +2 -2
- package/dist/icons/arrow/arrow-forward-thin.svg +1 -1
- package/dist/icons/arrow/arrow-forward-thin.svg.cjs.js +1 -1
- package/dist/icons/arrow/arrow-forward-thin.svg.es.js +1 -1
- package/dist/lib/useSwiper.d.ts +2 -3
- package/dist/modules/BasicImageText/BasicImageText.cjs.js +1 -1
- package/dist/modules/BasicImageText/BasicImageText.d.ts +1 -2
- package/dist/modules/BasicImageText/BasicImageText.es.js +36 -34
- package/dist/modules/BasicImageText/basicImageText.module.css +48 -27
- package/dist/modules/Benefits/Benefits.d.ts +0 -1
- package/dist/modules/CallToAction/CallToAction.d.ts +0 -1
- package/dist/modules/Callback/Callback.d.ts +1 -2
- package/dist/modules/Claims/Claims.d.ts +0 -1
- package/dist/modules/Compare/Compare.d.ts +0 -1
- package/dist/modules/Compare/types.d.ts +2 -3
- package/dist/modules/Comparison/Comparison.d.ts +2 -3
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -2
- package/dist/modules/ComparisonV2/ComparisonV2.d.ts +1 -2
- package/dist/modules/ComparisonV2/comparisonV2.module.css +17 -2
- package/dist/modules/ContentHighlight/ContentHighlight.d.ts +1 -2
- package/dist/modules/Curiosity/Curiosity.d.ts +0 -1
- package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +1 -2
- package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +0 -1
- package/dist/modules/ExpandingDetails/types.d.ts +0 -1
- package/dist/modules/FAQModule/FAQModule.d.ts +0 -1
- package/dist/modules/FAQModule/types.d.ts +0 -1
- package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +2 -3
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +1 -2
- package/dist/modules/FollowTheScience/FollowTheScience.d.ts +0 -1
- package/dist/modules/HSModal/HSModal.d.ts +0 -1
- package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +0 -1
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +0 -1
- package/dist/modules/HSModal/types.d.ts +0 -1
- package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
- package/dist/modules/HSModal/useHSModal.es.js +1 -1
- package/dist/modules/HighestStandards/HighestStandards.d.ts +0 -1
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +0 -1
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +0 -1
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +1 -2
- package/dist/modules/HighestStandards/types.d.ts +0 -1
- package/dist/modules/Highlight/Highlight.d.ts +1 -2
- package/dist/modules/HowItWorks/components/Content/Content.d.ts +0 -1
- package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +0 -1
- package/dist/modules/ImageWithText/ImageWithText.d.ts +0 -1
- package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +0 -1
- package/dist/modules/ImageWithText/types.d.ts +1 -2
- package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -3
- package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +1 -2
- package/dist/modules/IndividualProductCard/types.d.ts +2 -3
- package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +0 -1
- package/dist/modules/IndividualProductCardV2/types.d.ts +0 -1
- package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +0 -1
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +0 -1
- package/dist/modules/LongevityPathways/LongevityPathways.d.ts +0 -1
- package/dist/modules/LongevityPathways/types.d.ts +0 -1
- package/dist/modules/OptimalHealth/OptimalHealth.d.ts +2 -3
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +1 -2
- package/dist/modules/OurProcess/OurProcess.d.ts +3 -4
- package/dist/modules/PairedProducts/PairedProducts.d.ts +1 -2
- package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -2
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -2
- package/dist/modules/ProductsDisplay/types.d.ts +1 -2
- package/dist/modules/ProductsDisplay/useProductsData.d.ts +3 -4
- package/dist/modules/ProgramDetails/ProgramDetails.cjs.js +1 -1
- package/dist/modules/ProgramDetails/ProgramDetails.d.ts +0 -1
- package/dist/modules/ProgramDetails/ProgramDetails.es.js +6 -6
- package/dist/modules/ProgramDetails/components/Features/Features.d.ts +1 -2
- package/dist/modules/ProgramDetails/programDetails.module.css +27 -0
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +0 -1
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +1 -2
- package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +1 -2
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +1 -2
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +1 -2
- package/dist/modules/ResearchFilters/ResearchFilters.d.ts +1 -2
- package/dist/modules/ResearchStudies/ResearchStudies.d.ts +1 -2
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +1 -2
- package/dist/modules/Reviews/Reviews.d.ts +0 -1
- package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +0 -1
- package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +1 -2
- package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +1 -2
- package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +1 -2
- package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +1 -2
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +2 -3
- package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +1 -2
- package/dist/modules/StillHaveQuestions/constants.d.ts +0 -1
- package/dist/modules/Studies/Studies.d.ts +2 -3
- package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +1 -2
- package/dist/modules/Testimonial/Testimonial.d.ts +1 -2
- package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +0 -1
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +0 -1
- package/dist/modules/TextTwoImages/TextTwoImages.d.ts +1 -2
- package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +1 -2
- package/dist/modules/TotalCare/TotalCare.d.ts +3 -4
- package/dist/modules/TotalCare/totalCare.module.css +29 -3
- package/dist/modules/TrackProgress/TrackProgress.d.ts +0 -1
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +0 -1
- package/dist/modules/TypesOfTests/TypesOfTests.d.ts +2 -3
- package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
- package/dist/modules/YourProtocol/YourProtocol.d.ts +3 -4
- package/dist/modules/YourProtocol/YourProtocol.es.js +18 -9
- package/dist/modules/YourProtocol/types.d.ts +0 -1
- package/dist/modules/YourProtocol/yourProtocol.module.css +146 -44
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.cjs.js +1 -1
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.es.js +2 -2
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.cjs.js +19 -19
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.es.js +270 -270
- package/dist/node_modules/gsap/CustomEase.cjs.js +1 -1
- package/dist/node_modules/gsap/CustomEase.es.js +2 -2
- package/dist/node_modules/gsap/Draggable.cjs.js +1 -1
- package/dist/node_modules/gsap/Draggable.es.js +6 -6
- package/dist/node_modules/gsap/Flip.cjs.js +1 -1
- package/dist/node_modules/gsap/Flip.es.js +6 -6
- package/dist/node_modules/gsap/Observer.cjs.js +1 -1
- package/dist/node_modules/gsap/Observer.es.js +2 -2
- package/dist/node_modules/gsap/ScrollTrigger.cjs.js +1 -1
- package/dist/node_modules/gsap/ScrollTrigger.es.js +2 -2
- package/dist/node_modules/gsap/utils/matrix.cjs.js +1 -1
- package/dist/node_modules/gsap/utils/matrix.es.js +2 -2
- package/dist/pageComponents/Banner/Banner.d.ts +1 -2
- package/dist/pageComponents/Footer/Footer.d.ts +0 -1
- package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +0 -1
- package/dist/types/articles.d.ts +0 -1
- package/dist/utils/isHsIcon.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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"),
|
|
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,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
|
|
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:
|
|
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(
|
|
8
|
-
/* @__PURE__ */ a(
|
|
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:
|
|
12
|
-
|
|
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 {
|
|
@@ -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,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,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,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,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,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-
|
|
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
|
|
132
|
+
@media (width <= 820px) {
|
|
121
133
|
.container {
|
|
122
|
-
padding: var(--spacing-
|
|
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
|
-
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"),
|
|
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
|
|
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:
|
|
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__ */
|
|
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:
|
|
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
|
-
|
|
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__ */
|
|
32
|
-
/* @__PURE__ */ e(n, { className: a.tagLabel, as: "p", defaultVariant: "
|
|
33
|
-
l.description && /* @__PURE__ */ e(
|
|
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:
|
|
46
|
+
/* @__PURE__ */ e("img", { src: o, alt: "Your Protocol", className: a.image })
|
|
38
47
|
] }) });
|
|
39
48
|
};
|
|
40
49
|
export {
|