@alfadocs/ui-kit 1.8.0 → 1.9.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/{actions-cell-renderer-ALEAGO3j.js → actions-cell-renderer-B2pw6iH8.js} +2 -2
- package/dist/_chunks/{file-manager-Cc_upjZX.js → file-manager-Crg5dKez.js} +2 -2
- package/dist/_chunks/{patient-table-BqYomX50.js → patient-table-ChXM2K7H.js} +10 -6
- package/dist/agent-catalog.json +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/patient-table/patient-table.d.ts +5 -4
- package/dist/index.js +3 -3
- package/dist/tokens.css +1 -0
- package/package.json +1 -1
package/dist/_chunks/{actions-cell-renderer-ALEAGO3j.js → actions-cell-renderer-B2pw6iH8.js}
RENAMED
|
@@ -1705,7 +1705,7 @@ function Me(e) {
|
|
|
1705
1705
|
return Ge(t, { className: n, size: t.props.size ?? 16 });
|
|
1706
1706
|
}
|
|
1707
1707
|
function ua(e) {
|
|
1708
|
-
return Math.max(1, e) * 32 +
|
|
1708
|
+
return Math.max(1, e) * 32 + 28;
|
|
1709
1709
|
}
|
|
1710
1710
|
function be(e, t) {
|
|
1711
1711
|
return typeof e == "function" ? e(t) : !!e;
|
|
@@ -1781,4 +1781,4 @@ export {
|
|
|
1781
1781
|
da as h,
|
|
1782
1782
|
j as i
|
|
1783
1783
|
};
|
|
1784
|
-
//# sourceMappingURL=actions-cell-renderer-
|
|
1784
|
+
//# sourceMappingURL=actions-cell-renderer-B2pw6iH8.js.map
|
|
@@ -16,7 +16,7 @@ import { F as Nt, a as Tt } from "./file-Cwe9VC1A.js";
|
|
|
16
16
|
import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
17
17
|
import { F as At } from "./file-spreadsheet-DmwyfV4O.js";
|
|
18
18
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
19
|
-
import { A as Rt, d as It, D as Te } from "./actions-cell-renderer-
|
|
19
|
+
import { A as Rt, d as It, D as Te } from "./actions-cell-renderer-B2pw6iH8.js";
|
|
20
20
|
import { B as $e } from "./badge-sTusUqZD.js";
|
|
21
21
|
import { D as Ge } from "./download-CfYKJO_j.js";
|
|
22
22
|
import { P as zt } from "./pen-line-D0De5zdl.js";
|
|
@@ -1756,4 +1756,4 @@ export {
|
|
|
1756
1756
|
yn as F,
|
|
1757
1757
|
Gt as f
|
|
1758
1758
|
};
|
|
1759
|
-
//# sourceMappingURL=file-manager-
|
|
1759
|
+
//# sourceMappingURL=file-manager-Crg5dKez.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as O, jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as x, useRef as k, useEffect as ee, useCallback as z, forwardRef as he, useState as te, useImperativeHandle as pe, useMemo as Y } from "react";
|
|
3
3
|
import { useTranslation as $ } from "react-i18next";
|
|
4
|
-
import { a as p, T as b, A as be, d as ne, D as P, e as ge } from "./actions-cell-renderer-
|
|
4
|
+
import { a as p, T as b, A as be, d as ne, D as P, e as ge } from "./actions-cell-renderer-B2pw6iH8.js";
|
|
5
5
|
import { S as Ce } from "./select-BW5ecXlX.js";
|
|
6
6
|
import { u as ve } from "./registry-DvAUVLHh.js";
|
|
7
7
|
import { I as Ne, L as we, b as L, a as _, c as U, N as H, d as F, S as R, T as ie, D as K, C as Te, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-BZQtsuFz.js";
|
|
@@ -285,9 +285,13 @@ function Ze(e, i = {}) {
|
|
|
285
285
|
// Hug the 32px (size="sm") avatar + cell padding — a tight fixed column,
|
|
286
286
|
// not a wide empty one. width === minWidth === maxWidth pins it to size so
|
|
287
287
|
// the pinned group can't stretch it (pinned columns never flex).
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
//
|
|
289
|
+
// 48 = 32 (avatar) + 16 (--spacing-sm each side, the reduced padding the
|
|
290
|
+
// theme gives graphic-only cells). The old 52 assumed 20px of padding
|
|
291
|
+
// against a cell that actually had 30px, so the avatar clipped by 10px.
|
|
292
|
+
width: 48,
|
|
293
|
+
minWidth: 48,
|
|
294
|
+
maxWidth: 48
|
|
291
295
|
// Anchor — never auto-hidden (no tier).
|
|
292
296
|
},
|
|
293
297
|
/* ── First name (P0, pinned-start) — plain text ────────────────── */
|
|
@@ -973,7 +977,7 @@ const lt = he(
|
|
|
973
977
|
loading: a = !1,
|
|
974
978
|
toolbar: w,
|
|
975
979
|
hideQuickSearch: t = !1,
|
|
976
|
-
pagination: n = !
|
|
980
|
+
pagination: n = !1,
|
|
977
981
|
paginationPageSizeSelector: r,
|
|
978
982
|
hideDetails: h = !1,
|
|
979
983
|
identityHref: v,
|
|
@@ -1101,4 +1105,4 @@ export {
|
|
|
1101
1105
|
q as g,
|
|
1102
1106
|
tt as u
|
|
1103
1107
|
};
|
|
1104
|
-
//# sourceMappingURL=patient-table-
|
|
1108
|
+
//# sourceMappingURL=patient-table-ChXM2K7H.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, D as l, E as t, T as s, a as d, b as n, c as o, d as i, e as R, f as C, g as T, i as F, h as g } from "../../_chunks/actions-cell-renderer-
|
|
1
|
+
import { A as r, D as l, E as t, T as s, a as d, b as n, c as o, d as i, e as R, f as C, g as T, i as F, h as g } from "../../_chunks/actions-cell-renderer-B2pw6iH8.js";
|
|
2
2
|
import { B as b, C as u, E as x, a as c, R as p, T as E, b as m, r as f, u as h } from "../../_chunks/editable-currency-cell-renderer-DYdzKpjL.js";
|
|
3
3
|
import { C as A, D as w, a as y, b as I, I as L, L as N, N as P, c as W, S as B, d as U, e as _, T as k, f as v, g as O, U as X } from "../../_chunks/link-cell-renderer-BZQtsuFz.js";
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-
|
|
1
|
+
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-ChXM2K7H.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -130,10 +130,11 @@ export interface PatientTableProps {
|
|
|
130
130
|
*/
|
|
131
131
|
hideQuickSearch?: boolean;
|
|
132
132
|
/**
|
|
133
|
-
* Enable the grid's client-side pagination. When `false
|
|
134
|
-
* a single virtualised, scrollable view and filter / sort act
|
|
135
|
-
* set (no pager) — the right model for a "load and filter all"
|
|
136
|
-
* `true
|
|
133
|
+
* Enable the grid's client-side pagination. When `false` (the default), every
|
|
134
|
+
* row loads into a single virtualised, scrollable view and filter / sort act
|
|
135
|
+
* over the WHOLE set (no pager) — the right model for a "load and filter all"
|
|
136
|
+
* list, which is what a patient list is. Pass `true` for a surface that really
|
|
137
|
+
* wants a pager.
|
|
137
138
|
*/
|
|
138
139
|
pagination?: boolean;
|
|
139
140
|
/**
|
package/dist/index.js
CHANGED
|
@@ -75,14 +75,14 @@ import { C as Hr, c as vr } from "./_chunks/carousel.agent-CLxdHEBP.js";
|
|
|
75
75
|
import { C as Ur, c as Vr } from "./_chunks/connection-status-DRZIcMqM.js";
|
|
76
76
|
import { C as Kr } from "./_chunks/contact-card-0hnFJwrz.js";
|
|
77
77
|
import { C as Xr } from "./_chunks/counter-dRlTNC_y.js";
|
|
78
|
-
import { A as zr, D as jr, E as Qr, T as Jr, a as Zr, b as $r, c as ao, d as eo, e as so, f as ro, g as oo, i as to, h as no } from "./_chunks/actions-cell-renderer-
|
|
78
|
+
import { A as zr, D as jr, E as Qr, T as Jr, a as Zr, b as $r, c as ao, d as eo, e as so, f as ro, g as oo, i as to, h as no } from "./_chunks/actions-cell-renderer-B2pw6iH8.js";
|
|
79
79
|
import { B as po, C as mo, E as lo, a as Ao, R as co, T as fo, b as go, r as So, u as Co } from "./_chunks/editable-currency-cell-renderer-DYdzKpjL.js";
|
|
80
80
|
import { C as xo, D as uo, a as Po, b as Io, I as Eo, L as Ro, N as bo, c as _o, S as No, d as Do, e as ho, T as Oo, f as Fo, g as Lo, U as Mo } from "./_chunks/link-cell-renderer-BZQtsuFz.js";
|
|
81
81
|
import { D as ko, d as Bo, a as Go, b as Ho } from "./_chunks/data-table-tabs-C1kRUzat.js";
|
|
82
82
|
import { C as wo, c as Uo } from "./_chunks/clinical-note-card-BBgFd2nB.js";
|
|
83
83
|
import { D as Wo } from "./_chunks/description-list-CjJqR8WK.js";
|
|
84
84
|
import { E as Yo } from "./_chunks/empty-state-X0sVPfVo.js";
|
|
85
|
-
import { F as qo, f as zo } from "./_chunks/file-manager-
|
|
85
|
+
import { F as qo, f as zo } from "./_chunks/file-manager-Crg5dKez.js";
|
|
86
86
|
import { F as Qo, a as Jo, h as Zo } from "./_chunks/flag-DVBE6DnB.js";
|
|
87
87
|
import { K as at, k as et } from "./_chunks/kbd-D855ZXIW.js";
|
|
88
88
|
import { K as rt, a as ot } from "./_chunks/key-value-pair-BubG4fUa.js";
|
|
@@ -193,7 +193,7 @@ import { P as WA, p as KA } from "./_chunks/patient-details-xrqe13az.js";
|
|
|
193
193
|
import { P as XA, p as qA } from "./_chunks/patient-search-D5ufYoRc.js";
|
|
194
194
|
import { P as jA, p as QA } from "./_chunks/patient-summary-card-CBfuDvJ5.js";
|
|
195
195
|
import { A as ZA, a as $A } from "./_chunks/anamnesis-summary-card-DGVKBQoq.js";
|
|
196
|
-
import { B as ec, C as sc, N as rc, P as oc, a as tc, b as nc, g as ic, u as pc } from "./_chunks/patient-table-
|
|
196
|
+
import { B as ec, C as sc, N as rc, P as oc, a as tc, b as nc, g as ic, u as pc } from "./_chunks/patient-table-ChXM2K7H.js";
|
|
197
197
|
import { B as lc, M as dc, P as Ac, a as cc, b as fc, c as gc, d as Sc, S as Cc, e as Tc, f as xc, g as uc, h as Pc, p as Ic, i as Ec, j as Rc, k as bc, s as _c, t as Nc, l as Dc } from "./_chunks/periodontal-chart-BatZEFar.js";
|
|
198
198
|
import { P as Oc, a as Fc, p as Lc } from "./_chunks/periodontal-chart-card-BBpY_rBc.js";
|
|
199
199
|
import { D as yc, P as kc, a as Bc, b as Gc, c as Hc, S as vc, e as wc, i as Uc, p as Vc } from "./_chunks/periodontal-diagnosis-HrFsVi-C.js";
|
package/dist/tokens.css
CHANGED
|
@@ -1351,6 +1351,7 @@ button.ag-side-button-button:focus{box-shadow:none}
|
|
|
1351
1351
|
.ag-theme-alfadocs .ag-paging-page-size select,.ag-theme-alfadocs .ag-paging-page-size .ag-picker-field-wrapper{min-block-size:0;block-size:calc(var(--min-target-size) - var(--spacing-md));padding-inline:var(--spacing-sm);border:var(--border-width-sm) solid var(--border);border-radius:var(--radius-sm);background:var(--background);color:var(--foreground);font:inherit}
|
|
1352
1352
|
.ag-theme-alfadocs .ag-paging-panel{border:0;border-block-start:var(--border-width-sm) solid color-mix(in srgb,var(--border) 50%,transparent);padding-block:var(--spacing-sm);padding-inline:var(--spacing-md)}
|
|
1353
1353
|
.ag-theme-alfadocs .ag-cell{display:flex;align-items:center;line-height:var(--line-height-base, 1.5);font-feature-settings:"tnum";letter-spacing:0}
|
|
1354
|
+
.ag-theme-alfadocs .ag-cell:has([data-component=avatar]),.ag-theme-alfadocs .ag-cell:has([data-component=icon-button-group]){padding-inline:var(--spacing-sm)}
|
|
1354
1355
|
.ag-theme-alfadocs .ag-cell.ag-row-group{align-items:flex-start}
|
|
1355
1356
|
.ag-theme-alfadocs .ag-right-aligned-cell{justify-content:flex-end}
|
|
1356
1357
|
.ag-theme-alfadocs .ag-cell-wrapper.ag-row-group .ag-group-value{align-self:stretch;display:flex;align-items:center}
|
package/package.json
CHANGED