@fusion.dev/helix-headless 0.235.1 → 0.237.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/app-header/root/app-header-root.d.ts +9 -0
- package/dist/app-header/root/app-header-root.js +21 -0
- package/dist/area-chart/root/area-chart-root.d.ts +29 -15
- package/dist/area-chart/root/area-chart-root.js +10 -7
- package/dist/bar-chart/root/bar-chart-root.d.ts +41 -23
- package/dist/bar-chart/root/bar-chart-root.js +15 -10
- package/dist/button/root/button-root.js +1 -1
- package/dist/canvas/root/canvas-root.d.ts +10 -3
- package/dist/canvas/root/canvas-root.js +31 -14
- package/dist/color-input/root/color-input-root.d.ts +4 -2
- package/dist/color-input/root/color-input-root.js +1 -1
- package/dist/combobox/root/combobox-root.d.ts +8 -7
- package/dist/combobox/root/combobox-root.js +7 -3
- package/dist/command/root/command-root.d.ts +22 -2
- package/dist/command/root/command-root.js +39 -5
- package/dist/data-table/root/data-table-root.d.ts +15 -7
- package/dist/data-table/root/data-table-root.js +9 -2
- package/dist/date-picker/root/date-picker-root.d.ts +1 -1
- package/dist/date-picker/root/date-picker-root.js +9 -2
- package/dist/dialog/root/dialog-root.d.ts +13 -3
- package/dist/dialog/root/dialog-root.js +33 -2
- package/dist/donut-chart/root/donut-chart-root.d.ts +23 -1
- package/dist/donut-chart/root/donut-chart-root.js +41 -13
- package/dist/drawer/root/drawer-root.d.ts +10 -2
- package/dist/drawer/root/drawer-root.js +34 -1
- package/dist/filter-input/chip/filter-chip.js +2 -2
- package/dist/find/root/find-root.d.ts +11 -1
- package/dist/find/root/find-root.js +11 -0
- package/dist/heatmap/root/heatmap-root.d.ts +11 -8
- package/dist/heatmap/root/heatmap-root.js +27 -2
- package/dist/kbd/root/kbd-root.d.ts +4 -0
- package/dist/kbd/root/kbd-root.js +2 -1
- package/dist/lightbox/root/lightbox-root.js +3 -2
- package/dist/line-chart/root/line-chart-root.d.ts +36 -23
- package/dist/line-chart/root/line-chart-root.js +20 -13
- package/dist/list/item/list-item.d.ts +2 -1
- package/dist/list/item/list-item.js +4 -1
- package/dist/list/root/list-root.d.ts +33 -8
- package/dist/list/root/list-root.js +17 -3
- package/dist/listbox/root/listbox-root.d.ts +48 -15
- package/dist/listbox/root/listbox-root.js +65 -6
- package/dist/map/root/map-root.js +7 -7
- package/dist/markdown/tree.d.ts +6 -1
- package/dist/markdown/tree.js +1 -1
- package/dist/megamenu/root/megamenu-root.d.ts +19 -0
- package/dist/megamenu/root/megamenu-root.js +24 -0
- package/dist/menu/filter/menu-filter.js +3 -1
- package/dist/menu/item/menu-item.d.ts +12 -0
- package/dist/menu/item/menu-item.js +3 -0
- package/dist/menu/root/menu-root.d.ts +7 -1
- package/dist/menu/root/menu-root.js +6 -3
- package/dist/motion-toggle/root/motion-toggle-root.js +2 -2
- package/dist/notifications/notification/notification.d.ts +1 -0
- package/dist/notifications/notification/notification.js +1 -0
- package/dist/notifications/root/notifications-root.d.ts +7 -5
- package/dist/notifications/root/notifications-root.js +1 -1
- package/dist/number-input/root/number-input-root.d.ts +6 -0
- package/dist/number-input/root/number-input-root.js +14 -4
- package/dist/object-inspector/root/object-inspector-root.d.ts +6 -5
- package/dist/object-inspector/root/object-inspector-root.js +9 -3
- package/dist/option/root/option-root.d.ts +16 -2
- package/dist/option/root/option-root.js +7 -0
- package/dist/pagination/root/pagination-root.d.ts +36 -0
- package/dist/pagination/root/pagination-root.js +55 -2
- package/dist/pin-input/code.js +1 -1
- package/dist/qr-code/root/qr-code-root.d.ts +1 -0
- package/dist/qr-code/root/qr-code-root.js +1 -0
- package/dist/radio/root/radio-root.js +4 -0
- package/dist/rating/root/rating-root.d.ts +1 -0
- package/dist/rating/root/rating-root.js +1 -0
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +6 -0
- package/dist/select/root/select-root.d.ts +27 -1
- package/dist/select/root/select-root.js +34 -3
- package/dist/shortcut-overlay/root/shortcut-overlay-root.d.ts +5 -0
- package/dist/shortcut-overlay/root/shortcut-overlay-root.js +15 -1
- package/dist/skeleton/root/skeleton-root.d.ts +1 -0
- package/dist/skeleton/root/skeleton-root.js +3 -0
- package/dist/sparkline/root/sparkline-root.d.ts +53 -0
- package/dist/sparkline/root/sparkline-root.js +37 -1
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.d.ts +4 -1
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.js +2 -2
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.d.ts +3 -0
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.js +2 -2
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +3 -0
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.js +2 -2
- package/dist/spatial-scatter-chart/view.d.ts +17 -8
- package/dist/spatial-scatter-chart/view.js +7 -6
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +3 -0
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.js +2 -2
- package/dist/spatial-treemap/root/spatial-treemap-root.d.ts +3 -0
- package/dist/spatial-treemap/root/spatial-treemap-root.js +2 -2
- package/dist/splitter/root/splitter-root.js +3 -1
- package/dist/stat/group/stat-group.d.ts +13 -0
- package/dist/stat/group/stat-group.js +22 -1
- package/dist/stat/root/stat-root.d.ts +62 -1
- package/dist/stat/root/stat-root.js +146 -4
- package/dist/table/cell/table-cell.d.ts +1 -0
- package/dist/table/cell/table-cell.js +4 -0
- package/dist/table/column/table-column.d.ts +11 -0
- package/dist/table/column/table-column.js +4 -0
- package/dist/table/root/table-root.d.ts +7 -6
- package/dist/table/root/table-root.js +1 -1
- package/dist/tabs/panel/tab-panel.d.ts +30 -0
- package/dist/tabs/panel/tab-panel.js +28 -3
- package/dist/tabs/root/tabs-root.d.ts +8 -0
- package/dist/tabs/root/tabs-root.js +8 -2
- package/dist/tabs/tab/tab.js +2 -2
- package/dist/tag/root/tag-root.js +2 -2
- package/dist/timeline/root/timeline-root.d.ts +2 -2
- package/dist/timeline/root/timeline-root.js +1 -1
- package/dist/toast/root/toast-root.d.ts +53 -6
- package/dist/toast/root/toast-root.js +158 -1
- package/dist/toggle/root/toggle-root.d.ts +1 -0
- package/dist/toggle/root/toggle-root.js +1 -1
- package/dist/video-playlist/root/video-playlist-root.d.ts +1 -0
- package/dist/video-playlist/root/video-playlist-root.js +2 -0
- package/dist/virtual-list/root/virtual-list-root.d.ts +2 -2
- package/dist/virtual-list/root/virtual-list-root.js +1 -1
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +693 -169
- package/types/vue.d.ts +423 -96
- package/types/words.d.ts +51 -12
package/types/vue.d.ts
CHANGED
|
@@ -329,9 +329,10 @@ than nothing. Same axis, different mark, different resting value. */
|
|
|
329
329
|
"curve"?: HelixHeadlessAreaChart["curve"] | undefined;
|
|
330
330
|
/** Which rules are drawn across the plot, if any.
|
|
331
331
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
332
|
+
Absent rules the levels, as `value` does, and `none` draws no rules. The
|
|
333
|
+
same values `LineChart` takes, with the same fallback: a bare `gridlines`,
|
|
334
|
+
or anything unrecognized, rules the levels, and `category` rules each
|
|
335
|
+
reading whose name is drawn. Drawn over the bands
|
|
335
336
|
rather than under them, because the bands are opaque and a rule under one is
|
|
336
337
|
a rule nobody sees. */
|
|
337
338
|
"gridlines"?: HelixHeadlessAreaChart["gridlines"] | undefined;
|
|
@@ -358,19 +359,33 @@ locale, and `{shares}` each part's share, listed as the locale lists. */
|
|
|
358
359
|
"total-label"?: HelixHeadlessAreaChart["totalLabel"] | undefined;
|
|
359
360
|
/** The name for the sum of the parts, shown in the tooltip and the summary. */
|
|
360
361
|
"totalLabel"?: HelixHeadlessAreaChart["totalLabel"] | undefined;
|
|
361
|
-
/**
|
|
362
|
-
`gridlines` rules: amounts, or percentages under `share`.
|
|
362
|
+
/** Whether the scale's numbers are drawn beside the plot, the `axis` part.
|
|
363
363
|
|
|
364
|
-
Absent draws
|
|
365
|
-
|
|
364
|
+
Absent draws them, at the levels `gridlines` rules: amounts, or
|
|
365
|
+
percentages under `share`. `none` draws no axis, for bands read as a
|
|
366
|
+
composition, where the tooltip and the table hold every reading.
|
|
367
|
+
|
|
368
|
+
Reflected, because the stylesheet gives the axis a column of its own unless
|
|
369
|
+
this is `none`, and undefaulted, so a host carries only what you wrote. */
|
|
366
370
|
"value-axis"?: HelixHeadlessAreaChart["valueAxis"] | undefined;
|
|
367
|
-
/**
|
|
371
|
+
/** Whether the scale's numbers are drawn beside the plot, the `axis` part. */
|
|
368
372
|
"valueAxis"?: HelixHeadlessAreaChart["valueAxis"] | undefined;
|
|
369
373
|
/** The words shown in place of the drawing when the table has no readings,
|
|
370
374
|
and the fallback of the `empty` slot. */
|
|
371
375
|
"empty-text"?: HelixHeadlessAreaChart["emptyText"] | undefined;
|
|
372
376
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
373
377
|
"emptyText"?: HelixHeadlessAreaChart["emptyText"] | undefined;
|
|
378
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
379
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
380
|
+
|
|
381
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
382
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
383
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
384
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
385
|
+
it appears, being news you act on. */
|
|
386
|
+
"error-text"?: HelixHeadlessAreaChart["errorText"] | undefined;
|
|
387
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
388
|
+
"errorText"?: HelixHeadlessAreaChart["errorText"] | undefined;
|
|
374
389
|
/** Whether the readings are still on their way. The chart shows
|
|
375
390
|
`loading-text` in place of an empty drawing until it has readings.
|
|
376
391
|
|
|
@@ -640,14 +655,15 @@ export type HelixHeadlessBarChartHelixReadingPressElementEvent = HelixHeadlessBa
|
|
|
640
655
|
export type HelixHeadlessBarChartVueProps = {
|
|
641
656
|
/** Which gridlines are drawn across the plot, if any.
|
|
642
657
|
|
|
643
|
-
Absent
|
|
658
|
+
Absent rules the levels, as `value` does, which are the levels the `axis`
|
|
659
|
+
part numbers, and `none` draws no rules. `value` rules the axis the columns are *measured* on,
|
|
644
660
|
`category` rules the axis they are *arranged* on with one through each
|
|
645
661
|
group whose name is drawn, and `both` draws both. Which of those is horizontal turns with
|
|
646
662
|
`orientation`, because a rule belongs to an axis and not to a screen edge.
|
|
647
663
|
|
|
648
|
-
**A bare `gridlines` means `value`**, and so does anything unrecognized
|
|
649
|
-
|
|
650
|
-
|
|
664
|
+
**A bare `gridlines` means `value`**, and so does anything unrecognized,
|
|
665
|
+
so a typo draws the rules the chart rests with. Only `none` takes them
|
|
666
|
+
away.
|
|
651
667
|
|
|
652
668
|
`category` is the quieter half of this on a bar chart: columns already
|
|
653
669
|
divide the categories by being separate columns, and a rule through each
|
|
@@ -744,20 +760,35 @@ the reading as the table writes it. */
|
|
|
744
760
|
"summary-label"?: HelixHeadlessBarChart["summaryLabel"] | undefined;
|
|
745
761
|
/** The summary's sentence. `{highestLabel}` is `highest-label`, and `{readings}` each series' highest reading: the series, the category and the reading as the table writes it. */
|
|
746
762
|
"summaryLabel"?: HelixHeadlessBarChart["summaryLabel"] | undefined;
|
|
747
|
-
/**
|
|
748
|
-
|
|
749
|
-
|
|
763
|
+
/** Whether the numbers of the scale the bars are measured on are drawn, the
|
|
764
|
+
`axis` part.
|
|
765
|
+
|
|
766
|
+
Absent draws them, at the levels `gridlines` rules: down the side of
|
|
767
|
+
columns, and along the bottom of bars under `orientation="horizontal"`.
|
|
768
|
+
`none` draws no axis with one scale, for bars compared with each other at
|
|
769
|
+
a glance. With `secondary` both scales are drawn whatever this says.
|
|
750
770
|
|
|
751
|
-
|
|
752
|
-
|
|
771
|
+
Reflected, because the stylesheet gives the axis a track of its own unless
|
|
772
|
+
this is `none`, and undefaulted, so a host carries only what you wrote. */
|
|
753
773
|
"value-axis"?: HelixHeadlessBarChart["valueAxis"] | undefined;
|
|
754
|
-
/**
|
|
774
|
+
/** Whether the numbers of the scale the bars are measured on are drawn, the `axis` part. */
|
|
755
775
|
"valueAxis"?: HelixHeadlessBarChart["valueAxis"] | undefined;
|
|
756
776
|
/** The words shown in place of the drawing when the table has no readings,
|
|
757
777
|
and the fallback of the `empty` slot. */
|
|
758
778
|
"empty-text"?: HelixHeadlessBarChart["emptyText"] | undefined;
|
|
759
779
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
760
780
|
"emptyText"?: HelixHeadlessBarChart["emptyText"] | undefined;
|
|
781
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
782
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
783
|
+
|
|
784
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
785
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
786
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
787
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
788
|
+
it appears, being news you act on. */
|
|
789
|
+
"error-text"?: HelixHeadlessBarChart["errorText"] | undefined;
|
|
790
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
791
|
+
"errorText"?: HelixHeadlessBarChart["errorText"] | undefined;
|
|
761
792
|
/** Whether the readings are still on their way. The chart shows
|
|
762
793
|
`loading-text` in place of an empty drawing until it has readings.
|
|
763
794
|
|
|
@@ -3404,7 +3435,9 @@ value spelled out. */
|
|
|
3404
3435
|
"no-format"?: HelixHeadlessColorInput["noFormat"] | undefined;
|
|
3405
3436
|
/** Hides the button in the panel that changes the format. */
|
|
3406
3437
|
"noFormat"?: HelixHeadlessColorInput["noFormat"] | undefined;
|
|
3407
|
-
/** The text the field shows before a color is entered.
|
|
3438
|
+
/** The text the field shows before a color is entered. Unset, the field shows
|
|
3439
|
+
none, so an empty field reads as empty. A color here, such as `#ff0000`,
|
|
3440
|
+
read as a color already chosen. */
|
|
3408
3441
|
"placeholder"?: HelixHeadlessColorInput["placeholder"] | undefined;
|
|
3409
3442
|
/** Whether the color is locked. A read-only field still submits its value.
|
|
3410
3443
|
|
|
@@ -3939,9 +3972,10 @@ typed in quotes, as before `{value}` existed. */
|
|
|
3939
3972
|
"create-label"?: HelixHeadlessCombobox["createLabel"] | undefined;
|
|
3940
3973
|
/** The text of the create row. `{value}` is what was typed. */
|
|
3941
3974
|
"createLabel"?: HelixHeadlessCombobox["createLabel"] | undefined;
|
|
3942
|
-
/**
|
|
3975
|
+
/** The text shown when the list has no options. Typing that hides every
|
|
3976
|
+
option shows `no-results-text`. */
|
|
3943
3977
|
"empty-text"?: HelixHeadlessCombobox["emptyText"] | undefined;
|
|
3944
|
-
/**
|
|
3978
|
+
/** The text shown when the list has no options. Typing that hides every option shows `no-results-text`. */
|
|
3945
3979
|
"emptyText"?: HelixHeadlessCombobox["emptyText"] | undefined;
|
|
3946
3980
|
/** What the list says when its options could not be loaded, such as after a
|
|
3947
3981
|
request to a server fails. Empty, null or no attribute is no error, so
|
|
@@ -4012,9 +4046,9 @@ that covers this says in as many words that telling the list is what this
|
|
|
4012
4046
|
element is responsible for. */
|
|
4013
4047
|
"multiple"?: HelixHeadlessCombobox["multiple"] | undefined;
|
|
4014
4048
|
/** The text shown when typing hides every one of the options, where there are
|
|
4015
|
-
some.
|
|
4049
|
+
some. See Listbox's `no-results-text`. */
|
|
4016
4050
|
"no-results-text"?: HelixHeadlessCombobox["noResultsText"] | undefined;
|
|
4017
|
-
/** The text shown when typing hides every one of the options, where there are some.
|
|
4051
|
+
/** The text shown when typing hides every one of the options, where there are some. See Listbox's `no-results-text`. */
|
|
4018
4052
|
"noResultsText"?: HelixHeadlessCombobox["noResultsText"] | undefined;
|
|
4019
4053
|
/** What opens the list: `input`, typing or pressing Down; `focus`, also
|
|
4020
4054
|
arriving in the field, by Tab or a press; or `manual`, only Down, Alt+Down
|
|
@@ -4642,9 +4676,9 @@ is set. */
|
|
|
4642
4676
|
files did not load". Set it when a fetch fails, and clear it once you try
|
|
4643
4677
|
again. Empty, the default, shows nothing.
|
|
4644
4678
|
|
|
4645
|
-
While it is set, a line after the rows shows it,
|
|
4646
|
-
`error` slot, in place of the empty and loading lines, and
|
|
4647
|
-
says it. */
|
|
4679
|
+
While it is set, a line after the rows shows it, followed by your own
|
|
4680
|
+
content in the `error` slot, in place of the empty and loading lines, and
|
|
4681
|
+
the live region says it. */
|
|
4648
4682
|
"error-text"?: HelixHeadlessDataTable["errorText"] | undefined;
|
|
4649
4683
|
/** The text shown and announced when the rows could not load, such as "The files did not load". Set it when a fetch fails, and clear it once you try again. Empty, the default, shows nothing. */
|
|
4650
4684
|
"errorText"?: HelixHeadlessDataTable["errorText"] | undefined;
|
|
@@ -4826,7 +4860,11 @@ its own middle click. This widens where a pointer may land. Ignored while
|
|
|
4826
4860
|
/** Adds a column of checkboxes for selecting rows.
|
|
4827
4861
|
|
|
4828
4862
|
Wants `row-key`: a selection is a set of identities, and without one the rows
|
|
4829
|
-
are known by their place in the result, which a sort changes.
|
|
4863
|
+
are known by their place in the result, which a sort changes.
|
|
4864
|
+
|
|
4865
|
+
Reflected, because the styled tier lays the headings out by whether a
|
|
4866
|
+
checkbox column leads them: set as a property, as React sets it, the
|
|
4867
|
+
table's first heading took the inset a leading column already gives. */
|
|
4830
4868
|
"selectable"?: HelixHeadlessDataTable["selectable"] | undefined;
|
|
4831
4869
|
/** The name of the checkbox in the heading that selects every row. */
|
|
4832
4870
|
"select-all-label"?: HelixHeadlessDataTable["selectAllLabel"] | undefined;
|
|
@@ -6173,6 +6211,17 @@ and the fallback of the `empty` slot. */
|
|
|
6173
6211
|
"empty-text"?: HelixHeadlessDonutChart["emptyText"] | undefined;
|
|
6174
6212
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
6175
6213
|
"emptyText"?: HelixHeadlessDonutChart["emptyText"] | undefined;
|
|
6214
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
6215
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
6216
|
+
|
|
6217
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
6218
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
6219
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
6220
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
6221
|
+
it appears, being news you act on. */
|
|
6222
|
+
"error-text"?: HelixHeadlessDonutChart["errorText"] | undefined;
|
|
6223
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
6224
|
+
"errorText"?: HelixHeadlessDonutChart["errorText"] | undefined;
|
|
6176
6225
|
/** Whether the readings are still on their way. The chart shows
|
|
6177
6226
|
`loading-text` in place of an empty drawing until it has readings.
|
|
6178
6227
|
|
|
@@ -7995,6 +8044,17 @@ and the fallback of the `empty` slot. */
|
|
|
7995
8044
|
"empty-text"?: HelixHeadlessHeatmap["emptyText"] | undefined;
|
|
7996
8045
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
7997
8046
|
"emptyText"?: HelixHeadlessHeatmap["emptyText"] | undefined;
|
|
8047
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
8048
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
8049
|
+
|
|
8050
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
8051
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
8052
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
8053
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
8054
|
+
it appears, being news you act on. */
|
|
8055
|
+
"error-text"?: HelixHeadlessHeatmap["errorText"] | undefined;
|
|
8056
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
8057
|
+
"errorText"?: HelixHeadlessHeatmap["errorText"] | undefined;
|
|
7998
8058
|
/** Whether the readings are still on their way. The chart shows
|
|
7999
8059
|
`loading-text` in place of an empty drawing until it has readings.
|
|
8000
8060
|
|
|
@@ -9049,9 +9109,10 @@ which a stylesheet draws dashed. Absent, every line is solid. */
|
|
|
9049
9109
|
"dashed"?: HelixHeadlessLineChart["dashed"] | undefined;
|
|
9050
9110
|
/** Which rules are drawn across the plot, if any.
|
|
9051
9111
|
|
|
9052
|
-
Absent
|
|
9053
|
-
|
|
9054
|
-
|
|
9112
|
+
Absent rules the levels, as `value` does, which are the levels the `axis`
|
|
9113
|
+
part numbers: a reading is measured against the rule beside it. `none`
|
|
9114
|
+
draws no rules, for a chart in a card or beside a figure that is read as a
|
|
9115
|
+
shape.
|
|
9055
9116
|
|
|
9056
9117
|
`value` rules the axis the readings are *measured* on, at the levels
|
|
9057
9118
|
`ticks` picks, which are round numbers anchored to the number line rather
|
|
@@ -9060,11 +9121,9 @@ the same levels. `category` rules the axis they are *arranged* on, one
|
|
|
9060
9121
|
through each reading whose name is drawn, which is what lets a point be
|
|
9061
9122
|
traced down to its label across a wide chart. `both` draws both.
|
|
9062
9123
|
|
|
9063
|
-
**A bare `gridlines` means `value`**, and so does anything unrecognized
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
all: an unrecognized value that draws no rules is indistinguishable from
|
|
9067
|
-
the attribute being absent, which is the one thing a reader cannot debug.
|
|
9124
|
+
**A bare `gridlines` means `value`**, and so does anything unrecognized,
|
|
9125
|
+
so a typo draws the rules the chart rests with. Only `none` takes them
|
|
9126
|
+
away, which is a word nobody types by accident.
|
|
9068
9127
|
|
|
9069
9128
|
Furniture rather than data, so the rules are inside the `aria-hidden` plot
|
|
9070
9129
|
and reach no reader through the table. */
|
|
@@ -9108,14 +9167,17 @@ masked with one disc per series and every stroke stops at its own ring's
|
|
|
9108
9167
|
inner edge. `mask-composite: intersect` is what makes N holes out of N
|
|
9109
9168
|
layers; a single `mask-image` would only ever cut the last one. */
|
|
9110
9169
|
"terminus"?: HelixHeadlessLineChart["terminus"] | undefined;
|
|
9111
|
-
/**
|
|
9112
|
-
`gridlines` rules, so a reading can be measured off the drawing as well
|
|
9113
|
-
as read from the tooltip.
|
|
9170
|
+
/** Whether the scale's numbers are drawn beside the plot, the `axis` part.
|
|
9114
9171
|
|
|
9115
|
-
Absent draws
|
|
9116
|
-
|
|
9172
|
+
Absent draws them, at the levels `gridlines` rules, so a reading can be
|
|
9173
|
+
measured off the drawing as well as read from the tooltip. `none` draws no
|
|
9174
|
+
axis, for a line read for its shape, where the tooltip and the table hold
|
|
9175
|
+
every reading.
|
|
9176
|
+
|
|
9177
|
+
Reflected, because the stylesheet gives the axis a column of its own unless
|
|
9178
|
+
this is `none`, and undefaulted, so a host carries only what you wrote. */
|
|
9117
9179
|
"value-axis"?: HelixHeadlessLineChart["valueAxis"] | undefined;
|
|
9118
|
-
/**
|
|
9180
|
+
/** Whether the scale's numbers are drawn beside the plot, the `axis` part. */
|
|
9119
9181
|
"valueAxis"?: HelixHeadlessLineChart["valueAxis"] | undefined;
|
|
9120
9182
|
/** Whether the range always includes zero.
|
|
9121
9183
|
|
|
@@ -9129,6 +9191,17 @@ and the fallback of the `empty` slot. */
|
|
|
9129
9191
|
"empty-text"?: HelixHeadlessLineChart["emptyText"] | undefined;
|
|
9130
9192
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
9131
9193
|
"emptyText"?: HelixHeadlessLineChart["emptyText"] | undefined;
|
|
9194
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
9195
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
9196
|
+
|
|
9197
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
9198
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
9199
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
9200
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
9201
|
+
it appears, being news you act on. */
|
|
9202
|
+
"error-text"?: HelixHeadlessLineChart["errorText"] | undefined;
|
|
9203
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
9204
|
+
"errorText"?: HelixHeadlessLineChart["errorText"] | undefined;
|
|
9132
9205
|
/** Whether the readings are still on their way. The chart shows
|
|
9133
9206
|
`loading-text` in place of an empty drawing until it has readings.
|
|
9134
9207
|
|
|
@@ -9262,7 +9335,8 @@ stylesheet draws it from. */
|
|
|
9262
9335
|
/** Takes the row out of reach in a list with `selection-mode`: the arrow keys
|
|
9263
9336
|
pass over it and it cannot be selected or acted on. In a list with
|
|
9264
9337
|
`disabled-behavior="selection"`, it cannot be selected and is reached and
|
|
9265
|
-
acted on as any row is.
|
|
9338
|
+
acted on as any row is. Anywhere else, a disabled row with `href` does
|
|
9339
|
+
not follow its link. */
|
|
9266
9340
|
"disabled"?: HelixHeadlessListItem["disabled"] | undefined;
|
|
9267
9341
|
/** The URL the row links to. Leave it empty for a row that is not a link.
|
|
9268
9342
|
|
|
@@ -9334,6 +9408,17 @@ slot is empty. An empty string shows no row. */
|
|
|
9334
9408
|
"empty-text"?: HelixHeadlessList["emptyText"] | undefined;
|
|
9335
9409
|
/** The text of the row shown while the list has no rows, where the `empty` slot is empty. An empty string shows no row. */
|
|
9336
9410
|
"emptyText"?: HelixHeadlessList["emptyText"] | undefined;
|
|
9411
|
+
/** The words shown after the rows when they did not load, such as "The files
|
|
9412
|
+
did not load". Set it when a fetch fails, and clear it once you try again.
|
|
9413
|
+
Empty, the default, shows nothing.
|
|
9414
|
+
|
|
9415
|
+
While it is set, a row after the last shows it, followed by your own
|
|
9416
|
+
content in the `error` slot, such as a button that tries again, in place of
|
|
9417
|
+
the empty and loading rows, and screen readers hear it. Table, Listbox, and
|
|
9418
|
+
every chart take the same property and slot. */
|
|
9419
|
+
"error-text"?: HelixHeadlessList["errorText"] | undefined;
|
|
9420
|
+
/** The words shown after the rows when they did not load, such as "The files did not load". Set it when a fetch fails, and clear it once you try again. Empty, the default, shows nothing. */
|
|
9421
|
+
"errorText"?: HelixHeadlessList["errorText"] | undefined;
|
|
9337
9422
|
/** The kind of list, which follows from the content.
|
|
9338
9423
|
|
|
9339
9424
|
On the headless tier because it is meaning rather than decoration, the same
|
|
@@ -9364,9 +9449,11 @@ that says so. The list asks for no more while it is set. */
|
|
|
9364
9449
|
"loading-label"?: HelixHeadlessList["loadingLabel"] | undefined;
|
|
9365
9450
|
/** The old name of `loading-text`, read only where a page sets it. */
|
|
9366
9451
|
"loadingLabel"?: HelixHeadlessList["loadingLabel"] | undefined;
|
|
9367
|
-
/** The text of the row drawn while `loading` is set, where the `loading` slot
|
|
9452
|
+
/** The text of the row drawn while `loading` is set, where the `loading` slot
|
|
9453
|
+
is empty. "Loading", the word every collection uses, since the same row
|
|
9454
|
+
stands alone in a list that has no rows yet. */
|
|
9368
9455
|
"loading-text"?: HelixHeadlessList["loadingText"] | undefined;
|
|
9369
|
-
/** The text of the row drawn while `loading` is set, where the `loading` slot is empty. */
|
|
9456
|
+
/** The text of the row drawn while `loading` is set, where the `loading` slot is empty. "Loading", the word every collection uses, since the same row stands alone in a list that has no rows yet. */
|
|
9370
9457
|
"loadingText"?: HelixHeadlessList["loadingText"] | undefined;
|
|
9371
9458
|
/** Sends `helix-load-more` once the end of the list comes within a screen of
|
|
9372
9459
|
view, so you can add the next rows as a reader nears them. */
|
|
@@ -9478,14 +9565,13 @@ with the reader for the same keystrokes: it is always `off`. */
|
|
|
9478
9565
|
"default-filter"?: HelixHeadlessListbox["defaultFilter"] | undefined;
|
|
9479
9566
|
/** The filter text the list starts with, when `filter` is not set. */
|
|
9480
9567
|
"defaultFilter"?: HelixHeadlessListbox["defaultFilter"] | undefined;
|
|
9481
|
-
/** The text shown when the filter hides every
|
|
9568
|
+
/** The text shown when the list has no options. A filter that hides every
|
|
9569
|
+
option shows `no-results-text`.
|
|
9482
9570
|
|
|
9483
|
-
From `MixinCollection`,
|
|
9484
|
-
|
|
9485
|
-
about a filter, and the mixin's "Nothing to show" is about a list that was
|
|
9486
|
-
never given anything. */
|
|
9571
|
+
From `MixinCollection`, and re-declared here to name what the list holds,
|
|
9572
|
+
as Select does. */
|
|
9487
9573
|
"empty-text"?: HelixHeadlessListbox["emptyText"] | undefined;
|
|
9488
|
-
/** The text shown when the filter hides every option
|
|
9574
|
+
/** The text shown when the list has no options. A filter that hides every option shows `no-results-text`. */
|
|
9489
9575
|
"emptyText"?: HelixHeadlessListbox["emptyText"] | undefined;
|
|
9490
9576
|
/** What the list says when its options could not be loaded, such as after a
|
|
9491
9577
|
request to a server fails. Empty, null or no attribute is no error, so
|
|
@@ -9556,11 +9642,9 @@ A press then toggles the option pressed, and Shift with a press adds every
|
|
|
9556
9642
|
option from the one last chosen to it, as React Aria's list does. */
|
|
9557
9643
|
"multiple"?: HelixHeadlessListbox["multiple"] | undefined;
|
|
9558
9644
|
/** The text shown when a filter hides every option of a list that has some.
|
|
9559
|
-
|
|
9560
|
-
Absent, the list says `empty-text` in both cases. Set it to tell "nothing
|
|
9561
|
-
matches what you typed" from "there is nothing here". */
|
|
9645
|
+
`empty-text` is what a list with no options says. */
|
|
9562
9646
|
"no-results-text"?: HelixHeadlessListbox["noResultsText"] | undefined;
|
|
9563
|
-
/** The text shown when a filter hides every option of a list that has some. */
|
|
9647
|
+
/** The text shown when a filter hides every option of a list that has some. `empty-text` is what a list with no options says. */
|
|
9564
9648
|
"noResultsText"?: HelixHeadlessListbox["noResultsText"] | undefined;
|
|
9565
9649
|
/** Lets a reader move options, once `@fusion.dev/helix/listbox/reorder` (or
|
|
9566
9650
|
`@fusion.dev/helix-headless/listbox/reorder`) is imported: Alt with an
|
|
@@ -10966,6 +11050,16 @@ elsewhere. Showing a shortcut does not bind it. */
|
|
|
10966
11050
|
"shortcut"?: HelixHeadlessMenuItem["shortcut"] | undefined;
|
|
10967
11051
|
/** Where the link opens, for rows that should open outside the current page. */
|
|
10968
11052
|
"target"?: HelixHeadlessMenuItem["target"] | undefined;
|
|
11053
|
+
/** What the row's action means, from `tone`, the axis for meaning, and a
|
|
11054
|
+
subset of it: `danger` or `neutral`, unset being neutral.
|
|
11055
|
+
|
|
11056
|
+
**`danger` is for an action that cannot be undone**, such as "Revoke token",
|
|
11057
|
+
"Remove member" or "Delete permanently", placed last, after a divider. A
|
|
11058
|
+
removal that can be undone or reviewed afterwards stays neutral: the color
|
|
11059
|
+
says this one cannot, and it says nothing once every removal wears it. The
|
|
11060
|
+
other five values say a status or a brand role, which a row that does
|
|
11061
|
+
something has neither of. Reflected, for the stylesheet, with no default. */
|
|
11062
|
+
"tone"?: HelixHeadlessMenuItem["tone"] | undefined;
|
|
10969
11063
|
/** The row's value, sent in `helix-before-select` when the row is chosen. */
|
|
10970
11064
|
"value"?: HelixHeadlessMenuItem["value"] | undefined;
|
|
10971
11065
|
};
|
|
@@ -11959,9 +12053,9 @@ other {# wyniku}}`. */
|
|
|
11959
12053
|
/** What a screen reader hears when a filter matches entries. `{count}` is how many, written in the locale, and each language writes the forms it has: `{count, plural, one {# wynik} few {# wyniki} many {# wyników} other {# wyniku}}`. */
|
|
11960
12054
|
"resultsLabel"?: HelixHeadlessObjectInspector["resultsLabel"] | undefined;
|
|
11961
12055
|
/** The tree's accessible name when `label` is empty and the host names it
|
|
11962
|
-
with neither `aria-label` nor `aria-
|
|
12056
|
+
with neither `aria-label` nor `aria-labeledby`. */
|
|
11963
12057
|
"tree-label"?: HelixHeadlessObjectInspector["treeLabel"] | undefined;
|
|
11964
|
-
/** The tree's accessible name when `label` is empty and the host names it with neither `aria-label` nor `aria-
|
|
12058
|
+
/** The tree's accessible name when `label` is empty and the host names it with neither `aria-label` nor `aria-labeledby`. */
|
|
11965
12059
|
"treeLabel"?: HelixHeadlessObjectInspector["treeLabel"] | undefined;
|
|
11966
12060
|
/** Whether to draw only the rows in view.
|
|
11967
12061
|
|
|
@@ -12123,6 +12217,18 @@ reads the row's words, then `label`. */
|
|
|
12123
12217
|
"text-value"?: HelixHeadlessOption["textValue"] | undefined;
|
|
12124
12218
|
/** The words a reader types to reach this choice, where the row's own words are not them: typeahead, a filter and a combobox match against it, and a select's trigger shows it. */
|
|
12125
12219
|
"textValue"?: HelixHeadlessOption["textValue"] | undefined;
|
|
12220
|
+
/** What the row's action means, from `tone`, the axis for meaning, and a
|
|
12221
|
+
subset of it: `danger` or `neutral`, unset being neutral.
|
|
12222
|
+
|
|
12223
|
+
**`danger` is for an action that cannot be undone**, such as "Revoke token",
|
|
12224
|
+
"Remove member" or "Delete permanently": in a command palette, where an
|
|
12225
|
+
option is an action, placed last in its group. A choice in a listbox is not
|
|
12226
|
+
an action and keeps the neutral tone. A
|
|
12227
|
+
removal that can be undone or reviewed afterwards stays neutral: the color
|
|
12228
|
+
says this one cannot, and it says nothing once every removal wears it. The
|
|
12229
|
+
other five values say a status or a brand role, which a row that does
|
|
12230
|
+
something has neither of. Reflected, for the stylesheet, with no default. */
|
|
12231
|
+
"tone"?: HelixHeadlessOption["tone"] | undefined;
|
|
12126
12232
|
/** The value that identifies the option, and that a form submits. */
|
|
12127
12233
|
"value"?: HelixHeadlessOption["value"] | undefined;
|
|
12128
12234
|
/** Whether the markup declares this option selected. A form reset returns to it.
|
|
@@ -12251,6 +12357,9 @@ here: the run of pages is gone and a single status line stands in its
|
|
|
12251
12357
|
place. This is the shape a narrow screen wants, and the only shape possible
|
|
12252
12358
|
where the total is large enough that no window over it is useful.
|
|
12253
12359
|
|
|
12360
|
+
Set, it always shows. Unset, the control still folds into it wherever its
|
|
12361
|
+
own width cannot hold the full row on one line, and unfolds when it can.
|
|
12362
|
+
|
|
12254
12363
|
Not reflected, for the reason `ends` is not: it decides what renders, so
|
|
12255
12364
|
nothing has to select on it. */
|
|
12256
12365
|
"compact"?: HelixHeadlessPagination["compact"] | undefined;
|
|
@@ -13324,6 +13433,17 @@ and the fallback of the `empty` slot. */
|
|
|
13324
13433
|
"empty-text"?: HelixHeadlessScatterChart["emptyText"] | undefined;
|
|
13325
13434
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
13326
13435
|
"emptyText"?: HelixHeadlessScatterChart["emptyText"] | undefined;
|
|
13436
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
13437
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
13438
|
+
|
|
13439
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
13440
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
13441
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
13442
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
13443
|
+
it appears, being news you act on. */
|
|
13444
|
+
"error-text"?: HelixHeadlessScatterChart["errorText"] | undefined;
|
|
13445
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
13446
|
+
"errorText"?: HelixHeadlessScatterChart["errorText"] | undefined;
|
|
13327
13447
|
/** Whether the readings are still on their way. The chart shows
|
|
13328
13448
|
`loading-text` in place of an empty drawing until it has readings.
|
|
13329
13449
|
|
|
@@ -13503,10 +13623,19 @@ the browser to fill, as React Aria's `HiddenSelect` does, and takes the
|
|
|
13503
13623
|
option the browser picks, by its value or its words, as the value. Empty
|
|
13504
13624
|
draws no hidden select, and a browser fills nothing. */
|
|
13505
13625
|
"autocomplete"?: HelixHeadlessSelect["autocomplete"] | undefined;
|
|
13506
|
-
/** The text shown when no options
|
|
13626
|
+
/** The text shown when the list has no options. A filter that hides every
|
|
13627
|
+
option shows `no-results-text`. */
|
|
13507
13628
|
"empty-text"?: HelixHeadlessSelect["emptyText"] | undefined;
|
|
13508
|
-
/** The text shown when no options
|
|
13629
|
+
/** The text shown when the list has no options. A filter that hides every option shows `no-results-text`. */
|
|
13509
13630
|
"emptyText"?: HelixHeadlessSelect["emptyText"] | undefined;
|
|
13631
|
+
/** What the list says when its options could not be loaded, such as after a
|
|
13632
|
+
request to a server fails. Empty, null or no attribute is no error, so
|
|
13633
|
+
removing the attribute clears it. Passed to the list, which shows it in
|
|
13634
|
+
the danger color under any options there are and tells screen readers, as
|
|
13635
|
+
Combobox's does. */
|
|
13636
|
+
"error-text"?: HelixHeadlessSelect["errorText"] | undefined;
|
|
13637
|
+
/** What the list says when its options could not be loaded, such as after a request to a server fails. Empty, null or no attribute is no error, so removing the attribute clears it. Passed to the list, which shows it in the danger color under any options there are and tells screen readers, as Combobox's does. */
|
|
13638
|
+
"errorText"?: HelixHeadlessSelect["errorText"] | undefined;
|
|
13510
13639
|
/** Whether the list can be narrowed by typing.
|
|
13511
13640
|
|
|
13512
13641
|
Passed to the listbox rather than acted on here, because the listbox owns
|
|
@@ -13535,6 +13664,10 @@ consumer wiring the same flag twice. */
|
|
|
13535
13664
|
"loadingText"?: HelixHeadlessSelect["loadingText"] | undefined;
|
|
13536
13665
|
/** Whether more than one option can be chosen. */
|
|
13537
13666
|
"multiple"?: HelixHeadlessSelect["multiple"] | undefined;
|
|
13667
|
+
/** The text shown when typing hides every option, under `filterable`. */
|
|
13668
|
+
"no-results-text"?: HelixHeadlessSelect["noResultsText"] | undefined;
|
|
13669
|
+
/** The text shown when typing hides every option, under `filterable`. */
|
|
13670
|
+
"noResultsText"?: HelixHeadlessSelect["noResultsText"] | undefined;
|
|
13538
13671
|
/** Shown on the trigger while nothing is chosen. */
|
|
13539
13672
|
"placeholder"?: HelixHeadlessSelect["placeholder"] | undefined;
|
|
13540
13673
|
/** Where the list opens: `floating`, under the trigger and above it where
|
|
@@ -13547,6 +13680,14 @@ round it, and a short move reaches the options either side. Near an edge
|
|
|
13547
13680
|
of the screen the list moves to stay on it, so the option may sit beside
|
|
13548
13681
|
the trigger rather than on it. It follows the page as it scrolls. */
|
|
13549
13682
|
"position"?: HelixHeadlessSelect["position"] | undefined;
|
|
13683
|
+
/** Whether the choice is locked. A read-only select still submits its value.
|
|
13684
|
+
|
|
13685
|
+
The trigger can be read and focused, the list does not open, and the
|
|
13686
|
+
letters and the Left and Right keys on the closed trigger change nothing,
|
|
13687
|
+
as Combobox's `readonly` does. */
|
|
13688
|
+
"readonly"?: HelixHeadlessSelect["readOnly"] | undefined;
|
|
13689
|
+
/** Whether the choice is locked. A read-only select still submits its value. */
|
|
13690
|
+
"readOnly"?: HelixHeadlessSelect["readOnly"] | undefined;
|
|
13550
13691
|
/** The message reported when the field is required and nothing is chosen.
|
|
13551
13692
|
Absent, or empty, is this sentence, or the words registered for the page's
|
|
13552
13693
|
locale. */
|
|
@@ -14018,6 +14159,20 @@ sum can pass under the curve fitted through the sum beneath it, so a
|
|
|
14018
14159
|
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
14019
14160
|
here, which is what lets a line take the reading aid. */
|
|
14020
14161
|
"curve"?: HelixHeadlessSparkline["curve"] | undefined;
|
|
14162
|
+
/** The words shown in place of the line when there are no readings, and the
|
|
14163
|
+
fallback of the `empty` slot. */
|
|
14164
|
+
"empty-text"?: HelixHeadlessSparkline["emptyText"] | undefined;
|
|
14165
|
+
/** The words shown in place of the line when there are no readings, and the fallback of the `empty` slot. */
|
|
14166
|
+
"emptyText"?: HelixHeadlessSparkline["emptyText"] | undefined;
|
|
14167
|
+
/** The words shown in place of the line when the readings did not load, such
|
|
14168
|
+
as "The visits did not load". Empty, the default, shows nothing.
|
|
14169
|
+
|
|
14170
|
+
While it is set and there are no readings, the `error` line stands in place
|
|
14171
|
+
of the line, followed by your own content in the `error` slot, and the
|
|
14172
|
+
sparkline takes the `error` state. Clear it once you try again. */
|
|
14173
|
+
"error-text"?: HelixHeadlessSparkline["errorText"] | undefined;
|
|
14174
|
+
/** The words shown in place of the line when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
14175
|
+
"errorText"?: HelixHeadlessSparkline["errorText"] | undefined;
|
|
14021
14176
|
/** The id of a table to read the readings from, when a table holds the data.
|
|
14022
14177
|
|
|
14023
14178
|
The first column of numbers is the series drawn. This wins over `values`,
|
|
@@ -14034,6 +14189,18 @@ the accessible representation of a sparkline, and a list of the fourteen
|
|
|
14034
14189
|
numbers is not. Absent, the drawing is hidden from a screen reader rather
|
|
14035
14190
|
than announced without a name. */
|
|
14036
14191
|
"label"?: HelixHeadlessSparkline["label"] | undefined;
|
|
14192
|
+
/** Whether the readings are still on their way. The sparkline shows
|
|
14193
|
+
`loading-text` in place of an empty drawing until it has readings.
|
|
14194
|
+
|
|
14195
|
+
Reflected, so a stylesheet can treat the sparkline while it waits. One
|
|
14196
|
+
that already has readings keeps drawing them, so a refresh does not blank
|
|
14197
|
+
it. */
|
|
14198
|
+
"loading"?: HelixHeadlessSparkline["loading"] | undefined;
|
|
14199
|
+
/** The words shown in place of the line while `loading` is set and there are
|
|
14200
|
+
no readings yet, and the fallback of the `loading` slot. */
|
|
14201
|
+
"loading-text"?: HelixHeadlessSparkline["loadingText"] | undefined;
|
|
14202
|
+
/** The words shown in place of the line while `loading` is set and there are no readings yet, and the fallback of the `loading` slot. */
|
|
14203
|
+
"loadingText"?: HelixHeadlessSparkline["loadingText"] | undefined;
|
|
14037
14204
|
/** The locale the words, the readout's numbers and positions are in, such
|
|
14038
14205
|
as `de` for `1.240`.
|
|
14039
14206
|
|
|
@@ -14216,6 +14383,17 @@ and the fallback of the `empty` slot. */
|
|
|
14216
14383
|
"empty-text"?: HelixHeadlessSpatialBarChart["emptyText"] | undefined;
|
|
14217
14384
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
14218
14385
|
"emptyText"?: HelixHeadlessSpatialBarChart["emptyText"] | undefined;
|
|
14386
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
14387
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
14388
|
+
|
|
14389
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
14390
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
14391
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
14392
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
14393
|
+
it appears, being news you act on. */
|
|
14394
|
+
"error-text"?: HelixHeadlessSpatialBarChart["errorText"] | undefined;
|
|
14395
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
14396
|
+
"errorText"?: HelixHeadlessSpatialBarChart["errorText"] | undefined;
|
|
14219
14397
|
/** Whether the readings are still on their way. The chart shows
|
|
14220
14398
|
`loading-text` in place of an empty drawing until it has readings.
|
|
14221
14399
|
|
|
@@ -14362,6 +14540,17 @@ and the fallback of the `empty` slot. */
|
|
|
14362
14540
|
"empty-text"?: HelixHeadlessSpatialHeatmap["emptyText"] | undefined;
|
|
14363
14541
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
14364
14542
|
"emptyText"?: HelixHeadlessSpatialHeatmap["emptyText"] | undefined;
|
|
14543
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
14544
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
14545
|
+
|
|
14546
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
14547
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
14548
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
14549
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
14550
|
+
it appears, being news you act on. */
|
|
14551
|
+
"error-text"?: HelixHeadlessSpatialHeatmap["errorText"] | undefined;
|
|
14552
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
14553
|
+
"errorText"?: HelixHeadlessSpatialHeatmap["errorText"] | undefined;
|
|
14365
14554
|
/** Whether the readings are still on their way. The chart shows
|
|
14366
14555
|
`loading-text` in place of an empty drawing until it has readings.
|
|
14367
14556
|
|
|
@@ -14628,6 +14817,17 @@ and the fallback of the `empty` slot. */
|
|
|
14628
14817
|
"empty-text"?: HelixHeadlessSpatialRibbonChart["emptyText"] | undefined;
|
|
14629
14818
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
14630
14819
|
"emptyText"?: HelixHeadlessSpatialRibbonChart["emptyText"] | undefined;
|
|
14820
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
14821
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
14822
|
+
|
|
14823
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
14824
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
14825
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
14826
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
14827
|
+
it appears, being news you act on. */
|
|
14828
|
+
"error-text"?: HelixHeadlessSpatialRibbonChart["errorText"] | undefined;
|
|
14829
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
14830
|
+
"errorText"?: HelixHeadlessSpatialRibbonChart["errorText"] | undefined;
|
|
14631
14831
|
/** Whether the readings are still on their way. The chart shows
|
|
14632
14832
|
`loading-text` in place of an empty drawing until it has readings.
|
|
14633
14833
|
|
|
@@ -14791,6 +14991,17 @@ and the fallback of the `empty` slot. */
|
|
|
14791
14991
|
"empty-text"?: HelixHeadlessSpatialScatterChart["emptyText"] | undefined;
|
|
14792
14992
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
14793
14993
|
"emptyText"?: HelixHeadlessSpatialScatterChart["emptyText"] | undefined;
|
|
14994
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
14995
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
14996
|
+
|
|
14997
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
14998
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
14999
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
15000
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
15001
|
+
it appears, being news you act on. */
|
|
15002
|
+
"error-text"?: HelixHeadlessSpatialScatterChart["errorText"] | undefined;
|
|
15003
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
15004
|
+
"errorText"?: HelixHeadlessSpatialScatterChart["errorText"] | undefined;
|
|
14794
15005
|
/** Whether the readings are still on their way. The chart shows
|
|
14795
15006
|
`loading-text` in place of an empty drawing until it has readings.
|
|
14796
15007
|
|
|
@@ -14956,6 +15167,17 @@ and the fallback of the `empty` slot. */
|
|
|
14956
15167
|
"empty-text"?: HelixHeadlessSpatialSurfaceChart["emptyText"] | undefined;
|
|
14957
15168
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
14958
15169
|
"emptyText"?: HelixHeadlessSpatialSurfaceChart["emptyText"] | undefined;
|
|
15170
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
15171
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
15172
|
+
|
|
15173
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
15174
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
15175
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
15176
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
15177
|
+
it appears, being news you act on. */
|
|
15178
|
+
"error-text"?: HelixHeadlessSpatialSurfaceChart["errorText"] | undefined;
|
|
15179
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
15180
|
+
"errorText"?: HelixHeadlessSpatialSurfaceChart["errorText"] | undefined;
|
|
14959
15181
|
/** Whether the readings are still on their way. The chart shows
|
|
14960
15182
|
`loading-text` in place of an empty drawing until it has readings.
|
|
14961
15183
|
|
|
@@ -15114,6 +15336,17 @@ and the fallback of the `empty` slot. */
|
|
|
15114
15336
|
"empty-text"?: HelixHeadlessSpatialTreemap["emptyText"] | undefined;
|
|
15115
15337
|
/** The words shown in place of the drawing when the table has no readings, and the fallback of the `empty` slot. */
|
|
15116
15338
|
"emptyText"?: HelixHeadlessSpatialTreemap["emptyText"] | undefined;
|
|
15339
|
+
/** The words shown in place of the drawing when the readings did not load,
|
|
15340
|
+
such as "The visits did not load". Empty, the default, shows nothing.
|
|
15341
|
+
|
|
15342
|
+
While it is set and the chart has no readings to draw, the `error` line
|
|
15343
|
+
stands in the plot in place of the empty and loading words, followed by
|
|
15344
|
+
your own content in the `error` slot, such as a button that tries again,
|
|
15345
|
+
and the chart takes the `error` state. Clear it once you try again. Announced as
|
|
15346
|
+
it appears, being news you act on. */
|
|
15347
|
+
"error-text"?: HelixHeadlessSpatialTreemap["errorText"] | undefined;
|
|
15348
|
+
/** The words shown in place of the drawing when the readings did not load, such as "The visits did not load". Empty, the default, shows nothing. */
|
|
15349
|
+
"errorText"?: HelixHeadlessSpatialTreemap["errorText"] | undefined;
|
|
15117
15350
|
/** Whether the readings are still on their way. The chart shows
|
|
15118
15351
|
`loading-text` in place of an empty drawing until it has readings.
|
|
15119
15352
|
|
|
@@ -15586,6 +15819,10 @@ place of a slotted value.
|
|
|
15586
15819
|
|
|
15587
15820
|
Absent leaves the figure to the slot. */
|
|
15588
15821
|
"value"?: HelixHeadlessStat["value"] | undefined;
|
|
15822
|
+
/** The steps down this stat's own figure needs to fit its width, from 0 to 2,
|
|
15823
|
+
measured at full size whatever step it shows. A group in columns reads it
|
|
15824
|
+
to set every figure at the same step. */
|
|
15825
|
+
"stepNeeded"?: HelixHeadlessStat["stepNeeded"] | undefined;
|
|
15589
15826
|
};
|
|
15590
15827
|
|
|
15591
15828
|
export type HelixHeadlessStatVueEvents = {
|
|
@@ -15965,6 +16202,17 @@ state instead. No default, so an unset column writes nothing onto its host. */
|
|
|
15965
16202
|
"text-align"?: HelixHeadlessTableColumn["textAlign"] | undefined;
|
|
15966
16203
|
/** Which edge the values line up against. */
|
|
15967
16204
|
"textAlign"?: HelixHeadlessTableColumn["textAlign"] | undefined;
|
|
16205
|
+
/** Where the content of this column's cells sits from top to bottom, when a
|
|
16206
|
+
row is taller than it: `start`, `center` or `end`.
|
|
16207
|
+
|
|
16208
|
+
**Unset follows the table**, which centers, so a line of text beside a
|
|
16209
|
+
taller grip, tag or button sits on the row's middle rather than riding at
|
|
16210
|
+
its top. `start` keeps a column of long, wrapping text against the top
|
|
16211
|
+
edge, where a reader begins it. Reflected and written to each cell as
|
|
16212
|
+
`text-align` is, for the same reasons. */
|
|
16213
|
+
"vertical-align"?: HelixHeadlessTableColumn["verticalAlign"] | undefined;
|
|
16214
|
+
/** Where the content of this column's cells sits from top to bottom, when a row is taller than it: `start`, `center` or `end`. */
|
|
16215
|
+
"verticalAlign"?: HelixHeadlessTableColumn["verticalAlign"] | undefined;
|
|
15968
16216
|
/** The track this column takes, as CSS.
|
|
15969
16217
|
|
|
15970
16218
|
A single track value, so anything valid in `grid-template-columns` works:
|
|
@@ -16111,9 +16359,9 @@ is set. */
|
|
|
16111
16359
|
fetch fails, and clear it once you try again. Empty, the default, shows
|
|
16112
16360
|
nothing.
|
|
16113
16361
|
|
|
16114
|
-
While it is set, a line after the rows shows it,
|
|
16115
|
-
`error` slot, in place of the empty and loading lines, and
|
|
16116
|
-
says it. */
|
|
16362
|
+
While it is set, a line after the rows shows it, followed by your own
|
|
16363
|
+
content in the `error` slot, in place of the empty and loading lines, and
|
|
16364
|
+
the live region says it. */
|
|
16117
16365
|
"error-text"?: HelixHeadlessTable["errorText"] | undefined;
|
|
16118
16366
|
/** The text shown and announced when the rows could not load. Set it when a fetch fails, and clear it once you try again. Empty, the default, shows nothing. */
|
|
16119
16367
|
"errorText"?: HelixHeadlessTable["errorText"] | undefined;
|
|
@@ -16315,6 +16563,15 @@ export type HelixHeadlessTabPanelElementEvent<E = Event> = TypedEvent<HelixHeadl
|
|
|
16315
16563
|
export type HelixHeadlessTabPanelHelixLoadElementEvent = HelixHeadlessTabPanelElementEvent<HelixLoadEvent>;
|
|
16316
16564
|
|
|
16317
16565
|
export type HelixHeadlessTabPanelVueProps = {
|
|
16566
|
+
/** Whether find in page searches the panel while its tab is not selected, and
|
|
16567
|
+
selects the tab on a match.
|
|
16568
|
+
|
|
16569
|
+
Unset takes the tabs' `hidden-until-found`, which is on. Write
|
|
16570
|
+
`hidden-until-found="false"` to keep find in page out of this panel: an
|
|
16571
|
+
inactive panel is then `hidden`. */
|
|
16572
|
+
"hidden-until-found"?: HelixHeadlessTabPanel["hiddenUntilFound"] | undefined;
|
|
16573
|
+
/** Whether find in page searches the panel while its tab is not selected, and selects the tab on a match. */
|
|
16574
|
+
"hiddenUntilFound"?: HelixHeadlessTabPanel["hiddenUntilFound"] | undefined;
|
|
16318
16575
|
/** Whether the panel's content waits in a `<template>` until the panel is
|
|
16319
16576
|
first shown. */
|
|
16320
16577
|
"lazy"?: HelixHeadlessTabPanel["lazy"] | undefined;
|
|
@@ -16339,6 +16596,14 @@ export type HelixHeadlessTabsHelixBeforeActivateElementEvent = HelixHeadlessTabs
|
|
|
16339
16596
|
export type HelixHeadlessTabsHelixBeforeSelectElementEvent = HelixHeadlessTabsElementEvent<HelixBeforeSelectEvent>;
|
|
16340
16597
|
|
|
16341
16598
|
export type HelixHeadlessTabsVueProps = {
|
|
16599
|
+
/** Whether find in page searches the panels whose tabs are not selected, and
|
|
16600
|
+
selects the tab on a match. On by default.
|
|
16601
|
+
|
|
16602
|
+
Write `hidden-until-found="false"` to turn it off for every panel; a
|
|
16603
|
+
panel's own `hidden-until-found` wins for that panel. */
|
|
16604
|
+
"hidden-until-found"?: HelixHeadlessTabs["hiddenUntilFound"] | undefined;
|
|
16605
|
+
/** Whether find in page searches the panels whose tabs are not selected, and selects the tab on a match. On by default. */
|
|
16606
|
+
"hiddenUntilFound"?: HelixHeadlessTabs["hiddenUntilFound"] | undefined;
|
|
16342
16607
|
/** The tab list's name, read by screen readers.
|
|
16343
16608
|
|
|
16344
16609
|
An `aria-label` or `aria-labelledby` on the host names the tab list too,
|
|
@@ -19470,6 +19735,8 @@ export type CustomCssProperties = {
|
|
|
19470
19735
|
"--color-picker-swatch"?: string | undefined;
|
|
19471
19736
|
/** The alignment of the cell's column: `start`, `center`, or `end`. Unset when the column sets none. The component writes it on each cell it draws, and the stylesheet reads it. `Table` sets `--table-cell-align` for the same purpose. */
|
|
19472
19737
|
"--data-table-cell-align"?: string | undefined;
|
|
19738
|
+
/** Where a cell's content sits from top to bottom in a row taller than it: `start`, `center` or `end`. `center` by default. Set it on the table, or on a row through `::part(row)`; a column's `vertical-align` writes it on each of that column's cells, and wins. */
|
|
19739
|
+
"--data-table-cell-block-align"?: string | undefined;
|
|
19473
19740
|
/** How deep a row is in a tree grid, from 1. The component writes it on each row header cell, and the stylesheet indents by it. */
|
|
19474
19741
|
"--data-table-level"?: string | undefined;
|
|
19475
19742
|
/** The column track list, worked out from the columns. The component writes it inline on the element that reads it, so setting it has no effect. Set a column's `width` to change it. */
|
|
@@ -19584,6 +19851,8 @@ export type CustomCssProperties = {
|
|
|
19584
19851
|
"--log-digits"?: string | undefined;
|
|
19585
19852
|
/** How far the needle turns to point north, as an angle. The frame writes it from `bearing`. */
|
|
19586
19853
|
"--map-needle-turn"?: string | undefined;
|
|
19854
|
+
/** How far the card keeps from the window's edge, which is as far as the row it sits in starts from it, between 8 and 32 pixels. Written on the card while it is placed, and read there. */
|
|
19855
|
+
"--megamenu-edge"?: string | undefined;
|
|
19587
19856
|
/** The height of the panel this one took over from, written on the surface while it is open. */
|
|
19588
19857
|
"--megamenu-from-block-size"?: string | undefined;
|
|
19589
19858
|
/** The width of the panel this one took over from, written on the surface while it is open. */
|
|
@@ -19650,7 +19919,8 @@ export type CustomCssProperties = {
|
|
|
19650
19919
|
"--slider-marker-at"?: string | undefined;
|
|
19651
19920
|
/** Where the filled span ends, as a fraction of the track, 0 to 1: a range's upper thumb, or the farther of a single thumb and its `origin`. */
|
|
19652
19921
|
"--slider-to"?: string | undefined;
|
|
19653
|
-
|
|
19922
|
+
/** How far a bar's face turns from the light, from 0 for its top. The component writes it on each face, and the stylesheet that shades the face reads it. */
|
|
19923
|
+
"--spatial-bar-chart-shade"?: string | undefined;
|
|
19654
19924
|
/** The color of a bar whose cell says `data-tone="accent"`. */
|
|
19655
19925
|
"--spatial-bar-chart-tone-accent"?: string | undefined;
|
|
19656
19926
|
/** The color of a bar whose cell says `data-tone="danger"`. */
|
|
@@ -19956,8 +20226,10 @@ export interface HelixVueGlobalComponents {
|
|
|
19956
20226
|
* compare the parts with each other; the scale then fits the largest part
|
|
19957
20227
|
* rather than the total.
|
|
19958
20228
|
*
|
|
19959
|
-
*
|
|
19960
|
-
*
|
|
20229
|
+
* The scale's numbers stand beside the plot, at the levels the gridlines
|
|
20230
|
+
* rule: amounts in `locale`, or percentages under `share`. The top of the
|
|
20231
|
+
* scale is a level above the highest total. `value-axis="none"` and
|
|
20232
|
+
* `gridlines="none"` take them away, for bands read as a composition.
|
|
19961
20233
|
*
|
|
19962
20234
|
* The drawing is hidden from screen readers. The text summary gives the latest
|
|
19963
20235
|
* reading's total and each part's share of it, and the table beside the chart
|
|
@@ -19986,6 +20258,9 @@ export interface HelixVueGlobalComponents {
|
|
|
19986
20258
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
19987
20259
|
* there until readings arrive. The `empty` and `loading` slots take markup in
|
|
19988
20260
|
* their place, such as a link to add the first reading.
|
|
20261
|
+
* When the readings did not load, set `error-text`, such as "The visits did
|
|
20262
|
+
* not load": it stands in the plot in place of both, and the `error` slot
|
|
20263
|
+
* takes a button that tries again, shown after the words.
|
|
19989
20264
|
*
|
|
19990
20265
|
* **Keyboard.** The plot is one tab stop.
|
|
19991
20266
|
*
|
|
@@ -20080,6 +20355,11 @@ export interface HelixVueGlobalComponents {
|
|
|
20080
20355
|
* because a bar's length is its value. To show the differences between values,
|
|
20081
20356
|
* use a line chart.
|
|
20082
20357
|
*
|
|
20358
|
+
* The scale's numbers stand beside the columns, at the levels the gridlines
|
|
20359
|
+
* rule, and the top of the scale is a level above the highest reading.
|
|
20360
|
+
* `value-axis="none"` and `gridlines="none"` take them away, for columns
|
|
20361
|
+
* compared with each other at a glance.
|
|
20362
|
+
*
|
|
20083
20363
|
* The labels are HTML beside the drawing. An `<svg>` that fills its box scales
|
|
20084
20364
|
* the text inside it: the same `font-size` renders at 10px in a narrow chart
|
|
20085
20365
|
* and 43px in a wide one, and SVG has no setting that keeps text at one size
|
|
@@ -20128,6 +20408,9 @@ export interface HelixVueGlobalComponents {
|
|
|
20128
20408
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
20129
20409
|
* there until readings arrive. The `empty` and `loading` slots take markup in
|
|
20130
20410
|
* their place, such as a link to add the first reading.
|
|
20411
|
+
* When the readings did not load, set `error-text`, such as "The visits did
|
|
20412
|
+
* not load": it stands in the plot in place of both, and the `error` slot
|
|
20413
|
+
* takes a button that tries again, shown after the words.
|
|
20131
20414
|
*
|
|
20132
20415
|
* **Keyboard.** The plot is one tab stop.
|
|
20133
20416
|
*
|
|
@@ -21230,7 +21513,10 @@ export interface HelixVueGlobalComponents {
|
|
|
21230
21513
|
* **Keyboard.** Focus goes to the filter field as the palette opens, with no
|
|
21231
21514
|
* command highlighted, as in React Aria's Autocomplete, so Enter runs nothing
|
|
21232
21515
|
* until you type or press Down. Typing highlights the first command left, and
|
|
21233
|
-
* the highlight moves through the commands while you type.
|
|
21516
|
+
* the highlight moves through the commands while you type. Emptying the filter
|
|
21517
|
+
* puts the list back as it opened, with no command highlighted and the list at
|
|
21518
|
+
* its top. Escape clears the filter before it closes the palette, so a hint
|
|
21519
|
+
* for Escape in the `footer` slot says Clear while the filter holds text.
|
|
21234
21520
|
*
|
|
21235
21521
|
* | Key | What it does |
|
|
21236
21522
|
* |---|---|
|
|
@@ -21408,9 +21694,10 @@ export interface HelixVueGlobalComponents {
|
|
|
21408
21694
|
* next rows to `rows`, and set `loading` while they are on their way.
|
|
21409
21695
|
*
|
|
21410
21696
|
* When a fetch fails, set `error-text`, such as "The files did not load", and
|
|
21411
|
-
* put a button that tries again in the `error` slot. The line shows
|
|
21412
|
-
* rows in place of the empty and loading lines,
|
|
21413
|
-
* the table takes the `error` state. Clear it
|
|
21697
|
+
* put a button that tries again in the `error` slot. The line shows the words
|
|
21698
|
+
* and then the button, after the rows in place of the empty and loading lines,
|
|
21699
|
+
* the live region says it, and the table takes the `error` state. Clear it
|
|
21700
|
+
* once you try again.
|
|
21414
21701
|
*
|
|
21415
21702
|
* The controls inside the cells leave the tab order, so Tab moves past the
|
|
21416
21703
|
* whole grid. A windowed table keeps the row holding focus drawn while the
|
|
@@ -21717,8 +22004,10 @@ export interface HelixVueGlobalComponents {
|
|
|
21717
22004
|
*
|
|
21718
22005
|
* Set `alert` for a dialog that interrupts to ask for an answer, such as a
|
|
21719
22006
|
* confirmation before a deletion. It is an `alertdialog`, which a screen reader
|
|
21720
|
-
* announces with its description as it opens.
|
|
21721
|
-
*
|
|
22007
|
+
* announces with its description as it opens. Put the action that dismisses
|
|
22008
|
+
* first in the footer, with `autofocus`, so focus starts on the action that
|
|
22009
|
+
* destroys nothing. Set
|
|
22010
|
+
* `dismissible` to draw a close control, labeled by `dismiss-label`.
|
|
21722
22011
|
*
|
|
21723
22012
|
* **Keyboard.** Opening moves focus to the first control in the dialog.
|
|
21724
22013
|
*
|
|
@@ -21786,6 +22075,9 @@ export interface HelixVueGlobalComponents {
|
|
|
21786
22075
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
21787
22076
|
* there until readings arrive. The `empty` and `loading` slots take markup in
|
|
21788
22077
|
* their place.
|
|
22078
|
+
* When the readings did not load, set `error-text`, such as "The visits did
|
|
22079
|
+
* not load": it stands in the plot in place of both, and the `error` slot
|
|
22080
|
+
* takes a button that tries again, shown after the words.
|
|
21789
22081
|
*
|
|
21790
22082
|
* **Keyboard.** The plot is one tab stop.
|
|
21791
22083
|
*
|
|
@@ -21846,7 +22138,10 @@ export interface HelixVueGlobalComponents {
|
|
|
21846
22138
|
* is: the elements in the default slot before the first one that is or holds
|
|
21847
22139
|
* a control. An `aria-describedby` on the host replaces it.
|
|
21848
22140
|
*
|
|
21849
|
-
* **Keyboard.** Opening moves focus to the
|
|
22141
|
+
* **Keyboard.** Opening a modal drawer moves focus to the control marked
|
|
22142
|
+
* `autofocus`, or else to the control that closes it: a slotted one whose
|
|
22143
|
+
* `command` closes this drawer, such as a Close or Cancel button, and else
|
|
22144
|
+
* the close control `dismissible` draws.
|
|
21850
22145
|
*
|
|
21851
22146
|
* | Key | What it does |
|
|
21852
22147
|
* |---|---|
|
|
@@ -22554,9 +22849,9 @@ export interface HelixVueGlobalComponents {
|
|
|
22554
22849
|
* Space, each with the row of the table in `index`.
|
|
22555
22850
|
*
|
|
22556
22851
|
* **Nothing to draw.** A table with no readings shows `empty-text`, "No
|
|
22557
|
-
* readings",
|
|
22558
|
-
* readings arrive. The `empty` and `loading` slots take markup in place
|
|
22559
|
-
* either, as on every chart.
|
|
22852
|
+
* readings", in place of the cells, and `loading` shows `loading-text` there
|
|
22853
|
+
* until readings arrive. The `empty` and `loading` slots take markup in place
|
|
22854
|
+
* of either, as on every chart.
|
|
22560
22855
|
*
|
|
22561
22856
|
* **Keyboard.** The strip is one tab stop once it has cells.
|
|
22562
22857
|
*
|
|
@@ -22866,8 +23161,10 @@ export interface HelixVueGlobalComponents {
|
|
|
22866
23161
|
* `<svg>` that fills its box scales with the box, so the same `font-size` can
|
|
22867
23162
|
* render at 10px in a narrow chart and 43px in a wide one.
|
|
22868
23163
|
*
|
|
22869
|
-
*
|
|
22870
|
-
*
|
|
23164
|
+
* The scale's numbers stand beside the plot, written in `locale`, at the
|
|
23165
|
+
* levels the gridlines rule, and the top of the scale is a level above the
|
|
23166
|
+
* highest reading. `value-axis="none"` and `gridlines="none"` take them away,
|
|
23167
|
+
* for a chart read for its shape.
|
|
22871
23168
|
*
|
|
22872
23169
|
* The table is the accessible representation, and the drawing is hidden from
|
|
22873
23170
|
* screen readers, who get the numbers. The `summary` part names the chart, from
|
|
@@ -22893,6 +23190,9 @@ export interface HelixVueGlobalComponents {
|
|
|
22893
23190
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
22894
23191
|
* there until readings arrive. The `empty` and `loading` slots take markup in
|
|
22895
23192
|
* their place, such as a link to add the first reading.
|
|
23193
|
+
* When the readings did not load, set `error-text`, such as "The visits did
|
|
23194
|
+
* not load": it stands in the plot in place of both, and the `error` slot
|
|
23195
|
+
* takes a button that tries again, shown after the words.
|
|
22896
23196
|
*
|
|
22897
23197
|
* **Keyboard.** The plot is one tab stop.
|
|
22898
23198
|
*
|
|
@@ -23009,18 +23309,18 @@ export interface HelixVueGlobalComponents {
|
|
|
23009
23309
|
* no `start` counts down from the number of rows, which a server cannot know,
|
|
23010
23310
|
* so served markup counts from one until the list runs.
|
|
23011
23311
|
*
|
|
23012
|
-
* **An empty list.**
|
|
23013
|
-
*
|
|
23014
|
-
*
|
|
23015
|
-
*
|
|
23016
|
-
* shows.
|
|
23312
|
+
* **An empty list.** A list with no rows and none loading shows a row that
|
|
23313
|
+
* says "Nothing to show", the words every collection uses. Set `empty-text`,
|
|
23314
|
+
* or put your own content in the `empty` slot, to say more, such as "No files
|
|
23315
|
+
* yet" and a link to add one. An empty `empty-text` shows no row. The list
|
|
23316
|
+
* takes the `empty` state while it has no rows, whatever it shows.
|
|
23017
23317
|
*
|
|
23018
23318
|
* **Loading more.** `load-more` sends `helix-load-more` once the end of the
|
|
23019
23319
|
* list comes within a screen of view, in the box that scrolls it or the page,
|
|
23020
23320
|
* once for each number of rows: add rows and it can send it again. While you
|
|
23021
23321
|
* fetch, set `loading`: the list is busy, and a row after the last says
|
|
23022
|
-
* "Loading
|
|
23023
|
-
*
|
|
23322
|
+
* "Loading" (`loading-text`, or your own content in the `loading` slot). The
|
|
23323
|
+
* list asks for nothing while `loading` is set.
|
|
23024
23324
|
*
|
|
23025
23325
|
* An interactive list with no name is reported once in a development build,
|
|
23026
23326
|
* since a screen reader announces it as a grid and nothing more. Name it with
|
|
@@ -23076,7 +23376,7 @@ export interface HelixVueGlobalComponents {
|
|
|
23076
23376
|
*
|
|
23077
23377
|
* As a filter narrows the list, a screen reader hears how many options are
|
|
23078
23378
|
* left, such as "3 results", from `result-label` and `results-label`. A filter
|
|
23079
|
-
* that leaves none says `
|
|
23379
|
+
* that leaves none says `no-results-text`.
|
|
23080
23380
|
*
|
|
23081
23381
|
* **Moving options** is a separate import, `@fusion.dev/helix/listbox/reorder`,
|
|
23082
23382
|
* so a list that never moves options carries none of its code. With it
|
|
@@ -24577,6 +24877,9 @@ export interface HelixVueGlobalComponents {
|
|
|
24577
24877
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
24578
24878
|
* there until readings arrive. The `empty` and `loading` slots take markup in
|
|
24579
24879
|
* their place, such as a link to add the first reading.
|
|
24880
|
+
* When the readings did not load, set `error-text`, such as "The visits did
|
|
24881
|
+
* not load": it stands in the plot in place of both, and the `error` slot
|
|
24882
|
+
* takes a button that tries again, shown after the words.
|
|
24580
24883
|
*
|
|
24581
24884
|
* **Keyboard.** The plot is one tab stop.
|
|
24582
24885
|
*
|
|
@@ -24863,6 +25166,11 @@ export interface HelixVueGlobalComponents {
|
|
|
24863
25166
|
* such as a normal range. A blank cell in a `for` table is a gap in the line,
|
|
24864
25167
|
* and a reading alone between two blanks is a `lone` mark.
|
|
24865
25168
|
*
|
|
25169
|
+
* **Nothing to draw.** With no readings it shows `empty-text`, "No readings",
|
|
25170
|
+
* in place of the line, and `loading` shows `loading-text` there until
|
|
25171
|
+
* readings arrive, as on every chart. The `empty` and `loading` slots take
|
|
25172
|
+
* markup in place of either.
|
|
25173
|
+
*
|
|
24866
25174
|
* Place it beside a `Stat`, because a change beside a figure is a second fact,
|
|
24867
25175
|
* as `Stat`'s own spec says. `Trend` is composed the same way.
|
|
24868
25176
|
*
|
|
@@ -25390,6 +25698,12 @@ export interface HelixVueGlobalComponents {
|
|
|
25390
25698
|
* a server writes it as the browser does. A number in `value` takes the place
|
|
25391
25699
|
* of a slotted figure.
|
|
25392
25700
|
*
|
|
25701
|
+
* **A figure too wide for its column breaks after a group separator**, slotted
|
|
25702
|
+
* or written from `value`, so "$1,284,567" breaks as "$1,284," over "567" and
|
|
25703
|
+
* never between two digits. A slotted figure that is text alone is written by
|
|
25704
|
+
* the stat with those breaks, and the slot is hidden while it is. A figure
|
|
25705
|
+
* holding an element is shown as it is.
|
|
25706
|
+
*
|
|
25393
25707
|
* **Each slot is a part of the same name**, and `value` for the figure, so a
|
|
25394
25708
|
* page reaches the label, the unit and the trend from outside. A slot draws no
|
|
25395
25709
|
* box, so a part passes inherited properties to what is slotted. **The stat
|
|
@@ -25709,8 +26023,9 @@ export interface HelixVueGlobalComponents {
|
|
|
25709
26023
|
*
|
|
25710
26024
|
* When the rows did not load, set `error-text`, such as "The orders did not
|
|
25711
26025
|
* load", and put a button that tries again in the `error` slot. The line shows
|
|
25712
|
-
* after the rows in place of the empty and
|
|
25713
|
-
* it, and the table takes the `error`
|
|
26026
|
+
* the words and then the button, after the rows in place of the empty and
|
|
26027
|
+
* loading lines, the live region says it, and the table takes the `error`
|
|
26028
|
+
* state. Clear it once you try again.
|
|
25714
26029
|
*
|
|
25715
26030
|
* The CSS custom properties listed for this component are written by it and
|
|
25716
26031
|
* read by the stylesheet that draws it. Do not set them. Each holds a number
|
|
@@ -25754,6 +26069,15 @@ export interface HelixVueGlobalComponents {
|
|
|
25754
26069
|
* still there when the person comes back, and the content of every panel is in
|
|
25755
26070
|
* the server-rendered markup for crawlers, whichever tab is open.
|
|
25756
26071
|
*
|
|
26072
|
+
* The browser's find in page searches an inactive panel, and a match selects
|
|
26073
|
+
* its tab, with `helix-before-activate` first, as a match in a closed
|
|
26074
|
+
* accordion section opens it. An inactive panel is `hidden="until-found"`,
|
|
26075
|
+
* which hides it with no stylesheet loaded and keeps it out of the tab order
|
|
26076
|
+
* and the accessibility tree. Set `hidden-until-found="false"` on the panel,
|
|
26077
|
+
* or on the tabs for every panel, and an inactive panel is `hidden` instead,
|
|
26078
|
+
* and find in page skips it. A `lazy` panel that has not been shown holds only
|
|
26079
|
+
* its template, so there is nothing in it to find.
|
|
26080
|
+
*
|
|
25757
26081
|
* The host is the `tabpanel` while its tab is selected, through
|
|
25758
26082
|
* `ElementInternals`, so the tab's `aria-controls` can reach it from the tab's
|
|
25759
26083
|
* shadow root. The box inside is a tab stop only while the panel holds nothing
|
|
@@ -26171,8 +26495,8 @@ export interface HelixVueGlobalComponents {
|
|
|
26171
26495
|
* and the layout only moves where they are drawn.
|
|
26172
26496
|
*
|
|
26173
26497
|
* **A feed that loads more entries sets `loading` while it fetches.** The
|
|
26174
|
-
* timeline is busy, and an entry after the last says "Loading
|
|
26175
|
-
* (`loading-text`, or your own content in the `loading` slot). Put a button
|
|
26498
|
+
* timeline is busy, and an entry after the last says "Loading", the word every
|
|
26499
|
+
* collection uses (`loading-text`, or your own content in the `loading` slot). Put a button
|
|
26176
26500
|
* that asks for more after the timeline, and move focus to the first new
|
|
26177
26501
|
* entry when they arrive.
|
|
26178
26502
|
*/
|
|
@@ -26254,12 +26578,15 @@ export interface HelixVueGlobalComponents {
|
|
|
26254
26578
|
*
|
|
26255
26579
|
* **The stack is in the top layer.** The `region` part is a `popover="manual"`
|
|
26256
26580
|
* shown while a message is showing, and shown again above a modal dialog that
|
|
26257
|
-
* opened after it
|
|
26258
|
-
*
|
|
26259
|
-
*
|
|
26260
|
-
*
|
|
26261
|
-
*
|
|
26262
|
-
*
|
|
26581
|
+
* opened after it, and above a modal `Dialog`, `Drawer` or `Lightbox` that
|
|
26582
|
+
* opened while it showed. Position the `region` part, which is the box in the
|
|
26583
|
+
* top layer. While a modal is open, the browser makes everything outside it
|
|
26584
|
+
* inert, the stack included, so a message stays visible and its actions cannot
|
|
26585
|
+
* be pressed, and a press on a message reaches nothing under it. The stack
|
|
26586
|
+
* moves off the modal's surface, above, below or beside it by its own inset,
|
|
26587
|
+
* and is hidden while the window has no room outside the surface. Where the
|
|
26588
|
+
* browser has `ariaNotify`, a message that arrives then is announced through
|
|
26589
|
+
* it. For a message with an action, render a second region inside the dialog.
|
|
26263
26590
|
*
|
|
26264
26591
|
* When a message with focus inside it is dismissed, focus moves to the next
|
|
26265
26592
|
* message, then the one before it, then back to where it was before it entered
|
|
@@ -26995,8 +27322,8 @@ export interface HelixVueGlobalComponents {
|
|
|
26995
27322
|
* and `range` holds them. `helix-load-more` fires once a reader is within one
|
|
26996
27323
|
* screen of the end, once for each length of the set: add to `items` and it can
|
|
26997
27324
|
* fire again. While you fetch, set `loading`: the list is busy, and a row after
|
|
26998
|
-
* the last item says "Loading
|
|
26999
|
-
* the `loading` slot). `scrollToIndex` takes a reader to an item.
|
|
27325
|
+
* the last item says "Loading", the word every collection uses (`loading-text`,
|
|
27326
|
+
* or your own content in the `loading` slot). `scrollToIndex` takes a reader to an item.
|
|
27000
27327
|
*
|
|
27001
27328
|
* **Moving items** is a separate import, `@fusion.dev/helix/virtual-list/reorder`,
|
|
27002
27329
|
* as React Aria's drag and drop is. With it imported, `reorderable` lets a
|