@zenpatient-org/healthspan-marketing-ui 0.1.93 → 0.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/InfiniteScroll/InfiniteScroll.cjs.js +1 -1
- package/dist/components/InfiniteScroll/InfiniteScroll.es.js +77 -64
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -1
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +10 -10
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.cjs.js +1 -1
- package/dist/pageComponents/Footer/components/FooterAbout/FooterAbout.es.js +7 -7
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),o=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),l=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),a=require("./featuredIn.module.css.cjs.js");function i({media:n}){return e.jsx("div",{className:a.default.mediaFeaturedInBlock,children:n.filter(r=>!!r.logo).map(({logo:r,url:t},d)=>{const u=t?"a":"div";return e.jsx(u,{href:t,target:"_blank",rel:"noopener noreferrer",className:a.default.mediaFeaturedInImageContainer,children:e.jsx("div",{className:a.default.mediaFeaturedInImage,style:{backgroundImage:`url(${r})`}})},`${t}_${d}`)})})}function m({quote:n}){return e.jsx("div",{className:a.default.quoteFeaturedInBlock,children:e.jsxs(l.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingXxs",className:a.default.quoteFeaturedInText,children:["“",n,"”"]})})}function f({button_label:n}){return e.jsx("a",{href:"https://app.gethealthspan.com",className:a.default.ctaFeaturedIn,children:e.jsx("p",{className:a.default.ctaFeaturedInText,children:n})})}function p({label:n,content:r}){return e.jsxs("section",{className:a.default.container,children:[e.jsx("p",{className:s.cn(a.default.title,a.default.customTitle),children:"(Featured In)"}),e.jsx(l.Typography,{as:"p",defaultVariant:"displayMd",className:s.cn(a.default.title,a.default.defaultTitle),children:"(Featured In)"}),e.jsx(l.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",className:a.default.label,children:n}),e.jsx(o.InfiniteScroll,{items:r,contentClassName:a.default.content,itemClassName:a.default.item,rootClassName:a.default.scrollRoot,renderItem:t=>e.jsxs(c.Fragment,{children:[t.type==="media"&&e.jsx(i,{media:t.media}),t.type==="quote"&&e.jsx(m,{quote:t.quote}),t.type==="cta"&&e.jsx(f,{button_label:t.button_label}),e.jsx("div",{className:a.default.spacer})]},t.type)})]})}exports.FeaturedIn=p;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as d } from "react";
|
|
3
|
-
import { InfiniteScroll as
|
|
4
|
-
import { Typography as
|
|
3
|
+
import { InfiniteScroll as c } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
|
|
4
|
+
import { Typography as o } from "../../components/Typography/Typography.es.js";
|
|
5
5
|
import { cn as i } from "../../utils/cn/cn.es.js";
|
|
6
6
|
import e from "./featuredIn.module.css.es.js";
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */ a("div", { className: e.mediaFeaturedInBlock, children: r.filter((n) => !!n.logo).map(({ logo: n, url: t },
|
|
7
|
+
function m({ media: r }) {
|
|
8
|
+
return /* @__PURE__ */ a("div", { className: e.mediaFeaturedInBlock, children: r.filter((n) => !!n.logo).map(({ logo: n, url: t }, s) => /* @__PURE__ */ a(
|
|
9
9
|
t ? "a" : "div",
|
|
10
10
|
{
|
|
11
11
|
href: t,
|
|
@@ -14,12 +14,12 @@ function c({ media: r }) {
|
|
|
14
14
|
className: e.mediaFeaturedInImageContainer,
|
|
15
15
|
children: /* @__PURE__ */ a("div", { className: e.mediaFeaturedInImage, style: { backgroundImage: `url(${n})` } })
|
|
16
16
|
},
|
|
17
|
-
`${t}_${
|
|
17
|
+
`${t}_${s}`
|
|
18
18
|
)) });
|
|
19
19
|
}
|
|
20
20
|
function u({ quote: r }) {
|
|
21
21
|
return /* @__PURE__ */ a("div", { className: e.quoteFeaturedInBlock, children: /* @__PURE__ */ l(
|
|
22
|
-
|
|
22
|
+
o,
|
|
23
23
|
{
|
|
24
24
|
as: "p",
|
|
25
25
|
defaultVariant: "headingSm",
|
|
@@ -39,17 +39,17 @@ function p({ button_label: r }) {
|
|
|
39
39
|
function y({ label: r, content: n }) {
|
|
40
40
|
return /* @__PURE__ */ l("section", { className: e.container, children: [
|
|
41
41
|
/* @__PURE__ */ a("p", { className: i(e.title, e.customTitle), children: "(Featured In)" }),
|
|
42
|
-
/* @__PURE__ */ a(
|
|
43
|
-
/* @__PURE__ */ a(
|
|
42
|
+
/* @__PURE__ */ a(o, { as: "p", defaultVariant: "displayMd", className: i(e.title, e.defaultTitle), children: "(Featured In)" }),
|
|
43
|
+
/* @__PURE__ */ a(o, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", className: e.label, children: r }),
|
|
44
44
|
/* @__PURE__ */ a(
|
|
45
|
-
|
|
45
|
+
c,
|
|
46
46
|
{
|
|
47
47
|
items: n,
|
|
48
48
|
contentClassName: e.content,
|
|
49
49
|
itemClassName: e.item,
|
|
50
50
|
rootClassName: e.scrollRoot,
|
|
51
51
|
renderItem: (t) => /* @__PURE__ */ l(d, { children: [
|
|
52
|
-
t.type === "media" && /* @__PURE__ */ a(
|
|
52
|
+
t.type === "media" && /* @__PURE__ */ a(m, { media: t.media }),
|
|
53
53
|
t.type === "quote" && /* @__PURE__ */ a(u, { quote: t.quote }),
|
|
54
54
|
t.type === "cta" && /* @__PURE__ */ a(p, { button_label: t.button_label }),
|
|
55
55
|
/* @__PURE__ */ a("div", { className: e.spacer })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),s=require("../../assets/logo.png.cjs.js"),a=require("../../../../components/Typography/Typography.cjs.js"),e=require("./footerAbout.module.css.cjs.js"),l=[{title:"(Terms of Use)",hasBrackets:!0,href:"/policy/terms-condition"},{title:"(privacy policy)",hasBrackets:!0,href:"/policy/privacy-policy"},{title:"(telehealth consent policy)",hasBrackets:!0,href:"/policy/telehealth-consent"},{title:"©2025 Healthspan.",hasBrackets:!1,href:"#"},{title:"All rights reserved.",hasBrackets:!1,href:"#"}],o=()=>t.jsxs("div",{className:e.default.root,children:[t.jsx("img",{src:s.default,alt:"contentImg",className:e.default.contentImg}),t.jsx("div",{className:e.default.container,children:l.map((r,c)=>t.jsx("a",{href:r.href,className:e.default.link,children:t.jsx(a.Typography,{as:"span",defaultVariant:"labelXs",emphasis:!0,className:r.hasBrackets?e.default.titleWithBrackets:e.default.title,children:r.title})},r.title))})]});exports.FooterAbout=o;
|
|
@@ -2,21 +2,21 @@ import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import a from "../../assets/logo.png.es.js";
|
|
3
3
|
import { Typography as l } from "../../../../components/Typography/Typography.es.js";
|
|
4
4
|
import e from "./footerAbout.module.css.es.js";
|
|
5
|
-
const
|
|
5
|
+
const i = [
|
|
6
6
|
{
|
|
7
7
|
title: "(Terms of Use)",
|
|
8
8
|
hasBrackets: !0,
|
|
9
|
-
href: "/terms-
|
|
9
|
+
href: "/policy/terms-condition"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
title: "(privacy policy)",
|
|
13
13
|
hasBrackets: !0,
|
|
14
|
-
href: "/privacy-policy"
|
|
14
|
+
href: "/policy/privacy-policy"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
title: "(telehealth consent policy)",
|
|
18
18
|
hasBrackets: !0,
|
|
19
|
-
href: "/telehealth-consent"
|
|
19
|
+
href: "/policy/telehealth-consent"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
title: "©2025 Healthspan.",
|
|
@@ -28,9 +28,9 @@ const c = [
|
|
|
28
28
|
hasBrackets: !1,
|
|
29
29
|
href: "#"
|
|
30
30
|
}
|
|
31
|
-
],
|
|
31
|
+
], p = () => /* @__PURE__ */ r("div", { className: e.root, children: [
|
|
32
32
|
/* @__PURE__ */ s("img", { src: a, alt: "contentImg", className: e.contentImg }),
|
|
33
|
-
/* @__PURE__ */ s("div", { className: e.container, children:
|
|
33
|
+
/* @__PURE__ */ s("div", { className: e.container, children: i.map((t, c) => /* @__PURE__ */ s("a", { href: t.href, className: e.link, children: /* @__PURE__ */ s(
|
|
34
34
|
l,
|
|
35
35
|
{
|
|
36
36
|
as: "span",
|
|
@@ -42,5 +42,5 @@ const c = [
|
|
|
42
42
|
) }, t.title)) })
|
|
43
43
|
] });
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
p as FooterAbout
|
|
46
46
|
};
|