@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,57 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Typography as
|
|
4
|
-
import { HighlightedTitle as
|
|
5
|
-
import { Button as
|
|
1
|
+
import { jsx as i, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "../../modules/BasicImageText/basicImageText.module.css";
|
|
3
|
+
import { Typography as c } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { HighlightedTitle as N } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
|
+
import { Button as n } from "../../components/Button/Button.es.js";
|
|
6
6
|
const v = {
|
|
7
7
|
solar: "color-text-primary-brand-solar",
|
|
8
8
|
indigo: "color-text-primary-brand-indigo",
|
|
9
9
|
primary: "color-text-primary",
|
|
10
10
|
inverted: "color-text-primary-inverted"
|
|
11
11
|
}, M = ({
|
|
12
|
-
imagePosition:
|
|
13
|
-
title:
|
|
12
|
+
imagePosition: o,
|
|
13
|
+
title: t,
|
|
14
14
|
description: s,
|
|
15
|
-
image:
|
|
16
|
-
button:
|
|
17
|
-
label:
|
|
18
|
-
labelColor:
|
|
19
|
-
mobileImage:
|
|
20
|
-
colorScheme:
|
|
21
|
-
buttonColor:
|
|
15
|
+
image: h,
|
|
16
|
+
button: a,
|
|
17
|
+
label: d,
|
|
18
|
+
labelColor: p,
|
|
19
|
+
mobileImage: g,
|
|
20
|
+
colorScheme: l,
|
|
21
|
+
buttonColor: m
|
|
22
22
|
}) => {
|
|
23
|
-
const
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const y = p || (l === "dark" ? "inverted" : "primary");
|
|
24
|
+
return /* @__PURE__ */ i("section", { className: e.root, "data-color-scheme": l, children: /* @__PURE__ */ r("div", { className: e.container, "data-image-position": o, children: [
|
|
25
|
+
/* @__PURE__ */ r("div", { className: e.textContainer, children: [
|
|
26
|
+
d && /* @__PURE__ */ i(
|
|
27
|
+
c,
|
|
28
28
|
{
|
|
29
29
|
as: "p",
|
|
30
|
-
defaultVariant: "
|
|
31
|
-
mobileVariant: "labelSm",
|
|
30
|
+
defaultVariant: "labelSm",
|
|
32
31
|
emphasis: !0,
|
|
33
|
-
className:
|
|
34
|
-
color: v[
|
|
35
|
-
children:
|
|
32
|
+
className: e.label,
|
|
33
|
+
color: v[y],
|
|
34
|
+
children: d
|
|
36
35
|
}
|
|
37
36
|
),
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
|
|
37
|
+
/* @__PURE__ */ r("div", { className: e.titleContainer, children: [
|
|
38
|
+
/* @__PURE__ */ i(
|
|
39
|
+
N,
|
|
41
40
|
{
|
|
42
|
-
colorScheme:
|
|
43
|
-
className:
|
|
41
|
+
colorScheme: l === "dark" ? "dark" : "light",
|
|
42
|
+
className: e.title,
|
|
44
43
|
defaultVariant: "displayMd",
|
|
45
44
|
mobileVariant: "headingXl",
|
|
46
|
-
title:
|
|
45
|
+
title: t
|
|
47
46
|
}
|
|
48
47
|
),
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
s && /* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ i("div", { className: e.mobileImageContainer, children: /* @__PURE__ */ i("img", { src: g, alt: "", className: e.mobileImage }) }),
|
|
49
|
+
s && /* @__PURE__ */ i(c, { className: e.description, defaultVariant: "bodyLg", mobileVariant: "bodyMd", children: s })
|
|
51
50
|
] }),
|
|
52
|
-
(
|
|
51
|
+
(a == null ? void 0 : a.link) && /* @__PURE__ */ r("div", { className: e.buttonContainer, children: [
|
|
52
|
+
/* @__PURE__ */ i("div", { className: e.buttonDesktop, children: /* @__PURE__ */ i(n, { as: "a", href: a == null ? void 0 : a.link, variant: m || "secondary", size: "lg", children: (a == null ? void 0 : a.text) || "Get Started" }) }),
|
|
53
|
+
/* @__PURE__ */ i("div", { className: e.buttonMobile, children: /* @__PURE__ */ i(n, { as: "a", href: a == null ? void 0 : a.link, variant: m || "secondary", size: "sm", children: (a == null ? void 0 : a.text) || "Get Started" }) })
|
|
54
|
+
] })
|
|
53
55
|
] }),
|
|
54
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ i("div", { className: e.imageContainer, children: /* @__PURE__ */ i("img", { src: h, alt: "", className: e.image }) })
|
|
55
57
|
] }) });
|
|
56
58
|
};
|
|
57
59
|
export {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
display: flex;
|
|
19
19
|
width: 100%;
|
|
20
20
|
max-width: var(--content-max-width);
|
|
21
|
-
padding:
|
|
21
|
+
padding: 60px 120px;
|
|
22
22
|
position: relative;
|
|
23
23
|
align-items: center;
|
|
24
24
|
gap: 96px;
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
.titleContainer {
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
|
-
gap:
|
|
42
|
+
gap: 8px;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
.buttonContainer {
|
|
46
46
|
width: fit-content;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -62,31 +62,65 @@
|
|
|
62
62
|
display: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
.buttonMobile {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (width <= 1240px) {
|
|
70
|
+
.container {
|
|
71
|
+
gap: 48px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (width <= 1024px) {
|
|
76
|
+
.container {
|
|
77
|
+
padding: 60px 64px;
|
|
78
|
+
gap: 40px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.title h2 {
|
|
82
|
+
font-size: var(--font-size-display-xs);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.description {
|
|
86
|
+
font-size: var(--font-size-body-md);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (width <= 820px) {
|
|
66
91
|
.container {
|
|
67
|
-
padding:
|
|
68
|
-
gap:
|
|
92
|
+
padding: 56px 48px;
|
|
93
|
+
gap: 36px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.title h2 {
|
|
97
|
+
font-size: var(--font-size-heading-xl);
|
|
98
|
+
line-height: var(--line-height-sm);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.buttonDesktop {
|
|
102
|
+
display: none;
|
|
69
103
|
}
|
|
70
104
|
|
|
71
|
-
.
|
|
72
|
-
|
|
73
|
-
max-height: 414px;
|
|
105
|
+
.buttonMobile {
|
|
106
|
+
display: block;
|
|
74
107
|
}
|
|
75
108
|
}
|
|
76
109
|
|
|
77
|
-
@media (width <=
|
|
110
|
+
@media (width <= 768px) {
|
|
78
111
|
.container,
|
|
79
112
|
.container[data-image-position='left'] {
|
|
80
113
|
flex-direction: column;
|
|
81
114
|
gap: 0px;
|
|
115
|
+
padding: 40px 20px;
|
|
82
116
|
}
|
|
83
117
|
|
|
84
118
|
.textContainer {
|
|
85
119
|
gap: 32px;
|
|
86
120
|
}
|
|
87
121
|
|
|
88
|
-
.
|
|
89
|
-
|
|
122
|
+
.titleContainer {
|
|
123
|
+
gap: 24px;
|
|
90
124
|
}
|
|
91
125
|
|
|
92
126
|
.image {
|
|
@@ -105,22 +139,9 @@
|
|
|
105
139
|
height: 100%;
|
|
106
140
|
object-fit: cover;
|
|
107
141
|
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@media (width <= 768px) {
|
|
111
|
-
.container {
|
|
112
|
-
padding: 40px 20px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.textContainer {
|
|
116
|
-
gap: 16px;
|
|
117
|
-
}
|
|
118
142
|
|
|
119
|
-
.
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.button {
|
|
143
|
+
.buttonContainer {
|
|
144
|
+
width: 100%;
|
|
124
145
|
margin-top: 16px;
|
|
125
146
|
}
|
|
126
147
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { PricingElementView } from '../../components/Pricing';
|
|
3
|
-
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type PricingElementView } from '../../components/Pricing';
|
|
4
3
|
export type CompareView = {
|
|
5
4
|
label?: string;
|
|
6
5
|
title: ReactNode;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
justify-content: center;
|
|
15
15
|
align-items: center;
|
|
16
16
|
flex-direction: column;
|
|
17
|
-
gap:
|
|
17
|
+
gap: 48px;
|
|
18
18
|
padding: 5vw;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
gap: var(--spacing-20);
|
|
27
27
|
text-align: center;
|
|
28
28
|
width: 100%;
|
|
29
|
-
max-width:
|
|
29
|
+
max-width: 940px;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.description {
|
|
@@ -162,6 +162,21 @@
|
|
|
162
162
|
display: none;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
@media (width <= 1024px) {
|
|
166
|
+
.header {
|
|
167
|
+
gap: 16px;
|
|
168
|
+
}
|
|
169
|
+
.header h2 {
|
|
170
|
+
font-size: var(--font-size-display-sm);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media (width <= 820px) {
|
|
175
|
+
.header h2 {
|
|
176
|
+
font-size: var(--font-size-display-xs);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
165
180
|
@media (min-width: 769px) {
|
|
166
181
|
.hideMobile {
|
|
167
182
|
display: block;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { TMailchimpModal } from '../../types';
|
|
2
|
-
|
|
3
2
|
export declare const MailchimpModal: ({ title, description, buttonText, image, layout, colorScheme, onCloseCallback, onClickCallback, cancelButtonText, tags, placeholder, trackingEvent, trackingLocation, }: Omit<TMailchimpModal, "id" | "type">) => import("react/jsx-runtime").JSX.Element;
|
package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EAnalyticsEvent } from '../../../../../../types/analytics';
|
|
2
|
-
|
|
3
2
|
export declare const Newsletter: ({ buttonText, colorScheme, onCloseCallback, cancelButtonText, tags, onClickCallback, placeholder, trackingEvent, trackingLocation, }: {
|
|
4
3
|
buttonText: string;
|
|
5
4
|
colorScheme: "light" | "dark";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),y=
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),y=10080*60*1e3,a="healthspanClosedModalList",f=()=>{try{return JSON.parse(localStorage.getItem(a)||"{}")}catch{return{}}},i=e=>{localStorage.setItem(a,JSON.stringify(e))},p=e=>{const o=f()[e];return!o||Date.now()>o},w=({id:e,initiallyOpen:l=!1,trigger:o,onCloseCallback:c,onClickCallback:u})=>{const[n,M]=s.useState(l),r=s.useCallback(()=>{p(e)&&M(!0)},[e]),d=s.useCallback(()=>{M(!1);const t=f();t[e]=Date.now()+y,i(t),c==null||c()},[e,c]),E=s.useCallback(()=>{u==null||u()},[u]);s.useEffect(()=>{if((o==null?void 0:o.type)==="timer"&&!n){const t=setTimeout(()=>{r()},o.delay*1e3);return()=>clearTimeout(t)}},[o,n,r]),s.useEffect(()=>{if(!n)return;const t=window.getComputedStyle(document.body).overflow;document.body.style.overflow="hidden";const S=O=>{O.key==="Escape"&&d()};return document.addEventListener("keydown",S),()=>{document.body.style.overflow=t,document.removeEventListener("keydown",S)}},[n,d,e]);const m=s.useCallback(t=>{t.target===t.currentTarget&&d()},[d]);return{isOpen:n,openModal:r,closeModal:d,handleClick:E,handleOverlayClick:m}};exports.CLOSED_MODALS_KEY=a;exports.REOPEN_TIMEOUT_MS=y;exports.useHSModal=w;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as E, useCallback as c, useEffect as f } from "react";
|
|
2
|
-
const h =
|
|
2
|
+
const h = 10080 * 60 * 1e3, l = "healthspanClosedModalList", M = () => {
|
|
3
3
|
try {
|
|
4
4
|
return JSON.parse(localStorage.getItem(l) || "{}");
|
|
5
5
|
} catch {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { TImageWithTextProps } from './types';
|
|
2
|
-
|
|
3
2
|
export declare const ImageWithText: ({ image, text, title, view, colorScheme, textColor, mobileTextColor, titleColor, mobileTitleColor, titleHighlightColor, mobileTitleHighlightColor, mobileImage, button, }: TImageWithTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
import { TColorScheme } from '../../types/common';
|
|
3
3
|
import { ButtonVariant } from '../../components/Button/Button';
|
|
4
|
-
|
|
5
4
|
export type TImageWithTextView = 'plain' | 'complex' | 'plain_with_title';
|
|
6
5
|
export type TButtonWithColors = {
|
|
7
6
|
label?: string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ButtonProps } from '../../components/Button';
|
|
2
|
-
import { TextButtonProps } from '../../components/TextButton';
|
|
1
|
+
import { type ButtonProps } from '../../components/Button';
|
|
2
|
+
import { type TextButtonProps } from '../../components/TextButton';
|
|
3
3
|
import { TProductFeature, TProductPlan } from './types';
|
|
4
4
|
import { EAnalyticsEvent } from '../../types/analytics';
|
|
5
5
|
import { QuoteProps } from '../../components/Quote';
|
|
6
6
|
import { TPlainFeaturesGroupProps } from '../../components/PlainFeaturesGroup/PlainFeaturesGroup';
|
|
7
|
-
|
|
8
7
|
type IndividualProductCardProps = {
|
|
9
8
|
zenpatientId: string;
|
|
10
9
|
name: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { LabelColor } from '../../components/Label';
|
|
2
|
-
import { TProductFeature as TFeaturesListProductFeature } from '../../components/FeaturesList';
|
|
3
|
-
|
|
1
|
+
import type { LabelColor } from '../../components/Label';
|
|
2
|
+
import type { TProductFeature as TFeaturesListProductFeature } from '../../components/FeaturesList';
|
|
4
3
|
export type TProductFeature = TFeaturesListProductFeature;
|
|
5
4
|
export type TProductPlan = {
|
|
6
5
|
id: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ETypeBadge } from '../../components/TypeBadge';
|
|
2
2
|
import { EIconName } from '../../components/Icon/constants';
|
|
3
3
|
import { TAdvancedGalleryView } from '../../components/AdvancedGallery';
|
|
4
|
-
|
|
5
4
|
export type TTypeBadge = 'senescence' | 'supplements' | 'outline' | 'energy' | 'metabolism' | 'labs';
|
|
6
5
|
export type TProductFeature = {
|
|
7
6
|
label: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TStepsCarouselView } from '../../components/StepsCarousel';
|
|
3
|
-
import { TColorScheme } from '../../types/common';
|
|
4
|
-
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type TStepsCarouselView } from '../../components/StepsCarousel';
|
|
3
|
+
import type { TColorScheme } from '../../types/common';
|
|
5
4
|
export type OurProcessProps = {
|
|
6
5
|
title: ReactNode;
|
|
7
6
|
label: string;
|