@zenpatient-org/healthspan-marketing-ui 0.1.24 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/healthspan-marketing-ui.css +1 -1
  2. package/dist/modules/Benefits/Benefits.cjs.js +1 -1
  3. package/dist/modules/Benefits/Benefits.es.js +8 -8
  4. package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -1
  5. package/dist/modules/Benefits/benefits.module.css.es.js +17 -15
  6. package/dist/modules/Callback/Callback.cjs.js +1 -1
  7. package/dist/modules/Callback/Callback.es.js +18 -18
  8. package/dist/modules/Callback/callback.module.css.cjs.js +1 -1
  9. package/dist/modules/Callback/callback.module.css.es.js +8 -6
  10. package/dist/modules/Compare/Compare.cjs.js +1 -1
  11. package/dist/modules/Compare/Compare.es.js +13 -13
  12. package/dist/modules/Compare/compare.module.css.cjs.js +1 -1
  13. package/dist/modules/Compare/compare.module.css.es.js +10 -8
  14. package/dist/modules/Comparison/Comparison.cjs.js +1 -1
  15. package/dist/modules/Comparison/Comparison.es.js +18 -9
  16. package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -1
  17. package/dist/modules/Comparison/comparison.module.css.es.js +34 -32
  18. package/dist/modules/FAQ/FAQ.cjs.js +1 -1
  19. package/dist/modules/FAQ/FAQ.es.js +6 -6
  20. package/dist/modules/FAQ/faq.module.css.cjs.js +1 -1
  21. package/dist/modules/FAQ/faq.module.css.es.js +13 -11
  22. package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -1
  23. package/dist/modules/FeaturedIn/FeaturedIn.es.js +7 -7
  24. package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -1
  25. package/dist/modules/FollowTheScience/FollowTheScience.es.js +45 -43
  26. package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -1
  27. package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +10 -8
  28. package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -1
  29. package/dist/modules/ImageWithText/ImageWithText.es.js +13 -13
  30. package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -1
  31. package/dist/modules/ImageWithText/imageWithText.module.css.es.js +18 -16
  32. package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -1
  33. package/dist/modules/LongevityPathways/LongevityPathways.es.js +4 -4
  34. package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
  35. package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +4 -4
  36. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/productsDisplayTabs.module.css.cjs.js +1 -1
  37. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/productsDisplayTabs.module.css.es.js +5 -5
  38. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -1
  39. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +3 -2
  40. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +93 -89
  41. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -1
  42. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +23 -21
  43. package/dist/modules/Studies/Studies.cjs.js +1 -1
  44. package/dist/modules/Studies/Studies.es.js +16 -16
  45. package/dist/modules/Studies/studies.module.css.cjs.js +1 -1
  46. package/dist/modules/Studies/studies.module.css.es.js +14 -12
  47. package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -1
  48. package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +9 -9
  49. package/dist/modules/Testimonial/Testimonial.cjs.js +1 -1
  50. package/dist/modules/Testimonial/Testimonial.d.ts +2 -2
  51. package/dist/modules/Testimonial/Testimonial.es.js +18 -18
  52. package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -1
  53. package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -28
  54. package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -1
  55. package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +26 -25
  56. package/dist/modules/Testimonial/types.d.ts +5 -4
  57. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  58. package/dist/modules/YourProtocol/YourProtocol.es.js +21 -21
  59. package/dist/modules/YourProtocol/yourProtocol.module.css.cjs.js +1 -1
  60. package/dist/modules/YourProtocol/yourProtocol.module.css.es.js +12 -10
  61. package/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -0
  62. package/dist/pageComponents/Bubbles/Bubbles.d.ts +3 -0
  63. package/dist/pageComponents/Bubbles/Bubbles.es.js +28 -0
  64. package/dist/pageComponents/Bubbles/bubbles.module.css.cjs.js +1 -0
  65. package/dist/pageComponents/Bubbles/bubbles.module.css.es.js +13 -0
  66. package/dist/pageComponents/Bubbles/index.d.ts +1 -0
  67. package/dist/pageComponents/Gradient/Gradient.cjs.js +1 -0
  68. package/dist/pageComponents/Gradient/Gradient.es.js +9 -0
  69. package/dist/pageComponents/Gradient/gradient.module.css.cjs.js +1 -0
  70. package/dist/pageComponents/Gradient/gradient.module.css.es.js +13 -0
  71. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.cjs.js +1 -0
  72. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.es.js +25 -0
  73. package/dist/pageComponents/StillHaveQuestions/stillHaveQuestions.module.css.cjs.js +1 -0
  74. package/dist/pageComponents/StillHaveQuestions/stillHaveQuestions.module.css.es.js +17 -0
  75. package/package.json +16 -1
