Repository navigation
v0.2.0
Minor Changes
-
edcfb8e: A second ground:
cyanotype, where tone is line weight.ground="cyanotype"prints any chart
as a white line on Prussian blue (REQ-028). It hatches nothing. A toned shape, such as a bar, a cell
or a band, is drawn as its own outline, and its tone is how thick that outline is. No chart code
changed to add it.- New exports.
cyanotypeandWeightInkerfrom@silverpoint/grounds, both registered by
default. From@silverpoint/core:ToneSpecbecomes a union,HatchToneSpec | WeightToneSpec. - One substrate,
prussian. The ground ignoressubstrate, so it needs none. - Heightening inverts. The heightened element is the deepest blue, outlined in the white ink.
- Rendered output. A weighted path carries
data-weight="1"–"4". The stylesheet turns it
into a stroke width with--sp-weight-1..4, so a consumer re-weights with CSS.silverpoint
output is unchanged: no path of it carries a weight.
- New exports.
-
1a8c006: Reference dashboards.
DASHBOARD_DEMOSholds three frozen, data-only dashboards —
kpi-strip,opsandmixed-spans— shared by the fixtures, the example apps and the
documentation. No change to the rendered output of any chart. -
5f69fde: Dashboard layout types (Phase 5, first step). The core's internal surface gains the types of
the upcoming Dashboard composition (DashboardProps,DashboardLayout,DashboardCellLayout,
DashboardModel, …) and their defaults:DASHBOARD_DEFAULTS(1 / 2 / 4 columns atsm/md/
lg, row unit 240 px, gap 16 px),perBreakpointandresolveLayout. A dashboard'sidand its
titleorlabelare required by the type. No component uses them yet; no change to the rendered
output. -
5191333: Linked dashboards. A dashboard with
link={{ key: 'hour' }}marks, in every other chart, the items
whose datum carries the samehouras the active item of the chart being explored, and clears them
when it clears. The marks are hidden from assistive technology, and linked state never reaches the
server render. The dashboard reports the linked value throughonLinkChange(React),
@link-change(Vue) or(linkChange)(Angular). A chart whose data has no such field warnsSP016.
In React the link is its own client boundary,@silverpoint/react/dashboard-link, rendered only when
linkis set. -
81f9b59: Dashboard resolution in the core.
resolveDashboard(props, childCells)matches children to
layout cells by id, keeps the reading order, clamps spans to the breakpoint's columns (SP014),
reports every mismatch without throwing (SP015), derives chart ids (ops--traffic), and gives
each cell its nominal box atssrWidth.cellChartBoxsizes a chart to fill its cell with its
own card chrome subtracted. New diagnostic codesSP014,SP015,SP016. No change to the
rendered output of any chart. -
5359ab8: The demo applies view props;
VolvelleChart's index turns it. Withoutdata, a chart
renders its demo dataset (REQ-093). It now follows one written rule (REQ-098): accessor props
(…Key,keys,names) are ignored, because they point into your rows, and every other prop
applies exactly as it would to your data.- Behaviour change.
<VolvelleChart indexRing={1} indexValue="Night" />withoutdatanow
turns the demo soNightfaces the pointer, and the readout becomesDay Sat · Shift Night · Team Eridanus. Before, the demo kept its own index and a development-onlySP002said so; that
warning is gone. An out-of-rangeindexRingor an absentindexValuewarnsSP002and falls
back, as it does with your rings. - Rendered output. The normalised SVG changes only for a
VolvelleChartgivenindexRingor
indexValuewithoutdata. With no index, and in every canonical fixture, it is unchanged. - Props reference (REQ-099). Every accessor prop's documentation ends "Ignored without
data.";datastates the rule;indexRingandindexValuename the demo's rings.
- Behaviour change.
-
8ee76ad: React
Dashboard.@silverpoint/react/dashboardand@silverpoint/react/server/dashboardexport
DashboardandDashboardCell: asectionlabelled by its heading, a CSS-grid ofarticlecells in
reading order, laid out by the core from a data-onlylayout. Each chart inside a cell gets a derived
id, a size that fills its cell with its own card chrome, and the dashboard'sground,substrate,
modeandlocalebelow its own props. Neither entry adds a client boundary.Server charts (
@silverpoint/react/server/*) no longer requireid,widthandheightby type:
inside aDashboardthe cell supplies them; standing alone, a missing one warns (SP002,SP003).The reference dashboards moved to their own subpath,
@silverpoint/core/dashboard-demos, off the
core's main entry. No change to any chart's rendered output. -
ed5b943: Vue
SpDashboard.@silverpoint/vue/dashboardexportsSpDashboardandSpDashboardCell, with
the same markup, layout and inheritance as the ReactDashboard: each chart inside a cell takes its
id, size and the dashboard's configuration from the cell, below its own props. Server-rendered with
@vue/server-renderer, it hydrates at the nominal size and then follows its container.