@zenpatient-org/healthspan-marketing-ui 0.1.131 → 0.1.133
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.
- package/dist/components/ContentTabs/ContentTabs.cjs.js +1 -1
- package/dist/components/ContentTabs/ContentTabs.es.js +10 -10
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/InfiniteScrollModule/InfiniteScrollModule.cjs.js +1 -0
- package/dist/modules/InfiniteScrollModule/InfiniteScrollModule.d.ts +7 -0
- package/dist/modules/InfiniteScrollModule/InfiniteScrollModule.es.js +8 -0
- package/dist/modules/InfiniteScrollModule/index.d.ts +2 -0
- package/dist/modules/InfiniteScrollModule/infiniteScrolle.module.css.cjs.js +1 -0
- package/dist/modules/InfiniteScrollModule/infiniteScrolle.module.css.es.js +11 -0
- package/dist/modules/ScienceHero/ScienceHeroCursor.cjs.js +1 -1
- package/dist/modules/ScienceHero/ScienceHeroCursor.es.js +4 -3
- package/dist/pageComponents/BiologicalAge/BiologicalAge.cjs.js +1 -1
- package/dist/pageComponents/BiologicalAge/BiologicalAge.es.js +4 -3
- package/dist/pageComponents/BiologicalAge/biologicalAge.module.css.cjs.js +1 -1
- package/dist/pageComponents/BiologicalAge/biologicalAge.module.css.es.js +10 -8
- package/package.json +6 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../utils/cn/cn.cjs.js"),s=require("../Typography/Typography.cjs.js"),d=require("../IconBracket/IconBracket.cjs.js"),u=require("../Icon/Icon.cjs.js"),n=require("./contentTabs.module.css.cjs.js");function m({tabs:c,activeTab:t,colorScheme:r,activeWithArrow:o,onTabClick:i}){return e.jsx("div",{className:l.cn(n.default.root,n.default[r]),children:c.map(a=>e.jsxs("div",{className:n.default.tabWrap,children:[e.jsxs("button",{className:l.cn(n.default.tab,{[n.default.activeTab]:t.label===a.label}),onClick:()=>i(a),children:[t.label===a.label&&o&&e.jsx("div",{className:n.default.arrow,children:e.jsx(d.IconBracket,{variant:"arrow",size:"md",colorScheme:r})}),a.icon&&e.jsx(u.Icon,{name:a.icon,className:n.default.icon}),e.jsx(s.Typography,{defaultVariant:"headingXxs",children:a.label})]}),e.jsx("div",{className:l.cn(n.default.itemContent,{[n.default.itemContentOpen]:t.label===a.label}),children:e.jsx("div",{className:n.default.itemContentInner,children:e.jsx(s.Typography,{as:"p",defaultVariant:"bodySm",children:a.description})})})]},String(a.label)))})}exports.ContentTabs=m;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
3
3
|
import { cn as l } from "../../utils/cn/cn.es.js";
|
|
4
4
|
import { Typography as t } from "../Typography/Typography.es.js";
|
|
5
5
|
import { IconBracket as d } from "../IconBracket/IconBracket.es.js";
|
|
6
6
|
import { Icon as p } from "../Icon/Icon.es.js";
|
|
7
7
|
import e from "./contentTabs.module.css.es.js";
|
|
8
|
-
function b({ tabs: m, activeTab:
|
|
9
|
-
return /* @__PURE__ */
|
|
8
|
+
function b({ tabs: m, activeTab: i, colorScheme: a, activeWithArrow: s, onTabClick: c }) {
|
|
9
|
+
return /* @__PURE__ */ r("div", { className: l(e.root, e[a]), children: m.map((n) => /* @__PURE__ */ o("div", { className: e.tabWrap, children: [
|
|
10
10
|
/* @__PURE__ */ o(
|
|
11
11
|
"button",
|
|
12
12
|
{
|
|
13
13
|
className: l(e.tab, {
|
|
14
|
-
[e.activeTab]:
|
|
14
|
+
[e.activeTab]: i.label === n.label
|
|
15
15
|
}),
|
|
16
16
|
onClick: () => c(n),
|
|
17
17
|
children: [
|
|
18
|
-
|
|
19
|
-
n.icon && /* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
18
|
+
i.label === n.label && s && /* @__PURE__ */ r("div", { className: e.arrow, children: /* @__PURE__ */ r(d, { variant: "arrow", size: "md", colorScheme: a }) }),
|
|
19
|
+
n.icon && /* @__PURE__ */ r(p, { name: n.icon, className: e.icon }),
|
|
20
|
+
/* @__PURE__ */ r(t, { defaultVariant: "headingXxs", children: n.label })
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
23
|
),
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ r(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
|
-
className: l(e.itemContent, { [e.itemContentOpen]:
|
|
28
|
-
children: /* @__PURE__ */
|
|
27
|
+
className: l(e.itemContent, { [e.itemContentOpen]: i.label === n.label }),
|
|
28
|
+
children: /* @__PURE__ */ r("div", { className: e.itemContentInner, children: /* @__PURE__ */ r(t, { as: "p", defaultVariant: "bodySm", children: n.description }) })
|
|
29
29
|
}
|
|
30
30
|
)
|
|
31
31
|
] }, String(n.label))) });
|