@@ -1,92 +1,94 @@
1
1
  "use client";
2
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
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 u from "../../node_modules/swiper/modules/navigation.es.js";
7
- import { Swiper as w, SwiperSlide as g } from "../../node_modules/swiper/swiper-react.es.js";
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 N } from "../../components/Icon/constants.es.js";
10
- import { Label as R } from "../../components/Label/Label.es.js";
11
- import { ProgressButton as d } from "../../components/ProgressButton/ProgressButton.es.js";
12
- import { TextButton as k } from "../../components/TextButton/TextButton.es.js";
13
- import { useSwiper as C } from "../../utils/useSwiper/useSwiper.es.js";
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 E = [u];
16
- function L({ labelText: a, benefits: c }) {
15
+ const x = [w];
16
+ function _({ labelText: c, benefits: m }) {
17
17
  const {
18
- activeIndex: r,
19
- setIsEnd: m,
20
- isEnd: t,
21
- handleSlideChange: p,
18
+ activeIndex: B,
19
+ setIsEnd: p,
20
+ isEnd: r,
21
+ isBeginning: t,
22
+ hideNav: n,
23
+ handleSlideChange: h,
22
24
  handlePrevClick: s,
23
- handleNextClick: n,
24
- onSwiperInit: h,
25
- handleSwiperResize: f
26
- } = C();
27
- return /* @__PURE__ */ l("div", { className: i.container, children: [
28
- /* @__PURE__ */ l("div", { className: i.heading, children: [
29
- /* @__PURE__ */ e(R, { color: "white", size: "lg", children: a }),
30
- /* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "desktop", children: /* @__PURE__ */ e(
31
- d,
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: r <= 0
37
+ disabled: t
36
38
  },
37
39
  right: {
38
- disabled: t,
39
- onClick: n
40
+ disabled: r,
41
+ onClick: l
40
42
  }
41
43
  }
42
44
  ) })
43
45
  ] }),
44
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
45
- w,
46
+ /* @__PURE__ */ e("div", { className: i.content, children: /* @__PURE__ */ e(
47
+ g,
46
48
  {
47
- onSwiper: h,
48
- onResize: f,
49
- onSlideChange: p,
50
- onReachEnd: () => m(!0),
51
- modules: E,
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: c.map((o, S) => /* @__PURE__ */ e(g, { className: i.swiperSlide, children: /* @__PURE__ */ e(
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
- k,
63
+ C,
62
64
  {
63
65
  as: "a",
64
66
  size: "sm",
65
67
  color: "white",
66
- suffixIcon: N.ARROW_FORWARD,
68
+ suffixIcon: R.ARROW_FORWARD,
67
69
  href: o.link,
68
70
  children: "READ THE STUDY"
69
71
  }
70
72
  )
71
73
  }
72
- ) }, S))
74
+ ) }, u))
73
75
  }
74
76
  ) }),
75
- /* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "mobile", children: /* @__PURE__ */ e(
76
- d,
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: r <= 0
82
+ disabled: t
81
83
  },
