@zenpatient-org/healthspan-marketing-ui 0.4.21 → 0.4.23
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/labs/BioAgeCard/BioAgeCard.cjs.js +1 -1
- package/dist/components/labs/BioAgeCard/BioAgeCard.d.ts +2 -2
- package/dist/components/labs/BioAgeCard/BioAgeCard.es.js +45 -43
- package/dist/components/labs/BioAgeCard/bioAgeCard.module.css +20 -0
- package/dist/components/labs/BioAgeCard/types.d.ts +1 -0
- package/dist/components/labs/BiomarkerHero/BiomarkerHero.cjs.js +1 -1
- package/dist/components/labs/BiomarkerHero/BiomarkerHero.es.js +11 -11
- package/dist/components/labs/BiomarkerHero/biomarkerHero.module.css +11 -12
- package/dist/components/labs/BiomarkerHero/types.d.ts +3 -3
- package/dist/components/labs/CategoryStatus/CategoryStatus.cjs.js +1 -1
- package/dist/components/labs/CategoryStatus/CategoryStatus.d.ts +1 -1
- package/dist/components/labs/CategoryStatus/CategoryStatus.es.js +20 -15
- package/dist/components/labs/CategoryStatus/assets/status-room-for-improvement.svg +8 -0
- package/dist/components/labs/CategoryStatus/assets/status-room-for-improvement.svg.cjs.js +1 -0
- package/dist/components/labs/CategoryStatus/assets/status-room-for-improvement.svg.es.js +4 -0
- package/dist/components/labs/ProgressPager/ProgressPager.cjs.js +1 -1
- package/dist/components/labs/ProgressPager/ProgressPager.d.ts +2 -2
- package/dist/components/labs/ProgressPager/ProgressPager.es.js +18 -16
- package/dist/components/labs/ProgressPager/progressPager.module.css +26 -0
- package/dist/components/labs/ProgressPager/types.d.ts +2 -0
- package/dist/components/labs/StatusLabel/StatusLabel.cjs.js +1 -1
- package/dist/components/labs/StatusLabel/StatusLabel.d.ts +1 -1
- package/dist/components/labs/StatusLabel/StatusLabel.es.js +32 -21
- package/dist/components/labs/StatusLabel/statusLabel.module.css +14 -0
- package/dist/components/labs/StatusLabel/types.d.ts +1 -0
- package/dist/components/labs/SummaryCard/SummaryCard.cjs.js +1 -1
- package/dist/components/labs/SummaryCard/SummaryCard.d.ts +2 -2
- package/dist/components/labs/SummaryCard/SummaryCard.es.js +45 -40
- package/dist/components/labs/SummaryCard/summaryCard.module.css +21 -0
- package/dist/components/labs/SummaryCard/types.d.ts +2 -1
- package/dist/components/labs/hAI/HAiRecommendationsOverall/HAiRecommendationsOverall.cjs.js +1 -1
- package/dist/components/labs/hAI/HAiRecommendationsOverall/HAiRecommendationsOverall.d.ts +2 -2
- package/dist/components/labs/hAI/HAiRecommendationsOverall/HAiRecommendationsOverall.es.js +71 -68
- package/dist/components/labs/hAI/HAiRecommendationsOverall/hAiRecommendationsOverall.module.css +11 -0
- package/dist/components/labs/hAI/HAiRecommendationsOverall/types.d.ts +1 -0
- package/dist/components/labs/hAI/HaiChat/HaiChat.cjs.js +1 -1
- package/dist/components/labs/hAI/HaiChat/HaiChat.es.js +28 -28
- package/dist/components/labs/hAI/HaiLogo/HaiLogo.cjs.js +1 -1
- package/dist/components/labs/hAI/HaiLogo/HaiLogo.d.ts +1 -1
- package/dist/components/labs/hAI/HaiLogo/HaiLogo.es.js +16 -15
- package/dist/components/labs/hAI/HaiLogo/haiLogo.module.css +4 -0
- package/dist/components/labs/hAI/HaiLogo/types.d.ts +1 -0
- package/dist/components/labs/hAI/HaiSuggestion/HaiSuggestion.cjs.js +1 -1
- package/dist/components/labs/hAI/HaiSuggestion/HaiSuggestion.d.ts +2 -2
- package/dist/components/labs/hAI/HaiSuggestion/HaiSuggestion.es.js +31 -10
- package/dist/components/labs/hAI/HaiSuggestion/haiSuggestion.module.css +56 -0
- package/dist/components/labs/hAI/HaiSuggestion/types.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellCta/UpsellCta.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellCta/UpsellCta.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellCta/UpsellCta.es.js +37 -0
- package/dist/components/labs/upsell/UpsellCta/assets/pill.webp +0 -0
- package/dist/components/labs/upsell/UpsellCta/assets/pill.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellCta/assets/pill.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellCta/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellCta/types.d.ts +9 -0
- package/dist/components/labs/upsell/UpsellCta/upsellCta.module.css +85 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/UpsellFeatureCard.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/UpsellFeatureCard.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/UpsellFeatureCard.es.js +89 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-01.webp +0 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-01.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-01.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-02-base.webp +0 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-02-base.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-02-base.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-02-top.webp +0 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-02-top.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-02-top.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-03.webp +0 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-03.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-03.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-04.webp +0 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-04.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/assets/bg-04.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/BiomarkerRows.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/BiomarkerRows.d.ts +17 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/BiomarkerRows.es.js +47 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/FocusColumn.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/FocusColumn.d.ts +21 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/FocusColumn.es.js +49 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/StatusCard.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/StatusCard.d.ts +25 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/StatusCard.es.js +65 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatChangesPanel.cjs.js +3 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatChangesPanel.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatChangesPanel.es.js +120 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatMattersPanel.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatMattersPanel.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatMattersPanel.es.js +148 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatNextPanel.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatNextPanel.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WhatNextPanel.es.js +67 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WholePicturePanel.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WholePicturePanel.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/WholePicturePanel.es.js +65 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/parts/panel.module.css +932 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/types.d.ts +11 -0
- package/dist/components/labs/upsell/UpsellFeatureCard/upsellFeatureCard.module.css +132 -0
- package/dist/components/labs/upsell/UpsellHero/UpsellHero.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellHero/UpsellHero.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellHero/UpsellHero.es.js +57 -0
- package/dist/components/labs/upsell/UpsellHero/assets/cellular.webp +0 -0
- package/dist/components/labs/upsell/UpsellHero/assets/cellular.webp.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellHero/assets/cellular.webp.es.js +4 -0
- package/dist/components/labs/upsell/UpsellHero/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellHero/types.d.ts +14 -0
- package/dist/components/labs/upsell/UpsellHero/upsellHero.module.css +201 -0
- package/dist/components/labs/upsell/UpsellPricing/UpsellPricing.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellPricing/UpsellPricing.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellPricing/UpsellPricing.es.js +59 -0
- package/dist/components/labs/upsell/UpsellPricing/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellPricing/types.d.ts +18 -0
- package/dist/components/labs/upsell/UpsellPricing/upsellPricing.module.css +209 -0
- package/dist/components/labs/upsell/UpsellProgressCard/UpsellProgressCard.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/UpsellProgressCard.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellProgressCard/UpsellProgressCard.es.js +100 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-full.svg +3 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-full.svg.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-full.svg.es.js +4 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-high.svg +3 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-high.svg.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-high.svg.es.js +4 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-low.svg +3 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-low.svg.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/assets/radial-low.svg.es.js +4 -0
- package/dist/components/labs/upsell/UpsellProgressCard/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/BaselineIllustration.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/BaselineIllustration.d.ts +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/BaselineIllustration.es.js +14 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/BioAgeIllustration.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/BioAgeIllustration.d.ts +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/BioAgeIllustration.es.js +78 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/ChangesIllustration.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/ChangesIllustration.d.ts +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/ChangesIllustration.es.js +47 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/NextIllustration.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/NextIllustration.d.ts +1 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/NextIllustration.es.js +37 -0
- package/dist/components/labs/upsell/UpsellProgressCard/parts/illustrations.module.css +583 -0
- package/dist/components/labs/upsell/UpsellProgressCard/types.d.ts +15 -0
- package/dist/components/labs/upsell/UpsellProgressCard/upsellProgressCard.module.css +122 -0
- package/dist/components/labs/upsell/UpsellSectionHeading/UpsellSectionHeading.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellSectionHeading/UpsellSectionHeading.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellSectionHeading/UpsellSectionHeading.es.js +10 -0
- package/dist/components/labs/upsell/UpsellSectionHeading/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellSectionHeading/types.d.ts +5 -0
- package/dist/components/labs/upsell/UpsellSectionHeading/upsellSectionHeading.module.css +27 -0
- package/dist/components/labs/upsell/UpsellSteps/UpsellSteps.cjs.js +1 -0
- package/dist/components/labs/upsell/UpsellSteps/UpsellSteps.d.ts +3 -0
- package/dist/components/labs/upsell/UpsellSteps/UpsellSteps.es.js +30 -0
- package/dist/components/labs/upsell/UpsellSteps/index.d.ts +2 -0
- package/dist/components/labs/upsell/UpsellSteps/types.d.ts +11 -0
- package/dist/components/labs/upsell/UpsellSteps/upsellSteps.module.css +163 -0
- package/package.json +36 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),u=require("../../../utils/cn/cn.cjs.js"),p=require("./assets/logo-glass-outer.svg.cjs.js"),g=require("./assets/logo-wordmark.png.cjs.js"),a=require("../../../src/components/labs/BioAgeCard/bioAgeCard.module.css"),m=require("../../Icon/Icon.cjs.js"),j=require("../../Icon/constants.cjs.js"),d=({description:e})=>s.jsx("span",{className:a.copy,"data-description":e.type,children:e.type==="default"?s.jsxs(s.Fragment,{children:[s.jsx("span",{className:a.headline,children:e.headline}),s.jsx("span",{className:a.subline,children:e.subline})]}):s.jsxs(s.Fragment,{children:[s.jsxs("span",{className:a.headline,children:[s.jsxs("span",{className:a.historyLead,children:[e.lead," "]}),s.jsx("span",{className:a.historyDelta,children:e.delta})]}),s.jsx("span",{className:a.subline,children:e.subline})]})}),b=({rows:e})=>s.jsx("div",{className:a.timeline,children:e.map(l=>s.jsxs("div",{className:a.timelineRow,"data-kind":l.kind,children:[s.jsx("span",{className:a.timelineLine}),s.jsx("span",{className:a.timelineLabel,children:l.label})]},l.label))}),t=()=>s.jsxs("span",{className:a.logoButton,children:[s.jsx("span",{"aria-hidden":!0,className:a.logoGlow}),s.jsx("img",{alt:"",src:p.default,className:a.logoGlassOuter}),s.jsxs("span",{className:a.logoGlassInner,children:[s.jsx(m.Icon,{name:j.EIconName.PLUS,className:a.logoPlus}),s.jsx("span",{"aria-hidden":!0,className:a.logoGlassSheen})]})]}),v=({score:e,description:l,timeline:x,tier:n="plus",mobile:c=!1,pending:h=!1,href:o,onClick:i,className:N})=>{const r=o?"a":i?"button":"div";return s.jsx(r,{...r==="a"?{href:o}:r==="button"?{type:"button"}:{},onClick:i,className:u.cn(a.root,N),"data-tier":n,"data-mobile":c,"data-pending":h,children:s.jsxs("div",{className:a.card,children:[s.jsxs("div",{className:a.content,children:[c?s.jsxs("div",{className:a.mobileHeader,children:[s.jsxs("div",{className:a.scoreRow,children:[s.jsx("span",{className:a.scoreContent,children:s.jsx("span",{className:a.score,children:e})}),n==="plus"&&s.jsx(t,{})]}),s.jsx(d,{description:l})]}):s.jsxs("div",{className:a.header,children:[s.jsx("span",{className:a.score,children:e}),s.jsx(d,{description:l})]}),s.jsx(b,{rows:x}),!c&&s.jsxs("div",{className:a.footer,children:[s.jsxs("span",{className:a.logo,children:[s.jsx("span",{className:a.wordmark,children:s.jsx("span",{className:a.wordmarkPlate,children:s.jsx("img",{alt:"",src:g.default,className:a.wordmarkImage})})}),n==="plus"&&s.jsx(t,{})]}),s.jsx("span",{className:a.arrow,children:s.jsx(m.Icon,{name:j.EIconName.ARROW_FORWARD,className:a.arrowIcon})})]})]}),n==="plus"&&s.jsx("span",{"aria-hidden":!0,className:a.innerGlow})]})})};exports.BioAgeCard=v;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BioAgeCardProps } from './types';
|
|
2
|
-
/** Figma "BioAge+ Widget" (184:77406, hover 184:77597) / "BioAge Widget" (set 184:76861); mobile 1288:35310 in library set 1051:66621, xepxS2NjDp88HSMW1UdMZo. */
|
|
3
|
-
export declare const BioAgeCard: ({ score, description, timeline, tier, mobile, href, onClick, className, }: BioAgeCardProps) => import("react").JSX.Element;
|
|
2
|
+
/** Figma "BioAge+ Widget" (184:77406, hover 184:77597) / "BioAge Widget" (set 184:76861); mobile 1288:35310 in library set 1051:66621, xepxS2NjDp88HSMW1UdMZo; pending 1248:143463 in vPQ8BAu1f9o7sX83utQ5yA. */
|
|
3
|
+
export declare const BioAgeCard: ({ score, description, timeline, tier, mobile, pending, href, onClick, className, }: BioAgeCardProps) => import("react").JSX.Element;
|
|
@@ -1,77 +1,79 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { cn as f } from "../../../utils/cn/cn.es.js";
|
|
3
|
+
import v from "./assets/logo-glass-outer.svg.es.js";
|
|
4
|
+
import w from "./assets/logo-wordmark.png.es.js";
|
|
5
5
|
import a from "../../../components/labs/BioAgeCard/bioAgeCard.module.css";
|
|
6
6
|
import { Icon as N } from "../../Icon/Icon.es.js";
|
|
7
7
|
import { EIconName as p } from "../../Icon/constants.es.js";
|
|
8
|
-
const t = ({ description: l }) => /* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
] }) : /* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
8
|
+
const t = ({ description: l }) => /* @__PURE__ */ e("span", { className: a.copy, "data-description": l.type, children: l.type === "default" ? /* @__PURE__ */ s(d, { children: [
|
|
9
|
+
/* @__PURE__ */ e("span", { className: a.headline, children: l.headline }),
|
|
10
|
+
/* @__PURE__ */ e("span", { className: a.subline, children: l.subline })
|
|
11
|
+
] }) : /* @__PURE__ */ s(d, { children: [
|
|
12
|
+
/* @__PURE__ */ s("span", { className: a.headline, children: [
|
|
13
|
+
/* @__PURE__ */ s("span", { className: a.historyLead, children: [
|
|
14
14
|
l.lead,
|
|
15
15
|
" "
|
|
16
16
|
] }),
|
|
17
|
-
/* @__PURE__ */
|
|
17
|
+
/* @__PURE__ */ e("span", { className: a.historyDelta, children: l.delta })
|
|
18
18
|
] }),
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
] }) }),
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
] }, n.label)) }), h = () => /* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ e("span", { className: a.subline, children: l.subline })
|
|
20
|
+
] }) }), y = ({ rows: l }) => /* @__PURE__ */ e("div", { className: a.timeline, children: l.map((n) => /* @__PURE__ */ s("div", { className: a.timelineRow, "data-kind": n.kind, children: [
|
|
21
|
+
/* @__PURE__ */ e("span", { className: a.timelineLine }),
|
|
22
|
+
/* @__PURE__ */ e("span", { className: a.timelineLabel, children: n.label })
|
|
23
|
+
] }, n.label)) }), h = () => /* @__PURE__ */ s("span", { className: a.logoButton, children: [
|
|
24
|
+
/* @__PURE__ */ e("span", { "aria-hidden": !0, className: a.logoGlow }),
|
|
25
|
+
/* @__PURE__ */ e("img", { alt: "", src: v, className: a.logoGlassOuter }),
|
|
26
|
+
/* @__PURE__ */ s("span", { className: a.logoGlassInner, children: [
|
|
27
|
+
/* @__PURE__ */ e(N, { name: p.PLUS, className: a.logoPlus }),
|
|
28
|
+
/* @__PURE__ */ e("span", { "aria-hidden": !0, className: a.logoGlassSheen })
|
|
29
29
|
] })
|
|
30
|
-
] }),
|
|
30
|
+
] }), A = ({
|
|
31
31
|
score: l,
|
|
32
32
|
description: n,
|
|
33
33
|
timeline: u,
|
|
34
34
|
tier: c = "plus",
|
|
35
35
|
mobile: r = !1,
|
|
36
|
+
pending: g = !1,
|
|
36
37
|
href: m,
|
|
37
38
|
onClick: i,
|
|
38
|
-
className:
|
|
39
|
+
className: b
|
|
39
40
|
}) => {
|
|
40
41
|
const o = m ? "a" : i ? "button" : "div";
|
|
41
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ e(
|
|
42
43
|
o,
|
|
43
44
|
{
|
|
44
45
|
...o === "a" ? { href: m } : o === "button" ? { type: "button" } : {},
|
|
45
46
|
onClick: i,
|
|
46
|
-
className:
|
|
47
|
+
className: f(a.root, b),
|
|
47
48
|
"data-tier": c,
|
|
48
49
|
"data-mobile": r,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
"data-pending": g,
|
|
51
|
+
children: /* @__PURE__ */ s("div", { className: a.card, children: [
|
|
52
|
+
/* @__PURE__ */ s("div", { className: a.content, children: [
|
|
53
|
+
r ? /* @__PURE__ */ s("div", { className: a.mobileHeader, children: [
|
|
54
|
+
/* @__PURE__ */ s("div", { className: a.scoreRow, children: [
|
|
55
|
+
/* @__PURE__ */ e("span", { className: a.scoreContent, children: /* @__PURE__ */ e("span", { className: a.score, children: l }) }),
|
|
56
|
+
c === "plus" && /* @__PURE__ */ e(h, {})
|
|
55
57
|
] }),
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
-
] }) : /* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ e(t, { description: n })
|
|
59
|
+
] }) : /* @__PURE__ */ s("div", { className: a.header, children: [
|
|
60
|
+
/* @__PURE__ */ e("span", { className: a.score, children: l }),
|
|
61
|
+
/* @__PURE__ */ e(t, { description: n })
|
|
60
62
|
] }),
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
!r && /* @__PURE__ */
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
c === "plus" && /* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ e(y, { rows: u }),
|
|
64
|
+
!r && /* @__PURE__ */ s("div", { className: a.footer, children: [
|
|
65
|
+
/* @__PURE__ */ s("span", { className: a.logo, children: [
|
|
66
|
+
/* @__PURE__ */ e("span", { className: a.wordmark, children: /* @__PURE__ */ e("span", { className: a.wordmarkPlate, children: /* @__PURE__ */ e("img", { alt: "", src: w, className: a.wordmarkImage }) }) }),
|
|
67
|
+
c === "plus" && /* @__PURE__ */ e(h, {})
|
|
66
68
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
69
|
+
/* @__PURE__ */ e("span", { className: a.arrow, children: /* @__PURE__ */ e(N, { name: p.ARROW_FORWARD, className: a.arrowIcon }) })
|
|
68
70
|
] })
|
|
69
71
|
] }),
|
|
70
|
-
c === "plus" && /* @__PURE__ */
|
|
72
|
+
c === "plus" && /* @__PURE__ */ e("span", { "aria-hidden": !0, className: a.innerGlow })
|
|
71
73
|
] })
|
|
72
74
|
}
|
|
73
75
|
);
|
|
74
76
|
};
|
|
75
77
|
export {
|
|
76
|
-
|
|
78
|
+
A as BioAgeCard
|
|
77
79
|
};
|
|
@@ -430,3 +430,23 @@ button.root {
|
|
|
430
430
|
.root[data-mobile='true'] .logoGlassSheen {
|
|
431
431
|
box-shadow: inset 0 -1.577px 3.68px 0 rgba(57, 105, 136, 0.4);
|
|
432
432
|
}
|
|
433
|
+
|
|
434
|
+
/* Pending (no results yet, node 1248:143463): ghosted score, wider copy, long timeline labels, no arrow. */
|
|
435
|
+
.root[data-pending='true'] .score {
|
|
436
|
+
opacity: 0.2;
|
|
437
|
+
background-image: linear-gradient(140.79deg, rgb(255, 255, 255) 0%, rgb(229, 229, 229) 100%);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.root[data-pending='true'] .copy {
|
|
441
|
+
width: 174px;
|
|
442
|
+
font-size: 14px;
|
|
443
|
+
letter-spacing: -0.28px;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.root[data-pending='true'] .timelineLabel {
|
|
447
|
+
width: 100px;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.root[data-pending='true'] .arrow {
|
|
451
|
+
display: none;
|
|
452
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("../../../utils/cn/cn.cjs.js"),f=require("./assets/hero-desktop-borderline.webp.cjs.js"),v=require("./assets/hero-desktop-healthy.webp.cjs.js"),S=require("./assets/hero-desktop-optimal.webp.cjs.js"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("../../../utils/cn/cn.cjs.js"),f=require("./assets/hero-desktop-borderline.webp.cjs.js"),v=require("./assets/hero-desktop-healthy.webp.cjs.js"),S=require("./assets/hero-desktop-optimal.webp.cjs.js"),B=require("./assets/hero-desktop-priority.webp.cjs.js"),q=require("./assets/hero-mobile-borderline.webp.cjs.js"),V=require("./assets/hero-mobile-healthy.webp.cjs.js"),O=require("./assets/hero-mobile-optimal.webp.cjs.js"),_=require("./assets/hero-mobile-priority.webp.cjs.js"),e=require("../../../src/components/labs/BiomarkerHero/biomarkerHero.module.css"),k=require("../../IconButton/IconButton.cjs.js"),I=require("../../Icon/constants.cjs.js"),r=require("../../Typography/Typography.cjs.js"),x={optimal:"Optimal",healthy:"Opportunity",borderline:"Borderline",priority:"Priority"},D={optimal:S.default,healthy:v.default,borderline:f.default,priority:B.default},H={optimal:O.default,healthy:V.default,borderline:q.default,priority:_.default},M=({name:t,category:c,value:o,unit:d,status:i,statusLabel:n,date:h,onBack:g,backLabel:j="Back",notes:l,children:m,mobile:N=!1,className:p})=>{const u=a.jsx(k.IconButton,{iconName:I.EIconName.ARROW_BACK,variant:"muted-invert",size:"sm","aria-label":j,onClick:g}),y=l&&l.sentences.length>0&&a.jsxs("div",{className:e.notes,children:[a.jsx("span",{className:e.noteLabel,children:l.label}),a.jsx("span",{"aria-hidden":!0,className:e.noteDivider}),a.jsx("div",{className:e.noteBody,children:l.sentences.map((T,b)=>a.jsx(r.Typography,{defaultVariant:"bodySm",className:e.noteText,children:T},b))})]});return N?a.jsxs("div",{className:s.cn(e.root,e.mobileRoot,p),"data-status":i,children:[a.jsx("span",{"aria-hidden":!0,className:e.bg,children:a.jsx("span",{className:e.bgBlob,style:{backgroundImage:`url(${H[i]})`}})}),a.jsxs("div",{className:e.mobileHeader,children:[u,a.jsxs("div",{className:e.mobileCopy,children:[a.jsx(r.Typography,{as:"h1",defaultVariant:"headingSm",align:"center",className:s.cn(e.gradientText,e.title),children:t}),a.jsx(r.Typography,{defaultVariant:"labelSm",align:"center",className:e.category,children:c})]})]}),y,a.jsxs("div",{className:e.mobileCard,children:[a.jsxs("div",{className:e.mobileValues,children:[a.jsxs("span",{className:e.mobileValueGroup,children:[a.jsx("span",{className:s.cn(e.gradientText,e.mobileValue),children:o}),a.jsx(r.Typography,{defaultVariant:"bodySm",className:s.cn(e.gradientText,e.unit),children:d})]}),a.jsxs("span",{className:e.mobileStatusDate,children:[a.jsx("span",{className:s.cn(e.gradientText,e.mobileStatus),children:n!=null?n:x[i]}),a.jsx(r.Typography,{defaultVariant:"labelXs",emphasis:!0,className:e.date,children:h})]})]}),a.jsx("div",{className:e.chart,children:m})]})]}):a.jsx("div",{className:s.cn(e.root,p),"data-status":i,children:a.jsxs("div",{className:e.card,style:{backgroundImage:`url(${D[i]})`},children:[a.jsxs("div",{className:e.details,children:[a.jsxs("div",{className:e.left,children:[u,a.jsxs("div",{className:e.copy,children:[a.jsx(r.Typography,{as:"h1",defaultVariant:"headingSm",className:s.cn(e.gradientText,e.title),children:t}),a.jsx(r.Typography,{defaultVariant:"labelMd",className:e.category,children:c})]})]}),a.jsxs("div",{className:e.right,children:[a.jsxs("span",{className:e.statusGroup,children:[a.jsxs("span",{className:e.valueGroup,children:[a.jsx(r.Typography,{defaultVariant:"headingSm",className:e.gradientText,children:o}),a.jsx(r.Typography,{defaultVariant:"headingSm",className:s.cn(e.gradientText,e.unit),children:d})]}),a.jsx(r.Typography,{defaultVariant:"headingSm",className:e.gradientText,children:n!=null?n:x[i]})]}),a.jsx(r.Typography,{defaultVariant:"labelXs",emphasis:!0,className:e.date,children:h})]})]}),a.jsxs("div",{className:e.chart,children:[y,m]})]})})};exports.BiomarkerHero=M;
|
|
@@ -13,7 +13,7 @@ import e from "../../../components/labs/BiomarkerHero/biomarkerHero.module.css";
|
|
|
13
13
|
import { IconButton as P } from "../../IconButton/IconButton.es.js";
|
|
14
14
|
import { EIconName as I } from "../../Icon/constants.es.js";
|
|
15
15
|
import { Typography as i } from "../../Typography/Typography.es.js";
|
|
16
|
-
const
|
|
16
|
+
const u = {
|
|
17
17
|
optimal: "Optimal",
|
|
18
18
|
healthy: "Opportunity",
|
|
19
19
|
borderline: "Borderline",
|
|
@@ -37,10 +37,10 @@ const b = {
|
|
|
37
37
|
statusLabel: t,
|
|
38
38
|
date: h,
|
|
39
39
|
onBack: y,
|
|
40
|
-
backLabel:
|
|
40
|
+
backLabel: b = "Back",
|
|
41
41
|
notes: o,
|
|
42
42
|
children: p,
|
|
43
|
-
mobile:
|
|
43
|
+
mobile: v = !1,
|
|
44
44
|
className: N
|
|
45
45
|
}) => {
|
|
46
46
|
const f = /* @__PURE__ */ a(
|
|
@@ -49,15 +49,15 @@ const b = {
|
|
|
49
49
|
iconName: I.ARROW_BACK,
|
|
50
50
|
variant: "muted-invert",
|
|
51
51
|
size: "sm",
|
|
52
|
-
"aria-label":
|
|
52
|
+
"aria-label": b,
|
|
53
53
|
onClick: y
|
|
54
54
|
}
|
|
55
|
-
), g = o && o.length > 0 && /* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */ a("span", { className: e.noteLabel, children:
|
|
55
|
+
), g = o && o.sentences.length > 0 && /* @__PURE__ */ r("div", { className: e.notes, children: [
|
|
56
|
+
/* @__PURE__ */ a("span", { className: e.noteLabel, children: o.label }),
|
|
57
57
|
/* @__PURE__ */ a("span", { "aria-hidden": !0, className: e.noteDivider }),
|
|
58
|
-
/* @__PURE__ */ a(i, { defaultVariant: "bodySm", className: e.noteText, children:
|
|
59
|
-
] }
|
|
60
|
-
return
|
|
58
|
+
/* @__PURE__ */ a("div", { className: e.noteBody, children: o.sentences.map((S, T) => /* @__PURE__ */ a(i, { defaultVariant: "bodySm", className: e.noteText, children: S }, T)) })
|
|
59
|
+
] });
|
|
60
|
+
return v ? /* @__PURE__ */ r("div", { className: l(e.root, e.mobileRoot, N), "data-status": n, children: [
|
|
61
61
|
/* @__PURE__ */ a("span", { "aria-hidden": !0, className: e.bg, children: /* @__PURE__ */ a("span", { className: e.bgBlob, style: { backgroundImage: `url(${C[n]})` } }) }),
|
|
62
62
|
/* @__PURE__ */ r("div", { className: e.mobileHeader, children: [
|
|
63
63
|
f,
|
|
@@ -83,7 +83,7 @@ const b = {
|
|
|
83
83
|
/* @__PURE__ */ a(i, { defaultVariant: "bodySm", className: l(e.gradientText, e.unit), children: c })
|
|
84
84
|
] }),
|
|
85
85
|
/* @__PURE__ */ r("span", { className: e.mobileStatusDate, children: [
|
|
86
|
-
/* @__PURE__ */ a("span", { className: l(e.gradientText, e.mobileStatus), children: t != null ? t :
|
|
86
|
+
/* @__PURE__ */ a("span", { className: l(e.gradientText, e.mobileStatus), children: t != null ? t : u[n] }),
|
|
87
87
|
/* @__PURE__ */ a(i, { defaultVariant: "labelXs", emphasis: !0, className: e.date, children: h })
|
|
88
88
|
] })
|
|
89
89
|
] }),
|
|
@@ -112,7 +112,7 @@ const b = {
|
|
|
112
112
|
/* @__PURE__ */ a(i, { defaultVariant: "headingSm", className: e.gradientText, children: s }),
|
|
113
113
|
/* @__PURE__ */ a(i, { defaultVariant: "headingSm", className: l(e.gradientText, e.unit), children: c })
|
|
114
114
|
] }),
|
|
115
|
-
/* @__PURE__ */ a(i, { defaultVariant: "headingSm", className: e.gradientText, children: t != null ? t :
|
|
115
|
+
/* @__PURE__ */ a(i, { defaultVariant: "headingSm", className: e.gradientText, children: t != null ? t : u[n] })
|
|
116
116
|
] }),
|
|
117
117
|
/* @__PURE__ */ a(i, { defaultVariant: "labelXs", emphasis: !0, className: e.date, children: h })
|
|
118
118
|
] })
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
.notes {
|
|
106
106
|
box-sizing: border-box;
|
|
107
107
|
display: flex;
|
|
108
|
-
flex-direction: column;
|
|
109
108
|
gap: var(--spacing-20);
|
|
109
|
+
align-items: center;
|
|
110
110
|
width: 100%;
|
|
111
111
|
padding: var(--spacing-20) var(--spacing-28);
|
|
112
112
|
border: 1px solid var(--border-color-alpha-white-10);
|
|
@@ -118,13 +118,6 @@
|
|
|
118
118
|
0 8px 10px 0 rgba(0, 0, 0, 0.1);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.note {
|
|
122
|
-
display: flex;
|
|
123
|
-
gap: var(--spacing-20);
|
|
124
|
-
align-items: center;
|
|
125
|
-
width: 100%;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
121
|
.noteLabel {
|
|
129
122
|
font-family: var(--font-decorative), monospace;
|
|
130
123
|
font-weight: var(--font-weight-regular);
|
|
@@ -143,9 +136,15 @@
|
|
|
143
136
|
background: var(--border-color-alpha-white-10);
|
|
144
137
|
}
|
|
145
138
|
|
|
146
|
-
.
|
|
139
|
+
.noteBody {
|
|
140
|
+
display: flex;
|
|
147
141
|
flex: 1;
|
|
142
|
+
flex-direction: column;
|
|
143
|
+
gap: var(--spacing-20);
|
|
148
144
|
min-width: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.noteText {
|
|
149
148
|
margin: 0;
|
|
150
149
|
color: var(--color-text-primary-inverted);
|
|
151
150
|
}
|
|
@@ -258,14 +257,14 @@
|
|
|
258
257
|
.mobileRoot .notes {
|
|
259
258
|
position: relative;
|
|
260
259
|
z-index: 1;
|
|
260
|
+
flex-direction: column;
|
|
261
261
|
gap: var(--spacing-8);
|
|
262
|
+
align-items: flex-start;
|
|
262
263
|
padding: var(--spacing-16) var(--spacing-20);
|
|
263
264
|
}
|
|
264
265
|
|
|
265
|
-
.mobileRoot .
|
|
266
|
-
flex-direction: column;
|
|
266
|
+
.mobileRoot .noteBody {
|
|
267
267
|
gap: var(--spacing-8);
|
|
268
|
-
align-items: flex-start;
|
|
269
268
|
}
|
|
270
269
|
|
|
271
270
|
.mobileRoot .noteLabel {
|
|
@@ -10,12 +10,12 @@ export type BiomarkerHeroProps = {
|
|
|
10
10
|
date: string;
|
|
11
11
|
onBack?: () => void;
|
|
12
12
|
backLabel?: string;
|
|
13
|
-
notes?:
|
|
13
|
+
notes?: BiomarkerHeroNotes;
|
|
14
14
|
children: ReactNode;
|
|
15
15
|
mobile?: boolean;
|
|
16
16
|
className?: string;
|
|
17
17
|
};
|
|
18
|
-
export type
|
|
18
|
+
export type BiomarkerHeroNotes = {
|
|
19
19
|
label: string;
|
|
20
|
-
|
|
20
|
+
sentences: string[];
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("../../../utils/cn/cn.cjs.js"),c=require("./assets/status-needs-attention-dark.svg.cjs.js"),u=require("./assets/status-room-for-improvement-dark.svg.cjs.js"),i=require("./assets/status-room-for-improvement.svg.cjs.js"),d=require("./assets/status-well-balanced-dark.svg.cjs.js"),a=require("./assets/status-well-balanced.svg.cjs.js"),r=require("../../../src/components/labs/CategoryStatus/categoryStatus.module.css"),m={"well-balanced":a.default,"room-for-improvement":i.default,"needs-attention":a.default},S={"well-balanced":d.default,"room-for-improvement":u.default,"needs-attention":c.default},f=({status:e="well-balanced",theme:s="light",size:o=24,className:n})=>t.jsx("span",{className:l.cn(r.root,n),"data-size":o,children:t.jsx("img",{alt:"",src:s==="dark"?S[e]:m[e],className:r.image})});exports.CategoryStatus=f;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CategoryStatusProps } from './types';
|
|
2
|
-
/** Figma "Status / Category Radial" (light 927:367866, dark 927:367877; legacy "./CategoryStatus" 685:202414). */
|
|
2
|
+
/** Figma "Status / Category Radial" (light 927:367866 + High 1119:66004, dark 927:367877; legacy "./CategoryStatus" 685:202414). */
|
|
3
3
|
export declare const CategoryStatus: ({ status, theme, size, className, }: CategoryStatusProps) => import("react").JSX.Element;
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
2
|
+
import { cn as n } from "../../../utils/cn/cn.es.js";
|
|
3
3
|
import l from "./assets/status-needs-attention-dark.svg.es.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import c from "./assets/status-well-balanced.svg.es.js";
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
4
|
+
import i from "./assets/status-room-for-improvement-dark.svg.es.js";
|
|
5
|
+
import p from "./assets/status-room-for-improvement.svg.es.js";
|
|
6
|
+
import c from "./assets/status-well-balanced-dark.svg.es.js";
|
|
7
|
+
import e from "./assets/status-well-balanced.svg.es.js";
|
|
8
|
+
import r from "../../../components/labs/CategoryStatus/categoryStatus.module.css";
|
|
9
|
+
const d = {
|
|
10
|
+
"well-balanced": e,
|
|
11
|
+
"room-for-improvement": p,
|
|
12
|
+
"needs-attention": e
|
|
13
|
+
}, f = {
|
|
14
|
+
"well-balanced": c,
|
|
15
|
+
"room-for-improvement": i,
|
|
11
16
|
"needs-attention": l
|
|
12
|
-
},
|
|
13
|
-
status:
|
|
14
|
-
theme:
|
|
15
|
-
size:
|
|
16
|
-
className:
|
|
17
|
-
}) => /* @__PURE__ */ t("span", { className:
|
|
17
|
+
}, w = ({
|
|
18
|
+
status: o = "well-balanced",
|
|
19
|
+
theme: m = "light",
|
|
20
|
+
size: a = 24,
|
|
21
|
+
className: s
|
|
22
|
+
}) => /* @__PURE__ */ t("span", { className: n(r.root, s), "data-size": a, children: /* @__PURE__ */ t("img", { alt: "", src: m === "dark" ? f[o] : d[o], className: r.image }) });
|
|
18
23
|
export {
|
|
19
|
-
|
|
24
|
+
w as CategoryStatus
|
|
20
25
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Status / Category Radial ">
|
|
3
|
+
<g id="Vector">
|
|
4
|
+
<path d="M12.6712 23.9813C12.4489 23.9935 12.225 24 12 24C11.775 24 11.5511 23.9935 11.3287 23.9813L11.5941 19.1888C11.7282 19.1962 11.8635 19.2 12 19.2C12.1365 19.2 12.2718 19.1962 12.4059 19.1888L12.6712 23.9813ZM8.87625 18.4894C9.11725 18.6056 9.36588 18.7096 9.62062 18.7987L8.03531 23.3287C7.60904 23.1796 7.19378 23.0073 6.79125 22.8131L8.87625 18.4894ZM17.2087 22.8131C16.8062 23.0073 16.391 23.1796 15.9647 23.3287L14.3794 18.7987C14.6341 18.7096 14.8828 18.6056 15.1237 18.4894L17.2087 22.8131ZM6.63094 16.7972C6.81077 16.9983 7.00172 17.1892 7.20281 17.3691L4.00312 20.9475C3.66889 20.6486 3.35139 20.3311 3.0525 19.9969L6.63094 16.7972ZM20.9475 19.9969C20.6486 20.3311 20.3311 20.6486 19.9969 20.9475L16.7972 17.3691C16.9983 17.1892 17.1892 16.9983 17.3691 16.7972L20.9475 19.9969ZM5.20125 14.3794C5.2904 14.6341 5.39436 14.8828 5.51062 15.1237L1.18687 17.2087C0.992688 16.8062 0.820423 16.391 0.67125 15.9647L5.20125 14.3794ZM23.3287 15.9647C23.1796 16.391 23.0073 16.8062 22.8131 17.2087L18.4894 15.1237C18.6056 14.8828 18.7096 14.6341 18.7987 14.3794L23.3287 15.9647ZM0 12C0 11.775 0.00645264 11.5511 0.01875 11.3287L4.81125 11.5941C4.80383 11.7282 4.8 11.8635 4.8 12C4.8 12.1365 4.80383 12.2718 4.81125 12.4059L0.01875 12.6712C0.00645264 12.4489 0 12.225 0 12ZM19.2 12C19.2 11.8635 19.1962 11.7282 19.1888 11.5941L23.9813 11.3287C23.9935 11.5511 24 11.775 24 12C24 12.225 23.9935 12.4489 23.9813 12.6712L19.1888 12.4059C19.1962 12.2718 19.2 12.1365 19.2 12ZM5.51062 8.87625C5.39436 9.11725 5.29039 9.36588 5.20125 9.62062L0.67125 8.03531C0.820423 7.60904 0.992688 7.19378 1.18687 6.79125L5.51062 8.87625ZM22.8131 6.79125C23.0073 7.19378 23.1796 7.60904 23.3287 8.03531L18.7987 9.62062C18.7096 9.36588 18.6056 9.11725 18.4894 8.87625L22.8131 6.79125ZM7.20281 6.63094C7.00172 6.81077 6.81077 7.00172 6.63094 7.20281L3.0525 4.00312C3.35139 3.66889 3.66889 3.35139 4.00312 3.0525L7.20281 6.63094ZM19.9969 3.0525C20.3311 3.35139 20.6486 3.66889 20.9475 4.00312L17.3691 7.20281C17.1892 7.00172 16.9983 6.81077 16.7972 6.63094L19.9969 3.0525ZM9.62062 5.20125C9.36588 5.2904 9.11725 5.39436 8.87625 5.51062L6.79125 1.18687C7.19378 0.992688 7.60904 0.820423 8.03531 0.67125L9.62062 5.20125ZM15.9647 0.67125C16.391 0.820423 16.8062 0.992688 17.2087 1.18687L15.1237 5.51062C14.8828 5.39436 14.6341 5.2904 14.3794 5.20125L15.9647 0.67125ZM12 0C12.225 0 12.4489 0.00645264 12.6712 0.01875L12.4059 4.81125C12.2718 4.80383 12.1365 4.8 12 4.8C11.8635 4.8 11.7282 4.80383 11.5941 4.81125L11.3287 0.01875C11.5511 0.00645264 11.775 0 12 0Z" fill="black" fill-opacity="0.1"/>
|
|
5
|
+
<path d="M12.6712 23.9813C12.4489 23.9935 12.225 24 12 24C11.775 24 11.5511 23.9935 11.3287 23.9813L11.5941 19.1888C11.7282 19.1962 11.8635 19.2 12 19.2C12.1365 19.2 12.2718 19.1962 12.4059 19.1888L12.6712 23.9813ZM8.87625 18.4894C9.11725 18.6056 9.36588 18.7096 9.62062 18.7987L8.03531 23.3287C7.60904 23.1796 7.19378 23.0073 6.79125 22.8131L8.87625 18.4894ZM17.2087 22.8131C16.8062 23.0073 16.391 23.1796 15.9647 23.3287L14.3794 18.7987C14.6341 18.7096 14.8828 18.6056 15.1237 18.4894L17.2087 22.8131ZM6.63094 16.7972C6.81077 16.9983 7.00172 17.1892 7.20281 17.3691L4.00312 20.9475C3.66889 20.6486 3.35139 20.3311 3.0525 19.9969L6.63094 16.7972ZM20.9475 19.9969C20.6486 20.3311 20.3311 20.6486 19.9969 20.9475L16.7972 17.3691C16.9983 17.1892 17.1892 16.9983 17.3691 16.7972L20.9475 19.9969ZM5.20125 14.3794C5.2904 14.6341 5.39436 14.8828 5.51062 15.1237L1.18687 17.2087C0.992688 16.8062 0.820423 16.391 0.67125 15.9647L5.20125 14.3794ZM23.3287 15.9647C23.1796 16.391 23.0073 16.8062 22.8131 17.2087L18.4894 15.1237C18.6056 14.8828 18.7096 14.6341 18.7987 14.3794L23.3287 15.9647ZM19.2 12C19.2 11.8635 19.1962 11.7282 19.1888 11.5941L23.9813 11.3287C23.9935 11.5511 24 11.775 24 12C24 12.225 23.9935 12.4489 23.9813 12.6712L19.1888 12.4059C19.1962 12.2718 19.2 12.1365 19.2 12ZM22.8131 6.79125C23.0073 7.19378 23.1796 7.60904 23.3287 8.03531L18.7987 9.62062C18.7096 9.36588 18.6056 9.11725 18.4894 8.87625L22.8131 6.79125ZM19.9969 3.0525C20.3311 3.35139 20.6486 3.66889 20.9475 4.00312L17.3691 7.20281C17.1892 7.00172 16.9983 6.81077 16.7972 6.63094L19.9969 3.0525ZM15.9647 0.67125C16.391 0.820423 16.8062 0.992688 17.2087 1.18687L15.1237 5.51062C14.8828 5.39436 14.6341 5.2904 14.3794 5.20125L15.9647 0.67125ZM12 0C12.225 0 12.4489 0.00645264 12.6712 0.01875L12.4059 4.81125C12.2718 4.80383 12.1365 4.8 12 4.8C11.8635 4.8 11.7282 4.80383 11.5941 4.81125L11.3287 0.01875C11.5511 0.00645264 11.775 0 12 0Z" fill="#5999D9"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Status%20/%20Category%20Radial%20'%3e%3cg%20id='Vector'%3e%3cpath%20d='M12.6712%2023.9813C12.4489%2023.9935%2012.225%2024%2012%2024C11.775%2024%2011.5511%2023.9935%2011.3287%2023.9813L11.5941%2019.1888C11.7282%2019.1962%2011.8635%2019.2%2012%2019.2C12.1365%2019.2%2012.2718%2019.1962%2012.4059%2019.1888L12.6712%2023.9813ZM8.87625%2018.4894C9.11725%2018.6056%209.36588%2018.7096%209.62062%2018.7987L8.03531%2023.3287C7.60904%2023.1796%207.19378%2023.0073%206.79125%2022.8131L8.87625%2018.4894ZM17.2087%2022.8131C16.8062%2023.0073%2016.391%2023.1796%2015.9647%2023.3287L14.3794%2018.7987C14.6341%2018.7096%2014.8828%2018.6056%2015.1237%2018.4894L17.2087%2022.8131ZM6.63094%2016.7972C6.81077%2016.9983%207.00172%2017.1892%207.20281%2017.3691L4.00312%2020.9475C3.66889%2020.6486%203.35139%2020.3311%203.0525%2019.9969L6.63094%2016.7972ZM20.9475%2019.9969C20.6486%2020.3311%2020.3311%2020.6486%2019.9969%2020.9475L16.7972%2017.3691C16.9983%2017.1892%2017.1892%2016.9983%2017.3691%2016.7972L20.9475%2019.9969ZM5.20125%2014.3794C5.2904%2014.6341%205.39436%2014.8828%205.51062%2015.1237L1.18687%2017.2087C0.992688%2016.8062%200.820423%2016.391%200.67125%2015.9647L5.20125%2014.3794ZM23.3287%2015.9647C23.1796%2016.391%2023.0073%2016.8062%2022.8131%2017.2087L18.4894%2015.1237C18.6056%2014.8828%2018.7096%2014.6341%2018.7987%2014.3794L23.3287%2015.9647ZM0%2012C0%2011.775%200.00645264%2011.5511%200.01875%2011.3287L4.81125%2011.5941C4.80383%2011.7282%204.8%2011.8635%204.8%2012C4.8%2012.1365%204.80383%2012.2718%204.81125%2012.4059L0.01875%2012.6712C0.00645264%2012.4489%200%2012.225%200%2012ZM19.2%2012C19.2%2011.8635%2019.1962%2011.7282%2019.1888%2011.5941L23.9813%2011.3287C23.9935%2011.5511%2024%2011.775%2024%2012C24%2012.225%2023.9935%2012.4489%2023.9813%2012.6712L19.1888%2012.4059C19.1962%2012.2718%2019.2%2012.1365%2019.2%2012ZM5.51062%208.87625C5.39436%209.11725%205.29039%209.36588%205.20125%209.62062L0.67125%208.03531C0.820423%207.60904%200.992688%207.19378%201.18687%206.79125L5.51062%208.87625ZM22.8131%206.79125C23.0073%207.19378%2023.1796%207.60904%2023.3287%208.03531L18.7987%209.62062C18.7096%209.36588%2018.6056%209.11725%2018.4894%208.87625L22.8131%206.79125ZM7.20281%206.63094C7.00172%206.81077%206.81077%207.00172%206.63094%207.20281L3.0525%204.00312C3.35139%203.66889%203.66889%203.35139%204.00312%203.0525L7.20281%206.63094ZM19.9969%203.0525C20.3311%203.35139%2020.6486%203.66889%2020.9475%204.00312L17.3691%207.20281C17.1892%207.00172%2016.9983%206.81077%2016.7972%206.63094L19.9969%203.0525ZM9.62062%205.20125C9.36588%205.2904%209.11725%205.39436%208.87625%205.51062L6.79125%201.18687C7.19378%200.992688%207.60904%200.820423%208.03531%200.67125L9.62062%205.20125ZM15.9647%200.67125C16.391%200.820423%2016.8062%200.992688%2017.2087%201.18687L15.1237%205.51062C14.8828%205.39436%2014.6341%205.2904%2014.3794%205.20125L15.9647%200.67125ZM12%200C12.225%200%2012.4489%200.00645264%2012.6712%200.01875L12.4059%204.81125C12.2718%204.80383%2012.1365%204.8%2012%204.8C11.8635%204.8%2011.7282%204.80383%2011.5941%204.81125L11.3287%200.01875C11.5511%200.00645264%2011.775%200%2012%200Z'%20fill='black'%20fill-opacity='0.1'/%3e%3cpath%20d='M12.6712%2023.9813C12.4489%2023.9935%2012.225%2024%2012%2024C11.775%2024%2011.5511%2023.9935%2011.3287%2023.9813L11.5941%2019.1888C11.7282%2019.1962%2011.8635%2019.2%2012%2019.2C12.1365%2019.2%2012.2718%2019.1962%2012.4059%2019.1888L12.6712%2023.9813ZM8.87625%2018.4894C9.11725%2018.6056%209.36588%2018.7096%209.62062%2018.7987L8.03531%2023.3287C7.60904%2023.1796%207.19378%2023.0073%206.79125%2022.8131L8.87625%2018.4894ZM17.2087%2022.8131C16.8062%2023.0073%2016.391%2023.1796%2015.9647%2023.3287L14.3794%2018.7987C14.6341%2018.7096%2014.8828%2018.6056%2015.1237%2018.4894L17.2087%2022.8131ZM6.63094%2016.7972C6.81077%2016.9983%207.00172%2017.1892%207.20281%2017.3691L4.00312%2020.9475C3.66889%2020.6486%203.35139%2020.3311%203.0525%2019.9969L6.63094%2016.7972ZM20.9475%2019.9969C20.6486%2020.3311%2020.3311%2020.6486%2019.9969%2020.9475L16.7972%2017.3691C16.9983%2017.1892%2017.1892%2016.9983%2017.3691%2016.7972L20.9475%2019.9969ZM5.20125%2014.3794C5.2904%2014.6341%205.39436%2014.8828%205.51062%2015.1237L1.18687%2017.2087C0.992688%2016.8062%200.820423%2016.391%200.67125%2015.9647L5.20125%2014.3794ZM23.3287%2015.9647C23.1796%2016.391%2023.0073%2016.8062%2022.8131%2017.2087L18.4894%2015.1237C18.6056%2014.8828%2018.7096%2014.6341%2018.7987%2014.3794L23.3287%2015.9647ZM19.2%2012C19.2%2011.8635%2019.1962%2011.7282%2019.1888%2011.5941L23.9813%2011.3287C23.9935%2011.5511%2024%2011.775%2024%2012C24%2012.225%2023.9935%2012.4489%2023.9813%2012.6712L19.1888%2012.4059C19.1962%2012.2718%2019.2%2012.1365%2019.2%2012ZM22.8131%206.79125C23.0073%207.19378%2023.1796%207.60904%2023.3287%208.03531L18.7987%209.62062C18.7096%209.36588%2018.6056%209.11725%2018.4894%208.87625L22.8131%206.79125ZM19.9969%203.0525C20.3311%203.35139%2020.6486%203.66889%2020.9475%204.00312L17.3691%207.20281C17.1892%207.00172%2016.9983%206.81077%2016.7972%206.63094L19.9969%203.0525ZM15.9647%200.67125C16.391%200.820423%2016.8062%200.992688%2017.2087%201.18687L15.1237%205.51062C14.8828%205.39436%2014.6341%205.2904%2014.3794%205.20125L15.9647%200.67125ZM12%200C12.225%200%2012.4489%200.00645264%2012.6712%200.01875L12.4059%204.81125C12.2718%204.80383%2012.1365%204.8%2012%204.8C11.8635%204.8%2011.7282%204.80383%2011.5941%204.81125L11.3287%200.01875C11.5511%200.00645264%2011.775%200%2012%200Z'%20fill='%235999D9'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";exports.default=C;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Status%20/%20Category%20Radial%20'%3e%3cg%20id='Vector'%3e%3cpath%20d='M12.6712%2023.9813C12.4489%2023.9935%2012.225%2024%2012%2024C11.775%2024%2011.5511%2023.9935%2011.3287%2023.9813L11.5941%2019.1888C11.7282%2019.1962%2011.8635%2019.2%2012%2019.2C12.1365%2019.2%2012.2718%2019.1962%2012.4059%2019.1888L12.6712%2023.9813ZM8.87625%2018.4894C9.11725%2018.6056%209.36588%2018.7096%209.62062%2018.7987L8.03531%2023.3287C7.60904%2023.1796%207.19378%2023.0073%206.79125%2022.8131L8.87625%2018.4894ZM17.2087%2022.8131C16.8062%2023.0073%2016.391%2023.1796%2015.9647%2023.3287L14.3794%2018.7987C14.6341%2018.7096%2014.8828%2018.6056%2015.1237%2018.4894L17.2087%2022.8131ZM6.63094%2016.7972C6.81077%2016.9983%207.00172%2017.1892%207.20281%2017.3691L4.00312%2020.9475C3.66889%2020.6486%203.35139%2020.3311%203.0525%2019.9969L6.63094%2016.7972ZM20.9475%2019.9969C20.6486%2020.3311%2020.3311%2020.6486%2019.9969%2020.9475L16.7972%2017.3691C16.9983%2017.1892%2017.1892%2016.9983%2017.3691%2016.7972L20.9475%2019.9969ZM5.20125%2014.3794C5.2904%2014.6341%205.39436%2014.8828%205.51062%2015.1237L1.18687%2017.2087C0.992688%2016.8062%200.820423%2016.391%200.67125%2015.9647L5.20125%2014.3794ZM23.3287%2015.9647C23.1796%2016.391%2023.0073%2016.8062%2022.8131%2017.2087L18.4894%2015.1237C18.6056%2014.8828%2018.7096%2014.6341%2018.7987%2014.3794L23.3287%2015.9647ZM0%2012C0%2011.775%200.00645264%2011.5511%200.01875%2011.3287L4.81125%2011.5941C4.80383%2011.7282%204.8%2011.8635%204.8%2012C4.8%2012.1365%204.80383%2012.2718%204.81125%2012.4059L0.01875%2012.6712C0.00645264%2012.4489%200%2012.225%200%2012ZM19.2%2012C19.2%2011.8635%2019.1962%2011.7282%2019.1888%2011.5941L23.9813%2011.3287C23.9935%2011.5511%2024%2011.775%2024%2012C24%2012.225%2023.9935%2012.4489%2023.9813%2012.6712L19.1888%2012.4059C19.1962%2012.2718%2019.2%2012.1365%2019.2%2012ZM5.51062%208.87625C5.39436%209.11725%205.29039%209.36588%205.20125%209.62062L0.67125%208.03531C0.820423%207.60904%200.992688%207.19378%201.18687%206.79125L5.51062%208.87625ZM22.8131%206.79125C23.0073%207.19378%2023.1796%207.60904%2023.3287%208.03531L18.7987%209.62062C18.7096%209.36588%2018.6056%209.11725%2018.4894%208.87625L22.8131%206.79125ZM7.20281%206.63094C7.00172%206.81077%206.81077%207.00172%206.63094%207.20281L3.0525%204.00312C3.35139%203.66889%203.66889%203.35139%204.00312%203.0525L7.20281%206.63094ZM19.9969%203.0525C20.3311%203.35139%2020.6486%203.66889%2020.9475%204.00312L17.3691%207.20281C17.1892%207.00172%2016.9983%206.81077%2016.7972%206.63094L19.9969%203.0525ZM9.62062%205.20125C9.36588%205.2904%209.11725%205.39436%208.87625%205.51062L6.79125%201.18687C7.19378%200.992688%207.60904%200.820423%208.03531%200.67125L9.62062%205.20125ZM15.9647%200.67125C16.391%200.820423%2016.8062%200.992688%2017.2087%201.18687L15.1237%205.51062C14.8828%205.39436%2014.6341%205.2904%2014.3794%205.20125L15.9647%200.67125ZM12%200C12.225%200%2012.4489%200.00645264%2012.6712%200.01875L12.4059%204.81125C12.2718%204.80383%2012.1365%204.8%2012%204.8C11.8635%204.8%2011.7282%204.80383%2011.5941%204.81125L11.3287%200.01875C11.5511%200.00645264%2011.775%200%2012%200Z'%20fill='black'%20fill-opacity='0.1'/%3e%3cpath%20d='M12.6712%2023.9813C12.4489%2023.9935%2012.225%2024%2012%2024C11.775%2024%2011.5511%2023.9935%2011.3287%2023.9813L11.5941%2019.1888C11.7282%2019.1962%2011.8635%2019.2%2012%2019.2C12.1365%2019.2%2012.2718%2019.1962%2012.4059%2019.1888L12.6712%2023.9813ZM8.87625%2018.4894C9.11725%2018.6056%209.36588%2018.7096%209.62062%2018.7987L8.03531%2023.3287C7.60904%2023.1796%207.19378%2023.0073%206.79125%2022.8131L8.87625%2018.4894ZM17.2087%2022.8131C16.8062%2023.0073%2016.391%2023.1796%2015.9647%2023.3287L14.3794%2018.7987C14.6341%2018.7096%2014.8828%2018.6056%2015.1237%2018.4894L17.2087%2022.8131ZM6.63094%2016.7972C6.81077%2016.9983%207.00172%2017.1892%207.20281%2017.3691L4.00312%2020.9475C3.66889%2020.6486%203.35139%2020.3311%203.0525%2019.9969L6.63094%2016.7972ZM20.9475%2019.9969C20.6486%2020.3311%2020.3311%2020.6486%2019.9969%2020.9475L16.7972%2017.3691C16.9983%2017.1892%2017.1892%2016.9983%2017.3691%2016.7972L20.9475%2019.9969ZM5.20125%2014.3794C5.2904%2014.6341%205.39436%2014.8828%205.51062%2015.1237L1.18687%2017.2087C0.992688%2016.8062%200.820423%2016.391%200.67125%2015.9647L5.20125%2014.3794ZM23.3287%2015.9647C23.1796%2016.391%2023.0073%2016.8062%2022.8131%2017.2087L18.4894%2015.1237C18.6056%2014.8828%2018.7096%2014.6341%2018.7987%2014.3794L23.3287%2015.9647ZM19.2%2012C19.2%2011.8635%2019.1962%2011.7282%2019.1888%2011.5941L23.9813%2011.3287C23.9935%2011.5511%2024%2011.775%2024%2012C24%2012.225%2023.9935%2012.4489%2023.9813%2012.6712L19.1888%2012.4059C19.1962%2012.2718%2019.2%2012.1365%2019.2%2012ZM22.8131%206.79125C23.0073%207.19378%2023.1796%207.60904%2023.3287%208.03531L18.7987%209.62062C18.7096%209.36588%2018.6056%209.11725%2018.4894%208.87625L22.8131%206.79125ZM19.9969%203.0525C20.3311%203.35139%2020.6486%203.66889%2020.9475%204.00312L17.3691%207.20281C17.1892%207.00172%2016.9983%206.81077%2016.7972%206.63094L19.9969%203.0525ZM15.9647%200.67125C16.391%200.820423%2016.8062%200.992688%2017.2087%201.18687L15.1237%205.51062C14.8828%205.39436%2014.6341%205.2904%2014.3794%205.20125L15.9647%200.67125ZM12%200C12.225%200%2012.4489%200.00645264%2012.6712%200.01875L12.4059%204.81125C12.2718%204.80383%2012.1365%204.8%2012%204.8C11.8635%204.8%2011.7282%204.80383%2011.5941%204.81125L11.3287%200.01875C11.5511%200.00645264%2011.775%200%2012%200Z'%20fill='%235999D9'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
C as default
|
|
4
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("../../../utils/cn/cn.cjs.js"),s=require("../../../src/components/labs/ProgressPager/progressPager.module.css"),n=require("../../Icon/Icon.cjs.js"),t=require("../../Icon/constants.cjs.js"),N=({onPrevious:a,onNext:o,previousDisabled:c,nextDisabled:r,previousLabel:i="Previous",nextLabel:l="Next",inverted:u=!1,size:d="sm",className:m})=>e.jsxs("div",{className:b.cn(s.root,m),"data-inverted":u,"data-size":d,children:[e.jsx("button",{type:"button",className:s.button,"aria-label":i,disabled:c,onClick:a,children:e.jsx(n.Icon,{name:t.EIconName.ARROW_BACK,className:s.icon})}),e.jsx("span",{"aria-hidden":!0,className:s.divider}),e.jsx("button",{type:"button",className:s.button,"aria-label":l,disabled:r,onClick:o,children:e.jsx(n.Icon,{name:t.EIconName.ARROW_FORWARD,className:s.icon})})]});exports.ProgressPager=N;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ProgressPagerProps } from './types';
|
|
2
|
-
/** Figma "progress-button" (903:359397): bordered prev/next pager on
|
|
3
|
-
export declare const ProgressPager: ({ onPrevious, onNext, previousDisabled, nextDisabled, previousLabel, nextLabel, className, }: ProgressPagerProps) => import("react").JSX.Element;
|
|
2
|
+
/** Figma "progress-button" (903:359397; inverted md variant 1286:149971): bordered prev/next pager on carousel headers. */
|
|
3
|
+
export declare const ProgressPager: ({ onPrevious, onNext, previousDisabled, nextDisabled, previousLabel, nextLabel, inverted, size, className, }: ProgressPagerProps) => import("react").JSX.Element;
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { cn as
|
|
3
|
-
import
|
|
4
|
-
import { Icon as
|
|
1
|
+
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cn as u } from "../../../utils/cn/cn.es.js";
|
|
3
|
+
import a from "../../../components/labs/ProgressPager/progressPager.module.css";
|
|
4
|
+
import { Icon as o } from "../../Icon/Icon.es.js";
|
|
5
5
|
import { EIconName as t } from "../../Icon/constants.es.js";
|
|
6
|
-
const
|
|
7
|
-
onPrevious:
|
|
8
|
-
onNext:
|
|
6
|
+
const x = ({
|
|
7
|
+
onPrevious: s,
|
|
8
|
+
onNext: r,
|
|
9
9
|
previousDisabled: i,
|
|
10
10
|
nextDisabled: n,
|
|
11
11
|
previousLabel: m = "Previous",
|
|
12
12
|
nextLabel: l = "Next",
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
inverted: c = !1,
|
|
14
|
+
size: d = "sm",
|
|
15
|
+
className: b
|
|
16
|
+
}) => /* @__PURE__ */ p("div", { className: u(a.root, b), "data-inverted": c, "data-size": d, children: [
|
|
17
|
+
/* @__PURE__ */ e(
|
|
16
18
|
"button",
|
|
17
19
|
{
|
|
18
20
|
type: "button",
|
|
19
|
-
className:
|
|
21
|
+
className: a.button,
|
|
20
22
|
"aria-label": m,
|
|
21
23
|
disabled: i,
|
|
22
|
-
onClick:
|
|
23
|
-
children: /* @__PURE__ */
|
|
24
|
+
onClick: s,
|
|
25
|
+
children: /* @__PURE__ */ e(o, { name: t.ARROW_BACK, className: a.icon })
|
|
24
26
|
}
|
|
25
27
|
),
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ e("span", { "aria-hidden": !0, className: a.divider }),
|
|
29
|
+
/* @__PURE__ */ e("button", { type: "button", className: a.button, "aria-label": l, disabled: n, onClick: r, children: /* @__PURE__ */ e(o, { name: t.ARROW_FORWARD, className: a.icon }) })
|
|
28
30
|
] });
|
|
29
31
|
export {
|
|
30
|
-
|
|
32
|
+
x as ProgressPager
|
|
31
33
|
};
|
|
@@ -37,3 +37,29 @@
|
|
|
37
37
|
width: 16px;
|
|
38
38
|
height: 16px;
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
.root[data-size='md'] .button {
|
|
42
|
+
height: 36px;
|
|
43
|
+
padding: var(--spacing-8) var(--spacing-16);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.root[data-size='md'] .icon {
|
|
47
|
+
width: 20px;
|
|
48
|
+
height: 20px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.root[data-inverted='true'] {
|
|
52
|
+
border-color: var(--border-color-alpha-white-10);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.root[data-inverted='true'] .button {
|
|
56
|
+
color: var(--color-text-primary-inverted);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.root[data-inverted='true'] .button:disabled {
|
|
60
|
+
color: var(--color-text-secondary-disabled);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.root[data-inverted='true'] .divider {
|
|
64
|
+
background: var(--border-color-alpha-white-10);
|
|
65
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("../../../utils/cn/cn.cjs.js"),t=require("../../../src/components/labs/StatusLabel/statusLabel.module.css"),d=require("../StatusDot/StatusDot.cjs.js"),n=require("../../Typography/Typography.cjs.js"),m={optimal:"Optimal",healthy:"Opportunity",borderline:"Borderline",priority:"Priority"},u=({status:r,style:e="minimal",label:s,count:i,showDot:c=!0,inverted:l=!1,className:p})=>a.jsxs("span",{className:o.cn(t.root,p),"data-status":r,"data-style":e,"data-inverted":l,children:[c&&a.jsx(d.StatusDot,{status:r,style:e==="emphasized"?"emphasized":"minimal"}),a.jsxs("span",{className:t.textGroup,children:[i&&a.jsx(n.Typography,{defaultVariant:e==="emphasized"?"labelMd":"labelSm",className:o.cn(t.text,t.count),children:i}),a.jsx(n.Typography,{defaultVariant:e==="emphasized"?"labelMd":"labelSm",color:e==="emphasized"?"color-text-secondary-hover":void 0,className:o.cn(t.text,e!=="emphasized"&&t.textColor),children:s!=null?s:m[r]})]})]});exports.StatusLabel=u;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { StatusLabelProps } from './types';
|
|
2
2
|
/** Figma "Status / Indicator Label" (library set 191:6610 in xepxS2NjDp88HSMW1UdMZo). */
|
|
3
|
-
export declare const StatusLabel: ({ status, style, label, showDot, inverted, className, }: StatusLabelProps) => import("react").JSX.Element;
|
|
3
|
+
export declare const StatusLabel: ({ status, style, label, count, showDot, inverted, className, }: StatusLabelProps) => import("react").JSX.Element;
|