@zenpatient-org/healthspan-marketing-ui 0.1.166 → 0.1.168

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"),l=require("../Typography/Typography.cjs.js"),e=require("./claimBlock.module.css.cjs.js");function n({value:t,subtitle:d,description:i,valuePrefix:r,valueSuffix:s}){return a.jsxs("div",{className:e.default.claimBlock,children:[a.jsxs("div",{className:e.default.valueContainer,children:[r&&a.jsx(l.Typography,{className:e.default.valuePrefix,as:"h3",defaultVariant:"headingSm",mobileVariant:"headingSm",children:r}),a.jsx(l.Typography,{className:e.default.value,as:"h3",defaultVariant:"displayXs",mobileVariant:"displayXs",children:t}),s&&a.jsx(l.Typography,{className:e.default.valueSuffix,as:"h3",defaultVariant:"headingSm",mobileVariant:"headingSm",children:s})]}),a.jsx(l.Typography,{className:e.default.subtitle,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:d}),i&&a.jsx(l.Typography,{className:e.default.description,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:i})]})}exports.ClaimBlock=n;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+
3
+ export type ClaimBlockProps = {
4
+ value: React.ReactNode;
5
+ valuePrefix?: string;
6
+ valueSuffix?: string;
7
+ subtitle: string;
8
+ description?: string;
9
+ };
10
+ export declare function ClaimBlock({ value, subtitle, description, valuePrefix, valueSuffix }: ClaimBlockProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsxs as d, jsx as i } from "react/jsx-runtime";
2
+ import { Typography as e } from "../Typography/Typography.es.js";
3
+ import a from "./claimBlock.module.css.es.js";
4
+ function h({ value: m, subtitle: n, description: l, valuePrefix: s, valueSuffix: r }) {
5
+ return /* @__PURE__ */ d("div", { className: a.claimBlock, children: [
6
+ /* @__PURE__ */ d("div", { className: a.valueContainer, children: [
7
+ s && /* @__PURE__ */ i(
8
+ e,
9
+ {
10
+ className: a.valuePrefix,
11
+ as: "h3",
12
+ defaultVariant: "headingSm",
13
+ mobileVariant: "headingSm",
14
+ children: s
15
+ }
16
+ ),
17
+ /* @__PURE__ */ i(e, { className: a.value, as: "h3", defaultVariant: "displayXs", mobileVariant: "displayXs", children: m }),
18
+ r && /* @__PURE__ */ i(
19
+ e,
20
+ {
21
+ className: a.valueSuffix,
22
+ as: "h3",
23
+ defaultVariant: "headingSm",
24
+ mobileVariant: "headingSm",
25
+ children: r
26
+ }
27
+ )
28
+ ] }),
29
+ /* @__PURE__ */ i(e, { className: a.subtitle, as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", children: n }),
30
+ l && /* @__PURE__ */ i(e, { className: a.description, as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", children: l })
31
+ ] });
32
+ }
33
+ export {
34
+ h as ClaimBlock
35
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l="claimBlock-module__claimBlock___8sWzW",e="claimBlock-module__valueContainer___0UTKK",i="claimBlock-module__value___7AaZG",o="claimBlock-module__valuePrefix___9tNjP",u="claimBlock-module__valueSuffix___FnWfV",_="claimBlock-module__subtitle___1HQ0l",a="claimBlock-module__description___qxp84",c={claimBlock:l,valueContainer:e,value:i,valuePrefix:o,valueSuffix:u,subtitle:_,description:a};exports.claimBlock=l;exports.default=c;exports.description=a;exports.subtitle=_;exports.value=i;exports.valueContainer=e;exports.valuePrefix=o;exports.valueSuffix=u;
@@ -0,0 +1,19 @@
1
+ const l = "claimBlock-module__claimBlock___8sWzW", _ = "claimBlock-module__valueContainer___0UTKK", e = "claimBlock-module__value___7AaZG", o = "claimBlock-module__valuePrefix___9tNjP", c = "claimBlock-module__valueSuffix___FnWfV", a = "claimBlock-module__subtitle___1HQ0l", i = "claimBlock-module__description___qxp84", u = {
2
+ claimBlock: l,
3
+ valueContainer: _,
4
+ value: e,
5
+ valuePrefix: o,
6
+ valueSuffix: c,
7
+ subtitle: a,
8
+ description: i
9
+ };
10
+ export {
11
+ l as claimBlock,
12
+ u as default,
13
+ i as description,
14
+ a as subtitle,
15
+ e as value,
16
+ _ as valueContainer,
17
+ o as valuePrefix,
18
+ c as valueSuffix
19
+ };
@@ -0,0 +1,2 @@
1
+ export { ClaimBlock } from './ClaimBlock';
2
+ export type { ClaimBlockProps } from './ClaimBlock';