@fusion.dev/helix-headless 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 +384 -96
- package/dist/button/root/button-root.d.ts +12 -0
- package/dist/button/root/button-root.js +9 -0
- package/dist/drilldown/item/drilldown-item.d.ts +6 -0
- package/dist/drilldown/item/drilldown-item.js +9 -0
- package/dist/element-events.generated.js +7 -1
- package/dist/heatmap/root/heatmap-root.d.ts +54 -42
- package/dist/heatmap/root/heatmap-root.js +72 -54
- package/dist/menu/item/menu-item.d.ts +6 -0
- package/dist/menu/item/menu-item.js +9 -0
- package/dist/notifications/notification/notification.d.ts +37 -9
- package/dist/notifications/notification/notification.js +21 -4
- package/dist/speed-dial/item/speed-dial-item.d.ts +6 -0
- package/dist/speed-dial/item/speed-dial-item.js +9 -0
- package/dist/tabs/tab/tab.d.ts +6 -0
- package/dist/tabs/tab/tab.js +9 -0
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +262 -114
- package/types/vue.d.ts +46 -39
- package/types/words.d.ts +13 -6
package/types/jsx.d.ts
CHANGED
|
@@ -15664,6 +15664,12 @@ export type HelixHeadlessHeatmapElementEvent<E = Event> = TypedEvent<
|
|
|
15664
15664
|
/** `helix-before-change` event type */
|
|
15665
15665
|
export type HelixHeadlessHeatmapHelixBeforeChangeElementEvent =
|
|
15666
15666
|
HelixHeadlessHeatmapElementEvent<HelixBeforeChangeEvent>;
|
|
15667
|
+
/** `helix-reading-change` event type */
|
|
15668
|
+
export type HelixHeadlessHeatmapHelixReadingChangeElementEvent =
|
|
15669
|
+
HelixHeadlessHeatmapElementEvent<HelixReadingChangeEvent>;
|
|
15670
|
+
/** `helix-reading-press` event type */
|
|
15671
|
+
export type HelixHeadlessHeatmapHelixReadingPressElementEvent =
|
|
15672
|
+
HelixHeadlessHeatmapElementEvent<HelixReadingPressEvent>;
|
|
15667
15673
|
/** `helix-resize` event type */
|
|
15668
15674
|
export type HelixHeadlessHeatmapHelixResizeElementEvent =
|
|
15669
15675
|
HelixHeadlessHeatmapElementEvent<HelixResizeEvent>;
|
|
@@ -15675,16 +15681,6 @@ export type HelixHeadlessHeatmapProps = {
|
|
|
15675
15681
|
/** The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
15676
15682
|
`overview-label`. */
|
|
15677
15683
|
busiestLabel?: (HelixHeadlessHeatmap["busiestLabel"]) | undefined;
|
|
15678
|
-
/** Shown when the table has no readings in it.
|
|
15679
|
-
|
|
15680
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
15681
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
15682
|
-
"empty-text"?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
15683
|
-
/** Shown when the table has no readings in it.
|
|
15684
|
-
|
|
15685
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
15686
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
15687
|
-
emptyText?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
15688
15684
|
/** Space between cells, in CSS pixels. It is a number for the same reason
|
|
15689
15685
|
`min-cell` is. */
|
|
15690
15686
|
gap?: (HelixHeadlessHeatmap["gap"]) | undefined;
|
|
@@ -15742,13 +15738,9 @@ calendar heatmap does: a week is a column, so the strip reads along the
|
|
|
15742
15738
|
line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
15743
15739
|
days. */
|
|
15744
15740
|
rows?: (HelixHeadlessHeatmap["rows"]) | undefined;
|
|
15745
|
-
/** What the readout
|
|
15746
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
15747
|
-
nothing. */
|
|
15741
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
15748
15742
|
"selected-label"?: (HelixHeadlessHeatmap["selectedLabel"]) | undefined;
|
|
15749
|
-
/** What the readout
|
|
15750
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
15751
|
-
nothing. */
|
|
15743
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
15752
15744
|
selectedLabel?: (HelixHeadlessHeatmap["selectedLabel"]) | undefined;
|
|
15753
15745
|
/** What the `selection` part says after the selection changes. `{count}` is
|
|
15754
15746
|
how many cells are selected, written in the locale, and a language that
|
|
@@ -15805,6 +15797,25 @@ header's words where it carries none.
|
|
|
15805
15797
|
Set it to start with cells selected. Written by a press or a key under
|
|
15806
15798
|
`selection-mode`. */
|
|
15807
15799
|
value?: (HelixHeadlessHeatmap["value"]) | undefined;
|
|
15800
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
15801
|
+
and the fallback of the `empty` slot. */
|
|
15802
|
+
"empty-text"?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
15803
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
15804
|
+
and the fallback of the `empty` slot. */
|
|
15805
|
+
emptyText?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
15806
|
+
/** Whether the readings are still on their way. The chart shows
|
|
15807
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
15808
|
+
|
|
15809
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
15810
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
15811
|
+
blank it. */
|
|
15812
|
+
loading?: (HelixHeadlessHeatmap["loading"]) | undefined;
|
|
15813
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
15814
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
15815
|
+
"loading-text"?: (HelixHeadlessHeatmap["loadingText"]) | undefined;
|
|
15816
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
15817
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
15818
|
+
loadingText?: (HelixHeadlessHeatmap["loadingText"]) | undefined;
|
|
15808
15819
|
/** The id of the table to read.
|
|
15809
15820
|
|
|
15810
15821
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -15871,6 +15882,14 @@ does not look inside the one it has. */
|
|
|
15871
15882
|
"onhelix-before-change"?: ((
|
|
15872
15883
|
e: HelixHeadlessHeatmapHelixBeforeChangeElementEvent,
|
|
15873
15884
|
) => void) | undefined;
|
|
15885
|
+
/** 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. */
|
|
15886
|
+
"onhelix-reading-change"?: ((
|
|
15887
|
+
e: HelixHeadlessHeatmapHelixReadingChangeElementEvent,
|
|
15888
|
+
) => void) | undefined;
|
|
15889
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
15890
|
+
"onhelix-reading-press"?: ((
|
|
15891
|
+
e: HelixHeadlessHeatmapHelixReadingPressElementEvent,
|
|
15892
|
+
) => void) | undefined;
|
|
15874
15893
|
/** Fired when the number of cells drawn changes, with the new number. */
|
|
15875
15894
|
"onhelix-resize"?: ((e: HelixHeadlessHeatmapHelixResizeElementEvent) => void) | undefined;
|
|
15876
15895
|
};
|
|
@@ -15882,16 +15901,6 @@ export type HelixHeadlessHeatmapSolidJsProps = {
|
|
|
15882
15901
|
/** The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
15883
15902
|
`overview-label`. */
|
|
15884
15903
|
"prop:busiestLabel"?: (HelixHeadlessHeatmap["busiestLabel"]) | undefined;
|
|
15885
|
-
/** Shown when the table has no readings in it.
|
|
15886
|
-
|
|
15887
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
15888
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
15889
|
-
"attr:empty-text"?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
15890
|
-
/** Shown when the table has no readings in it.
|
|
15891
|
-
|
|
15892
|
-
Never shown while the table cannot be read at all, which is a server render
|
|
15893
|
-
and the hydrating one after it: see `sourceKnown`. */
|
|
15894
|
-
"prop:emptyText"?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
15895
15904
|
/** Space between cells, in CSS pixels. It is a number for the same reason
|
|
15896
15905
|
`min-cell` is. */
|
|
15897
15906
|
"prop:gap"?: (HelixHeadlessHeatmap["gap"]) | undefined;
|
|
@@ -15949,13 +15958,9 @@ calendar heatmap does: a week is a column, so the strip reads along the
|
|
|
15949
15958
|
line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
15950
15959
|
days. */
|
|
15951
15960
|
"prop:rows"?: (HelixHeadlessHeatmap["rows"]) | undefined;
|
|
15952
|
-
/** What the readout
|
|
15953
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
15954
|
-
nothing. */
|
|
15961
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
15955
15962
|
"attr:selected-label"?: (HelixHeadlessHeatmap["selectedLabel"]) | undefined;
|
|
15956
|
-
/** What the readout
|
|
15957
|
-
where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
15958
|
-
nothing. */
|
|
15963
|
+
/** What the readout added for a selected cell, under `selection-mode`. */
|
|
15959
15964
|
"prop:selectedLabel"?: (HelixHeadlessHeatmap["selectedLabel"]) | undefined;
|
|
15960
15965
|
/** What the `selection` part says after the selection changes. `{count}` is
|
|
15961
15966
|
how many cells are selected, written in the locale, and a language that
|
|
@@ -16012,6 +16017,25 @@ header's words where it carries none.
|
|
|
16012
16017
|
Set it to start with cells selected. Written by a press or a key under
|
|
16013
16018
|
`selection-mode`. */
|
|
16014
16019
|
"prop:value"?: (HelixHeadlessHeatmap["value"]) | undefined;
|
|
16020
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
16021
|
+
and the fallback of the `empty` slot. */
|
|
16022
|
+
"attr:empty-text"?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
16023
|
+
/** The words shown in place of the drawing when the table has no readings,
|
|
16024
|
+
and the fallback of the `empty` slot. */
|
|
16025
|
+
"prop:emptyText"?: (HelixHeadlessHeatmap["emptyText"]) | undefined;
|
|
16026
|
+
/** Whether the readings are still on their way. The chart shows
|
|
16027
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
16028
|
+
|
|
16029
|
+
Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
16030
|
+
that already has readings keeps drawing them, so a refresh does not
|
|
16031
|
+
blank it. */
|
|
16032
|
+
"prop:loading"?: (HelixHeadlessHeatmap["loading"]) | undefined;
|
|
16033
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
16034
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
16035
|
+
"attr:loading-text"?: (HelixHeadlessHeatmap["loadingText"]) | undefined;
|
|
16036
|
+
/** The words shown in place of the drawing while `loading` is set and
|
|
16037
|
+
there are no readings yet, and the fallback of the `loading` slot. */
|
|
16038
|
+
"prop:loadingText"?: (HelixHeadlessHeatmap["loadingText"]) | undefined;
|
|
16015
16039
|
/** The id of the table to read.
|
|
16016
16040
|
|
|
16017
16041
|
Names a table in the same tree, so a chart inside another component's
|
|
@@ -16077,6 +16101,14 @@ does not look inside the one it has. */
|
|
|
16077
16101
|
"on:helix-before-change"?: ((
|
|
16078
16102
|
e: HelixHeadlessHeatmapHelixBeforeChangeElementEvent,
|
|
16079
16103
|
) => void) | undefined;
|
|
16104
|
+
/** 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. */
|
|
16105
|
+
"on:helix-reading-change"?: ((
|
|
16106
|
+
e: HelixHeadlessHeatmapHelixReadingChangeElementEvent,
|
|
16107
|
+
) => void) | undefined;
|
|
16108
|
+
/** A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`. */
|
|
16109
|
+
"on:helix-reading-press"?: ((
|
|
16110
|
+
e: HelixHeadlessHeatmapHelixReadingPressElementEvent,
|
|
16111
|
+
) => void) | undefined;
|
|
16080
16112
|
/** Fired when the number of cells drawn changes, with the new number. */
|
|
16081
16113
|
"on:helix-resize"?: ((e: HelixHeadlessHeatmapHelixResizeElementEvent) => void) | undefined;
|
|
16082
16114
|
|
|
@@ -22283,6 +22315,20 @@ empty string would give. */
|
|
|
22283
22315
|
"default-read"?: (HelixHeadlessNotification["defaultRead"]) | undefined;
|
|
22284
22316
|
/** Whether the notification starts as read, used until `read` is set. */
|
|
22285
22317
|
defaultRead?: (HelixHeadlessNotification["defaultRead"]) | undefined;
|
|
22318
|
+
/** The dismiss control's name, read by screen readers, with `{label}` for the
|
|
22319
|
+
row's own words.
|
|
22320
|
+
|
|
22321
|
+
One sentence with the words in it, so a translation puts them where its
|
|
22322
|
+
language does: `registerWords('de', { 'helix-notification': { dismissLabel:
|
|
22323
|
+
'{label} schließen' } })`. */
|
|
22324
|
+
"dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22325
|
+
/** The dismiss control's name, read by screen readers, with `{label}` for the
|
|
22326
|
+
row's own words.
|
|
22327
|
+
|
|
22328
|
+
One sentence with the words in it, so a translation puts them where its
|
|
22329
|
+
language does: `registerWords('de', { 'helix-notification': { dismissLabel:
|
|
22330
|
+
'{label} schließen' } })`. */
|
|
22331
|
+
dismissLabel?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22286
22332
|
/** Locale for the timestamp.
|
|
22287
22333
|
|
|
22288
22334
|
Empty is the runtime's own. */
|
|
@@ -22313,28 +22359,6 @@ its place. Translate it with the rest of your interface. */
|
|
|
22313
22359
|
unreadLabel?: (HelixHeadlessNotification["unreadLabel"]) | undefined;
|
|
22314
22360
|
/** Whether the element shows a control that dismisses it. */
|
|
22315
22361
|
dismissible?: (HelixHeadlessNotification["dismissible"]) | undefined;
|
|
22316
|
-
/** The dismiss control's label, read by screen readers.
|
|
22317
|
-
|
|
22318
|
-
`attribute` is spelled out because Lit lowercases a property name to
|
|
22319
|
-
derive one rather than dash-casing it, so this would otherwise be
|
|
22320
|
-
reachable only as `dismisslabel`, which nobody would guess and no linter
|
|
22321
|
-
would catch.
|
|
22322
|
-
|
|
22323
|
-
A word property: register it for a locale under the host's key. A family
|
|
22324
|
-
that names the control otherwise, such as Tag's `Remove {label}`,
|
|
22325
|
-
declares its own English with `@words` above the override. */
|
|
22326
|
-
"dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22327
|
-
/** The dismiss control's label, read by screen readers.
|
|
22328
|
-
|
|
22329
|
-
`attribute` is spelled out because Lit lowercases a property name to
|
|
22330
|
-
derive one rather than dash-casing it, so this would otherwise be
|
|
22331
|
-
reachable only as `dismisslabel`, which nobody would guess and no linter
|
|
22332
|
-
would catch.
|
|
22333
|
-
|
|
22334
|
-
A word property: register it for a locale under the host's key. A family
|
|
22335
|
-
that names the control otherwise, such as Tag's `Remove {label}`,
|
|
22336
|
-
declares its own English with `@words` above the override. */
|
|
22337
|
-
dismissLabel?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22338
22362
|
|
|
22339
22363
|
/** Fired when the user dismisses the notification. Cancelable. */
|
|
22340
22364
|
"onhelix-dismiss"?: ((
|
|
@@ -22356,6 +22380,20 @@ empty string would give. */
|
|
|
22356
22380
|
"bool:default-read"?: (HelixHeadlessNotification["defaultRead"]) | undefined;
|
|
22357
22381
|
/** Whether the notification starts as read, used until `read` is set. */
|
|
22358
22382
|
"prop:defaultRead"?: (HelixHeadlessNotification["defaultRead"]) | undefined;
|
|
22383
|
+
/** The dismiss control's name, read by screen readers, with `{label}` for the
|
|
22384
|
+
row's own words.
|
|
22385
|
+
|
|
22386
|
+
One sentence with the words in it, so a translation puts them where its
|
|
22387
|
+
language does: `registerWords('de', { 'helix-notification': { dismissLabel:
|
|
22388
|
+
'{label} schließen' } })`. */
|
|
22389
|
+
"attr:dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22390
|
+
/** The dismiss control's name, read by screen readers, with `{label}` for the
|
|
22391
|
+
row's own words.
|
|
22392
|
+
|
|
22393
|
+
One sentence with the words in it, so a translation puts them where its
|
|
22394
|
+
language does: `registerWords('de', { 'helix-notification': { dismissLabel:
|
|
22395
|
+
'{label} schließen' } })`. */
|
|
22396
|
+
"prop:dismissLabel"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22359
22397
|
/** Locale for the timestamp.
|
|
22360
22398
|
|
|
22361
22399
|
Empty is the runtime's own. */
|
|
@@ -22386,28 +22424,6 @@ its place. Translate it with the rest of your interface. */
|
|
|
22386
22424
|
"prop:unreadLabel"?: (HelixHeadlessNotification["unreadLabel"]) | undefined;
|
|
22387
22425
|
/** Whether the element shows a control that dismisses it. */
|
|
22388
22426
|
"prop:dismissible"?: (HelixHeadlessNotification["dismissible"]) | undefined;
|
|
22389
|
-
/** The dismiss control's label, read by screen readers.
|
|
22390
|
-
|
|
22391
|
-
`attribute` is spelled out because Lit lowercases a property name to
|
|
22392
|
-
derive one rather than dash-casing it, so this would otherwise be
|
|
22393
|
-
reachable only as `dismisslabel`, which nobody would guess and no linter
|
|
22394
|
-
would catch.
|
|
22395
|
-
|
|
22396
|
-
A word property: register it for a locale under the host's key. A family
|
|
22397
|
-
that names the control otherwise, such as Tag's `Remove {label}`,
|
|
22398
|
-
declares its own English with `@words` above the override. */
|
|
22399
|
-
"attr:dismiss-label"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22400
|
-
/** The dismiss control's label, read by screen readers.
|
|
22401
|
-
|
|
22402
|
-
`attribute` is spelled out because Lit lowercases a property name to
|
|
22403
|
-
derive one rather than dash-casing it, so this would otherwise be
|
|
22404
|
-
reachable only as `dismisslabel`, which nobody would guess and no linter
|
|
22405
|
-
would catch.
|
|
22406
|
-
|
|
22407
|
-
A word property: register it for a locale under the host's key. A family
|
|
22408
|
-
that names the control otherwise, such as Tag's `Remove {label}`,
|
|
22409
|
-
declares its own English with `@words` above the override. */
|
|
22410
|
-
"prop:dismissLabel"?: (HelixHeadlessNotification["dismissLabel"]) | undefined;
|
|
22411
22427
|
/** Fired when the user dismisses the notification. Cancelable. */
|
|
22412
22428
|
"on:helix-dismiss"?: ((
|
|
22413
22429
|
e: HelixHeadlessNotificationHelixDismissElementEvent,
|
|
@@ -39530,6 +39546,15 @@ export type CustomElements = {
|
|
|
39530
39546
|
*
|
|
39531
39547
|
* Methods that can be called to access component functionality.
|
|
39532
39548
|
*
|
|
39549
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
39550
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
39551
|
+
*
|
|
39552
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
39553
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
39554
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
39555
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
39556
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
39557
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
39533
39558
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the button's form changes.
|
|
39534
39559
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
39535
39560
|
*
|
|
@@ -43986,6 +44011,15 @@ export type CustomElements = {
|
|
|
43986
44011
|
*
|
|
43987
44012
|
* Methods that can be called to access component functionality.
|
|
43988
44013
|
*
|
|
44014
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
44015
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
44016
|
+
*
|
|
44017
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
44018
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
44019
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
44020
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
44021
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
44022
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
43989
44023
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
43990
44024
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
43991
44025
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -46616,6 +46650,9 @@ export type CustomElements = {
|
|
|
46616
46650
|
*
|
|
46617
46651
|
* - `focusItem() => void`: Moves focus onto the row itself.
|
|
46618
46652
|
* - `select() => void`: Fires `helix-select` for this row.
|
|
46653
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
46654
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
46655
|
+
* chooses the row, or follows its link, once.
|
|
46619
46656
|
*
|
|
46620
46657
|
* ## CSS Parts
|
|
46621
46658
|
*
|
|
@@ -48763,6 +48800,25 @@ export type CustomElements = {
|
|
|
48763
48800
|
* `helix-before-change` and tells with `change`, and the `selection` part says
|
|
48764
48801
|
* how many are selected, in `selection-label`.
|
|
48765
48802
|
*
|
|
48803
|
+
* **Under `selection-mode` the strip is a grid**, so the selection is state a
|
|
48804
|
+
* reader is told rather than words alone: each column of the strip is a `row`,
|
|
48805
|
+
* a week with `rows="7"`, and each cell a `gridcell` named by its row in the
|
|
48806
|
+
* table and carrying `aria-selected`. The strip says
|
|
48807
|
+
* `aria-multiselectable` under `multiple` and points at the cell the keys rest
|
|
48808
|
+
* on with `aria-activedescendant`, so a screen reader reads that cell, and the
|
|
48809
|
+
* `live` part stays quiet. Without `selection-mode` nothing is selectable, and
|
|
48810
|
+
* the strip is an application with the readout, as every chart's plot is.
|
|
48811
|
+
*
|
|
48812
|
+
* **Readings are sent as every chart sends them.** `helix-reading-change`
|
|
48813
|
+
* says each move of the reading, by pointer, tap or key, and
|
|
48814
|
+
* `helix-reading-press` a reading clicked, tapped, or pressed with Enter or
|
|
48815
|
+
* Space, each with the row of the table in `index`.
|
|
48816
|
+
*
|
|
48817
|
+
* **Nothing to draw.** A table with no readings shows `empty-text`, "No
|
|
48818
|
+
* readings", under the strip, and `loading` shows `loading-text` there until
|
|
48819
|
+
* readings arrive. The `empty` and `loading` slots take markup in place of
|
|
48820
|
+
* either, as on every chart.
|
|
48821
|
+
*
|
|
48766
48822
|
* **Keyboard.** The strip is one tab stop once it has cells.
|
|
48767
48823
|
*
|
|
48768
48824
|
* | Key | What it does |
|
|
@@ -48772,7 +48828,7 @@ export type CustomElements = {
|
|
|
48772
48828
|
* | Right, Left | Moves a column on or back, a week with `rows="7"`. On a right-to-left page, Left moves on. |
|
|
48773
48829
|
* | Home, End | Moves to the first or the last cell. |
|
|
48774
48830
|
* | Page Down, Page Up | Moves a month on or back where the rows carry dates, and four columns otherwise. |
|
|
48775
|
-
* | Enter, Space |
|
|
48831
|
+
* | Enter, Space | Presses the cell, which sends `helix-reading-press`, and selects it or lets it go under `selection-mode`. |
|
|
48776
48832
|
* | Shift with an arrow, Home, End, Page Up or Page Down | Selects every cell from the last one pressed to where the key went, under `selection-mode="multiple"`. |
|
|
48777
48833
|
* | Escape | Puts the cell's tooltip away. |
|
|
48778
48834
|
*
|
|
@@ -48782,10 +48838,6 @@ export type CustomElements = {
|
|
|
48782
48838
|
*
|
|
48783
48839
|
* - `busiest-label`/`busiestLabel`: The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
48784
48840
|
* `overview-label`.
|
|
48785
|
-
* - `empty-text`/`emptyText`: Shown when the table has no readings in it.
|
|
48786
|
-
*
|
|
48787
|
-
* Never shown while the table cannot be read at all, which is a server render
|
|
48788
|
-
* and the hydrating one after it: see `sourceKnown`.
|
|
48789
48841
|
* - `gap`: Space between cells, in CSS pixels. It is a number for the same reason
|
|
48790
48842
|
* `min-cell` is.
|
|
48791
48843
|
* - `min-cell`/`minCell`: The smallest a cell may get before the strip draws fewer of them, in CSS pixels.
|
|
@@ -48816,9 +48868,7 @@ export type CustomElements = {
|
|
|
48816
48868
|
* calendar heatmap does: a week is a column, so the strip reads along the
|
|
48817
48869
|
* line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
48818
48870
|
* days.
|
|
48819
|
-
* - `selected-label`/`selectedLabel`: What the readout
|
|
48820
|
-
* where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
48821
|
-
* nothing.
|
|
48871
|
+
* - `selected-label`/`selectedLabel`: What the readout added for a selected cell, under `selection-mode`.
|
|
48822
48872
|
* - `selection-label`/`selectionLabel`: What the `selection` part says after the selection changes. `{count}` is
|
|
48823
48873
|
* how many cells are selected, written in the locale, and a language that
|
|
48824
48874
|
* needs plural forms writes them: `{count, plural, one {# wybrany} few
|
|
@@ -48852,6 +48902,16 @@ export type CustomElements = {
|
|
|
48852
48902
|
*
|
|
48853
48903
|
* Set it to start with cells selected. Written by a press or a key under
|
|
48854
48904
|
* `selection-mode`.
|
|
48905
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
48906
|
+
* and the fallback of the `empty` slot.
|
|
48907
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
48908
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
48909
|
+
*
|
|
48910
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
48911
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
48912
|
+
* blank it.
|
|
48913
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
48914
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
48855
48915
|
* - `for`: The id of the table to read.
|
|
48856
48916
|
*
|
|
48857
48917
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -48964,13 +49024,17 @@ export type CustomElements = {
|
|
|
48964
49024
|
*
|
|
48965
49025
|
* - `change`: Fired once a press or a key has changed which cells are selected.
|
|
48966
49026
|
* - `helix-before-change`: Fired before a press or a key changes which cells are selected, with the `value` it would leave. Cancelable.
|
|
49027
|
+
* - `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.
|
|
49028
|
+
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
48967
49029
|
* - `helix-resize`: Fired when the number of cells drawn changes, with the new number.
|
|
48968
49030
|
*
|
|
48969
49031
|
* ## Slots
|
|
48970
49032
|
*
|
|
48971
49033
|
* Areas where markup can be added to the component.
|
|
48972
49034
|
*
|
|
49035
|
+
* - `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`.
|
|
48973
49036
|
* - `end`: Below the strip, at the trailing edge: usually the newest date.
|
|
49037
|
+
* - `loading`: Content shown under the strip while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
48974
49038
|
* - `start`: Below the strip, at the leading edge: usually the oldest date.
|
|
48975
49039
|
* - `summary`: Below the strip, in the middle: a summary of the range shown.
|
|
48976
49040
|
*
|
|
@@ -49037,12 +49101,15 @@ export type CustomElements = {
|
|
|
49037
49101
|
* - `cell`: One reading.
|
|
49038
49102
|
* - `cell-active`: The cell the pointer or the keys rest on. Set alongside `cell`.
|
|
49039
49103
|
* - `cell-selected`: A cell that is selected, under `selection-mode`. Set alongside `cell`.
|
|
49040
|
-
* - `empty`:
|
|
49104
|
+
* - `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.
|
|
49041
49105
|
* - `end`: The trailing slot's box.
|
|
49042
49106
|
* - `footer`: The three-slot row under the strip.
|
|
49043
49107
|
* - `live`: The readout: a polite live region that says the cell the keys moved to. Hide it visually.
|
|
49108
|
+
* - `loading`: The words under the strip while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
49044
49109
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
49045
49110
|
* - `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.
|
|
49111
|
+
* - `plot`: The same element as `strip`, under the name every chart gives the drawing that takes focus.
|
|
49112
|
+
* - `row`: A column of cells, which a grid reads as a row, under `selection-mode`. It draws no box.
|
|
49046
49113
|
* - `selection`: A polite region that says how many cells are selected after a change, rendered from the first change. Hide it visually.
|
|
49047
49114
|
* - `start`: The leading slot's box.
|
|
49048
49115
|
* - `strip`: The grid of cells, which takes focus to be read by key. It is named by the host's `aria-labelledby` or `aria-label`, then by `label`, then by the caption of the table.
|
|
@@ -49071,6 +49138,7 @@ export type CustomElements = {
|
|
|
49071
49138
|
*
|
|
49072
49139
|
* - `active`: While a cell is shown, under the pointer or the keys, with its tooltip open.
|
|
49073
49140
|
* - `empty`: While the `empty` part stands in place of the cells.
|
|
49141
|
+
* - `loading`: While the `loading` part stands in place of the cells.
|
|
49074
49142
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
49075
49143
|
*/
|
|
49076
49144
|
"helix-headless-heatmap": Partial<
|
|
@@ -49277,6 +49345,15 @@ export type CustomElements = {
|
|
|
49277
49345
|
*
|
|
49278
49346
|
* Methods that can be called to access component functionality.
|
|
49279
49347
|
*
|
|
49348
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
49349
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
49350
|
+
*
|
|
49351
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
49352
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
49353
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
49354
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
49355
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
49356
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
49280
49357
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
49281
49358
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
49282
49359
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -53320,6 +53397,9 @@ export type CustomElements = {
|
|
|
53320
53397
|
* `focus()` above already puts focus on the control inside the row rather than
|
|
53321
53398
|
* on the row, which is the whole of what moving here means.
|
|
53322
53399
|
* - `select() => void`: Chooses the row, the same as pressing it.
|
|
53400
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
53401
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
53402
|
+
* chooses the row, or follows its link, once.
|
|
53323
53403
|
*
|
|
53324
53404
|
* ## CSS Parts
|
|
53325
53405
|
*
|
|
@@ -54156,6 +54236,12 @@ export type CustomElements = {
|
|
|
54156
54236
|
* shows no timestamp rather than showing the epoch, which is what parsing an
|
|
54157
54237
|
* empty string would give.
|
|
54158
54238
|
* - `default-read`/`defaultRead`: Whether the notification starts as read, used until `read` is set.
|
|
54239
|
+
* - `dismiss-label`/`dismissLabel`: The dismiss control's name, read by screen readers, with `{label}` for the
|
|
54240
|
+
* row's own words.
|
|
54241
|
+
*
|
|
54242
|
+
* One sentence with the words in it, so a translation puts them where its
|
|
54243
|
+
* language does: `registerWords('de', { 'helix-notification': { dismissLabel:
|
|
54244
|
+
* '{label} schließen' } })`.
|
|
54159
54245
|
* - `locale`: Locale for the timestamp.
|
|
54160
54246
|
*
|
|
54161
54247
|
* Empty is the runtime's own.
|
|
@@ -54177,16 +54263,6 @@ export type CustomElements = {
|
|
|
54177
54263
|
* The unread mark is drawn, so a reader who cannot see it hears this word in
|
|
54178
54264
|
* its place. Translate it with the rest of your interface.
|
|
54179
54265
|
* - `dismissible`: Whether the element shows a control that dismisses it.
|
|
54180
|
-
* - `dismiss-label`/`dismissLabel`: The dismiss control's label, read by screen readers.
|
|
54181
|
-
*
|
|
54182
|
-
* `attribute` is spelled out because Lit lowercases a property name to
|
|
54183
|
-
* derive one rather than dash-casing it, so this would otherwise be
|
|
54184
|
-
* reachable only as `dismisslabel`, which nobody would guess and no linter
|
|
54185
|
-
* would catch.
|
|
54186
|
-
*
|
|
54187
|
-
* A word property: register it for a locale under the host's key. A family
|
|
54188
|
-
* that names the control otherwise, such as Tag's `Remove {label}`,
|
|
54189
|
-
* declares its own English with `@words` above the override.
|
|
54190
54266
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
54191
54267
|
*
|
|
54192
54268
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -59434,6 +59510,9 @@ export type CustomElements = {
|
|
|
59434
59510
|
* - `focus(options?: FocusOptions) => void`: Puts focus on the control inside the item.
|
|
59435
59511
|
* - `focusItem() => void`: Moves focus to the action. Part of `NavigableItem`, which the shared
|
|
59436
59512
|
* keyboard controller uses for the arrow keys.
|
|
59513
|
+
* - `click() => void`: Presses the action, as `click()` presses a native button: passed to the
|
|
59514
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
59515
|
+
* chooses the action and follows its link, once.
|
|
59437
59516
|
* - `select() => void`: Chooses the action, the same as pressing it.
|
|
59438
59517
|
*
|
|
59439
59518
|
* ## CSS Parts
|
|
@@ -61757,6 +61836,9 @@ export type CustomElements = {
|
|
|
61757
61836
|
* listener refused it, or where the tab is not dismissible or is disabled.
|
|
61758
61837
|
* The tab stays where it is either way: removing it is yours. Where the tab
|
|
61759
61838
|
* had focus, focus moves to the tab beside it once you remove it.
|
|
61839
|
+
* - `click() => void`: Presses the tab, as `click()` presses a native button: passed to the
|
|
61840
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
61841
|
+
* selects the tab, or follows its link, once.
|
|
61760
61842
|
* - `focusItem() => void`: Moves focus to the item's control, for the set's arrow keys.
|
|
61761
61843
|
*
|
|
61762
61844
|
* The set drives the keys and cannot reach the control itself, which is
|
|
@@ -69048,6 +69130,15 @@ export type CustomElementsSolidJs = {
|
|
|
69048
69130
|
*
|
|
69049
69131
|
* Methods that can be called to access component functionality.
|
|
69050
69132
|
*
|
|
69133
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
69134
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
69135
|
+
*
|
|
69136
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
69137
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
69138
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
69139
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
69140
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
69141
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
69051
69142
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the button's form changes.
|
|
69052
69143
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
69053
69144
|
*
|
|
@@ -73544,6 +73635,15 @@ export type CustomElementsSolidJs = {
|
|
|
73544
73635
|
*
|
|
73545
73636
|
* Methods that can be called to access component functionality.
|
|
73546
73637
|
*
|
|
73638
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
73639
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
73640
|
+
*
|
|
73641
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
73642
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
73643
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
73644
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
73645
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
73646
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
73547
73647
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
73548
73648
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
73549
73649
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -76194,6 +76294,9 @@ export type CustomElementsSolidJs = {
|
|
|
76194
76294
|
*
|
|
76195
76295
|
* - `focusItem() => void`: Moves focus onto the row itself.
|
|
76196
76296
|
* - `select() => void`: Fires `helix-select` for this row.
|
|
76297
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
76298
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
76299
|
+
* chooses the row, or follows its link, once.
|
|
76197
76300
|
*
|
|
76198
76301
|
* ## CSS Parts
|
|
76199
76302
|
*
|
|
@@ -78360,6 +78463,25 @@ export type CustomElementsSolidJs = {
|
|
|
78360
78463
|
* `helix-before-change` and tells with `change`, and the `selection` part says
|
|
78361
78464
|
* how many are selected, in `selection-label`.
|
|
78362
78465
|
*
|
|
78466
|
+
* **Under `selection-mode` the strip is a grid**, so the selection is state a
|
|
78467
|
+
* reader is told rather than words alone: each column of the strip is a `row`,
|
|
78468
|
+
* a week with `rows="7"`, and each cell a `gridcell` named by its row in the
|
|
78469
|
+
* table and carrying `aria-selected`. The strip says
|
|
78470
|
+
* `aria-multiselectable` under `multiple` and points at the cell the keys rest
|
|
78471
|
+
* on with `aria-activedescendant`, so a screen reader reads that cell, and the
|
|
78472
|
+
* `live` part stays quiet. Without `selection-mode` nothing is selectable, and
|
|
78473
|
+
* the strip is an application with the readout, as every chart's plot is.
|
|
78474
|
+
*
|
|
78475
|
+
* **Readings are sent as every chart sends them.** `helix-reading-change`
|
|
78476
|
+
* says each move of the reading, by pointer, tap or key, and
|
|
78477
|
+
* `helix-reading-press` a reading clicked, tapped, or pressed with Enter or
|
|
78478
|
+
* Space, each with the row of the table in `index`.
|
|
78479
|
+
*
|
|
78480
|
+
* **Nothing to draw.** A table with no readings shows `empty-text`, "No
|
|
78481
|
+
* readings", under the strip, and `loading` shows `loading-text` there until
|
|
78482
|
+
* readings arrive. The `empty` and `loading` slots take markup in place of
|
|
78483
|
+
* either, as on every chart.
|
|
78484
|
+
*
|
|
78363
78485
|
* **Keyboard.** The strip is one tab stop once it has cells.
|
|
78364
78486
|
*
|
|
78365
78487
|
* | Key | What it does |
|
|
@@ -78369,7 +78491,7 @@ export type CustomElementsSolidJs = {
|
|
|
78369
78491
|
* | Right, Left | Moves a column on or back, a week with `rows="7"`. On a right-to-left page, Left moves on. |
|
|
78370
78492
|
* | Home, End | Moves to the first or the last cell. |
|
|
78371
78493
|
* | Page Down, Page Up | Moves a month on or back where the rows carry dates, and four columns otherwise. |
|
|
78372
|
-
* | Enter, Space |
|
|
78494
|
+
* | Enter, Space | Presses the cell, which sends `helix-reading-press`, and selects it or lets it go under `selection-mode`. |
|
|
78373
78495
|
* | Shift with an arrow, Home, End, Page Up or Page Down | Selects every cell from the last one pressed to where the key went, under `selection-mode="multiple"`. |
|
|
78374
78496
|
* | Escape | Puts the cell's tooltip away. |
|
|
78375
78497
|
*
|
|
@@ -78379,10 +78501,6 @@ export type CustomElementsSolidJs = {
|
|
|
78379
78501
|
*
|
|
78380
78502
|
* - `busiest-label`/`busiestLabel`: The name the `overview` gives the busiest reading, `{busiestLabel}` in
|
|
78381
78503
|
* `overview-label`.
|
|
78382
|
-
* - `empty-text`/`emptyText`: Shown when the table has no readings in it.
|
|
78383
|
-
*
|
|
78384
|
-
* Never shown while the table cannot be read at all, which is a server render
|
|
78385
|
-
* and the hydrating one after it: see `sourceKnown`.
|
|
78386
78504
|
* - `gap`: Space between cells, in CSS pixels. It is a number for the same reason
|
|
78387
78505
|
* `min-cell` is.
|
|
78388
78506
|
* - `min-cell`/`minCell`: The smallest a cell may get before the strip draws fewer of them, in CSS pixels.
|
|
@@ -78413,9 +78531,7 @@ export type CustomElementsSolidJs = {
|
|
|
78413
78531
|
* calendar heatmap does: a week is a column, so the strip reads along the
|
|
78414
78532
|
* line in weeks, from the right on a right-to-left page, and top to bottom in
|
|
78415
78533
|
* days.
|
|
78416
|
-
* - `selected-label`/`selectedLabel`: What the readout
|
|
78417
|
-
* where the cell stands: "Day 1: 0 (1 of 14, selected)". Empty adds
|
|
78418
|
-
* nothing.
|
|
78534
|
+
* - `selected-label`/`selectedLabel`: What the readout added for a selected cell, under `selection-mode`.
|
|
78419
78535
|
* - `selection-label`/`selectionLabel`: What the `selection` part says after the selection changes. `{count}` is
|
|
78420
78536
|
* how many cells are selected, written in the locale, and a language that
|
|
78421
78537
|
* needs plural forms writes them: `{count, plural, one {# wybrany} few
|
|
@@ -78449,6 +78565,16 @@ export type CustomElementsSolidJs = {
|
|
|
78449
78565
|
*
|
|
78450
78566
|
* Set it to start with cells selected. Written by a press or a key under
|
|
78451
78567
|
* `selection-mode`.
|
|
78568
|
+
* - `empty-text`/`emptyText`: The words shown in place of the drawing when the table has no readings,
|
|
78569
|
+
* and the fallback of the `empty` slot.
|
|
78570
|
+
* - `loading`: Whether the readings are still on their way. The chart shows
|
|
78571
|
+
* `loading-text` in place of an empty drawing until it has readings.
|
|
78572
|
+
*
|
|
78573
|
+
* Reflected, so a stylesheet can treat the chart while it waits. A chart
|
|
78574
|
+
* that already has readings keeps drawing them, so a refresh does not
|
|
78575
|
+
* blank it.
|
|
78576
|
+
* - `loading-text`/`loadingText`: The words shown in place of the drawing while `loading` is set and
|
|
78577
|
+
* there are no readings yet, and the fallback of the `loading` slot.
|
|
78452
78578
|
* - `for`: The id of the table to read.
|
|
78453
78579
|
*
|
|
78454
78580
|
* Names a table in the same tree, so a chart inside another component's
|
|
@@ -78561,13 +78687,17 @@ export type CustomElementsSolidJs = {
|
|
|
78561
78687
|
*
|
|
78562
78688
|
* - `change`: Fired once a press or a key has changed which cells are selected.
|
|
78563
78689
|
* - `helix-before-change`: Fired before a press or a key changes which cells are selected, with the `value` it would leave. Cancelable.
|
|
78690
|
+
* - `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.
|
|
78691
|
+
* - `helix-reading-press`: A reading was clicked, tapped, or pressed with Enter or Space, with the same detail as `helix-reading-change`.
|
|
78564
78692
|
* - `helix-resize`: Fired when the number of cells drawn changes, with the new number.
|
|
78565
78693
|
*
|
|
78566
78694
|
* ## Slots
|
|
78567
78695
|
*
|
|
78568
78696
|
* Areas where markup can be added to the component.
|
|
78569
78697
|
*
|
|
78698
|
+
* - `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`.
|
|
78570
78699
|
* - `end`: Below the strip, at the trailing edge: usually the newest date.
|
|
78700
|
+
* - `loading`: Content shown under the strip while `loading` is set and there are no readings yet. Falls back to `loading-text`.
|
|
78571
78701
|
* - `start`: Below the strip, at the leading edge: usually the oldest date.
|
|
78572
78702
|
* - `summary`: Below the strip, in the middle: a summary of the range shown.
|
|
78573
78703
|
*
|
|
@@ -78634,12 +78764,15 @@ export type CustomElementsSolidJs = {
|
|
|
78634
78764
|
* - `cell`: One reading.
|
|
78635
78765
|
* - `cell-active`: The cell the pointer or the keys rest on. Set alongside `cell`.
|
|
78636
78766
|
* - `cell-selected`: A cell that is selected, under `selection-mode`. Set alongside `cell`.
|
|
78637
|
-
* - `empty`:
|
|
78767
|
+
* - `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.
|
|
78638
78768
|
* - `end`: The trailing slot's box.
|
|
78639
78769
|
* - `footer`: The three-slot row under the strip.
|
|
78640
78770
|
* - `live`: The readout: a polite live region that says the cell the keys moved to. Hide it visually.
|
|
78771
|
+
* - `loading`: The words under the strip while `loading` is set and there are no readings: the `loading` slot, falling back to `loading-text`.
|
|
78641
78772
|
* - `mark`: The invisible point the tooltip is anchored to.
|
|
78642
78773
|
* - `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.
|
|
78774
|
+
* - `plot`: The same element as `strip`, under the name every chart gives the drawing that takes focus.
|
|
78775
|
+
* - `row`: A column of cells, which a grid reads as a row, under `selection-mode`. It draws no box.
|
|
78643
78776
|
* - `selection`: A polite region that says how many cells are selected after a change, rendered from the first change. Hide it visually.
|
|
78644
78777
|
* - `start`: The leading slot's box.
|
|
78645
78778
|
* - `strip`: The grid of cells, which takes focus to be read by key. It is named by the host's `aria-labelledby` or `aria-label`, then by `label`, then by the caption of the table.
|
|
@@ -78668,6 +78801,7 @@ export type CustomElementsSolidJs = {
|
|
|
78668
78801
|
*
|
|
78669
78802
|
* - `active`: While a cell is shown, under the pointer or the keys, with its tooltip open.
|
|
78670
78803
|
* - `empty`: While the `empty` part stands in place of the cells.
|
|
78804
|
+
* - `loading`: While the `loading` part stands in place of the cells.
|
|
78671
78805
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
78672
78806
|
*/
|
|
78673
78807
|
"helix-headless-heatmap": Partial<
|
|
@@ -78877,6 +79011,15 @@ export type CustomElementsSolidJs = {
|
|
|
78877
79011
|
*
|
|
78878
79012
|
* Methods that can be called to access component functionality.
|
|
78879
79013
|
*
|
|
79014
|
+
* - `click() => void`: Presses the button, as `click()` presses a native one: the command is sent,
|
|
79015
|
+
* the form submits or resets, and `helix-press` says `virtual`.
|
|
79016
|
+
*
|
|
79017
|
+
* **Passed to the inner control, because a click on the host reaches nothing
|
|
79018
|
+
* that acts.** The control in the shadow root is what answers a click, so
|
|
79019
|
+
* `click()` from a script, an automation or a test, dispatched on the host,
|
|
79020
|
+
* submitted nothing and sent no `helix-press`. The control's own click reaches
|
|
79021
|
+
* the host's listeners once, retargeted, as one from a native button does. A
|
|
79022
|
+
* disabled button does nothing, and a pending one refuses the press.
|
|
78880
79023
|
* - `formAssociatedCallback(form: HTMLFormElement | null) => void`: Called by the browser when the control's form changes: watches the new
|
|
78881
79024
|
* form's `checkValidity()`, as connecting does for the form it starts in.
|
|
78882
79025
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
@@ -82981,6 +83124,9 @@ export type CustomElementsSolidJs = {
|
|
|
82981
83124
|
* `focus()` above already puts focus on the control inside the row rather than
|
|
82982
83125
|
* on the row, which is the whole of what moving here means.
|
|
82983
83126
|
* - `select() => void`: Chooses the row, the same as pressing it.
|
|
83127
|
+
* - `click() => void`: Presses the row, as `click()` presses a native button: passed to the
|
|
83128
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
83129
|
+
* chooses the row, or follows its link, once.
|
|
82984
83130
|
*
|
|
82985
83131
|
* ## CSS Parts
|
|
82986
83132
|
*
|
|
@@ -83829,6 +83975,12 @@ export type CustomElementsSolidJs = {
|
|
|
83829
83975
|
* shows no timestamp rather than showing the epoch, which is what parsing an
|
|
83830
83976
|
* empty string would give.
|
|
83831
83977
|
* - `default-read`/`defaultRead`: Whether the notification starts as read, used until `read` is set.
|
|
83978
|
+
* - `dismiss-label`/`dismissLabel`: The dismiss control's name, read by screen readers, with `{label}` for the
|
|
83979
|
+
* row's own words.
|
|
83980
|
+
*
|
|
83981
|
+
* One sentence with the words in it, so a translation puts them where its
|
|
83982
|
+
* language does: `registerWords('de', { 'helix-notification': { dismissLabel:
|
|
83983
|
+
* '{label} schließen' } })`.
|
|
83832
83984
|
* - `locale`: Locale for the timestamp.
|
|
83833
83985
|
*
|
|
83834
83986
|
* Empty is the runtime's own.
|
|
@@ -83850,16 +84002,6 @@ export type CustomElementsSolidJs = {
|
|
|
83850
84002
|
* The unread mark is drawn, so a reader who cannot see it hears this word in
|
|
83851
84003
|
* its place. Translate it with the rest of your interface.
|
|
83852
84004
|
* - `dismissible`: Whether the element shows a control that dismisses it.
|
|
83853
|
-
* - `dismiss-label`/`dismissLabel`: The dismiss control's label, read by screen readers.
|
|
83854
|
-
*
|
|
83855
|
-
* `attribute` is spelled out because Lit lowercases a property name to
|
|
83856
|
-
* derive one rather than dash-casing it, so this would otherwise be
|
|
83857
|
-
* reachable only as `dismisslabel`, which nobody would guess and no linter
|
|
83858
|
-
* would catch.
|
|
83859
|
-
*
|
|
83860
|
-
* A word property: register it for a locale under the host's key. A family
|
|
83861
|
-
* that names the control otherwise, such as Tag's `Remove {label}`,
|
|
83862
|
-
* declares its own English with `@words` above the override.
|
|
83863
84005
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
83864
84006
|
*
|
|
83865
84007
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -89162,6 +89304,9 @@ export type CustomElementsSolidJs = {
|
|
|
89162
89304
|
* - `focus(options?: FocusOptions) => void`: Puts focus on the control inside the item.
|
|
89163
89305
|
* - `focusItem() => void`: Moves focus to the action. Part of `NavigableItem`, which the shared
|
|
89164
89306
|
* keyboard controller uses for the arrow keys.
|
|
89307
|
+
* - `click() => void`: Presses the action, as `click()` presses a native button: passed to the
|
|
89308
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
89309
|
+
* chooses the action and follows its link, once.
|
|
89165
89310
|
* - `select() => void`: Chooses the action, the same as pressing it.
|
|
89166
89311
|
*
|
|
89167
89312
|
* ## CSS Parts
|
|
@@ -91523,6 +91668,9 @@ export type CustomElementsSolidJs = {
|
|
|
91523
91668
|
* listener refused it, or where the tab is not dismissible or is disabled.
|
|
91524
91669
|
* The tab stays where it is either way: removing it is yours. Where the tab
|
|
91525
91670
|
* had focus, focus moves to the tab beside it once you remove it.
|
|
91671
|
+
* - `click() => void`: Presses the tab, as `click()` presses a native button: passed to the
|
|
91672
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
91673
|
+
* selects the tab, or follows its link, once.
|
|
91526
91674
|
* - `focusItem() => void`: Moves focus to the item's control, for the set's arrow keys.
|
|
91527
91675
|
*
|
|
91528
91676
|
* The set drives the keys and cannot reach the control itself, which is
|