@zenpatient-org/healthspan-marketing-ui 0.1.158 → 0.1.160

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"),d=require("../../components/Callback/Callback.cjs.js"),u=require("../../components/Icon/Icon.cjs.js"),n=require("../../components/Icon/constants.cjs.js"),p=require("../../components/Typography/Typography.cjs.js"),c=require("./callback.module.css.cjs.js"),m=[{icon:n.EIconName.HEART,description:"No hidden fees"},{icon:n.EIconName.PROTOCOLS,description:"Personalized Protocols"},{icon:n.EIconName.PACKAGE,description:"Free Shipping"},{icon:n.EIconName.MESSAGE,description:"Doctor & Clinical Team"}];function h({title:a,description:i,price:s,signupUrl:r,image:l,size:t}){return e.jsx("section",{className:c.default.root,children:e.jsx("div",{className:c.default.container,children:e.jsxs("div",{className:c.default.content,children:[e.jsx(d.Callback,{title:a,description:i,price:s??"",image:l,button:{href:r,as:"a"},size:t}),e.jsx("div",{className:c.default.icons,children:m.map(o=>e.jsxs("div",{className:c.default.icon,children:[e.jsx(u.Icon,{name:o.icon}),e.jsx(p.Typography,{defaultVariant:"labelXl",children:o.description})]},o.description))})]})})})}exports.CallbackModule=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("../../components/Callback/Callback.cjs.js"),p=require("../../components/Icon/Icon.cjs.js"),n=require("../../components/Icon/constants.cjs.js"),m=require("../../components/Typography/Typography.cjs.js"),c=require("./callback.module.css.cjs.js"),h=[{icon:n.EIconName.HEART,description:"No hidden fees"},{icon:n.EIconName.PROTOCOLS,description:"Personalized Protocols"},{icon:n.EIconName.PACKAGE,description:"Free Shipping"},{icon:n.EIconName.MESSAGE,description:"Doctor & Clinical Team"}];function b({title:a,description:i,price:s,signupUrl:r,image:l,size:t,shape:d}){return e.jsx("section",{className:c.default.root,children:e.jsx("div",{className:c.default.container,children:e.jsxs("div",{className:c.default.content,children:[e.jsx(u.Callback,{title:a,description:i,price:s??"",image:l,button:{href:r,as:"a"},size:t,shape:d}),e.jsx("div",{className:c.default.icons,children:h.map(o=>e.jsxs("div",{className:c.default.icon,children:[e.jsx(p.Icon,{name:o.icon}),e.jsx(m.Typography,{defaultVariant:"labelXl",children:o.description})]},o.description))})]})})})}exports.CallbackModule=b;
@@ -1,4 +1,4 @@
1
- import { CallbackSize } from '../../components/Callback';
1
+ import { CallbackSize, CallbackShape } from '../../components/Callback';
2
2
 
3
3
  export type CallbackModuleProps = {
4
4
  title: string;
@@ -7,5 +7,6 @@ export type CallbackModuleProps = {
7
7
  signupUrl: string;
8
8
  image: string;
9
9
  size: CallbackSize;
10
+ shape: CallbackShape;
10
11
  };
11
- export declare function CallbackModule({ title, description, price, signupUrl, image, size }: CallbackModuleProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function CallbackModule({ title, description, price, signupUrl, image, size, shape }: CallbackModuleProps): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { jsx as o, jsxs as r } from "react/jsx-runtime";
2
- import { Callback as m } from "../../components/Callback/Callback.es.js";
3
- import { Icon as p } from "../../components/Icon/Icon.es.js";
2
+ import { Callback as p } from "../../components/Callback/Callback.es.js";
3
+ import { Icon as f } from "../../components/Icon/Icon.es.js";
4
4
  import { EIconName as c } from "../../components/Icon/constants.es.js";
5
- import { Typography as f } from "../../components/Typography/Typography.es.js";
5
+ import { Typography as h } from "../../components/Typography/Typography.es.js";
6
6
  import i from "./callback.module.css.es.js";
7
- const h = [
7
+ const N = [
8
8
  {
9
9
  icon: c.HEART,
10
10
  description: "No hidden fees"
@@ -22,10 +22,10 @@ const h = [
22
22
  description: "Doctor & Clinical Team"
23
23
  }
24
24
  ];
25
- function b({ title: e, description: a, price: s, signupUrl: t, image: l, size: d }) {
25
+ function v({ title: e, description: a, price: s, signupUrl: t, image: l, size: d, shape: m }) {
26
26
  return /* @__PURE__ */ o("section", { className: i.root, children: /* @__PURE__ */ o("div", { className: i.container, children: /* @__PURE__ */ r("div", { className: i.content, children: [
27
27
  /* @__PURE__ */ o(
28
- m,
28
+ p,
29
29
  {
30
30
  title: e,
31
31
  description: a,
@@ -35,15 +35,16 @@ function b({ title: e, description: a, price: s, signupUrl: t, image: l, size: d
35
35
  href: t,
36
36
  as: "a"
37
37
  },
38
- size: d
38
+ size: d,
39
+ shape: m
39
40
  }
40
41
  ),
41
- /* @__PURE__ */ o("div", { className: i.icons, children: h.map((n) => /* @__PURE__ */ r("div", { className: i.icon, children: [
42
- /* @__PURE__ */ o(p, { name: n.icon }),
43
- /* @__PURE__ */ o(f, { defaultVariant: "labelXl", children: n.description })
42
+ /* @__PURE__ */ o("div", { className: i.icons, children: N.map((n) => /* @__PURE__ */ r("div", { className: i.icon, children: [
43
+ /* @__PURE__ */ o(f, { name: n.icon }),
44
+ /* @__PURE__ */ o(h, { defaultVariant: "labelXl", children: n.description })
44
45
  ] }, n.description)) })
45
46
  ] }) }) });
46
47
  }
47
48
  export {
48
- b as CallbackModule
49
+ v as CallbackModule
49
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.158",
3
+ "version": "0.1.160",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",