@fusion.dev/helix-headless 0.194.0 → 0.196.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/api.json +1 -1
- package/custom-elements.json +348 -42
- package/dist/spatial-heatmap/projection.d.ts +35 -3
- package/dist/spatial-heatmap/projection.js +58 -3
- package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +51 -29
- package/dist/spatial-heatmap/root/spatial-heatmap-root.js +106 -27
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +17 -6
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.js +30 -4
- package/dist/spatial-scatter-chart/view.d.ts +55 -0
- package/dist/spatial-scatter-chart/view.js +114 -17
- package/dist/spatial-surface-chart/grid.d.ts +3 -0
- package/dist/spatial-surface-chart/grid.js +3 -2
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +18 -7
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.js +26 -5
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +54 -56
- package/types/vue.d.ts +7 -13
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-headless",
|
|
3
3
|
"description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.196.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
},
|
|
54
54
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fusion.dev/helix-core": "0.
|
|
57
|
-
"@fusion.dev/helix-icons": "0.
|
|
56
|
+
"@fusion.dev/helix-core": "0.196.0",
|
|
57
|
+
"@fusion.dev/helix-icons": "0.196.0",
|
|
58
58
|
"tslib": "^2.8.1",
|
|
59
59
|
"uqr": "^0.1.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@fusion.dev/helix-cem": "0.
|
|
63
|
-
"@fusion.dev/helix-testing": "0.
|
|
62
|
+
"@fusion.dev/helix-cem": "0.196.0",
|
|
63
|
+
"@fusion.dev/helix-testing": "0.196.0",
|
|
64
64
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
65
65
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
66
66
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -60705,27 +60705,30 @@ export type CustomElements = {
|
|
|
60705
60705
|
*
|
|
60706
60706
|
* **The prisms stand on a slab**, the `base`, which reaches a little past the
|
|
60707
60707
|
* grid, so the relief reads as one object. The `start` and `end` slots name
|
|
60708
|
-
* the two ends of the front edge,
|
|
60709
|
-
* the
|
|
60710
|
-
*
|
|
60711
|
-
*
|
|
60712
|
-
*
|
|
60708
|
+
* the two ends of the front edge, the long edge nearer the reader, which is
|
|
60709
|
+
* the strip's first and last column. The component measures where each label
|
|
60710
|
+
* stands under its corner, clear of the drawing, and writes it on the label as
|
|
60711
|
+
* `--spatial-heatmap-label-x` and `--spatial-heatmap-label-y`. A renderer
|
|
60712
|
+
* tells the chart where it draws those corners, so the labels stand at them
|
|
60713
|
+
* there too, and follow them as the view turns.
|
|
60713
60714
|
*
|
|
60714
60715
|
* **`gap` and `min-cell` set the smallest cell.** The drawing scales as a
|
|
60715
60716
|
* whole, so a wider box draws larger cells and the gap grows with them. A box
|
|
60716
60717
|
* too narrow for every column at `min-cell` draws the newest that fit.
|
|
60717
60718
|
*
|
|
60718
60719
|
* **The drawing is SVG and holds still.** It scales with its box through its
|
|
60719
|
-
* `viewBox`, needs no WebGL, and has no motion to pause.
|
|
60720
|
-
*
|
|
60720
|
+
* `viewBox`, needs no WebGL, and has no motion to pause. A drag turns it and
|
|
60721
|
+
* tilts it, and Shift with an arrow turns it a step, from the isometric view
|
|
60722
|
+
* it starts at.
|
|
60721
60723
|
* **Under `selection-mode`, the prisms are painted back to front for the
|
|
60722
60724
|
* view, and the grid's rows and cells stand beside them in the table's
|
|
60723
60725
|
* order**, holding no drawing of their own, so a turned view paints
|
|
60724
60726
|
* correctly and a screen reader still reads the grid in order.
|
|
60725
60727
|
*
|
|
60726
60728
|
* **A renderer can draw it in 3D instead.** Put a box for it in the
|
|
60727
|
-
* `renderer` slot, and `connectSpatialHeatmap` from `@fusion.dev/helix-plot
|
|
60728
|
-
*
|
|
60729
|
+
* `renderer` slot, and `connectSpatialHeatmap` from `@fusion.dev/helix-plot`,
|
|
60730
|
+
* given `threeHeatmapDriver` from `@fusion.dev/helix-plot/three`, draws the
|
|
60731
|
+
* prisms in it with three.js, lit, in the same tones, in a view
|
|
60729
60732
|
* that drags round and zooms. The chart publishes its readings in `field`,
|
|
60730
60733
|
* and its own drawing stays under the renderer's, unseen, where a screen
|
|
60731
60734
|
* reader and the keys still reach it. Shift with an arrow turns the view,
|
|
@@ -60975,7 +60978,7 @@ export type CustomElements = {
|
|
|
60975
60978
|
* - `placeReading(at: { x: number; y: number } | undefined) => void`: Says where the renderer draws the reading, as fractions of the strip from
|
|
60976
60979
|
* its top left, or `undefined` while it draws none. The tooltip points
|
|
60977
60980
|
* there. Called by the connector.
|
|
60978
|
-
* - `placeCorners(at:
|
|
60981
|
+
* - `placeCorners(at: DrawnCorners | undefined) => void`: Says where the renderer draws the two ends of the front edge, under the
|
|
60979
60982
|
* first column and the last, as fractions of the strip from its top left,
|
|
60980
60983
|
* or `undefined` while they are out of view, where the labels keep the
|
|
60981
60984
|
* last place they had. The `start` and `end` labels stand there. Called by
|
|
@@ -61017,12 +61020,9 @@ export type CustomElements = {
|
|
|
61017
61020
|
*
|
|
61018
61021
|
* CSS variables available for styling the component.
|
|
61019
61022
|
*
|
|
61020
|
-
* - `--spatial-heatmap-
|
|
61021
|
-
* - `--spatial-heatmap-
|
|
61022
|
-
* - `--spatial-heatmap-end-y`: How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it.
|
|
61023
|
+
* - `--spatial-heatmap-label-x`: Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
61024
|
+
* - `--spatial-heatmap-label-y`: Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
61023
61025
|
* - `--spatial-heatmap-span`: How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it.
|
|
61024
|
-
* - `--spatial-heatmap-start-x`: Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
61025
|
-
* - `--spatial-heatmap-start-y`: How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
61026
61026
|
* - `--heatmap-rows`: How many rows the strip lays out. The component writes it from the data, and the stylesheet that draws the strip reads it.
|
|
61027
61027
|
* - `--heatmap-tone`: The tone of the cell it is set on. The component writes it, and the stylesheet that paints the cell reads it.
|
|
61028
61028
|
* - `--heatmap-tone-1`: The weakest step of the magnitude ramp, used by `tones="1 …"`.
|
|
@@ -61108,11 +61108,12 @@ export type CustomElements = {
|
|
|
61108
61108
|
*
|
|
61109
61109
|
* **Helix draws the frame, and a renderer draws the points in 3D.** Put a
|
|
61110
61110
|
* box for the renderer inside the chart, and `connectSpatialScatterChart` from
|
|
61111
|
-
* `@fusion.dev/helix-plot
|
|
61112
|
-
*
|
|
61111
|
+
* `@fusion.dev/helix-plot`, given `threeScatterDriver` from
|
|
61112
|
+
* `@fusion.dev/helix-plot/three`, draws the points in it with three.js and
|
|
61113
|
+
* keeps it in step with the chart. Until a renderer has drawn, and where none is
|
|
61113
61114
|
* connected, the chart draws the points in 3D itself, in SVG, from the same
|
|
61114
|
-
* place the renderer's camera starts: a
|
|
61115
|
-
*
|
|
61115
|
+
* place the renderer's camera starts: a picture a print and a page without
|
|
61116
|
+
* WebGL show too, which a drag or Shift with an arrow turns.
|
|
61116
61117
|
*
|
|
61117
61118
|
* **The table is the reading.** Every number is in it, and screen readers
|
|
61118
61119
|
* read it. The `summary` part names the three measures and the number of
|
|
@@ -61378,11 +61379,12 @@ export type CustomElements = {
|
|
|
61378
61379
|
*
|
|
61379
61380
|
* **Helix draws the frame, and a renderer draws the surface in 3D.** Put a
|
|
61380
61381
|
* box for the renderer inside the chart, and `connectSpatialSurfaceChart` from
|
|
61381
|
-
* `@fusion.dev/helix-plot
|
|
61382
|
-
*
|
|
61382
|
+
* `@fusion.dev/helix-plot`, given `threeSurfaceDriver` from
|
|
61383
|
+
* `@fusion.dev/helix-plot/three`, draws the surface in it with three.js,
|
|
61384
|
+
* shaded from low to high in the theme's colors. Until a renderer has drawn, and where
|
|
61383
61385
|
* none is connected, the chart draws the surface in 3D itself, in SVG, from
|
|
61384
|
-
* the same place the renderer's camera starts: a
|
|
61385
|
-
*
|
|
61386
|
+
* the same place the renderer's camera starts: a picture a print and a page
|
|
61387
|
+
* without WebGL show too, which a drag or Shift with an arrow turns.
|
|
61386
61388
|
*
|
|
61387
61389
|
* **The table is the reading.** Every number is in it, and screen readers
|
|
61388
61390
|
* read it. The `summary` part names the measures, the number of readings,
|
|
@@ -91683,27 +91685,30 @@ export type CustomElementsSolidJs = {
|
|
|
91683
91685
|
*
|
|
91684
91686
|
* **The prisms stand on a slab**, the `base`, which reaches a little past the
|
|
91685
91687
|
* grid, so the relief reads as one object. The `start` and `end` slots name
|
|
91686
|
-
* the two ends of the front edge,
|
|
91687
|
-
* the
|
|
91688
|
-
*
|
|
91689
|
-
*
|
|
91690
|
-
*
|
|
91688
|
+
* the two ends of the front edge, the long edge nearer the reader, which is
|
|
91689
|
+
* the strip's first and last column. The component measures where each label
|
|
91690
|
+
* stands under its corner, clear of the drawing, and writes it on the label as
|
|
91691
|
+
* `--spatial-heatmap-label-x` and `--spatial-heatmap-label-y`. A renderer
|
|
91692
|
+
* tells the chart where it draws those corners, so the labels stand at them
|
|
91693
|
+
* there too, and follow them as the view turns.
|
|
91691
91694
|
*
|
|
91692
91695
|
* **`gap` and `min-cell` set the smallest cell.** The drawing scales as a
|
|
91693
91696
|
* whole, so a wider box draws larger cells and the gap grows with them. A box
|
|
91694
91697
|
* too narrow for every column at `min-cell` draws the newest that fit.
|
|
91695
91698
|
*
|
|
91696
91699
|
* **The drawing is SVG and holds still.** It scales with its box through its
|
|
91697
|
-
* `viewBox`, needs no WebGL, and has no motion to pause.
|
|
91698
|
-
*
|
|
91700
|
+
* `viewBox`, needs no WebGL, and has no motion to pause. A drag turns it and
|
|
91701
|
+
* tilts it, and Shift with an arrow turns it a step, from the isometric view
|
|
91702
|
+
* it starts at.
|
|
91699
91703
|
* **Under `selection-mode`, the prisms are painted back to front for the
|
|
91700
91704
|
* view, and the grid's rows and cells stand beside them in the table's
|
|
91701
91705
|
* order**, holding no drawing of their own, so a turned view paints
|
|
91702
91706
|
* correctly and a screen reader still reads the grid in order.
|
|
91703
91707
|
*
|
|
91704
91708
|
* **A renderer can draw it in 3D instead.** Put a box for it in the
|
|
91705
|
-
* `renderer` slot, and `connectSpatialHeatmap` from `@fusion.dev/helix-plot
|
|
91706
|
-
*
|
|
91709
|
+
* `renderer` slot, and `connectSpatialHeatmap` from `@fusion.dev/helix-plot`,
|
|
91710
|
+
* given `threeHeatmapDriver` from `@fusion.dev/helix-plot/three`, draws the
|
|
91711
|
+
* prisms in it with three.js, lit, in the same tones, in a view
|
|
91707
91712
|
* that drags round and zooms. The chart publishes its readings in `field`,
|
|
91708
91713
|
* and its own drawing stays under the renderer's, unseen, where a screen
|
|
91709
91714
|
* reader and the keys still reach it. Shift with an arrow turns the view,
|
|
@@ -91953,7 +91958,7 @@ export type CustomElementsSolidJs = {
|
|
|
91953
91958
|
* - `placeReading(at: { x: number; y: number } | undefined) => void`: Says where the renderer draws the reading, as fractions of the strip from
|
|
91954
91959
|
* its top left, or `undefined` while it draws none. The tooltip points
|
|
91955
91960
|
* there. Called by the connector.
|
|
91956
|
-
* - `placeCorners(at:
|
|
91961
|
+
* - `placeCorners(at: DrawnCorners | undefined) => void`: Says where the renderer draws the two ends of the front edge, under the
|
|
91957
91962
|
* first column and the last, as fractions of the strip from its top left,
|
|
91958
91963
|
* or `undefined` while they are out of view, where the labels keep the
|
|
91959
91964
|
* last place they had. The `start` and `end` labels stand there. Called by
|
|
@@ -91995,12 +92000,9 @@ export type CustomElementsSolidJs = {
|
|
|
91995
92000
|
*
|
|
91996
92001
|
* CSS variables available for styling the component.
|
|
91997
92002
|
*
|
|
91998
|
-
* - `--spatial-heatmap-
|
|
91999
|
-
* - `--spatial-heatmap-
|
|
92000
|
-
* - `--spatial-heatmap-end-y`: How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it.
|
|
92003
|
+
* - `--spatial-heatmap-label-x`: Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
92004
|
+
* - `--spatial-heatmap-label-y`: Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
92001
92005
|
* - `--spatial-heatmap-span`: How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it.
|
|
92002
|
-
* - `--spatial-heatmap-start-x`: Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
92003
|
-
* - `--spatial-heatmap-start-y`: How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
92004
92006
|
* - `--heatmap-rows`: How many rows the strip lays out. The component writes it from the data, and the stylesheet that draws the strip reads it.
|
|
92005
92007
|
* - `--heatmap-tone`: The tone of the cell it is set on. The component writes it, and the stylesheet that paints the cell reads it.
|
|
92006
92008
|
* - `--heatmap-tone-1`: The weakest step of the magnitude ramp, used by `tones="1 …"`.
|
|
@@ -92087,11 +92089,12 @@ export type CustomElementsSolidJs = {
|
|
|
92087
92089
|
*
|
|
92088
92090
|
* **Helix draws the frame, and a renderer draws the points in 3D.** Put a
|
|
92089
92091
|
* box for the renderer inside the chart, and `connectSpatialScatterChart` from
|
|
92090
|
-
* `@fusion.dev/helix-plot
|
|
92091
|
-
*
|
|
92092
|
+
* `@fusion.dev/helix-plot`, given `threeScatterDriver` from
|
|
92093
|
+
* `@fusion.dev/helix-plot/three`, draws the points in it with three.js and
|
|
92094
|
+
* keeps it in step with the chart. Until a renderer has drawn, and where none is
|
|
92092
92095
|
* connected, the chart draws the points in 3D itself, in SVG, from the same
|
|
92093
|
-
* place the renderer's camera starts: a
|
|
92094
|
-
*
|
|
92096
|
+
* place the renderer's camera starts: a picture a print and a page without
|
|
92097
|
+
* WebGL show too, which a drag or Shift with an arrow turns.
|
|
92095
92098
|
*
|
|
92096
92099
|
* **The table is the reading.** Every number is in it, and screen readers
|
|
92097
92100
|
* read it. The `summary` part names the three measures and the number of
|
|
@@ -92358,11 +92361,12 @@ export type CustomElementsSolidJs = {
|
|
|
92358
92361
|
*
|
|
92359
92362
|
* **Helix draws the frame, and a renderer draws the surface in 3D.** Put a
|
|
92360
92363
|
* box for the renderer inside the chart, and `connectSpatialSurfaceChart` from
|
|
92361
|
-
* `@fusion.dev/helix-plot
|
|
92362
|
-
*
|
|
92364
|
+
* `@fusion.dev/helix-plot`, given `threeSurfaceDriver` from
|
|
92365
|
+
* `@fusion.dev/helix-plot/three`, draws the surface in it with three.js,
|
|
92366
|
+
* shaded from low to high in the theme's colors. Until a renderer has drawn, and where
|
|
92363
92367
|
* none is connected, the chart draws the surface in 3D itself, in SVG, from
|
|
92364
|
-
* the same place the renderer's camera starts: a
|
|
92365
|
-
*
|
|
92368
|
+
* the same place the renderer's camera starts: a picture a print and a page
|
|
92369
|
+
* without WebGL show too, which a drag or Shift with an arrow turns.
|
|
92366
92370
|
*
|
|
92367
92371
|
* **The table is the reading.** Every number is in it, and screen readers
|
|
92368
92372
|
* read it. The `summary` part names the measures, the number of readings,
|
|
@@ -100377,18 +100381,12 @@ export type CustomCssProperties = {
|
|
|
100377
100381
|
"--slider-marker-at"?: (string) | undefined;
|
|
100378
100382
|
/** Where the filled span ends, as a fraction of the track, 0 to 1: a range's upper thumb, or the farther of a single thumb and its `origin`. */
|
|
100379
100383
|
"--slider-to"?: (string) | undefined;
|
|
100380
|
-
/**
|
|
100381
|
-
"--spatial-heatmap-
|
|
100382
|
-
/** Where the
|
|
100383
|
-
"--spatial-heatmap-
|
|
100384
|
-
/** How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it. */
|
|
100385
|
-
"--spatial-heatmap-end-y"?: (string) | undefined;
|
|
100384
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
100385
|
+
"--spatial-heatmap-label-x"?: (string) | undefined;
|
|
100386
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
100387
|
+
"--spatial-heatmap-label-y"?: (string) | undefined;
|
|
100386
100388
|
/** How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it. */
|
|
100387
100389
|
"--spatial-heatmap-span"?: (string) | undefined;
|
|
100388
|
-
/** Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
100389
|
-
"--spatial-heatmap-start-x"?: (string) | undefined;
|
|
100390
|
-
/** How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
100391
|
-
"--spatial-heatmap-start-y"?: (string) | undefined;
|
|
100392
100390
|
/** How high a face of the surface stands between the lowest reading and the highest, from 0 to 1: its corners' average. The component writes it on each face, and the stylesheet that colors the face along the ramp reads it. */
|
|
100393
100391
|
"--spatial-surface-chart-level"?: (string) | undefined;
|
|
100394
100392
|
/** How far a face of the surface turns from the light, as a share of lightness to take from its color, from 0 facing it to about 0.3. The component writes it on each face, and the stylesheet that shades the face reads it. */
|
package/types/vue.d.ts
CHANGED
|
@@ -19801,18 +19801,12 @@ export type CustomCssProperties = {
|
|
|
19801
19801
|
"--slider-marker-at"?: (string) | undefined;
|
|
19802
19802
|
/** Where the filled span ends, as a fraction of the track, 0 to 1: a range's upper thumb, or the farther of a single thumb and its `origin`. */
|
|
19803
19803
|
"--slider-to"?: (string) | undefined;
|
|
19804
|
-
/**
|
|
19805
|
-
"--spatial-heatmap-
|
|
19806
|
-
/** Where the
|
|
19807
|
-
"--spatial-heatmap-
|
|
19808
|
-
/** How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it. */
|
|
19809
|
-
"--spatial-heatmap-end-y"?: (string) | undefined;
|
|
19804
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
19805
|
+
"--spatial-heatmap-label-x"?: (string) | undefined;
|
|
19806
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
19807
|
+
"--spatial-heatmap-label-y"?: (string) | undefined;
|
|
19810
19808
|
/** How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it. */
|
|
19811
19809
|
"--spatial-heatmap-span"?: (string) | undefined;
|
|
19812
|
-
/** Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
19813
|
-
"--spatial-heatmap-start-x"?: (string) | undefined;
|
|
19814
|
-
/** How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
19815
|
-
"--spatial-heatmap-start-y"?: (string) | undefined;
|
|
19816
19810
|
/** How high a face of the surface stands between the lowest reading and the highest, from 0 to 1: its corners' average. The component writes it on each face, and the stylesheet that colors the face along the ramp reads it. */
|
|
19817
19811
|
"--spatial-surface-chart-level"?: (string) | undefined;
|
|
19818
19812
|
/** How far a face of the surface turns from the light, as a share of lightness to take from its color, from 0 facing it to about 0.3. The component writes it on each face, and the stylesheet that shades the face reads it. */
|
|
@@ -20517,19 +20511,19 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
20517
20511
|
HelixHeadlessSparklineVueProps,
|
|
20518
20512
|
HelixHeadlessSparklineVueEvents
|
|
20519
20513
|
>;
|
|
20520
|
-
/** The same strip as 'Heatmap', seen from above at an angle. Each reading is a prism: its top face takes the cell's tone, and its height repeats the value, measured from zero against the highest reading in the table. 'rows="7"' makes a contribution graph, with each week a column running down to the right. **The height says what the tone says.** Read the exact value from the tooltip or the table, and compare readings by tone. A tall reading at the front can hide a short one behind it, so the newest column stands at the front, where nothing covers it. **Everything else is 'Heatmap'.** The table named by 'for', the tones and thresholds, the keys, the tooltip, the overview, 'selection-mode', and the events all work as they do there. The class extends the headless heatmap, and its own entry point carries the drawing, so a page using only 'Heatmap' loads none of it. **It was 'helix-isometric-heatmap' until 0.190.0**, and 'helix-headless-isometric-heatmap' in the headless tier. The old tags are gone, and so are the '--isometric-heatmap-*' hooks, which are '--spatial-heatmap-*', and the words key, which is 'helix-spatial-heatmap'. The two shade hooks now take a step of lightness, such as '0.07', where they took a percentage mixed toward black. Every attribute, part, and event kept its name. **'flat' lays every prism down** at no height, which leaves the tones on a plane at the same angle. **The prisms stand on a slab**, the 'base', which reaches a little past the grid, so the relief reads as one object. The 'start' and 'end' slots name the two ends of the front edge, which is the strip's first and last column
|
|
20514
|
+
/** The same strip as 'Heatmap', seen from above at an angle. Each reading is a prism: its top face takes the cell's tone, and its height repeats the value, measured from zero against the highest reading in the table. 'rows="7"' makes a contribution graph, with each week a column running down to the right. **The height says what the tone says.** Read the exact value from the tooltip or the table, and compare readings by tone. A tall reading at the front can hide a short one behind it, so the newest column stands at the front, where nothing covers it. **Everything else is 'Heatmap'.** The table named by 'for', the tones and thresholds, the keys, the tooltip, the overview, 'selection-mode', and the events all work as they do there. The class extends the headless heatmap, and its own entry point carries the drawing, so a page using only 'Heatmap' loads none of it. **It was 'helix-isometric-heatmap' until 0.190.0**, and 'helix-headless-isometric-heatmap' in the headless tier. The old tags are gone, and so are the '--isometric-heatmap-*' hooks, which are '--spatial-heatmap-*', and the words key, which is 'helix-spatial-heatmap'. The two shade hooks now take a step of lightness, such as '0.07', where they took a percentage mixed toward black. Every attribute, part, and event kept its name. **'flat' lays every prism down** at no height, which leaves the tones on a plane at the same angle. **The prisms stand on a slab**, the 'base', which reaches a little past the grid, so the relief reads as one object. The 'start' and 'end' slots name the two ends of the front edge, the long edge nearer the reader, which is the strip's first and last column. The component measures where each label stands under its corner, clear of the drawing, and writes it on the label as '--spatial-heatmap-label-x' and '--spatial-heatmap-label-y'. A renderer tells the chart where it draws those corners, so the labels stand at them there too, and follow them as the view turns. **'gap' and 'min-cell' set the smallest cell.** The drawing scales as a whole, so a wider box draws larger cells and the gap grows with them. A box too narrow for every column at 'min-cell' draws the newest that fit. **The drawing is SVG and holds still.** It scales with its box through its 'viewBox', needs no WebGL, and has no motion to pause. A drag turns it and tilts it, and Shift with an arrow turns it a step, from the isometric view it starts at. **Under 'selection-mode', the prisms are painted back to front for the view, and the grid's rows and cells stand beside them in the table's order**, holding no drawing of their own, so a turned view paints correctly and a screen reader still reads the grid in order. **A renderer can draw it in 3D instead.** Put a box for it in the 'renderer' slot, and 'connectSpatialHeatmap' from '@fusion.dev/helix-plot', given 'threeHeatmapDriver' from '@fusion.dev/helix-plot/three', draws the prisms in it with three.js, lit, in the same tones, in a view that drags round and zooms. The chart publishes its readings in 'field', and its own drawing stays under the renderer's, unseen, where a screen reader and the keys still reach it. Shift with an arrow turns the view, except under 'selection-mode="multiple"', where it selects. **Keyboard.** The keys are 'Heatmap''s. Down moves to the next reading in a column, drawn down to the left, and Right to the same reading in the next column, drawn down to the right. | Key | What it does | |---|---| | Tab | Moves focus to the strip and shows the first cell. | | Down, Up | Moves to the next or the previous cell. | | Right, Left | Moves a column on or back, a week with 'rows="7"'. On a right-to-left page, Left moves on. | | Home, End | Moves to the first or the last cell. | | Page Down, Page Up | Moves a month on or back where the rows carry dates, and four columns otherwise. | | Enter, Space | Presses the cell, which sends 'helix-reading-press', and selects it or lets it go under 'selection-mode'. | | Shift with an arrow, Home, End, Page Up or Page Down | Selects every cell from the last one pressed to where the key went, under 'selection-mode="multiple"'. | | Shift with an arrow | Turns the view a step, or a renderer's where one is connected, except under 'selection-mode="multiple"'. | | Escape | Puts the cell's tooltip away. | */
|
|
20521
20515
|
"helix-headless-spatial-heatmap": DefineCustomElement<
|
|
20522
20516
|
HelixHeadlessSpatialHeatmap,
|
|
20523
20517
|
HelixHeadlessSpatialHeatmapVueProps,
|
|
20524
20518
|
HelixHeadlessSpatialHeatmapVueEvents
|
|
20525
20519
|
>;
|
|
20526
|
-
/** A 3D scatter chart shows how three measures relate. The table's first three numeric columns are measured across, up, and in depth, and each row is one point. 'group-by' names a column of text, such as a team or a cluster, and each group is drawn in its own color. **Helix draws the frame, and a renderer draws the points in 3D.** Put a box for the renderer inside the chart, and 'connectSpatialScatterChart' from '@fusion.dev/helix-plot' draws the points in it with three.js and keeps it in step with the chart. Until a renderer has drawn, and where none is connected, the chart draws the points in 3D itself, in SVG, from the same place the renderer's camera starts: a
|
|
20520
|
+
/** A 3D scatter chart shows how three measures relate. The table's first three numeric columns are measured across, up, and in depth, and each row is one point. 'group-by' names a column of text, such as a team or a cluster, and each group is drawn in its own color. **Helix draws the frame, and a renderer draws the points in 3D.** Put a box for the renderer inside the chart, and 'connectSpatialScatterChart' from '@fusion.dev/helix-plot', given 'threeScatterDriver' from '@fusion.dev/helix-plot/three', draws the points in it with three.js and keeps it in step with the chart. Until a renderer has drawn, and where none is connected, the chart draws the points in 3D itself, in SVG, from the same place the renderer's camera starts: a picture a print and a page without WebGL show too, which a drag or Shift with an arrow turns. **The table is the reading.** Every number is in it, and screen readers read it. The 'summary' part names the three measures and the number of points, and describes the plot. **The plot is read by key.** It takes focus, named by 'label' or the caption. The left and right arrows move from point to point in the table's order, Home and End go to the first and the last, and the up and down arrows move among the measures the readout says first. The 'live' part says the point's row in words, and the renderer marks it. Shift with an arrow turns the view, and Escape lets the point go. **A reading shows its row in a tooltip**, as on every chart: the point a mouse or a pen rests on in the drawing, the point tapped, or the one the keys move to, once a renderer has drawn. **Readings are sent as every chart sends them.** 'helix-reading-change' says each move of the reading, by pointer or key, and 'helix-reading-press' a point clicked, tapped, or pressed with Enter or Space, each with the row of the table in 'index'. **Keyboard.** The plot is one tab stop once it has points. | Key | What it does | |---|---| | Tab | Moves focus to the plot. | | Right, Left | Moves to the next or the previous point, in the table's order. | | Up, Down | Moves among the point's measures, which the readout says first. | | Home, End | Moves to the first or the last point. | | Shift with an arrow | Turns the view across, or tilts it up and down. | | Enter, Space | Presses the point, which sends 'helix-reading-press'. | | Escape | Lets the point go. | */
|
|
20527
20521
|
"helix-headless-spatial-scatter-chart": DefineCustomElement<
|
|
20528
20522
|
HelixHeadlessSpatialScatterChart,
|
|
20529
20523
|
HelixHeadlessSpatialScatterChartVueProps,
|
|
20530
20524
|
HelixHeadlessSpatialScatterChartVueEvents
|
|
20531
20525
|
>;
|
|
20532
|
-
/** A 3D surface chart shows how one measure varies over two others, such as load by hour and by day. Each row of the table is one reading: **the first numeric column is across, the second is in depth, and the third is the height.** The readings make a grid from every distinct place across and in depth, and a place with no reading is left open. **Helix draws the frame, and a renderer draws the surface in 3D.** Put a box for the renderer inside the chart, and 'connectSpatialSurfaceChart' from '@fusion.dev/helix-plot' draws the surface in it with three.js, shaded from low to high in the theme's colors. Until a renderer has drawn, and where none is connected, the chart draws the surface in 3D itself, in SVG, from the same place the renderer's camera starts: a
|
|
20526
|
+
/** A 3D surface chart shows how one measure varies over two others, such as load by hour and by day. Each row of the table is one reading: **the first numeric column is across, the second is in depth, and the third is the height.** The readings make a grid from every distinct place across and in depth, and a place with no reading is left open. **Helix draws the frame, and a renderer draws the surface in 3D.** Put a box for the renderer inside the chart, and 'connectSpatialSurfaceChart' from '@fusion.dev/helix-plot', given 'threeSurfaceDriver' from '@fusion.dev/helix-plot/three', draws the surface in it with three.js, shaded from low to high in the theme's colors. Until a renderer has drawn, and where none is connected, the chart draws the surface in 3D itself, in SVG, from the same place the renderer's camera starts: a picture a print and a page without WebGL show too, which a drag or Shift with an arrow turns. **The table is the reading.** Every number is in it, and screen readers read it. The 'summary' part names the measures, the number of readings, and the range of heights, and describes the plot. **The plot is read by key, across and in depth.** It takes focus, named by 'label' or the caption. The left and right arrows move across, the down and up arrows move in depth, forward and back, and Home and End go to the first and the last place. The 'live' part says the reading at the place in words, and the renderer marks it. Shift with an arrow turns the view, and Escape lets the place go. **A reading shows its row in a tooltip**, as on every chart: the place a mouse or a pen rests on in the drawing, the place tapped, or the one the keys move to, once a renderer has drawn. A place with no reading shows none. **Readings are sent as every chart sends them.** 'helix-reading-change' says each move of the reading, and 'helix-reading-press' a place clicked or pressed with Enter or Space, each with the row of the table in 'index', or '-1' for a place with no reading. **Keyboard.** The plot is one tab stop once it has readings. | Key | What it does | |---|---| | Tab | Moves focus to the plot. | | Right, Left | Moves across to the next or the previous place. | | Down, Up | Moves in depth to the next or the previous place. | | Home, End | Moves to the first or the last place. | | Shift with an arrow | Turns the view across, or tilts it up and down. | | Enter, Space | Presses the place, which sends 'helix-reading-press'. | | Escape | Lets the place go. | */
|
|
20533
20527
|
"helix-headless-spatial-surface-chart": DefineCustomElement<
|
|
20534
20528
|
HelixHeadlessSpatialSurfaceChart,
|
|
20535
20529
|
HelixHeadlessSpatialSurfaceChartVueProps,
|