@zenpatient-org/healthspan-marketing-ui 0.1.23 → 0.1.25
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.cjs.js +1 -0
- package/dist/components/Accordion/Accordion.d.ts +8 -0
- package/dist/components/Accordion/Accordion.es.js +27 -0
- package/dist/components/Accordion/accordion.module.css.cjs.js +1 -0
- package/dist/components/Accordion/accordion.module.css.es.js +7 -0
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +1 -0
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.es.js +31 -0
- package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +1 -0
- package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +25 -0
- package/dist/components/Accordion/components/AccordionItem/index.d.ts +2 -0
- package/dist/components/Accordion/components/AccordionItem/types.d.ts +9 -0
- package/dist/components/Accordion/components/index.d.ts +1 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/types.d.ts +6 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +3 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +135 -0
- package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -0
- package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -0
- package/dist/components/ComplexImageCarousel/index.d.ts +2 -0
- package/dist/components/ComplexImageCarousel/types.d.ts +10 -0
- package/dist/components/Icon/constants.cjs.js +1 -1
- package/dist/components/Icon/constants.d.ts +3 -0
- package/dist/components/Icon/constants.es.js +4 -1
- package/dist/components/Icon/iconsMap.cjs.js +1 -1
- package/dist/components/Icon/iconsMap.es.js +104 -98
- package/dist/components/IconBracket/IconBracket.cjs.js +1 -0
- package/dist/components/IconBracket/IconBracket.d.ts +3 -0
- package/dist/components/IconBracket/IconBracket.es.js +16 -0
- package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -0
- package/dist/components/IconBracket/iconBracket.module.css.es.js +9 -0
- package/dist/components/IconBracket/index.d.ts +1 -0
- package/dist/components/IconBracket/types.d.ts +8 -0
- package/dist/components/PlayButton/PlayButton.cjs.js +1 -0
- package/dist/components/PlayButton/PlayButton.d.ts +8 -0
- package/dist/components/PlayButton/PlayButton.es.js +9 -0
- package/dist/components/PlayButton/index.d.ts +1 -0
- package/dist/components/PlayButton/playButton.module.css.cjs.js +1 -0
- package/dist/components/PlayButton/playButton.module.css.es.js +11 -0
- package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
- package/dist/components/ProgressButton/ProgressButton.d.ts +2 -1
- package/dist/components/ProgressButton/ProgressButton.es.js +17 -13
- package/dist/components/RatingStars/RatingStars.cjs.js +1 -0
- package/dist/components/RatingStars/RatingStars.d.ts +6 -0
- package/dist/components/RatingStars/RatingStars.es.js +18 -0
- package/dist/components/RatingStars/index.d.ts +1 -0
- package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -0
- package/dist/components/RatingStars/ratingStars.module.css.es.js +13 -0
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/icons/action/bracket-left.svg.cjs.js +1 -0
- package/dist/icons/action/bracket-left.svg.es.js +5 -0
- package/dist/icons/action/bracket-right.svg.cjs.js +1 -0
- package/dist/icons/action/bracket-right.svg.es.js +5 -0
- package/dist/icons/action/play.svg.cjs.js +1 -0
- package/dist/icons/action/play.svg.es.js +5 -0
- package/dist/modules/Benefits/Benefits.cjs.js +1 -1
- package/dist/modules/Benefits/Benefits.es.js +8 -8
- package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -1
- package/dist/modules/Benefits/benefits.module.css.es.js +17 -15
- package/dist/modules/Callback/Callback.cjs.js +1 -1
- package/dist/modules/Callback/Callback.es.js +18 -18
- package/dist/modules/Callback/callback.module.css.cjs.js +1 -1
- package/dist/modules/Callback/callback.module.css.es.js +8 -6
- package/dist/modules/Compare/Compare.cjs.js +1 -0
- package/dist/modules/Compare/Compare.es.js +26 -0
- package/dist/modules/Compare/compare.module.css.cjs.js +1 -0
- package/dist/modules/Compare/compare.module.css.es.js +15 -0
- package/dist/modules/Comparison/Comparison.cjs.js +1 -1
- package/dist/modules/Comparison/Comparison.es.js +18 -9
- package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -1
- package/dist/modules/Comparison/comparison.module.css.es.js +34 -32
- package/dist/modules/FAQ/FAQ.cjs.js +1 -0
- package/dist/modules/FAQ/FAQ.d.ts +3 -0
- package/dist/modules/FAQ/FAQ.es.js +17 -0
- package/dist/modules/FAQ/faq.module.css.cjs.js +1 -0
- package/dist/modules/FAQ/faq.module.css.es.js +19 -0
- package/dist/modules/FAQ/index.d.ts +1 -0
- package/dist/modules/FAQ/types.d.ts +10 -0
- package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -1
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +7 -7
- package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -1
- package/dist/modules/FollowTheScience/FollowTheScience.es.js +45 -43
- package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -1
- package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +10 -8
- package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -0
- package/dist/modules/ImageWithText/ImageWithText.d.ts +3 -0
- package/dist/modules/ImageWithText/ImageWithText.es.js +35 -0
- package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -0
- package/dist/modules/ImageWithText/imageWithText.module.css.es.js +23 -0
- package/dist/modules/ImageWithText/index.d.ts +1 -0
- package/dist/modules/ImageWithText/types.d.ts +9 -0
- package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -0
- package/dist/modules/LongevityPathways/LongevityPathways.d.ts +3 -0
- package/dist/modules/LongevityPathways/LongevityPathways.es.js +19 -0
- package/dist/modules/LongevityPathways/index.d.ts +2 -0
- package/dist/modules/LongevityPathways/longevityPathways.module.css.cjs.js +1 -0
- package/dist/modules/LongevityPathways/longevityPathways.module.css.es.js +9 -0
- package/dist/modules/LongevityPathways/types.d.ts +9 -0
- package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -2
- package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +4 -4
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/productsDisplayTabs.module.css.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/productsDisplayTabs.module.css.es.js +5 -5
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +9 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +102 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +29 -0
- package/dist/modules/SlidingTabsGallery/index.d.ts +1 -0
- package/dist/modules/Studies/Studies.cjs.js +1 -1
- package/dist/modules/Studies/Studies.es.js +16 -16
- package/dist/modules/Studies/studies.module.css.cjs.js +1 -1
- package/dist/modules/Studies/studies.module.css.es.js +14 -12
- package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -1
- package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +9 -9
- package/dist/modules/Testimonial/Testimonial.cjs.js +1 -0
- package/dist/modules/Testimonial/Testimonial.d.ts +13 -0
- package/dist/modules/Testimonial/Testimonial.es.js +88 -0
- package/dist/modules/Testimonial/components/Product/Product.cjs.js +1 -0
- package/dist/modules/Testimonial/components/Product/Product.d.ts +7 -0
- package/dist/modules/Testimonial/components/Product/Product.es.js +23 -0
- package/dist/modules/Testimonial/components/Product/index.d.ts +1 -0
- package/dist/modules/Testimonial/components/Product/product.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/components/Product/product.module.css.es.js +17 -0
- package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -0
- package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +3 -0
- package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -0
- package/dist/modules/Testimonial/components/TextCard/index.d.ts +1 -0
- package/dist/modules/Testimonial/components/TextCard/textCard.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/components/TextCard/textCard.module.css.es.js +13 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +11 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +62 -0
- package/dist/modules/Testimonial/components/VideoCard/index.d.ts +1 -0
- package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.es.js +17 -0
- package/dist/modules/Testimonial/index.d.ts +1 -0
- package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/testimonial.module.css.es.js +25 -0
- package/dist/modules/Testimonial/types.d.ts +26 -0
- package/dist/modules/TrackProgress/TrackProgress.cjs.js +1 -0
- package/dist/modules/TrackProgress/TrackProgress.d.ts +10 -0
- package/dist/modules/TrackProgress/TrackProgress.es.js +24 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +7 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +90 -0
- package/dist/modules/TrackProgress/components/TimelineContent/index.d.ts +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +25 -0
- package/dist/modules/TrackProgress/index.d.ts +1 -0
- package/dist/modules/TrackProgress/trackProgress.module.css.cjs.js +1 -0
- package/dist/modules/TrackProgress/trackProgress.module.css.es.js +13 -0
- package/dist/modules/TrackProgress/types.d.ts +6 -0
- package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
- package/dist/modules/YourProtocol/YourProtocol.es.js +21 -21
- package/dist/modules/YourProtocol/yourProtocol.module.css.cjs.js +1 -1
- package/dist/modules/YourProtocol/yourProtocol.module.css.es.js +12 -10
- package/dist/node_modules/@gsap/react/src/index.cjs.js +9 -0
- package/dist/node_modules/@gsap/react/src/index.es.js +29 -0
- package/dist/node_modules/gsap/Flip.cjs.js +8 -0
- package/dist/node_modules/gsap/Flip.es.js +525 -0
- package/dist/node_modules/gsap/utils/matrix.cjs.js +8 -0
- package/dist/node_modules/gsap/utils/matrix.es.js +104 -0
- package/dist/pageComponents/Gradient/Gradient.d.ts +5 -0
- package/dist/pageComponents/Gradient/index.d.ts +1 -0
- package/package.json +65 -9
|
@@ -1,92 +1,94 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import
|
|
7
|
-
import { Swiper as
|
|
6
|
+
import w from "../../node_modules/swiper/modules/navigation.es.js";
|
|
7
|
+
import { Swiper as g, SwiperSlide as N } from "../../node_modules/swiper/swiper-react.es.js";
|
|
8
8
|
import { Benefit as v } from "../../components/Benefit/Benefit.es.js";
|
|
9
|
-
import { EIconName as
|
|
10
|
-
import { Label as
|
|
11
|
-
import { ProgressButton as
|
|
12
|
-
import { TextButton as
|
|
13
|
-
import { useSwiper as
|
|
9
|
+
import { EIconName as R } from "../../components/Icon/constants.es.js";
|
|
10
|
+
import { Label as k } from "../../components/Label/Label.es.js";
|
|
11
|
+
import { ProgressButton as a } from "../../components/ProgressButton/ProgressButton.es.js";
|
|
12
|
+
import { TextButton as C } from "../../components/TextButton/TextButton.es.js";
|
|
13
|
+
import { useSwiper as E } from "../../utils/useSwiper/useSwiper.es.js";
|
|
14
14
|
import i from "./followTheScience.module.css.es.js";
|
|
15
|
-
const
|
|
16
|
-
function
|
|
15
|
+
const x = [w];
|
|
16
|
+
function _({ labelText: c, benefits: m }) {
|
|
17
17
|
const {
|
|
18
|
-
activeIndex:
|
|
19
|
-
setIsEnd:
|
|
20
|
-
isEnd:
|
|
21
|
-
|
|
18
|
+
activeIndex: B,
|
|
19
|
+
setIsEnd: p,
|
|
20
|
+
isEnd: r,
|
|
21
|
+
isBeginning: t,
|
|
22
|
+
hideNav: n,
|
|
23
|
+
handleSlideChange: h,
|
|
22
24
|
handlePrevClick: s,
|
|
23
|
-
handleNextClick:
|
|
24
|
-
onSwiperInit:
|
|
25
|
-
handleSwiperResize:
|
|
26
|
-
} =
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */ e(
|
|
30
|
-
/* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "desktop", children: /* @__PURE__ */ e(
|
|
31
|
-
|
|
25
|
+
handleNextClick: l,
|
|
26
|
+
onSwiperInit: f,
|
|
27
|
+
handleSwiperResize: S
|
|
28
|
+
} = E();
|
|
29
|
+
return /* @__PURE__ */ d("section", { className: i.container, children: [
|
|
30
|
+
/* @__PURE__ */ d("div", { className: i.heading, children: [
|
|
31
|
+
/* @__PURE__ */ e(k, { color: "white", size: "lg", children: c }),
|
|
32
|
+
!n && /* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "desktop", children: /* @__PURE__ */ e(
|
|
33
|
+
a,
|
|
32
34
|
{
|
|
33
35
|
left: {
|
|
34
36
|
onClick: s,
|
|
35
|
-
disabled:
|
|
37
|
+
disabled: t
|
|
36
38
|
},
|
|
37
39
|
right: {
|
|
38
|
-
disabled:
|
|
39
|
-
onClick:
|
|
40
|
+
disabled: r,
|
|
41
|
+
onClick: l
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
) })
|
|
43
45
|
] }),
|
|
44
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
45
|
-
|
|
46
|
+
/* @__PURE__ */ e("div", { className: i.content, children: /* @__PURE__ */ e(
|
|
47
|
+
g,
|
|
46
48
|
{
|
|
47
|
-
onSwiper:
|
|
48
|
-
onResize:
|
|
49
|
-
onSlideChange:
|
|
50
|
-
onReachEnd: () =>
|
|
51
|
-
modules:
|
|
49
|
+
onSwiper: f,
|
|
50
|
+
onResize: S,
|
|
51
|
+
onSlideChange: h,
|
|
52
|
+
onReachEnd: () => p(!0),
|
|
53
|
+
modules: x,
|
|
52
54
|
spaceBetween: 0,
|
|
53
55
|
slidesPerView: "auto",
|
|
54
56
|
className: i.swiper,
|
|
55
|
-
children:
|
|
57
|
+
children: m.map((o, u) => /* @__PURE__ */ e(N, { className: i.swiperSlide, children: /* @__PURE__ */ e(
|
|
56
58
|
v,
|
|
57
59
|
{
|
|
58
60
|
title: o.title,
|
|
59
61
|
description: o.description,
|
|
60
62
|
button: /* @__PURE__ */ e(
|
|
61
|
-
|
|
63
|
+
C,
|
|
62
64
|
{
|
|
63
65
|
as: "a",
|
|
64
66
|
size: "sm",
|
|
65
67
|
color: "white",
|
|
66
|
-
suffixIcon:
|
|
68
|
+
suffixIcon: R.ARROW_FORWARD,
|
|
67
69
|
href: o.link,
|
|
68
70
|
children: "READ THE STUDY"
|
|
69
71
|
}
|
|
70
72
|
)
|
|
71
73
|
}
|
|
72
|
-
) },
|
|
74
|
+
) }, u))
|
|
73
75
|
}
|
|
74
76
|
) }),
|
|
75
|
-
/* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "mobile", children: /* @__PURE__ */ e(
|
|
76
|
-
|
|
77
|
+
!n && /* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "mobile", children: /* @__PURE__ */ e(
|
|
78
|
+
a,
|
|
77
79
|
{
|
|
78
80
|
left: {
|
|
79
81
|
onClick: s,
|
|
80
|
-
disabled:
|
|
82
|
+
disabled: t
|
|
81
83
|
},
|
|
82
84
|
right: {
|
|
83
|
-
onClick:
|
|
84
|
-
disabled:
|
|
85
|
+
onClick: l,
|
|
86
|
+
disabled: r
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
) })
|
|
88
90
|
] });
|
|
89
91
|
}
|
|
90
92
|
export {
|
|
91
|
-
|
|
93
|
+
_ as FollowTheScience
|
|
92
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="followTheScience-module__container___Aur-g",o="followTheScience-module__heading___R9F6F",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="followTheScience-module__container___Aur-g",o="followTheScience-module__heading___R9F6F",n="followTheScience-module__content___RnT5E",t="followTheScience-module__swiper___iUsAd",s="followTheScience-module__swiperSlide___YMeah",_="followTheScience-module__progressButtons___mzqTh",i={container:e,heading:o,content:n,swiper:t,swiperSlide:s,progressButtons:_};exports.container=e;exports.content=n;exports.default=i;exports.heading=o;exports.progressButtons=_;exports.swiper=t;exports.swiperSlide=s;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
const e = "followTheScience-module__container___Aur-g", o = "followTheScience-module__heading___R9F6F",
|
|
1
|
+
const e = "followTheScience-module__container___Aur-g", o = "followTheScience-module__heading___R9F6F", n = "followTheScience-module__content___RnT5E", _ = "followTheScience-module__swiper___iUsAd", s = "followTheScience-module__swiperSlide___YMeah", c = "followTheScience-module__progressButtons___mzqTh", t = {
|
|
2
2
|
container: e,
|
|
3
3
|
heading: o,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
content: n,
|
|
5
|
+
swiper: _,
|
|
6
|
+
swiperSlide: s,
|
|
7
|
+
progressButtons: c
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
10
|
e as container,
|
|
10
|
-
|
|
11
|
+
n as content,
|
|
12
|
+
t as default,
|
|
11
13
|
o as heading,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
c as progressButtons,
|
|
15
|
+
_ as swiper,
|
|
16
|
+
s as swiperSlide
|
|
15
17
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Typography/Typography.cjs.js"),c=require("../../utils/cn/cn.cjs.js"),a=require("./imageWithText.module.css.cjs.js"),o=({image:s,text:t,textAlign:i="left",title:l,description:r})=>e.jsx("section",{className:a.default.root,children:e.jsxs("div",{className:a.default.container,children:[e.jsx("div",{className:a.default.imageContainer,children:e.jsx("img",{src:s,alt:"background image",className:a.default.image})}),e.jsxs("div",{className:c.cn(a.default.content,{[a.default.textAlignLeft]:i==="left",[a.default.textAlignRight]:i==="right"}),children:[l&&r&&e.jsxs("div",{className:a.default.richTextContainer,children:[e.jsx(d.HighlightedTitle,{colorScheme:"dark",title:l,defaultVariant:"displayXs",mobileVariant:"headingLg"}),e.jsx(n.Typography,{defaultVariant:"bodyMd",mobileVariant:"bodySm",children:r})]}),t&&e.jsx("div",{className:a.default.textContainer,children:e.jsx(n.Typography,{defaultVariant:"displayXs",mobileVariant:"headingXs",children:t})})]})]})});exports.ImageWithText=o;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as i, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as s } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { Typography as o } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { cn as d } from "../../utils/cn/cn.es.js";
|
|
5
|
+
import a from "./imageWithText.module.css.es.js";
|
|
6
|
+
const y = ({ image: m, text: r, textAlign: t = "left", title: n, description: l }) => /* @__PURE__ */ i("section", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
|
|
7
|
+
/* @__PURE__ */ i("div", { className: a.imageContainer, children: /* @__PURE__ */ i("img", { src: m, alt: "background image", className: a.image }) }),
|
|
8
|
+
/* @__PURE__ */ e(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
className: d(a.content, {
|
|
12
|
+
[a.textAlignLeft]: t === "left",
|
|
13
|
+
[a.textAlignRight]: t === "right"
|
|
14
|
+
}),
|
|
15
|
+
children: [
|
|
16
|
+
n && l && /* @__PURE__ */ e("div", { className: a.richTextContainer, children: [
|
|
17
|
+
/* @__PURE__ */ i(
|
|
18
|
+
s,
|
|
19
|
+
{
|
|
20
|
+
colorScheme: "dark",
|
|
21
|
+
title: n,
|
|
22
|
+
defaultVariant: "displayXs",
|
|
23
|
+
mobileVariant: "headingLg"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ i(o, { defaultVariant: "bodyMd", mobileVariant: "bodySm", children: l })
|
|
27
|
+
] }),
|
|
28
|
+
r && /* @__PURE__ */ i("div", { className: a.textContainer, children: /* @__PURE__ */ i(o, { defaultVariant: "displayXs", mobileVariant: "headingXs", children: r }) })
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }) });
|
|
33
|
+
export {
|
|
34
|
+
y as ImageWithText
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="imageWithText-module__root___Uq9G7",e="imageWithText-module__container___aRFfK",i="imageWithText-module__content___IKyX1",n="imageWithText-module__textAlignLeft___nxRQf",o="imageWithText-module__textAlignRight___ldGBP",_="imageWithText-module__textContainer___m5Jfs",a="imageWithText-module__richTextContainer___ochKF",g="imageWithText-module__imageContainer___bcAmi",m="imageWithText-module__image___paWe4",r={root:t,container:e,content:i,textAlignLeft:n,textAlignRight:o,textContainer:_,richTextContainer:a,imageContainer:g,image:m};exports.container=e;exports.content=i;exports.default=r;exports.image=m;exports.imageContainer=g;exports.richTextContainer=a;exports.root=t;exports.textAlignLeft=n;exports.textAlignRight=o;exports.textContainer=_;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const t = "imageWithText-module__root___Uq9G7", e = "imageWithText-module__container___aRFfK", i = "imageWithText-module__content___IKyX1", n = "imageWithText-module__textAlignLeft___nxRQf", _ = "imageWithText-module__textAlignRight___ldGBP", o = "imageWithText-module__textContainer___m5Jfs", a = "imageWithText-module__richTextContainer___ochKF", m = "imageWithText-module__imageContainer___bcAmi", g = "imageWithText-module__image___paWe4", x = {
|
|
2
|
+
root: t,
|
|
3
|
+
container: e,
|
|
4
|
+
content: i,
|
|
5
|
+
textAlignLeft: n,
|
|
6
|
+
textAlignRight: _,
|
|
7
|
+
textContainer: o,
|
|
8
|
+
richTextContainer: a,
|
|
9
|
+
imageContainer: m,
|
|
10
|
+
image: g
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
e as container,
|
|
14
|
+
i as content,
|
|
15
|
+
x as default,
|
|
16
|
+
g as image,
|
|
17
|
+
m as imageContainer,
|
|
18
|
+
a as richTextContainer,
|
|
19
|
+
t as root,
|
|
20
|
+
n as textAlignLeft,
|
|
21
|
+
_ as textAlignRight,
|
|
22
|
+
o as textContainer
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ImageWithText } from './ImageWithText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),o=require("../../components/ComplexImageCarousel/ComplexImageCarousel.cjs.js"),t=require("./longevityPathways.module.css.cjs.js"),r=({view:a,label:n,title:l,carousel:i})=>e.jsxs("section",{className:t.default.root,children:[e.jsx("div",{className:t.default.header,children:e.jsx(s.HighlightedTitle,{title:l,className:t.default.title,defaultVariant:"displayMd",mobileVariant:"headingXl"})}),e.jsx(o.ComplexImageCarousel,{images:i,view:a})]});exports.LongevityPathways=r;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as o } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { ComplexImageCarousel as s } from "../../components/ComplexImageCarousel/ComplexImageCarousel.es.js";
|
|
4
|
+
import a from "./longevityPathways.module.css.es.js";
|
|
5
|
+
const p = ({ view: i, label: m, title: t, carousel: r }) => /* @__PURE__ */ l("section", { className: a.root, children: [
|
|
6
|
+
/* @__PURE__ */ e("div", { className: a.header, children: /* @__PURE__ */ e(
|
|
7
|
+
o,
|
|
8
|
+
{
|
|
9
|
+
title: t,
|
|
10
|
+
className: a.title,
|
|
11
|
+
defaultVariant: "displayMd",
|
|
12
|
+
mobileVariant: "headingXl"
|
|
13
|
+
}
|
|
14
|
+
) }),
|
|
15
|
+
/* @__PURE__ */ e(s, { images: r, view: i })
|
|
16
|
+
] });
|
|
17
|
+
export {
|
|
18
|
+
p as LongevityPathways
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="longevityPathways-module__root___-Fwyo",o="longevityPathways-module__header___avZn2",t={root:e,header:o};exports.default=t;exports.header=o;exports.root=e;
|
|
@@ -8,8 +8,25 @@ import a from "./optimalHealth.module.css.es.js";
|
|
|
8
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(
|
|
12
|
-
|
|
11
|
+
/* @__PURE__ */ i(
|
|
12
|
+
n,
|
|
13
|
+
{
|
|
14
|
+
title: o,
|
|
15
|
+
className: a.title,
|
|
16
|
+
defaultVariant: "displaySm",
|
|
17
|
+
mobileVariant: "headingLg"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ i(
|
|
21
|
+
c,
|
|
22
|
+
{
|
|
23
|
+
as: "p",
|
|
24
|
+
defaultVariant: "bodyLg",
|
|
25
|
+
mobileVariant: "bodySm",
|
|
26
|
+
className: a.description,
|
|
27
|
+
children: m
|
|
28
|
+
}
|
|
29
|
+
),
|
|
13
30
|
/* @__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
31
|
/* @__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
32
|
] })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),T=require("../../components/ProductGallery/ProductGallery.cjs.js"),g=require("../../components/ProductGalleryCard/ProductGalleryCard.cjs.js"),i=require("../../components/Typography/Typography.cjs.js"),q=require("./components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js"),s=require("./productsDisplay.module.css.cjs.js"),j=require("./useProductsData.cjs.js"),x=({labelText:d,productDisplays:u})=>{var l;const{isTabbed:t,title:n,description:y,tabs:a,slidesByTabs:o}=j.useProductsData({productDisplays:u}),[r,p]=c.useState(((l=a[0])==null?void 0:l.value)??""),b=c.useMemo(()=>(o[r]??[]).map((m,P)=>e.jsx(g.ProductGalleryCard,{...m},P)),[r,o]),h=t?e.jsx(q.ProductsDisplayTabs,{label:d,tabs:a,activeTab:r,onTabChange:p}):e.jsxs("div",{className:s.default.header,children:[e.jsx(i.Typography,{className:s.default.headerTitle,defaultVariant:"displayMd",mobileVariant:"headingLg",children:n}),e.jsx(i.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodySm",children:y})]});return e.jsx("
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),T=require("../../components/ProductGallery/ProductGallery.cjs.js"),g=require("../../components/ProductGalleryCard/ProductGalleryCard.cjs.js"),i=require("../../components/Typography/Typography.cjs.js"),q=require("./components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js"),s=require("./productsDisplay.module.css.cjs.js"),j=require("./useProductsData.cjs.js"),x=({labelText:d,productDisplays:u})=>{var l;const{isTabbed:t,title:n,description:y,tabs:a,slidesByTabs:o}=j.useProductsData({productDisplays:u}),[r,p]=c.useState(((l=a[0])==null?void 0:l.value)??""),b=c.useMemo(()=>(o[r]??[]).map((m,P)=>e.jsx(g.ProductGalleryCard,{...m},P)),[r,o]),h=t?e.jsx(q.ProductsDisplayTabs,{label:d,tabs:a,activeTab:r,onTabChange:p}):e.jsxs("div",{className:s.default.header,children:[e.jsx(i.Typography,{className:s.default.headerTitle,defaultVariant:"displayMd",mobileVariant:"headingLg",children:n}),e.jsx(i.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodySm",children:y})]});return e.jsx("section",{className:s.default.root,children:e.jsx(T.ProductGallery,{header:h,slides:b,isTabbed:t})})};exports.ProductsDisplay=x;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
|
3
3
|
import { useState as T, useMemo as g } from "react";
|
|
4
|
-
import { ProductGallery as
|
|
5
|
-
import { ProductGalleryCard as
|
|
4
|
+
import { ProductGallery as P } from "../../components/ProductGallery/ProductGallery.es.js";
|
|
5
|
+
import { ProductGalleryCard as v } from "../../components/ProductGalleryCard/ProductGalleryCard.es.js";
|
|
6
6
|
import { Typography as l } from "../../components/Typography/Typography.es.js";
|
|
7
7
|
import { ProductsDisplayTabs as V } from "./components/ProductsDisplayTabs/ProductsDisplayTabs.es.js";
|
|
8
8
|
import r from "./productsDisplay.module.css.es.js";
|
|
@@ -11,11 +11,11 @@ const B = ({ labelText: d, productDisplays: m }) => {
|
|
|
11
11
|
var i;
|
|
12
12
|
const { isTabbed: a, title: c, description: n, tabs: s, slidesByTabs: o } = x({
|
|
13
13
|
productDisplays: m
|
|
14
|
-
}), [e, p] = T(((i = s[0]) == null ? void 0 : i.value) ?? ""), u = g(() => (o[e] ?? []).map((y, f) => /* @__PURE__ */ t(
|
|
14
|
+
}), [e, p] = T(((i = s[0]) == null ? void 0 : i.value) ?? ""), u = g(() => (o[e] ?? []).map((y, f) => /* @__PURE__ */ t(v, { ...y }, f)), [e, o]), b = a ? /* @__PURE__ */ t(V, { label: d, tabs: s, activeTab: e, onTabChange: p }) : /* @__PURE__ */ h("div", { className: r.header, children: [
|
|
15
15
|
/* @__PURE__ */ t(l, { className: r.headerTitle, defaultVariant: "displayMd", mobileVariant: "headingLg", children: c }),
|
|
16
16
|
/* @__PURE__ */ t(l, { defaultVariant: "bodyLg", mobileVariant: "bodySm", children: n })
|
|
17
17
|
] });
|
|
18
|
-
return /* @__PURE__ */ t("
|
|
18
|
+
return /* @__PURE__ */ t("section", { className: r.root, children: /* @__PURE__ */ t(P, { header: b, slides: u, isTabbed: a }) });
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
21
21
|
B as ProductsDisplay
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="productsDisplayTabs-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="productsDisplayTabs-module__header___nO8ge",l="productsDisplayTabs-module__label___yoPVH",a={header:e,label:l};exports.default=a;exports.header=e;exports.label=l;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const e = "productsDisplayTabs-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const e = "productsDisplayTabs-module__header___nO8ge", a = "productsDisplayTabs-module__label___yoPVH", l = {
|
|
2
|
+
header: e,
|
|
3
|
+
label: a
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
6
|
l as default,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
e as header,
|
|
8
|
+
a as label
|
|
9
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),f=require("react"),T=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),t=require("./SlidingTabsGallery.module.css.cjs.js"),v=require("../../utils/cn/cn.cjs.js");;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const N=require("../../styles/typography.module.css.cjs.js"),R=require("../../components/Icon/Icon.cjs.js"),y=require("../../node_modules/gsap/index.cjs.js"),p=require("../../node_modules/gsap/Flip.cjs.js"),b=require("../../node_modules/@gsap/react/src/index.cjs.js"),x=require("../../components/Typography/Typography.cjs.js");y.gsap.registerPlugin(p.Flip);const C=({title:q,tabs:o})=>{const s=f.useRef(null),a=f.useRef(null),[c,g]=f.useState(o[0]);b.useGSAP(()=>{const i=s.current,r=a.current,u=n=>{if(i&&r&&n){const m=r.getBoundingClientRect(),h=n.getBoundingClientRect();y.gsap.set(i,{left:h.left-m.left,top:h.top-m.top,width:h.width,height:h.height})}};if(r&&r.children.length>1){const n=r.children[1];n&&u(n)}let l;const d=()=>{clearTimeout(l),l=setTimeout(()=>{if(i&&r&&r.children.length>1&&o.length>0){const n=r.children[1];n&&(u(n),g(o[0]))}},250)};return window.addEventListener("resize",d),()=>{clearTimeout(l),window.removeEventListener("resize",d)}},{dependencies:[o,g],scope:a});const j=(i,r)=>{if(i===c)return;const u=p.Flip.getState(s.current);if(g(i),s.current&&a.current&&a.current.children.length>r+1){const l=a.current.children[r+1];if(l){const d=a.current.getBoundingClientRect(),n=l.getBoundingClientRect();s.current.style.left=`${n.left-d.left}px`,s.current.style.top=`${n.top-d.top}px`,s.current.style.width=`${n.width}px`,s.current.style.height=`${n.height}px`}}p.Flip.from(u,{targets:s.current,duration:.3,ease:"power1.inOut"})};return e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsx(T.HighlightedTitle,{as:"div",title:q,className:t.default.header,colorScheme:"dark"}),e.jsxs("div",{className:t.default.content,children:[c.image&&e.jsx("div",{className:t.default.imageWrap,children:e.jsx("img",{src:c.image,alt:"Total Care",className:t.default.image})}),e.jsx("div",{className:t.default.tabsContainer,children:e.jsxs("div",{ref:a,className:t.default.tabs,children:[e.jsx("div",{ref:s,id:"marker",className:t.default.marker}),o.map((i,r)=>e.jsxs("button",{className:v.cn(t.default.tab,{[t.default.active]:c===i}),onClick:()=>j(i,r),children:[i.icon&&e.jsx(x.Typography,{defaultVariant:"displayMd",className:t.default.icon,children:e.jsx(R.Icon,{name:i.icon})}),e.jsx(x.Typography,{defaultVariant:"displayMd",className:N.default.headingXs,children:i.label})]},i.label))]})}),c.description&&e.jsx("div",{className:t.default.description,children:e.jsx(T.HighlightedTitle,{as:"div",defaultVariant:"headingXs",className:t.default.descriptionText,title:c.description,colorScheme:"dark"})})]})]})})};exports.SlidingTabsGallery=C;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TContentTab } from '../../components/ContentTabs';
|
|
3
|
+
|
|
4
|
+
export type SlidingTabsGalleryProps = {
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
label: string;
|
|
7
|
+
tabs: ReadonlyArray<TContentTab>;
|
|
8
|
+
};
|
|
9
|
+
export declare const SlidingTabsGallery: ({ title, tabs }: SlidingTabsGalleryProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as n, jsxs as h } from "react/jsx-runtime";
|
|
3
|
+
import { useRef as T, useState as k } from "react";
|
|
4
|
+
import { HighlightedTitle as v } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
|
+
import e from "./SlidingTabsGallery.module.css.es.js";
|
|
6
|
+
import { cn as w } from "../../utils/cn/cn.es.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
import S from "../../styles/typography.module.css.es.js";
|
|
13
|
+
import { Icon as b } from "../../components/Icon/Icon.es.js";
|
|
14
|
+
import { gsap as y } from "../../node_modules/gsap/index.es.js";
|
|
15
|
+
import { Flip as f } from "../../node_modules/gsap/Flip.es.js";
|
|
16
|
+
import { useGSAP as x } from "../../node_modules/@gsap/react/src/index.es.js";
|
|
17
|
+
import { Typography as N } from "../../components/Typography/Typography.es.js";
|
|
18
|
+
y.registerPlugin(f);
|
|
19
|
+
const O = ({ title: C, tabs: l }) => {
|
|
20
|
+
const o = T(null), c = T(null), [s, u] = k(l[0]);
|
|
21
|
+
x(() => {
|
|
22
|
+
const t = o.current, r = c.current, m = (i) => {
|
|
23
|
+
if (t && r && i) {
|
|
24
|
+
const g = r.getBoundingClientRect(), p = i.getBoundingClientRect();
|
|
25
|
+
y.set(t, {
|
|
26
|
+
left: p.left - g.left,
|
|
27
|
+
top: p.top - g.top,
|
|
28
|
+
width: p.width,
|
|
29
|
+
height: p.height
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
if (r && r.children.length > 1) {
|
|
34
|
+
const i = r.children[1];
|
|
35
|
+
i && m(i);
|
|
36
|
+
}
|
|
37
|
+
let a;
|
|
38
|
+
const d = () => {
|
|
39
|
+
clearTimeout(a), a = setTimeout(() => {
|
|
40
|
+
if (t && r && r.children.length > 1 && l.length > 0) {
|
|
41
|
+
const i = r.children[1];
|
|
42
|
+
i && (m(i), u(l[0]));
|
|
43
|
+
}
|
|
44
|
+
}, 250);
|
|
45
|
+
};
|
|
46
|
+
return window.addEventListener("resize", d), () => {
|
|
47
|
+
clearTimeout(a), window.removeEventListener("resize", d);
|
|
48
|
+
};
|
|
49
|
+
}, { dependencies: [l, u], scope: c });
|
|
50
|
+
const R = (t, r) => {
|
|
51
|
+
if (t === s) return;
|
|
52
|
+
const m = f.getState(o.current);
|
|
53
|
+
if (u(t), o.current && c.current && c.current.children.length > r + 1) {
|
|
54
|
+
const a = c.current.children[r + 1];
|
|
55
|
+
if (a) {
|
|
56
|
+
const d = c.current.getBoundingClientRect(), i = a.getBoundingClientRect();
|
|
57
|
+
o.current.style.left = `${i.left - d.left}px`, o.current.style.top = `${i.top - d.top}px`, o.current.style.width = `${i.width}px`, o.current.style.height = `${i.height}px`;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
f.from(m, {
|
|
61
|
+
targets: o.current,
|
|
62
|
+
duration: 0.3,
|
|
63
|
+
ease: "power1.inOut"
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
return /* @__PURE__ */ n("section", { className: e.root, children: /* @__PURE__ */ h("div", { className: e.container, children: [
|
|
67
|
+
/* @__PURE__ */ n(v, { as: "div", title: C, className: e.header, colorScheme: "dark" }),
|
|
68
|
+
/* @__PURE__ */ h("div", { className: e.content, children: [
|
|
69
|
+
s.image && /* @__PURE__ */ n("div", { className: e.imageWrap, children: /* @__PURE__ */ n("img", { src: s.image, alt: "Total Care", className: e.image }) }),
|
|
70
|
+
/* @__PURE__ */ n("div", { className: e.tabsContainer, children: /* @__PURE__ */ h("div", { ref: c, className: e.tabs, children: [
|
|
71
|
+
/* @__PURE__ */ n("div", { ref: o, id: "marker", className: e.marker }),
|
|
72
|
+
l.map((t, r) => /* @__PURE__ */ h(
|
|
73
|
+
"button",
|
|
74
|
+
{
|
|
75
|
+
className: w(e.tab, {
|
|
76
|
+
[e.active]: s === t
|
|
77
|
+
}),
|
|
78
|
+
onClick: () => R(t, r),
|
|
79
|
+
children: [
|
|
80
|
+
t.icon && /* @__PURE__ */ n(N, { defaultVariant: "displayMd", className: e.icon, children: /* @__PURE__ */ n(b, { name: t.icon }) }),
|
|
81
|
+
/* @__PURE__ */ n(N, { defaultVariant: "displayMd", className: S.headingXs, children: t.label })
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
t.label
|
|
85
|
+
))
|
|
86
|
+
] }) }),
|
|
87
|
+
s.description && /* @__PURE__ */ n("div", { className: e.description, children: /* @__PURE__ */ n(
|
|
88
|
+
v,
|
|
89
|
+
{
|
|
90
|
+
as: "div",
|
|
91
|
+
defaultVariant: "headingXs",
|
|
92
|
+
className: e.descriptionText,
|
|
93
|
+
title: s.description,
|
|
94
|
+
colorScheme: "dark"
|
|
95
|
+
}
|
|
96
|
+
) })
|
|
97
|
+
] })
|
|
98
|
+
] }) });
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
O as SlidingTabsGallery
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SlidingTabsGallery-module__root___BsvYn",a="SlidingTabsGallery-module__container___vP0rd",t="SlidingTabsGallery-module__header___eJQXu",_="SlidingTabsGallery-module__content___jjd1o",l="SlidingTabsGallery-module__tabsContainer___Se1lx",i="SlidingTabsGallery-module__tabs___ZEKrF",n="SlidingTabsGallery-module__tab___Ztklx",o="SlidingTabsGallery-module__active___XatLw",r="SlidingTabsGallery-module__marker___c5lgj",s="SlidingTabsGallery-module__imageWrap___OWtqZ",d="SlidingTabsGallery-module__description___JBoEm",c="SlidingTabsGallery-module__image___E02Sh",b={root:e,container:a,header:t,content:_,tabsContainer:l,tabs:i,tab:n,active:o,marker:r,imageWrap:s,description:d,image:c};exports.active=o;exports.container=a;exports.content=_;exports.default=b;exports.description=d;exports.header=t;exports.image=c;exports.imageWrap=s;exports.marker=r;exports.root=e;exports.tab=n;exports.tabs=i;exports.tabsContainer=l;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const a = "SlidingTabsGallery-module__root___BsvYn", _ = "SlidingTabsGallery-module__container___vP0rd", e = "SlidingTabsGallery-module__header___eJQXu", l = "SlidingTabsGallery-module__content___jjd1o", t = "SlidingTabsGallery-module__tabsContainer___Se1lx", n = "SlidingTabsGallery-module__tabs___ZEKrF", o = "SlidingTabsGallery-module__tab___Ztklx", i = "SlidingTabsGallery-module__active___XatLw", r = "SlidingTabsGallery-module__marker___c5lgj", s = "SlidingTabsGallery-module__imageWrap___OWtqZ", d = "SlidingTabsGallery-module__description___JBoEm", c = "SlidingTabsGallery-module__image___E02Sh", m = {
|
|
2
|
+
root: a,
|
|
3
|
+
container: _,
|
|
4
|
+
header: e,
|
|
5
|
+
content: l,
|
|
6
|
+
tabsContainer: t,
|
|
7
|
+
tabs: n,
|
|
8
|
+
tab: o,
|
|
9
|
+
active: i,
|
|
10
|
+
marker: r,
|
|
11
|
+
imageWrap: s,
|
|
12
|
+
description: d,
|
|
13
|
+
image: c
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
i as active,
|
|
17
|
+
_ as container,
|
|
18
|
+
l as content,
|
|
19
|
+
m as default,
|
|
20
|
+
d as description,
|
|
21
|
+
e as header,
|
|
22
|
+
c as image,
|
|
23
|
+
s as imageWrap,
|
|
24
|
+
r as marker,
|
|
25
|
+
a as root,
|
|
26
|
+
o as tab,
|
|
27
|
+
n as tabs,
|
|
28
|
+
t as tabsContainer
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SlidingTabsGallery } from './SlidingTabsGallery';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("../../components/Button/Button.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/StudyGridCard/StudyGridCard.cjs.js"),h=require("../../components/Typography/Typography.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("../../components/Button/Button.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/StudyGridCard/StudyGridCard.cjs.js"),h=require("../../components/Typography/Typography.cjs.js"),s=require("./studies.module.css.cjs.js");function p({title:d,description:n,articles:l}){const o=l.reduce((t,r)=>{const i=t[t.length-1];return i.length<2?i.push(r):t.push([r]),t},[[]]);return e.jsx("section",{className:s.default.root,children:e.jsxs("div",{className:s.default.container,children:[e.jsxs("div",{className:s.default.header,children:[e.jsx(a.HighlightedTitle,{title:d}),e.jsx(h.Typography,{as:"p",defaultVariant:"bodyLg",className:s.default.description,children:n}),e.jsx("div",{children:e.jsx(u.Button,{variant:"muted",size:"lg",children:"view all studies"})})]}),e.jsx("div",{className:s.default.articles,children:o.map((t,r)=>e.jsx("div",{className:s.default.row,children:t.map(i=>e.jsx(c.StudyGridCard,{...i},i.title))},r))})]})})}exports.Studies=p;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Button as
|
|
1
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { Button as m } from "../../components/Button/Button.es.js";
|
|
3
3
|
import { HighlightedTitle as h } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
4
|
import { StudyGridCard as p } from "../../components/StudyGridCard/StudyGridCard.es.js";
|
|
5
|
-
import { Typography as
|
|
6
|
-
import
|
|
7
|
-
function w({ title:
|
|
8
|
-
const
|
|
9
|
-
(
|
|
10
|
-
const
|
|
11
|
-
return
|
|
5
|
+
import { Typography as c } from "../../components/Typography/Typography.es.js";
|
|
6
|
+
import i from "./studies.module.css.es.js";
|
|
7
|
+
function w({ title: d, description: l, articles: n }) {
|
|
8
|
+
const a = n.reduce(
|
|
9
|
+
(r, t) => {
|
|
10
|
+
const s = r[r.length - 1];
|
|
11
|
+
return s.length < 2 ? s.push(t) : r.push([t]), r;
|
|
12
12
|
},
|
|
13
13
|
[[]]
|
|
14
14
|
);
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ e("section", { className: i.root, children: /* @__PURE__ */ o("div", { className: i.container, children: [
|
|
16
|
+
/* @__PURE__ */ o("div", { className: i.header, children: [
|
|
17
|
+
/* @__PURE__ */ e(h, { title: d }),
|
|
18
|
+
/* @__PURE__ */ e(c, { as: "p", defaultVariant: "bodyLg", className: i.description, children: l }),
|
|
19
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(m, { variant: "muted", size: "lg", children: "view all studies" }) })
|
|
20
20
|
] }),
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
] });
|
|
21
|
+
/* @__PURE__ */ e("div", { className: i.articles, children: a.map((r, t) => /* @__PURE__ */ e("div", { className: i.row, children: r.map((s) => /* @__PURE__ */ e(p, { ...s }, s.title)) }, t)) })
|
|
22
|
+
] }) });
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
25
|
w as Studies
|