@zenpatient-org/healthspan-marketing-ui 0.1.111 → 0.1.113

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 (42) hide show
  1. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/simpleImageCarousel.module.css.cjs.js +1 -1
  2. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/simpleImageCarousel.module.css.es.js +7 -5
  3. package/dist/components/ComplexImageCarousel/useComplexImageCarousel.cjs.js +1 -1
  4. package/dist/components/ComplexImageCarousel/useComplexImageCarousel.es.js +29 -29
  5. package/dist/components/HighlightedTitle/HighlightedTitle.cjs.js +1 -1
  6. package/dist/components/HighlightedTitle/HighlightedTitle.es.js +16 -16
  7. package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -1
  8. package/dist/components/StepsCarousel/StepsCarousel.es.js +71 -61
  9. package/dist/healthspan-marketing-ui.css +1 -1
  10. package/dist/modules/CallToAction/CallToAction.cjs.js +1 -1
  11. package/dist/modules/CallToAction/CallToAction.es.js +17 -18
  12. package/dist/modules/HSModal/HSModal.cjs.js +1 -1
  13. package/dist/modules/HSModal/HSModal.es.js +4 -4
  14. package/dist/modules/HSModal/components/MailchimpModal/mailchimpModal.module.css.cjs.js +1 -1
  15. package/dist/modules/HSModal/components/MailchimpModal/mailchimpModal.module.css.es.js +16 -18
  16. package/dist/modules/HSModal/index.d.ts +1 -1
  17. package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
  18. package/dist/modules/HSModal/useHSModal.d.ts +2 -2
  19. package/dist/modules/HSModal/useHSModal.es.js +46 -44
  20. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.cjs.js +1 -1
  21. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.es.js +18 -14
  22. package/dist/modules/IndividualProductCard/types.d.ts +1 -0
  23. package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -1
  24. package/dist/modules/LongevityPathways/LongevityPathways.es.js +8 -7
  25. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
  26. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +36 -37
  27. package/dist/modules/ResearchStudies/ResearchStudies.cjs.js +1 -1
  28. package/dist/modules/ResearchStudies/ResearchStudies.es.js +10 -10
  29. package/dist/modules/Reviews/Reviews.cjs.js +1 -1
  30. package/dist/modules/Reviews/Reviews.es.js +27 -22
  31. package/dist/modules/Reviews/components/ReviewList/ReviewList.cjs.js +1 -1
  32. package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +2 -1
  33. package/dist/modules/Reviews/components/ReviewList/ReviewList.es.js +35 -16
  34. package/dist/modules/Reviews/components/ReviewList/reviewList.module.css.cjs.js +1 -1
  35. package/dist/modules/Reviews/components/ReviewList/reviewList.module.css.es.js +10 -4
  36. package/dist/modules/Reviews/reviews.module.css.cjs.js +1 -1
  37. package/dist/modules/Reviews/reviews.module.css.es.js +7 -11
  38. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.cjs.js +1 -1
  39. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.es.js +17 -7
  40. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.cjs.js +1 -1
  41. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.es.js +9 -7
  42. package/package.json +6 -1
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { jsx as r, jsxs as s } from "react/jsx-runtime";
3
3
  import { Button as d } from "../../components/Button/Button.es.js";
4
4
  import "../../components/Icon/Icon.es.js";
5
5
  import { EIconName as m } from "../../components/Icon/constants.es.js";
6
6
  import { Typography as p } from "../../components/Typography/Typography.es.js";
7
7
  import { StudyCard as f } from "./components/StudyCard/StudyCard.es.js";
8
8
  import { StudiesSkeleton as N } from "./components/StudiesSkeleton/StudiesSkeleton.es.js";
