@fusion.dev/helix 0.178.0 → 0.179.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/custom-elements.json +507 -83
- package/dist/aura/root/aura-root.css.js +5 -1
- package/dist/aura/root/aura-root.d.ts +33 -2
- package/dist/aura/root/aura-root.js +32 -3
- package/dist/badge/root/badge-root.css.js +1 -1
- package/dist/element-events.generated.js +8 -2
- package/dist/graph/root/graph-root.css.js +2 -1
- package/dist/heatmap/root/heatmap-root.css.js +4 -3
- package/dist/legend/root/legend-root.css.js +1 -1
- package/dist/line-chart/root/line-chart-root.css.js +1 -1
- package/dist/map/marker/map-marker.css.js +1 -1
- package/dist/map/position/map-position.css.js +3 -1
- package/dist/meter/root/meter-root.css.js +1 -1
- package/dist/rating/root/rating-root.css.js +2 -1
- package/dist/scatter-chart/root/scatter-chart-root.css.js +1 -1
- package/dist/shared/chart/terminus.css.js +1 -1
- package/dist/skeleton/root/skeleton-root.css.js +1 -1
- package/dist/sparkline/root/sparkline-root.css.js +4 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +258 -52
- package/types/vue.d.ts +52 -17
- package/types/words.d.ts +10 -0
package/types/jsx.d.ts
CHANGED
|
@@ -1696,6 +1696,14 @@ hit-testable at rest, or it would swallow clicks meant for what is over it,
|
|
|
1696
1696
|
and an element that is not hit-testable never receives the `pointermove`
|
|
1697
1697
|
this listens for. Asking for the pointer is asking for the hit test. */
|
|
1698
1698
|
interactive?: (HelixAura["interactive"]) | undefined;
|
|
1699
|
+
/** Whether the aura draws its own control that pauses the field and starts it
|
|
1700
|
+
again, in its trailing corner. Absent draws none, for a page with a pause
|
|
1701
|
+
control of its own. */
|
|
1702
|
+
"pause-control"?: (HelixAura["pauseControl"]) | undefined;
|
|
1703
|
+
/** Whether the aura draws its own control that pauses the field and starts it
|
|
1704
|
+
again, in its trailing corner. Absent draws none, for a page with a pause
|
|
1705
|
+
control of its own. */
|
|
1706
|
+
pauseControl?: (HelixAura["pauseControl"]) | undefined;
|
|
1699
1707
|
/** Whether the field holds still on the frame it shows.
|
|
1700
1708
|
|
|
1701
1709
|
Set it from a pause control on your page, so a reader can stop the motion,
|
|
@@ -1703,6 +1711,14 @@ as WCAG 2.2.2 asks of anything that moves for more than five seconds. A
|
|
|
1703
1711
|
change to another property still repaints the frame. Clearing it starts
|
|
1704
1712
|
the field from where it stopped. */
|
|
1705
1713
|
paused?: (HelixAura["paused"]) | undefined;
|
|
1714
|
+
/** The pause control's name, read by screen readers. The control is a toggle
|
|
1715
|
+
and says it is pressed while the field is paused, so the name stays the
|
|
1716
|
+
same. */
|
|
1717
|
+
"pause-label"?: (HelixAura["pauseLabel"]) | undefined;
|
|
1718
|
+
/** The pause control's name, read by screen readers. The control is a toggle
|
|
1719
|
+
and says it is pressed while the field is paused, so the name stays the
|
|
1720
|
+
same. */
|
|
1721
|
+
pauseLabel?: (HelixAura["pauseLabel"]) | undefined;
|
|
1706
1722
|
/** How far the pointer reaches into the field, `0` upward.
|
|
1707
1723
|
|
|
1708
1724
|
Multiplied into the presence the pointer already fades in and out with, so
|
|
@@ -1773,6 +1789,8 @@ look, which is what `variant` is for by the rule the registry already
|
|
|
1773
1789
|
states. */
|
|
1774
1790
|
variant?: (HelixAura["variant"]) | undefined;
|
|
1775
1791
|
|
|
1792
|
+
/** Fired when the aura's own pause control pauses the field or starts it again. */
|
|
1793
|
+
onchange?: ((e: HelixAuraElementEvent) => void) | undefined;
|
|
1776
1794
|
/** Fired each time the aura stops drawing its shader and shows its gradient, with the reason. */
|
|
1777
1795
|
"onhelix-aura-fallback"?: ((e: HelixAuraHelixAuraFallbackElementEvent) => void) | undefined;
|
|
1778
1796
|
};
|
|
@@ -1815,6 +1833,14 @@ hit-testable at rest, or it would swallow clicks meant for what is over it,
|
|
|
1815
1833
|
and an element that is not hit-testable never receives the `pointermove`
|
|
1816
1834
|
this listens for. Asking for the pointer is asking for the hit test. */
|
|
1817
1835
|
"prop:interactive"?: (HelixAura["interactive"]) | undefined;
|
|
1836
|
+
/** Whether the aura draws its own control that pauses the field and starts it
|
|
1837
|
+
again, in its trailing corner. Absent draws none, for a page with a pause
|
|
1838
|
+
control of its own. */
|
|
1839
|
+
"bool:pause-control"?: (HelixAura["pauseControl"]) | undefined;
|
|
1840
|
+
/** Whether the aura draws its own control that pauses the field and starts it
|
|
1841
|
+
again, in its trailing corner. Absent draws none, for a page with a pause
|
|
1842
|
+
control of its own. */
|
|
1843
|
+
"prop:pauseControl"?: (HelixAura["pauseControl"]) | undefined;
|
|
1818
1844
|
/** Whether the field holds still on the frame it shows.
|
|
1819
1845
|
|
|
1820
1846
|
Set it from a pause control on your page, so a reader can stop the motion,
|
|
@@ -1822,6 +1848,14 @@ as WCAG 2.2.2 asks of anything that moves for more than five seconds. A
|
|
|
1822
1848
|
change to another property still repaints the frame. Clearing it starts
|
|
1823
1849
|
the field from where it stopped. */
|
|
1824
1850
|
"prop:paused"?: (HelixAura["paused"]) | undefined;
|
|
1851
|
+
/** The pause control's name, read by screen readers. The control is a toggle
|
|
1852
|
+
and says it is pressed while the field is paused, so the name stays the
|
|
1853
|
+
same. */
|
|
1854
|
+
"attr:pause-label"?: (HelixAura["pauseLabel"]) | undefined;
|
|
1855
|
+
/** The pause control's name, read by screen readers. The control is a toggle
|
|
1856
|
+
and says it is pressed while the field is paused, so the name stays the
|
|
1857
|
+
same. */
|
|
1858
|
+
"prop:pauseLabel"?: (HelixAura["pauseLabel"]) | undefined;
|
|
1825
1859
|
/** How far the pointer reaches into the field, `0` upward.
|
|
1826
1860
|
|
|
1827
1861
|
Multiplied into the presence the pointer already fades in and out with, so
|
|
@@ -1891,6 +1925,8 @@ Aurora, braid and caustics are not geometries; they are eleven names for a
|
|
|
1891
1925
|
look, which is what `variant` is for by the rule the registry already
|
|
1892
1926
|
states. */
|
|
1893
1927
|
"prop:variant"?: (HelixAura["variant"]) | undefined;
|
|
1928
|
+
/** Fired when the aura's own pause control pauses the field or starts it again. */
|
|
1929
|
+
"on:change"?: ((e: HelixAuraElementEvent) => void) | undefined;
|
|
1894
1930
|
/** Fired each time the aura stops drawing its shader and shows its gradient, with the reason. */
|
|
1895
1931
|
"on:helix-aura-fallback"?: ((
|
|
1896
1932
|
e: HelixAuraHelixAuraFallbackElementEvent,
|
|
@@ -17909,11 +17945,36 @@ export type HelixHeatmapElementEvent<E = Event> = TypedEvent<HelixHeatmap, E>;
|
|
|
17909
17945
|
/** `helix-before-change` event type */
|
|
17910
17946
|
export type HelixHeatmapHelixBeforeChangeElementEvent =
|
|
17911
17947
|
HelixHeatmapElementEvent<HelixBeforeChangeEvent>;
|
|
17948
|
+
/** `helix-reading-change` event type */
|
|
17949
|
+
export type HelixHeatmapHelixReadingChangeElementEvent =
|
|
17950
|
+
HelixHeatmapElementEvent<HelixReadingChangeEvent>;
|
|
17951
|
+
/** `helix-reading-press` event type */
|
|
17952
|
+
export type HelixHeatmapHelixReadingPressElementEvent =
|
|
17953
|
+
HelixHeatmapElementEvent<HelixReadingPressEvent>;
|
|
17912
17954
|
/** `helix-resize` event type */
|
|
17913
17955
|
export type HelixHeatmapHelixResizeElementEvent =
|
|
17914
17956
|
HelixHeatmapElementEvent<HelixResizeEvent>;
|
|
17915
17957
|
|
|
17916
17958
|
export type HelixHeatmapProps = {
|
|
17959
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
17960
|
+
and the fallback of the `empty` slot. */
|
|
17961
|
+
"empty-text"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
17962
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
17963
|
+
and the fallback of the `empty` slot. */
|
|
17964
|
+
emptyText?: (HelixHeatmap["emptyText"]) | undefined;
|
|
17965
|
+
/** Whether the readings are still on their way. The chart shows
|
|
17966
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
17967
|
+
|
|
17968
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
17969
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
17970
|
+
blank it. */
|
|
17971
|
+
loading?: (HelixHeatmap["loading"]) | undefined;
|
|
17972
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
17973
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
17974
|
+
"loading-text"?: (HelixHeatmap["loadingText"]) | undefined;
|
|
17975
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
17976
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
17977
|
+
loadingText?: (HelixHeatmap["loadingText"]) | undefined;
|
|
17917
17978
|
/** The id of the table to read.
|
|
17918
17979
|
|
|
17919
17980
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -17956,16 +18017,6 @@ legend hid is not counted. */
|
|
|
17956
18017
|
/** The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
17957
18018
|
`overview-label`. */
|
|
17958
18019
|
busiestLabel?: (HelixHeatmap["busiestLabel"]) | undefined;
|
|
17959
|
-
/** Shown when the table has no readings in it.
|
|
17960
|
-
|
|
17961
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
17962
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
17963
|
-
"empty-text"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
17964
|
-
/** Shown when the table has no readings in it.
|
|
17965
|
-
|
|
17966
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
17967
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
17968
|
-
emptyText?: (HelixHeatmap["emptyText"]) | undefined;
|
|
17969
18020
|
/** Space between cells, in CSS pixels. It is a number for the same reason
|
|
17970
18021
|
`min-cell` is. */
|
|
17971
18022
|
gap?: (HelixHeatmap["gap"]) | undefined;
|
|
@@ -18023,13 +18074,9 @@ calendar heatmap does: a week is a column, so the strip reads along the
|
|
|
18023
18074
|
line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
18024
18075
|
days. */
|
|
18025
18076
|
rows?: (HelixHeatmap["rows"]) | undefined;
|
|
18026
|
-
/** What the readout
|
|
18027
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
18028
|
-
nothing. */
|
|
18077
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
18029
18078
|
"selected-label"?: (HelixHeatmap["selectedLabel"]) | undefined;
|
|
18030
|
-
/** What the readout
|
|
18031
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
18032
|
-
nothing. */
|
|
18079
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
18033
18080
|
selectedLabel?: (HelixHeatmap["selectedLabel"]) | undefined;
|
|
18034
18081
|
/** What the `selection` part says after the selection changes. `{count}` is
|
|
18035
18082
|
how many cells are selected, written in the locale, and a language that
|
|
@@ -18116,11 +18163,38 @@ does not look inside the one it has. */
|
|
|
18116
18163
|
"onhelix-before-change"?: ((
|
|
18117
18164
|
e: HelixHeatmapHelixBeforeChangeElementEvent,
|
|
18118
18165
|
) => void) | undefined;
|
|
18166
|
+
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
18167
|
+
"onhelix-reading-change"?: ((
|
|
18168
|
+
e: HelixHeatmapHelixReadingChangeElementEvent,
|
|
18169
|
+
) => void) | undefined;
|
|
18170
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
18171
|
+
"onhelix-reading-press"?: ((
|
|
18172
|
+
e: HelixHeatmapHelixReadingPressElementEvent,
|
|
18173
|
+
) => void) | undefined;
|
|
18119
18174
|
/** Fired when the number of cells drawn changes, with the new number. */
|
|
18120
18175
|
"onhelix-resize"?: ((e: HelixHeatmapHelixResizeElementEvent) => void) | undefined;
|
|
18121
18176
|
};
|
|
18122
18177
|
|
|
18123
18178
|
export type HelixHeatmapSolidJsProps = {
|
|
18179
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
18180
|
+
and the fallback of the `empty` slot. */
|
|
18181
|
+
"attr:empty-text"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
18182
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
18183
|
+
and the fallback of the `empty` slot. */
|
|
18184
|
+
"prop:emptyText"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
18185
|
+
/** Whether the readings are still on their way. The chart shows
|
|
18186
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
18187
|
+
|
|
18188
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
18189
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
18190
|
+
blank it. */
|
|
18191
|
+
"prop:loading"?: (HelixHeatmap["loading"]) | undefined;
|
|
18192
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
18193
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
18194
|
+
"attr:loading-text"?: (HelixHeatmap["loadingText"]) | undefined;
|
|
18195
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
18196
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
18197
|
+
"prop:loadingText"?: (HelixHeatmap["loadingText"]) | undefined;
|
|
18124
18198
|
/** The id of the table to read.
|
|
18125
18199
|
|
|
18126
18200
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -18163,16 +18237,6 @@ legend hid is not counted. */
|
|
|
18163
18237
|
/** The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
18164
18238
|
`overview-label`. */
|
|
18165
18239
|
"prop:busiestLabel"?: (HelixHeatmap["busiestLabel"]) | undefined;
|
|
18166
|
-
/** Shown when the table has no readings in it.
|
|
18167
|
-
|
|
18168
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
18169
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
18170
|
-
"attr:empty-text"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
18171
|
-
/** Shown when the table has no readings in it.
|
|
18172
|
-
|
|
18173
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
18174
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
18175
|
-
"prop:emptyText"?: (HelixHeatmap["emptyText"]) | undefined;
|
|
18176
18240
|
/** Space between cells, in CSS pixels. It is a number for the same reason
|
|
18177
18241
|
`min-cell` is. */
|
|
18178
18242
|
"prop:gap"?: (HelixHeatmap["gap"]) | undefined;
|
|
@@ -18230,13 +18294,9 @@ calendar heatmap does: a week is a column, so the strip reads along the
|
|
|
18230
18294
|
line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
18231
18295
|
days. */
|
|
18232
18296
|
"prop:rows"?: (HelixHeatmap["rows"]) | undefined;
|
|
18233
|
-
/** What the readout
|
|
18234
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
18235
|
-
nothing. */
|
|
18297
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
18236
18298
|
"attr:selected-label"?: (HelixHeatmap["selectedLabel"]) | undefined;
|
|
18237
|
-
/** What the readout
|
|
18238
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
18239
|
-
nothing. */
|
|
18299
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
18240
18300
|
"prop:selectedLabel"?: (HelixHeatmap["selectedLabel"]) | undefined;
|
|
18241
18301
|
/** What the `selection` part says after the selection changes. `{count}` is
|
|
18242
18302
|
how many cells are selected, written in the locale, and a language that
|
|
@@ -18322,6 +18382,14 @@ does not look inside the one it has. */
|
|
|
18322
18382
|
"on:helix-before-change"?: ((
|
|
18323
18383
|
e: HelixHeatmapHelixBeforeChangeElementEvent,
|
|
18324
18384
|
) => void) | undefined;
|
|
18385
|
+
/** The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it. */
|
|
18386
|
+
"on:helix-reading-change"?: ((
|
|
18387
|
+
e: HelixHeatmapHelixReadingChangeElementEvent,
|
|
18388
|
+
) => void) | undefined;
|
|
18389
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
18390
|
+
"on:helix-reading-press"?: ((
|
|
18391
|
+
e: HelixHeatmapHelixReadingPressElementEvent,
|
|
18392
|
+
) => void) | undefined;
|
|
18325
18393
|
/** Fired when the number of cells drawn changes, with the new number. */
|
|
18326
18394
|
"on:helix-resize"?: ((e: HelixHeatmapHelixResizeElementEvent) => void) | undefined;
|
|
18327
18395
|
|
|
@@ -43076,8 +43144,8 @@ export type CustomElements = {
|
|
|
43076
43144
|
* The shader stops drawing in these cases:
|
|
43077
43145
|
* - The element is off screen or in a background tab.
|
|
43078
43146
|
* - `prefers-reduced-motion` is set. The element shows one still frame.
|
|
43079
|
-
* - `paused` is set, from a pause control on your page
|
|
43080
|
-
* frame it shows.
|
|
43147
|
+
* - `paused` is set, from a pause control on your page or from the aura's own
|
|
43148
|
+
* under `pause-control`. The element holds the frame it shows.
|
|
43081
43149
|
* - The browser takes back the drawing context, on a GPU reset or past its
|
|
43082
43150
|
* limit of about sixteen contexts. The gradient shows until the context
|
|
43083
43151
|
* returns.
|
|
@@ -43101,6 +43169,13 @@ export type CustomElements = {
|
|
|
43101
43169
|
* changed while the aura draws, by a class, a style or the color mode,
|
|
43102
43170
|
* reaches the shader on the next frame.
|
|
43103
43171
|
*
|
|
43172
|
+
* **`pause-control` draws a control that stops the motion and starts it
|
|
43173
|
+
* again**, in the trailing corner of the field, as WCAG 2.2.2 asks of
|
|
43174
|
+
* anything that moves for more than five seconds. It is a toggle button named
|
|
43175
|
+
* by `pause-label`, which says it is pressed while the field is paused, and a
|
|
43176
|
+
* press sends `change`. A reader who asked for reduced motion sees no motion
|
|
43177
|
+
* and no control.
|
|
43178
|
+
*
|
|
43104
43179
|
* Where the gradient shows in place of the shader, the aura matches
|
|
43105
43180
|
* `:state(fallback)` and sends `helix-aura-fallback` with the reason.
|
|
43106
43181
|
*
|
|
@@ -43140,12 +43215,18 @@ export type CustomElements = {
|
|
|
43140
43215
|
* hit-testable at rest, or it would swallow clicks meant for what is over it,
|
|
43141
43216
|
* and an element that is not hit-testable never receives the `pointermove`
|
|
43142
43217
|
* this listens for. Asking for the pointer is asking for the hit test.
|
|
43218
|
+
* - `pause-control`/`pauseControl`: Whether the aura draws its own control that pauses the field and starts it
|
|
43219
|
+
* again, in its trailing corner. Absent draws none, for a page with a pause
|
|
43220
|
+
* control of its own.
|
|
43143
43221
|
* - `paused`: Whether the field holds still on the frame it shows.
|
|
43144
43222
|
*
|
|
43145
43223
|
* Set it from a pause control on your page, so a reader can stop the motion,
|
|
43146
43224
|
* as WCAG 2.2.2 asks of anything that moves for more than five seconds. A
|
|
43147
43225
|
* change to another property still repaints the frame. Clearing it starts
|
|
43148
43226
|
* the field from where it stopped.
|
|
43227
|
+
* - `pause-label`/`pauseLabel`: The pause control's name, read by screen readers. The control is a toggle
|
|
43228
|
+
* and says it is pressed while the field is paused, so the name stays the
|
|
43229
|
+
* same.
|
|
43149
43230
|
* - `reach`: How far the pointer reaches into the field, `0` upward.
|
|
43150
43231
|
*
|
|
43151
43232
|
* Multiplied into the presence the pointer already fades in and out with, so
|
|
@@ -43233,6 +43314,7 @@ export type CustomElements = {
|
|
|
43233
43314
|
*
|
|
43234
43315
|
* Events that will be emitted by the component.
|
|
43235
43316
|
*
|
|
43317
|
+
* - `change`: Fired when the aura's own pause control pauses the field or starts it again.
|
|
43236
43318
|
* - `helix-aura-fallback`: Fired each time the aura stops drawing its shader and shows its gradient, with the reason.
|
|
43237
43319
|
*
|
|
43238
43320
|
* ## Slots
|
|
@@ -43248,6 +43330,7 @@ export type CustomElements = {
|
|
|
43248
43330
|
* - `--aura-glow`: The bright stop of the ramp. Defaults to `--helix-color-primary`.
|
|
43249
43331
|
* - `--aura-ground`: The page the field fades into. Defaults to `--helix-color-background`.
|
|
43250
43332
|
* - `--aura-haze`: The faint stop between the ground and the glow. Defaults to `--helix-color-primary-subtle`.
|
|
43333
|
+
* - `--aura-pause-background-color`: The pause control's ground. Defaults to `--helix-color-surface-overlay`.
|
|
43251
43334
|
* - `--aura-peak`: The hottest stop, at the center of a shape. Defaults to `--helix-color-primary-active` on a light page and `--helix-color-foreground` on a dark one.
|
|
43252
43335
|
*
|
|
43253
43336
|
* ## CSS Parts
|
|
@@ -43256,6 +43339,8 @@ export type CustomElements = {
|
|
|
43256
43339
|
*
|
|
43257
43340
|
* - `canvas`: The surface the shader draws into.
|
|
43258
43341
|
* - `content`: The box over the field that holds the content. It covers the aura.
|
|
43342
|
+
* - `pause`: The control that pauses the field and starts it again, drawn under `pause-control`.
|
|
43343
|
+
* - `pause-mark`: The glyph on the pause control: pause while the field moves, play while it is paused.
|
|
43259
43344
|
*
|
|
43260
43345
|
* ## CSS States
|
|
43261
43346
|
*
|
|
@@ -44721,6 +44806,15 @@ export type CustomElements = {
|
|
|
44721
44806
|
*
|
|
44722
44807
|
* Methods that can be called to access component functionality.
|
|
44723
44808
|
*
|
|
44809
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
44810
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
44811
|
+
*
|
|
44812
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
44813
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
44814
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
44815
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
44816
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
44817
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
44724
44818
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the button's form changes.
|
|
44725
44819
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
44726
44820
|
*
|
|
@@ -49051,6 +49145,15 @@ export type CustomElements = {
|
|
|
49051
49145
|
*
|
|
49052
49146
|
* Methods that can be called to access component functionality.
|
|
49053
49147
|
*
|
|
49148
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
49149
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
49150
|
+
*
|
|
49151
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
49152
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
49153
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
49154
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
49155
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
49156
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
49054
49157
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
49055
49158
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
49056
49159
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -51574,6 +51677,9 @@ export type CustomElements = {
|
|
|
51574
51677
|
*
|
|
51575
51678
|
* - `focusItem() => void`: Moves focus onto the row itself.
|
|
51576
51679
|
* - `select() => void`: Fires `helix-select` for this row.
|
|
51680
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
51681
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
51682
|
+
* chooses the row, or follows its link, once.
|
|
51577
51683
|
*
|
|
51578
51684
|
* ## CSS Custom Properties
|
|
51579
51685
|
*
|
|
@@ -53663,6 +53769,16 @@ export type CustomElements = {
|
|
|
53663
53769
|
*
|
|
53664
53770
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
53665
53771
|
*
|
|
53772
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
53773
|
+
* and the fallback of the `empty` slot.
|
|
53774
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
53775
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
53776
|
+
*
|
|
53777
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
53778
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
53779
|
+
* blank it.
|
|
53780
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
53781
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
53666
53782
|
* - `for`: The id of the table to read.
|
|
53667
53783
|
*
|
|
53668
53784
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -53689,10 +53805,6 @@ export type CustomElements = {
|
|
|
53689
53805
|
* legend hid is not counted.
|
|
53690
53806
|
* - `busiest-label`/`busiestLabel`: The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
53691
53807
|
* `overview-label`.
|
|
53692
|
-
* - `empty-text`/`emptyText`: Shown when the table has no readings in it.
|
|
53693
|
-
*
|
|
53694
|
-
* Never shown while the table cannot be read at all, which is a server render
|
|
53695
|
-
* and the hydrating one after it: see `sourceKnown`.
|
|
53696
53808
|
* - `gap`: Space between cells, in CSS pixels. It is a number for the same reason
|
|
53697
53809
|
* `min-cell` is.
|
|
53698
53810
|
* - `min-cell`/`minCell`: The smallest a cell may get before the strip draws fewer of them, in CSS pixels.
|
|
@@ -53723,9 +53835,7 @@ export type CustomElements = {
|
|
|
53723
53835
|
* calendar heatmap does: a week is a column, so the strip reads along the
|
|
53724
53836
|
* line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
53725
53837
|
* days.
|
|
53726
|
-
* - `selected-label`/`selectedLabel`: What the readout
|
|
53727
|
-
* where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
53728
|
-
* nothing.
|
|
53838
|
+
* - `selected-label`/`selectedLabel`: What the readout added for a selected cell, under `selection-mode`.
|
|
53729
53839
|
* - `selection-label`/`selectionLabel`: What the `selection` part says after the selection changes. `{count}` is
|
|
53730
53840
|
* how many cells are selected, written in the locale, and a language that
|
|
53731
53841
|
* needs plural forms writes them: `{count, plural, one {# wybrany} few
|
|
@@ -53844,6 +53954,8 @@ export type CustomElements = {
|
|
|
53844
53954
|
*
|
|
53845
53955
|
* - `change`: Fired once a press or a key has changed which cells are selected.
|
|
53846
53956
|
* - `helix-before-change`: Fired before a press or a key changes which cells are selected, with the `value` it would leave. Cancelable.
|
|
53957
|
+
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
53958
|
+
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
53847
53959
|
* - `helix-resize`: Fired when the number of cells drawn changes, with the new number.
|
|
53848
53960
|
*
|
|
53849
53961
|
* ## Slots
|
|
@@ -53853,6 +53965,8 @@ export type CustomElements = {
|
|
|
53853
53965
|
* - `end`: Below the strip, at the trailing edge.
|
|
53854
53966
|
* - `start`: Below the strip, at the leading edge.
|
|
53855
53967
|
* - `summary`: Below the strip, in the middle.
|
|
53968
|
+
* - `empty`: Content shown under the strip when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
53969
|
+
* - `loading`: Content shown under the strip while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
53856
53970
|
*
|
|
53857
53971
|
* ## Methods
|
|
53858
53972
|
*
|
|
@@ -53944,9 +54058,12 @@ export type CustomElements = {
|
|
|
53944
54058
|
* - `tooltip-top`: The bubble while it is above the reading. Set alongside `tooltip`.
|
|
53945
54059
|
* - `tooltip-value`: A column's value inside the tooltip.
|
|
53946
54060
|
* - `cell-selected`: A cell that is selected, under `selection-mode`. Set alongside `cell`.
|
|
53947
|
-
* - `empty`:
|
|
54061
|
+
* - `empty`: The words under the strip when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration, there being no document to resolve `for` in.
|
|
53948
54062
|
* - `end`: The trailing slot's box.
|
|
54063
|
+
* - `loading`: The words under the strip while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
53949
54064
|
* - `overview`: The busiest reading and the total of the readings drawn, written as a sentence for screen readers, which describes the strip. Rendered once there are cells. Hide it visually.
|
|
54065
|
+
* - `plot`: The same element as `strip`, under the name every chart gives the drawing that takes focus.
|
|
54066
|
+
* - `row`: A column of cells, which a grid reads as a row, under `selection-mode`. It draws no box.
|
|
53950
54067
|
* - `selection`: A polite region that says how many cells are selected after a change, rendered from the first change. Hide it visually.
|
|
53951
54068
|
* - `start`: The leading slot's box.
|
|
53952
54069
|
* - `summary`: The middle slot's box.
|
|
@@ -53958,6 +54075,7 @@ export type CustomElements = {
|
|
|
53958
54075
|
*
|
|
53959
54076
|
* - `active`: While a cell is shown, under the pointer or the keys, with its tooltip open.
|
|
53960
54077
|
* - `empty`: While the `empty` part stands in place of the cells.
|
|
54078
|
+
* - `loading`: While the `loading` part stands in place of the cells.
|
|
53961
54079
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
53962
54080
|
*/
|
|
53963
54081
|
"helix-heatmap": Partial<
|
|
@@ -54197,6 +54315,15 @@ export type CustomElements = {
|
|
|
54197
54315
|
*
|
|
54198
54316
|
* Methods that can be called to access component functionality.
|
|
54199
54317
|
*
|
|
54318
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
54319
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
54320
|
+
*
|
|
54321
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
54322
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
54323
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
54324
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
54325
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
54326
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
54200
54327
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
54201
54328
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
54202
54329
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -58054,6 +58181,9 @@ export type CustomElements = {
|
|
|
58054
58181
|
* `focus()` above already puts focus on the control inside the row rather than
|
|
58055
58182
|
* on the row, which is the whole of what moving here means.
|
|
58056
58183
|
* - `select() => void`: Chooses the row, the same as pressing it.
|
|
58184
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
58185
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
58186
|
+
* chooses the row, or follows its link, once.
|
|
58057
58187
|
*
|
|
58058
58188
|
* ## CSS Custom Properties
|
|
58059
58189
|
*
|
|
@@ -64931,6 +65061,9 @@ export type CustomElements = {
|
|
|
64931
65061
|
* - `focus(options?: FocusOptions) => void`: Puts focus on the control inside the item.
|
|
64932
65062
|
* - `focusItem() => void`: Moves focus to the action. Part of `NavigableItem`, which the shared
|
|
64933
65063
|
* keyboard controller uses for the arrow keys.
|
|
65064
|
+
* - `click() => void`: Presses the action, as `click()` presses a native button: passed to the
|
|
65065
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
65066
|
+
* chooses the action and follows its link, once.
|
|
64934
65067
|
* - `select() => void`: Chooses the action, the same as pressing it.
|
|
64935
65068
|
*
|
|
64936
65069
|
* ## CSS Custom Properties
|
|
@@ -67153,6 +67286,9 @@ export type CustomElements = {
|
|
|
67153
67286
|
* disabled or a listener cancels the event.
|
|
67154
67287
|
* - `focus(options?: FocusOptions) => void`: Moves focus to the tab's control, the button or the link inside it, so a
|
|
67155
67288
|
* script can focus the tab the way it focuses a native one.
|
|
67289
|
+
* - `click() => void`: Presses the tab, as `click()` presses a native button: passed to the
|
|
67290
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
67291
|
+
* selects the tab, or follows its link, once.
|
|
67156
67292
|
*
|
|
67157
67293
|
* ## CSS Custom Properties
|
|
67158
67294
|
*
|
|
@@ -72689,8 +72825,8 @@ export type CustomElementsSolidJs = {
|
|
|
72689
72825
|
* The shader stops drawing in these cases:
|
|
72690
72826
|
* - The element is off screen or in a background tab.
|
|
72691
72827
|
* - `prefers-reduced-motion` is set. The element shows one still frame.
|
|
72692
|
-
* - `paused` is set, from a pause control on your page
|
|
72693
|
-
* frame it shows.
|
|
72828
|
+
* - `paused` is set, from a pause control on your page or from the aura's own
|
|
72829
|
+
* under `pause-control`. The element holds the frame it shows.
|
|
72694
72830
|
* - The browser takes back the drawing context, on a GPU reset or past its
|
|
72695
72831
|
* limit of about sixteen contexts. The gradient shows until the context
|
|
72696
72832
|
* returns.
|
|
@@ -72714,6 +72850,13 @@ export type CustomElementsSolidJs = {
|
|
|
72714
72850
|
* changed while the aura draws, by a class, a style or the color mode,
|
|
72715
72851
|
* reaches the shader on the next frame.
|
|
72716
72852
|
*
|
|
72853
|
+
* **`pause-control` draws a control that stops the motion and starts it
|
|
72854
|
+
* again**, in the trailing corner of the field, as WCAG 2.2.2 asks of
|
|
72855
|
+
* anything that moves for more than five seconds. It is a toggle button named
|
|
72856
|
+
* by `pause-label`, which says it is pressed while the field is paused, and a
|
|
72857
|
+
* press sends `change`. A reader who asked for reduced motion sees no motion
|
|
72858
|
+
* and no control.
|
|
72859
|
+
*
|
|
72717
72860
|
* Where the gradient shows in place of the shader, the aura matches
|
|
72718
72861
|
* `:state(fallback)` and sends `helix-aura-fallback` with the reason.
|
|
72719
72862
|
*
|
|
@@ -72753,12 +72896,18 @@ export type CustomElementsSolidJs = {
|
|
|
72753
72896
|
* hit-testable at rest, or it would swallow clicks meant for what is over it,
|
|
72754
72897
|
* and an element that is not hit-testable never receives the `pointermove`
|
|
72755
72898
|
* this listens for. Asking for the pointer is asking for the hit test.
|
|
72899
|
+
* - `pause-control`/`pauseControl`: Whether the aura draws its own control that pauses the field and starts it
|
|
72900
|
+
* again, in its trailing corner. Absent draws none, for a page with a pause
|
|
72901
|
+
* control of its own.
|
|
72756
72902
|
* - `paused`: Whether the field holds still on the frame it shows.
|
|
72757
72903
|
*
|
|
72758
72904
|
* Set it from a pause control on your page, so a reader can stop the motion,
|
|
72759
72905
|
* as WCAG 2.2.2 asks of anything that moves for more than five seconds. A
|
|
72760
72906
|
* change to another property still repaints the frame. Clearing it starts
|
|
72761
72907
|
* the field from where it stopped.
|
|
72908
|
+
* - `pause-label`/`pauseLabel`: The pause control's name, read by screen readers. The control is a toggle
|
|
72909
|
+
* and says it is pressed while the field is paused, so the name stays the
|
|
72910
|
+
* same.
|
|
72762
72911
|
* - `reach`: How far the pointer reaches into the field, `0` upward.
|
|
72763
72912
|
*
|
|
72764
72913
|
* Multiplied into the presence the pointer already fades in and out with, so
|
|
@@ -72846,6 +72995,7 @@ export type CustomElementsSolidJs = {
|
|
|
72846
72995
|
*
|
|
72847
72996
|
* Events that will be emitted by the component.
|
|
72848
72997
|
*
|
|
72998
|
+
* - `change`: Fired when the aura's own pause control pauses the field or starts it again.
|
|
72849
72999
|
* - `helix-aura-fallback`: Fired each time the aura stops drawing its shader and shows its gradient, with the reason.
|
|
72850
73000
|
*
|
|
72851
73001
|
* ## Slots
|
|
@@ -72861,6 +73011,7 @@ export type CustomElementsSolidJs = {
|
|
|
72861
73011
|
* - `--aura-glow`: The bright stop of the ramp. Defaults to `--helix-color-primary`.
|
|
72862
73012
|
* - `--aura-ground`: The page the field fades into. Defaults to `--helix-color-background`.
|
|
72863
73013
|
* - `--aura-haze`: The faint stop between the ground and the glow. Defaults to `--helix-color-primary-subtle`.
|
|
73014
|
+
* - `--aura-pause-background-color`: The pause control's ground. Defaults to `--helix-color-surface-overlay`.
|
|
72864
73015
|
* - `--aura-peak`: The hottest stop, at the center of a shape. Defaults to `--helix-color-primary-active` on a light page and `--helix-color-foreground` on a dark one.
|
|
72865
73016
|
*
|
|
72866
73017
|
* ## CSS Parts
|
|
@@ -72869,6 +73020,8 @@ export type CustomElementsSolidJs = {
|
|
|
72869
73020
|
*
|
|
72870
73021
|
* - `canvas`: The surface the shader draws into.
|
|
72871
73022
|
* - `content`: The box over the field that holds the content. It covers the aura.
|
|
73023
|
+
* - `pause`: The control that pauses the field and starts it again, drawn under `pause-control`.
|
|
73024
|
+
* - `pause-mark`: The glyph on the pause control: pause while the field moves, play while it is paused.
|
|
72872
73025
|
*
|
|
72873
73026
|
* ## CSS States
|
|
72874
73027
|
*
|
|
@@ -74362,6 +74515,15 @@ export type CustomElementsSolidJs = {
|
|
|
74362
74515
|
*
|
|
74363
74516
|
* Methods that can be called to access component functionality.
|
|
74364
74517
|
*
|
|
74518
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
74519
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
74520
|
+
*
|
|
74521
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
74522
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
74523
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
74524
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
74525
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
74526
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
74365
74527
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the button's form changes.
|
|
74366
74528
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
74367
74529
|
*
|
|
@@ -78743,6 +78905,15 @@ export type CustomElementsSolidJs = {
|
|
|
78743
78905
|
*
|
|
78744
78906
|
* Methods that can be called to access component functionality.
|
|
78745
78907
|
*
|
|
78908
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
78909
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
78910
|
+
*
|
|
78911
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
78912
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
78913
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
78914
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
78915
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
78916
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
78746
78917
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
78747
78918
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
78748
78919
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -81294,6 +81465,9 @@ export type CustomElementsSolidJs = {
|
|
|
81294
81465
|
*
|
|
81295
81466
|
* - `focusItem() => void`: Moves focus onto the row itself.
|
|
81296
81467
|
* - `select() => void`: Fires `helix-select` for this row.
|
|
81468
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
81469
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
81470
|
+
* chooses the row, or follows its link, once.
|
|
81297
81471
|
*
|
|
81298
81472
|
* ## CSS Custom Properties
|
|
81299
81473
|
*
|
|
@@ -83424,6 +83598,16 @@ export type CustomElementsSolidJs = {
|
|
|
83424
83598
|
*
|
|
83425
83599
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
83426
83600
|
*
|
|
83601
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
83602
|
+
* and the fallback of the `empty` slot.
|
|
83603
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
83604
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
83605
|
+
*
|
|
83606
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
83607
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
83608
|
+
* blank it.
|
|
83609
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
83610
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
83427
83611
|
* - `for`: The id of the table to read.
|
|
83428
83612
|
*
|
|
83429
83613
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -83450,10 +83634,6 @@ export type CustomElementsSolidJs = {
|
|
|
83450
83634
|
* legend hid is not counted.
|
|
83451
83635
|
* - `busiest-label`/`busiestLabel`: The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
83452
83636
|
* `overview-label`.
|
|
83453
|
-
* - `empty-text`/`emptyText`: Shown when the table has no readings in it.
|
|
83454
|
-
*
|
|
83455
|
-
* Never shown while the table cannot be read at all, which is a server render
|
|
83456
|
-
* and the hydrating one after it: see `sourceKnown`.
|
|
83457
83637
|
* - `gap`: Space between cells, in CSS pixels. It is a number for the same reason
|
|
83458
83638
|
* `min-cell` is.
|
|
83459
83639
|
* - `min-cell`/`minCell`: The smallest a cell may get before the strip draws fewer of them, in CSS pixels.
|
|
@@ -83484,9 +83664,7 @@ export type CustomElementsSolidJs = {
|
|
|
83484
83664
|
* calendar heatmap does: a week is a column, so the strip reads along the
|
|
83485
83665
|
* line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
83486
83666
|
* days.
|
|
83487
|
-
* - `selected-label`/`selectedLabel`: What the readout
|
|
83488
|
-
* where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
83489
|
-
* nothing.
|
|
83667
|
+
* - `selected-label`/`selectedLabel`: What the readout added for a selected cell, under `selection-mode`.
|
|
83490
83668
|
* - `selection-label`/`selectionLabel`: What the `selection` part says after the selection changes. `{count}` is
|
|
83491
83669
|
* how many cells are selected, written in the locale, and a language that
|
|
83492
83670
|
* needs plural forms writes them: `{count, plural, one {# wybrany} few
|
|
@@ -83605,6 +83783,8 @@ export type CustomElementsSolidJs = {
|
|
|
83605
83783
|
*
|
|
83606
83784
|
* - `change`: Fired once a press or a key has changed which cells are selected.
|
|
83607
83785
|
* - `helix-before-change`: Fired before a press or a key changes which cells are selected, with the `value` it would leave. Cancelable.
|
|
83786
|
+
* - `helix-reading-change`: The reading shown moved, or was put away: `index` is the row, or `-1` for none, with its `label`, the `series` the keys rest on, and the `pointerType` that moved it.
|
|
83787
|
+
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
83608
83788
|
* - `helix-resize`: Fired when the number of cells drawn changes, with the new number.
|
|
83609
83789
|
*
|
|
83610
83790
|
* ## Slots
|
|
@@ -83614,6 +83794,8 @@ export type CustomElementsSolidJs = {
|
|
|
83614
83794
|
* - `end`: Below the strip, at the trailing edge.
|
|
83615
83795
|
* - `start`: Below the strip, at the leading edge.
|
|
83616
83796
|
* - `summary`: Below the strip, in the middle.
|
|
83797
|
+
* - `empty`: Content shown under the strip when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
|
|
83798
|
+
* - `loading`: Content shown under the strip while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
83617
83799
|
*
|
|
83618
83800
|
* ## Methods
|
|
83619
83801
|
*
|
|
@@ -83705,9 +83887,12 @@ export type CustomElementsSolidJs = {
|
|
|
83705
83887
|
* - `tooltip-top`: The bubble while it is above the reading. Set alongside `tooltip`.
|
|
83706
83888
|
* - `tooltip-value`: A column's value inside the tooltip.
|
|
83707
83889
|
* - `cell-selected`: A cell that is selected, under `selection-mode`. Set alongside `cell`.
|
|
83708
|
-
* - `empty`:
|
|
83890
|
+
* - `empty`: The words under the strip when the table has no readings: the `empty` slot, falling back to `empty-text`. Not drawn while the table cannot be read yet, on the server and during hydration, there being no document to resolve `for` in.
|
|
83709
83891
|
* - `end`: The trailing slot's box.
|
|
83892
|
+
* - `loading`: The words under the strip while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
83710
83893
|
* - `overview`: The busiest reading and the total of the readings drawn, written as a sentence for screen readers, which describes the strip. Rendered once there are cells. Hide it visually.
|
|
83894
|
+
* - `plot`: The same element as `strip`, under the name every chart gives the drawing that takes focus.
|
|
83895
|
+
* - `row`: A column of cells, which a grid reads as a row, under `selection-mode`. It draws no box.
|
|
83711
83896
|
* - `selection`: A polite region that says how many cells are selected after a change, rendered from the first change. Hide it visually.
|
|
83712
83897
|
* - `start`: The leading slot's box.
|
|
83713
83898
|
* - `summary`: The middle slot's box.
|
|
@@ -83719,6 +83904,7 @@ export type CustomElementsSolidJs = {
|
|
|
83719
83904
|
*
|
|
83720
83905
|
* - `active`: While a cell is shown, under the pointer or the keys, with its tooltip open.
|
|
83721
83906
|
* - `empty`: While the `empty` part stands in place of the cells.
|
|
83907
|
+
* - `loading`: While the `loading` part stands in place of the cells.
|
|
83722
83908
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
83723
83909
|
*/
|
|
83724
83910
|
"helix-heatmap": Partial<
|
|
@@ -83961,6 +84147,15 @@ export type CustomElementsSolidJs = {
|
|
|
83961
84147
|
*
|
|
83962
84148
|
* Methods that can be called to access component functionality.
|
|
83963
84149
|
*
|
|
84150
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
84151
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
84152
|
+
*
|
|
84153
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
84154
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
84155
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
84156
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
84157
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
84158
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
83964
84159
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
83965
84160
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
83966
84161
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -87893,6 +88088,9 @@ export type CustomElementsSolidJs = {
|
|
|
87893
88088
|
* `focus()` above already puts focus on the control inside the row rather than
|
|
87894
88089
|
* on the row, which is the whole of what moving here means.
|
|
87895
88090
|
* - `select() => void`: Chooses the row, the same as pressing it.
|
|
88091
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
88092
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
88093
|
+
* chooses the row, or follows its link, once.
|
|
87896
88094
|
*
|
|
87897
88095
|
* ## CSS Custom Properties
|
|
87898
88096
|
*
|
|
@@ -94894,6 +95092,9 @@ export type CustomElementsSolidJs = {
|
|
|
94894
95092
|
* - `focus(options?: FocusOptions) => void`: Puts focus on the control inside the item.
|
|
94895
95093
|
* - `focusItem() => void`: Moves focus to the action. Part of `NavigableItem`, which the shared
|
|
94896
95094
|
* keyboard controller uses for the arrow keys.
|
|
95095
|
+
* - `click() => void`: Presses the action, as `click()` presses a native button: passed to the
|
|
95096
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
95097
|
+
* chooses the action and follows its link, once.
|
|
94897
95098
|
* - `select() => void`: Chooses the action, the same as pressing it.
|
|
94898
95099
|
*
|
|
94899
95100
|
* ## CSS Custom Properties
|
|
@@ -97165,6 +97366,9 @@ export type CustomElementsSolidJs = {
|
|
|
97165
97366
|
* disabled or a listener cancels the event.
|
|
97166
97367
|
* - `focus(options?: FocusOptions) => void`: Moves focus to the tab's control, the button or the link inside it, so a
|
|
97167
97368
|
* script can focus the tab the way it focuses a native one.
|
|
97369
|
+
* - `click() => void`: Presses the tab, as `click()` presses a native button: passed to the
|
|
97370
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
97371
|
+
* selects the tab, or follows its link, once.
|
|
97168
97372
|
*
|
|
97169
97373
|
* ## CSS Custom Properties
|
|
97170
97374
|
*
|
|
@@ -101948,6 +102152,8 @@ export type CustomCssProperties = {
|
|
|
101948
102152
|
"--aura-ground"?: (string) | undefined;
|
|
101949
102153
|
/** The faint stop between the ground and the glow. Defaults to `--helix-color-primary-subtle`. */
|
|
101950
102154
|
"--aura-haze"?: (string) | undefined;
|
|
102155
|
+
/** The pause control's ground. Defaults to `--helix-color-surface-overlay`. */
|
|
102156
|
+
"--aura-pause-background-color"?: (string) | undefined;
|
|
101951
102157
|
/** The hottest stop, at the center of a shape. Defaults to `--helix-color-primary-active` on a light page and `--helix-color-foreground` on a dark one. */
|
|
101952
102158
|
"--aura-peak"?: (string) | undefined;
|
|
101953
102159
|
/** The fill of the count of avatars past `max`. */
|