@alfadocs/ui-kit 1.95.1 → 1.96.0
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/_chunks/{anamnesis-card-BcadMmEM.js → anamnesis-card-BzuluoD1.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DQ3iE1gD.js → anamnesis-summary-card-DdTRdNrQ.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-krsCC-F4.js → anamnesis-summary-rows-CdRUXoaA.js} +3 -3
- package/dist/_chunks/{antenatal-schedule-timeline-BGewPfEX.js → antenatal-schedule-timeline-DmsY5g28.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DbgEQsou.js → balance-badge-cell-DcBmtijD.js} +2 -2
- package/dist/_chunks/{bishop-score-BBYuyk2k.js → bishop-score-BhMomGcX.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BIExHBZV.js → bmi-calculator-NMkXc079.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-D3tQ8N34.js → calendar-appointment-editor-dialog-BOZ5wk96.js} +8 -8
- package/dist/_chunks/{card-BA4Ig_kn.js → card-C85_Ndhb.js} +96 -68
- package/dist/_chunks/{clinical-note-card-Cut2lNmu.js → clinical-note-card-CWHFnCmY.js} +2 -2
- package/dist/_chunks/{connection-status-CVyCqxiY.js → connection-status-CWSU3eiq.js} +2 -2
- package/dist/_chunks/{contact-card-ClvEDM9e.js → contact-card-CymtNvy3.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CX45mZA3.js → contact-profile-card-jBf9U4At.js} +2 -2
- package/dist/_chunks/{cycle-calculator-CQkjVSD2.js → cycle-calculator-ZMDvToIm.js} +2 -2
- package/dist/_chunks/{data-table-tabs-DlTPtqoI.js → data-table-tabs-CcgU2lr5.js} +2 -2
- package/dist/_chunks/{data-table-Bh9_IEj4.js → data-table-xUDjZS_O.js} +2 -2
- package/dist/_chunks/{document-preview-CL1xsnLS.js → document-preview-DWIQryMW.js} +2 -2
- package/dist/_chunks/{due-date-calculator-NjTlmoFK.js → due-date-calculator-Dr2cDa64.js} +3 -3
- package/dist/_chunks/editable-currency-cell-renderer-BEaj2NT_.js +493 -0
- package/dist/_chunks/{entity-summary-B_bOloqP.js → entity-summary-BJdfIsk_.js} +2 -2
- package/dist/_chunks/{face-scheme-DyHc3zPt.js → face-scheme-BmygzbZr.js} +2 -2
- package/dist/_chunks/{fetal-weight-Brl3n4LN.js → fetal-weight-CkIwJgiH.js} +2 -2
- package/dist/_chunks/{file-manager-Cgf2yc10.js → file-manager-Ba_TcfCj.js} +2 -2
- package/dist/_chunks/{finished-terminal-D8ohcFVS.js → finished-terminal-DXVAfhRr.js} +2 -2
- package/dist/_chunks/{forgot-password-form-BQPvDS7i.js → forgot-password-form-BCk4rGIh.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-Dn8IOXHB.js → gestational-age-calculator-CXcDKQqC.js} +3 -3
- package/dist/_chunks/{hcg-doubling-DQe1ptNB.js → hcg-doubling-BJFR3onB.js} +2 -2
- package/dist/_chunks/{header-settings-DittkpqU.js → header-settings-C2D74i4g.js} +2 -2
- package/dist/_chunks/{heatmap-9Ql8Ny9d.js → heatmap-C9tEvqEm.js} +3 -3
- package/dist/_chunks/{icon-picker-Bkm9m7ju.js → icon-picker-DQMG9L6M.js} +2 -2
- package/dist/_chunks/info-tip-Do3RFt60.js +216 -0
- package/dist/_chunks/{kit-extensions-44gudqqq.js → kit-extensions-C4o_tFN4.js} +6 -6
- package/dist/_chunks/{locale-picker-DVvinQXU.js → locale-picker-B1NAHW4U.js} +2 -2
- package/dist/_chunks/{login-dev-card-BZBR58mu.js → login-dev-card-DcfcFJrm.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-C8nHixB8.js → marketplace-app-shell-DDZI-uBl.js} +3 -3
- package/dist/_chunks/{notes-panel-D6YhNGHU.js → notes-panel-DfjF83IK.js} +4 -4
- package/dist/_chunks/{operator-hero-D_0KoEuJ.js → operator-hero-N_ziNGFF.js} +2 -2
- package/dist/_chunks/{patient-details-DQQpgx4A.js → patient-details-DGHkAErB.js} +3 -3
- package/dist/_chunks/{patient-field-row-Cb5jUd5Q.js → patient-field-row-BVK4y98C.js} +2 -2
- package/dist/_chunks/{patient-search-Cp2efqHs.js → patient-search-CL6dtBIq.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BvMI0eMu.js → patient-summary-card-DXz07c2X.js} +3 -3
- package/dist/_chunks/{payment-automation-upsell-D1YdO1xY.js → payment-automation-upsell-CZk6f8aK.js} +3 -3
- package/dist/_chunks/{payment-request-card-BfGauFY0.js → payment-request-card-BbpN8GQg.js} +2 -2
- package/dist/_chunks/{periodontal-chart-_y4Ck7_P.js → periodontal-chart-Cw-ZsIls.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-Bx6PeS3b.js → periodontal-chart-card-CG8mxR62.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-DD3hrg9X.js → periodontal-diagnosis-CF1d_0yl.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-B7S9OmPC.js → periodontal-risk-chart-D2zyID0H.js} +2 -2
- package/dist/_chunks/{popover-Da1ekjV1.js → popover-CN5IsOeS.js} +156 -148
- package/dist/_chunks/{practice-profile-hero-ClzE-4CB.js → practice-profile-hero-DKmnB-M0.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-CuVj9KGR.js → pregnancy-dating-D0Kf9s7s.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-BeQRxwdP.js → pregnancy-weight-gain-B_Zldlzq.js} +2 -2
- package/dist/_chunks/{privacy-mask-BDVkikTm.js → privacy-mask-DbEKI-Jv.js} +2 -2
- package/dist/_chunks/{registration-form-BygI73vG.js → registration-form-K4j2tdLt.js} +2 -2
- package/dist/_chunks/{reserved.agent-BvwjDyne.js → reserved.agent-TRbKB39d.js} +2 -2
- package/dist/_chunks/{reset-password-form-Cf9QPEJu.js → reset-password-form-C6XLV7SI.js} +2 -2
- package/dist/_chunks/{reviews-panel-B7InBORU.js → reviews-panel-jPYgYvxG.js} +2 -2
- package/dist/_chunks/{rich-text-editor-iw2tJLKA.js → rich-text-editor-CJfT08It.js} +2 -2
- package/dist/_chunks/{section-card-D5nWiTcK.js → section-card-D1sV4Voz.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-CZYOO7NO.js → send-registration-link-form-yLSfcaPk.js} +2 -2
- package/dist/_chunks/{stat-D2PNJujA.js → stat-Dno2ZihS.js} +111 -96
- package/dist/_chunks/{task-card-C4HJUKVw.js → task-card-TSJjuuDe.js} +2 -2
- package/dist/_chunks/{task-editor-BlGdXR9F.js → task-editor-qXfMbHsy.js} +2 -2
- package/dist/_chunks/{task-tray-DZQGhDdc.js → task-tray-DrXfMCuf.js} +2 -2
- package/dist/_chunks/{tasks-panel-Q0CiEAff.js → tasks-panel-iVeuu9a8.js} +2 -2
- package/dist/_chunks/{timeline-BcYHdP56.js → timeline-B32dylRJ.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CpXRSfPI.js → use-appointment-details-read-UXXvBeGZ.js} +5 -5
- package/dist/_chunks/{workflow-map-BWJhlZbC.js → workflow-map-flsvqQ3L.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-Uhyfr6_6.js → workflow-webhook-action-BD-6UyOs.js} +2 -2
- package/dist/ag-grid.css +3 -1
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/card/card.d.ts +10 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/header-info.d.ts +31 -0
- package/dist/components/data-table/index.d.ts +1 -0
- package/dist/components/data-table/index.js +19 -18
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/info-tip/info-tip.d.ts +21 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +8 -0
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +2 -0
- package/dist/i18n/locales/ar.js +3 -1
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.js +3 -1
- package/dist/i18n/locales/el.d.ts +2 -0
- package/dist/i18n/locales/el.js +3 -1
- package/dist/i18n/locales/en.d.ts +2 -0
- package/dist/i18n/locales/en.js +3 -1
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.js +3 -1
- package/dist/i18n/locales/fr.d.ts +2 -0
- package/dist/i18n/locales/fr.js +3 -1
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.js +3 -1
- package/dist/i18n/locales/it.d.ts +2 -0
- package/dist/i18n/locales/it.js +3 -1
- package/dist/i18n/locales/ja.d.ts +2 -0
- package/dist/i18n/locales/ja.js +3 -1
- package/dist/i18n/locales/nl.d.ts +2 -0
- package/dist/i18n/locales/nl.js +3 -1
- package/dist/i18n/locales/pl.d.ts +2 -0
- package/dist/i18n/locales/pl.js +3 -1
- package/dist/i18n/locales/pt.d.ts +2 -0
- package/dist/i18n/locales/pt.js +3 -1
- package/dist/i18n/locales/ro.d.ts +2 -0
- package/dist/i18n/locales/ro.js +3 -1
- package/dist/i18n/locales/ru.d.ts +2 -0
- package/dist/i18n/locales/ru.js +3 -1
- package/dist/i18n/locales/sq.d.ts +2 -0
- package/dist/i18n/locales/sq.js +3 -1
- package/dist/i18n/locales/sv.d.ts +2 -0
- package/dist/i18n/locales/sv.js +3 -1
- package/dist/i18n/locales/tr.d.ts +2 -0
- package/dist/i18n/locales/tr.js +3 -1
- package/dist/i18n/locales/zh.d.ts +2 -0
- package/dist/i18n/locales/zh.js +3 -1
- package/dist/index.js +914 -913
- package/dist/locales/ar.json +3 -1
- package/dist/locales/de.json +3 -1
- package/dist/locales/el.json +3 -1
- package/dist/locales/en.json +3 -1
- package/dist/locales/es.json +3 -1
- package/dist/locales/fr.json +3 -1
- package/dist/locales/hi.json +3 -1
- package/dist/locales/it.json +3 -1
- package/dist/locales/ja.json +3 -1
- package/dist/locales/nl.json +3 -1
- package/dist/locales/pl.json +3 -1
- package/dist/locales/pt.json +3 -1
- package/dist/locales/ro.json +3 -1
- package/dist/locales/ru.json +3 -1
- package/dist/locales/sq.json +3 -1
- package/dist/locales/sv.json +3 -1
- package/dist/locales/tr.json +3 -1
- package/dist/locales/zh.json +3 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -0
- package/package.json +1 -1
- package/dist/_chunks/editable-currency-cell-renderer-BQYL5GjP.js +0 -412
- package/dist/_chunks/info-tip-Cfd5SKbY.js +0 -166
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as b, jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as b, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as tt, useId as et, useCallback as O, useRef as st, useMemo as rt } from "react";
|
|
3
3
|
import { c as V } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as B } from "react-i18next";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as at } from "./use-count-up-BLLetaZ8.js";
|
|
6
6
|
const P = V("ds:flex ds:flex-col ds:h-full", {
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
|
@@ -106,7 +106,7 @@ const P = V("ds:flex ds:flex-col ds:h-full", {
|
|
|
106
106
|
variant: "default",
|
|
107
107
|
intent: "foreground"
|
|
108
108
|
}
|
|
109
|
-
}),
|
|
109
|
+
}), nt = V(
|
|
110
110
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-label",
|
|
111
111
|
{
|
|
112
112
|
variants: {
|
|
@@ -122,74 +122,75 @@ const P = V("ds:flex ds:flex-col ds:h-full", {
|
|
|
122
122
|
tone: "neutral"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
),
|
|
125
|
+
), it = { up: "↑", down: "↓", flat: "→" }, dt = {
|
|
126
126
|
up: "stat.trend.up",
|
|
127
127
|
down: "stat.trend.down",
|
|
128
128
|
flat: "stat.trend.flat"
|
|
129
129
|
};
|
|
130
|
-
function
|
|
131
|
-
trend:
|
|
130
|
+
function ct({
|
|
131
|
+
trend: i,
|
|
132
132
|
delta: t,
|
|
133
133
|
deltaFormat: u = "decimal",
|
|
134
|
-
locale:
|
|
134
|
+
locale: d,
|
|
135
135
|
polarity: e = "higher-is-better"
|
|
136
136
|
}) {
|
|
137
|
-
const { t:
|
|
137
|
+
const { t: c, i18n: m } = B("ui"), l = typeof t == "string" ? t : new Intl.NumberFormat(d ?? m.language, {
|
|
138
138
|
style: u === "percent" ? "percent" : "decimal"
|
|
139
|
-
}).format(u === "percent" ? t / 100 : t), r =
|
|
140
|
-
return /* @__PURE__ */ b("span", { className:
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
|
|
139
|
+
}).format(u === "percent" ? t / 100 : t), r = i === "flat" || e === "neutral" ? "neutral" : i === "up" == (e === "higher-is-better") ? "better" : "worse";
|
|
140
|
+
return /* @__PURE__ */ b("span", { className: nt({ tone: r }), "data-trend-tone": r, children: [
|
|
141
|
+
/* @__PURE__ */ n("span", { "aria-hidden": "true", children: it[i] }),
|
|
142
|
+
/* @__PURE__ */ n("span", { className: "ds:sr-only", children: c(dt[i]) }),
|
|
143
|
+
l,
|
|
144
144
|
r === "neutral" ? null : /* @__PURE__ */ b("span", { className: "ds:sr-only", children: [
|
|
145
145
|
" ",
|
|
146
|
-
|
|
146
|
+
c(r === "better" ? "stat.trend.better" : "stat.trend.worse")
|
|
147
147
|
] })
|
|
148
148
|
] });
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
const u =
|
|
150
|
+
function lt(i, t) {
|
|
151
|
+
const u = i.trim();
|
|
152
152
|
if (u === "") return null;
|
|
153
|
-
let
|
|
154
|
-
e.startsWith("+") ? (
|
|
155
|
-
let
|
|
153
|
+
let d = "", e = u;
|
|
154
|
+
e.startsWith("+") ? (d = "+", e = e.slice(1).trimStart()) : (e.startsWith("-") || e.startsWith("−")) && (d = "-", e = e.slice(1).trimStart());
|
|
155
|
+
let c = "";
|
|
156
156
|
const m = e.match(/[KMB]$/i);
|
|
157
|
-
m && (
|
|
158
|
-
let
|
|
157
|
+
m && (c = m[0], e = e.slice(0, -1).trimEnd());
|
|
158
|
+
let l = "", r = ".";
|
|
159
159
|
try {
|
|
160
|
-
const
|
|
161
|
-
for (const
|
|
162
|
-
|
|
160
|
+
const f = new Intl.NumberFormat(t).formatToParts(12345.6);
|
|
161
|
+
for (const o of f)
|
|
162
|
+
o.type === "group" ? l = o.value : o.type === "decimal" && (r = o.value);
|
|
163
163
|
} catch {
|
|
164
164
|
}
|
|
165
165
|
const g = e.match(/^(\d+)\.(\d+)$/);
|
|
166
|
-
if (g && !(g[2].length === 3 &&
|
|
167
|
-
const
|
|
168
|
-
if (Number.isFinite(
|
|
169
|
-
return { target:
|
|
166
|
+
if (g && !(g[2].length === 3 && l === ".")) {
|
|
167
|
+
const o = Number.parseFloat(e);
|
|
168
|
+
if (Number.isFinite(o))
|
|
169
|
+
return { target: o, sign: d, suffix: c };
|
|
170
170
|
}
|
|
171
|
-
let
|
|
172
|
-
|
|
173
|
-
const
|
|
174
|
-
return Number.isFinite(
|
|
171
|
+
let s = e;
|
|
172
|
+
l !== "" && (s = s.split(l).join("")), r !== "." && (s = s.split(r).join(".")), s = s.replace(/[\s\u00A0\u202F]/g, "");
|
|
173
|
+
const h = Number.parseFloat(s);
|
|
174
|
+
return Number.isFinite(h) ? { target: h, sign: d, suffix: c } : null;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
176
|
+
const ot = tt(
|
|
177
177
|
({
|
|
178
|
-
label:
|
|
178
|
+
label: i,
|
|
179
179
|
value: t,
|
|
180
180
|
format: u,
|
|
181
|
-
currency:
|
|
181
|
+
currency: d,
|
|
182
182
|
locale: e,
|
|
183
|
-
trend:
|
|
183
|
+
trend: c,
|
|
184
184
|
trendPolarity: m,
|
|
185
|
-
delta:
|
|
185
|
+
delta: l,
|
|
186
186
|
deltaFormat: r = "decimal",
|
|
187
187
|
icon: g,
|
|
188
|
-
|
|
188
|
+
info: s,
|
|
189
|
+
loading: h = !1,
|
|
189
190
|
animate: f = !1,
|
|
190
|
-
animateOnEveryView:
|
|
191
|
-
animateDurationMs:
|
|
192
|
-
animateLocale:
|
|
191
|
+
animateOnEveryView: o = !1,
|
|
192
|
+
animateDurationMs: K = 1600,
|
|
193
|
+
animateLocale: Y,
|
|
193
194
|
animateSeparators: x,
|
|
194
195
|
variant: y = "default",
|
|
195
196
|
size: N = "md",
|
|
@@ -198,13 +199,13 @@ const ct = Z(
|
|
|
198
199
|
className: j,
|
|
199
200
|
...k
|
|
200
201
|
}, R) => {
|
|
201
|
-
const { i18n:
|
|
202
|
+
const { i18n: _ } = B("ui"), T = et(), p = e ?? _.language, q = O(() => {
|
|
202
203
|
if (typeof t == "string") return t;
|
|
203
204
|
switch (u) {
|
|
204
205
|
case "currency":
|
|
205
206
|
return new Intl.NumberFormat(p, {
|
|
206
207
|
style: "currency",
|
|
207
|
-
currency:
|
|
208
|
+
currency: d ?? "USD"
|
|
208
209
|
}).format(t);
|
|
209
210
|
case "percent":
|
|
210
211
|
return new Intl.NumberFormat(p, { style: "percent" }).format(
|
|
@@ -217,9 +218,9 @@ const ct = Z(
|
|
|
217
218
|
default:
|
|
218
219
|
return new Intl.NumberFormat(p).format(t);
|
|
219
220
|
}
|
|
220
|
-
}, [t, u, p,
|
|
221
|
-
|
|
222
|
-
const
|
|
221
|
+
}, [t, u, p, d])(), w = Y ?? p;
|
|
222
|
+
st(!1);
|
|
223
|
+
const a = rt(() => f ? typeof t == "number" ? Number.isFinite(t) ? { target: t, sign: "", suffix: "" } : null : lt(t, w) : null, [f, t, w]), H = f && a !== null, J = (a == null ? void 0 : a.target) ?? 0, F = (a == null ? void 0 : a.sign) ?? "", $ = (a == null ? void 0 : a.suffix) ?? "", Q = O(
|
|
223
224
|
(z) => {
|
|
224
225
|
const E = (() => {
|
|
225
226
|
try {
|
|
@@ -233,15 +234,15 @@ const ct = Z(
|
|
|
233
234
|
let v;
|
|
234
235
|
if (E)
|
|
235
236
|
if (x) {
|
|
236
|
-
const A = Math.abs(z), D = Math.trunc(A), G = A - D,
|
|
237
|
+
const A = Math.abs(z), D = Math.trunc(A), G = A - D, X = x.thousand ?? "", S = String(D).replace(
|
|
237
238
|
/\B(?=(\d{3})+(?!\d))/g,
|
|
238
|
-
|
|
239
|
+
X
|
|
239
240
|
);
|
|
240
241
|
if (G === 0)
|
|
241
242
|
v = S;
|
|
242
243
|
else {
|
|
243
|
-
const L = G.toFixed(6).replace(/0+$/, "").slice(2),
|
|
244
|
-
v = L ? S +
|
|
244
|
+
const L = G.toFixed(6).replace(/0+$/, "").slice(2), Z = x.decimal ?? ".";
|
|
245
|
+
v = L ? S + Z + L : S;
|
|
245
246
|
}
|
|
246
247
|
} else
|
|
247
248
|
v = E.format(Math.abs(z));
|
|
@@ -251,29 +252,29 @@ const ct = Z(
|
|
|
251
252
|
return F === "" && z < 0 && (W = "-"), `${W}${v}${$}`;
|
|
252
253
|
},
|
|
253
254
|
[w, x, F, $]
|
|
254
|
-
), C =
|
|
255
|
-
to:
|
|
255
|
+
), C = at({
|
|
256
|
+
to: J,
|
|
256
257
|
from: 0,
|
|
257
|
-
durationMs:
|
|
258
|
+
durationMs: K,
|
|
258
259
|
startOnVisible: !0,
|
|
259
|
-
retriggerOnReEntry:
|
|
260
|
+
retriggerOnReEntry: o,
|
|
260
261
|
// `formatter` is the only path we use — it owns both the locale
|
|
261
262
|
// formatting and the sign/suffix re-application.
|
|
262
|
-
formatter:
|
|
263
|
+
formatter: Q
|
|
263
264
|
});
|
|
264
|
-
return
|
|
265
|
+
return h ? /* @__PURE__ */ b(
|
|
265
266
|
"div",
|
|
266
267
|
{
|
|
267
268
|
ref: R,
|
|
268
269
|
role: "group",
|
|
269
270
|
"aria-busy": "true",
|
|
270
|
-
"aria-label":
|
|
271
|
+
"aria-label": i,
|
|
271
272
|
"data-component": "stat",
|
|
272
273
|
className: P({ variant: y, size: N, align: I, className: j }),
|
|
273
274
|
...k,
|
|
274
275
|
children: [
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ n("div", { className: "ds:h-[var(--skeleton-label-h)] ds:w-[var(--skeleton-label-w)] ds:animate-pulse ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]" }),
|
|
277
|
+
/* @__PURE__ */ n("div", { className: "ds:h-[var(--skeleton-value-h)] ds:w-[var(--skeleton-value-w)] ds:animate-pulse ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]" })
|
|
277
278
|
]
|
|
278
279
|
}
|
|
279
280
|
) : /* @__PURE__ */ b(
|
|
@@ -286,39 +287,53 @@ const ct = Z(
|
|
|
286
287
|
className: P({ variant: y, size: N, align: I, className: j }),
|
|
287
288
|
...k,
|
|
288
289
|
children: [
|
|
289
|
-
/* @__PURE__ */ b(
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
290
|
+
/* @__PURE__ */ b(
|
|
291
|
+
"span",
|
|
292
|
+
{
|
|
293
|
+
className: s == null ? "ds:inline-flex ds:items-center" : "ds:inline-flex ds:flex-wrap ds:items-center",
|
|
294
|
+
children: [
|
|
295
|
+
g && /* @__PURE__ */ n(
|
|
296
|
+
"span",
|
|
297
|
+
{
|
|
298
|
+
"aria-hidden": "true",
|
|
299
|
+
className: [
|
|
300
|
+
"ds:me-[var(--spacing-xs)] ds:inline-flex ds:shrink-0",
|
|
301
|
+
// Accent tint on the leading icon. The icon is decorative
|
|
302
|
+
// (aria-hidden), so magenta-500's 3.2:1 contrast on white
|
|
303
|
+
// is acceptable here — the Stat label + value still
|
|
304
|
+
// carry the accessible name at `--foreground`.
|
|
305
|
+
"ds:text-[color:var(--accent)]",
|
|
306
|
+
"ds:forced-colors:text-[CanvasText]"
|
|
307
|
+
].join(" "),
|
|
308
|
+
children: g
|
|
309
|
+
}
|
|
310
|
+
),
|
|
311
|
+
/* @__PURE__ */ n(
|
|
312
|
+
"span",
|
|
313
|
+
{
|
|
314
|
+
id: T,
|
|
315
|
+
className: "type-label ds:text-[var(--muted-foreground)]",
|
|
316
|
+
children: i
|
|
317
|
+
}
|
|
318
|
+
),
|
|
319
|
+
s != null && /* @__PURE__ */ n(
|
|
320
|
+
"span",
|
|
321
|
+
{
|
|
322
|
+
"data-slot": "info",
|
|
323
|
+
className: "ds:ms-[var(--spacing-xs)] ds:inline-flex ds:shrink-0 ds:items-center",
|
|
324
|
+
children: s
|
|
325
|
+
}
|
|
326
|
+
)
|
|
327
|
+
]
|
|
328
|
+
}
|
|
329
|
+
),
|
|
330
|
+
H ? (
|
|
316
331
|
// The animated number is wrapped in an `aria-live="off"` span
|
|
317
332
|
// so screen readers don't announce every interpolated frame.
|
|
318
333
|
// The `role="group"` ancestor (with `aria-labelledby` pointing
|
|
319
334
|
// at the label) carries the final accessible reading — the
|
|
320
335
|
// animated frames are decorative only.
|
|
321
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ n(
|
|
322
337
|
"span",
|
|
323
338
|
{
|
|
324
339
|
ref: C.ref,
|
|
@@ -327,12 +342,12 @@ const ct = Z(
|
|
|
327
342
|
children: C.value
|
|
328
343
|
}
|
|
329
344
|
)
|
|
330
|
-
) : /* @__PURE__ */
|
|
331
|
-
|
|
332
|
-
|
|
345
|
+
) : /* @__PURE__ */ n("span", { className: U({ size: N, variant: y, intent: M }), children: q }),
|
|
346
|
+
c != null && l != null && /* @__PURE__ */ n(
|
|
347
|
+
ct,
|
|
333
348
|
{
|
|
334
|
-
trend:
|
|
335
|
-
delta:
|
|
349
|
+
trend: c,
|
|
350
|
+
delta: l,
|
|
336
351
|
deltaFormat: r,
|
|
337
352
|
locale: e,
|
|
338
353
|
polarity: m
|
|
@@ -343,8 +358,8 @@ const ct = Z(
|
|
|
343
358
|
);
|
|
344
359
|
}
|
|
345
360
|
);
|
|
346
|
-
|
|
361
|
+
ot.displayName = "Stat";
|
|
347
362
|
export {
|
|
348
|
-
|
|
363
|
+
ot as S
|
|
349
364
|
};
|
|
350
|
-
//# sourceMappingURL=stat-
|
|
365
|
+
//# sourceMappingURL=stat-Dno2ZihS.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as C } from "react";
|
|
|
3
3
|
import { c as w } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
5
|
import { V as p } from "./visually-hidden-BHxEUGyT.js";
|
|
6
|
-
import { p as z } from "./privacy-mask-
|
|
6
|
+
import { p as z } from "./privacy-mask-DbEKI-Jv.js";
|
|
7
7
|
import { c as S } from "./createLucideIcon-DhHxpK9K.js";
|
|
8
8
|
import { B as V } from "./building-2-D33bLCWL.js";
|
|
9
9
|
import { U as g } from "./user-B12p7bVF.js";
|
|
@@ -187,4 +187,4 @@ export {
|
|
|
187
187
|
O as T,
|
|
188
188
|
q as i
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=task-card-
|
|
190
|
+
//# sourceMappingURL=task-card-TSJjuuDe.js.map
|
|
@@ -25,7 +25,7 @@ import { u as Vt } from "./registry-DvAUVLHh.js";
|
|
|
25
25
|
import { u as Lt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
26
26
|
import { c as Ut } from "./compose-refs-C0k0tdqF.js";
|
|
27
27
|
import { n as Wt } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
28
|
-
import { p as Kt, P as Ht } from "./privacy-mask-
|
|
28
|
+
import { p as Kt, P as Ht } from "./privacy-mask-DbEKI-Jv.js";
|
|
29
29
|
import { g as je, h as Gt } from "./handled-rejection-6gqCf5vt.js";
|
|
30
30
|
import { L as Qt } from "./lock-ClAFG1gy.js";
|
|
31
31
|
import { X as Yt } from "./x-B5YnXwCz.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
vn as T,
|
|
1240
1240
|
ln as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=task-editor-
|
|
1242
|
+
//# sourceMappingURL=task-editor-qXfMbHsy.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
|
|
|
5
5
|
import { I as A } from "./icon-button-S8_weU3g.js";
|
|
6
6
|
import { S as V } from "./skeleton-tTWJpvAq.js";
|
|
7
7
|
import { E as F } from "./empty-state-DwJ5YNzz.js";
|
|
8
|
-
import { T as G } from "./task-card-
|
|
8
|
+
import { T as G } from "./task-card-TSJjuuDe.js";
|
|
9
9
|
import { u as J } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { S as L } from "./square-check-big-dj0o8yA3.js";
|
|
11
11
|
import { P as Q } from "./plus-DzMQ_c6b.js";
|
|
@@ -236,4 +236,4 @@ export {
|
|
|
236
236
|
X as T,
|
|
237
237
|
U as t
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=task-tray-
|
|
239
|
+
//# sourceMappingURL=task-tray-DrXfMCuf.js.map
|
|
@@ -12,7 +12,7 @@ import { S as Ot } from "./select-BBDRYxJl.js";
|
|
|
12
12
|
import { S as Ks } from "./switch-D--x7n6h.js";
|
|
13
13
|
import { S as Vs } from "./skeleton-tTWJpvAq.js";
|
|
14
14
|
import { E as $e } from "./empty-state-DwJ5YNzz.js";
|
|
15
|
-
import { T as Cs } from "./task-card-
|
|
15
|
+
import { T as Cs } from "./task-card-TSJjuuDe.js";
|
|
16
16
|
import { V as Gs } from "./visually-hidden-BHxEUGyT.js";
|
|
17
17
|
import { u as Us } from "./use-check-animation--I3cS00X.js";
|
|
18
18
|
import { a as Ys, u as Dt, R as jt } from "./use-list-reflow-C7O4Uqnl.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
En as T,
|
|
1240
1240
|
dn as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=tasks-panel-
|
|
1242
|
+
//# sourceMappingURL=tasks-panel-iVeuu9a8.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as m, useMemo as p, useRef as w, useState as V, useCallback
|
|
|
3
3
|
import { c as b } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
5
|
import { A as P } from "./avatar-a6042Ox2.js";
|
|
6
|
-
import { C as N } from "./card-
|
|
6
|
+
import { C as N } from "./card-C85_Ndhb.js";
|
|
7
7
|
import { T as q } from "./timestamp-DPLDWdxA.js";
|
|
8
8
|
import { u as B } from "./registry-DvAUVLHh.js";
|
|
9
9
|
import { C as H } from "./circle-j7oZoouK.js";
|
|
@@ -293,4 +293,4 @@ export {
|
|
|
293
293
|
le as T,
|
|
294
294
|
K as t
|
|
295
295
|
};
|
|
296
|
-
//# sourceMappingURL=timeline-
|
|
296
|
+
//# sourceMappingURL=timeline-B32dylRJ.js.map
|
|
@@ -6,7 +6,7 @@ import { u as Jt } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { u as te } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
7
7
|
import { c as Zt } from "./compose-refs-C0k0tdqF.js";
|
|
8
8
|
import { h as Ue, g as Qe } from "./handled-rejection-6gqCf5vt.js";
|
|
9
|
-
import { a as en, b as xt } from "./privacy-mask-
|
|
9
|
+
import { a as en, b as xt } from "./privacy-mask-DbEKI-Jv.js";
|
|
10
10
|
import { A as F } from "./alert-9kEwDza3.js";
|
|
11
11
|
import { B as O } from "./button-DohK_Ak_.js";
|
|
12
12
|
import { I as Lt } from "./icon-button-S8_weU3g.js";
|
|
@@ -16,8 +16,8 @@ import { E as zt } from "./editable-description-KU56SP4P.js";
|
|
|
16
16
|
import { N as Xe } from "./note-timeline-BrjHBQfx.js";
|
|
17
17
|
import { P as Ot } from "./panel-header-CbtlTe85.js";
|
|
18
18
|
import { P as Ge } from "./panel-subview-DCyvn-49.js";
|
|
19
|
-
import { P as _t } from "./patient-summary-card-
|
|
20
|
-
import { S as ne } from "./section-card-
|
|
19
|
+
import { P as _t } from "./patient-summary-card-DXz07c2X.js";
|
|
20
|
+
import { S as ne } from "./section-card-D1sV4Voz.js";
|
|
21
21
|
import { C as nn, S as ue } from "./skeleton-tTWJpvAq.js";
|
|
22
22
|
import { T as an } from "./text-area-COMVJ1yE.js";
|
|
23
23
|
import { T as sn } from "./tooltip-uEBdD1-5.js";
|
|
@@ -26,7 +26,7 @@ import { a as Nt } from "./whatsapp-button-DV9JFmtq.js";
|
|
|
26
26
|
import { a as Ft, W as on } from "./workflow-status-HQ6ziE46.js";
|
|
27
27
|
import { u as ot, a as At, i as rn } from "./appointment-workflow-status-DMjuIK90.js";
|
|
28
28
|
import { E as dn } from "./empty-state-DwJ5YNzz.js";
|
|
29
|
-
import { T as Ae } from "./timeline-
|
|
29
|
+
import { T as Ae } from "./timeline-B32dylRJ.js";
|
|
30
30
|
import { C as rt } from "./calendar-clock-hbObjfGY.js";
|
|
31
31
|
import { T as $t } from "./trash-2-uumy3fy1.js";
|
|
32
32
|
import { A as Ve } from "./entity-card-fpm-KUKc.js";
|
|
@@ -2195,4 +2195,4 @@ export {
|
|
|
2195
2195
|
Kn as s,
|
|
2196
2196
|
_s as u
|
|
2197
2197
|
};
|
|
2198
|
-
//# sourceMappingURL=use-appointment-details-read-
|
|
2198
|
+
//# sourceMappingURL=use-appointment-details-read-UXXvBeGZ.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as c, Fragment as ve } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as H, useMemo as W, useRef as M, useCallback as F, useState as ge, useImperativeHandle as be, useEffect as ke } from "react";
|
|
3
3
|
import { c as j } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
|
-
import { C } from "./card-
|
|
5
|
+
import { C } from "./card-C85_Ndhb.js";
|
|
6
6
|
import { B as ye } from "./badge-BUk4RjTS.js";
|
|
7
7
|
import { a as Z } from "./key-value-pair-BoXOtBL1.js";
|
|
8
8
|
import { T as xe } from "./timestamp-DPLDWdxA.js";
|
|
@@ -1321,4 +1321,4 @@ export {
|
|
|
1321
1321
|
ee as r,
|
|
1322
1322
|
D as w
|
|
1323
1323
|
};
|
|
1324
|
-
//# sourceMappingURL=workflow-map-
|
|
1324
|
+
//# sourceMappingURL=workflow-map-flsvqQ3L.js.map
|
package/dist/_chunks/{workflow-webhook-action-Uhyfr6_6.js → workflow-webhook-action-BD-6UyOs.js}
RENAMED
|
@@ -8,7 +8,7 @@ import { A as U } from "./alert-9kEwDza3.js";
|
|
|
8
8
|
import { B as Kt } from "./badge-BUk4RjTS.js";
|
|
9
9
|
import { B as ue } from "./button-DohK_Ak_.js";
|
|
10
10
|
import { I as $t } from "./icon-button-S8_weU3g.js";
|
|
11
|
-
import { C as Ge } from "./card-
|
|
11
|
+
import { C as Ge } from "./card-C85_Ndhb.js";
|
|
12
12
|
import { C as Xt } from "./checkbox-a7Sh-dXb.js";
|
|
13
13
|
import { F as zt } from "./field-array-CA-gn526.js";
|
|
14
14
|
import { F as G } from "./form-field-CyHfOVKF.js";
|
|
@@ -809,4 +809,4 @@ export {
|
|
|
809
809
|
Mo as W,
|
|
810
810
|
fo as a
|
|
811
811
|
};
|
|
812
|
-
//# sourceMappingURL=workflow-webhook-action-
|
|
812
|
+
//# sourceMappingURL=workflow-webhook-action-BD-6UyOs.js.map
|
package/dist/ag-grid.css
CHANGED
|
@@ -2743,4 +2743,6 @@ button.ag-side-button-button:focus{box-shadow:none}
|
|
|
2743
2743
|
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar{width:var(--scrollbar-size-md);height:var(--scrollbar-size-md)}
|
|
2744
2744
|
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-track,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar-track{background:var(--scrollbar-track)}
|
|
2745
2745
|
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:var(--radius-full);border:var(--scrollbar-padding) solid transparent;background-clip:content-box}
|
|
2746
|
-
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb:hover,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}}
|
|
2746
|
+
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb:hover,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}}
|
|
2747
|
+
|
|
2748
|
+
.ag-theme-alfadocs .ag-header-cell-text:has([data-slot=header-info]){overflow:visible}
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.96.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -7412,7 +7412,7 @@
|
|
|
7412
7412
|
"name": "open",
|
|
7413
7413
|
"safety": "read",
|
|
7414
7414
|
"idempotent": true,
|
|
7415
|
-
"description": "Open the info tip card.",
|
|
7415
|
+
"description": "Open the info tip card (including its formula and Learn more link, when set).",
|
|
7416
7416
|
"descriptionKey": "ui.agent.infoTip.actions.open"
|
|
7417
7417
|
},
|
|
7418
7418
|
{
|
package/dist/agent-i18n/en.json
CHANGED
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
"isOpen": "True when the info tip card is currently open."
|
|
758
758
|
},
|
|
759
759
|
"actions": {
|
|
760
|
-
"open": "Open the info tip card.",
|
|
760
|
+
"open": "Open the info tip card (including its formula and Learn more link, when set).",
|
|
761
761
|
"close": "Close the info tip card."
|
|
762
762
|
}
|
|
763
763
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-
|
|
1
|
+
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-UXXvBeGZ.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as m } from "../../_chunks/bmi-calculator-
|
|
1
|
+
import { B as m } from "../../_chunks/bmi-calculator-NMkXc079.js";
|
|
2
2
|
import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
|
|
3
3
|
export {
|
|
4
4
|
m as BmiCalculator,
|
|
@@ -19,8 +19,17 @@ export interface CardProps extends Omit<HTMLAttributes<HTMLElement>, 'role'>, Va
|
|
|
19
19
|
asChild?: boolean;
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
}
|
|
22
|
+
export interface CardHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
23
|
+
/**
|
|
24
|
+
* Optional trailing affordance beside the title, intended for an
|
|
25
|
+
* `<InfoTip size="sm" />`. It renders outside the element that names the
|
|
26
|
+
* card, so the card is announced by its title alone. Not for an
|
|
27
|
+
* `interactive` Card (a button inside a button).
|
|
28
|
+
*/
|
|
29
|
+
info?: ReactNode;
|
|
30
|
+
}
|
|
22
31
|
export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLElement>> & {
|
|
23
|
-
Header: import("react").ForwardRefExoticComponent<
|
|
32
|
+
Header: import("react").ForwardRefExoticComponent<CardHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
33
|
Media: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
34
|
Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
35
|
Footer: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-jBf9U4At.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|