@zenpatient-org/healthspan-marketing-ui 0.1.160 → 0.1.162
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/modules/ScienceHero/ScienceHeroCursor.cjs.js +1 -1
- package/dist/modules/ScienceHero/ScienceHeroCursor.es.js +11 -6
- package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
- package/dist/modules/YourProtocol/YourProtocol.es.js +19 -18
- package/dist/modules/YourProtocol/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("react"),u=require("./components/ScienceClientCursor.cjs.js"),o=require("./components/ScienceServerCursor.cjs.js");function S({children:e,backgroundImage:c,cursorLink:s}){const[i,n]=t.useState(!1);return t.useEffect(()=>{n(!0)},[]),i?r.jsx(u.ScienceClientCursor,{backgroundImage:c,cursorLink:s,children:e}):r.jsx(o.ScienceServerCursor,{children:e})}exports.ScienceHeroCursor=S;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import t from "react";
|
|
4
|
+
import { ScienceClientCursor as u } from "./components/ScienceClientCursor.es.js";
|
|
5
|
+
import { ScienceServerCursor as c } from "./components/ScienceServerCursor.es.js";
|
|
6
|
+
function p({ children: e, backgroundImage: o, cursorLink: i }) {
|
|
7
|
+
const [s, n] = t.useState(!1);
|
|
8
|
+
return t.useEffect(() => {
|
|
9
|
+
n(!0);
|
|
10
|
+
}, []), s ? /* @__PURE__ */ r(u, { backgroundImage: o, cursorLink: i, children: e }) : /* @__PURE__ */ r(c, { children: e });
|
|
6
11
|
}
|
|
7
12
|
export {
|
|
8
|
-
|
|
13
|
+
p as ScienceHeroCursor
|
|
9
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/Callback/Callback.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/Callback/Callback.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../utils/cn/cn.cjs.js"),c=require("./components/ProtocolTags/ProtocolTags.cjs.js"),o=require("./yourProtocol.module.css.cjs.js"),d=({title:s,image:r,tags:i,callbackView:t})=>e.jsx("section",{className:o.default.root,children:e.jsxs("div",{className:o.default.container,children:[e.jsxs("div",{className:o.default.content,children:[e.jsx(a.HighlightedTitle,{title:s,className:o.default.title,defaultVariant:"displaySm",mobileVariant:"headingXl"}),e.jsx(c.ProtocolTags,{tags:i}),t&&e.jsx("div",{className:o.default.callback,children:e.jsx(l.Callback,{title:t.title,description:t.description??"",price:t.price??"",image:t.image,button:{href:t.signupUrl??"",as:"a"},size:"sm",shape:t.shape})})]}),e.jsx("img",{src:r,alt:"Your Protocol",className:n.cn(o.default.image,o.default.desktop),width:481})]})});exports.YourProtocol=d;
|
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { Callback as a } from "../../components/Callback/Callback.es.js";
|
|
3
|
-
import { HighlightedTitle as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { ProtocolTags as
|
|
6
|
-
import
|
|
7
|
-
const N = ({ title:
|
|
8
|
-
/* @__PURE__ */ i("div", { className:
|
|
3
|
+
import { HighlightedTitle as n } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
|
+
import { cn as l } from "../../utils/cn/cn.es.js";
|
|
5
|
+
import { ProtocolTags as p } from "./components/ProtocolTags/ProtocolTags.es.js";
|
|
6
|
+
import o from "./yourProtocol.module.css.es.js";
|
|
7
|
+
const N = ({ title: s, image: e, tags: m, callbackView: t }) => /* @__PURE__ */ r("section", { className: o.root, children: /* @__PURE__ */ i("div", { className: o.container, children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: o.content, children: [
|
|
9
9
|
/* @__PURE__ */ r(
|
|
10
|
-
|
|
10
|
+
n,
|
|
11
11
|
{
|
|
12
|
-
title:
|
|
13
|
-
className:
|
|
12
|
+
title: s,
|
|
13
|
+
className: o.title,
|
|
14
14
|
defaultVariant: "displaySm",
|
|
15
15
|
mobileVariant: "headingXl"
|
|
16
16
|
}
|
|
17
17
|
),
|
|
18
|
-
/* @__PURE__ */ r(
|
|
19
|
-
|
|
18
|
+
/* @__PURE__ */ r(p, { tags: m }),
|
|
19
|
+
t && /* @__PURE__ */ r("div", { className: o.callback, children: /* @__PURE__ */ r(
|
|
20
20
|
a,
|
|
21
21
|
{
|
|
22
|
-
title:
|
|
23
|
-
description:
|
|
24
|
-
price:
|
|
25
|
-
image:
|
|
22
|
+
title: t.title,
|
|
23
|
+
description: t.description ?? "",
|
|
24
|
+
price: t.price ?? "",
|
|
25
|
+
image: t.image,
|
|
26
26
|
button: {
|
|
27
|
-
href:
|
|
27
|
+
href: t.signupUrl ?? "",
|
|
28
28
|
as: "a"
|
|
29
29
|
},
|
|
30
|
-
size: "sm"
|
|
30
|
+
size: "sm",
|
|
31
|
+
shape: t.shape
|
|
31
32
|
}
|
|
32
33
|
) })
|
|
33
34
|
] }),
|
|
34
|
-
/* @__PURE__ */ r("img", { src:
|
|
35
|
+
/* @__PURE__ */ r("img", { src: e, alt: "Your Protocol", className: l(o.image, o.desktop), width: 481 })
|
|
35
36
|
] }) });
|
|
36
37
|
export {
|
|
37
38
|
N as YourProtocol
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CallbackShape } from '../../components/Callback';
|
|
2
|
+
|
|
1
3
|
export type TTagView = {
|
|
2
4
|
label: string;
|
|
3
5
|
description?: string;
|
|
@@ -10,4 +12,5 @@ export type TCallbackView = {
|
|
|
10
12
|
image: string;
|
|
11
13
|
buttonLabel: string;
|
|
12
14
|
size: string;
|
|
15
|
+
shape: CallbackShape;
|
|
13
16
|
};
|