82
84
  right: {
83
- onClick: n,
84
- disabled: t
85
+ onClick: l,
86
+ disabled: r
85
87
  }
86
88
  }
87
89
  ) })
88
90
  ] });
89
91
  }
90
92
  export {
91
- L as FollowTheScience
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",s="followTheScience-module__swiper___iUsAd",i="followTheScience-module__swiperSlide___YMeah",n="followTheScience-module__progressButtons___mzqTh",t={container:e,heading:o,swiper:s,swiperSlide:i,progressButtons:n};exports.container=e;exports.default=t;exports.heading=o;exports.progressButtons=n;exports.swiper=s;exports.swiperSlide=i;
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", s = "followTheScience-module__swiper___iUsAd", _ = "followTheScience-module__swiperSlide___YMeah", n = "followTheScience-module__progressButtons___mzqTh", i = {
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
- swiper: s,
5
- swiperSlide: _,
6
- progressButtons: n
4
+ content: n,
5
+ swiper: _,
6
+ swiperSlide: s,
7
+ progressButtons: c
7
8
  };
8
9
  export {
9
10
  e as container,
10
- i as default,
11
+ n as content,
12
+ t as default,
11
13
  o as heading,
12
- n as progressButtons,
13
- s as swiper,
14
- _ as swiperSlide
14
+ c as progressButtons,
15
+ _ as swiper,
16
+ s as swiperSlide
15
17
  };
@@ -1 +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"),o=require("../../utils/cn/cn.cjs.js"),a=require("./imageWithText.module.css.cjs.js"),c=({image:s,text:t,textAlign:i="left",title:l,description:r})=>e.jsxs("div",{className:a.default.root,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:o.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=c;
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;
@@ -1,35 +1,35 @@
1
- import { jsxs as e, jsx as i } from "react/jsx-runtime";
2
- import { HighlightedTitle as d } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
- import { Typography as m } from "../../components/Typography/Typography.es.js";
4
- import { cn as s } from "../../utils/cn/cn.es.js";
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
5
  import a from "./imageWithText.module.css.es.js";
