@zenpatient-org/healthspan-marketing-ui 0.1.22 → 0.1.23
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/README.md +11 -1
- package/dist/components/Button/Button.es.js +24 -6
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -1
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +17 -15
- package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
- package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
- package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
- package/dist/components/Label/Label.es.js +9 -1
- package/dist/components/Pricing/Pricing.cjs.js +1 -0
- package/dist/components/Pricing/Pricing.d.ts +3 -0
- package/dist/components/Pricing/Pricing.es.js +41 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
- package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
- package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
- package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
- package/dist/components/Pricing/components/index.d.ts +1 -0
- package/dist/components/Pricing/index.d.ts +2 -0
- package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
- package/dist/components/Pricing/pricing.module.css.es.js +25 -0
- package/dist/components/Pricing/types.d.ts +17 -0
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +24 -3
- package/dist/components/ProgressButton/ProgressButton.es.js +9 -1
- package/dist/components/StepsCarousel/StepsCarousel.es.js +47 -13
- package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
- package/dist/components/Tabs/TabsWithFade.es.js +10 -1
- package/dist/components/Typography/Typography.es.js +8 -1
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/Benefits/Benefits.es.js +3 -26
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +3 -27
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +1 -10
- package/dist/modules/Compare/Compare.d.ts +3 -0
- package/dist/modules/Compare/index.d.ts +1 -0
- package/dist/modules/Compare/types.d.ts +9 -0
- package/dist/modules/Comparison/Comparison.es.js +20 -5
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
- package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
- package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
- package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
- package/dist/modules/OptimalHealth/OptimalHealth.es.js +6 -6
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
- package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
- package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
- package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
- package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
- package/dist/modules/OurProcess/OurProcess.es.js +17 -8
- package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -1
- package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -2
- package/dist/modules/PairedProducts/PairedProducts.es.js +1 -1
- package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -1
- package/dist/modules/TypesOfTests/TypesOfTests.es.js +86 -47
- package/dist/modules/TypesOfTests/types.d.ts +4 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -1
- package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +14 -12
- package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
- package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
- package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
- package/dist/node_modules/gsap/Observer.cjs.js +8 -0
- package/dist/node_modules/gsap/Observer.es.js +242 -0
- package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
- package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
- package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
- package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
- package/dist/node_modules/gsap/index.cjs.js +1 -0
- package/dist/node_modules/gsap/index.es.js +13 -0
- package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
- package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
- package/package.json +39 -4
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
|
@@ -6,36 +6,13 @@ import { Typography as h } from "../../components/Typography/Typography.es.js";
|
|
|
6
6
|
import e from "./benefits.module.css.es.js";
|
|
7
7
|
const y = ({ label: l, title: m, image: s, benefits: o, tags: d }) => /* @__PURE__ */ r("div", { className: e.root, children: [
|
|
8
8
|
/* @__PURE__ */ r("div", { className: e.header, children: [
|
|
9
|
-
/* @__PURE__ */ a(
|
|
10
|
-
|
|
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
|
-
)
|
|
9
|
+
/* @__PURE__ */ a(h, { defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: e.label, children: l }),
|
|
10
|
+
/* @__PURE__ */ a(c, { title: m, defaultVariant: "displayMd", mobileVariant: "headingLg" })
|
|
27
11
|
] }),
|
|
28
12
|
/* @__PURE__ */ r("div", { className: e.content, children: [
|
|
29
13
|
/* @__PURE__ */ r("div", { className: e.imageWrapper, children: [
|
|
30
14
|
/* @__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
|
-
))
|
|
15
|
+
d.map((t, i) => /* @__PURE__ */ a(n, { text: t, className: e[`tag${i + 1}`] }, i))
|
|
39
16
|
] }),
|
|
40
17
|
/* @__PURE__ */ a("div", { className: e.benefits, children: o.map((t, i) => /* @__PURE__ */ a(
|
|
41
18
|
p,
|
|
@@ -2,34 +2,10 @@ import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { Typography as i } from "../../../../components/Typography/Typography.es.js";
|
|
3
3
|
import e from "./benefitItem.module.css.es.js";
|
|
4
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
|
-
),
|
|
5
|
+
/* @__PURE__ */ a(i, { defaultVariant: "labelXl", emphasis: !0, className: e.benefitIndex, children: `(0${l})` }),
|
|
14
6
|
/* @__PURE__ */ t("div", { className: e.benefitDetails, children: [
|
|
15
|
-
/* @__PURE__ */ a(
|
|
16
|
-
|
|
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
|
-
)
|
|
7
|
+
/* @__PURE__ */ a(i, { defaultVariant: "headingLg", mobileVariant: "headingXs", className: e.benefitTitle, children: n }),
|
|
8
|
+
/* @__PURE__ */ a(i, { defaultVariant: "bodyMd", mobileVariant: "bodySm", className: e.benefitDesc, children: r })
|
|
33
9
|
] })
|
|
34
10
|
] });
|
|
35
11
|
export {
|
|
@@ -2,16 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import e from "./benefitTag.module.css.es.js";
|
|
3
3
|
import { Typography as o } from "../../../../components/Typography/Typography.es.js";
|
|
4
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
|
-
) });
|
|
5
|
+
const p = ({ text: a, className: t }) => /* @__PURE__ */ r("div", { className: i(e.root, t), children: /* @__PURE__ */ r(o, { emphasis: !0, defaultVariant: "labelLg", mobileVariant: "labelSm", className: e.benefitTag, children: a }) });
|
|
15
6
|
export {
|
|
16
7
|
p as BenefitTag
|
|
17
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Compare } from './Compare';
|
|
@@ -45,10 +45,17 @@ const T = ({ title: p, description: o, comparison: r }) => /* @__PURE__ */ s("di
|
|
|
45
45
|
l
|
|
46
46
|
)),
|
|
47
47
|
r.rows.map((l, n) => /* @__PURE__ */ s(g, { children: [
|
|
48
|
-
/* @__PURE__ */ a(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
/* @__PURE__ */ a(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: t(e.cell, e.cellFeature, e.stickyCell),
|
|
52
|
+
children: /* @__PURE__ */ s("div", { className: e.featureContent, children: [
|
|
53
|
+
/* @__PURE__ */ a(m, { defaultVariant: "bodyXl", weight: "medium", children: l.feature }),
|
|
54
|
+
l.description && /* @__PURE__ */ a(m, { defaultVariant: "bodyXl", className: e.featureDescription, children: l.description })
|
|
55
|
+
] })
|
|
56
|
+
},
|
|
57
|
+
`feature-${n}`
|
|
58
|
+
),
|
|
52
59
|
r.headers.map((v, d) => {
|
|
53
60
|
const i = l.values[d];
|
|
54
61
|
return /* @__PURE__ */ s(
|
|
@@ -66,7 +73,15 @@ const T = ({ title: p, description: o, comparison: r }) => /* @__PURE__ */ s("di
|
|
|
66
73
|
children: /* @__PURE__ */ a(u, { name: i.value ? c.CHECK : c.CLOSE })
|
|
67
74
|
}
|
|
68
75
|
),
|
|
69
|
-
(i == null ? void 0 : i.type) === "string" && /* @__PURE__ */ a(
|
|
76
|
+
(i == null ? void 0 : i.type) === "string" && /* @__PURE__ */ a(
|
|
77
|
+
m,
|
|
78
|
+
{
|
|
79
|
+
defaultVariant: "bodyXl",
|
|
80
|
+
weight: "medium",
|
|
81
|
+
className: e.stringValue,
|
|
82
|
+
children: i.value
|
|
83
|
+
}
|
|
84
|
+
)
|
|
70
85
|
]
|
|
71
86
|
},
|
|
72
87
|
`value-${n}-${d}`
|
|
@@ -18,11 +18,20 @@ function c({ media: r }) {
|
|
|
18
18
|
)) });
|
|
19
19
|
}
|
|
20
20
|
function u({ quote: r }) {
|
|
21
|
-
return /* @__PURE__ */ a("div", { className: e.quoteFeaturedInBlock, children: /* @__PURE__ */ l(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
return /* @__PURE__ */ a("div", { className: e.quoteFeaturedInBlock, children: /* @__PURE__ */ l(
|
|
22
|
+
i,
|
|
23
|
+
{
|
|
24
|
+
as: "p",
|
|
25
|
+
defaultVariant: "headingSm",
|
|
26
|
+
mobileVariant: "headingXxs",
|
|
27
|
+
className: e.quoteFeaturedInText,
|
|
28
|
+
children: [
|
|
29
|
+
"“",
|
|
30
|
+
r,
|
|
31
|
+
"”"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
) });
|
|
26
35
|
}
|
|
27
36
|
function p({ button_label: r }) {
|
|
28
37
|
return /* @__PURE__ */ a("a", { href: "https://app.gethealthspan.com", className: e.ctaFeaturedIn, children: /* @__PURE__ */ a("p", { className: e.ctaFeaturedInText, children: r }) });
|
|
@@ -7,7 +7,15 @@ import a from "./featuresGallery.module.css.es.js";
|
|
|
7
7
|
const p = ({ label: t, url: l }) => /* @__PURE__ */ e("a", { href: l, className: a.label, children: /* @__PURE__ */ e(o, { defaultVariant: "labelMd", emphasis: !0, mobileVariant: "labelSm", weight: "regular", children: t }) }), v = ({ title: t, description: l, features: s, labels: d }) => /* @__PURE__ */ i("section", { className: a.root, children: [
|
|
8
8
|
/* @__PURE__ */ i("div", { className: a.container, children: [
|
|
9
9
|
/* @__PURE__ */ i("div", { className: a.header, children: [
|
|
10
|
-
/* @__PURE__ */ e(
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
c,
|
|
12
|
+
{
|
|
13
|
+
title: t,
|
|
14
|
+
className: a.title,
|
|
15
|
+
defaultVariant: "displayMd",
|
|
16
|
+
mobileVariant: "headingXl"
|
|
17
|
+
}
|
|
18
|
+
),
|
|
11
19
|
l && /* @__PURE__ */ e(o, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: l })
|
|
12
20
|
] }),
|
|
13
21
|
/* @__PURE__ */ i("div", { className: a.features, children: [
|
|
@@ -7,23 +7,38 @@ import a from "./FeatureGrid.module.css.es.js";
|
|
|
7
7
|
const s = {
|
|
8
8
|
primary: { default: "headingXl", mobile: "headingXs" },
|
|
9
9
|
secondary: { default: "headingSm", mobile: "headingXxs" }
|
|
10
|
-
}, R = ({ feature: m, className: n, index: t, type: i }) => /* @__PURE__ */ r(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
}, R = ({ feature: m, className: n, index: t, type: i }) => /* @__PURE__ */ r(
|
|
11
|
+
"a",
|
|
12
|
+
{
|
|
13
|
+
className: c(a.root, a[i], n),
|
|
14
|
+
style: { backgroundImage: `url("${m.image}")` },
|
|
15
|
+
href: m.url,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ e("div", { className: a.smoke, "data-smoke": t % 3 }),
|
|
18
|
+
/* @__PURE__ */ r("div", { className: a.content, children: [
|
|
19
|
+
/* @__PURE__ */ e(
|
|
20
|
+
d,
|
|
21
|
+
{
|
|
22
|
+
as: "h3",
|
|
23
|
+
defaultVariant: s[i].default,
|
|
24
|
+
mobileVariant: s[i].mobile,
|
|
25
|
+
className: a.label,
|
|
26
|
+
children: m.label
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ e("div", { className: a.desktop, children: /* @__PURE__ */ e(
|
|
30
|
+
l,
|
|
31
|
+
{
|
|
32
|
+
iconName: o.ARROW_FORWARD,
|
|
33
|
+
variant: "muted-invert",
|
|
34
|
+
size: i === "primary" ? "lg" : "md"
|
|
35
|
+
}
|
|
36
|
+
) }),
|
|
37
|
+
/* @__PURE__ */ e("div", { className: a.mobile, children: /* @__PURE__ */ e(l, { iconName: o.ARROW_FORWARD, variant: "muted-invert", size: "sm" }) })
|
|
38
|
+
] })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
);
|
|
27
42
|
export {
|
|
28
43
|
R as FeatureGrid
|
|
29
44
|
};
|
|
@@ -14,7 +14,16 @@ import { useSwiper as C } from "../../utils/useSwiper/useSwiper.es.js";
|
|
|
14
14
|
import i from "./followTheScience.module.css.es.js";
|
|
15
15
|
const E = [u];
|
|
16
16
|
function L({ labelText: a, benefits: c }) {
|
|
17
|
-
const {
|
|
17
|
+
const {
|
|
18
|
+
activeIndex: r,
|
|
19
|
+
setIsEnd: m,
|
|
20
|
+
isEnd: t,
|
|
21
|
+
handleSlideChange: p,
|
|
22
|
+
handlePrevClick: s,
|
|
23
|
+
handleNextClick: n,
|
|
24
|
+
onSwiperInit: h,
|
|
25
|
+
handleSwiperResize: f
|
|
26
|
+
} = C();
|
|
18
27
|
return /* @__PURE__ */ l("div", { className: i.container, children: [
|
|
19
28
|
/* @__PURE__ */ l("div", { className: i.heading, children: [
|
|
20
29
|
/* @__PURE__ */ e(R, { color: "white", size: "lg", children: a }),
|
|
@@ -48,7 +57,17 @@ function L({ labelText: a, benefits: c }) {
|
|
|
48
57
|
{
|
|
49
58
|
title: o.title,
|
|
50
59
|
description: o.description,
|
|
51
|
-
button: /* @__PURE__ */ e(
|
|
60
|
+
button: /* @__PURE__ */ e(
|
|
61
|
+
k,
|
|
62
|
+
{
|
|
63
|
+
as: "a",
|
|
64
|
+
size: "sm",
|
|
65
|
+
color: "white",
|
|
66
|
+
suffixIcon: N.ARROW_FORWARD,
|
|
67
|
+
href: o.link,
|
|
68
|
+
children: "READ THE STUDY"
|
|
69
|
+
}
|
|
70
|
+
)
|
|
52
71
|
}
|
|
53
72
|
) }, S))
|
|
54
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Button/Button.cjs.js"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),d=require("./components/ClockImages/ClockImages.cjs.js"),t=require("./optimalHealth.module.css.cjs.js"),u=({title:l,description:r,link:a,images:n})=>e.jsx("section",{className:t.default.root,children:e.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Button/Button.cjs.js"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),d=require("./components/ClockImages/ClockImages.cjs.js"),t=require("./optimalHealth.module.css.cjs.js"),u=({title:l,description:r,link:a,images:n})=>e.jsx("section",{className:t.default.root,children:e.jsx("div",{className:t.default.container,children:e.jsxs("div",{className:t.default.wrapper,children:[e.jsx(d.ClockImages,{images:n}),e.jsxs("div",{className:t.default.content,children:[e.jsx(o.HighlightedTitle,{title:l,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingLg"}),e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",className:t.default.description,children:r}),e.jsx("div",{className:s.cn(t.default.actions,t.default.desktop),children:e.jsx(i.Button,{as:"a",variant:"primary",size:"lg",href:a,children:"LEARN MORE"})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.mobile),children:e.jsx(i.Button,{as:"a",variant:"primary",size:"sm",href:a,children:"LEARN MORE"})})]})]})})});exports.OptimalHealth=u;
|
|
@@ -2,18 +2,18 @@ import { jsx as i, jsxs as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Button as t } from "../../components/Button/Button.es.js";
|
|
3
3
|
import { HighlightedTitle as n } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
4
|
import { Typography as c } from "../../components/Typography/Typography.es.js";
|
|
5
|
-
import { cn as
|
|
5
|
+
import { cn as s } from "../../utils/cn/cn.es.js";
|
|
6
6
|
import { ClockImages as d } from "./components/ClockImages/ClockImages.es.js";
|
|
7
7
|
import a from "./optimalHealth.module.css.es.js";
|
|
8
|
-
const b = ({ title:
|
|
8
|
+
const b = ({ title: o, description: m, link: r, images: l }) => /* @__PURE__ */ i("section", { className: a.root, children: /* @__PURE__ */ i("div", { className: a.container, children: /* @__PURE__ */ e("div", { className: a.wrapper, children: [
|
|
9
9
|
/* @__PURE__ */ i(d, { images: l }),
|
|
10
10
|
/* @__PURE__ */ e("div", { className: a.content, children: [
|
|
11
|
-
/* @__PURE__ */ i(n, { title:
|
|
11
|
+
/* @__PURE__ */ i(n, { title: o, className: a.title, defaultVariant: "displaySm", mobileVariant: "headingLg" }),
|
|
12
12
|
/* @__PURE__ */ i(c, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", className: a.description, children: m }),
|
|
13
|
-
/* @__PURE__ */ i("div", { className:
|
|
14
|
-
/* @__PURE__ */ i("div", { className:
|
|
13
|
+
/* @__PURE__ */ i("div", { className: s(a.actions, a.desktop), children: /* @__PURE__ */ i(t, { as: "a", variant: "primary", size: "lg", href: r, children: "LEARN MORE" }) }),
|
|
14
|
+
/* @__PURE__ */ i("div", { className: s(a.actions, a.mobile), children: /* @__PURE__ */ i(t, { as: "a", variant: "primary", size: "sm", href: r, children: "LEARN MORE" }) })
|
|
15
15
|
] })
|
|
16
|
-
] }) });
|
|
16
|
+
] }) }) });
|
|
17
17
|
export {
|
|
18
18
|
b as OptimalHealth
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),g=require("../../../../node_modules/gsap/index.cjs.js"),y=require("../../../../node_modules/gsap/ScrollTrigger.cjs.js"),e=require("./clockImages.module.css.cjs.js"),f=require("../../../../utils/cn/cn.cjs.js"),q=require("react");g.gsap.registerPlugin(y.ScrollTrigger);const s=[{key:"smallSquareImage1",className:e.default.smallSquareImage,to:{x:100,y:60}},{key:"rectImage2",className:e.default.rectImage,to:{x:70,y:70}},{key:"smallSquareImage3",className:e.default.smallSquareImage,to:{x:40,y:60}},{key:"largeSquareImage4",className:e.default.largeSquareImage,to:{x:-110,y:55}},{key:"rectImage5",className:e.default.rectImage,to:{x:-150,y:69}},{key:"smallSquareImage6",className:e.default.smallSquareImage,to:{x:-100,y:9}},{key:"rectImage7",className:e.default.rectImage,to:{x:-65,y:-100}},{key:"smallSquareImage8",className:e.default.smallSquareImage,to:{x:50,y:-100}},{key:"rectImage9",className:e.default.rectImage,to:{x:50,y:-50}},{key:"largeSquareImage10",className:e.default.largeSquareImage,to:{x:56,y:13}}],S=({images:n})=>{const t=q.useRef(null),i=a=>{var c,o,m;const r=(c=t.current)==null?void 0:c.querySelector(`[data-ohealth-image-key="${a}"]`);if(!r)return;const d=((o=s.find(l=>l.key===a))==null?void 0:o.to.x)||0,I=((m=s.find(l=>l.key===a))==null?void 0:m.to.y)||0;g.gsap.fromTo(r,{x:0,y:0},{x:d,y:I,duration:5,ease:"power2.out",scrollTrigger:{trigger:t.current,start:"center center",end:"center center",once:!0,scrub:!1,toggleActions:"play none none reverse"}})};return u.jsx("div",{ref:t,className:e.default.root,children:s.map(({key:a,className:r})=>u.jsx("img",{src:n[a],className:f.cn(e.default.image,r,e.default[a]),"data-ohealth-image-key":a,alt:a,onLoad:()=>i(a)},a))})};exports.ClockImages=S;
|
|
@@ -1,37 +1,59 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{ key: "
|
|
11
|
-
{ key: "
|
|
12
|
-
{ key: "
|
|
13
|
-
{ key: "
|
|
14
|
-
{ key: "
|
|
15
|
-
{ key: "
|
|
16
|
-
{ key: "
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
3
|
+
import { gsap as n } from "../../../../node_modules/gsap/index.es.js";
|
|
4
|
+
import { ScrollTrigger as S } from "../../../../node_modules/gsap/ScrollTrigger.es.js";
|
|
5
|
+
import e from "./clockImages.module.css.es.js";
|
|
6
|
+
import { cn as x } from "../../../../utils/cn/cn.es.js";
|
|
7
|
+
import { useRef as f } from "react";
|
|
8
|
+
n.registerPlugin(S);
|
|
9
|
+
const s = [
|
|
10
|
+
{ key: "smallSquareImage1", className: e.smallSquareImage, to: { x: 100, y: 60 } },
|
|
11
|
+
{ key: "rectImage2", className: e.rectImage, to: { x: 70, y: 70 } },
|
|
12
|
+
{ key: "smallSquareImage3", className: e.smallSquareImage, to: { x: 40, y: 60 } },
|
|
13
|
+
{ key: "largeSquareImage4", className: e.largeSquareImage, to: { x: -110, y: 55 } },
|
|
14
|
+
{ key: "rectImage5", className: e.rectImage, to: { x: -150, y: 69 } },
|
|
15
|
+
{ key: "smallSquareImage6", className: e.smallSquareImage, to: { x: -100, y: 9 } },
|
|
16
|
+
{ key: "rectImage7", className: e.rectImage, to: { x: -65, y: -100 } },
|
|
17
|
+
{ key: "smallSquareImage8", className: e.smallSquareImage, to: { x: 50, y: -100 } },
|
|
18
|
+
{ key: "rectImage9", className: e.rectImage, to: { x: 50, y: -50 } },
|
|
19
|
+
{ key: "largeSquareImage10", className: e.largeSquareImage, to: { x: 56, y: 13 } }
|
|
20
|
+
], C = ({ images: i }) => {
|
|
21
|
+
const t = f(null), u = (a) => {
|
|
22
|
+
var o, l, c;
|
|
23
|
+
const r = (o = t.current) == null ? void 0 : o.querySelector(`[data-ohealth-image-key="${a}"]`);
|
|
24
|
+
if (!r) return;
|
|
25
|
+
const I = ((l = s.find((m) => m.key === a)) == null ? void 0 : l.to.x) || 0, y = ((c = s.find((m) => m.key === a)) == null ? void 0 : c.to.y) || 0;
|
|
26
|
+
n.fromTo(
|
|
27
|
+
r,
|
|
28
|
+
{ x: 0, y: 0 },
|
|
23
29
|
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
x: I,
|
|
31
|
+
y,
|
|
32
|
+
duration: 5,
|
|
33
|
+
ease: "power2.out",
|
|
34
|
+
scrollTrigger: {
|
|
35
|
+
trigger: t.current,
|
|
36
|
+
start: "center center",
|
|
37
|
+
end: "center center",
|
|
38
|
+
once: !0,
|
|
39
|
+
scrub: !1,
|
|
40
|
+
toggleActions: "play none none reverse"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
32
43
|
);
|
|
33
|
-
}
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ g("div", { ref: t, className: e.root, children: s.map(({ key: a, className: r }) => /* @__PURE__ */ g(
|
|
46
|
+
"img",
|
|
47
|
+
{
|
|
48
|
+
src: i[a],
|
|
49
|
+
className: x(e.image, r, e[a]),
|
|
50
|
+
"data-ohealth-image-key": a,
|
|
51
|
+
alt: a,
|
|
52
|
+
onLoad: () => u(a)
|
|
53
|
+
},
|
|
54
|
+
a
|
|
55
|
+
)) });
|
|
34
56
|
};
|
|
35
57
|
export {
|
|
36
|
-
|
|
58
|
+
C as ClockImages
|
|
37
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="clockImages-module__root___EP8LS",a="clockImages-module__image___MtqIw",m="clockImages-module__smallSquareImage___NkpW3",l="clockImages-module__largeSquareImage___mPBhn",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="clockImages-module__root___EP8LS",a="clockImages-module__image___MtqIw",m="clockImages-module__smallSquareImage___NkpW3",l="clockImages-module__largeSquareImage___mPBhn",g="clockImages-module__rectImage___GMy9G",_="clockImages-module__smallSquareImage1___yHzSr",r="clockImages-module__rectImage2___yTVQv",I="clockImages-module__smallSquareImage3___2Ulue",c="clockImages-module__largeSquareImage4___ENR09",o="clockImages-module__rectImage5___Q6nwe",s="clockImages-module__smallSquareImage6___JIgK4",u="clockImages-module__rectImage7___LLPub",t="clockImages-module__smallSquareImage8___hK-yx",S="clockImages-module__rectImage9___FJ8gO",q="clockImages-module__largeSquareImage10___yOvmO",n={root:e,image:a,smallSquareImage:m,largeSquareImage:l,rectImage:g,smallSquareImage1:_,rectImage2:r,smallSquareImage3:I,largeSquareImage4:c,rectImage5:o,smallSquareImage6:s,rectImage7:u,smallSquareImage8:t,rectImage9:S,largeSquareImage10:q};exports.default=n;exports.image=a;exports.largeSquareImage=l;exports.largeSquareImage10=q;exports.largeSquareImage4=c;exports.rectImage=g;exports.rectImage2=r;exports.rectImage5=o;exports.rectImage7=u;exports.rectImage9=S;exports.root=e;exports.smallSquareImage=m;exports.smallSquareImage1=_;exports.smallSquareImage3=I;exports.smallSquareImage6=s;exports.smallSquareImage8=t;
|
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
const e = "clockImages-module__root___EP8LS", a = "clockImages-module__image___MtqIw", m = "clockImages-module__smallSquareImage___NkpW3", _ = "clockImages-module__largeSquareImage___mPBhn",
|
|
1
|
+
const e = "clockImages-module__root___EP8LS", a = "clockImages-module__image___MtqIw", m = "clockImages-module__smallSquareImage___NkpW3", _ = "clockImages-module__largeSquareImage___mPBhn", l = "clockImages-module__rectImage___GMy9G", g = "clockImages-module__smallSquareImage1___yHzSr", c = "clockImages-module__rectImage2___yTVQv", I = "clockImages-module__smallSquareImage3___2Ulue", o = "clockImages-module__largeSquareImage4___ENR09", r = "clockImages-module__rectImage5___Q6nwe", s = "clockImages-module__smallSquareImage6___JIgK4", u = "clockImages-module__rectImage7___LLPub", t = "clockImages-module__smallSquareImage8___hK-yx", S = "clockImages-module__rectImage9___FJ8gO", q = "clockImages-module__largeSquareImage10___yOvmO", n = {
|
|
2
2
|
root: e,
|
|
3
3
|
image: a,
|
|
4
4
|
smallSquareImage: m,
|
|
5
5
|
largeSquareImage: _,
|
|
6
|
-
rectImage:
|
|
6
|
+
rectImage: l,
|
|
7
|
+
smallSquareImage1: g,
|
|
8
|
+
rectImage2: c,
|
|
9
|
+
smallSquareImage3: I,
|
|
10
|
+
largeSquareImage4: o,
|
|
11
|
+
rectImage5: r,
|
|
12
|
+
smallSquareImage6: s,
|
|
13
|
+
rectImage7: u,
|
|
14
|
+
smallSquareImage8: t,
|
|
15
|
+
rectImage9: S,
|
|
16
|
+
largeSquareImage10: q
|
|
7
17
|
};
|
|
8
18
|
export {
|
|
9
|
-
|
|
19
|
+
n as default,
|
|
10
20
|
a as image,
|
|
11
21
|
_ as largeSquareImage,
|
|
12
|
-
|
|
22
|
+
q as largeSquareImage10,
|
|
23
|
+
o as largeSquareImage4,
|
|
24
|
+
l as rectImage,
|
|
25
|
+
c as rectImage2,
|
|
26
|
+
r as rectImage5,
|
|
27
|
+
u as rectImage7,
|
|
28
|
+
S as rectImage9,
|
|
13
29
|
e as root,
|
|
14
|
-
m as smallSquareImage
|
|
30
|
+
m as smallSquareImage,
|
|
31
|
+
g as smallSquareImage1,
|
|
32
|
+
I as smallSquareImage3,
|
|
33
|
+
s as smallSquareImage6,
|
|
34
|
+
t as smallSquareImage8
|
|
15
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="optimalHealth-module__root___l-DfB",o="optimalHealth-module__container___Nc-Cv",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="optimalHealth-module__root___l-DfB",o="optimalHealth-module__wrapper___DdVh-",e="optimalHealth-module__container___Nc-Cv",_="optimalHealth-module__content___5ntd8",l="optimalHealth-module__description___3MlIW",n="optimalHealth-module__actions___IWhyr",a="optimalHealth-module__mobile___8lH1x",i="optimalHealth-module__desktop___Nh1ZJ",c={root:t,wrapper:o,container:e,content:_,description:l,actions:n,mobile:a,desktop:i};exports.actions=n;exports.container=e;exports.content=_;exports.default=c;exports.description=l;exports.desktop=i;exports.mobile=a;exports.root=t;exports.wrapper=o;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
const o = "optimalHealth-module__root___l-DfB", t = "optimalHealth-module__container___Nc-Cv",
|
|
1
|
+
const o = "optimalHealth-module__root___l-DfB", t = "optimalHealth-module__wrapper___DdVh-", _ = "optimalHealth-module__container___Nc-Cv", e = "optimalHealth-module__content___5ntd8", l = "optimalHealth-module__description___3MlIW", n = "optimalHealth-module__actions___IWhyr", a = "optimalHealth-module__mobile___8lH1x", i = "optimalHealth-module__desktop___Nh1ZJ", c = {
|
|
2
2
|
root: o,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
wrapper: t,
|
|
4
|
+
container: _,
|
|
5
|
+
content: e,
|
|
6
|
+
description: l,
|
|
7
|
+
actions: n,
|
|
8
|
+
mobile: a,
|
|
9
|
+
desktop: i
|
|
9
10
|
};
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
o as root
|
|
12
|
+
n as actions,
|
|
13
|
+
_ as container,
|
|
14
|
+
e as content,
|
|
15
|
+
c as default,
|
|
16
|
+
l as description,
|
|
17
|
+
i as desktop,
|
|
18
|
+
a as mobile,
|
|
19
|
+
o as root,
|
|
20
|
+
t as wrapper
|
|
19
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/StepsCarousel/StepsCarousel.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/StepsCarousel/StepsCarousel.cjs.js"),a=require("../../components/Button/Button.cjs.js"),d=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),t=require("./ourProcess.module.css.cjs.js"),c=({title:i,label:n,colorScheme:s,steps:o,buttonLabel:u,buttonLink:r})=>e.jsx("section",{className:t.default.root,"data-scheme":s,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.header,children:[e.jsx(d.HighlightedTitle,{title:i,label:n,colorScheme:s}),r&&e.jsx("div",{children:e.jsx(a.Button,{as:"a",variant:s==="light"?"muted":"muted-invert",size:"lg",href:r,children:u||"How it works"})})]}),e.jsx(l.StepsCarousel,{steps:o,colorScheme:s})]})});exports.OurProcess=c;
|
|
@@ -7,6 +7,7 @@ export type OurProcessProps = {
|
|
|
7
7
|
label: string;
|
|
8
8
|
colorScheme: TColorScheme;
|
|
9
9
|
steps: TStepsCarouselView;
|
|
10
|
-
|
|
10
|
+
buttonLabel?: string;
|
|
11
|
+
buttonLink?: string;
|
|
11
12
|
};
|
|
12
|
-
export declare const OurProcess: ({ title, label, colorScheme,
|
|
13
|
+
export declare const OurProcess: ({ title, label, colorScheme, steps, buttonLabel, buttonLink }: OurProcessProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { StepsCarousel as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { HighlightedTitle as
|
|
2
|
+
import { StepsCarousel as l } from "../../components/StepsCarousel/StepsCarousel.es.js";
|
|
3
|
+
import { Button as n } from "../../components/Button/Button.es.js";
|
|
4
|
+
import { HighlightedTitle as h } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
5
|
import t from "./ourProcess.module.css.es.js";
|
|
6
|
-
const
|
|
6
|
+
const g = ({ title: a, label: o, colorScheme: i, steps: d, buttonLabel: m, buttonLink: e }) => /* @__PURE__ */ r("section", { className: t.root, "data-scheme": i, children: /* @__PURE__ */ s("div", { className: t.container, children: [
|
|
7
7
|
/* @__PURE__ */ s("div", { className: t.header, children: [
|
|
8
|
-
/* @__PURE__ */ r(
|
|
9
|
-
e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
|
|
8
|
+
/* @__PURE__ */ r(h, { title: a, label: o, colorScheme: i }),
|
|
9
|
+
e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
|
|
10
|
+
n,
|
|
11
|
+
{
|
|
12
|
+
as: "a",
|
|
13
|
+
variant: i === "light" ? "muted" : "muted-invert",
|
|
14
|
+
size: "lg",
|
|
15
|
+
href: e,
|
|
16
|
+
children: m || "How it works"
|
|
17
|
+
}
|
|
18
|
+
) })
|
|
10
19
|
] }),
|
|
11
|
-
/* @__PURE__ */ r(
|
|
20
|
+
/* @__PURE__ */ r(l, { steps: d, colorScheme: i })
|
|
12
21
|
] }) });
|
|
13
22
|
export {
|
|
14
|
-
|
|
23
|
+
g as OurProcess
|
|
15
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../components/Button/Button.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),n=require("../../components/ProductPairs/ProductPairs.cjs.js"),t=require("../../utils/cn/cn.cjs.js"),r=require("./pairedProducts.module.css.cjs.js"),o=({
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../components/Button/Button.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),n=require("../../components/ProductPairs/ProductPairs.cjs.js"),t=require("../../utils/cn/cn.cjs.js"),r=require("./pairedProducts.module.css.cjs.js"),o=({title:d,button:a,productCards:i})=>e.jsx("section",{className:r.default.root,children:e.jsxs("div",{className:r.default.container,children:[e.jsxs("div",{className:r.default.header,children:[e.jsx(c.Typography,{as:"h2",defaultVariant:"displaySm",mobileVariant:"headingLg",children:d}),e.jsx("div",{className:t.cn(r.default.buttonWrap,r.default.mobile),children:e.jsx(s.Button,{as:"a",href:a.href,variant:"muted",size:"sm",children:a.label})}),e.jsx("div",{className:t.cn(r.default.buttonWrap,r.default.desktop),children:e.jsx(s.Button,{as:"a",href:a.href,variant:"muted",size:"lg",children:a.label})})]}),e.jsx("div",{className:r.default.productCards,children:e.jsx(n.ProductPairs,{productCards:i})})]})});exports.PairedProducts=o;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
|
|
2
2
|
|
|
3
3
|
type PairedProductsProps = {
|
|
4
|
-
|
|
4
|
+
title: string;
|
|
5
5
|
button: {
|
|
6
6
|
label: string;
|
|
7
7
|
href: string;
|
|
8
8
|
};
|
|
9
9
|
productCards: Array<TProductGalleryCardView>;
|
|
10
10
|
};
|
|
11
|
-
export declare const PairedProducts: ({
|
|
11
|
+
export declare const PairedProducts: ({ title, button, productCards }: PairedProductsProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|