@zenpatient-org/healthspan-marketing-ui 0.1.58 → 0.1.59

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("../../components/Typography/Typography.cjs.js"),e=require("./whatIs.module.css.cjs.js"),n=({image:r,title:i,label:t,description:l})=>a.jsx("section",{className:e.default.root,children:a.jsxs("div",{className:e.default.container,children:[a.jsx("img",{src:r,alt:"Illustration"}),a.jsxs("div",{className:e.default.textContainer,children:[a.jsxs("div",{className:e.default.headline,children:[a.jsx(s.Typography,{as:"h2",defaultVariant:"displayXs",mobileVariant:"headingLg",children:i}),t&&a.jsx(s.Typography,{as:"p",defaultVariant:"labelXl",mobileVariant:"labelMd",emphasis:!0,children:t})]}),a.jsx(s.Typography,{className:e.default.description,as:"p",defaultVariant:"bodyLg",mobileVariant:"bodyMd",children:l})]})]})});exports.WhatIs=n;
@@ -0,0 +1,7 @@
1
+ export type WhatIsProps = {
2
+ image: string;
3
+ title: string;
4
+ label?: string;
5
+ description: string;
6
+ };
7
+ export declare const WhatIs: ({ image, title, label, description }: WhatIsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { jsx as a, jsxs as e } from "react/jsx-runtime";
2
+ import { Typography as r } from "../../components/Typography/Typography.es.js";
3
+ import i from "./whatIs.module.css.es.js";
4
+ const m = ({ image: t, title: l, label: s, description: n }) => /* @__PURE__ */ a("section", { className: i.root, children: /* @__PURE__ */ e("div", { className: i.container, children: [
5
+ /* @__PURE__ */ a("img", { src: t, alt: "Illustration" }),
6
+ /* @__PURE__ */ e("div", { className: i.textContainer, children: [
7
+ /* @__PURE__ */ e("div", { className: i.headline, children: [
8
+ /* @__PURE__ */ a(r, { as: "h2", defaultVariant: "displayXs", mobileVariant: "headingLg", children: l }),
9
+ s && /* @__PURE__ */ a(r, { as: "p", defaultVariant: "labelXl", mobileVariant: "labelMd", emphasis: !0, children: s })
10
+ ] }),
11
+ /* @__PURE__ */ a(r, { className: i.description, as: "p", defaultVariant: "bodyLg", mobileVariant: "bodyMd", children: n })
12
+ ] })
13
+ ] }) });
14
+ export {
15
+ m as WhatIs
16
+ };
@@ -0,0 +1 @@
1
+ export { WhatIs } from './WhatIs';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="whatIs-module__root___er1TF",t="whatIs-module__container___lYxid",o="whatIs-module__textContainer___e1NCX",n="whatIs-module__headline___Jzp-o",_="whatIs-module__description___gALTB",i={root:e,container:t,textContainer:o,headline:n,description:_};exports.container=t;exports.default=i;exports.description=_;exports.headline=n;exports.root=e;exports.textContainer=o;
@@ -0,0 +1,15 @@
1
+ const t = "whatIs-module__root___er1TF", e = "whatIs-module__container___lYxid", o = "whatIs-module__textContainer___e1NCX", _ = "whatIs-module__headline___Jzp-o", n = "whatIs-module__description___gALTB", s = {
2
+ root: t,
3
+ container: e,
4
+ textContainer: o,
5
+ headline: _,
6
+ description: n
7
+ };
8
+ export {
9
+ e as container,
10
+ s as default,
11
+ n as description,
12
+ _ as headline,
13
+ t as root,
14
+ o as textContainer
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -491,6 +491,11 @@
491
491
  "import": "./dist/modules/ResearchFilters/ResearchFilters.es.js",
492
492
  "require": "./dist/modules/ResearchFilters/ResearchFilters.cjs.js"
493
493
  },
494
+ "./WhatIs": {
495
+ "types": "./dist/modules/WhatIs/index.d.ts",
496
+ "import": "./dist/modules/WhatIs/WhatIs.es.js",
497
+ "require": "./dist/modules/WhatIs/WhatIs.cjs.js"
498
+ },
494
499
  "./Bubbles": {
495
500
  "types": "./dist/pageComponents/Bubbles/Bubbles.d.ts",
496
501
  "import": "./dist/pageComponents/Bubbles/Bubbles.es.js",