6
- const y = ({ image: o, text: r, textAlign: t = "left", title: l, description: n }) => /* @__PURE__ */ e("div", { className: a.root, children: [
7
- /* @__PURE__ */ i("div", { className: a.imageContainer, children: /* @__PURE__ */ i("img", { src: o, alt: "background image", className: a.image }) }),
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
8
  /* @__PURE__ */ e(
9
9
  "div",
10
10
  {
11
- className: s(a.content, {
11
+ className: d(a.content, {
12
12
  [a.textAlignLeft]: t === "left",
13
13
  [a.textAlignRight]: t === "right"
14
14
  }),
15
15
  children: [
16
- l && n && /* @__PURE__ */ e("div", { className: a.richTextContainer, children: [
16
+ n && l && /* @__PURE__ */ e("div", { className: a.richTextContainer, children: [
17
17
  /* @__PURE__ */ i(
18
- d,
18
+ s,
19
19
  {
20
20
  colorScheme: "dark",
21
- title: l,
21
+ title: n,
22
22
  defaultVariant: "displayXs",
23
23
  mobileVariant: "headingLg"
24
24
  }
25
25
  ),
26
- /* @__PURE__ */ i(m, { defaultVariant: "bodyMd", mobileVariant: "bodySm", children: n })
26
+ /* @__PURE__ */ i(o, { defaultVariant: "bodyMd", mobileVariant: "bodySm", children: l })
27
27
  ] }),
28
- r && /* @__PURE__ */ i("div", { className: a.textContainer, children: /* @__PURE__ */ i(m, { defaultVariant: "displayXs", mobileVariant: "headingXs", children: r }) })
28
+ r && /* @__PURE__ */ i("div", { className: a.textContainer, children: /* @__PURE__ */ i(o, { defaultVariant: "displayXs", mobileVariant: "headingXs", children: r }) })
29
29
  ]
30
30
  }
31
31
  )
32
- ] });
32
+ ] }) });
33
33
  export {
34
34
  y as ImageWithText
35
35
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="imageWithText-module__root___Uq9G7",e="imageWithText-module__content___IKyX1",i="imageWithText-module__textAlignLeft___nxRQf",n="imageWithText-module__textAlignRight___ldGBP",o="imageWithText-module__textContainer___m5Jfs",_="imageWithText-module__richTextContainer___ochKF",a="imageWithText-module__imageContainer___bcAmi",g="imageWithText-module__image___paWe4",m={root:t,content:e,textAlignLeft:i,textAlignRight:n,textContainer:o,richTextContainer:_,imageContainer:a,image:g};exports.content=e;exports.default=m;exports.image=g;exports.imageContainer=a;exports.richTextContainer=_;exports.root=t;exports.textAlignLeft=i;exports.textAlignRight=n;exports.textContainer=o;
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=_;
@@ -1,21 +1,23 @@
1
- const t = "imageWithText-module__root___Uq9G7", e = "imageWithText-module__content___IKyX1", i = "imageWithText-module__textAlignLeft___nxRQf", n = "imageWithText-module__textAlignRight___ldGBP", _ = "imageWithText-module__textContainer___m5Jfs", o = "imageWithText-module__richTextContainer___ochKF", a = "imageWithText-module__imageContainer___bcAmi", m = "imageWithText-module__image___paWe4", g = {
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
2
  root: t,
3
- content: e,
4
- textAlignLeft: i,
5
- textAlignRight: n,
6
- textContainer: _,
7
- richTextContainer: o,
8
- imageContainer: a,
9
- image: m
3
+ container: e,
4
+ content: i,
5
+ textAlignLeft: n,
6
+ textAlignRight: _,
7
+ textContainer: o,
8
+ richTextContainer: a,
9
+ imageContainer: m,
10
+ image: g
10
11
  };
11
12
  export {
12
- e as content,
13
- g as default,
14
- m as image,
15
- a as imageContainer,
16
- o as richTextContainer,
13
+ e as container,
14
+ i as content,
15
+ x as default,
16
+ g as image,
17
+ m as imageContainer,
18
+ a as richTextContainer,
17
19
  t as root,
18
- i as textAlignLeft,
19
- n as textAlignRight,
20
- _ as textContainer
20
+ n as textAlignLeft,
21
+ _ as textAlignRight,
22
+ o as textContainer
21
23
  };
@@ -1 +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("div",{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;
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;
@@ -2,18 +2,18 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import { HighlightedTitle as o } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
3
  import { ComplexImageCarousel as s } from "../../components/ComplexImageCarousel/ComplexImageCarousel.es.js";
4
4
  import a from "./longevityPathways.module.css.es.js";
5
- const c = ({ view: i, label: m, title: r, carousel: t }) => /* @__PURE__ */ l("div", { className: a.root, children: [
5
+ const p = ({ view: i, label: m, title: t, carousel: r }) => /* @__PURE__ */ l("section", { className: a.root, children: [
6
6
  /* @__PURE__ */ e("div", { className: a.header, children: /* @__PURE__ */ e(
7
7
  o,
8
8
  {
9
- title: r,
9
+ title: t,
10
10
  className: a.title,
11
11
  defaultVariant: "displayMd",
12
12
  mobileVariant: "headingXl"
13
13
  }
14
14
  ) }),
15
- /* @__PURE__ */ e(s, { images: t, view: i })
15
+ /* @__PURE__ */ e(s, { images: r, view: i })
16
16
  ] });
17
17
  export {
18
- c as LongevityPathways
18
+ p as LongevityPathways
19
19
  };
@@ -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("div",{className:s.default.root,children:e.jsx(T.ProductGallery,{header:h,slides:b,isTabbed:t})})};exports.ProductsDisplay=x;
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 v } from "../../components/ProductGallery/ProductGallery.es.js";
5
- import { ProductGalleryCard as P } from "../../components/ProductGalleryCard/ProductGalleryCard.es.js";
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(P, { ...y }, f)), [e, o]), b = a ? /* @__PURE__ */ t(V, { label: d, tabs: s, activeTab: e, onTabChange: p }) : /* @__PURE__ */ h("div", { className: r.header, children: [
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("div", { className: r.root, children: /* @__PURE__ */ t(v, { header: b, slides: u, isTabbed: a }) });
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-module__label___yoPVH",l="productsDisplayTabs-module__header___nO8ge",a={label:e,header:l};exports.default=a;exports.header=l;exports.label=e;
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-module__label___yoPVH", a = "productsDisplayTabs-module__header___nO8ge", l = {
2
- label: e,
3
- header: a
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
- a as header,
8
- e as label
7
+ e as header,
8
+ a as label
9
9
  };
@@ -1 +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;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),f=require("react"),x=require("../../node_modules/gsap/index.cjs.js"),p=require("../../node_modules/gsap/Flip.cjs.js"),R=require("../../node_modules/@gsap/react/src/index.cjs.js"),q=require("../../pageComponents/Bubbles/Bubbles.cjs.js"),C=require("../../pageComponents/Gradient/Gradient.cjs.js"),T=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),_=require("../../utils/cn/cn.cjs.js"),b=require("../../components/Typography/Typography.cjs.js"),B=require("../../components/Icon/Icon.cjs.js"),t=require("./SlidingTabsGallery.module.css.cjs.js");x.gsap.registerPlugin(p.Flip);const S=({title:y,tabs:o,withBubbles:j,withGradient:v})=>{const s=f.useRef(null),a=f.useRef(null),[l,h]=f.useState(o[0]);R.useGSAP(()=>{const i=s.current,n=a.current,u=r=>{if(i&&n&&r){const m=n.getBoundingClientRect(),g=r.getBoundingClientRect();x.gsap.set(i,{left:g.left-m.left,top:g.top-m.top,width:g.width,height:g.height})}};if(n&&n.children.length>1){const r=n.children[1];r&&u(r)}let c;const d=()=>{clearTimeout(c),c=setTimeout(()=>{if(i&&n&&n.children.length>1&&o.length>0){const r=n.children[1];r&&(u(r),h(o[0]))}},250)};return window.addEventListener("resize",d),()=>{clearTimeout(c),window.removeEventListener("resize",d)}},{dependencies:[o,h],scope:a});const N=(i,n)=>{if(i===l)return;const u=p.Flip.getState(s.current);if(h(i),s.current&&a.current&&a.current.children.length>n+1){const c=a.current.children[n+1];if(c){const d=a.current.getBoundingClientRect(),r=c.getBoundingClientRect();s.current.style.left=`${r.left-d.left}px`,s.current.style.top=`${r.top-d.top}px`,s.current.style.width=`${r.width}px`,s.current.style.height=`${r.height}px`}}p.Flip.from(u,{targets:s.current,duration:.3,ease:"power1.inOut"})};return e.jsxs("section",{className:t.default.root,children:[j&&e.jsx(q.Bubbles,{className:t.default.bubbles}),e.jsxs("div",{className:t.default.container,children:[e.jsx(T.HighlightedTitle,{as:"div",title:y,className:t.default.header,colorScheme:"dark"}),e.jsxs("div",{className:t.default.content,children:[l.image&&e.jsx("div",{className:t.default.imageWrap,children:e.jsx("img",{src:l.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,n)=>e.jsxs("button",{className:_.cn(t.default.tab,{[t.default.active]:l===i}),onClick:()=>N(i,n),children:[i.icon&&e.jsx(b.Typography,{defaultVariant:"displayMd",className:t.default.icon,children:e.jsx(B.Icon,{name:i.icon})}),e.jsx(b.Typography,{defaultVariant:"headingXs",children:i.label})]},i.label))]})}),l.description&&e.jsx("div",{className:t.default.description,children:e.jsx(T.HighlightedTitle,{as:"div",defaultVariant:"headingXs",mobileVariant:"bodyMd",className:t.default.descriptionText,title:l.description,colorScheme:"dark"})})]})]}),v&&e.jsx(C.Gradient,{variant:"blue"})]})};exports.SlidingTabsGallery=S;
@@ -3,7 +3,8 @@ import { TContentTab } from '../../components/ContentTabs';
3
3
 
