@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,17 +1,19 @@
1
- const o = "yourProtocol-module__root___Q35lO", t = "yourProtocol-module__content___mMf6R", _ = "yourProtocol-module__title___xNPOR", l = "yourProtocol-module__image___fVaOZ", c = "yourProtocol-module__callback___bvu49", e = "yourProtocol-module__desktop___pl-rW", r = {
1
+ const o = "yourProtocol-module__root___Q35lO", t = "yourProtocol-module__container___-p0rE", _ = "yourProtocol-module__content___mMf6R", c = "yourProtocol-module__title___xNPOR", l = "yourProtocol-module__image___fVaOZ", e = "yourProtocol-module__callback___bvu49", r = "yourProtocol-module__desktop___pl-rW", n = {
2
2
  root: o,
3
- content: t,
4
- title: _,
3
+ container: t,
4
+ content: _,
5
+ title: c,
5
6
  image: l,
6
- callback: c,
7
- desktop: e
7
+ callback: e,
8
+ desktop: r
8
9
  };
9
10
  export {
10
- c as callback,
11
- t as content,
12
- r as default,
13
- e as desktop,
11
+ e as callback,
12
+ t as container,
13
+ _ as content,
14
+ n as default,
15
+ r as desktop,
14
16
  l as image,
15
17
  o as root,
16
- _ as title
18
+ c as title
17
19
  };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),t=require("react"),l=require("../../utils/cn/cn.cjs.js"),n=require("./bubbles.module.css.cjs.js"),b=["xs","lg","sm","sm","xl","sm","xl","xl","xl","md","md","md","lg"],m=({className:o})=>{const[r,a]=t.useState(!1),[i,d]=t.useState(!1),c=t.useRef(null);return t.useEffect(()=>{const s=new window.IntersectionObserver(([e])=>{e.isIntersecting&&e.intersectionRatio===1&&!r&&!i&&(a(!0),setTimeout(()=>d(!0),5e3))},{threshold:1});return c.current&&s.observe(c.current),()=>s.disconnect()},[r,i]),u.jsx("section",{ref:c,className:l.cn(n.default.root,o),children:u.jsx("div",{className:n.default.container,children:b.map((s,e)=>u.jsx("div",{className:l.cn(n.default.bubble,(i||r)&&n.default.bubbleFinished),"data-size":s,"data-index":e},e))})})};exports.Bubbles=m;
