@zenpatient-org/healthspan-marketing-ui 0.2.31 → 0.2.33

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 t=require("react/jsx-runtime"),a=require("../../src/modules/Citation/citation.module.css"),i=require("../../utils/cn/cn.cjs.js"),u=require("../../components/Typography/Typography.cjs.js");function l({orderPadding:r,items:n,className:c}){const e=isNaN(Number(r))?0:r;return!n||n.length===0?null:t.jsx("section",{className:i.cn(a.root,c),children:n==null?void 0:n.map((o,s)=>t.jsxs(u.Typography,{as:"p",className:a.text,defaultVariant:"bodySm",mobileVariant:"bodyXs",children:[t.jsx("sup",{children:e?e+s:s+1})," ",o.item]},o.id))})}exports.Citation=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("../../src/modules/Citation/citation.module.css"),u=require("../../utils/cn/cn.cjs.js"),i=require("../../components/Typography/Typography.cjs.js");function l({orderPadding:e,items:t,className:a}){const o=isNaN(Number(e))?0:e;return!t||t.length===0?null:r.jsx("section",{className:u.cn(s.root,a),children:t==null?void 0:t.map((c,n)=>r.jsxs(i.Typography,{as:"p",className:s.text,defaultVariant:"bodySm",mobileVariant:"bodyXs",children:[r.jsx("sup",{children:o?o+n:n+1})," ",c.item]},n))})}exports.Citation=l;
@@ -1,7 +1,6 @@
1
1
  export type CitationProps = {
2
2
  orderPadding?: number;
3
3
  items?: Array<{
4
- id: string | number;
5
4
  item: string;
6
5
  }>;
7
6
  className?: string;
@@ -1,14 +1,14 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import p from "../../modules/Citation/citation.module.css";
3
- import { cn as i } from "../../utils/cn/cn.es.js";
1
+ import { jsx as n, jsxs as c } from "react/jsx-runtime";
2
+ import l from "../../modules/Citation/citation.module.css";
3
+ import { cn as m } from "../../utils/cn/cn.es.js";
4
4
  import { Typography as e } from "../../components/Typography/Typography.es.js";
5
- function y({ orderPadding: o, items: r, className: s }) {
6
- const t = isNaN(Number(o)) ? 0 : o;
7
- return !r || r.length === 0 ? null : /* @__PURE__ */ l("section", { className: i(p.root, s), children: r == null ? void 0 : r.map((a, n) => /* @__PURE__ */ c(e, { as: "p", className: p.text, defaultVariant: "bodySm", mobileVariant: "bodyXs", children: [
8
- /* @__PURE__ */ l("sup", { children: t ? t + n : n + 1 }),
5
+ function y({ orderPadding: t, items: r, className: p }) {
6
+ const a = isNaN(Number(t)) ? 0 : t;
7
+ return !r || r.length === 0 ? null : /* @__PURE__ */ n("section", { className: m(l.root, p), children: r == null ? void 0 : r.map((s, o) => /* @__PURE__ */ c(e, { as: "p", className: l.text, defaultVariant: "bodySm", mobileVariant: "bodyXs", children: [
8
+ /* @__PURE__ */ n("sup", { children: a ? a + o : o + 1 }),
9
9
  " ",
10
- a.item
11
- ] }, a.id)) });
10
+ s.item
11
+ ] }, o)) });
12
12
  }
13
13
  export {
14
14
  y as Citation
@@ -34,8 +34,8 @@
34
34
  }
35
35
 
36
36
  .dot {
37
- height: 8px;
38
- width: 8px;
37
+ height: var(--spacing-16, 16px);
38
+ width: var(--spacing-16, 16px);
39
39
  color: var(--color-text-primary-disabled);
40
40
  border-radius: 50%;
41
41
  display: inline-block;
@@ -93,7 +93,6 @@
93
93
  }
94
94
 
95
95
  .alternativeContent, .featuredContent {
96
- cursor: pointer;
97
96
  width: 100%;
98
97
  display: grid;
99
98
  grid-template-columns: 1fr;
@@ -258,8 +257,8 @@
258
257
  }
259
258
 
260
259
  .closeIcon {
261
- width: 1.5rem;
262
- height: 1.5rem;
260
+ width: var(--spacing-28, 28px);
261
+ height: var(--spacing-28, 28px);
263
262
  padding-inline: 8px;
264
263
  color: inherit;
265
264
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.2.31",
3
+ "version": "0.2.33",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",