@fusion.dev/helix 0.198.0 → 0.199.1
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 +9159 -2248
- package/dist/element-events.generated.js +19 -0
- package/dist/graph/root/graph-root.css.js +1 -1
- package/dist/heatmap/root/heatmap-root.css.js +1 -1
- package/dist/heatmap/root/heatmap-root.d.ts +20 -0
- package/dist/heatmap/root/heatmap-root.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/motion-toggle/index.d.ts +1 -0
- package/dist/motion-toggle/index.js +1 -0
- package/dist/motion-toggle/root/motion-toggle-root.css.d.ts +1 -0
- package/dist/motion-toggle/root/motion-toggle-root.css.js +2 -0
- package/dist/motion-toggle/root/motion-toggle-root.d.ts +26 -0
- package/dist/motion-toggle/root/motion-toggle-root.js +12 -0
- package/dist/orb/root/orb-root.css.js +1 -1
- package/dist/orb/root/orb-root.d.ts +8 -0
- package/dist/orb/root/orb-root.js +7 -0
- package/dist/spatial-bar-chart/index.d.ts +1 -0
- package/dist/spatial-bar-chart/index.js +1 -0
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.css.d.ts +1 -0
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.css.js +2 -0
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.d.ts +49 -0
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.js +22 -0
- package/dist/spatial-heatmap/root/spatial-heatmap-root.css.js +1 -1
- package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +21 -0
- package/dist/spatial-heatmap/root/spatial-heatmap-root.js +7 -0
- package/dist/spatial-ribbon-chart/index.d.ts +1 -0
- package/dist/spatial-ribbon-chart/index.js +1 -0
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.css.d.ts +1 -0
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.css.js +2 -0
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.d.ts +49 -0
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.js +22 -0
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.css.js +1 -1
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +20 -0
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.js +7 -0
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.css.js +1 -1
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +22 -0
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.js +7 -0
- package/dist/spatial-treemap/index.d.ts +1 -0
- package/dist/spatial-treemap/index.js +1 -0
- package/dist/spatial-treemap/root/spatial-treemap-root.css.d.ts +1 -0
- package/dist/spatial-treemap/root/spatial-treemap-root.css.js +2 -0
- package/dist/spatial-treemap/root/spatial-treemap-root.d.ts +49 -0
- package/dist/spatial-treemap/root/spatial-treemap-root.js +22 -0
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/skills/helix/SKILL.md +2 -2
- package/types/jsx.d.ts +3510 -450
- package/types/svelte.d.ts +4 -0
- package/types/vue.d.ts +637 -2
- package/types/words.d.ts +25 -5
package/types/vue.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ import type {
|
|
|
84
84
|
HelixMenu,
|
|
85
85
|
HelixMenuSection,
|
|
86
86
|
HelixMeter,
|
|
87
|
+
HelixMotionToggle,
|
|
87
88
|
HelixNavigation,
|
|
88
89
|
HelixNotificationGroup,
|
|
89
90
|
HelixNotification,
|
|
@@ -119,9 +120,12 @@ import type {
|
|
|
119
120
|
HelixSkipLink,
|
|
120
121
|
HelixSlider,
|
|
121
122
|
HelixSparkline,
|
|
123
|
+
HelixSpatialBarChart,
|
|
122
124
|
HelixSpatialHeatmap,
|
|
125
|
+
HelixSpatialRibbonChart,
|
|
123
126
|
HelixSpatialScatterChart,
|
|
124
127
|
HelixSpatialSurfaceChart,
|
|
128
|
+
HelixSpatialTreemap,
|
|
125
129
|
HelixSpeedDialGroup,
|
|
126
130
|
HelixSpeedDialItem,
|
|
127
131
|
HelixSpeedDial,
|
|
@@ -3083,7 +3087,13 @@ share the row and split it, dots to the start and arrows to the end,
|
|
|
3083
3087
|
arrived at by two defaults rather than by a rule about the pair, so moving
|
|
3084
3088
|
one leaves the other alone. */
|
|
3085
3089
|
indicatorPlacement?: (HelixCarousel["indicatorPlacement"]) | undefined;
|
|
3086
|
-
/** Whether the carousel advances on its own.
|
|
3090
|
+
/** Whether the carousel advances on its own.
|
|
3091
|
+
|
|
3092
|
+
**Not where the reader asked for less motion**, or where the page has
|
|
3093
|
+
paused its motion, through `pauseMotion` or `Motion Toggle`: the carousel
|
|
3094
|
+
starts still, and its rotation control starts it. A page that pauses its
|
|
3095
|
+
motion later stops the rotation, and one that lets it run again starts it
|
|
3096
|
+
again, unless the reader stopped it. */
|
|
3087
3097
|
autoplay?: (HelixCarousel["autoplay"]) | undefined;
|
|
3088
3098
|
/** Whether the previous and next controls are shown.
|
|
3089
3099
|
|
|
@@ -9072,6 +9082,16 @@ the list then holds, written with `count-label`. */
|
|
|
9072
9082
|
the drawing, with `{note}` for its name and `{count}` for how many notes
|
|
9073
9083
|
the list then holds, written with `count-label`. */
|
|
9074
9084
|
selectionLabel?: (HelixGraph["selectionLabel"]) | undefined;
|
|
9085
|
+
/** What the `settling` part says while a layout runs unseen, where the reader
|
|
9086
|
+
asked for less motion or the page paused its motion. */
|
|
9087
|
+
"settling-label"?: (HelixGraph["settlingLabel"]) | undefined;
|
|
9088
|
+
/** What the `settling` part says while a layout runs unseen, where the reader
|
|
9089
|
+
asked for less motion or the page paused its motion. */
|
|
9090
|
+
settlingLabel?: (HelixGraph["settlingLabel"]) | undefined;
|
|
9091
|
+
/** What the button that stops a long layout says. */
|
|
9092
|
+
"stop-layout-label"?: (HelixGraph["stopLayoutLabel"]) | undefined;
|
|
9093
|
+
/** What the button that stops a long layout says. */
|
|
9094
|
+
stopLayoutLabel?: (HelixGraph["stopLayoutLabel"]) | undefined;
|
|
9075
9095
|
/** The hint shown when one finger swipes over the graph with `gestures="cooperative"`. */
|
|
9076
9096
|
"two-finger-hint-label"?: (HelixGraph["twoFingerHintLabel"]) | undefined;
|
|
9077
9097
|
/** The hint shown when one finger swipes over the graph with `gestures="cooperative"`. */
|
|
@@ -9246,6 +9266,21 @@ export type HelixHeatmapHelixResizeElementEvent =
|
|
|
9246
9266
|
HelixHeatmapElementEvent<HelixResizeEvent>;
|
|
9247
9267
|
|
|
9248
9268
|
export type HelixHeatmapVueProps = {
|
|
9269
|
+
/** How strongly the cells are drawn, as on every chart.
|
|
9270
|
+
|
|
9271
|
+
`outlined` is a cell as its edge in its tone over a fill faded toward the
|
|
9272
|
+
page, and `subtle` a faint wash of the tone under the same edge. Absent is
|
|
9273
|
+
the filled cell, per the rule that a reflected property takes no default,
|
|
9274
|
+
and `solid` writes it out.
|
|
9275
|
+
|
|
9276
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
9277
|
+
how much of it comes through. The ring on the cell the keys rest on keeps
|
|
9278
|
+
its own ink. */
|
|
9279
|
+
emphasis?: (HelixHeatmap["emphasis"]) | undefined;
|
|
9280
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
9281
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
9282
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
9283
|
+
material?: (HelixHeatmap["material"]) | undefined;
|
|
9249
9284
|
/** The words shown in place of the drawing when the table has no readings,
|
|
9250
9285
|
and the fallback of the `empty` slot. */
|
|
9251
9286
|
"empty-text"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
@@ -12795,6 +12830,22 @@ export type HelixMeterVueEvents = {
|
|
|
12795
12830
|
"helix-band": HelixMeterHelixBandElementEvent;
|
|
12796
12831
|
};
|
|
12797
12832
|
|
|
12833
|
+
/** `HelixMotionToggle` component event */
|
|
12834
|
+
export type HelixMotionToggleElementEvent<E = Event> = TypedEvent<
|
|
12835
|
+
HelixMotionToggle,
|
|
12836
|
+
E
|
|
12837
|
+
>;
|
|
12838
|
+
|
|
12839
|
+
export type HelixMotionToggleVueProps = {
|
|
12840
|
+
/** The button's name, which stays the same whichever way it stands. */
|
|
12841
|
+
label?: (HelixMotionToggle["label"]) | undefined;
|
|
12842
|
+
};
|
|
12843
|
+
|
|
12844
|
+
export type HelixMotionToggleVueEvents = {
|
|
12845
|
+
/** Fired after a press pauses the page's motion or lets it run. */
|
|
12846
|
+
change: HelixMotionToggleElementEvent;
|
|
12847
|
+
};
|
|
12848
|
+
|
|
12798
12849
|
export type HelixNavigationVueProps = {
|
|
12799
12850
|
/** Whether the arrow keys move focus between the destinations.
|
|
12800
12851
|
|
|
@@ -16796,6 +16847,160 @@ export type HelixSparklineVueEvents = {
|
|
|
16796
16847
|
"helix-reading-press": HelixSparklineHelixReadingPressElementEvent;
|
|
16797
16848
|
};
|
|
16798
16849
|
|
|
16850
|
+
/** `HelixSpatialBarChart` component event */
|
|
16851
|
+
export type HelixSpatialBarChartElementEvent<E = Event> = TypedEvent<
|
|
16852
|
+
HelixSpatialBarChart,
|
|
16853
|
+
E
|
|
16854
|
+
>;
|
|
16855
|
+
/** `helix-plot-change` event type */
|
|
16856
|
+
export type HelixSpatialBarChartHelixPlotChangeElementEvent =
|
|
16857
|
+
HelixSpatialBarChartElementEvent<HelixPlotChangeEvent>;
|
|
16858
|
+
/** `helix-plot-turn` event type */
|
|
16859
|
+
export type HelixSpatialBarChartHelixPlotTurnElementEvent =
|
|
16860
|
+
HelixSpatialBarChartElementEvent<HelixPlotTurnEvent>;
|
|
16861
|
+
/** `helix-reading-change` event type */
|
|
16862
|
+
export type HelixSpatialBarChartHelixReadingChangeElementEvent =
|
|
16863
|
+
HelixSpatialBarChartElementEvent<HelixReadingChangeEvent>;
|
|
16864
|
+
/** `helix-reading-press` event type */
|
|
16865
|
+
export type HelixSpatialBarChartHelixReadingPressElementEvent =
|
|
16866
|
+
HelixSpatialBarChartElementEvent<HelixReadingPressEvent>;
|
|
16867
|
+
|
|
16868
|
+
export type HelixSpatialBarChartVueProps = {
|
|
16869
|
+
/** How strongly the bars are drawn, as on every chart.
|
|
16870
|
+
|
|
16871
|
+
`outlined` is a bar as its edges in its series' color over faces faded
|
|
16872
|
+
toward the page, and `subtle` the same edges over a faint wash, which
|
|
16873
|
+
shows the bars behind it. Absent is the filled bar, per the rule that a
|
|
16874
|
+
reflected property takes no default, and `solid` writes it out. A
|
|
16875
|
+
renderer draws the bars the same way.
|
|
16876
|
+
|
|
16877
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
16878
|
+
how much of it comes through. The outline on the bar the keys rest on
|
|
16879
|
+
keeps its own ink. */
|
|
16880
|
+
emphasis?: (HelixSpatialBarChart["emphasis"]) | undefined;
|
|
16881
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
16882
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
16883
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
16884
|
+
material?: (HelixSpatialBarChart["material"]) | undefined;
|
|
16885
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
16886
|
+
and the fallback of the `empty` slot. */
|
|
16887
|
+
"empty-text"?: (HelixSpatialBarChart["emptyText"]) | undefined;
|
|
16888
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
16889
|
+
and the fallback of the `empty` slot. */
|
|
16890
|
+
emptyText?: (HelixSpatialBarChart["emptyText"]) | undefined;
|
|
16891
|
+
/** Whether the readings are still on their way. The chart shows
|
|
16892
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
16893
|
+
|
|
16894
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
16895
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
16896
|
+
blank it. */
|
|
16897
|
+
loading?: (HelixSpatialBarChart["loading"]) | undefined;
|
|
16898
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
16899
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
16900
|
+
"loading-text"?: (HelixSpatialBarChart["loadingText"]) | undefined;
|
|
16901
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
16902
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
16903
|
+
loadingText?: (HelixSpatialBarChart["loadingText"]) | undefined;
|
|
16904
|
+
/** The id of the table to read.
|
|
16905
|
+
|
|
16906
|
+
Names a table in the same tree, so a chart inside another component's
|
|
16907
|
+
shadow root reads a table in that root rather than one in the document. A
|
|
16908
|
+
`<table>` or anything built from grid roles, including `helix-table`.
|
|
16909
|
+
|
|
16910
|
+
**In React this arrives as a property and not as an attribute**, the way
|
|
16911
|
+
`Tooltip.for` does, so it does not reflect and nothing styles on it. */
|
|
16912
|
+
for?: (HelixSpatialBarChart["for"]) | undefined;
|
|
16913
|
+
/** The chart's name, which starts the chart's text summary.
|
|
16914
|
+
|
|
16915
|
+
Absent falls back to the table's own caption, which is usually the right
|
|
16916
|
+
words and is already written. */
|
|
16917
|
+
label?: (HelixSpatialBarChart["label"]) | undefined;
|
|
16918
|
+
/** The locale the chart's own numbers are written in: its axis, its
|
|
16919
|
+
percentages and its totals, such as `de` for `1.240` and `32 %`.
|
|
16920
|
+
|
|
16921
|
+
Absent reads the nearest `lang`, then the runtime's own. The table's
|
|
16922
|
+
cells are shown as the table writes them, whatever this says. */
|
|
16923
|
+
locale?: (HelixSpatialBarChart["locale"]) | undefined;
|
|
16924
|
+
/** Where a reading the keys moved to stands among the readings, said after
|
|
16925
|
+
it. `{position}` and `{count}` are replaced with the numbers, written in
|
|
16926
|
+
`locale`.
|
|
16927
|
+
|
|
16928
|
+
Set it to the words of the page's language, such as `{position} von
|
|
16929
|
+
{count}`, or to nothing to say no position. A slice or a series a
|
|
16930
|
+
legend hid is not counted. */
|
|
16931
|
+
"position-label"?: (HelixSpatialBarChart["positionLabel"]) | undefined;
|
|
16932
|
+
/** Where a reading the keys moved to stands among the readings, said after
|
|
16933
|
+
it. `{position}` and `{count}` are replaced with the numbers, written in
|
|
16934
|
+
`locale`.
|
|
16935
|
+
|
|
16936
|
+
Set it to the words of the page's language, such as `{position} von
|
|
16937
|
+
{count}`, or to nothing to say no position. A slice or a series a
|
|
16938
|
+
legend hid is not counted. */
|
|
16939
|
+
positionLabel?: (HelixSpatialBarChart["positionLabel"]) | undefined;
|
|
16940
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
16941
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
16942
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
16943
|
+
and a renderer draws no box either. */
|
|
16944
|
+
"no-box"?: (HelixSpatialBarChart["noBox"]) | undefined;
|
|
16945
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
16946
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
16947
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
16948
|
+
and a renderer draws no box either. */
|
|
16949
|
+
noBox?: (HelixSpatialBarChart["noBox"]) | undefined;
|
|
16950
|
+
/** What the readout says for a place with no value. `{category}` and
|
|
16951
|
+
`{series}` name the place. */
|
|
16952
|
+
"open-label"?: (HelixSpatialBarChart["openLabel"]) | undefined;
|
|
16953
|
+
/** What the readout says for a place with no value. `{category}` and
|
|
16954
|
+
`{series}` name the place. */
|
|
16955
|
+
openLabel?: (HelixSpatialBarChart["openLabel"]) | undefined;
|
|
16956
|
+
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
16957
|
+
"plot-label"?: (HelixSpatialBarChart["plotLabel"]) | undefined;
|
|
16958
|
+
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
16959
|
+
plotLabel?: (HelixSpatialBarChart["plotLabel"]) | undefined;
|
|
16960
|
+
/** The `summary` part's sentence. `{count}`, `{series}`, and `{categories}`
|
|
16961
|
+
are the number of bars, series, and categories, written in the locale,
|
|
16962
|
+
and `{low}` and `{high}` the lowest and the highest value. */
|
|
16963
|
+
"summary-label"?: (HelixSpatialBarChart["summaryLabel"]) | undefined;
|
|
16964
|
+
/** The `summary` part's sentence. `{count}`, `{series}`, and `{categories}`
|
|
16965
|
+
are the number of bars, series, and categories, written in the locale,
|
|
16966
|
+
and `{low}` and `{high}` the lowest and the highest value. */
|
|
16967
|
+
summaryLabel?: (HelixSpatialBarChart["summaryLabel"]) | undefined;
|
|
16968
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
16969
|
+
table to point `for` at. `for` wins where both are set.
|
|
16970
|
+
|
|
16971
|
+
```js
|
|
16972
|
+
chart.data = {
|
|
16973
|
+
caption: 'Sessions by channel',
|
|
16974
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
16975
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
16976
|
+
}
|
|
16977
|
+
```
|
|
16978
|
+
|
|
16979
|
+
The first column holds each row's label and every column after it a
|
|
16980
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
16981
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
16982
|
+
number is shown in `locale`.
|
|
16983
|
+
|
|
16984
|
+
**A table is still the better source where the page can show one**:
|
|
16985
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
16986
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
16987
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
16988
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
16989
|
+
does not look inside the one it has. */
|
|
16990
|
+
data?: (HelixSpatialBarChart["data"]) | undefined;
|
|
16991
|
+
};
|
|
16992
|
+
|
|
16993
|
+
export type HelixSpatialBarChartVueEvents = {
|
|
16994
|
+
/** The bars or the bar the keys rest on changed, which the renderer is told. It stays on the chart. */
|
|
16995
|
+
"helix-plot-change": HelixSpatialBarChartHelixPlotChangeElementEvent;
|
|
16996
|
+
/** Shift with an arrow asked the view to turn, by a step across or up. */
|
|
16997
|
+
"helix-plot-turn": HelixSpatialBarChartHelixPlotTurnElementEvent;
|
|
16998
|
+
/** The reading moved, or was put away: `index` is the row, or `-1` for none, with its `label` and the `pointerType` that moved it. */
|
|
16999
|
+
"helix-reading-change": HelixSpatialBarChartHelixReadingChangeElementEvent;
|
|
17000
|
+
/** A bar was clicked or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
17001
|
+
"helix-reading-press": HelixSpatialBarChartHelixReadingPressElementEvent;
|
|
17002
|
+
};
|
|
17003
|
+
|
|
16799
17004
|
/** `HelixSpatialHeatmap` component event */
|
|
16800
17005
|
export type HelixSpatialHeatmapElementEvent<E = Event> = TypedEvent<
|
|
16801
17006
|
HelixSpatialHeatmap,
|
|
@@ -16821,6 +17026,22 @@ export type HelixSpatialHeatmapHelixResizeElementEvent =
|
|
|
16821
17026
|
HelixSpatialHeatmapElementEvent<HelixResizeEvent>;
|
|
16822
17027
|
|
|
16823
17028
|
export type HelixSpatialHeatmapVueProps = {
|
|
17029
|
+
/** How strongly the prisms are drawn, as on every chart.
|
|
17030
|
+
|
|
17031
|
+
`outlined` is a prism as its edges in its tone over faces faded toward the
|
|
17032
|
+
page, and `subtle` a faint wash of the tone under the same edges, which
|
|
17033
|
+
shows the prisms behind it. Absent is the filled prism, per the rule that
|
|
17034
|
+
a reflected property takes no default, and `solid` writes it out. A
|
|
17035
|
+
renderer draws the prisms the same way.
|
|
17036
|
+
|
|
17037
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
17038
|
+
how much of it comes through. The ring on the prism the keys rest on keeps
|
|
17039
|
+
its own ink. */
|
|
17040
|
+
emphasis?: (HelixSpatialHeatmap["emphasis"]) | undefined;
|
|
17041
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
17042
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
17043
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
17044
|
+
material?: (HelixSpatialHeatmap["material"]) | undefined;
|
|
16824
17045
|
/** Draws every prism at no height, so the tones lie on a plane. */
|
|
16825
17046
|
flat?: (HelixSpatialHeatmap["flat"]) | undefined;
|
|
16826
17047
|
/** How tall the highest reading stands, in cells. Every other reading stands
|
|
@@ -17053,6 +17274,160 @@ export type HelixSpatialHeatmapVueEvents = {
|
|
|
17053
17274
|
"helix-resize": HelixSpatialHeatmapHelixResizeElementEvent;
|
|
17054
17275
|
};
|
|
17055
17276
|
|
|
17277
|
+
/** `HelixSpatialRibbonChart` component event */
|
|
17278
|
+
export type HelixSpatialRibbonChartElementEvent<E = Event> = TypedEvent<
|
|
17279
|
+
HelixSpatialRibbonChart,
|
|
17280
|
+
E
|
|
17281
|
+
>;
|
|
17282
|
+
/** `helix-plot-change` event type */
|
|
17283
|
+
export type HelixSpatialRibbonChartHelixPlotChangeElementEvent =
|
|
17284
|
+
HelixSpatialRibbonChartElementEvent<HelixPlotChangeEvent>;
|
|
17285
|
+
/** `helix-plot-turn` event type */
|
|
17286
|
+
export type HelixSpatialRibbonChartHelixPlotTurnElementEvent =
|
|
17287
|
+
HelixSpatialRibbonChartElementEvent<HelixPlotTurnEvent>;
|
|
17288
|
+
/** `helix-reading-change` event type */
|
|
17289
|
+
export type HelixSpatialRibbonChartHelixReadingChangeElementEvent =
|
|
17290
|
+
HelixSpatialRibbonChartElementEvent<HelixReadingChangeEvent>;
|
|
17291
|
+
/** `helix-reading-press` event type */
|
|
17292
|
+
export type HelixSpatialRibbonChartHelixReadingPressElementEvent =
|
|
17293
|
+
HelixSpatialRibbonChartElementEvent<HelixReadingPressEvent>;
|
|
17294
|
+
|
|
17295
|
+
export type HelixSpatialRibbonChartVueProps = {
|
|
17296
|
+
/** How strongly the ribbons are drawn, as on every chart.
|
|
17297
|
+
|
|
17298
|
+
`outlined` is a ribbon as its edges in its series' color over faces
|
|
17299
|
+
faded toward the page, and `subtle` the same edges over a faint wash,
|
|
17300
|
+
which shows the ribbons behind it. Absent is the filled ribbon, per the
|
|
17301
|
+
rule that a reflected property takes no default, and `solid` writes it
|
|
17302
|
+
out. A renderer draws the ribbons the same way.
|
|
17303
|
+
|
|
17304
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
17305
|
+
how much of it comes through. The ring on the reading the keys rest on
|
|
17306
|
+
keeps its own ink. */
|
|
17307
|
+
emphasis?: (HelixSpatialRibbonChart["emphasis"]) | undefined;
|
|
17308
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
17309
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
17310
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
17311
|
+
material?: (HelixSpatialRibbonChart["material"]) | undefined;
|
|
17312
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
17313
|
+
and the fallback of the `empty` slot. */
|
|
17314
|
+
"empty-text"?: (HelixSpatialRibbonChart["emptyText"]) | undefined;
|
|
17315
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
17316
|
+
and the fallback of the `empty` slot. */
|
|
17317
|
+
emptyText?: (HelixSpatialRibbonChart["emptyText"]) | undefined;
|
|
17318
|
+
/** Whether the readings are still on their way. The chart shows
|
|
17319
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
17320
|
+
|
|
17321
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
17322
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
17323
|
+
blank it. */
|
|
17324
|
+
loading?: (HelixSpatialRibbonChart["loading"]) | undefined;
|
|
17325
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
17326
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
17327
|
+
"loading-text"?: (HelixSpatialRibbonChart["loadingText"]) | undefined;
|
|
17328
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
17329
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
17330
|
+
loadingText?: (HelixSpatialRibbonChart["loadingText"]) | undefined;
|
|
17331
|
+
/** The id of the table to read.
|
|
17332
|
+
|
|
17333
|
+
Names a table in the same tree, so a chart inside another component's
|
|
17334
|
+
shadow root reads a table in that root rather than one in the document. A
|
|
17335
|
+
`<table>` or anything built from grid roles, including `helix-table`.
|
|
17336
|
+
|
|
17337
|
+
**In React this arrives as a property and not as an attribute**, the way
|
|
17338
|
+
`Tooltip.for` does, so it does not reflect and nothing styles on it. */
|
|
17339
|
+
for?: (HelixSpatialRibbonChart["for"]) | undefined;
|
|
17340
|
+
/** The chart's name, which starts the chart's text summary.
|
|
17341
|
+
|
|
17342
|
+
Absent falls back to the table's own caption, which is usually the right
|
|
17343
|
+
words and is already written. */
|
|
17344
|
+
label?: (HelixSpatialRibbonChart["label"]) | undefined;
|
|
17345
|
+
/** The locale the chart's own numbers are written in: its axis, its
|
|
17346
|
+
percentages and its totals, such as `de` for `1.240` and `32 %`.
|
|
17347
|
+
|
|
17348
|
+
Absent reads the nearest `lang`, then the runtime's own. The table's
|
|
17349
|
+
cells are shown as the table writes them, whatever this says. */
|
|
17350
|
+
locale?: (HelixSpatialRibbonChart["locale"]) | undefined;
|
|
17351
|
+
/** Where a reading the keys moved to stands among the readings, said after
|
|
17352
|
+
it. `{position}` and `{count}` are replaced with the numbers, written in
|
|
17353
|
+
`locale`.
|
|
17354
|
+
|
|
17355
|
+
Set it to the words of the page's language, such as `{position} von
|
|
17356
|
+
{count}`, or to nothing to say no position. A slice or a series a
|
|
17357
|
+
legend hid is not counted. */
|
|
17358
|
+
"position-label"?: (HelixSpatialRibbonChart["positionLabel"]) | undefined;
|
|
17359
|
+
/** Where a reading the keys moved to stands among the readings, said after
|
|
17360
|
+
it. `{position}` and `{count}` are replaced with the numbers, written in
|
|
17361
|
+
`locale`.
|
|
17362
|
+
|
|
17363
|
+
Set it to the words of the page's language, such as `{position} von
|
|
17364
|
+
{count}`, or to nothing to say no position. A slice or a series a
|
|
17365
|
+
legend hid is not counted. */
|
|
17366
|
+
positionLabel?: (HelixSpatialRibbonChart["positionLabel"]) | undefined;
|
|
17367
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17368
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17369
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17370
|
+
and a renderer draws no box either. */
|
|
17371
|
+
"no-box"?: (HelixSpatialRibbonChart["noBox"]) | undefined;
|
|
17372
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17373
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17374
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17375
|
+
and a renderer draws no box either. */
|
|
17376
|
+
noBox?: (HelixSpatialRibbonChart["noBox"]) | undefined;
|
|
17377
|
+
/** What the readout says for a reading the table has no value for.
|
|
17378
|
+
`{place}` and `{series}` name it. */
|
|
17379
|
+
"open-label"?: (HelixSpatialRibbonChart["openLabel"]) | undefined;
|
|
17380
|
+
/** What the readout says for a reading the table has no value for.
|
|
17381
|
+
`{place}` and `{series}` name it. */
|
|
17382
|
+
openLabel?: (HelixSpatialRibbonChart["openLabel"]) | undefined;
|
|
17383
|
+
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
17384
|
+
"plot-label"?: (HelixSpatialRibbonChart["plotLabel"]) | undefined;
|
|
17385
|
+
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
17386
|
+
plotLabel?: (HelixSpatialRibbonChart["plotLabel"]) | undefined;
|
|
17387
|
+
/** The `summary` part's sentence. `{count}`, `{series}`, and `{places}` are
|
|
17388
|
+
the number of readings, series, and places, written in the locale,
|
|
17389
|
+
and `{low}` and `{high}` the lowest and the highest value. */
|
|
17390
|
+
"summary-label"?: (HelixSpatialRibbonChart["summaryLabel"]) | undefined;
|
|
17391
|
+
/** The `summary` part's sentence. `{count}`, `{series}`, and `{places}` are
|
|
17392
|
+
the number of readings, series, and places, written in the locale,
|
|
17393
|
+
and `{low}` and `{high}` the lowest and the highest value. */
|
|
17394
|
+
summaryLabel?: (HelixSpatialRibbonChart["summaryLabel"]) | undefined;
|
|
17395
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
17396
|
+
table to point `for` at. `for` wins where both are set.
|
|
17397
|
+
|
|
17398
|
+
```js
|
|
17399
|
+
chart.data = {
|
|
17400
|
+
caption: 'Sessions by channel',
|
|
17401
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
17402
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
17403
|
+
}
|
|
17404
|
+
```
|
|
17405
|
+
|
|
17406
|
+
The first column holds each row's label and every column after it a
|
|
17407
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
17408
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
17409
|
+
number is shown in `locale`.
|
|
17410
|
+
|
|
17411
|
+
**A table is still the better source where the page can show one**:
|
|
17412
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
17413
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
17414
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
17415
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
17416
|
+
does not look inside the one it has. */
|
|
17417
|
+
data?: (HelixSpatialRibbonChart["data"]) | undefined;
|
|
17418
|
+
};
|
|
17419
|
+
|
|
17420
|
+
export type HelixSpatialRibbonChartVueEvents = {
|
|
17421
|
+
/** The readings or the reading the keys rest on changed, which the renderer is told. It stays on the chart. */
|
|
17422
|
+
"helix-plot-change": HelixSpatialRibbonChartHelixPlotChangeElementEvent;
|
|
17423
|
+
/** Shift with an arrow asked the view to turn, by a step across or up. */
|
|
17424
|
+
"helix-plot-turn": HelixSpatialRibbonChartHelixPlotTurnElementEvent;
|
|
17425
|
+
/** The reading moved, or was put away: `index` is the row, or `-1` for none, with its `label` and the `pointerType` that moved it. */
|
|
17426
|
+
"helix-reading-change": HelixSpatialRibbonChartHelixReadingChangeElementEvent;
|
|
17427
|
+
/** A reading was clicked or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
17428
|
+
"helix-reading-press": HelixSpatialRibbonChartHelixReadingPressElementEvent;
|
|
17429
|
+
};
|
|
17430
|
+
|
|
17056
17431
|
/** `HelixSpatialScatterChart` component event */
|
|
17057
17432
|
export type HelixSpatialScatterChartElementEvent<E = Event> = TypedEvent<
|
|
17058
17433
|
HelixSpatialScatterChart,
|
|
@@ -17072,6 +17447,21 @@ export type HelixSpatialScatterChartHelixReadingPressElementEvent =
|
|
|
17072
17447
|
HelixSpatialScatterChartElementEvent<HelixReadingPressEvent>;
|
|
17073
17448
|
|
|
17074
17449
|
export type HelixSpatialScatterChartVueProps = {
|
|
17450
|
+
/** How strongly the points are drawn, as on every chart.
|
|
17451
|
+
|
|
17452
|
+
`outlined` is a point as a ring in its group's color over a dot faded
|
|
17453
|
+
toward the page, and `subtle` the same ring over a faint dot. Absent is
|
|
17454
|
+
the filled dot, per the rule that a reflected property takes no default,
|
|
17455
|
+
and `solid` writes it out. A renderer draws the points the same way.
|
|
17456
|
+
|
|
17457
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
17458
|
+
how much of it comes through. The ring on the point the keys rest on keeps
|
|
17459
|
+
its own ink. */
|
|
17460
|
+
emphasis?: (HelixSpatialScatterChart["emphasis"]) | undefined;
|
|
17461
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
17462
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
17463
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
17464
|
+
material?: (HelixSpatialScatterChart["material"]) | undefined;
|
|
17075
17465
|
/** The words shown in place of the drawing when the table has no readings,
|
|
17076
17466
|
and the fallback of the `empty` slot. */
|
|
17077
17467
|
"empty-text"?: (HelixSpatialScatterChart["emptyText"]) | undefined;
|
|
@@ -17127,10 +17517,28 @@ Set it to the words of the page's language, such as `{position} von
|
|
|
17127
17517
|
{count}`, or to nothing to say no position. A slice or a series a
|
|
17128
17518
|
legend hid is not counted. */
|
|
17129
17519
|
positionLabel?: (HelixSpatialScatterChart["positionLabel"]) | undefined;
|
|
17520
|
+
/** Draws a line from each point straight down to the floor of the box, in
|
|
17521
|
+
its group's color, so where a point stands across and in depth reads off
|
|
17522
|
+
the floor's grid. A renderer draws them too. */
|
|
17523
|
+
"drop-lines"?: (HelixSpatialScatterChart["dropLines"]) | undefined;
|
|
17524
|
+
/** Draws a line from each point straight down to the floor of the box, in
|
|
17525
|
+
its group's color, so where a point stands across and in depth reads off
|
|
17526
|
+
the floor's grid. A renderer draws them too. */
|
|
17527
|
+
dropLines?: (HelixSpatialScatterChart["dropLines"]) | undefined;
|
|
17130
17528
|
/** The column of text that puts each point in a group, by its heading. None by default. */
|
|
17131
17529
|
"group-by"?: (HelixSpatialScatterChart["groupBy"]) | undefined;
|
|
17132
17530
|
/** The column of text that puts each point in a group, by its heading. None by default. */
|
|
17133
17531
|
groupBy?: (HelixSpatialScatterChart["groupBy"]) | undefined;
|
|
17532
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17533
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17534
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17535
|
+
and a renderer draws no box either. */
|
|
17536
|
+
"no-box"?: (HelixSpatialScatterChart["noBox"]) | undefined;
|
|
17537
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17538
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17539
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17540
|
+
and a renderer draws no box either. */
|
|
17541
|
+
noBox?: (HelixSpatialScatterChart["noBox"]) | undefined;
|
|
17134
17542
|
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
17135
17543
|
"plot-label"?: (HelixSpatialScatterChart["plotLabel"]) | undefined;
|
|
17136
17544
|
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
@@ -17196,6 +17604,23 @@ export type HelixSpatialSurfaceChartHelixReadingPressElementEvent =
|
|
|
17196
17604
|
HelixSpatialSurfaceChartElementEvent<HelixReadingPressEvent>;
|
|
17197
17605
|
|
|
17198
17606
|
export type HelixSpatialSurfaceChartVueProps = {
|
|
17607
|
+
/** How strongly the surface is drawn, as on every chart.
|
|
17608
|
+
|
|
17609
|
+
`outlined` is a wireframe in the ramp's colors over a surface faded toward
|
|
17610
|
+
the page, and `subtle` the same wireframe over a faint surface that the
|
|
17611
|
+
grid behind shows through, so a reading the surface hid from this side can
|
|
17612
|
+
be seen. Absent is the filled surface, per the rule that a reflected
|
|
17613
|
+
property takes no default, and `solid` writes it out. A renderer draws the
|
|
17614
|
+
surface the same way.
|
|
17615
|
+
|
|
17616
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
17617
|
+
how much of it comes through. The ring on the reading the keys rest on
|
|
17618
|
+
keeps its own ink. */
|
|
17619
|
+
emphasis?: (HelixSpatialSurfaceChart["emphasis"]) | undefined;
|
|
17620
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
17621
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
17622
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
17623
|
+
material?: (HelixSpatialSurfaceChart["material"]) | undefined;
|
|
17199
17624
|
/** The words shown in place of the drawing when the table has no readings,
|
|
17200
17625
|
and the fallback of the `empty` slot. */
|
|
17201
17626
|
"empty-text"?: (HelixSpatialSurfaceChart["emptyText"]) | undefined;
|
|
@@ -17251,6 +17676,20 @@ Set it to the words of the page's language, such as `{position} von
|
|
|
17251
17676
|
{count}`, or to nothing to say no position. A slice or a series a
|
|
17252
17677
|
legend hid is not counted. */
|
|
17253
17678
|
positionLabel?: (HelixSpatialSurfaceChart["positionLabel"]) | undefined;
|
|
17679
|
+
/** Draws the surface's contour lines on it, at each tick of its height, in
|
|
17680
|
+
the ramp's colors, so its shape reads as on a map and two places at the
|
|
17681
|
+
same height read as such. A renderer draws them too. */
|
|
17682
|
+
contours?: (HelixSpatialSurfaceChart["contours"]) | undefined;
|
|
17683
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17684
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17685
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17686
|
+
and a renderer draws no box either. */
|
|
17687
|
+
"no-box"?: (HelixSpatialSurfaceChart["noBox"]) | undefined;
|
|
17688
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17689
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17690
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17691
|
+
and a renderer draws no box either. */
|
|
17692
|
+
noBox?: (HelixSpatialSurfaceChart["noBox"]) | undefined;
|
|
17254
17693
|
/** What the readout says for a place with no reading. `{x}` and `{z}` are
|
|
17255
17694
|
the place's numbers across and in depth, and `{across}` and `{depth}`
|
|
17256
17695
|
the two measures' names. */
|
|
@@ -17309,6 +17748,158 @@ export type HelixSpatialSurfaceChartVueEvents = {
|
|
|
17309
17748
|
"helix-reading-press": HelixSpatialSurfaceChartHelixReadingPressElementEvent;
|
|
17310
17749
|
};
|
|
17311
17750
|
|
|
17751
|
+
/** `HelixSpatialTreemap` component event */
|
|
17752
|
+
export type HelixSpatialTreemapElementEvent<E = Event> = TypedEvent<
|
|
17753
|
+
HelixSpatialTreemap,
|
|
17754
|
+
E
|
|
17755
|
+
>;
|
|
17756
|
+
/** `helix-plot-change` event type */
|
|
17757
|
+
export type HelixSpatialTreemapHelixPlotChangeElementEvent =
|
|
17758
|
+
HelixSpatialTreemapElementEvent<HelixPlotChangeEvent>;
|
|
17759
|
+
/** `helix-plot-turn` event type */
|
|
17760
|
+
export type HelixSpatialTreemapHelixPlotTurnElementEvent =
|
|
17761
|
+
HelixSpatialTreemapElementEvent<HelixPlotTurnEvent>;
|
|
17762
|
+
/** `helix-reading-change` event type */
|
|
17763
|
+
export type HelixSpatialTreemapHelixReadingChangeElementEvent =
|
|
17764
|
+
HelixSpatialTreemapElementEvent<HelixReadingChangeEvent>;
|
|
17765
|
+
/** `helix-reading-press` event type */
|
|
17766
|
+
export type HelixSpatialTreemapHelixReadingPressElementEvent =
|
|
17767
|
+
HelixSpatialTreemapElementEvent<HelixReadingPressEvent>;
|
|
17768
|
+
|
|
17769
|
+
export type HelixSpatialTreemapVueProps = {
|
|
17770
|
+
/** How strongly the blocks are drawn, as on every chart.
|
|
17771
|
+
|
|
17772
|
+
`outlined` is a block as its edges in its group's color over faces faded
|
|
17773
|
+
toward the page, and `subtle` the same edges over a faint wash, which
|
|
17774
|
+
shows the blocks behind it. Absent is the filled block, per the rule that a
|
|
17775
|
+
reflected property takes no default, and `solid` writes it out. A
|
|
17776
|
+
renderer draws the blocks the same way.
|
|
17777
|
+
|
|
17778
|
+
It composes with `material`: emphasis decides what is drawn, and material
|
|
17779
|
+
how much of it comes through. The outline on the block the keys rest on
|
|
17780
|
+
keeps its own ink. */
|
|
17781
|
+
emphasis?: (HelixSpatialTreemap["emphasis"]) | undefined;
|
|
17782
|
+
/** How much of each mark comes through, as on every chart: `glass` admits the
|
|
17783
|
+
most of what is behind it, `frosted` less, and absent is opaque. The
|
|
17784
|
+
strength is the theme's, scaled by `--helix-material-opacity`. */
|
|
17785
|
+
material?: (HelixSpatialTreemap["material"]) | undefined;
|
|
17786
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
17787
|
+
and the fallback of the `empty` slot. */
|
|
17788
|
+
"empty-text"?: (HelixSpatialTreemap["emptyText"]) | undefined;
|
|
17789
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
17790
|
+
and the fallback of the `empty` slot. */
|
|
17791
|
+
emptyText?: (HelixSpatialTreemap["emptyText"]) | undefined;
|
|
17792
|
+
/** Whether the readings are still on their way. The chart shows
|
|
17793
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
17794
|
+
|
|
17795
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
17796
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
17797
|
+
blank it. */
|
|
17798
|
+
loading?: (HelixSpatialTreemap["loading"]) | undefined;
|
|
17799
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
17800
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
17801
|
+
"loading-text"?: (HelixSpatialTreemap["loadingText"]) | undefined;
|
|
17802
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
17803
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
17804
|
+
loadingText?: (HelixSpatialTreemap["loadingText"]) | undefined;
|
|
17805
|
+
/** The id of the table to read.
|
|
17806
|
+
|
|
17807
|
+
Names a table in the same tree, so a chart inside another component's
|
|
17808
|
+
shadow root reads a table in that root rather than one in the document. A
|
|
17809
|
+
`<table>` or anything built from grid roles, including `helix-table`.
|
|
17810
|
+
|
|
17811
|
+
**In React this arrives as a property and not as an attribute**, the way
|
|
17812
|
+
`Tooltip.for` does, so it does not reflect and nothing styles on it. */
|
|
17813
|
+
for?: (HelixSpatialTreemap["for"]) | undefined;
|
|
17814
|
+
/** The chart's name, which starts the chart's text summary.
|
|
17815
|
+
|
|
17816
|
+
Absent falls back to the table's own caption, which is usually the right
|
|
17817
|
+
words and is already written. */
|
|
17818
|
+
label?: (HelixSpatialTreemap["label"]) | undefined;
|
|
17819
|
+
/** The locale the chart's own numbers are written in: its axis, its
|
|
17820
|
+
percentages and its totals, such as `de` for `1.240` and `32 %`.
|
|
17821
|
+
|
|
17822
|
+
Absent reads the nearest `lang`, then the runtime's own. The table's
|
|
17823
|
+
cells are shown as the table writes them, whatever this says. */
|
|
17824
|
+
locale?: (HelixSpatialTreemap["locale"]) | undefined;
|
|
17825
|
+
/** Where a reading the keys moved to stands among the readings, said after
|
|
17826
|
+
it. `{position}` and `{count}` are replaced with the numbers, written in
|
|
17827
|
+
`locale`.
|
|
17828
|
+
|
|
17829
|
+
Set it to the words of the page's language, such as `{position} von
|
|
17830
|
+
{count}`, or to nothing to say no position. A slice or a series a
|
|
17831
|
+
legend hid is not counted. */
|
|
17832
|
+
"position-label"?: (HelixSpatialTreemap["positionLabel"]) | undefined;
|
|
17833
|
+
/** Where a reading the keys moved to stands among the readings, said after
|
|
17834
|
+
it. `{position}` and `{count}` are replaced with the numbers, written in
|
|
17835
|
+
`locale`.
|
|
17836
|
+
|
|
17837
|
+
Set it to the words of the page's language, such as `{position} von
|
|
17838
|
+
{count}`, or to nothing to say no position. A slice or a series a
|
|
17839
|
+
legend hid is not counted. */
|
|
17840
|
+
positionLabel?: (HelixSpatialTreemap["positionLabel"]) | undefined;
|
|
17841
|
+
/** The column of text that gathers the rows into groups, by its heading. None by default. */
|
|
17842
|
+
"group-by"?: (HelixSpatialTreemap["groupBy"]) | undefined;
|
|
17843
|
+
/** The column of text that gathers the rows into groups, by its heading. None by default. */
|
|
17844
|
+
groupBy?: (HelixSpatialTreemap["groupBy"]) | undefined;
|
|
17845
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17846
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17847
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17848
|
+
and a renderer draws no box either. */
|
|
17849
|
+
"no-box"?: (HelixSpatialTreemap["noBox"]) | undefined;
|
|
17850
|
+
/** Draws no box: no edges, grid, numbers, or names, so the readings stand
|
|
17851
|
+
alone and fill the plot, as a picture on a product's own page does. The
|
|
17852
|
+
table, the summary, the tooltip, and the keys still carry every value,
|
|
17853
|
+
and a renderer draws no box either. */
|
|
17854
|
+
noBox?: (HelixSpatialTreemap["noBox"]) | undefined;
|
|
17855
|
+
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
17856
|
+
"plot-label"?: (HelixSpatialTreemap["plotLabel"]) | undefined;
|
|
17857
|
+
/** The plot's name where the chart has none: no `aria-label`, `label`, or table caption. */
|
|
17858
|
+
plotLabel?: (HelixSpatialTreemap["plotLabel"]) | undefined;
|
|
17859
|
+
/** The `summary` part's sentence. `{count}` and `{groups}` are the number
|
|
17860
|
+
of items and groups, written in the locale, and `{low}` and `{high}` the
|
|
17861
|
+
smallest and the largest size. */
|
|
17862
|
+
"summary-label"?: (HelixSpatialTreemap["summaryLabel"]) | undefined;
|
|
17863
|
+
/** The `summary` part's sentence. `{count}` and `{groups}` are the number
|
|
17864
|
+
of items and groups, written in the locale, and `{low}` and `{high}` the
|
|
17865
|
+
smallest and the largest size. */
|
|
17866
|
+
summaryLabel?: (HelixSpatialTreemap["summaryLabel"]) | undefined;
|
|
17867
|
+
/** The readings as data, in the shape of a table, where the page has no
|
|
17868
|
+
table to point `for` at. `for` wins where both are set.
|
|
17869
|
+
|
|
17870
|
+
```js
|
|
17871
|
+
chart.data = {
|
|
17872
|
+
caption: 'Sessions by channel',
|
|
17873
|
+
columns: ['Month', 'Direct', 'Referral'],
|
|
17874
|
+
rows: [['Jan', 10, 4], ['Feb', 20, 8]],
|
|
17875
|
+
}
|
|
17876
|
+
```
|
|
17877
|
+
|
|
17878
|
+
The first column holds each row's label and every column after it a
|
|
17879
|
+
series, as in a table. A cell is a number, words, `null` for a blank,
|
|
17880
|
+
or `{ value, text }` for a number shown as words, such as `$128k`. A
|
|
17881
|
+
number is shown in `locale`.
|
|
17882
|
+
|
|
17883
|
+
**A table is still the better source where the page can show one**:
|
|
17884
|
+
it reads with no script and before hydration, and a reader can sort and
|
|
17885
|
+
copy it. Data is drawn on the client only, so a server serves the
|
|
17886
|
+
frame, and the summary, the keys and the readout are then the whole of
|
|
17887
|
+
what a screen reader is given. Set a new object to redraw: the chart
|
|
17888
|
+
does not look inside the one it has. */
|
|
17889
|
+
data?: (HelixSpatialTreemap["data"]) | undefined;
|
|
17890
|
+
};
|
|
17891
|
+
|
|
17892
|
+
export type HelixSpatialTreemapVueEvents = {
|
|
17893
|
+
/** The blocks or the block the keys rest on changed, which the renderer is told. It stays on the chart. */
|
|
17894
|
+
"helix-plot-change": HelixSpatialTreemapHelixPlotChangeElementEvent;
|
|
17895
|
+
/** Shift with an arrow asked the view to turn, by a step across or up. */
|
|
17896
|
+
"helix-plot-turn": HelixSpatialTreemapHelixPlotTurnElementEvent;
|
|
17897
|
+
/** The reading moved, or was put away: `index` is the row, or `-1` for none, with its `label` and the `pointerType` that moved it. */
|
|
17898
|
+
"helix-reading-change": HelixSpatialTreemapHelixReadingChangeElementEvent;
|
|
17899
|
+
/** A block was clicked or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
17900
|
+
"helix-reading-press": HelixSpatialTreemapHelixReadingPressElementEvent;
|
|
17901
|
+
};
|
|
17902
|
+
|
|
17312
17903
|
export type HelixSpeedDialGroupVueProps = {
|
|
17313
17904
|
/** The group's name, drawn above its actions and read by screen readers. */
|
|
17314
17905
|
label?: (HelixSpeedDialGroup["label"]) | undefined;
|
|
@@ -21593,7 +22184,13 @@ it is muted.
|
|
|
21593
22184
|
Forwarded to the video, which decides. Whether an unprompted play is
|
|
21594
22185
|
permitted is the browser's policy, and what follows a refused autoplay is a
|
|
21595
22186
|
paused player showing its start control, which is the correct thing to be
|
|
21596
|
-
looking at.
|
|
22187
|
+
looking at.
|
|
22188
|
+
|
|
22189
|
+
**Not where the reader asked for less motion**, or while the page has
|
|
22190
|
+
paused its motion, through `pauseMotion` or `Motion Toggle`: the player
|
|
22191
|
+
waits on its start control. A page that pauses its motion pauses a video
|
|
22192
|
+
that started itself, and one that lets it run again plays it again. A
|
|
22193
|
+
video the reader started is theirs, and neither touches it. */
|
|
21597
22194
|
autoplay?: (HelixVideo["autoplay"]) | undefined;
|
|
21598
22195
|
/** What the live region says when `c` turns captions off. */
|
|
21599
22196
|
"captions-hidden-label"?: (HelixVideo["captionsHiddenLabel"]) | undefined;
|
|
@@ -23641,6 +24238,8 @@ export type CustomCssProperties = {
|
|
|
23641
24238
|
"--meter-fraction"?: (string) | undefined;
|
|
23642
24239
|
/** How much of the circle the arc covers, as a path length. */
|
|
23643
24240
|
"--meter-sweep"?: (string) | undefined;
|
|
24241
|
+
/** The button's fill. Defaults to the floating overlay surface. */
|
|
24242
|
+
"--motion-toggle-background-color"?: (string) | undefined;
|
|
23644
24243
|
/** Height of the bar in a row. Each destination fills it. */
|
|
23645
24244
|
"--navigation-block-size"?: (string) | undefined;
|
|
23646
24245
|
/** Space between destinations. */
|
|
@@ -24179,6 +24778,10 @@ export type CustomCssProperties = {
|
|
|
24179
24778
|
"--sparkline-readout-font-size"?: (string) | undefined;
|
|
24180
24779
|
/** Thickness of the line, overriding `weight`. */
|
|
24181
24780
|
"--sparkline-width"?: (string) | undefined;
|
|
24781
|
+
/** How tall the plot is. */
|
|
24782
|
+
"--spatial-bar-chart-block-size"?: (string) | undefined;
|
|
24783
|
+
/** How far a bar's face turns from the light, from 0 for its top. The component writes it on each face, and the stylesheet that shades the face reads it. */
|
|
24784
|
+
"--spatial-bar-chart-shade"?: (string) | undefined;
|
|
24182
24785
|
/** The largest a cell grows, along its edge. The strip is never wider than its box, and draws smaller cells to fit. */
|
|
24183
24786
|
"--spatial-heatmap-cell-size"?: (string) | undefined;
|
|
24184
24787
|
/** How much less light the left face is than the top, as a step of OKLCH lightness from 0 to 1. 0.07 by default. */
|
|
@@ -24194,6 +24797,10 @@ export type CustomCssProperties = {
|
|
|
24194
24797
|
/** 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. */
|
|
24195
24798
|
"--spatial-heatmap-span"?: (string) | undefined;
|
|
24196
24799
|
/** How tall the plot is. */
|
|
24800
|
+
"--spatial-ribbon-chart-block-size"?: (string) | undefined;
|
|
24801
|
+
/** How far a ribbon's face turns from the light, from 0 for a level top. The component writes it on each face, and the stylesheet that shades the face reads it. */
|
|
24802
|
+
"--spatial-ribbon-chart-shade"?: (string) | undefined;
|
|
24803
|
+
/** How tall the plot is. */
|
|
24197
24804
|
"--spatial-scatter-chart-block-size"?: (string) | undefined;
|
|
24198
24805
|
/** How tall the plot is. */
|
|
24199
24806
|
"--spatial-surface-chart-block-size"?: (string) | undefined;
|
|
@@ -24205,6 +24812,10 @@ export type CustomCssProperties = {
|
|
|
24205
24812
|
"--spatial-surface-chart-level"?: (string) | undefined;
|
|
24206
24813
|
/** 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. */
|
|
24207
24814
|
"--spatial-surface-chart-shade"?: (string) | undefined;
|
|
24815
|
+
/** How tall the plot is. */
|
|
24816
|
+
"--spatial-treemap-block-size"?: (string) | undefined;
|
|
24817
|
+
/** How far a block's face turns from the light, from 0 for its top. The component writes it on each face, and the stylesheet that shades the face reads it. */
|
|
24818
|
+
"--spatial-treemap-shade"?: (string) | undefined;
|
|
24208
24819
|
/** Color of the group's name. */
|
|
24209
24820
|
"--speed-dial-group-label-color"?: (string) | undefined;
|
|
24210
24821
|
/** Size of the group's name. */
|
|
@@ -25321,6 +25932,12 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
25321
25932
|
HelixMeterVueProps,
|
|
25322
25933
|
HelixMeterVueEvents
|
|
25323
25934
|
>;
|
|
25935
|
+
/** A quiet square button, as the controls over a map are, with the pause icon while motion runs and the play icon while it is paused. Text slotted into it stands beside the icon. */
|
|
25936
|
+
"helix-motion-toggle": DefineCustomElement<
|
|
25937
|
+
HelixMotionToggle,
|
|
25938
|
+
HelixMotionToggleVueProps,
|
|
25939
|
+
HelixMotionToggleVueEvents
|
|
25940
|
+
>;
|
|
25324
25941
|
/** One marker moves to the current destination. A moving marker is easier to follow than a background that switches from one item to another, and the movement shows which page you came from as well as which one is current. The marker depends on 'variant', as 'Tabs'' mark does: - Unset, it is a pill on the current destination, with nothing behind the row. - 'underlined' makes it a bar along the bottom of the row, on a rule. - 'segmented' makes it a raised pill inside a sunken track. */
|
|
25325
25942
|
"helix-navigation": DefineCustomElement<
|
|
25326
25943
|
HelixNavigation,
|
|
@@ -25531,12 +26148,24 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
25531
26148
|
HelixSparklineVueProps,
|
|
25532
26149
|
HelixSparklineVueEvents
|
|
25533
26150
|
>;
|
|
26151
|
+
/** Each series takes a series color from the theme, as every chart's series does, and each face of a bar is that color darkened by how far it turns from the light. The chart draws the bars in 3D in SVG, and '@fusion.dev/helix-plot' can draw them with three.js. */
|
|
26152
|
+
"helix-spatial-bar-chart": DefineCustomElement<
|
|
26153
|
+
HelixSpatialBarChart,
|
|
26154
|
+
HelixSpatialBarChartVueProps,
|
|
26155
|
+
HelixSpatialBarChartVueEvents
|
|
26156
|
+
>;
|
|
25534
26157
|
/** Each reading is a prism. The top face takes the cell's tone, and the two sides are the same tone, shaded darker, so the whole relief follows your theme's colors. The chart draws the relief in SVG, and '@fusion.dev/helix-plot' can draw it with three.js. 'tones="1 2 3 4 5"' uses the same five-step ramp as 'Heatmap', so the tone and the height both show the value. Set '--spatial-heatmap-cell-size' to change how large a cell may grow. */
|
|
25535
26158
|
"helix-spatial-heatmap": DefineCustomElement<
|
|
25536
26159
|
HelixSpatialHeatmap,
|
|
25537
26160
|
HelixSpatialHeatmapVueProps,
|
|
25538
26161
|
HelixSpatialHeatmapVueEvents
|
|
25539
26162
|
>;
|
|
26163
|
+
/** Each series takes a series color from the theme, as every chart's series does, and each face of a ribbon is that color darkened by how far it turns from the light. The chart draws the ribbons in 3D in SVG, and '@fusion.dev/helix-plot' can draw them with three.js. */
|
|
26164
|
+
"helix-spatial-ribbon-chart": DefineCustomElement<
|
|
26165
|
+
HelixSpatialRibbonChart,
|
|
26166
|
+
HelixSpatialRibbonChartVueProps,
|
|
26167
|
+
HelixSpatialRibbonChartVueEvents
|
|
26168
|
+
>;
|
|
25540
26169
|
/** The chart draws the points in 3D in SVG, and '@fusion.dev/helix-plot' can draw them with three.js. Each group takes a series color from the theme, as every chart's series does, in both drawings. */
|
|
25541
26170
|
"helix-spatial-scatter-chart": DefineCustomElement<
|
|
25542
26171
|
HelixSpatialScatterChart,
|
|
@@ -25549,6 +26178,12 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
25549
26178
|
HelixSpatialSurfaceChartVueProps,
|
|
25550
26179
|
HelixSpatialSurfaceChartVueEvents
|
|
25551
26180
|
>;
|
|
26181
|
+
/** Each group takes a series color from the theme, as every chart's series does, and each face of a block is that color darkened by how far it turns from the light. The chart draws the blocks in 3D in SVG, and '@fusion.dev/helix-plot' can draw them with three.js. */
|
|
26182
|
+
"helix-spatial-treemap": DefineCustomElement<
|
|
26183
|
+
HelixSpatialTreemap,
|
|
26184
|
+
HelixSpatialTreemapVueProps,
|
|
26185
|
+
HelixSpatialTreemapVueEvents
|
|
26186
|
+
>;
|
|
25552
26187
|
/** A column of actions with its name above them, in the small muted words a menu heads its sections with, lined up on the side the trigger is on. The space between two groups is the space between two actions. */
|
|
25553
26188
|
"helix-speed-dial-group": DefineCustomElement<
|
|
25554
26189
|
HelixSpeedDialGroup,
|