@@ -0,0 +1,3 @@
1
+ export declare const Bubbles: ({ className }: {
2
+ className?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ "use client";
2
+ import { jsx as o } from "react/jsx-runtime";
3
+ import { useState as c, useRef as u, useEffect as b } from "react";
4
+ import { cn as l } from "../../utils/cn/cn.es.js";
5
+ import t from "./bubbles.module.css.es.js";
6
+ const f = ["xs", "lg", "sm", "sm", "xl", "sm", "xl", "xl", "xl", "md", "md", "md", "lg"], g = ({ className: m }) => {
7
+ const [n, a] = c(!1), [r, d] = c(!1), i = u(null);
8
+ return b(() => {
9
+ const s = new window.IntersectionObserver(
10
+ ([e]) => {
11
+ e.isIntersecting && e.intersectionRatio === 1 && !n && !r && (a(!0), setTimeout(() => d(!0), 5e3));
12
+ },
13
+ { threshold: 1 }
14
+ );
15
+ return i.current && s.observe(i.current), () => s.disconnect();
16
+ }, [n, r]), /* @__PURE__ */ o("section", { ref: i, className: l(t.root, m), children: /* @__PURE__ */ o("div", { className: t.container, children: f.map((s, e) => /* @__PURE__ */ o(
17
+ "div",
18
+ {
19
+ className: l(t.bubble, (r || n) && t.bubbleFinished),
20
+ "data-size": s,
21
+ "data-index": e
22
+ },
23
+ e
24
+ )) }) });
25
+ };
26
+ export {
27
+ g as Bubbles
28
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="bubbles-module__root___DUhTG",b="bubbles-module__container___eH7Zj",o="bubbles-module__bubble___FKp2x",l="bubbles-module__bubbleFinished___TNKmv",u={root:e,container:b,bubble:o,bubbleFinished:l};exports.bubble=o;exports.bubbleFinished=l;exports.container=b;exports.default=u;exports.root=e;
@@ -0,0 +1,13 @@
1
+ const b = "bubbles-module__root___DUhTG", e = "bubbles-module__container___eH7Zj", _ = "bubbles-module__bubble___FKp2x", o = "bubbles-module__bubbleFinished___TNKmv", l = {
2
+ root: b,
3
+ container: e,
4
+ bubble: _,
5
+ bubbleFinished: o
6
+ };
7
+ export {
8
+ _ as bubble,
9
+ o as bubbleFinished,
10
+ e as container,
11
+ l as default,
12
+ b as root
13
+ };
@@ -0,0 +1 @@
1
+ export { Bubbles } from './Bubbles';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),n=require("../../utils/cn/cn.cjs.js"),e=require("./gradient.module.css.cjs.js");function i({variant:t}){return r.jsx("section",{className:n.cn(e.default.root,e.default[t])})}exports.Gradient=i;
@@ -0,0 +1,9 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { cn as m } from "../../utils/cn/cn.es.js";
3
+ import o from "./gradient.module.css.es.js";
4
+ function s({ variant: r }) {
5
+ return /* @__PURE__ */ t("section", { className: m(o.root, o[r]) });
6
+ }
7
+ export {
8
+ s as Gradient
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="gradient-module__root___64ykF",e="gradient-module__blue___Yr7lT",t="gradient-module__gold___N8Rnw",_="gradient-module__orange___hDxoX",l={root:o,blue:e,gold:t,orange:_};exports.blue=e;exports.default=l;exports.gold=t;exports.orange=_;exports.root=o;
@@ -0,0 +1,13 @@
1
+ const o = "gradient-module__root___64ykF", _ = "gradient-module__blue___Yr7lT", e = "gradient-module__gold___N8Rnw", t = "gradient-module__orange___hDxoX", l = {
2
+ root: o,
3
+ blue: _,
4
+ gold: e,
5
+ orange: t
6
+ };
7
+ export {
8
+ _ as blue,
9
+ l as default,
10
+ e as gold,
11
+ t as orange,
12
+ o as root
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Button/Button.cjs.js"),n=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),a=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),t=require("./stillHaveQuestions.module.css.cjs.js");function l(){return e.jsx("section",{className:t.default.root,children:e.jsx("div",{className:t.default.imageWrapper,children:e.jsxs("div",{className:t.default.contentBox,children:[e.jsx(n.HighlightedTitle,{colorScheme:"dark",title:e.jsxs(a.Typography,{defaultVariant:"displayMd",mobileVariant:"headingXl",children:["Still have ",e.jsx("b",{children:"questions?"})]})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.desktop),children:e.jsx(i.Button,{as:"a",href:"/contact",variant:"secondary",size:"lg",children:"Contact Us"})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.mobile),children:e.jsx(i.Button,{as:"a",href:"/contact",variant:"secondary",size:"md",children:"Contact Us"})})]})})})}exports.StillHaveQuestions=l;
@@ -0,0 +1,25 @@
1
+ import { jsx as i, jsxs as t } from "react/jsx-runtime";
2
+ import { Button as a } from "../../components/Button/Button.es.js";
3
+ import { HighlightedTitle as o } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
4
+ import { Typography as n } from "../../components/Typography/Typography.es.js";
5
+ import { cn as r } from "../../utils/cn/cn.es.js";
6
+ import e from "./stillHaveQuestions.module.css.es.js";
7
+ function p() {
8
+ return /* @__PURE__ */ i("section", { className: e.root, children: /* @__PURE__ */ i("div", { className: e.imageWrapper, children: /* @__PURE__ */ t("div", { className: e.contentBox, children: [
9
+ /* @__PURE__ */ i(
10
+ o,
11
+ {
12
+ colorScheme: "dark",
13
+ title: /* @__PURE__ */ t(n, { defaultVariant: "displayMd", mobileVariant: "headingXl", children: [
14
+ "Still have ",
15
+ /* @__PURE__ */ i("b", { children: "questions?" })
16
+ ] })
17
+ }
18
+ ),
19
+ /* @__PURE__ */ i("div", { className: r(e.actions, e.desktop), children: /* @__PURE__ */ i(a, { as: "a", href: "/contact", variant: "secondary", size: "lg", children: "Contact Us" }) }),
20
+ /* @__PURE__ */ i("div", { className: r(e.actions, e.mobile), children: /* @__PURE__ */ i(a, { as: "a", href: "/contact", variant: "secondary", size: "md", children: "Contact Us" }) })
21
+ ] }) }) });
22
+ }
23
+ export {
24
+ p as StillHaveQuestions
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="stillHaveQuestions-module__root___bscgd",o="stillHaveQuestions-module__imageWrapper___3ZTu-",t="stillHaveQuestions-module__contentBox___G5ptm",s="stillHaveQuestions-module__actions___eeCUe",_="stillHaveQuestions-module__mobile___7C-Hc",l="stillHaveQuestions-module__desktop___0Bg3Q",i={root:e,imageWrapper:o,contentBox:t,actions:s,mobile:_,desktop:l};exports.actions=s;exports.contentBox=t;exports.default=i;exports.desktop=l;exports.imageWrapper=o;exports.mobile=_;exports.root=e;
@@ -0,0 +1,17 @@
1
+ const o = "stillHaveQuestions-module__root___bscgd", e = "stillHaveQuestions-module__imageWrapper___3ZTu-", t = "stillHaveQuestions-module__contentBox___G5ptm", s = "stillHaveQuestions-module__actions___eeCUe", _ = "stillHaveQuestions-module__mobile___7C-Hc", l = "stillHaveQuestions-module__desktop___0Bg3Q", n = {
2
+ root: o,
3
+ imageWrapper: e,
4
+ contentBox: t,
5
+ actions: s,
6
+ mobile: _,
7
+ desktop: l
8
+ };
9
+ export {
10
+ s as actions,
11
+ t as contentBox,
12
+ n as default,
13
+ l as desktop,
14
+ e as imageWrapper,
15
+ _ as mobile,
16
+ o as root
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -358,6 +358,21 @@
358
358
  "import": "./dist/modules/TrackProgress/TrackProgress.es.js",
359
359
  "require": "./dist/modules/TrackProgress/TrackProgress.cjs.js"
360
360
  },
361
+ "./Bubbles": {
362
+ "types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
363
+ "import": "./dist/pageComponents/Bubbles/Bubbles.es.js",
364
+ "require": "./dist/pageComponents/Bubbles/Bubbles.cjs.js"
365
+ },
366
+ "./Gradient": {
367
+ "types": "./dist/pageComponents/Gradient/Gradient.d.ts",
368
+ "import": "./dist/pageComponents/Gradient/Gradient.es.js",
369
+ "require": "./dist/pageComponents/Gradient/Gradient.cjs.js"
370
+ },
371
+ "./StillHaveQuestions": {
372
+ "types": "./dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts",
373
+ "import": "./dist/pageComponents/StillHaveQuestions/StillHaveQuestions.es.js",
374
+ "require": "./dist/pageComponents/StillHaveQuestions/StillHaveQuestions.cjs.js"
375
+ },
361
376
  "./dist/*.css": "./dist/*.css"
362
377
  }
363
378
  }