@alfadocs/ui-kit 0.94.0 → 0.95.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/{apexcharts-theme-fAQXLIMW.js → apexcharts-theme-B_AxGC_h.js} +25 -20
- package/dist/_chunks/chart-DR68TJD5.js +705 -0
- package/dist/_chunks/{date-range-picker-Cfv4Sr63.js → date-range-picker-pEG3Ln3i.js} +314 -297
- package/dist/_chunks/{link-cell-renderer-_LDZhY4r.js → link-cell-renderer-flfZh2qY.js} +2 -2
- package/dist/_chunks/{patient-table-CFM92QqU.js → patient-table-CvZTIM2R.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-DDnDGVpN.js → radiograph-panel.agent-AsXJBr1p.js} +2 -2
- package/dist/_chunks/{sparkline-o6JH4O66.js → sparkline-DcXqRZoq.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/chart/chart.d.ts +12 -5
- package/dist/components/chart/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +10 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/index.js +6 -6
- package/dist/tokens/apexcharts-theme.d.ts +19 -33
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/chart-DqxVCm1I.js +0 -664
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { useState as w, useEffect as R, useMemo as z } from "react";
|
|
3
3
|
import { useGridFilter as q } from "ag-grid-react";
|
|
4
|
-
import { D as H } from "./date-range-picker-
|
|
4
|
+
import { D as H } from "./date-range-picker-pEG3Ln3i.js";
|
|
5
5
|
import { useTranslation as O } from "react-i18next";
|
|
6
6
|
import { C as Z } from "./checkbox-BuZ1u__2.js";
|
|
7
7
|
import { B as D } from "./button-CPGiR_bH.js";
|
|
@@ -725,4 +725,4 @@ export {
|
|
|
725
725
|
Oe as f,
|
|
726
726
|
Pe as g
|
|
727
727
|
};
|
|
728
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
728
|
+
//# sourceMappingURL=link-cell-renderer-flfZh2qY.js.map
|
|
@@ -4,7 +4,7 @@ import { useTranslation as $ } from "react-i18next";
|
|
|
4
4
|
import { a as p, T as b, A as be, d as ne, D as P, e as ge } from "./actions-cell-renderer-DaL80uqL.js";
|
|
5
5
|
import { S as Ce } from "./select-BW5ecXlX.js";
|
|
6
6
|
import { u as ve } from "./registry-DvAUVLHh.js";
|
|
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-
|
|
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-flfZh2qY.js";
|
|
8
8
|
import { B as ae } from "./badge-DCOqV9mI.js";
|
|
9
9
|
import { c as Pe } from "./index-D2ZczOXr.js";
|
|
10
10
|
import { T as We } from "./timestamp-BV2lC-wV.js";
|
|
@@ -1097,4 +1097,4 @@ export {
|
|
|
1097
1097
|
q as g,
|
|
1098
1098
|
tt as u
|
|
1099
1099
|
};
|
|
1100
|
-
//# sourceMappingURL=patient-table-
|
|
1100
|
+
//# sourceMappingURL=patient-table-CvZTIM2R.js.map
|
package/dist/_chunks/{radiograph-panel.agent-DDnDGVpN.js → radiograph-panel.agent-AsXJBr1p.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { F as V } from "./form-field-M5UpX65Z.js";
|
|
|
9
9
|
import { T as oe } from "./text-area-Bt3p7Pt0.js";
|
|
10
10
|
import { F as de } from "./file-upload-CwxdqkMK.js";
|
|
11
11
|
import { D as te } from "./date-picker-BP_W6VtE.js";
|
|
12
|
-
import { D as le } from "./date-range-picker-
|
|
12
|
+
import { D as le } from "./date-range-picker-pEG3Ln3i.js";
|
|
13
13
|
import { E } from "./empty-state-CrLsi0XI.js";
|
|
14
14
|
import { P as ne } from "./panel-header-D313n_9-.js";
|
|
15
15
|
import { c as $ } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
qe as R,
|
|
534
534
|
Ae as r
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=radiograph-panel.agent-
|
|
536
|
+
//# sourceMappingURL=radiograph-panel.agent-AsXJBr1p.js.map
|
|
@@ -4,7 +4,7 @@ import { c as Z } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as $ } from "react-i18next";
|
|
5
5
|
import q from "react-apexcharts";
|
|
6
6
|
import R from "apexcharts";
|
|
7
|
-
import { g as U, u as J } from "./apexcharts-theme-
|
|
7
|
+
import { g as U, u as J } from "./apexcharts-theme-B_AxGC_h.js";
|
|
8
8
|
import { u as Q } from "./registry-DvAUVLHh.js";
|
|
9
9
|
function X(n) {
|
|
10
10
|
if (n.length < 2)
|
|
@@ -280,4 +280,4 @@ export {
|
|
|
280
280
|
Y as s,
|
|
281
281
|
X as u
|
|
282
282
|
};
|
|
283
|
-
//# sourceMappingURL=sparkline-
|
|
283
|
+
//# sourceMappingURL=sparkline-DcXqRZoq.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -10,11 +10,18 @@ export interface ChartSeries {
|
|
|
10
10
|
* Marks this series as a secondary "compare" overlay — e.g. the previous
|
|
11
11
|
* period in a current-vs-previous financial view. Rendered visually
|
|
12
12
|
* subordinate and colour-blind-safe, distinguished from primary series by
|
|
13
|
-
* BOTH a non-colour cue AND a
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* -
|
|
17
|
-
*
|
|
13
|
+
* BOTH a non-colour cue AND a lighter shade of the SAME hue (never colour
|
|
14
|
+
* alone). The compare series inherits its PAIRED primary's colour (k-th
|
|
15
|
+
* compare pairs with the k-th primary, by order), then:
|
|
16
|
+
* - line / area: a round-DOTTED stroke in the paired-primary colour (the
|
|
17
|
+
* dotted-vs-solid pattern is the non-colour cue); area also gets a tinted
|
|
18
|
+
* fill at `--chart-compare-fill-opacity`.
|
|
19
|
+
* - bar: a tinted fill (paired-primary hue at `--chart-compare-fill-opacity`)
|
|
20
|
+
* under a full-strength DOTTED outline that is OPEN at the baseline — so a
|
|
21
|
+
* compare bar reads as an outlined "ghost" of its solid primary.
|
|
22
|
+
* The legend swatch shows the lighter tint (via `legend.markers.fillColors`),
|
|
23
|
+
* and the series name (e.g. "Revenue (previous period)") remains the primary
|
|
24
|
+
* signal in the legend and the screen-reader table.
|
|
18
25
|
* Only meaningful on axis types (line / area / bar); it is structurally
|
|
19
26
|
* impossible on pie / donut / radialBar (their `series` is `number[]`, which
|
|
20
27
|
* cannot carry this field), so the axis-only invariant is enforced by the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as r, D as l, T as t, a as s, b as n, c as o, d, e as i, f as C } from "../../_chunks/actions-cell-renderer-DaL80uqL.js";
|
|
2
2
|
import { B as T, C as F, E as g, a as b, R as u, T as c, b as m, r as f, u as x } from "../../_chunks/editable-currency-cell-renderer-Dus_sBvX.js";
|
|
3
|
-
import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-
|
|
3
|
+
import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-flfZh2qY.js";
|
|
4
4
|
export {
|
|
5
5
|
r as ActionsCellRenderer,
|
|
6
6
|
T as BalanceCellRenderer,
|
|
@@ -117,7 +117,16 @@ export interface DateRangePickerProps extends Pick<VariantProps<typeof triggerVa
|
|
|
117
117
|
* `onCompareChange`.
|
|
118
118
|
*/
|
|
119
119
|
compare?: boolean;
|
|
120
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Controlled checked state of the compare toggle — the APPLIED compare
|
|
122
|
+
* on/off value. Pair with `onCompareChange` and drive it from the consumer
|
|
123
|
+
* so a reopened picker reflects the applied state. When omitted the toggle
|
|
124
|
+
* is uncontrolled and seeded from `defaultCompare`. This is distinct from
|
|
125
|
+
* `compare`, which only decides whether the control renders. Only
|
|
126
|
+
* meaningful when `compare` is set.
|
|
127
|
+
*/
|
|
128
|
+
compareEnabled?: boolean;
|
|
129
|
+
/** Start with compare enabled — uncontrolled initial checked state (only meaningful when `compare` is set). */
|
|
121
130
|
defaultCompare?: boolean;
|
|
122
131
|
defaultCompareMode?: DateRangeCompareMode;
|
|
123
132
|
onCompareChange?: (enabled: boolean, compareRange?: DateRangeValue) => void;
|
|
@@ -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-CvZTIM2R.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import { A as Oe, B as ke, C as Be } from "./_chunks/color-picker-D-tUwxxT.js";
|
|
|
25
25
|
import { C as He, c as Ge, a as Ve, b as Ue, d as We, e as ze } from "./_chunks/combobox-DiMLItyu.js";
|
|
26
26
|
import { C as Ye, c as je } from "./_chunks/copy-field-DBc9QquW.js";
|
|
27
27
|
import { D as qe, d as Qe } from "./_chunks/date-picker-BP_W6VtE.js";
|
|
28
|
-
import { D as Je, d as Ze } from "./_chunks/date-range-picker-
|
|
28
|
+
import { D as Je, d as Ze } from "./_chunks/date-range-picker-pEG3Ln3i.js";
|
|
29
29
|
import { D as es, d as ss } from "./_chunks/date-time-picker-695QvBGj.js";
|
|
30
30
|
import { P as ts } from "./_chunks/pregnancy-dating-BdFl-rB1.js";
|
|
31
31
|
import { D as is } from "./_chunks/due-date-calculator-BEcdoy_E.js";
|
|
@@ -77,7 +77,7 @@ import { C as so } from "./_chunks/contact-card-0hnFJwrz.js";
|
|
|
77
77
|
import { C as to } from "./_chunks/counter-dRlTNC_y.js";
|
|
78
78
|
import { A as io, D as no, T as lo, a as mo, b as po, c as co, d as fo, e as go, f as Ao } from "./_chunks/actions-cell-renderer-DaL80uqL.js";
|
|
79
79
|
import { B as xo, C as Co, E as So, a as To, R as Io, T as Po, b as ho, r as No, u as bo } from "./_chunks/editable-currency-cell-renderer-Dus_sBvX.js";
|
|
80
|
-
import { C as Ro, D as _o, a as yo, b as vo, I as Do, L as Fo, N as Mo, c as Lo, S as Oo, d as ko, e as Bo, T as wo, f as Ho, g as Go, U as Vo } from "./_chunks/link-cell-renderer-
|
|
80
|
+
import { C as Ro, D as _o, a as yo, b as vo, I as Do, L as Fo, N as Mo, c as Lo, S as Oo, d as ko, e as Bo, T as wo, f as Ho, g as Go, U as Vo } from "./_chunks/link-cell-renderer-flfZh2qY.js";
|
|
81
81
|
import { D as Wo, d as zo, a as Ko, b as Yo } from "./_chunks/data-table-tabs-BEUXiRlu.js";
|
|
82
82
|
import { C as Xo, c as qo } from "./_chunks/clinical-note-card-C7F_24IC.js";
|
|
83
83
|
import { D as $o } from "./_chunks/description-list-ClNLdRMy.js";
|
|
@@ -93,7 +93,7 @@ import { M as Ci } from "./_chunks/map-view-CsaHfoo6.js";
|
|
|
93
93
|
import { R as Ti } from "./_chunks/rating-BYbUowdK.js";
|
|
94
94
|
import { S as Pi } from "./_chunks/skeleton-CZbwyJAA.js";
|
|
95
95
|
import { S as Ni } from "./_chunks/smart-date-CsPlilQA.js";
|
|
96
|
-
import { S as Ei, s as Ri, u as _i } from "./_chunks/sparkline-
|
|
96
|
+
import { S as Ei, s as Ri, u as _i } from "./_chunks/sparkline-DcXqRZoq.js";
|
|
97
97
|
import { S as H } from "./_chunks/stat-Bs80Z6Yv.js";
|
|
98
98
|
import { T as vi } from "./_chunks/tag-3wgkwwDB.js";
|
|
99
99
|
import { T as Fi, t as Mi } from "./_chunks/timeline-r-8IUoBS.js";
|
|
@@ -140,7 +140,7 @@ import { n as zd } from "./_chunks/notification-card.agent-DxGBZb8T.js";
|
|
|
140
140
|
import { N as Yd, n as jd } from "./_chunks/notification-tray-CzIzz3bX.js";
|
|
141
141
|
import { N as qd } from "./_chunks/notes-panel-BLjlYBt-.js";
|
|
142
142
|
import { P as $d, p as Jd } from "./_chunks/popover-Cc0a69sw.js";
|
|
143
|
-
import { R as am, I as em, r as sm } from "./_chunks/radiograph-panel.agent-
|
|
143
|
+
import { R as am, I as em, r as sm } from "./_chunks/radiograph-panel.agent-AsXJBr1p.js";
|
|
144
144
|
import { P as tm, R as om, T as im, a as nm, r as lm } from "./_chunks/pregnancy-weight-gain-B-CkVYnU.js";
|
|
145
145
|
import { P as mm, p as pm } from "./_chunks/privacy-lock-YYBiI_bY.js";
|
|
146
146
|
import { P as fm, a as gm, p as Am, b as um } from "./_chunks/product-hub-panel-CTld1r5V.js";
|
|
@@ -164,7 +164,7 @@ import { S as hp } from "./_chunks/separator-CYU_bGFn.js";
|
|
|
164
164
|
import { T as bp } from "./_chunks/theme-root-BOO73p5t.js";
|
|
165
165
|
import { C as Rp, U as _p, a as yp, b as vp, c as Dp } from "./_chunks/unit-converter-CSLWFDQh.js";
|
|
166
166
|
import { V as Mp } from "./_chunks/visually-hidden-BHxEUGyT.js";
|
|
167
|
-
import { C as Op, c as kp, a as Bp } from "./_chunks/chart-
|
|
167
|
+
import { C as Op, c as kp, a as Bp } from "./_chunks/chart-DR68TJD5.js";
|
|
168
168
|
import { A as Hp, a as Gp } from "./_chunks/ai-prompt-input-DziJCGLe.js";
|
|
169
169
|
import { A as Up, a as Wp } from "./_chunks/audio-recorder-BjnB7V8n.js";
|
|
170
170
|
import { A as Kp } from "./_chunks/audio-visualiser-l6zPd0AG.js";
|
|
@@ -191,7 +191,7 @@ import { O as wf, o as Hf } from "./_chunks/operator-hero-DVy0RGoD.js";
|
|
|
191
191
|
import { P as Vf, p as Uf } from "./_chunks/patient-details-DrhlTrLf.js";
|
|
192
192
|
import { P as zf, p as Kf } from "./_chunks/patient-search-vtRTSdf6.js";
|
|
193
193
|
import { P as jf, p as Xf } from "./_chunks/patient-summary-card-vn1H4xWj.js";
|
|
194
|
-
import { B as Qf, C as $f, N as Jf, P as Zf, a as ag, b as eg, g as sg, u as rg } from "./_chunks/patient-table-
|
|
194
|
+
import { B as Qf, C as $f, N as Jf, P as Zf, a as ag, b as eg, g as sg, u as rg } from "./_chunks/patient-table-CvZTIM2R.js";
|
|
195
195
|
import { B as og, M as ig, P as ng, a as lg, b as dg, c as mg, d as pg, S as cg, e as fg, f as gg, g as Ag, h as ug, p as xg, i as Cg, j as Sg, k as Tg, s as Ig, t as Pg, l as hg } from "./_chunks/periodontal-chart-CYBhr9vc.js";
|
|
196
196
|
import { P as bg, a as Eg, p as Rg } from "./_chunks/periodontal-chart-card-WVjJAheq.js";
|
|
197
197
|
import { D as yg, P as vg, a as Dg, b as Fg, c as Mg, S as Lg, e as Og, i as kg, p as Bg } from "./_chunks/periodontal-diagnosis-cco40xTa.js";
|
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import type ApexCharts from 'apexcharts';
|
|
2
|
+
/** The theme-bridge output. */
|
|
3
|
+
export type ApexChartsTheme = ApexCharts.ApexOptions;
|
|
2
4
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
* the
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* Compare fill opacity from the `--chart-compare-fill-opacity` token. Drives
|
|
6
|
+
* the per-series `fill.opacity` of a compare bar / area overlay (see
|
|
7
|
+
* `ChartSeries.role` in `src/components/chart/chart.tsx`). Theme-invariant —
|
|
8
|
+
* the token value itself does not shift between themes; the resulting COLOUR
|
|
9
|
+
* retints because it is mixed from the theme-shifting primary and background
|
|
10
|
+
* (see `resolveCompareTint`). Falls back to 0.18 outside a browser.
|
|
9
11
|
*/
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* Decorative faint grey wash for the compare area gradient tint only.
|
|
22
|
-
* Sourced from `--calendar-compare-fill`, which is a `color-mix()` string
|
|
23
|
-
* that `getPropertyValue` returns UNRESOLVED, so it is resolved via a
|
|
24
|
-
* detached probe (see `resolveColour`).
|
|
25
|
-
*/
|
|
26
|
-
wash: string;
|
|
27
|
-
}
|
|
28
|
-
/** The theme-bridge output, plus resolved compare-overlay colours. */
|
|
29
|
-
export interface ApexChartsTheme extends ApexCharts.ApexOptions {
|
|
30
|
-
/**
|
|
31
|
-
* Resolved compare-overlay colours. Read ONLY inside the chart's
|
|
32
|
-
* `hasCompare` branches and never spread into the ApexCharts options object,
|
|
33
|
-
* so a chart with no compare series emits byte-identical options.
|
|
34
|
-
*/
|
|
35
|
-
compare?: ApexCompareColors;
|
|
36
|
-
}
|
|
12
|
+
export declare function getCompareFillOpacity(): number;
|
|
13
|
+
/**
|
|
14
|
+
* Resolve a compare TINT: the paired primary mixed OVER the surface at the
|
|
15
|
+
* compare opacity, so it is an opaque lighter shade of the same hue — used for
|
|
16
|
+
* the legend swatch (and anywhere the tint is needed as a solid colour).
|
|
17
|
+
* `primary` is an already-resolved colour (the k-th primary's colour). Uses the
|
|
18
|
+
* same detached probe the bridge uses for `color-mix`, so it retints per theme
|
|
19
|
+
* with no new observer and no hex literal in component code. Returns `primary`
|
|
20
|
+
* untouched outside a browser.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveCompareTint(primary: string): string;
|
|
37
23
|
export declare function getApexChartsTheme(): ApexChartsTheme;
|
|
38
24
|
//# sourceMappingURL=apexcharts-theme.d.ts.map
|