9
- import r from "./researchStudies.module.css.es.js";
9
+ import e from "./researchStudies.module.css.es.js";
10
10
  const v = 6, R = ({
11
11
  studies: o,
12
12
  hasMoreButton: n,
@@ -14,9 +14,9 @@ const v = 6, R = ({
14
14
  backButton: i,
15
15
  loading: c,
16
16
  onClickShowMore: h
17
- }) => /* @__PURE__ */ e("div", { className: r.root, children: /* @__PURE__ */ l("div", { className: r.container, children: [
18
- /* @__PURE__ */ l("div", { className: r.header, children: [
19
- i && /* @__PURE__ */ e("div", { className: r.backButton, children: /* @__PURE__ */ e(
17
+ }) => /* @__PURE__ */ r("div", { className: e.root, children: /* @__PURE__ */ s("div", { className: e.container, children: [
18
+ /* @__PURE__ */ s("div", { className: e.header, children: [
19
+ i && /* @__PURE__ */ r("div", { className: e.backButton, children: /* @__PURE__ */ r(
20
20
  d,
21
21
  {
22
22
  as: "a",
@@ -27,13 +27,13 @@ const v = 6, R = ({
27
27
  children: i == null ? void 0 : i.label
28
28
  }
29
29
  ) }),
30
- /* @__PURE__ */ e(p, { defaultVariant: "displayXs", mobileVariant: "headingLg", children: t })
30
+ /* @__PURE__ */ r(p, { defaultVariant: "displayXs", mobileVariant: "headingLg", children: t })
31
31
  ] }),
32
- /* @__PURE__ */ l("div", { className: r.studies, children: [
33
- o.map((a, s) => /* @__PURE__ */ e("div", { className: r.studyCard, children: /* @__PURE__ */ e(f, { ...a }) }, `${a.title}_${a.link}`)),
34
- c && Array.from({ length: v }).map((a, s) => /* @__PURE__ */ e("div", { className: r.studyCard, children: /* @__PURE__ */ e(N, {}, s) }, s))
32
+ /* @__PURE__ */ s("div", { className: e.studies, children: [
33
+ o.map((a) => /* @__PURE__ */ r("div", { className: e.studyCard, children: /* @__PURE__ */ r(f, { ...a }) }, `${a.title}_${a.link}`)),
34
+ c && Array.from({ length: v }).map((a, l) => /* @__PURE__ */ r("div", { className: e.studyCard, children: /* @__PURE__ */ r(N, {}, l) }, l))
35
35
  ] }),
36
- n && /* @__PURE__ */ e("div", { className: r.buttonContainer, children: /* @__PURE__ */ e(d, { size: "lg", variant: "muted", prefixIcon: m.PLUS, onClick: h, children: "show more" }) })
36
+ n && /* @__PURE__ */ r("div", { className: e.buttonContainer, children: /* @__PURE__ */ r(d, { size: "lg", variant: "muted", prefixIcon: m.PLUS, onClick: h, children: "show more" }) })
37
37
  ] }) });
38
38
  export {
39
39
  R as ResearchStudies
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Typography/Typography.cjs.js"),o=require("../../components/RatingStars/RatingStars.cjs.js"),c=require("../../components/Pagination/Pagination.cjs.js"),u=require("./components/ReviewList/ReviewList.cjs.js"),s=require("./reviews.module.css.cjs.js"),h=({rating:a,reviews:d,page:t,pagesCount:l,isLoading:r,onPageChange:n})=>e.jsx("section",{className:s.default.root,children:e.jsxs("div",{className:s.default.container,children:[e.jsxs("div",{className:s.default.headerContainer,children:[e.jsx(i.Typography,{as:"h2",defaultVariant:"displaySm",mobileVariant:"headingXl",children:"Reviews"}),!!(a!=null&&a.stars)&&e.jsxs("div",{className:s.default.headerRow,children:[e.jsxs(i.Typography,{defaultVariant:"headingLg",mobileVariant:"headingSm",children:[a.stars,"/5"]}),e.jsx(o.RatingStars,{rating:a.stars,size:"lg"}),!!a.totalReviews&&e.jsxs(i.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,weight:"regular",children:[a.totalReviews," reviews"]})]})]}),e.jsxs("div",{className:s.default.reviewsContainer,children:[r?e.jsxs("div",{className:s.default.loadingContainer,children:[e.jsx("div",{className:s.default.skeleton}),e.jsx("div",{className:s.default.skeleton}),e.jsx("div",{className:s.default.skeleton})]}):e.jsx(u.ReviewList,{reviews:d,page:t,pagesCount:l,onPageChange:n}),e.jsx("div",{className:s.default.pagination,children:e.jsx(c.Pagination,{page:t,pagesCount:l,visiblePagesLimit:3,disabled:r,onPageChange:n})})]})]})});exports.Reviews=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Typography/Typography.cjs.js"),d=require("../../components/RatingStars/RatingStars.cjs.js"),c=require("../../components/Pagination/Pagination.cjs.js"),u=require("./components/ReviewList/ReviewList.cjs.js"),a=require("./reviews.module.css.cjs.js"),h=({rating:s,reviews:o,page:r,pagesCount:t,isLoading:n,onPageChange:l})=>e.jsx("section",{className:a.default.root,children:e.jsxs("div",{className:a.default.container,children:[e.jsxs("div",{className:a.default.headerContainer,children:[e.jsx(i.Typography,{as:"h2",defaultVariant:"displaySm",mobileVariant:"headingXl",children:"Reviews"}),!!(s!=null&&s.stars)&&e.jsxs("div",{className:a.default.headerRow,children:[e.jsxs(i.Typography,{defaultVariant:"headingLg",mobileVariant:"headingSm",children:[s.stars,"/5"]}),e.jsx(d.RatingStars,{rating:s.stars,size:"lg"}),!!s.totalReviews&&e.jsxs(i.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,weight:"regular",children:[s.totalReviews," reviews"]})]})]}),e.jsxs("div",{className:a.default.reviewsContainer,children:[e.jsx(u.ReviewList,{reviews:o,page:r,pagesCount:t,isLoading:!!n,onPageChange:l}),e.jsx("div",{className:a.default.pagination,children:e.jsx(c.Pagination,{page:r,pagesCount:t,visiblePagesLimit:3,disabled:n,onPageChange:l})})]})]})});exports.Reviews=h;
@@ -1,38 +1,43 @@
1
- import { jsx as i, jsxs as s } from "react/jsx-runtime";
2
- import { Typography as l } from "../../components/Typography/Typography.es.js";
1
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
2
+ import { Typography as r } from "../../components/Typography/Typography.es.js";
3
3
  import { RatingStars as n } from "../../components/RatingStars/RatingStars.es.js";
4
4
  import { Pagination as c } from "../../components/Pagination/Pagination.es.js";
5
5
  import { ReviewList as h } from "./components/ReviewList/ReviewList.es.js";
6
- import e from "./reviews.module.css.es.js";
7
- const b = ({ rating: a, reviews: m, page: r, pagesCount: t, isLoading: d, onPageChange: o }) => /* @__PURE__ */ i("section", { className: e.root, children: /* @__PURE__ */ s("div", { className: e.container, children: [
8
- /* @__PURE__ */ s("div", { className: e.headerContainer, children: [
9
- /* @__PURE__ */ i(l, { as: "h2", defaultVariant: "displaySm", mobileVariant: "headingXl", children: "Reviews" }),
10
- !!(a != null && a.stars) && /* @__PURE__ */ s("div", { className: e.headerRow, children: [
11
- /* @__PURE__ */ s(l, { defaultVariant: "headingLg", mobileVariant: "headingSm", children: [
12
- a.stars,
6
+ import s from "./reviews.module.css.es.js";
7
+ const b = ({ rating: e, reviews: m, page: l, pagesCount: t, isLoading: o, onPageChange: d }) => /* @__PURE__ */ i("section", { className: s.root, children: /* @__PURE__ */ a("div", { className: s.container, children: [
8
+ /* @__PURE__ */ a("div", { className: s.headerContainer, children: [
9
+ /* @__PURE__ */ i(r, { as: "h2", defaultVariant: "displaySm", mobileVariant: "headingXl", children: "Reviews" }),
10
+ !!(e != null && e.stars) && /* @__PURE__ */ a("div", { className: s.headerRow, children: [
11
+ /* @__PURE__ */ a(r, { defaultVariant: "headingLg", mobileVariant: "headingSm", children: [
12
+ e.stars,
13
13
  "/5"
14
14
  ] }),
15
- /* @__PURE__ */ i(n, { rating: a.stars, size: "lg" }),
16
- !!a.totalReviews && /* @__PURE__ */ s(l, { as: "p", defaultVariant: "labelSm", emphasis: !0, weight: "regular", children: [
17
- a.totalReviews,
15
+ /* @__PURE__ */ i(n, { rating: e.stars, size: "lg" }),
16
+ !!e.totalReviews && /* @__PURE__ */ a(r, { as: "p", defaultVariant: "labelSm", emphasis: !0, weight: "regular", children: [
17
+ e.totalReviews,
18
18
  " reviews"
19
19
  ] })
20
20
  ] })
21
21
  ] }),
22
- /* @__PURE__ */ s("div", { className: e.reviewsContainer, children: [
23
- d ? /* @__PURE__ */ s("div", { className: e.loadingContainer, children: [
24
- /* @__PURE__ */ i("div", { className: e.skeleton }),
25
- /* @__PURE__ */ i("div", { className: e.skeleton }),
26
- /* @__PURE__ */ i("div", { className: e.skeleton })
27
- ] }) : /* @__PURE__ */ i(h, { reviews: m, page: r, pagesCount: t, onPageChange: o }),
28
- /* @__PURE__ */ i("div", { className: e.pagination, children: /* @__PURE__ */ i(
22
+ /* @__PURE__ */ a("div", { className: s.reviewsContainer, children: [
23
+ /* @__PURE__ */ i(
24
+ h,
25
+ {
26
+ reviews: m,
27
+ page: l,
28
+ pagesCount: t,
29
+ isLoading: !!o,
30
+ onPageChange: d
31
+ }
32
+ ),
33
+ /* @__PURE__ */ i("div", { className: s.pagination, children: /* @__PURE__ */ i(
29
34
  c,
30
35
  {
31
- page: r,
36
+ page: l,
32
37
  pagesCount: t,
33
38
  visiblePagesLimit: 3,
34
- disabled: d,
35
- onPageChange: o
39
+ disabled: o,
40
+ onPageChange: d
36
41
  }
37
42
  ) })
38
43
  ] })
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),a=require("../ReviewCard/ReviewCard.cjs.js"),f=require("./reviewList.module.css.cjs.js"),v=({reviews:l,page:t,pagesCount:u,onPageChange:n})=>{const r=i.useRef(null),d=e=>{r.current=e.touches[0].clientX},h=i.useCallback(e=>{if(r.current===null)return;const c=e.changedTouches[0].clientX-r.current,o=50;c>o&&t>1?n(t-1):c<-o&&(!u||t<u)&&n(t+1),r.current=null},[t,u,n]);return s.jsx("div",{className:f.default.root,onTouchStart:d,onTouchEnd:h,children:l.map(({review:e},c)=>s.jsx(a.ReviewCard,{review:e},`${e.author}_${c}`))})};exports.ReviewList=v;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),S=require("../../../../node_modules/swiper/swiper-react.cjs.js");;/* empty css */const a=require("../../../../components/Skeleton/Skeleton.cjs.js"),q=require("../../../../utils/useSwiper/useSwiper.cjs.js"),R=require("../ReviewCard/ReviewCard.cjs.js"),r=require("./reviewList.module.css.cjs.js"),k=({reviews:w,page:i,pagesCount:s,isLoading:h,onPageChange:x})=>{const n=o.useRef("external"),{activeIndex:c,onSwiperInit:f,handleSlideTo:u,handleSlideChange:m,handleSwiperResize:p}=q.useSwiper();o.useEffect(()=>{n.current==="external"&&c!==i-1&&u(i-1),n.current="external"},[c,i,u]);const v=o.useMemo(()=>Array.from({length:s}),[s]);return e.jsx(S.Swiper,{onSwiper:f,onResize:p,onSlideChange:l=>{const t=l.activeIndex+1;t!==i&&(n.current="swiper",x(t)),m(l)},slidesPerView:1,allowTouchMove:s>1,spaceBetween:0,initialSlide:i-1,className:r.default.swiper,children:v.map((l,t)=>e.jsx(S.SwiperSlide,{children:t===i-1?e.jsx("div",{className:r.default.reviewsContainer,children:h?e.jsxs("div",{className:r.default.loadingContainer,children:[e.jsx(a.Skeleton,{height:"130px",className:r.default.skeleton}),e.jsx(a.Skeleton,{height:"110px",className:r.default.skeleton}),e.jsx(a.Skeleton,{height:"90px",className:r.default.skeleton})]}):w.map(({review:d},j)=>e.jsx(R.ReviewCard,{review:d},`${d.author}_${j}`))}):null},t))})};exports.ReviewList=k;
@@ -4,7 +4,8 @@ type ReviewListProps = {
4
4
  reviews: Array<TReviewCard>;
5
5
  page: number;
6
6
  pagesCount: number;
7
+ isLoading: boolean;
7
8
  onPageChange: (page: number) => void;
8
9
  };
9
- export declare const ReviewList: ({ reviews, page, pagesCount, onPageChange }: ReviewListProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const ReviewList: ({ reviews, page, pagesCount, isLoading, onPageChange }: ReviewListProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -1,21 +1,40 @@
1
1
  "use client";
2
- import { jsx as u } from "react/jsx-runtime";
3
- import { useRef as d, useCallback as m } from "react";
4
- import { ReviewCard as f } from "../ReviewCard/ReviewCard.es.js";
5
- import T from "./reviewList.module.css.es.js";
6
- const v = ({ reviews: s, page: r, pagesCount: n, onPageChange: l }) => {
7
- const c = d(null), i = (t) => {
8
- c.current = t.touches[0].clientX;
9
- }, h = m(
10
- (t) => {
11
- if (c.current === null) return;
12
- const o = t.changedTouches[0].clientX - c.current, e = 50;
13
- o > e && r > 1 ? l(r - 1) : o < -e && (!n || r < n) && l(r + 1), c.current = null;
14
- },
15
- [r, n, l]
2
+ import { jsx as e, jsxs as v } from "react/jsx-runtime";
3
+ import { useRef as N, useEffect as R, useMemo as k } from "react";
4
+ import { Swiper as g, SwiperSlide as y } from "../../../../node_modules/swiper/swiper-react.es.js";
5
+ /* empty css */
6
+ import { Skeleton as o } from "../../../../components/Skeleton/Skeleton.es.js";
7
+ import { useSwiper as C } from "../../../../utils/useSwiper/useSwiper.es.js";
8
+ import { ReviewCard as T } from "../ReviewCard/ReviewCard.es.js";
9
+ import i from "./reviewList.module.css.es.js";
10
+ const A = ({ reviews: d, page: r, pagesCount: n, isLoading: h, onPageChange: p }) => {
11
+ const s = N("external"), { activeIndex: a, onSwiperInit: f, handleSlideTo: m, handleSlideChange: w, handleSwiperResize: S } = C();
12
+ R(() => {
13
+ s.current === "external" && a !== r - 1 && m(r - 1), s.current = "external";
14
+ }, [a, r, m]);
15
+ const u = k(() => Array.from({ length: n }), [n]);
16
+ return /* @__PURE__ */ e(
17
+ g,
18
+ {
19
+ onSwiper: f,
20
+ onResize: S,
21
+ onSlideChange: (l) => {
22
+ const t = l.activeIndex + 1;
23
+ t !== r && (s.current = "swiper", p(t)), w(l);
24
+ },
25
+ slidesPerView: 1,
26
+ allowTouchMove: n > 1,
27
+ spaceBetween: 0,
28
+ initialSlide: r - 1,
29
+ className: i.swiper,
30
+ children: u.map((l, t) => /* @__PURE__ */ e(y, { children: t === r - 1 ? /* @__PURE__ */ e("div", { className: i.reviewsContainer, children: h ? /* @__PURE__ */ v("div", { className: i.loadingContainer, children: [
31
+ /* @__PURE__ */ e(o, { height: "130px", className: i.skeleton }),
32
+ /* @__PURE__ */ e(o, { height: "110px", className: i.skeleton }),
33
+ /* @__PURE__ */ e(o, { height: "90px", className: i.skeleton })
34
+ ] }) : d.map(({ review: c }, x) => /* @__PURE__ */ e(T, { review: c }, `${c.author}_${x}`)) }) : null }, t))
35
+ }
16
36
  );
17
- return /* @__PURE__ */ u("div", { className: T.root, onTouchStart: i, onTouchEnd: h, children: s.map(({ review: t }, o) => /* @__PURE__ */ u(f, { review: t }, `${t.author}_${o}`)) });
18
37
  };
19
38
  export {
20
- v as ReviewList
39
+ A as ReviewList
21
40
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="reviewList-module__root___UIExi",o={root:e};exports.default=o;exports.root=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="reviewList-module__swiper___dUnMh",i="reviewList-module__reviewsContainer___qleZs",n="reviewList-module__loadingContainer___4JbMU",t="reviewList-module__skeleton___0tCEB",o={swiper:e,reviewsContainer:i,loadingContainer:n,skeleton:t};exports.default=o;exports.loadingContainer=n;exports.reviewsContainer=i;exports.skeleton=t;exports.swiper=e;
@@ -1,7 +1,13 @@
1
- const o = "reviewList-module__root___UIExi", t = {
2
- root: o
1
+ const e = "reviewList-module__swiper___dUnMh", n = "reviewList-module__reviewsContainer___qleZs", i = "reviewList-module__loadingContainer___4JbMU", o = "reviewList-module__skeleton___0tCEB", s = {
2
+ swiper: e,
3
+ reviewsContainer: n,
4
+ loadingContainer: i,
5
+ skeleton: o
3
6
  };
4
7
  export {
5
- t as default,
6
- o as root
8
+ s as default,
9
+ i as loadingContainer,
10
+ n as reviewsContainer,
11
+ o as skeleton,
12
+ e as swiper
7
13
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="reviews-module__root___1ZqJ6",o="reviews-module__container___QE-Af",n="reviews-module__headerContainer___GGw6i",t="reviews-module__headerRow___kpG8f",i="reviews-module__reviewsContainer___BHIYC",r="reviews-module__pagination___mWMay",a="reviews-module__loadingContainer___uJZ6c",_="reviews-module__skeleton___UaPlJ",s={root:e,container:o,headerContainer:n,headerRow:t,reviewsContainer:i,pagination:r,loadingContainer:a,skeleton:_};exports.container=o;exports.default=s;exports.headerContainer=n;exports.headerRow=t;exports.loadingContainer=a;exports.pagination=r;exports.reviewsContainer=i;exports.root=e;exports.skeleton=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="reviews-module__root___1ZqJ6",o="reviews-module__container___QE-Af",n="reviews-module__headerContainer___GGw6i",r="reviews-module__headerRow___kpG8f",t="reviews-module__reviewsContainer___BHIYC",i="reviews-module__pagination___mWMay",a={root:e,container:o,headerContainer:n,headerRow:r,reviewsContainer:t,pagination:i};exports.container=o;exports.default=a;exports.headerContainer=n;exports.headerRow=r;exports.pagination=i;exports.reviewsContainer=t;exports.root=e;
@@ -1,21 +1,17 @@
1
- const e = "reviews-module__root___1ZqJ6", o = "reviews-module__container___QE-Af", n = "reviews-module__headerContainer___GGw6i", _ = "reviews-module__headerRow___kpG8f", i = "reviews-module__reviewsContainer___BHIYC", r = "reviews-module__pagination___mWMay", t = "reviews-module__loadingContainer___uJZ6c", a = "reviews-module__skeleton___UaPlJ", s = {
1
+ const e = "reviews-module__root___1ZqJ6", o = "reviews-module__container___QE-Af", n = "reviews-module__headerContainer___GGw6i", _ = "reviews-module__headerRow___kpG8f", r = "reviews-module__reviewsContainer___BHIYC", i = "reviews-module__pagination___mWMay", t = {
2
2
  root: e,
3
3
  container: o,
4
4
  headerContainer: n,
5
5
  headerRow: _,
6
- reviewsContainer: i,
7
- pagination: r,
8
- loadingContainer: t,
9
- skeleton: a
6
+ reviewsContainer: r,
7
+ pagination: i
10
8
  };
11
9
  export {
12
10
  o as container,
13
- s as default,
11
+ t as default,
14
12
  n as headerContainer,
15
13
  _ as headerRow,
16
- t as loadingContainer,
17
- r as pagination,
18
- i as reviewsContainer,
19
- e as root,
20
- a as skeleton
14
+ i as pagination,
15
+ r as reviewsContainer,
16
+ e as root
21
17
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../../../components/Typography/Typography.cjs.js"),r=require("./treatmentHeroCard.module.css.cjs.js"),i=({image:t,title:a,link:o})=>e.jsxs("a",{href:o,className:r.default.root,children:[e.jsx("div",{className:r.default.imageWrapper,children:e.jsx("img",{src:t,alt:a,className:r.default.image})}),e.jsx(s.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"bodyMd",weight:"regular",children:a})]});exports.TreatmentHeroCard=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../../../components/Typography/Typography.cjs.js"),r=require("./treatmentHeroCard.module.css.cjs.js"),d=({image:t,title:a,link:s})=>e.jsxs("a",{href:s,className:r.default.root,children:[e.jsx("div",{className:r.default.imageWrapper,children:e.jsx("img",{src:t,alt:a,className:r.default.image})}),e.jsx(o.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"bodyMd",weight:"regular",className:r.default.text,children:a})]});exports.TreatmentHeroCard=d;
@@ -1,10 +1,20 @@
1
- import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
- import { Typography as s } from "../../../../components/Typography/Typography.es.js";
3
- import a from "./treatmentHeroCard.module.css.es.js";
4
- const n = ({ image: m, title: e, link: i }) => /* @__PURE__ */ o("a", { href: i, className: a.root, children: [
5
- /* @__PURE__ */ r("div", { className: a.imageWrapper, children: /* @__PURE__ */ r("img", { src: m, alt: e, className: a.image }) }),
6
- /* @__PURE__ */ r(s, { as: "p", defaultVariant: "headingSm", mobileVariant: "bodyMd", weight: "regular", children: e })
1
+ import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
+ import { Typography as i } from "../../../../components/Typography/Typography.es.js";
3
+ import r from "./treatmentHeroCard.module.css.es.js";
4
+ const d = ({ image: m, title: e, link: s }) => /* @__PURE__ */ t("a", { href: s, className: r.root, children: [
5
+ /* @__PURE__ */ a("div", { className: r.imageWrapper, children: /* @__PURE__ */ a("img", { src: m, alt: e, className: r.image }) }),
6
+ /* @__PURE__ */ a(
7
+ i,
8
+ {
9
+ as: "p",
10
+ defaultVariant: "headingSm",
11
+ mobileVariant: "bodyMd",
12
+ weight: "regular",
13
+ className: r.text,
14
+ children: e
15
+ }
16
+ )
7
17
  ] });
8
18
  export {
9
- n as TreatmentHeroCard
19
+ d as TreatmentHeroCard
10
20
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="treatmentHeroCard-module__root___r7b2A",r="treatmentHeroCard-module__imageWrapper___InpLt",t="treatmentHeroCard-module__image___qE6WU",o={root:e,imageWrapper:r,image:t};exports.default=o;exports.image=t;exports.imageWrapper=r;exports.root=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="treatmentHeroCard-module__root___r7b2A",t="treatmentHeroCard-module__imageWrapper___InpLt",r="treatmentHeroCard-module__image___qE6WU",o="treatmentHeroCard-module__text___BuHr3",a={root:e,imageWrapper:t,image:r,text:o};exports.default=a;exports.image=r;exports.imageWrapper=t;exports.root=e;exports.text=o;
@@ -1,11 +1,13 @@
1
- const e = "treatmentHeroCard-module__root___r7b2A", r = "treatmentHeroCard-module__imageWrapper___InpLt", t = "treatmentHeroCard-module__image___qE6WU", a = {
1
+ const e = "treatmentHeroCard-module__root___r7b2A", t = "treatmentHeroCard-module__imageWrapper___InpLt", r = "treatmentHeroCard-module__image___qE6WU", o = "treatmentHeroCard-module__text___BuHr3", _ = {
2
2
  root: e,
3
- imageWrapper: r,
4
- image: t
3
+ imageWrapper: t,
4
+ image: r,
5
+ text: o
5
6
  };
6
7
  export {
7
- a as default,
8
- t as image,
9
- r as imageWrapper,
10
- e as root
8
+ _ as default,
9
+ r as image,
10
+ t as imageWrapper,
11
+ e as root,
12
+ o as text
11
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.111",
3
+ "version": "0.1.113",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -306,6 +306,11 @@
306
306
  "import": "./dist/components/ColoredDivider/ColoredDivider.es.js",
307
307
  "require": "./dist/components/ColoredDivider/ColoredDivider.cjs.js"
308
308
  },
309
+ "./Skeleton": {
310
+ "types": "./dist/components/Skeleton/Skeleton.d.ts",
311
+ "import": "./dist/components/Skeleton/Skeleton.es.js",
312
+ "require": "./dist/components/Skeleton/Skeleton.cjs.js"
313
+ },
309
314
  "./CallbackModule": {
310
315
  "types": "./dist/modules/Callback/Callback.d.ts",
311
316
  "import": "./dist/modules/Callback/Callback.es.js",