@zenpatient-org/healthspan-marketing-ui 0.1.100 → 0.1.102

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.
@@ -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"),c=require("../../utils/cn/cn.cjs.js"),n=require("./components/ProtocolTags/ProtocolTags.cjs.js"),t=require("./yourProtocol.module.css.cjs.js"),d=({title:i,image:r,tags:s,callbackView:o})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.content,children:[e.jsx(a.HighlightedTitle,{title:i,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingXl"}),e.jsx(n.ProtocolTags,{tags:s}),o&&e.jsx("div",{className:t.default.callback,children:e.jsx(l.Callback,{title:o.title,description:o.description??"",price:o.price??"",image:o.image,button:{href:o.signupUrl??""},size:"sm"})})]}),e.jsx("img",{src:r,alt:"Your Protocol",className:c.cn(t.default.image,t.default.desktop),width:481,height:640})]})});exports.YourProtocol=d;
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"),c=require("../../utils/cn/cn.cjs.js"),n=require("./components/ProtocolTags/ProtocolTags.cjs.js"),t=require("./yourProtocol.module.css.cjs.js"),d=({title:i,image:r,tags:s,callbackView:o})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.content,children:[e.jsx(a.HighlightedTitle,{title:i,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingXl"}),e.jsx(n.ProtocolTags,{tags:s}),o&&e.jsx("div",{className:t.default.callback,children:e.jsx(l.Callback,{title:o.title,description:o.description??"",price:o.price??"",image:o.image,button:{href:o.signupUrl??""},size:"sm"})})]}),e.jsx("img",{src:r,alt:"Your Protocol",className:c.cn(t.default.image,t.default.desktop),width:481})]})});exports.YourProtocol=d;
@@ -1,12 +1,12 @@
1
- import { jsx as o, jsxs as r } from "react/jsx-runtime";
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
3
  import { HighlightedTitle as l } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
4
4
  import { cn as n } from "../../utils/cn/cn.es.js";
5
5
  import { ProtocolTags as c } from "./components/ProtocolTags/ProtocolTags.es.js";
6
6
  import t from "./yourProtocol.module.css.es.js";
7
- const N = ({ title: e, image: s, tags: m, callbackView: i }) => /* @__PURE__ */ o("section", { className: t.root, children: /* @__PURE__ */ r("div", { className: t.container, children: [
8
- /* @__PURE__ */ r("div", { className: t.content, children: [
9
- /* @__PURE__ */ o(
7
+ const N = ({ title: e, image: s, tags: m, callbackView: o }) => /* @__PURE__ */ r("section", { className: t.root, children: /* @__PURE__ */ i("div", { className: t.container, children: [
8
+ /* @__PURE__ */ i("div", { className: t.content, children: [
9
+ /* @__PURE__ */ r(
10
10
  l,
11
11
  {
12
12
  title: e,
@@ -15,31 +15,22 @@ const N = ({ title: e, image: s, tags: m, callbackView: i }) => /* @__PURE__ */
15
15
  mobileVariant: "headingXl"
16
16
  }
17
17
  ),
18
- /* @__PURE__ */ o(c, { tags: m }),
19
- i && /* @__PURE__ */ o("div", { className: t.callback, children: /* @__PURE__ */ o(
18
+ /* @__PURE__ */ r(c, { tags: m }),
19
+ o && /* @__PURE__ */ r("div", { className: t.callback, children: /* @__PURE__ */ r(
20
20
  a,
21
21
  {
22
- title: i.title,
23
- description: i.description ?? "",
24
- price: i.price ?? "",
25
- image: i.image,
22
+ title: o.title,
23
+ description: o.description ?? "",
24
+ price: o.price ?? "",
25
+ image: o.image,
26
26
  button: {
27
- href: i.signupUrl ?? ""
27
+ href: o.signupUrl ?? ""
28
28
  },
29
29
  size: "sm"
30
30
  }
31
31
  ) })
32
32
  ] }),
33
- /* @__PURE__ */ o(
34
- "img",
35
- {
36
- src: s,
37
- alt: "Your Protocol",
38
- className: n(t.image, t.desktop),
39
- width: 481,
40
- height: 640
41
- }
42
- )
33
+ /* @__PURE__ */ r("img", { src: s, alt: "Your Protocol", className: n(t.image, t.desktop), width: 481 })
43
34
  ] }) });
44
35
  export {
45
36
  N as YourProtocol
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.100",
3
+ "version": "0.1.102",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",