basalt-ui 2.21.0 → 2.22.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/CHANGELOG.md +33 -0
- package/MIGRATING.md +277 -12
- package/agent/agents/basalt-design-reviewer.md +1 -1
- package/agent/rules/basalt-tokens.md +1 -1
- package/agent/skills/basalt-design/SKILL.md +1 -1
- package/agent/skills/basalt-design/references/anti-defaults.md +1 -1
- package/agent/skills/basalt-design/references/catalogue.md +1 -0
- package/dist/charts/BandStrip.d.ts.map +1 -1
- package/dist/charts/BandStrip.js +27 -3
- package/dist/charts/Bars.d.ts.map +1 -1
- package/dist/charts/Bars.js +5 -0
- package/dist/charts/CartesianChart.d.ts +8 -0
- package/dist/charts/CartesianChart.d.ts.map +1 -1
- package/dist/charts/CartesianChart.js +8 -5
- package/dist/charts/ChartCard.d.ts +12 -3
- package/dist/charts/ChartCard.d.ts.map +1 -1
- package/dist/charts/ChartCard.js +29 -8
- package/dist/charts/DualPanel.d.ts.map +1 -1
- package/dist/charts/DualPanel.js +5 -8
- package/dist/charts/Heatmap.d.ts +12 -1
- package/dist/charts/Heatmap.d.ts.map +1 -1
- package/dist/charts/Heatmap.js +34 -5
- package/dist/charts/Lines.d.ts +3 -0
- package/dist/charts/Lines.d.ts.map +1 -1
- package/dist/charts/Lines.js +29 -6
- package/dist/charts/MirroredBars.d.ts.map +1 -1
- package/dist/charts/MirroredBars.js +4 -6
- package/dist/charts/Sparkline.d.ts +7 -1
- package/dist/charts/Sparkline.d.ts.map +1 -1
- package/dist/charts/Sparkline.js +39 -14
- package/dist/charts/StackedArea.d.ts +4 -1
- package/dist/charts/StackedArea.d.ts.map +1 -1
- package/dist/charts/StackedArea.js +9 -3
- package/dist/charts/band-fold.d.ts +20 -1
- package/dist/charts/band-fold.d.ts.map +1 -1
- package/dist/charts/band-fold.js +9 -0
- package/dist/charts/chart-box.module.css +19 -0
- package/dist/charts/chart-card.module.css +25 -0
- package/dist/charts/chart-legend.module.css +7 -0
- package/dist/charts/compile.d.ts +17 -6
- package/dist/charts/compile.d.ts.map +1 -1
- package/dist/charts/compile.js +145 -74
- package/dist/charts/labels.d.ts +15 -4
- package/dist/charts/labels.d.ts.map +1 -1
- package/dist/charts/labels.js +34 -10
- package/dist/charts/legend.d.ts +2 -0
- package/dist/charts/legend.d.ts.map +1 -1
- package/dist/charts/legend.js +7 -21
- package/dist/charts/marks.js +1 -1
- package/dist/charts/panel.d.ts +0 -6
- package/dist/charts/panel.d.ts.map +1 -1
- package/dist/charts/panel.js +1 -10
- package/dist/charts/ref-label.d.ts +26 -0
- package/dist/charts/ref-label.d.ts.map +1 -0
- package/dist/charts/ref-label.js +63 -0
- package/dist/charts/scales.d.ts +4 -1
- package/dist/charts/scales.d.ts.map +1 -1
- package/dist/charts/scales.js +14 -3
- package/dist/charts/sparkline.module.css +10 -11
- package/dist/charts/sparkline.module.css.d.ts +1 -2
- package/dist/charts/state.d.ts +2 -0
- package/dist/charts/state.d.ts.map +1 -1
- package/dist/charts/state.js +2 -1
- package/dist/charts/types.d.ts +14 -5
- package/dist/charts/types.d.ts.map +1 -1
- package/dist/cli/doctor-upgrade.d.ts +1 -0
- package/dist/cli/doctor-upgrade.d.ts.map +1 -1
- package/dist/cli/doctor-upgrade.js +1 -0
- package/dist/cli/init.d.ts +2 -0
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +68 -4
- package/dist/cli/shot/capture.d.ts +21 -2
- package/dist/cli/shot/capture.d.ts.map +1 -1
- package/dist/cli/shot/capture.js +194 -32
- package/dist/cli/shot/detect.d.ts.map +1 -1
- package/dist/cli/shot/detect.js +14 -1
- package/dist/cli/shot/playwright.d.ts +5 -2
- package/dist/cli/shot/playwright.d.ts.map +1 -1
- package/dist/cli/shot/types.d.ts +2 -0
- package/dist/cli/shot/types.d.ts.map +1 -1
- package/dist/cli/shot/types.js +2 -0
- package/dist/controls/controls.module.css +11 -1
- package/dist/controls/filter-pill.d.ts.map +1 -1
- package/dist/controls/filter-pill.js +1 -0
- package/dist/controls/sync-button.d.ts.map +1 -1
- package/dist/controls/sync-button.js +22 -3
- package/dist/controls/sync-button.module.css +34 -2
- package/dist/controls/sync-button.module.css.d.ts +1 -0
- package/dist/dashboard/bar-list.d.ts.map +1 -1
- package/dist/dashboard/bar-list.js +7 -8
- package/dist/dashboard/bar-list.module.css +53 -0
- package/dist/dashboard/bar-list.module.css.d.ts +1 -0
- package/dist/dashboard/index.d.ts +1 -0
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +2 -0
- package/dist/dashboard/meter-model.d.ts +77 -3
- package/dist/dashboard/meter-model.d.ts.map +1 -1
- package/dist/dashboard/meter-model.js +88 -15
- package/dist/dashboard/meter-parts.d.ts +8 -0
- package/dist/dashboard/meter-parts.d.ts.map +1 -1
- package/dist/dashboard/meter-parts.js +238 -71
- package/dist/dashboard/meter.d.ts +43 -60
- package/dist/dashboard/meter.d.ts.map +1 -1
- package/dist/dashboard/meter.js +20 -3
- package/dist/dashboard/meter.module.css +61 -0
- package/dist/dashboard/meter.module.css.d.ts +5 -0
- package/dist/dashboard/page-summary.d.ts +20 -0
- package/dist/dashboard/page-summary.d.ts.map +1 -0
- package/dist/dashboard/page-summary.js +28 -0
- package/dist/dashboard/page-summary.module.css +89 -0
- package/dist/dashboard/page-summary.module.css.d.ts +15 -0
- package/dist/dashboard/section.d.ts +25 -2
- package/dist/dashboard/section.d.ts.map +1 -1
- package/dist/dashboard/section.js +10 -5
- package/dist/dashboard/section.module.css +23 -0
- package/dist/dashboard/section.module.css.d.ts +1 -0
- package/dist/dashboard/stat-card-parts.d.ts.map +1 -1
- package/dist/dashboard/stat-card-parts.js +1 -1
- package/dist/dashboard/stat-card.d.ts +4 -2
- package/dist/dashboard/stat-card.d.ts.map +1 -1
- package/dist/dashboard/stat-card.js +7 -5
- package/dist/dashboard/stat-card.module.css +17 -0
- package/dist/dashboard/stat-strip.d.ts +7 -1
- package/dist/dashboard/stat-strip.d.ts.map +1 -1
- package/dist/dashboard/stat-strip.js +74 -46
- package/dist/dashboard/stat-strip.module.css +67 -20
- package/dist/dashboard/stat-strip.module.css.d.ts +4 -0
- package/dist/dashboard/visual-slot.d.ts +7 -1
- package/dist/dashboard/visual-slot.d.ts.map +1 -1
- package/dist/dashboard/visual-slot.js +3 -1
- package/dist/guard/vx-names.d.ts.map +1 -1
- package/dist/guard/vx-names.js +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/styles.css +34 -2
- package/dist/theme/chrome-vars.d.ts +20 -5
- package/dist/theme/chrome-vars.d.ts.map +1 -1
- package/dist/theme/chrome-vars.js +46 -3
- package/dist/theme/controls.module.css +23 -0
- package/dist/theme/controls.module.css.d.ts +1 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +8 -20
- package/dist/tokens/core.d.ts +2 -1
- package/dist/tokens/core.d.ts.map +1 -1
- package/dist/tokens/core.js +6 -1
- package/dist/tokens/derive.d.ts +3 -1
- package/dist/tokens/derive.d.ts.map +1 -1
- package/dist/tokens/derive.js +16 -1
- package/dist/tokens/palette.d.ts +4 -0
- package/dist/tokens/palette.d.ts.map +1 -1
- package/dist/tokens/palette.js +4 -0
- package/dist/tokens/status-text.d.ts.map +1 -1
- package/dist/tokens/status-text.js +3 -1
- package/llms.txt +38 -20
- package/package.json +1 -1
- package/src/charts/BandStrip.tsx +33 -3
- package/src/charts/Bars.tsx +6 -0
- package/src/charts/CartesianChart.tsx +16 -3
- package/src/charts/ChartCard.tsx +34 -6
- package/src/charts/DualPanel.tsx +3 -6
- package/src/charts/Heatmap.tsx +54 -5
- package/src/charts/Lines.tsx +56 -10
- package/src/charts/MirroredBars.tsx +3 -5
- package/src/charts/Sparkline.tsx +50 -13
- package/src/charts/StackedArea.tsx +14 -4
- package/src/charts/band-fold.ts +31 -1
- package/src/charts/chart-box.module.css +19 -0
- package/src/charts/chart-card.module.css +25 -0
- package/src/charts/chart-legend.module.css +7 -0
- package/src/charts/compile.ts +210 -85
- package/src/charts/labels.ts +48 -14
- package/src/charts/legend.tsx +10 -20
- package/src/charts/marks.ts +1 -1
- package/src/charts/panel.tsx +1 -16
- package/src/charts/ref-label.ts +104 -0
- package/src/charts/scales.ts +22 -2
- package/src/charts/sparkline.module.css +10 -11
- package/src/charts/sparkline.module.css.d.ts +1 -2
- package/src/charts/state.tsx +3 -1
- package/src/charts/types.ts +14 -5
- package/src/cli/doctor-upgrade.ts +1 -1
- package/src/cli/init.ts +100 -3
- package/src/cli/shot/capture.ts +251 -32
- package/src/cli/shot/detect.ts +18 -1
- package/src/cli/shot/playwright.ts +2 -2
- package/src/cli/shot/types.ts +3 -0
- package/src/controls/controls.module.css +11 -1
- package/src/controls/filter-pill.tsx +2 -0
- package/src/controls/sync-button.module.css +34 -2
- package/src/controls/sync-button.module.css.d.ts +1 -0
- package/src/controls/sync-button.tsx +40 -4
- package/src/dashboard/bar-list.module.css +53 -0
- package/src/dashboard/bar-list.module.css.d.ts +1 -0
- package/src/dashboard/bar-list.tsx +78 -69
- package/src/dashboard/index.ts +1 -0
- package/src/dashboard/meter-model.ts +186 -20
- package/src/dashboard/meter-parts.tsx +285 -64
- package/src/dashboard/meter.module.css +61 -0
- package/src/dashboard/meter.module.css.d.ts +5 -0
- package/src/dashboard/meter.tsx +60 -10
- package/src/dashboard/page-summary.module.css +89 -0
- package/src/dashboard/page-summary.module.css.d.ts +15 -0
- package/src/dashboard/page-summary.tsx +95 -0
- package/src/dashboard/section.module.css +23 -0
- package/src/dashboard/section.module.css.d.ts +1 -0
- package/src/dashboard/section.tsx +59 -11
- package/src/dashboard/stat-card-parts.tsx +5 -1
- package/src/dashboard/stat-card.module.css +17 -0
- package/src/dashboard/stat-card.tsx +12 -6
- package/src/dashboard/stat-strip.module.css +67 -20
- package/src/dashboard/stat-strip.module.css.d.ts +4 -0
- package/src/dashboard/stat-strip.tsx +118 -72
- package/src/dashboard/visual-slot.ts +12 -3
- package/src/guard/vx-names.ts +2 -0
- package/src/index.ts +2 -0
- package/src/styles.css +34 -2
- package/src/theme/__snapshots__/plain-theme.test.ts.snap +186 -60
- package/src/theme/chrome-vars.ts +77 -8
- package/src/theme/controls.module.css +23 -0
- package/src/theme/controls.module.css.d.ts +1 -0
- package/src/theme/index.ts +12 -25
- package/src/tokens/core.ts +4 -1
- package/src/tokens/derive.ts +32 -3
- package/src/tokens/palette.ts +4 -0
- package/src/tokens/status-text.ts +2 -0
package/dist/charts/Sparkline.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { dot } from "@tanstack/charts/dot";
|
|
3
3
|
import { decorative } from "@tanstack/charts/mark/decorative";
|
|
4
4
|
import { lineY } from "@tanstack/charts/line";
|
|
5
5
|
import { ruleY } from "@tanstack/charts/rule";
|
|
6
6
|
import { scaleBand } from "@tanstack/charts/scales/band";
|
|
7
7
|
import { scaleLinear } from "@tanstack/charts/scales/linear";
|
|
8
|
+
import { text } from "@tanstack/charts/text";
|
|
8
9
|
import { useId, useMemo, useState } from "react";
|
|
9
10
|
import { cx } from "../common/props.js";
|
|
10
|
-
import { VX } from "../tokens/index.js";
|
|
11
|
+
import { VX, alpha } from "../tokens/index.js";
|
|
11
12
|
import { chartCurve } from "./curves.js";
|
|
12
13
|
import { barMark } from "./marks.js";
|
|
13
14
|
import { defaultNumberFormat } from "./compile.js";
|
|
@@ -18,6 +19,9 @@ import { CHART_THEME, DASH } from "./theme.js";
|
|
|
18
19
|
const LINE_WIDTH = 1.5;
|
|
19
20
|
const DOT_R = 2.5;
|
|
20
21
|
const BAR_GAP = 0.15;
|
|
22
|
+
const LINE_INSET = 3;
|
|
23
|
+
const MUTED_LINE = alpha(VX.muted, 0.35);
|
|
24
|
+
const REFERENCE_LABEL_DY = -4;
|
|
21
25
|
const LINE_PX_PER_POINT = 1;
|
|
22
26
|
const BAR_PX_PER_BAR = 2;
|
|
23
27
|
const LINE_POOL_MIN = 4;
|
|
@@ -96,7 +100,7 @@ function frameOf([lo, hi], mark, count, hasEnd) {
|
|
|
96
100
|
const xPad = hasEnd ? (count - 1) * 0.04 || 0.5 : 0;
|
|
97
101
|
return { x: [-xPad, Math.max(count - 1, 1) + xPad], y: [lo - pad, hi + pad] };
|
|
98
102
|
}
|
|
99
|
-
function compileSparkline(source, extentOf, mark, color, emphasisColor, reference) {
|
|
103
|
+
function compileSparkline(source, extentOf, mark, color, emphasisColor, reference, referenceLabel) {
|
|
100
104
|
const frame = frameOf(extentOf, mark, source.length, emphasisColor !== null);
|
|
101
105
|
const referenceMark = () => reference === null ? [] : [
|
|
102
106
|
ruleY([reference], {
|
|
@@ -105,7 +109,21 @@ function compileSparkline(source, extentOf, mark, color, emphasisColor, referenc
|
|
|
105
109
|
strokeOpacity: 1,
|
|
106
110
|
strokeWidth: 1,
|
|
107
111
|
strokeDasharray: DASH
|
|
108
|
-
})
|
|
112
|
+
}),
|
|
113
|
+
...referenceLabel === void 0 ? [] : [
|
|
114
|
+
decorative(
|
|
115
|
+
text([reference], {
|
|
116
|
+
id: "reference-label",
|
|
117
|
+
x: () => mark === "bar" ? 0 : frame.x[0],
|
|
118
|
+
y: (v) => v,
|
|
119
|
+
text: () => referenceLabel,
|
|
120
|
+
fill: VX.ink2,
|
|
121
|
+
fontSize: VX.text.micro,
|
|
122
|
+
anchor: "start",
|
|
123
|
+
dy: REFERENCE_LABEL_DY
|
|
124
|
+
})
|
|
125
|
+
)
|
|
126
|
+
]
|
|
109
127
|
];
|
|
110
128
|
return {
|
|
111
129
|
chart: ({ width }) => {
|
|
@@ -163,7 +181,7 @@ function compileSparkline(source, extentOf, mark, color, emphasisColor, referenc
|
|
|
163
181
|
},
|
|
164
182
|
theme: CHART_THEME,
|
|
165
183
|
guides: false,
|
|
166
|
-
margin:
|
|
184
|
+
margin: LINE_INSET
|
|
167
185
|
};
|
|
168
186
|
}
|
|
169
187
|
};
|
|
@@ -194,11 +212,13 @@ function Sparkline(props) {
|
|
|
194
212
|
height,
|
|
195
213
|
width,
|
|
196
214
|
mark = "line",
|
|
197
|
-
|
|
215
|
+
tone,
|
|
216
|
+
color = tone === "muted" ? MUTED_LINE : VX.faint,
|
|
198
217
|
emphasizeLast = true,
|
|
199
218
|
emphasisColor = VX.line,
|
|
200
219
|
state,
|
|
201
220
|
reference,
|
|
221
|
+
referenceLabel,
|
|
202
222
|
format = defaultNumberFormat,
|
|
203
223
|
labels,
|
|
204
224
|
className,
|
|
@@ -219,9 +239,9 @@ function Sparkline(props) {
|
|
|
219
239
|
return {
|
|
220
240
|
rows: rows2,
|
|
221
241
|
frame: frameOf(full, mark, rows2.length, end !== null),
|
|
222
|
-
definition: compileSparkline(rows2, full, mark, color, end, ref)
|
|
242
|
+
definition: compileSparkline(rows2, full, mark, color, end, ref, referenceLabel)
|
|
223
243
|
};
|
|
224
|
-
}, [data, mark, color, emphasizeLast, emphasisColor, reference]);
|
|
244
|
+
}, [data, mark, color, emphasizeLast, emphasisColor, reference, referenceLabel]);
|
|
225
245
|
const resolved = resolveChartState(state);
|
|
226
246
|
const rows = model?.rows;
|
|
227
247
|
const interactive = resolved === null && model !== null;
|
|
@@ -248,6 +268,8 @@ function Sparkline(props) {
|
|
|
248
268
|
if (!interactive || rows === void 0 || keyed !== null || hidden(e.currentTarget)) return;
|
|
249
269
|
setKeyed(lastFinite(rows));
|
|
250
270
|
};
|
|
271
|
+
const inset = mark === "line" ? LINE_INSET : 0;
|
|
272
|
+
const layerStyle = { inset, "--basalt-spark-lift": `${inset}px` };
|
|
251
273
|
const value = active === null ? null : rows?.[active]?.v ?? null;
|
|
252
274
|
const at = interactive && active !== null && value !== null ? {
|
|
253
275
|
value,
|
|
@@ -282,7 +304,9 @@ function Sparkline(props) {
|
|
|
282
304
|
coarse: false
|
|
283
305
|
}
|
|
284
306
|
),
|
|
285
|
-
at !== null &&
|
|
307
|
+
at !== null && // One layer on the plot rect (inside a line's margin): the dot and the readout take their
|
|
308
|
+
// fractions of the same box, so both land where the mark did.
|
|
309
|
+
/* @__PURE__ */ jsxs("span", { "aria-hidden": "true", className: classes.layer, style: layerStyle, children: [
|
|
286
310
|
/* @__PURE__ */ jsx(
|
|
287
311
|
"span",
|
|
288
312
|
{
|
|
@@ -296,13 +320,14 @@ function Sparkline(props) {
|
|
|
296
320
|
{
|
|
297
321
|
"data-basalt-sparkline-readout": "",
|
|
298
322
|
"aria-live": hover === null ? "polite" : "off",
|
|
299
|
-
className:
|
|
323
|
+
className: classes.readout,
|
|
324
|
+
style: { left: `${at.fx * 100}%`, transform: `translateX(-${at.fx * 100}%)` },
|
|
300
325
|
children: [
|
|
326
|
+
format(at.value),
|
|
301
327
|
at.label !== void 0 && /* @__PURE__ */ jsxs("span", { className: classes.label, children: [
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
] })
|
|
305
|
-
format(at.value)
|
|
328
|
+
" \xB7 ",
|
|
329
|
+
at.label
|
|
330
|
+
] })
|
|
306
331
|
]
|
|
307
332
|
}
|
|
308
333
|
)
|
|
@@ -2,12 +2,15 @@ import type { ReactElement } from 'react';
|
|
|
2
2
|
import type { CartesianChartProps, ChartSeries, ChartX } from './types.js';
|
|
3
3
|
/** A band. Stacked areas read the left axis and draw no line, so the line fields are absent. */
|
|
4
4
|
export type StackedAreaBand<T> = Pick<ChartSeries<T>, 'key' | 'label' | 'color' | 'getValue' | 'formatValue' | 'tooltip' | 'legend' | 'role' | 'note'> & {
|
|
5
|
-
/** Default 0.85. */
|
|
5
|
+
/** Default: the chart's `fillOpacity` (0.85). */
|
|
6
6
|
fillOpacity?: number | undefined;
|
|
7
7
|
};
|
|
8
8
|
export type StackedAreaProps<T, X extends ChartX = ChartX> = Omit<CartesianChartProps<T, X>, 'marks' | 'y' | 'y2' | 'series'> & {
|
|
9
9
|
/** The bands, bottom to top. */
|
|
10
10
|
series: readonly StackedAreaBand<T>[];
|
|
11
|
+
/** Every band's fill opacity, 0–1 (default 0.85: full-opacity bands read saturated). A band's own
|
|
12
|
+
* `fillOpacity` wins. The legend swatch wears the same shade. */
|
|
13
|
+
fillOpacity?: number | undefined;
|
|
11
14
|
/** No `scale`: a log axis has no additive zero to stack from. */
|
|
12
15
|
y?: Omit<NonNullable<CartesianChartProps<T, X>['y']>, 'scale'> | undefined;
|
|
13
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackedArea.d.ts","sourceRoot":"","sources":["../../src/charts/StackedArea.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAc,WAAW,EAAE,MAAM,EAAe,MAAM,SAAS,CAAA;AAIhG,gGAAgG;AAChG,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,IAAI,CACnC,WAAW,CAAC,CAAC,CAAC,EACd,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAChG,GAAG;IACF,
|
|
1
|
+
{"version":3,"file":"StackedArea.d.ts","sourceRoot":"","sources":["../../src/charts/StackedArea.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAc,WAAW,EAAE,MAAM,EAAe,MAAM,SAAS,CAAA;AAIhG,gGAAgG;AAChG,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,IAAI,CACnC,WAAW,CAAC,CAAC,CAAC,EACd,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAChG,GAAG;IACF,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,IAAI,CAC/D,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,EACzB,OAAO,GAAG,GAAG,GAAG,IAAI,GAAG,QAAQ,CAChC,GAAG;IACF,gCAAgC;IAChC,MAAM,EAAE,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAA;IACrC;qEACiE;IACjE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,iEAAiE;IACjE,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;CAC3E,CAAA;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,EACtD,KAAK,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC5B,YAAY,CA4Cd"}
|
|
@@ -8,10 +8,16 @@ import { emphasis } from "./marks.js";
|
|
|
8
8
|
import { rowX } from "./types.js";
|
|
9
9
|
const DEFAULT_BAND_OPACITY = 0.85;
|
|
10
10
|
function StackedArea(props) {
|
|
11
|
-
const { series: bands, ...rest } = props;
|
|
11
|
+
const { series: bands, fillOpacity, ...rest } = props;
|
|
12
12
|
const series = useMemo(
|
|
13
|
-
() => bands.map((s) => ({
|
|
14
|
-
|
|
13
|
+
() => bands.map((s) => ({
|
|
14
|
+
...s,
|
|
15
|
+
mark: "bar",
|
|
16
|
+
...(s.fillOpacity ?? fillOpacity) !== void 0 && {
|
|
17
|
+
fillOpacity: s.fillOpacity ?? fillOpacity
|
|
18
|
+
}
|
|
19
|
+
})),
|
|
20
|
+
[bands, fillOpacity]
|
|
15
21
|
);
|
|
16
22
|
const marks = useCallback((plot) => {
|
|
17
23
|
const visible = plot.visible;
|
|
@@ -4,7 +4,26 @@ import type { ChartSeries } from './types.js';
|
|
|
4
4
|
* the key, its legend label and color, its fill opacity, and the legend / tooltip / note switches.
|
|
5
5
|
* One base so a field means the same thing on every kind.
|
|
6
6
|
*/
|
|
7
|
-
export type NamedChartState = Pick<ChartSeries<never>, 'key' | 'label' | 'color' | 'tooltip' | 'legend' | 'note' | 'fillOpacity'
|
|
7
|
+
export type NamedChartState = Pick<ChartSeries<never>, 'key' | 'label' | 'color' | 'tooltip' | 'legend' | 'note' | 'fillOpacity'> & {
|
|
8
|
+
/**
|
|
9
|
+
* A short mark (`!`, `×`) drawn in the middle of each cell in this state, so a state is not told
|
|
10
|
+
* apart by hue alone; `''` opts out of the default. Default: `!` for a `warn` state and `×` for a
|
|
11
|
+
* `bad` one (by `tone`, or by a `color` that is `VX.status.warn` / `VX.status.bad`); none
|
|
12
|
+
* otherwise. Skipped on a cell too narrow to hold it.
|
|
13
|
+
*/
|
|
14
|
+
glyph?: string | undefined;
|
|
15
|
+
/** The status this state means. `Heatmap` also fills from it; on `BandStrip` it only picks the
|
|
16
|
+
* default `glyph` (the fill is `color`). */
|
|
17
|
+
tone?: StatusTone | undefined;
|
|
18
|
+
};
|
|
19
|
+
/** The status inks a state can name: `VX.status.*`. */
|
|
20
|
+
export type StatusTone = 'good' | 'warn' | 'bad' | 'neutral';
|
|
21
|
+
/** The glyph a state draws: its own, else its status tone's default, else none. */
|
|
22
|
+
export declare function glyphOf(s: Pick<NamedChartState, 'glyph' | 'tone'> & {
|
|
23
|
+
color?: string | undefined;
|
|
24
|
+
}): string | undefined;
|
|
25
|
+
/** A cell narrower than this (px) draws no glyph: it would not fit inside the fill. */
|
|
26
|
+
export declare const GLYPH_MIN_PX = 12;
|
|
8
27
|
/** A run of adjacent slots drawn as one band; `items` are the source data it stands for. */
|
|
9
28
|
export type Group<T> = {
|
|
10
29
|
start: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"band-fold.d.ts","sourceRoot":"","sources":["../../src/charts/band-fold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"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CAAC,GAAG,CAAC,EAAE,CAI3F;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAChD,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,CAAC,GAAG,SAAS,EACxB,KAAK,EAAE,SAAS,MAAM,EAAE,GACvB,CAAC,GAAG,SAAS,CAOf"}
|
package/dist/charts/band-fold.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { oneOf } from "../common/errors.js";
|
|
2
|
+
import { VX } from "../tokens/index.js";
|
|
3
|
+
const TONE_GLYPH = { warn: "!", bad: "\xD7" };
|
|
4
|
+
function glyphOf(s) {
|
|
5
|
+
const tone = s.tone ?? (s.color === VX.status.warn ? "warn" : s.color === VX.status.bad ? "bad" : void 0);
|
|
6
|
+
return s.glyph ?? (tone === void 0 ? void 0 : TONE_GLYPH[tone]);
|
|
7
|
+
}
|
|
8
|
+
const GLYPH_MIN_PX = 12;
|
|
2
9
|
function groupsOf(data, cap) {
|
|
3
10
|
const size = Math.max(1, Math.ceil(data.length / Math.max(cap, 1)));
|
|
4
11
|
const out = [];
|
|
@@ -23,7 +30,9 @@ function resolveNamedState(component, prop, requested, known) {
|
|
|
23
30
|
return void 0;
|
|
24
31
|
}
|
|
25
32
|
export {
|
|
33
|
+
GLYPH_MIN_PX,
|
|
26
34
|
foldBands,
|
|
35
|
+
glyphOf,
|
|
27
36
|
groupsOf,
|
|
28
37
|
resolveNamedState
|
|
29
38
|
};
|
|
@@ -92,3 +92,22 @@
|
|
|
92
92
|
height: auto;
|
|
93
93
|
min-height: inherit;
|
|
94
94
|
}
|
|
95
|
+
|
|
96
|
+
/*
|
|
97
|
+
* The engine paints its tooltip rows as a grid of `.55rem | minmax(0, 1fr) | auto` with inline
|
|
98
|
+
* styles and `overflow-wrap: anywhere` on the card, so a narrow tooltip (a 390 viewport, a pointer
|
|
99
|
+
* near an edge) squeezes the name column to one character per line. The name keeps a floor and
|
|
100
|
+
* never wraps; a long name ends in an ellipsis, the value stays right-aligned. The tooltip is
|
|
101
|
+
* portalled out of the chart's tree, hence the global class names. `!important` because the
|
|
102
|
+
* engine's own values are inline.
|
|
103
|
+
*/
|
|
104
|
+
:global(.ts-chart-tooltip__row) {
|
|
105
|
+
grid-template-columns: 0.55rem minmax(6rem, max-content) auto !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:global(.ts-chart-tooltip__row > span:nth-child(2)) {
|
|
109
|
+
max-width: 14rem;
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
text-overflow: ellipsis;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
@@ -70,3 +70,28 @@
|
|
|
70
70
|
.factsBasis {
|
|
71
71
|
margin: var(--vx-space-stack-xs) 0 0;
|
|
72
72
|
}
|
|
73
|
+
|
|
74
|
+
/*
|
|
75
|
+
* A fact's tone is INK only (the value and its trailing text), never a fill. The status solids are
|
|
76
|
+
* the text-safe ones (`status-text.ts`). `stale` is the strip cell's dimmed value, verbatim
|
|
77
|
+
* (`stat-strip.module.css` `.cell[data-stale]`).
|
|
78
|
+
*/
|
|
79
|
+
.fact[data-tone='good'] :is(.factValue, .factUnit, .factPeriod) {
|
|
80
|
+
color: var(--vx-status-good);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.fact[data-tone='warn'] :is(.factValue, .factUnit, .factPeriod) {
|
|
84
|
+
color: var(--vx-status-warn);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.fact[data-tone='bad'] :is(.factValue, .factUnit, .factPeriod) {
|
|
88
|
+
color: var(--vx-status-bad);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.fact[data-tone='muted'] :is(.factValue, .factUnit, .factPeriod) {
|
|
92
|
+
color: var(--vx-muted);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.factsRow[data-stale] {
|
|
96
|
+
opacity: 0.55;
|
|
97
|
+
}
|
package/dist/charts/compile.d.ts
CHANGED
|
@@ -26,10 +26,19 @@ export type CartesianInput<T, X extends ChartX> = Pick<CartesianChartProps<T, X>
|
|
|
26
26
|
stack?: 'stacked' | 'normalized';
|
|
27
27
|
/** The plot area the engine last laid out; `null` before the first layout (the frame stands in). */
|
|
28
28
|
plot?: PlotSizes | null;
|
|
29
|
+
/** The tooltip opens below the chart (a strip of cells), above only when there is no room. */
|
|
30
|
+
tooltipBelow?: boolean;
|
|
31
|
+
/** The vertical rule under the cursor. Default `true`; a bar kind has none (its hover is the bar). */
|
|
32
|
+
crosshair?: boolean;
|
|
29
33
|
};
|
|
30
34
|
export declare function defaultNumberFormat(v: number): string;
|
|
31
|
-
/**
|
|
32
|
-
|
|
35
|
+
/**
|
|
36
|
+
* The tooltip's date: weekday, day, month and year in the page's locale (`defineFormat` /
|
|
37
|
+
* `BasaltProvider`), read in UTC like the time scale; a non-midnight instant adds `HH:MM`. With
|
|
38
|
+
* `dayOnly` (a day-granular series) the instant is its bucket's DAY, never a clock time: see
|
|
39
|
+
* {@link bucketDay}.
|
|
40
|
+
*/
|
|
41
|
+
export declare function utcHeaderDate(d: Date, dayOnly?: boolean): string;
|
|
33
42
|
/**
|
|
34
43
|
* Default Date tick values: the time scale's own ticks, kept to whole UTC days once the data is
|
|
35
44
|
* daily or coarser — d3 picks 12-hour steps for a short daily series, which label one day twice.
|
|
@@ -61,8 +70,6 @@ export declare function yGuide<T>(opts: {
|
|
|
61
70
|
cls: ContainerClass;
|
|
62
71
|
side: 'left' | 'right';
|
|
63
72
|
grid: boolean;
|
|
64
|
-
/** The whole chart's height: decides inside or gutter labels. */
|
|
65
|
-
height: number;
|
|
66
73
|
}): Omit<ChartPositionScaleOptions<number>, 'scale'>;
|
|
67
74
|
/**
|
|
68
75
|
* Every n-th value, n the smallest stride that leaves at most the class's x tick count (the same
|
|
@@ -82,8 +89,6 @@ export declare function xGuide<X extends ChartX>(opts: {
|
|
|
82
89
|
/** A consumer's formatter; absent, Date ticks get the span-aware {@link xTickFormat}. */
|
|
83
90
|
format?: ((v: ChartValue) => string) | undefined;
|
|
84
91
|
cls: ContainerClass;
|
|
85
|
-
/** The whole chart's height: decides whether the left margin is locked to zero. */
|
|
86
|
-
height: number;
|
|
87
92
|
}): Omit<ChartPositionScaleOptions<ChartValue>, 'scale'>;
|
|
88
93
|
/** Gradient resource id for a series' area fill; the host's `idPrefix` scopes it per chart. */
|
|
89
94
|
export declare const areaGradientId: (index: number) => string;
|
|
@@ -98,6 +103,12 @@ export declare function areaGradient(index: number, color: string): ChartGradien
|
|
|
98
103
|
* reaches the area (the caller keeps the plain series-colour fade). Linear axes only.
|
|
99
104
|
*/
|
|
100
105
|
export declare function zoneAreaGradient(index: number, zones: readonly ZoneSpec[], values: readonly (number | null)[]): ChartGradient | null;
|
|
106
|
+
/**
|
|
107
|
+
* A day-granular x: every step between its distinct instants is a whole day or more (23 h: a DST
|
|
108
|
+
* day), or its one instant is a UTC midnight. The tooltip header of such a series is its date, never
|
|
109
|
+
* a clock time (a bucket keyed by local midnight is `22:00` UTC in a UTC+2 zone).
|
|
110
|
+
*/
|
|
111
|
+
export declare function dayGranular(values: readonly ChartX[]): boolean;
|
|
101
112
|
export declare function compileCartesian<T, X extends ChartX>(input: CartesianInput<T, X>): CartesianDefinition;
|
|
102
113
|
export {};
|
|
103
114
|
//# sourceMappingURL=compile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/charts/compile.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/charts/compile.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAGV,aAAa,EAEb,yBAAyB,EACzB,eAAe,IAAI,gBAAgB,EACnC,UAAU,EACV,yBAAyB,EAE1B,MAAM,6BAA6B,CAAA;AAIpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAO5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