4
4
  export type SlidingTabsGalleryProps = {
5
5
  title: ReactNode;
6
- label: string;
7
6
  tabs: ReadonlyArray<TContentTab>;
7
+ withBubbles?: boolean;
8
+ withGradient?: boolean;
8
9
  };
9
- export declare const SlidingTabsGallery: ({ title, tabs }: SlidingTabsGalleryProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const SlidingTabsGallery: ({ title, tabs, withBubbles, withGradient }: SlidingTabsGalleryProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,102 +1,106 @@
1
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";
2
+ import { jsxs as m, jsx as n } from "react/jsx-runtime";
3
+ import { useRef as v, useState as w } from "react";
4
+ import { gsap as N } from "../../node_modules/gsap/index.es.js";
15
5
  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]));
6
+ import { useGSAP as B } from "../../node_modules/@gsap/react/src/index.es.js";
7
+ import { Bubbles as S } from "../../pageComponents/Bubbles/Bubbles.es.js";
8
+ import { Gradient as x } from "../../pageComponents/Gradient/Gradient.es.js";
9
+ import { HighlightedTitle as T } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
10
+ import { cn as z } from "../../utils/cn/cn.es.js";
11
+ import { Typography as b } from "../../components/Typography/Typography.es.js";
12
+ import { Icon as V } from "../../components/Icon/Icon.es.js";
13
+ import e from "./SlidingTabsGallery.module.css.es.js";
14
+ N.registerPlugin(f);
15
+ const I = ({ title: C, tabs: l, withBubbles: R, withGradient: y }) => {
16
+ const a = v(null), c = v(null), [o, p] = w(l[0]);
17
+ B(
18
+ () => {
19
+ const t = a.current, r = c.current, u = (i) => {
20
+ if (t && r && i) {
21
+ const g = r.getBoundingClientRect(), h = i.getBoundingClientRect();
22
+ N.set(t, {
23
+ left: h.left - g.left,
24
+ top: h.top - g.top,
25
+ width: h.width,
26
+ height: h.height
27
+ });
43
28
  }
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`;
29
+ };
30
+ if (r && r.children.length > 1) {
31
+ const i = r.children[1];
32
+ i && u(i);
33
+ }
34
+ let s;
35
+ const d = () => {
36
+ clearTimeout(s), s = setTimeout(() => {
37
+ if (t && r && r.children.length > 1 && l.length > 0) {
38
+ const i = r.children[1];
39
+ i && (u(i), p(l[0]));
40
+ }
41
+ }, 250);
42
+ };
43
+ return window.addEventListener("resize", d), () => {
44
+ clearTimeout(s), window.removeEventListener("resize", d);
45
+ };
46
+ },
47
+ { dependencies: [l, p], scope: c }
48
+ );
49
+ const k = (t, r) => {
50
+ if (t === o) return;
51
+ const u = f.getState(a.current);
52
+ if (p(t), a.current && c.current && c.current.children.length > r + 1) {
53
+ const s = c.current.children[r + 1];
54
+ if (s) {
55
+ const d = c.current.getBoundingClientRect(), i = s.getBoundingClientRect();
56
+ a.current.style.left = `${i.left - d.left}px`, a.current.style.top = `${i.top - d.top}px`, a.current.style.width = `${i.width}px`, a.current.style.height = `${i.height}px`;
58
57
  }
59
58
  }
60
- f.from(m, {
61
- targets: o.current,
59
+ f.from(u, {
60
+ targets: a.current,
62
61
  duration: 0.3,
63
62
  ease: "power1.inOut"
64
63
  });
65
64
  };
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",
65
+ return /* @__PURE__ */ m("section", { className: e.root, children: [
66
+ R && /* @__PURE__ */ n(S, { className: e.bubbles }),
67
+ /* @__PURE__ */ m("div", { className: e.container, children: [
68
+ /* @__PURE__ */ n(T, { as: "div", title: C, className: e.header, colorScheme: "dark" }),
69
+ /* @__PURE__ */ m("div", { className: e.content, children: [
70
+ o.image && /* @__PURE__ */ n("div", { className: e.imageWrap, children: /* @__PURE__ */ n("img", { src: o.image, alt: "Total Care", className: e.image }) }),
71
+ /* @__PURE__ */ n("div", { className: e.tabsContainer, children: /* @__PURE__ */ m("div", { ref: c, className: e.tabs, children: [
72
+ /* @__PURE__ */ n("div", { ref: a, id: "marker", className: e.marker }),
73
+ l.map((t, r) => /* @__PURE__ */ m(
74
+ "button",
75
+ {
76
+ className: z(e.tab, {
77
+ [e.active]: o === t
78
+ }),
79
+ onClick: () => k(t, r),
80
+ children: [
81
+ t.icon && /* @__PURE__ */ n(b, { defaultVariant: "displayMd", className: e.icon, children: /* @__PURE__ */ n(V, { name: t.icon }) }),
82
+ /* @__PURE__ */ n(b, { defaultVariant: "headingXs", children: t.label })
83
+ ]
84
+ },
85
+ t.label
86
+ ))
87
+ ] }) }),
88
+ o.description && /* @__PURE__ */ n("div", { className: e.description, children: /* @__PURE__ */ n(
89
+ T,
74
90
  {
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
- ] }) });
91
+ as: "div",
92
+ defaultVariant: "headingXs",
93
+ mobileVariant: "bodyMd",
94
+ className: e.descriptionText,
95
+ title: o.description,
96
+ colorScheme: "dark"
97
+ }
98
+ ) })
99
+ ] })
100
+ ] }),
101
+ y && /* @__PURE__ */ n(x, { variant: "blue" })
102
+ ] });
99
103
  };
100
104
  export {
101
- O as SlidingTabsGallery
105
+ I as SlidingTabsGallery
102
106
  };
@@ -1 +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;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SlidingTabsGallery-module__root___BsvYn",a="SlidingTabsGallery-module__bubbles___XumkJ",_="SlidingTabsGallery-module__container___vP0rd",l="SlidingTabsGallery-module__header___eJQXu",t="SlidingTabsGallery-module__content___jjd1o",i="SlidingTabsGallery-module__tabsContainer___Se1lx",n="SlidingTabsGallery-module__tabs___ZEKrF",o="SlidingTabsGallery-module__tab___Ztklx",r="SlidingTabsGallery-module__active___XatLw",s="SlidingTabsGallery-module__marker___c5lgj",d="SlidingTabsGallery-module__imageWrap___OWtqZ",b="SlidingTabsGallery-module__description___JBoEm",c="SlidingTabsGallery-module__image___E02Sh",m={root:e,bubbles:a,container:_,header:l,content:t,tabsContainer:i,tabs:n,tab:o,active:r,marker:s,imageWrap:d,description:b,image:c};exports.active=r;exports.bubbles=a;exports.container=_;exports.content=t;exports.default=m;exports.description=b;exports.header=l;exports.image=c;exports.imageWrap=d;exports.marker=s;exports.root=e;exports.tab=o;exports.tabs=n;exports.tabsContainer=i;