@zenpatient-org/healthspan-marketing-ui 0.1.43 → 0.1.44

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 (38) hide show
  1. package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.cjs.js +1 -0
  2. package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +5 -0
  3. package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.es.js +57 -0
  4. package/dist/components/ComplexImageCarousel/ComplexCarousel/complexImageCarousel.module.css.cjs.js +1 -0
  5. package/dist/components/ComplexImageCarousel/ComplexCarousel/complexImageCarousel.module.css.es.js +24 -0
  6. package/dist/components/ComplexImageCarousel/ComplexCarousel/index.d.ts +1 -0
  7. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -1
  8. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +1 -1
  9. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +5 -55
  10. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.cjs.js +1 -0
  11. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +5 -0
  12. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.es.js +76 -0
  13. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/index.d.ts +1 -0
  14. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/simpleImageCarousel.module.css.cjs.js +1 -0
  15. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/simpleImageCarousel.module.css.es.js +15 -0
  16. package/dist/components/ComplexTooltip/ComplexTooltip.cjs.js +1 -1
  17. package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +5 -2
  18. package/dist/components/ComplexTooltip/ComplexTooltip.es.js +34 -29
  19. package/dist/components/InfiniteScroll/InfiniteScroll.cjs.js +1 -1
  20. package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +1 -0
  21. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +61 -46
  22. package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -1
  23. package/dist/components/StudyGridCard/StudyGridCard.d.ts +10 -2
  24. package/dist/components/StudyGridCard/StudyGridCard.es.js +115 -60
  25. package/dist/components/StudyGridCard/studyGridCard.module.css.cjs.js +1 -1
  26. package/dist/components/StudyGridCard/studyGridCard.module.css.es.js +24 -12
  27. package/dist/healthspan-marketing-ui.css +1 -1
  28. package/dist/modules/ExpandingDetails/ExpandingDetails.cjs.js +1 -0
  29. package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +3 -0
  30. package/dist/modules/ExpandingDetails/ExpandingDetails.es.js +157 -0
  31. package/dist/modules/ExpandingDetails/expandingDetails.module.css.cjs.js +1 -0
  32. package/dist/modules/ExpandingDetails/expandingDetails.module.css.es.js +47 -0
  33. package/dist/modules/ExpandingDetails/index.d.ts +1 -0
  34. package/dist/modules/ExpandingDetails/types.d.ts +13 -0
  35. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -2
  36. package/package.json +6 -1
  37. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +0 -1
  38. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +0 -24
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),H=require("../../node_modules/@gsap/react/src/index.cjs.js"),d=require("../../node_modules/gsap/index.cjs.js"),u=require("../../node_modules/gsap/ScrollTrigger.cjs.js"),w=require("react"),A=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),g=require("../../components/Typography/Typography.cjs.js"),V=require("../../utils/debounce.cjs.js"),r=require("./expandingDetails.module.css.cjs.js");d.gsap.registerPlugin(u.ScrollTrigger);const $=({colorScheme:h,label:N,title:P,sections:b})=>{const c=w.useRef(null);return H.useGSAP(()=>{if(!c.current)return;const a=()=>{var S;d.gsap.killTweensOf("*"),u.ScrollTrigger.getAll().forEach(e=>e.kill());const o=d.gsap.utils.toArray('[data-scroll-id="section"]'),t=(S=c.current)==null?void 0:S.querySelector('[data-scroll-id="sections"]');if(!t)return;const f=d.gsap.timeline({scrollTrigger:{trigger:c.current,start:"top top",end:()=>`+=${o.length*500}`,scrub:1,markers:!1,pin:!0}}),p=t==null?void 0:t.querySelector('[data-scroll-id="heading"]');if(!p)return;d.gsap.set(t==null?void 0:t.querySelectorAll('[data-scroll-id="section"]'),{height:p.offsetHeight||0}),d.gsap.set(t==null?void 0:t.querySelectorAll('[data-scroll-id="protocol"]'),{scale:.5,yPercent:0}),d.gsap.set(t==null?void 0:t.querySelectorAll('[data-scroll-id="image-circle"]'),{scale:.5,yPercent:5});const y=window.innerWidth<768?1.2:2,m=window.innerWidth<768?1.2:2;o.forEach((e,E)=>{var x,q,T,j,v;const n=e==null?void 0:e.querySelector('[data-scroll-id="heading"]'),i=e==null?void 0:e.querySelector('[data-scroll-id="content"]');!n||!i||(f.to(e,{height:n.offsetHeight+i.offsetHeight}).to(e==null?void 0:e.querySelector('[data-scroll-id="section-title"]'),{scale:y,yPercent:50},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="section-index"]'),{scale:m,yPercent:50},"<").to(i,{height:i.offsetHeight},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="protocol"]'),{scale:1},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="image-circle"]'),{scale:1,yPercent:5},"<"),E<o.length-1&&f.to(e,{height:n.offsetHeight,delay:.5}).to(e.nextElementSibling,{height:n.offsetHeight+i.offsetHeight},"<").to(((x=e.nextElementSibling)==null?void 0:x.querySelector('[data-scroll-id="section-title"]'))||null,{scale:y,yPercent:100},"<").to(((q=e.nextElementSibling)==null?void 0:q.querySelector('[data-scroll-id="section-index"]'))||null,{scale:m,yPercent:100},"<").to(((T=e.nextElementSibling)==null?void 0:T.querySelector('[data-scroll-id="content"]'))||null,{height:i.offsetHeight,yPercent:0},"<").to(((j=e.nextElementSibling)==null?void 0:j.querySelector('[data-scroll-id="protocol"]'))||null,{scale:1},"<").to(((v=e.nextElementSibling)==null?void 0:v.querySelector('[data-scroll-id="image-circle"]'))||null,{scale:1,yPercent:5},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="section-title"]'),{scale:1,yPercent:-15},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="section-index"]'),{scale:1,yPercent:-15},"<").to(i,{height:0,yPercent:0},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="protocol"]'),{scale:0,yPercent:200},"<").to(e==null?void 0:e.querySelector('[data-scroll-id="image-circle"]'),{scale:0,yPercent:200},"<"))})};a();const s=V.default(()=>{a()},200);return window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s),u.ScrollTrigger.getAll().forEach(o=>o.kill()),d.gsap.killTweensOf("*")}},{scope:c,dependencies:[c]}),l.jsx("div",{ref:c,className:`${r.default.root} ${r.default[h]}`,children:l.jsxs("div",{className:r.default.expandingDetailsWrapper,children:[l.jsxs("header",{"data-scroll-id":"header",className:r.default.header,children:[l.jsx(g.Typography,{as:"div",defaultVariant:"labelSm",emphasis:!0,className:r.default.label,children:N}),l.jsx(A.HighlightedTitle,{as:"div",defaultVariant:"displayMd",mobileVariant:"headingXl",colorScheme:h,className:r.default.title,title:P})]}),l.jsx("div",{"data-scroll-id":"sections",className:r.default.sections,children:b.map((a,s)=>l.jsxs("div",{id:`section-${s+1}`,"data-scroll-id":"section",className:r.default.section,children:[l.jsxs("div",{"data-scroll-id":"heading",className:r.default.heading,children:[l.jsx("div",{"data-scroll-id":"section-title",className:r.default.sectionTitleWrapper,children:l.jsx(g.Typography,{as:"h3",defaultVariant:"headingSm",className:r.default.sectionTitle,children:a.title})}),l.jsx("div",{"data-scroll-id":"section-index",className:r.default.sectionIndexWrapper,children:l.jsxs(g.Typography,{as:"p",defaultVariant:"headingSm",className:r.default.sectionIndex,children:["(",String(s+1).padStart(2,"0"),")"]})})]}),l.jsxs("div",{"data-scroll-id":"content",className:r.default.content,children:[l.jsx("div",{"data-scroll-id":"protocol",className:r.default.protocolWrapper,children:l.jsx(g.Typography,{as:"div",defaultVariant:"bodyMd",mobileVariant:"bodySm",className:r.default.protocol,children:a.protocol})}),l.jsx("div",{"data-scroll-id":"image-circle",className:r.default.imageCircle,children:l.jsx("img",{src:a.image,alt:a.title})})]}),l.jsx("div",{className:r.default.leftBorder}),l.jsx("div",{className:r.default.rightBorder})]},a.title))})]})})};exports.ExpandingDetails=$;
@@ -0,0 +1,3 @@
1
+ import { ExpandingDetailsProps } from './types';
2
+
3
+ export declare const ExpandingDetails: ({ colorScheme, label, title, sections }: ExpandingDetailsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,157 @@
1
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
+ import { useGSAP as A } from "../../node_modules/@gsap/react/src/index.es.js";
3
+ import { gsap as d } from "../../node_modules/gsap/index.es.js";
4
+ import { ScrollTrigger as g } from "../../node_modules/gsap/ScrollTrigger.es.js";
5
+ import { useRef as V } from "react";
6
+ import { HighlightedTitle as W } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
7
+ import { Typography as m } from "../../components/Typography/Typography.es.js";
8
+ import k from "../../utils/debounce.es.js";
9
+ import l from "./expandingDetails.module.css.es.js";
10
+ d.registerPlugin(g);
11
+ const O = ({ colorScheme: u, label: E, title: w, sections: T }) => {
12
+ const c = V(null);
13
+ return A(
14
+ () => {
15
+ if (!c.current) return;
16
+ const a = () => {
17
+ var q;
18
+ d.killTweensOf("*"), g.getAll().forEach((e) => e.kill());
19
+ const n = d.utils.toArray('[data-scroll-id="section"]'), r = (q = c.current) == null ? void 0 : q.querySelector('[data-scroll-id="sections"]');
20
+ if (!r) return;
21
+ const f = d.timeline({
22
+ scrollTrigger: {
23
+ trigger: c.current,
24
+ start: "top top",
25
+ end: () => `+=${n.length * 500}`,
26
+ scrub: 1,
27
+ markers: !1,
28
+ pin: !0
29
+ }
30
+ }), p = r == null ? void 0 : r.querySelector('[data-scroll-id="heading"]');
31
+ if (!p) return;
32
+ d.set(r == null ? void 0 : r.querySelectorAll('[data-scroll-id="section"]'), {
33
+ height: p.offsetHeight || 0
34
+ }), d.set(r == null ? void 0 : r.querySelectorAll('[data-scroll-id="protocol"]'), {
35
+ scale: 0.5,
36
+ yPercent: 0
37
+ }), d.set(r == null ? void 0 : r.querySelectorAll('[data-scroll-id="image-circle"]'), {
38
+ scale: 0.5,
39
+ yPercent: 5
40
+ });
41
+ const y = window.innerWidth < 768 ? 1.2 : 2, S = window.innerWidth < 768 ? 1.2 : 2;
42
+ n.forEach((e, H) => {
43
+ var v, N, x, P, b;
44
+ const h = e == null ? void 0 : e.querySelector('[data-scroll-id="heading"]'), i = e == null ? void 0 : e.querySelector('[data-scroll-id="content"]');
45
+ !h || !i || (f.to(e, { height: h.offsetHeight + i.offsetHeight }).to(
46
+ e == null ? void 0 : e.querySelector('[data-scroll-id="section-title"]'),
47
+ { scale: y, yPercent: 50 },
48
+ "<"
49
+ ).to(
50
+ e == null ? void 0 : e.querySelector('[data-scroll-id="section-index"]'),
51
+ { scale: S, yPercent: 50 },
52
+ "<"
53
+ ).to(i, { height: i.offsetHeight }, "<").to(e == null ? void 0 : e.querySelector('[data-scroll-id="protocol"]'), { scale: 1 }, "<").to(e == null ? void 0 : e.querySelector('[data-scroll-id="image-circle"]'), { scale: 1, yPercent: 5 }, "<"), H < n.length - 1 && f.to(e, { height: h.offsetHeight, delay: 0.5 }).to(
54
+ e.nextElementSibling,
55
+ { height: h.offsetHeight + i.offsetHeight },
56
+ "<"
57
+ ).to(
58
+ ((v = e.nextElementSibling) == null ? void 0 : v.querySelector('[data-scroll-id="section-title"]')) || null,
59
+ { scale: y, yPercent: 100 },
60
+ "<"
61
+ ).to(
62
+ ((N = e.nextElementSibling) == null ? void 0 : N.querySelector('[data-scroll-id="section-index"]')) || null,
63
+ { scale: S, yPercent: 100 },
64
+ "<"
65
+ ).to(
66
+ ((x = e.nextElementSibling) == null ? void 0 : x.querySelector('[data-scroll-id="content"]')) || null,
67
+ { height: i.offsetHeight, yPercent: 0 },
68
+ "<"
69
+ ).to(
70
+ ((P = e.nextElementSibling) == null ? void 0 : P.querySelector('[data-scroll-id="protocol"]')) || null,
71
+ { scale: 1 },
72
+ "<"
73
+ ).to(
74
+ ((b = e.nextElementSibling) == null ? void 0 : b.querySelector('[data-scroll-id="image-circle"]')) || null,
75
+ { scale: 1, yPercent: 5 },
76
+ "<"
77
+ ).to(
78
+ e == null ? void 0 : e.querySelector('[data-scroll-id="section-title"]'),
79
+ { scale: 1, yPercent: -15 },
80
+ "<"
81
+ ).to(
82
+ e == null ? void 0 : e.querySelector('[data-scroll-id="section-index"]'),
83
+ { scale: 1, yPercent: -15 },
84
+ "<"
85
+ ).to(i, { height: 0, yPercent: 0 }, "<").to(e == null ? void 0 : e.querySelector('[data-scroll-id="protocol"]'), { scale: 0, yPercent: 200 }, "<").to(
86
+ e == null ? void 0 : e.querySelector('[data-scroll-id="image-circle"]'),
87
+ { scale: 0, yPercent: 200 },
88
+ "<"
89
+ ));
90
+ });
91
+ };
92
+ a();
93
+ const s = k(() => {
94
+ a();
95
+ }, 200);
96
+ return window.addEventListener("resize", s), () => {
97
+ window.removeEventListener("resize", s), g.getAll().forEach((n) => n.kill()), d.killTweensOf("*");
98
+ };
99
+ },
100
+ {
101
+ scope: c,
102
+ dependencies: [c]
103
+ }
104
+ ), /* @__PURE__ */ t("div", { ref: c, className: `${l.root} ${l[u]}`, children: /* @__PURE__ */ o("div", { className: l.expandingDetailsWrapper, children: [
105
+ /* @__PURE__ */ o("header", { "data-scroll-id": "header", className: l.header, children: [
106
+ /* @__PURE__ */ t(m, { as: "div", defaultVariant: "labelSm", emphasis: !0, className: l.label, children: E }),
107
+ /* @__PURE__ */ t(
108
+ W,
109
+ {
110
+ as: "div",
111
+ defaultVariant: "displayMd",
112
+ mobileVariant: "headingXl",
113
+ colorScheme: u,
114
+ className: l.title,
115
+ title: w
116
+ }
117
+ )
118
+ ] }),
119
+ /* @__PURE__ */ t("div", { "data-scroll-id": "sections", className: l.sections, children: T.map((a, s) => /* @__PURE__ */ o(
120
+ "div",
121
+ {
122
+ id: `section-${s + 1}`,
123
+ "data-scroll-id": "section",
124
+ className: l.section,
125
+ children: [
126
+ /* @__PURE__ */ o("div", { "data-scroll-id": "heading", className: l.heading, children: [
127
+ /* @__PURE__ */ t("div", { "data-scroll-id": "section-title", className: l.sectionTitleWrapper, children: /* @__PURE__ */ t(m, { as: "h3", defaultVariant: "headingSm", className: l.sectionTitle, children: a.title }) }),
128
+ /* @__PURE__ */ t("div", { "data-scroll-id": "section-index", className: l.sectionIndexWrapper, children: /* @__PURE__ */ o(m, { as: "p", defaultVariant: "headingSm", className: l.sectionIndex, children: [
129
+ "(",
130
+ String(s + 1).padStart(2, "0"),
131
+ ")"
132
+ ] }) })
133
+ ] }),
134
+ /* @__PURE__ */ o("div", { "data-scroll-id": "content", className: l.content, children: [
135
+ /* @__PURE__ */ t("div", { "data-scroll-id": "protocol", className: l.protocolWrapper, children: /* @__PURE__ */ t(
136
+ m,
137
+ {
138
+ as: "div",
139
+ defaultVariant: "bodyMd",
140
+ mobileVariant: "bodySm",
141
+ className: l.protocol,
142
+ children: a.protocol
143
+ }
144
+ ) }),
145
+ /* @__PURE__ */ t("div", { "data-scroll-id": "image-circle", className: l.imageCircle, children: /* @__PURE__ */ t("img", { src: a.image, alt: a.title }) })
146
+ ] }),
147
+ /* @__PURE__ */ t("div", { className: l.leftBorder }),
148
+ /* @__PURE__ */ t("div", { className: l.rightBorder })
149
+ ]
150
+ },
151
+ a.title
152
+ )) })
153
+ ] }) });
154
+ };
155
+ export {
156
+ O as ExpandingDetails
157
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="expandingDetails-module__root___5WLQh",t="expandingDetails-module__dark___BhUf9",o="expandingDetails-module__expandingDetailsWrapper___sqLS5",n="expandingDetails-module__header___Rp1BD",r="expandingDetails-module__title___5WsER",i="expandingDetails-module__label___w2Sjs",_="expandingDetails-module__sections___xpvak",a="expandingDetails-module__section___zgXvg",l="expandingDetails-module__leftBorder___lZI-L",s="expandingDetails-module__rightBorder___xfwvL",d="expandingDetails-module__topLeftCorner___sT8-Q",p="expandingDetails-module__topRightCorner___q9HbO",c="expandingDetails-module__bottomLeftCorner___E3e0F",g="expandingDetails-module__bottomRightCorner___VQJBu",x="expandingDetails-module__heading___htlX-",m="expandingDetails-module__sectionTitleWrapper___WxS9B",u="expandingDetails-module__sectionIndexWrapper___l-3VD",D="expandingDetails-module__content___1uGIY",h="expandingDetails-module__protocolWrapper___nq7ij",C="expandingDetails-module__imageCircle___HZJB-",W="expandingDetails-module__sectionIndex___spgOf",f={root:e,dark:t,expandingDetailsWrapper:o,header:n,title:r,label:i,sections:_,section:a,leftBorder:l,rightBorder:s,topLeftCorner:d,topRightCorner:p,bottomLeftCorner:c,bottomRightCorner:g,heading:x,sectionTitleWrapper:m,sectionIndexWrapper:u,content:D,protocolWrapper:h,imageCircle:C,sectionIndex:W};exports.bottomLeftCorner=c;exports.bottomRightCorner=g;exports.content=D;exports.dark=t;exports.default=f;exports.expandingDetailsWrapper=o;exports.header=n;exports.heading=x;exports.imageCircle=C;exports.label=i;exports.leftBorder=l;exports.protocolWrapper=h;exports.rightBorder=s;exports.root=e;exports.section=a;exports.sectionIndex=W;exports.sectionIndexWrapper=u;exports.sectionTitleWrapper=m;exports.sections=_;exports.title=r;exports.topLeftCorner=d;exports.topRightCorner=p;
@@ -0,0 +1,47 @@
1
+ const e = "expandingDetails-module__root___5WLQh", t = "expandingDetails-module__dark___BhUf9", n = "expandingDetails-module__expandingDetailsWrapper___sqLS5", o = "expandingDetails-module__header___Rp1BD", _ = "expandingDetails-module__title___5WsER", i = "expandingDetails-module__label___w2Sjs", r = "expandingDetails-module__sections___xpvak", a = "expandingDetails-module__section___zgXvg", s = "expandingDetails-module__leftBorder___lZI-L", l = "expandingDetails-module__rightBorder___xfwvL", d = "expandingDetails-module__topLeftCorner___sT8-Q", p = "expandingDetails-module__topRightCorner___q9HbO", c = "expandingDetails-module__bottomLeftCorner___E3e0F", g = "expandingDetails-module__bottomRightCorner___VQJBu", x = "expandingDetails-module__heading___htlX-", m = "expandingDetails-module__sectionTitleWrapper___WxS9B", D = "expandingDetails-module__sectionIndexWrapper___l-3VD", u = "expandingDetails-module__content___1uGIY", h = "expandingDetails-module__protocolWrapper___nq7ij", C = "expandingDetails-module__imageCircle___HZJB-", W = "expandingDetails-module__sectionIndex___spgOf", f = {
2
+ root: e,
3
+ dark: t,
4
+ expandingDetailsWrapper: n,
5
+ header: o,
6
+ title: _,
7
+ label: i,
8
+ sections: r,
9
+ section: a,
10
+ leftBorder: s,
11
+ rightBorder: l,
12
+ topLeftCorner: d,
13
+ topRightCorner: p,
14
+ bottomLeftCorner: c,
15
+ bottomRightCorner: g,
16
+ heading: x,
17
+ sectionTitleWrapper: m,
18
+ sectionIndexWrapper: D,
19
+ content: u,
20
+ protocolWrapper: h,
21
+ imageCircle: C,
22
+ sectionIndex: W
23
+ };
24
+ export {
25
+ c as bottomLeftCorner,
26
+ g as bottomRightCorner,
27
+ u as content,
28
+ t as dark,
29
+ f as default,
30
+ n as expandingDetailsWrapper,
31
+ o as header,
32
+ x as heading,
33
+ C as imageCircle,
34
+ i as label,
35
+ s as leftBorder,
36
+ h as protocolWrapper,
37
+ l as rightBorder,
38
+ e as root,
39
+ a as section,
40
+ W as sectionIndex,
41
+ D as sectionIndexWrapper,
42
+ m as sectionTitleWrapper,
43
+ r as sections,
44
+ _ as title,
45
+ d as topLeftCorner,
46
+ p as topRightCorner
47
+ };
@@ -0,0 +1 @@
1
+ export { ExpandingDetails } from './ExpandingDetails';
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { TColorScheme } from '../../types/common';
3
+
4
+ export type ExpandingDetailsProps = {
5
+ colorScheme: TColorScheme;
6
+ label: string;
7
+ title: ReactNode;
8
+ sections: {
9
+ title: string;
10
+ protocol: React.ReactNode;
11
+ image: string;
12
+ }[];
13
+ };
@@ -9,8 +9,8 @@ type IndividualProductCardProps = {
9
9
  description?: string;
10
10
  label?: string;
11
11
  rating?: {
12
- stars: number;
13
- totalReviews: number;
12
+ stars?: number;
13
+ totalReviews?: number;
14
14
  };
15
15
  button: {
16
16
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -395,6 +395,11 @@
395
395
  "import": "./dist/modules/LongevityPathways/LongevityPathways.es.js",
396
396
  "require": "./dist/modules/LongevityPathways/LongevityPathways.cjs.js"
397
397
  },
398
+ "./ExpandingDetails": {
399
+ "types": "./dist/modules/ExpandingDetails/ExpandingDetails.d.ts",
400
+ "import": "./dist/modules/ExpandingDetails/ExpandingDetails.es.js",
401
+ "require": "./dist/modules/ExpandingDetails/ExpandingDetails.cjs.js"
402
+ },
398
403
  "./Compare": {
399
404
  "types": "./dist/modules/Compare/Compare.d.ts",
400
405
  "import": "./dist/modules/Compare/Compare.es.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="complexImageCarousel-module__container___uoYKj",o="complexImageCarousel-module__carouselArea___dqNWo",s="complexImageCarousel-module__slideContainer___H-r26",r="complexImageCarousel-module__description___R8XsG",t="complexImageCarousel-module__descriptionItem___SAPt8",_="complexImageCarousel-module__progressButtonContainer___l3Qih",l="complexImageCarousel-module__progressButton___b78tE",a={container:e,carouselArea:o,slideContainer:s,"size-atom":"complexImageCarousel-module__size-atom___t7PmI","size-small":"complexImageCarousel-module__size-small___mjSZM","size-medium":"complexImageCarousel-module__size-medium___M-0BQ","size-large":"complexImageCarousel-module__size-large___GITeg","size-x-large":"complexImageCarousel-module__size-x-large___e-BOY",description:r,descriptionItem:t,progressButtonContainer:_,progressButton:l};exports.carouselArea=o;exports.container=e;exports.default=a;exports.description=r;exports.descriptionItem=t;exports.progressButton=l;exports.progressButtonContainer=_;exports.slideContainer=s;
@@ -1,24 +0,0 @@
1
- const e = "complexImageCarousel-module__container___uoYKj", o = "complexImageCarousel-module__carouselArea___dqNWo", s = "complexImageCarousel-module__slideContainer___H-r26", _ = "complexImageCarousel-module__description___R8XsG", l = "complexImageCarousel-module__descriptionItem___SAPt8", r = "complexImageCarousel-module__progressButtonContainer___l3Qih", a = "complexImageCarousel-module__progressButton___b78tE", m = {
2
- container: e,
3
- carouselArea: o,
4
- slideContainer: s,
5
- "size-atom": "complexImageCarousel-module__size-atom___t7PmI",
6
- "size-small": "complexImageCarousel-module__size-small___mjSZM",
7
- "size-medium": "complexImageCarousel-module__size-medium___M-0BQ",
8
- "size-large": "complexImageCarousel-module__size-large___GITeg",
9
- "size-x-large": "complexImageCarousel-module__size-x-large___e-BOY",
10
- description: _,
11
- descriptionItem: l,
12
- progressButtonContainer: r,
13
- progressButton: a
14
- };
15
- export {
16
- o as carouselArea,
17
- e as container,
18
- m as default,
19
- _ as description,
20
- l as descriptionItem,
21
- a as progressButton,
22
- r as progressButtonContainer,
23
- s as slideContainer
24
- };