@fusion.dev/helix-headless 0.247.1 → 0.248.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/accordion/root/accordion-root.d.ts +10 -1
- package/dist/announcement/root/announcement-root.d.ts +8 -7
- package/dist/app-header/root/app-header-root.d.ts +12 -8
- package/dist/area-chart/root/area-chart-root.d.ts +12 -4
- package/dist/avatar/root/avatar-root.d.ts +3 -0
- package/dist/badge/root/badge-root.d.ts +2 -6
- package/dist/bar-chart/root/bar-chart-root.d.ts +10 -2
- package/dist/blockquote/root/blockquote-root.d.ts +7 -4
- package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +9 -3
- package/dist/button/root/button-root.d.ts +7 -8
- package/dist/button-group/root/button-group-root.d.ts +7 -3
- package/dist/callout/root/callout-root.d.ts +5 -2
- package/dist/canvas/root/canvas-root.d.ts +8 -7
- package/dist/card/root/card-root.d.ts +4 -0
- package/dist/carousel/root/carousel-root.d.ts +11 -3
- package/dist/chat/root/chat-root.d.ts +15 -16
- package/dist/checkbox/root/checkbox-root.d.ts +6 -3
- package/dist/checkbox-group/root/checkbox-group-root.d.ts +12 -8
- package/dist/code/root/code-root.d.ts +6 -3
- package/dist/code-block/root/code-block-root.d.ts +14 -7
- package/dist/code-editor/root/code-editor-root.d.ts +17 -6
- package/dist/code-input/root/code-input-root.d.ts +10 -5
- package/dist/color-input/root/color-input-root.d.ts +7 -0
- package/dist/color-picker/root/color-picker-root.d.ts +6 -0
- package/dist/column-manager/root/column-manager-root.d.ts +12 -4
- package/dist/combobox/root/combobox-root.d.ts +6 -12
- package/dist/command/root/command-root.d.ts +13 -8
- package/dist/copy-button/root/copy-button-root.d.ts +8 -3
- package/dist/data-table/root/data-table-root.d.ts +18 -14
- package/dist/date-input/root/date-input-root.d.ts +8 -0
- package/dist/date-picker/root/date-picker-root.d.ts +11 -7
- package/dist/description-list/root/description-list-root.d.ts +6 -0
- package/dist/device-screen/root/device-screen-root.d.ts +13 -8
- package/dist/dialog/root/dialog-root.d.ts +6 -4
- package/dist/divider/root/divider-root.d.ts +6 -4
- package/dist/donut-chart/root/donut-chart-root.d.ts +8 -6
- package/dist/drawer/root/drawer-root.d.ts +8 -10
- package/dist/drilldown/root/drilldown-root.d.ts +11 -6
- package/dist/editor/root/editor-root.d.ts +11 -2
- package/dist/empty/root/empty-root.d.ts +6 -4
- package/dist/file-input/root/file-input-root.d.ts +5 -0
- package/dist/filter-input/root/filter-input-root.d.ts +20 -28
- package/dist/find/root/find-root.d.ts +9 -0
- package/dist/format-date/root/format-date-root.d.ts +9 -4
- package/dist/graph/root/graph-root.d.ts +10 -4
- package/dist/heatmap/root/heatmap-root.d.ts +10 -3
- package/dist/hover-card/root/hover-card-root.d.ts +8 -6
- package/dist/icon/root/icon-root.d.ts +7 -3
- package/dist/icon-button/root/icon-button-root.d.ts +4 -0
- package/dist/image/root/image-root.d.ts +4 -0
- package/dist/input/root/input-root.d.ts +9 -2
- package/dist/kbd/root/kbd-root.d.ts +7 -11
- package/dist/legend/root/legend-root.d.ts +10 -7
- package/dist/lightbox/root/lightbox-root.d.ts +15 -8
- package/dist/line-chart/root/line-chart-root.d.ts +12 -7
- package/dist/list/root/list-root.d.ts +16 -11
- package/dist/listbox/root/listbox-root.d.ts +10 -17
- package/dist/loader/root/loader-root.d.ts +12 -8
- package/dist/log/root/log-root.d.ts +11 -3
- package/dist/map/root/map-root.d.ts +11 -6
- package/dist/markdown/root/markdown-root.d.ts +12 -8
- package/dist/megamenu/root/megamenu-root.d.ts +6 -3
- package/dist/menu/root/menu-root.d.ts +14 -21
- package/dist/meter/root/meter-root.d.ts +14 -7
- package/dist/motion-toggle/root/motion-toggle-root.d.ts +5 -0
- package/dist/navigation/root/navigation-root.d.ts +9 -3
- package/dist/notifications/root/notifications-root.d.ts +9 -8
- package/dist/number-input/root/number-input-root.d.ts +6 -1
- package/dist/object-inspector/root/object-inspector-root.d.ts +13 -5
- package/dist/option/root/option-root.d.ts +10 -5
- package/dist/outline/root/outline-root.d.ts +6 -3
- package/dist/pagination/root/pagination-root.d.ts +9 -6
- package/dist/pin-input/root/pin-input-root.d.ts +6 -0
- package/dist/popover/root/popover-root.d.ts +11 -8
- package/dist/progress/root/progress-root.d.ts +12 -7
- package/dist/qr-code/root/qr-code-root.d.ts +6 -2
- package/dist/quick-filters/root/quick-filters-root.d.ts +10 -5
- package/dist/quote/root/quote-root.d.ts +5 -5
- package/dist/radio/root/radio-root.d.ts +6 -3
- package/dist/rating/root/rating-root.d.ts +10 -5
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +13 -7
- package/dist/scroll-area/root/scroll-area-root.d.ts +3 -0
- package/dist/select/root/select-root.d.ts +8 -15
- package/dist/selection-bar/root/selection-bar-root.d.ts +11 -6
- package/dist/shortcut-overlay/root/shortcut-overlay-root.d.ts +9 -7
- package/dist/skeleton/root/skeleton-root.d.ts +8 -9
- package/dist/skip-link/root/skip-link-root.d.ts +2 -0
- package/dist/slider/root/slider-root.d.ts +13 -7
- package/dist/sparkline/root/sparkline-root.d.ts +8 -10
- package/dist/spatial-bar-chart/root/spatial-bar-chart-root.d.ts +6 -0
- package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +7 -0
- package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.d.ts +6 -0
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +7 -0
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +7 -0
- package/dist/spatial-treemap/root/spatial-treemap-root.d.ts +6 -0
- package/dist/speed-dial/root/speed-dial-root.d.ts +12 -4
- package/dist/splitter/root/splitter-root.d.ts +16 -13
- package/dist/stat/root/stat-root.d.ts +13 -7
- package/dist/steps/root/steps-root.d.ts +5 -3
- package/dist/switch/root/switch-root.d.ts +6 -1
- package/dist/table/root/table-root.d.ts +13 -8
- package/dist/table-export/root/table-export-root.d.ts +10 -2
- package/dist/tabs/root/tabs-root.d.ts +10 -2
- package/dist/tag/root/tag-root.d.ts +3 -3
- package/dist/terminal/root/terminal-root.d.ts +12 -5
- package/dist/textarea/root/textarea-root.d.ts +7 -0
- package/dist/theme-toggle/root/theme-toggle-root.d.ts +8 -3
- package/dist/time-input/root/time-input-root.d.ts +10 -4
- package/dist/time-picker/root/time-picker-root.d.ts +12 -9
- package/dist/timeline/root/timeline-root.d.ts +18 -10
- package/dist/toast/root/toast-root.d.ts +14 -14
- package/dist/toggle/root/toggle-root.d.ts +3 -0
- package/dist/toolbar/root/toolbar-root.d.ts +4 -0
- package/dist/tooltip/root/tooltip-root.d.ts +5 -5
- package/dist/tour/root/tour-root.d.ts +10 -3
- package/dist/tree/root/tree-root.d.ts +9 -2
- package/dist/trend/root/trend-root.d.ts +10 -5
- package/dist/video/root/video-root.d.ts +12 -9
- package/dist/video-playlist/root/video-playlist-root.d.ts +10 -5
- package/dist/view-panel/root/view-panel-root.d.ts +13 -7
- package/dist/virtual-list/root/virtual-list-root.d.ts +12 -7
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +266 -623
- package/types/vue.d.ts +267 -624
package/types/vue.d.ts
CHANGED
|
@@ -20858,7 +20858,7 @@ export interface HelixVueGlobalComponents {
|
|
|
20858
20858
|
* Each trigger is a button with `aria-expanded` and `aria-controls`, inside a
|
|
20859
20859
|
* heading, level 3 unless `heading-level` says otherwise, so the sections are
|
|
20860
20860
|
* in a screen reader's list of headings. An open section is a region named by
|
|
20861
|
-
* its trigger.
|
|
20861
|
+
* its trigger.
|
|
20862
20862
|
*
|
|
20863
20863
|
* Find in page searches the closed sections too, and opens the one it matches
|
|
20864
20864
|
* in. `hidden-until-found="false"` turns that off.
|
|
@@ -20881,8 +20881,7 @@ export interface HelixVueGlobalComponents {
|
|
|
20881
20881
|
* readers, so it is in the page once. When the announcement is in the served
|
|
20882
20882
|
* HTML, the region stays empty and nothing is read out.
|
|
20883
20883
|
*
|
|
20884
|
-
* The dismiss button fires `helix-dismiss
|
|
20885
|
-
* document, so remove it in your listener. The event is cancelable, and
|
|
20884
|
+
* The dismiss button fires `helix-dismiss`. The event is cancelable, and
|
|
20886
20885
|
* `dismiss()` returns `false` when a listener calls `preventDefault()`. When
|
|
20887
20886
|
* your listener removes an announcement whose dismiss button has focus, focus
|
|
20888
20887
|
* moves to the dismiss button of the announcement beside it. With no other
|
|
@@ -20898,11 +20897,9 @@ export interface HelixVueGlobalComponents {
|
|
|
20898
20897
|
* the key moved focus into is removed with focus still inside, focus goes
|
|
20899
20898
|
* back to where it was before the key.
|
|
20900
20899
|
*
|
|
20901
|
-
*
|
|
20902
|
-
*
|
|
20903
|
-
*
|
|
20904
|
-
* read out, and its `duration` starts. While it waits it renders nothing,
|
|
20905
|
-
* is no region, and carries `:state(waiting)`. A server cannot see the
|
|
20900
|
+
* When a queued announcement shows, its message is read out, and its
|
|
20901
|
+
* `duration` starts. While it waits it renders nothing, is no region, and
|
|
20902
|
+
* carries `:state(waiting)`. A server cannot see the
|
|
20906
20903
|
* announcements beside it, so a served page shows every one until the script
|
|
20907
20904
|
* runs.
|
|
20908
20905
|
*
|
|
@@ -20928,19 +20925,14 @@ export interface HelixVueGlobalComponents {
|
|
|
20928
20925
|
* `ElementInternals.states` is not in the DOM, so hydration has nothing to
|
|
20929
20926
|
* compare. Select the state with `:state(scrolled)`.
|
|
20930
20927
|
*
|
|
20931
|
-
* The page is the window unless `scroller` names the element that scrolls, for
|
|
20932
|
-
* an app shell whose content scrolls inside a container.
|
|
20933
|
-
*
|
|
20934
20928
|
* **Set `hide-on-scroll` for a bar that moves out of the way.** Scrolling down
|
|
20935
20929
|
* past the bar's own height hides it, and scrolling up shows it again, as does
|
|
20936
20930
|
* focus moving into it. The custom state `hidden` is on the host while it is
|
|
20937
20931
|
* hidden, and the styled tier slides a `sticky` bar up out of view.
|
|
20938
20932
|
*
|
|
20939
|
-
*
|
|
20940
|
-
*
|
|
20941
|
-
*
|
|
20942
|
-
* `toggle-placement="start"`. The toggle says whether the region is open with
|
|
20943
|
-
* `aria-expanded`, and the region opens below the row. The region follows the
|
|
20933
|
+
* The toggle that holds a folded middle region is at the end of the bar, named
|
|
20934
|
+
* by `menu-label`, or at its start with `toggle-placement="start"`. The toggle
|
|
20935
|
+
* says whether the region is open with `aria-expanded`, and the region opens below the row. The region follows the
|
|
20944
20936
|
* toggle's region in focus order, so Tab from the toggle at the end goes into
|
|
20945
20937
|
* the open region. The custom state `folded` is on the host while the bar is
|
|
20946
20938
|
* that narrow, and `open` while the folded region is open. A server serves the
|
|
@@ -21010,8 +21002,7 @@ export interface HelixVueGlobalComponents {
|
|
|
21010
21002
|
* a reading. The tooltip follows, the `live` part says the reading in words,
|
|
21011
21003
|
* and Escape puts the tooltip away.
|
|
21012
21004
|
*
|
|
21013
|
-
*
|
|
21014
|
-
* chart reads, or it is counted twice. A negative reading is drawn as zero.
|
|
21005
|
+
* A negative reading is drawn as zero.
|
|
21015
21006
|
*
|
|
21016
21007
|
* **A tap shows the reading under it**, and keeps it until a tap lands
|
|
21017
21008
|
* elsewhere. `helix-reading-change` says each move of the reading, by pointer,
|
|
@@ -21020,8 +21011,7 @@ export interface HelixVueGlobalComponents {
|
|
|
21020
21011
|
*
|
|
21021
21012
|
* **`data` takes the readings as data** where the page has no table to point
|
|
21022
21013
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
21023
|
-
* with its label first.
|
|
21024
|
-
* show one, since it reads before any script runs.
|
|
21014
|
+
* with its label first.
|
|
21025
21015
|
*
|
|
21026
21016
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
21027
21017
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -21106,12 +21096,6 @@ export interface HelixVueGlobalComponents {
|
|
|
21106
21096
|
* count changes. A control that already has a description keeps its own. The
|
|
21107
21097
|
* count is also a status of its own, read when it changes.
|
|
21108
21098
|
*
|
|
21109
|
-
* **Put the badge inside the control to have its count read with the
|
|
21110
|
-
* control's name**, as Web Awesome and Shoelace do: `<button>Inbox
|
|
21111
|
-
* <helix-badge value="8" label="8 unread"></helix-badge></button>` is the
|
|
21112
|
-
* button "Inbox 8 unread", and stays current as the count changes. The styled
|
|
21113
|
-
* tier's `placement="inline"` draws the mark in the line for that case.
|
|
21114
|
-
*
|
|
21115
21099
|
* **An icon goes inside the mark** through the `icon` slot, before the count,
|
|
21116
21100
|
* as Web Awesome's badge takes one at its start. With no `value` the icon is
|
|
21117
21101
|
* the whole mark, such as a check on an avatar, drawn where the dot would be.
|
|
@@ -21170,8 +21154,7 @@ export interface HelixVueGlobalComponents {
|
|
|
21170
21154
|
*
|
|
21171
21155
|
* **`data` takes the readings as data** where the page has no table to point
|
|
21172
21156
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
21173
|
-
* with its label first.
|
|
21174
|
-
* show one, since it reads before any script runs.
|
|
21157
|
+
* with its label first.
|
|
21175
21158
|
*
|
|
21176
21159
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
21177
21160
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -21217,11 +21200,10 @@ export interface HelixVueGlobalComponents {
|
|
|
21217
21200
|
* the one the browser sets for a `<q>` in the element's language, „ under
|
|
21218
21201
|
* `lang="de"` and « under `lang="fr"`, and a `Quote` inside the passage takes
|
|
21219
21202
|
* the inner marks. The mark is drawn, not read: a screen reader hears the
|
|
21220
|
-
* passage. A passage under `marks` that starts with a
|
|
21221
|
-
*
|
|
21203
|
+
* passage. A passage under `marks` that starts with a typed mark warns once,
|
|
21204
|
+
* with the runtime kind `typed-marks`.
|
|
21222
21205
|
*
|
|
21223
|
-
*
|
|
21224
|
-
* Words in it, such as the author's name, warn once, with the runtime kind
|
|
21206
|
+
* Words in `cite`, such as the author's name, warn once, with the runtime kind
|
|
21225
21207
|
* `cite-not-url`.
|
|
21226
21208
|
*
|
|
21227
21209
|
* For a quotation inside a sentence, use `Quote`.
|
|
@@ -21268,9 +21250,8 @@ export interface HelixVueGlobalComponents {
|
|
|
21268
21250
|
* The trail does not measure itself, and you write its overflow in markup: put
|
|
21269
21251
|
* the crumb that holds the folded items where the gap should appear.
|
|
21270
21252
|
*
|
|
21271
|
-
*
|
|
21272
|
-
*
|
|
21273
|
-
* current page. Slotted crumbs follow them. Use one way or the other in a trail.
|
|
21253
|
+
* `items` is an array of `{ label, href }`. Slotted crumbs follow them. Use one
|
|
21254
|
+
* way or the other in a trail.
|
|
21274
21255
|
*
|
|
21275
21256
|
* With `max-items`, a trail that is longer folds its middle into one place:
|
|
21276
21257
|
* the first crumb, a button, then the last `max-items` less one. The button is
|
|
@@ -21298,9 +21279,7 @@ export interface HelixVueGlobalComponents {
|
|
|
21298
21279
|
* Buttons are slotted, so they stay your own elements and keep their own
|
|
21299
21280
|
* appearance and size.
|
|
21300
21281
|
*
|
|
21301
|
-
* **Buttons that stay pressed.**
|
|
21302
|
-
* `value` is a toggle button: a press presses or releases it. `multiple` lets
|
|
21303
|
-
* any number be pressed, and each button says so with `aria-pressed`. `single`
|
|
21282
|
+
* **Buttons that stay pressed.** `multiple` lets any number be pressed, and each button says so with `aria-pressed`. `single`
|
|
21304
21283
|
* keeps one pressed at a time: the group is a `radiogroup` and each button a
|
|
21305
21284
|
* `radio` that says so with `aria-checked`, as React Aria's toggle button
|
|
21306
21285
|
* group is. A press on the pressed one releases it, unless
|
|
@@ -21351,11 +21330,6 @@ export interface HelixVueGlobalComponents {
|
|
|
21351
21330
|
* Renders a real `<button>`, so activation, focus, and other browser behavior
|
|
21352
21331
|
* come from the platform.
|
|
21353
21332
|
*
|
|
21354
|
-
* **It never renders an anchor.** A router renders its own `<a>` to intercept a
|
|
21355
|
-
* click, and it cannot render one inside the button's shadow root. For a link
|
|
21356
|
-
* that looks like a button, use the base layer recipe on your own anchor:
|
|
21357
|
-
* `<Link data-button="solid">` draws the same control.
|
|
21358
|
-
*
|
|
21359
21333
|
* `delegatesFocus` moves focus to the inner control. It is serialized into the
|
|
21360
21334
|
* server markup, so the button is reachable by keyboard before any JavaScript
|
|
21361
21335
|
* loads.
|
|
@@ -21376,9 +21350,6 @@ export interface HelixVueGlobalComponents {
|
|
|
21376
21350
|
* button's does, so `preventDefault()` in a `click` listener cancels it: the
|
|
21377
21351
|
* form is not submitted or reset, and no command is sent.
|
|
21378
21352
|
*
|
|
21379
|
-
* Set `pending` while the action a press started is still running. The button
|
|
21380
|
-
* keeps focus and refuses presses, and a reader on it hears `pending-label`.
|
|
21381
|
-
*
|
|
21382
21353
|
* Set `focusable-when-disabled` on a disabled button whose reason a Tooltip
|
|
21383
21354
|
* gives. It stays in the tab order and takes hover, so the tooltip opens, and
|
|
21384
21355
|
* it refuses every press.
|
|
@@ -21406,8 +21377,7 @@ export interface HelixVueGlobalComponents {
|
|
|
21406
21377
|
* Set `dismissible` for a note a reader may put away, as Shoelace's `closable`
|
|
21407
21378
|
* alert does. The button fires `helix-dismiss`, and unless a listener cancels
|
|
21408
21379
|
* it the callout hides itself: `open` turns false, `:state(exiting)` holds
|
|
21409
|
-
* while its exit animations run, and then it is `hidden`.
|
|
21410
|
-
* listener to take it out of the page, or set `open` to show it again, which
|
|
21380
|
+
* while its exit animations run, and then it is `hidden`. Setting `open` again
|
|
21411
21381
|
* holds `:state(entering)` while it comes back. Focus on its dismiss button
|
|
21412
21382
|
* moves to the next callout's, or to the tab stop beside it, once it hides.
|
|
21413
21383
|
*
|
|
@@ -21480,9 +21450,7 @@ export interface HelixVueGlobalComponents {
|
|
|
21480
21450
|
* own state and apply them yourself.
|
|
21481
21451
|
* - `helix-move` once the move is finished.
|
|
21482
21452
|
*
|
|
21483
|
-
* A resize dispatches the same pair with a size.
|
|
21484
|
-
* keep every card in place, such as on a published board. Set `readonly` on one
|
|
21485
|
-
* card or connection to keep only that one in place.
|
|
21453
|
+
* A resize dispatches the same pair with a size.
|
|
21486
21454
|
*
|
|
21487
21455
|
* Set `snap` to a length in the document's units, such as `32`, and a card
|
|
21488
21456
|
* that is moved or resized lands on a multiple of it. Carrying a card, a
|
|
@@ -21554,10 +21522,6 @@ export interface HelixVueGlobalComponents {
|
|
|
21554
21522
|
* left. A focused card your page removes for its own reasons hands focus on
|
|
21555
21523
|
* the same way, unless the reader has already moved focus somewhere else.
|
|
21556
21524
|
*
|
|
21557
|
-
* The board applies a move itself, because the card already exists. A
|
|
21558
|
-
* connection is a new element, and React discards an element the board adds to
|
|
21559
|
-
* its markup on the next render, so you write the connection.
|
|
21560
|
-
*
|
|
21561
21525
|
* **`edgeRoute` draws the connections' lines your own way**: a function from
|
|
21562
21526
|
* where a line leaves and arrives, and the sides it does, to its SVG path, for
|
|
21563
21527
|
* a route such as one that bends around the cards between. What it returns
|
|
@@ -21658,9 +21622,8 @@ export interface HelixVueGlobalComponents {
|
|
|
21658
21622
|
* move by a control, an indicator, a key, or a drag, the `live` part says the
|
|
21659
21623
|
* slide's name politely. While the carousel rotates the region is off.
|
|
21660
21624
|
*
|
|
21661
|
-
* **`slides-per-move` moves several slides at a time
|
|
21662
|
-
*
|
|
21663
|
-
* indicator for each stop, and the track snaps only at the stops. The last
|
|
21625
|
+
* **`slides-per-move` moves several slides at a time**, and the track snaps
|
|
21626
|
+
* only at the stops. The last
|
|
21664
21627
|
* stop is always the end of the run, so a run that does not divide evenly
|
|
21665
21628
|
* ends on its last slides. Unset moves one slide.
|
|
21666
21629
|
*
|
|
@@ -21799,10 +21762,8 @@ export interface HelixVueGlobalComponents {
|
|
|
21799
21762
|
* there when the transcript opened. A turn is said with its author first, such
|
|
21800
21763
|
* as "Ada: It ships today" (`arrival-label`), where its author can be named.
|
|
21801
21764
|
*
|
|
21802
|
-
*
|
|
21803
|
-
*
|
|
21804
|
-
* in the console. Children render from the server and suit most
|
|
21805
|
-
* conversations. `turns` draws a long
|
|
21765
|
+
* A chat given turns both ways says so once in the console. Children render
|
|
21766
|
+
* from the server and suit most conversations. `turns` draws a long
|
|
21806
21767
|
* transcript one window at a time, so the log needs a block size of its own.
|
|
21807
21768
|
*
|
|
21808
21769
|
* The log scrolls on this tier. It carries `data-scroller`, and `core` ships
|
|
@@ -21823,18 +21784,9 @@ export interface HelixVueGlobalComponents {
|
|
|
21823
21784
|
* "Ada is typing" (`typing-label`), which a screen reader hears, and clearing
|
|
21824
21785
|
* it takes them away. Anything slotted into `status` is drawn first.
|
|
21825
21786
|
*
|
|
21826
|
-
*
|
|
21827
|
-
*
|
|
21828
|
-
*
|
|
21829
|
-
*
|
|
21830
|
-
* ```js
|
|
21831
|
-
* import '@fusion.dev/helix/chat/root'
|
|
21832
|
-
* import '@fusion.dev/helix/chat/composer'
|
|
21833
|
-
* ```
|
|
21834
|
-
*
|
|
21835
|
-
* A composer written without the second is reported once the page has loaded,
|
|
21836
|
-
* with the entry to add. The family's own entry, `@fusion.dev/helix/chat`,
|
|
21837
|
-
* registers every element.
|
|
21787
|
+
* A composer written without its own entry is reported once the page has
|
|
21788
|
+
* loaded, with the entry to add. The family's own entry,
|
|
21789
|
+
* `@fusion.dev/helix/chat`, registers every element.
|
|
21838
21790
|
*
|
|
21839
21791
|
* **Keyboard.** The transcript moves between turns the way a feed does. Each
|
|
21840
21792
|
* turn says its place, such as "3 of 40", windowed or not. The transcript is
|
|
@@ -21875,10 +21827,9 @@ export interface HelixVueGlobalComponents {
|
|
|
21875
21827
|
* names it. Without a name, screen readers announce the checkboxes as separate
|
|
21876
21828
|
* controls.
|
|
21877
21829
|
*
|
|
21878
|
-
*
|
|
21879
|
-
*
|
|
21880
|
-
* the
|
|
21881
|
-
* `name` that you write once, and one place to read and write the whole set.
|
|
21830
|
+
* Checkboxes are already form-associated, and a native group is several inputs
|
|
21831
|
+
* that share a name. The group adds the grouping and one place to read and
|
|
21832
|
+
* write the whole set.
|
|
21882
21833
|
*
|
|
21883
21834
|
* `value` is the checked values, separated by commas, in the order the
|
|
21884
21835
|
* checkboxes are written, read from the boxes themselves. Setting it checks
|
|
@@ -21894,10 +21845,6 @@ export interface HelixVueGlobalComponents {
|
|
|
21894
21845
|
* another kind inside the group, such as an "Other" text field, sends its own
|
|
21895
21846
|
* `input` and `change` past the group.
|
|
21896
21847
|
*
|
|
21897
|
-
* **The group shows the message you set in `feedback`.** It is form-associated
|
|
21898
|
-
* only for validity and never calls `setFormValue`, so the browser does not
|
|
21899
|
-
* generate a message for it.
|
|
21900
|
-
*
|
|
21901
21848
|
* **Keyboard.** Each box is its own tab stop, as a set of native checkboxes
|
|
21902
21849
|
* is, and Space checks the focused one. The select-all box comes first.
|
|
21903
21850
|
*/
|
|
@@ -21915,9 +21862,8 @@ export interface HelixVueGlobalComponents {
|
|
|
21915
21862
|
* A checked box submits its `value`, and an unchecked one submits nothing, as a
|
|
21916
21863
|
* native checkbox does.
|
|
21917
21864
|
*
|
|
21918
|
-
* `indeterminate`
|
|
21919
|
-
*
|
|
21920
|
-
* resolves it.
|
|
21865
|
+
* Assistive technology reports `indeterminate` as neither checked nor
|
|
21866
|
+
* unchecked.
|
|
21921
21867
|
*
|
|
21922
21868
|
* **Keyboard.** The box is one tab stop.
|
|
21923
21869
|
*
|
|
@@ -21946,9 +21892,8 @@ export interface HelixVueGlobalComponents {
|
|
|
21946
21892
|
* band behind each run, placed where the lines are laid out, so it follows a
|
|
21947
21893
|
* highlighter's markup and lines that wrap. `added-lines` and
|
|
21948
21894
|
* `removed-lines` mark lines the same way as inserted and deleted, as
|
|
21949
|
-
* Expressive Code's `ins` and `del` do, in code that is not a diff.
|
|
21950
|
-
*
|
|
21951
|
-
* block what a marked line means. Set `wrap` to wrap long lines
|
|
21895
|
+
* Expressive Code's `ins` and `del` do, in code that is not a diff. Set
|
|
21896
|
+
* `wrap` to wrap long lines
|
|
21952
21897
|
* rather than scroll them; a gutter then numbers each line where it starts.
|
|
21953
21898
|
* Set `wrappable` for a button in the header that turns `wrap` on and off,
|
|
21954
21899
|
* pressed while the lines wrap.
|
|
@@ -21963,10 +21908,8 @@ export interface HelixVueGlobalComponents {
|
|
|
21963
21908
|
* the slot, so the copy button and the page's own text are the code as
|
|
21964
21909
|
* written.
|
|
21965
21910
|
*
|
|
21966
|
-
* **Code Block ships no grammar**, so plain code costs you no parser.
|
|
21967
|
-
* every block on the page
|
|
21968
|
-
* with the function and, for a highlighter that writes classes, the
|
|
21969
|
-
* stylesheet that colors them. A block's own `highlight` wins over it:
|
|
21911
|
+
* **Code Block ships no grammar**, so plain code costs you no parser. Shiki,
|
|
21912
|
+
* registered for every block on the page:
|
|
21970
21913
|
*
|
|
21971
21914
|
* ```js
|
|
21972
21915
|
* import { registerHighlighter } from '@fusion.dev/helix-headless/code-block'
|
|
@@ -22036,12 +21979,12 @@ export interface HelixVueGlobalComponents {
|
|
|
22036
21979
|
/**
|
|
22037
21980
|
* A pane for working on a file: a header with its name, its language and the
|
|
22038
21981
|
* page's own actions, the code, the problems in it, and a status line that
|
|
22039
|
-
* says where the caret is.
|
|
22040
|
-
*
|
|
22041
|
-
*
|
|
22042
|
-
*
|
|
22043
|
-
*
|
|
22044
|
-
*
|
|
21982
|
+
* says where the caret is. Connect an engine and it draws the code:
|
|
21983
|
+
* `connectCodeEditor` from `@fusion.dev/helix-code-editor` connects CodeMirror,
|
|
21984
|
+
* with highlighting in your theme's syntax colors, line numbers, folding,
|
|
21985
|
+
* bracket matching and history. The value, the form, validation and the events
|
|
21986
|
+
* stay the editor's, so a page reads and writes it the same with an engine or
|
|
21987
|
+
* without one.
|
|
22045
21988
|
*
|
|
22046
21989
|
* For a few lines in a form, such as a setting in JSON, use `Code Input`,
|
|
22047
21990
|
* which needs no engine.
|
|
@@ -22080,11 +22023,8 @@ export interface HelixVueGlobalComponents {
|
|
|
22080
22023
|
* - Lines keep their length and the field scrolls sideways, unless `wrap` is
|
|
22081
22024
|
* `soft`.
|
|
22082
22025
|
*
|
|
22083
|
-
* **The colors
|
|
22084
|
-
*
|
|
22085
|
-
* `import '@fusion.dev/helix-sandbox/code-block'` registers Helix's own, or
|
|
22086
|
-
* `registerHighlighter` takes Shiki or Prism. Without one the code is drawn
|
|
22087
|
-
* plain, and `highlight` sets one for a single field.
|
|
22026
|
+
* **The colors come from a highlighter.** `registerHighlighter` takes Shiki or
|
|
22027
|
+
* Prism in place of Helix's own, and `highlight` sets one for a single field.
|
|
22088
22028
|
*
|
|
22089
22029
|
* For a whole file, with line numbers, folding, search and problems listed by
|
|
22090
22030
|
* line, use `Code Editor`. Code Input is for a few dozen lines in a form: a
|
|
@@ -22101,10 +22041,8 @@ export interface HelixVueGlobalComponents {
|
|
|
22101
22041
|
* tools and document search. A styled span carries no such meaning, and a
|
|
22102
22042
|
* screen reader announces nothing about it.
|
|
22103
22043
|
*
|
|
22104
|
-
* **Set `translate="no"` on the element to keep a page translator off the
|
|
22105
|
-
* code.** A translator that rewrites prose would also rewrite an identifier.
|
|
22106
22044
|
* The slotted text takes its translation mode from the element, its parent in
|
|
22107
|
-
* the page, and the element writes nothing onto itself, so
|
|
22045
|
+
* the page, and the element writes nothing onto itself, so `translate` is
|
|
22108
22046
|
* yours to set. The `<code>` inside carries `translate="no"` for anything the
|
|
22109
22047
|
* element draws itself.
|
|
22110
22048
|
*
|
|
@@ -22186,8 +22124,7 @@ export interface HelixVueGlobalComponents {
|
|
|
22186
22124
|
"helix-headless-color-picker": DefineCustomElement<HelixHeadlessColorPicker, HelixHeadlessColorPickerVueProps, HelixHeadlessColorPickerVueEvents>;
|
|
22187
22125
|
/**
|
|
22188
22126
|
* Set `for` to the id of a `DataTable`, and the list holds a row for each of
|
|
22189
|
-
* its columns with a `field`, in the order the table shows them.
|
|
22190
|
-
* `Popover` opened by a Columns button, or in a `Drawer` on a phone.
|
|
22127
|
+
* its columns with a `field`, in the order the table shows them.
|
|
22191
22128
|
*
|
|
22192
22129
|
* ```html
|
|
22193
22130
|
* <helix-column-manager for="invoices"></helix-column-manager>
|
|
@@ -22208,8 +22145,7 @@ export interface HelixVueGlobalComponents {
|
|
|
22208
22145
|
*
|
|
22209
22146
|
* **It writes the table's `view.columns` and nothing else.** Every change asks
|
|
22210
22147
|
* the table with `requestView`, so the table fires `helix-before-view-change`,
|
|
22211
|
-
* which you can refuse, and `helix-view-change`.
|
|
22212
|
-
* reader's columns.
|
|
22148
|
+
* which you can refuse, and `helix-view-change`.
|
|
22213
22149
|
*
|
|
22214
22150
|
* **Keyboard.** Each row's checkbox, grip and pin button are in the tab order.
|
|
22215
22151
|
*
|
|
@@ -22271,18 +22207,6 @@ export interface HelixVueGlobalComponents {
|
|
|
22271
22207
|
* next choice starts from the whole list.
|
|
22272
22208
|
*
|
|
22273
22209
|
* With `creatable`, the combobox offers a create row and fires `helix-create`.
|
|
22274
|
-
* It does not add the option. The options are your light DOM, and your
|
|
22275
|
-
* framework would re-render over an element the combobox inserted, so add the
|
|
22276
|
-
* option in your event handler.
|
|
22277
|
-
*
|
|
22278
|
-
* **The options are an import of their own.** An option is the Option family's,
|
|
22279
|
-
* which the combobox does not register, so a page that writes one imports it
|
|
22280
|
-
* beside the combobox:
|
|
22281
|
-
*
|
|
22282
|
-
* ```js
|
|
22283
|
-
* import '@fusion.dev/helix/combobox'
|
|
22284
|
-
* import '@fusion.dev/helix/option'
|
|
22285
|
-
* ```
|
|
22286
22210
|
*
|
|
22287
22211
|
* In development, a combobox holding an option nobody registered says so once
|
|
22288
22212
|
* the page has loaded, with the line to add.
|
|
@@ -22357,15 +22281,10 @@ export interface HelixVueGlobalComponents {
|
|
|
22357
22281
|
* Aria's `Autocomplete` is. The commands are a `listbox` of `option`s. How many commands typing left, the empty text and
|
|
22358
22282
|
* the loading text are said in a polite live region.
|
|
22359
22283
|
*
|
|
22360
|
-
*
|
|
22361
|
-
*
|
|
22362
|
-
* palette alone. A tier of your own registers its own option, and in
|
|
22363
|
-
* development a palette holding one nobody registered says so.
|
|
22284
|
+
* A tier of your own registers its own option, and in development a palette
|
|
22285
|
+
* holding one nobody registered says so.
|
|
22364
22286
|
*
|
|
22365
|
-
*
|
|
22366
|
-
* puts itself on the page's list while it is connected, and the palette lists
|
|
22367
|
-
* the ones a reader can reach under its own commands once they type, with
|
|
22368
|
-
* each one's shortcut. Choosing one closes the palette and presses it, or
|
|
22287
|
+
* Under `controls`, each control is listed with its shortcut. Choosing one closes the palette and presses it, or
|
|
22369
22288
|
* moves focus into a field. `unlisted` on a control, or on a region around it,
|
|
22370
22289
|
* leaves it out.
|
|
22371
22290
|
*/
|
|
@@ -22382,9 +22301,8 @@ export interface HelixVueGlobalComponents {
|
|
|
22382
22301
|
* moment a copy shows `copied-label`, draws a cross, and sends
|
|
22383
22302
|
* `helix-copy-error`.
|
|
22384
22303
|
*
|
|
22385
|
-
* `from`
|
|
22386
|
-
*
|
|
22387
|
-
* press. It takes the place of `value`.
|
|
22304
|
+
* `from` writes an attribute as `id[attribute]` and a property as
|
|
22305
|
+
* `id.property`.
|
|
22388
22306
|
*
|
|
22389
22307
|
* It replaces Button's render and its press, so it never submits a form or
|
|
22390
22308
|
* sends a command: `type`, `command`, `commandfor` and the `form*` overrides
|
|
@@ -22427,13 +22345,9 @@ export interface HelixVueGlobalComponents {
|
|
|
22427
22345
|
*
|
|
22428
22346
|
* Sort and filter apply to the whole set, including the rows on other pages.
|
|
22429
22347
|
*
|
|
22430
|
-
* **
|
|
22431
|
-
*
|
|
22432
|
-
*
|
|
22433
|
-
* Write the first page under the columns as `TableRow` and `TableCell`
|
|
22434
|
-
* elements, in the table's sort and page size and formatted as its columns draw
|
|
22435
|
-
* them. The table shows your rows until `rows` holds a row, then draws its own
|
|
22436
|
-
* in their place and leaves yours in the page, unshown. A development build
|
|
22348
|
+
* **The served first page.** Write it in the table's sort and page size and
|
|
22349
|
+
* formatted as its columns draw them. The table shows your rows until `rows`
|
|
22350
|
+
* holds a row, then draws its own in their place and leaves yours in the page, unshown. A development build
|
|
22437
22351
|
* warns when the two differ. In React, map the first page of the same array in
|
|
22438
22352
|
* the same server component.
|
|
22439
22353
|
*
|
|
@@ -22456,10 +22370,9 @@ export interface HelixVueGlobalComponents {
|
|
|
22456
22370
|
* To act on a single row, such as opening it, put a link or a button in a cell.
|
|
22457
22371
|
* `row-link` makes a press anywhere else on the row work that control.
|
|
22458
22372
|
*
|
|
22459
|
-
*
|
|
22460
|
-
* reach
|
|
22461
|
-
* `
|
|
22462
|
-
* `cellStyles`, or name an element with `part` and style it with `::part()`.
|
|
22373
|
+
* The base layer's `data-link`, `data-link-underline`, and `data-density`
|
|
22374
|
+
* reach a cell, as tokens and custom properties do. Name an element in a cell
|
|
22375
|
+
* with `part` to style it with `::part()`.
|
|
22463
22376
|
*
|
|
22464
22377
|
* `helix-before-follow` hands a press on a link in a cell to your router:
|
|
22465
22378
|
*
|
|
@@ -22623,9 +22536,7 @@ export interface HelixVueGlobalComponents {
|
|
|
22623
22536
|
* stylesheet can read the table's own attributes and not its columns', so the
|
|
22624
22537
|
* served rows are laid out at the widths the table draws.
|
|
22625
22538
|
*
|
|
22626
|
-
*
|
|
22627
|
-
* `TableColumn`, which the data table does not register, so a page that writes
|
|
22628
|
-
* one imports the Table entry beside the data table:
|
|
22539
|
+
* A page that writes columns imports both entries:
|
|
22629
22540
|
*
|
|
22630
22541
|
* ```js
|
|
22631
22542
|
* import '@fusion.dev/helix/data-table'
|
|
@@ -22699,19 +22610,12 @@ export interface HelixVueGlobalComponents {
|
|
|
22699
22610
|
* - `PageUp` and `PageDown` move by month.
|
|
22700
22611
|
* - `Home` and `End` move to the start and end of the week.
|
|
22701
22612
|
*
|
|
22702
|
-
* **Dates are `YYYY-MM-DD` strings, and every calculation is in UTC**, because
|
|
22703
|
-
* a local-time `Date` shifts across a time zone or daylight-saving boundary.
|
|
22704
|
-
*
|
|
22705
22613
|
* **The months are the ones `calendar` counts**: the Gregorian months for the
|
|
22706
22614
|
* locale's own calendar where its months are the Gregorian months, as `th-TH`
|
|
22707
22615
|
* writes 2569 for 2026, and `gregory` where they are not, as for `fa-IR`
|
|
22708
22616
|
* with no `calendar`. Name a calendar with months of its own, such as
|
|
22709
22617
|
* `persian`, and every view counts its days, months, and years from `Intl`.
|
|
22710
22618
|
*
|
|
22711
|
-
* `month` sets which month the grid shows, separately from `value`, so paging
|
|
22712
|
-
* selects nothing and you can control the view. When unset, it follows the
|
|
22713
|
-
* first selected date, then the current month.
|
|
22714
|
-
*
|
|
22715
22619
|
* `mode` sets how many dates are held. Unset holds one, `range` holds two and
|
|
22716
22620
|
* marks the dates between them, and `multiple` toggles each date. All three
|
|
22717
22621
|
* read and write the same comma-separated `value`. With a `mode`, the grid
|
|
@@ -22789,11 +22693,9 @@ export interface HelixVueGlobalComponents {
|
|
|
22789
22693
|
* or a `<canvas>` you draw decoded frames on. The frame gives the screen the
|
|
22790
22694
|
* device's shape and stretches the element to fill it.
|
|
22791
22695
|
*
|
|
22792
|
-
*
|
|
22793
|
-
*
|
|
22794
|
-
*
|
|
22795
|
-
* `width` and `height` it is measured against. Without them, the frame reads
|
|
22796
|
-
* the stream's own size in pixels.
|
|
22696
|
+
* Every point an event carries is measured against the `width` and `height`
|
|
22697
|
+
* the event carries beside it. Without `screen-width` and `screen-height`, the
|
|
22698
|
+
* frame reads the stream's own size in pixels.
|
|
22797
22699
|
*
|
|
22798
22700
|
* **Touches.** Listen in one of two ways, and not both, or the device moves
|
|
22799
22701
|
* twice:
|
|
@@ -22831,9 +22733,8 @@ export interface HelixVueGlobalComponents {
|
|
|
22831
22733
|
*
|
|
22832
22734
|
* Set `rotation` where your source sends frames in the device's natural
|
|
22833
22735
|
* orientation while the device is turned: the frame turns the picture, and
|
|
22834
|
-
* turns every point back.
|
|
22835
|
-
*
|
|
22836
|
-
* `showTap()` and `showSwipe()` mark where the agent touched it.
|
|
22736
|
+
* turns every point back. Under `readonly`, the screen is a picture, and
|
|
22737
|
+
* `showTap()` and `showSwipe()` mark where an agent touched it.
|
|
22837
22738
|
*/
|
|
22838
22739
|
"helix-headless-device-screen": DefineCustomElement<HelixHeadlessDeviceScreen, HelixHeadlessDeviceScreenVueProps, HelixHeadlessDeviceScreenVueEvents>;
|
|
22839
22740
|
/**
|
|
@@ -22868,10 +22769,8 @@ export interface HelixVueGlobalComponents {
|
|
|
22868
22769
|
*
|
|
22869
22770
|
* Set `alert` for a dialog that interrupts to ask for an answer, such as a
|
|
22870
22771
|
* confirmation before a deletion. It is an `alertdialog`, which a screen reader
|
|
22871
|
-
* announces with its description as it opens.
|
|
22872
|
-
*
|
|
22873
|
-
* destroys nothing. Set
|
|
22874
|
-
* `dismissible` to draw a close control, labeled by `dismiss-label`.
|
|
22772
|
+
* announces with its description as it opens. Set `dismissible` to draw a
|
|
22773
|
+
* close control, labeled by `dismiss-label`.
|
|
22875
22774
|
*
|
|
22876
22775
|
* **Keyboard.** Opening moves focus to the first control in the dialog.
|
|
22877
22776
|
*
|
|
@@ -22893,10 +22792,7 @@ export interface HelixVueGlobalComponents {
|
|
|
22893
22792
|
* **The line is a separator**, as `<hr>` is, and as Radix Separator, React
|
|
22894
22793
|
* Aria Separator, and Web Awesome's divider are. It is named by any content
|
|
22895
22794
|
* set into it, so a screen reader says "Or, separator" where you wrote "Or" on
|
|
22896
|
-
* the line, and the words are read once, as that name.
|
|
22897
|
-
* separator and no controls, which are hidden with them. Set `decorative` on
|
|
22898
|
-
* a rule that separates nothing, such as one under a heading or between the
|
|
22899
|
-
* facts of a byline, and it leaves the accessibility tree.
|
|
22795
|
+
* the line, and the words are read once, as that name.
|
|
22900
22796
|
*
|
|
22901
22797
|
* Use `orientation="vertical"` between items on one line. A vertical divider
|
|
22902
22798
|
* stretches to fit its flex parent and sets no height of its own.
|
|
@@ -22910,12 +22806,6 @@ export interface HelixVueGlobalComponents {
|
|
|
22910
22806
|
*/
|
|
22911
22807
|
"helix-headless-divider": DefineCustomElement<HelixHeadlessDivider, HelixHeadlessDividerVueProps, HelixHeadlessDividerVueEvents>;
|
|
22912
22808
|
/**
|
|
22913
|
-
* A donut chart divides one whole into parts, so the component reads one
|
|
22914
|
-
* column.
|
|
22915
|
-
*
|
|
22916
|
-
* **The first column of numbers is the series, and each row is a slice.** Other
|
|
22917
|
-
* Helix charts take one column per series.
|
|
22918
|
-
*
|
|
22919
22809
|
* **Negative values are skipped.** An arc cannot show a negative number, so
|
|
22920
22810
|
* those rows are left out and the total is the sum of the remaining rows.
|
|
22921
22811
|
*
|
|
@@ -23031,16 +22921,9 @@ export interface HelixVueGlobalComponents {
|
|
|
23031
22921
|
* `drawer-root.ssr.spec.ts` checks that the panel has no hand-written `inert`
|
|
23032
22922
|
* or `role`.
|
|
23033
22923
|
*
|
|
23034
|
-
*
|
|
23035
|
-
*
|
|
23036
|
-
*
|
|
23037
|
-
* <helix-headless-button commandfor="nav" command="--toggle">Menu</helix-headless-button>
|
|
23038
|
-
* <helix-headless-drawer id="nav">…</helix-headless-drawer>
|
|
23039
|
-
* ```
|
|
23040
|
-
*
|
|
23041
|
-
* From its first press, a button that opens the drawer this way says whether
|
|
23042
|
-
* the drawer is open: a Helix button through `expanded`, and any other
|
|
23043
|
-
* element with `aria-expanded`.
|
|
22924
|
+
* From its first press, a button that opens the drawer through the invoker
|
|
22925
|
+
* attributes says whether the drawer is open: a Helix button through
|
|
22926
|
+
* `expanded`, and any other element with `aria-expanded`.
|
|
23044
22927
|
*/
|
|
23045
22928
|
"helix-headless-drawer": DefineCustomElement<HelixHeadlessDrawer, HelixHeadlessDrawerVueProps, HelixHeadlessDrawerVueEvents>;
|
|
23046
22929
|
/**
|
|
@@ -23124,12 +23007,9 @@ export interface HelixVueGlobalComponents {
|
|
|
23124
23007
|
* or by `fallbackLabel` where nothing names it, and by the page's title below
|
|
23125
23008
|
* it.
|
|
23126
23009
|
*
|
|
23127
|
-
*
|
|
23128
|
-
*
|
|
23129
|
-
*
|
|
23130
|
-
* disclosure navigation is built,
|
|
23131
|
-
* so a reader meets places to go in place of a menu of commands. The keys stay
|
|
23132
|
-
* the same. The back button and the title sit above
|
|
23010
|
+
* Under `navigation`, the landmark is named by `label`, and unnamed without
|
|
23011
|
+
* one. Each row is a list item holding a link or a button, as the APG's
|
|
23012
|
+
* disclosure navigation is built. The keys stay the same. The back button and the title sit above
|
|
23133
23013
|
* the menu. Disabled rows stay reachable with the arrow keys, and typing a
|
|
23134
23014
|
* letter moves to the next row whose name starts with it.
|
|
23135
23015
|
*/
|
|
@@ -23144,8 +23024,7 @@ export interface HelixVueGlobalComponents {
|
|
|
23144
23024
|
* The document is the element you write inside the frame, so it stays in the
|
|
23145
23025
|
* page: the browser's input methods, spellcheck, and right-to-left text work in
|
|
23146
23026
|
* it as they do in any field. A server can send the document's HTML there, and
|
|
23147
|
-
* it reads before any script loads.
|
|
23148
|
-
* draws its headings, lists, and quotes before a renderer connects.
|
|
23027
|
+
* it reads before any script loads.
|
|
23149
23028
|
*
|
|
23150
23029
|
* The toolbar's groups are named by `tools`, in this order: `history` (Undo
|
|
23151
23030
|
* and Redo), `block` (a menu of Paragraph, three headings, and Code block),
|
|
@@ -23214,10 +23093,8 @@ export interface HelixVueGlobalComponents {
|
|
|
23214
23093
|
* actions differently. Read in the browser, so a served view carries neither
|
|
23215
23094
|
* until the script runs.
|
|
23216
23095
|
*
|
|
23217
|
-
*
|
|
23218
|
-
*
|
|
23219
|
-
* rendering from data or on a server gets a heading a reader finds in the
|
|
23220
|
-
* outline without writing the element. A heading slotted in replaces it.
|
|
23096
|
+
* `heading` draws its words in a `heading` part that is a heading at
|
|
23097
|
+
* `heading-level`, 3 where it is not set. A heading slotted in replaces it.
|
|
23221
23098
|
*
|
|
23222
23099
|
* **Whatever is slotted into `heading` is read as a heading.** An element that
|
|
23223
23100
|
* is no heading, such as a `<span>` or a `<p>`, is set inside the `heading`
|
|
@@ -23398,9 +23275,9 @@ export interface HelixVueGlobalComponents {
|
|
|
23398
23275
|
/**
|
|
23399
23276
|
* Tokens are your own elements, slotted in. A filter can be a facet with a
|
|
23400
23277
|
* prefix, a saved query, or a range, and these belong to your model, so the
|
|
23401
|
-
* element does not render tokens from a list of strings.
|
|
23402
|
-
*
|
|
23403
|
-
*
|
|
23278
|
+
* element does not render tokens from a list of strings. Combobox works the
|
|
23279
|
+
* other way: its tokens show a selection it owns, drawn from the options it was
|
|
23280
|
+
* given.
|
|
23404
23281
|
*
|
|
23405
23282
|
* `value` is the typed text. Every keystroke fires `input` with the text on the
|
|
23406
23283
|
* element, so a table can narrow as the user types. Backspace in an empty field
|
|
@@ -23455,17 +23332,8 @@ export interface HelixVueGlobalComponents {
|
|
|
23455
23332
|
* nothing draws it and the menu has no page for it, and the grammar still reads
|
|
23456
23333
|
* it.
|
|
23457
23334
|
*
|
|
23458
|
-
* **The picker has an entry of its own.**
|
|
23459
|
-
*
|
|
23460
|
-
* leaves it out. A page that writes a `FilterMenu` imports both entries:
|
|
23461
|
-
*
|
|
23462
|
-
* ```js
|
|
23463
|
-
* import '@fusion.dev/helix/filter-input'
|
|
23464
|
-
* import '@fusion.dev/helix/filter-input/menu'
|
|
23465
|
-
* ```
|
|
23466
|
-
*
|
|
23467
|
-
* A picker written without the second is reported once the page has loaded,
|
|
23468
|
-
* with the entry to add.
|
|
23335
|
+
* **The picker has an entry of its own.** A picker written without it is
|
|
23336
|
+
* reported once the page has loaded, with the entry to add.
|
|
23469
23337
|
*
|
|
23470
23338
|
* **Suggestions.** Slot options into `suggestions` and the field shows them,
|
|
23471
23339
|
* moves through them with the arrow keys, and presses one on Enter. The option
|
|
@@ -23508,8 +23376,7 @@ export interface HelixVueGlobalComponents {
|
|
|
23508
23376
|
* this library. `default-value` seeds the field.
|
|
23509
23377
|
* - `open` is the suggestions panel. Cancel `helix-before-open` or
|
|
23510
23378
|
* `helix-before-close` to control it, and use `default-open` to seed it.
|
|
23511
|
-
* - Tokens are your elements in a slot and hold no state. A
|
|
23512
|
-
* remove it from your markup after `helix-dismiss`. A `FilterChip` naming a
|
|
23379
|
+
* - Tokens are your elements in a slot and hold no state. A `FilterChip` naming a
|
|
23513
23380
|
* declared field works differently, because the picker holds what is ticked
|
|
23514
23381
|
* and removing the chip alone would leave its value ticked in the hidden
|
|
23515
23382
|
* menu. Its dismissal is treated as the field being filtered by nothing, so
|
|
@@ -23517,18 +23384,10 @@ export interface HelixVueGlobalComponents {
|
|
|
23517
23384
|
* when the filter goes. Set `chips` and the field adds, updates, and removes
|
|
23518
23385
|
* those chips itself, from every `helix-facet`.
|
|
23519
23386
|
*
|
|
23520
|
-
* **The suggestions you write are an import of their own.**
|
|
23521
|
-
*
|
|
23522
|
-
*
|
|
23523
|
-
*
|
|
23524
|
-
* ```js
|
|
23525
|
-
* import '@fusion.dev/helix/filter-input'
|
|
23526
|
-
* import '@fusion.dev/helix/option'
|
|
23527
|
-
* ```
|
|
23528
|
-
*
|
|
23529
|
-
* In development, a field holding an option nobody registered says so once the
|
|
23530
|
-
* page has loaded, with the line to add. The options `source` gives are drawn
|
|
23531
|
-
* as this Option too, and need the same import.
|
|
23387
|
+
* **The suggestions you write are an import of their own.** In development, a
|
|
23388
|
+
* field holding an option nobody registered says so once the page has loaded,
|
|
23389
|
+
* with the line to add. The options `source` gives are drawn as Option too, and
|
|
23390
|
+
* need the Option import as well.
|
|
23532
23391
|
*/
|
|
23533
23392
|
"helix-headless-filter-input": DefineCustomElement<HelixHeadlessFilterInput, HelixHeadlessFilterInputVueProps, HelixHeadlessFilterInputVueEvents>;
|
|
23534
23393
|
/**
|
|
@@ -23571,8 +23430,8 @@ export interface HelixVueGlobalComponents {
|
|
|
23571
23430
|
*
|
|
23572
23431
|
* **`elapsed` shows compact relative time for a feed**, such as "42m", "3h", or
|
|
23573
23432
|
* "1d". After six days it shows a date. In en-US, `Intl.NumberFormat` narrow
|
|
23574
|
-
* renders both `minute` and `month` as `m
|
|
23575
|
-
*
|
|
23433
|
+
* renders both `minute` and `month` as `m`. `elapsedTime` in `helix/core` does
|
|
23434
|
+
* the measurement.
|
|
23576
23435
|
*
|
|
23577
23436
|
* **`relative` shows the same reading in words**, such as "3 hours ago" at
|
|
23578
23437
|
* `long`, "3 hr. ago" at `short` and "3h ago" at `narrow`, the styles
|
|
@@ -23592,8 +23451,7 @@ export interface HelixVueGlobalComponents {
|
|
|
23592
23451
|
* `frozen` draws the reading once and leaves it.
|
|
23593
23452
|
*
|
|
23594
23453
|
* **`fields` draws each field of a date as a part of its own**, such as
|
|
23595
|
-
* `day`, `month` and `year
|
|
23596
|
-
* or the weekday in capitals with `::part()`. The text between the fields is
|
|
23454
|
+
* `day`, `month` and `year`. The text between the fields is
|
|
23597
23455
|
* the locale's own and has no part. An `elapsed` or `relative` reading is one
|
|
23598
23456
|
* phrase, with no parts inside it.
|
|
23599
23457
|
*
|
|
@@ -23655,19 +23513,15 @@ export interface HelixVueGlobalComponents {
|
|
|
23655
23513
|
* a toolbar and one tab stop too, the arrow keys moving between them by where
|
|
23656
23514
|
* they sit on screen.
|
|
23657
23515
|
*
|
|
23658
|
-
* `nodes` and `links` are properties, never markup: a graph of ten thousand
|
|
23659
|
-
* notes as ten thousand elements would cost what the renderer exists to save.
|
|
23660
23516
|
* The list draws only the rows in view.
|
|
23661
23517
|
*
|
|
23662
23518
|
* The list scrolls on this tier. It carries `data-scroller`, and `core` ships
|
|
23663
|
-
* `[data-scroller] { overflow: auto }` into every shadow root.
|
|
23664
|
-
* to set a block size on the list, or it grows to hold every row.
|
|
23519
|
+
* `[data-scroller] { overflow: auto }` into every shadow root.
|
|
23665
23520
|
*/
|
|
23666
23521
|
"helix-headless-graph": DefineCustomElement<HelixHeadlessGraph, HelixHeadlessGraphVueProps, HelixHeadlessGraphVueEvents>;
|
|
23667
23522
|
/**
|
|
23668
|
-
* A grid of cells, each colored by a tone.
|
|
23669
|
-
*
|
|
23670
|
-
* discrete levels, which a set of tones covers.
|
|
23523
|
+
* A grid of cells, each colored by a tone. GitHub's contribution graph uses
|
|
23524
|
+
* five discrete levels, which a set of tones covers.
|
|
23671
23525
|
*
|
|
23672
23526
|
* Color in a heatmap is per cell. In every other Helix chart, color is per
|
|
23673
23527
|
* series, so ninety differently colored cells would need ninety series.
|
|
@@ -23768,13 +23622,10 @@ export interface HelixVueGlobalComponents {
|
|
|
23768
23622
|
* It closes on Escape and on a press elsewhere.
|
|
23769
23623
|
*
|
|
23770
23624
|
* **It adds to the link and never stands in for it.** The link still goes
|
|
23771
|
-
* where it goes when pressed
|
|
23772
|
-
* the link without opening the card. So put nothing in the card that a
|
|
23773
|
-
* reader can only reach there.
|
|
23625
|
+
* where it goes when pressed.
|
|
23774
23626
|
*
|
|
23775
|
-
* **Opening moves no focus.** A reader who tabbed to the link stays on it
|
|
23776
|
-
*
|
|
23777
|
-
* page's order: place the element right after the link. The card is no
|
|
23627
|
+
* **Opening moves no focus.** A reader who tabbed to the link stays on it.
|
|
23628
|
+
* The card is no
|
|
23778
23629
|
* description of the link and names nothing on it, so a screen reader reads
|
|
23779
23630
|
* the link as it is and the card as content when it is reached.
|
|
23780
23631
|
*
|
|
@@ -23817,9 +23668,8 @@ export interface HelixVueGlobalComponents {
|
|
|
23817
23668
|
*
|
|
23818
23669
|
* **A name is looked up in a registry.** The family's entry registers the
|
|
23819
23670
|
* whole set, so any name in it draws, and `icon/all` registers the same set.
|
|
23820
|
-
*
|
|
23821
|
-
*
|
|
23822
|
-
* names ships those and no others. `registerIconLibrary` resolves names under a prefix of your own,
|
|
23671
|
+
* `registerIcons` adds glyphs to the registry by name. `registerIconLibrary`
|
|
23672
|
+
* resolves names under a prefix of your own,
|
|
23823
23673
|
* such as `lucide:camera`, at once or later, and the element fires `load` when
|
|
23824
23674
|
* a glyph that came later is drawn. A glyph registered after the element
|
|
23825
23675
|
* rendered is drawn then.
|
|
@@ -23890,8 +23740,7 @@ export interface HelixVueGlobalComponents {
|
|
|
23890
23740
|
*
|
|
23891
23741
|
* Validity comes from the browser. `type` and `required` are set on the real
|
|
23892
23742
|
* input, and its `validity` is copied to the host. `validate` adds your own
|
|
23893
|
-
* rule,
|
|
23894
|
-
* Aria's TextField `validate` does. What it returns is the message the field
|
|
23743
|
+
* rule, as React Aria's TextField `validate` does. What it returns is the message the field
|
|
23895
23744
|
* shows once the user has edited it, and the message a submit raises.
|
|
23896
23745
|
*
|
|
23897
23746
|
* **Keyboard.** The field's own keys are the platform's. Enter submits the
|
|
@@ -23909,17 +23758,6 @@ export interface HelixVueGlobalComponents {
|
|
|
23909
23758
|
/**
|
|
23910
23759
|
* Renders a `<kbd>` element.
|
|
23911
23760
|
*
|
|
23912
|
-
* Each element holds one key, except when you use `keys`. For a sequence or a
|
|
23913
|
-
* chord, write one element per key and put the separator between them as text,
|
|
23914
|
-
* such as "then" or "plus".
|
|
23915
|
-
*
|
|
23916
|
-
* `keys` renders the right glyphs for the platform. Given `mod`, it renders
|
|
23917
|
-
* `⌘K` on Apple devices and `Ctrl+K` everywhere else. A `⌘K` typed into a
|
|
23918
|
-
* template is wrong for anyone on Windows.
|
|
23919
|
-
*
|
|
23920
|
-
* The element binds the shortcut only when `within` is set. By default it draws
|
|
23921
|
-
* the key and listens for nothing.
|
|
23922
|
-
*
|
|
23923
23761
|
* **`for` names the control the shortcut works**, and the key writes its chord
|
|
23924
23762
|
* onto that control's `aria-keyshortcuts`, in the platform's words (`Meta+K`
|
|
23925
23763
|
* on an Apple keyboard, `Control+K` elsewhere), so a screen reader announces
|
|
@@ -23945,16 +23783,13 @@ export interface HelixVueGlobalComponents {
|
|
|
23945
23783
|
"helix-headless-kbd": DefineCustomElement<HelixHeadlessKbd, HelixHeadlessKbdVueProps, HelixHeadlessKbdVueEvents>;
|
|
23946
23784
|
/**
|
|
23947
23785
|
* Renders a legend as a list, separate from any chart, so any chart can use
|
|
23948
|
-
* one.
|
|
23949
|
-
* from that table, so the two always match.
|
|
23786
|
+
* one.
|
|
23950
23787
|
*
|
|
23951
23788
|
* `entries` sets how the table is read:
|
|
23952
23789
|
*
|
|
23953
|
-
* - `series`: one entry per data column, named by the header row.
|
|
23954
|
-
*
|
|
23955
|
-
* - `
|
|
23956
|
-
* the rows and which has no axis to name them on.
|
|
23957
|
-
* - `measures`: drops the first data column. Use it for a scatter.
|
|
23790
|
+
* - `series`: one entry per data column, named by the header row.
|
|
23791
|
+
* - `categories`: one entry per body row.
|
|
23792
|
+
* - `measures`: drops the first data column.
|
|
23958
23793
|
*
|
|
23959
23794
|
* The table is resolved on the client. There is no server pass.
|
|
23960
23795
|
*
|
|
@@ -24003,15 +23838,13 @@ export interface HelixVueGlobalComponents {
|
|
|
24003
23838
|
* item with no `value` by its place, counted from 1, as in `Steps`, so a set
|
|
24004
23839
|
* written without values moves and `helix-activate` says `1`, `2` and so on.
|
|
24005
23840
|
*
|
|
24006
|
-
*
|
|
24007
|
-
*
|
|
24008
|
-
*
|
|
24009
|
-
* of one item has nothing to step to, so it draws no previous, next or counter.
|
|
24010
|
-
* it, compose the chrome yourself in the `header` and `footer` slots, with
|
|
24011
|
-
* buttons that send `--previous`, `--next` and `--close`.
|
|
23841
|
+
* The viewer's own controls, drawn with `controls`, are named by
|
|
23842
|
+
* `previous-label`, `next-label` and `dismiss-label`, and you can replace their
|
|
23843
|
+
* glyphs in the `previous-icon`, `next-icon` and `dismiss-icon` slots. A set
|
|
23844
|
+
* of one item has nothing to step to, so it draws no previous, next or counter.
|
|
24012
23845
|
*
|
|
24013
|
-
* **
|
|
24014
|
-
*
|
|
23846
|
+
* **Under `max-zoom`, a reader zooms into the shown item.** Two fingers
|
|
23847
|
+
* pinch it, and so does a trackpad pinch or the wheel with Ctrl
|
|
24015
23848
|
* held, about the point under the pointer. A double click or a double tap
|
|
24016
23849
|
* zooms all the way in about the point pressed and back out, and once zoomed
|
|
24017
23850
|
* one pointer drags it about and the wheel moves it. `+` and `-` zoom in and out from the keyboard, and `0` puts it back.
|
|
@@ -24057,11 +23890,6 @@ export interface HelixVueGlobalComponents {
|
|
|
24057
23890
|
/**
|
|
24058
23891
|
* A line chart shows the shape of each series: where the readings went.
|
|
24059
23892
|
*
|
|
24060
|
-
* The scale covers the range of the data. Including zero in the range of a
|
|
24061
|
-
* series that moves between 980 and 1020 would flatten the line into a rule
|
|
24062
|
-
* across the top of the box. `BarChart` always starts at zero, because a bar's
|
|
24063
|
-
* length is its value. Set `zero` when the distance from zero is the point.
|
|
24064
|
-
*
|
|
24065
23893
|
* Every series shares one scale, as in the bar chart.
|
|
24066
23894
|
*
|
|
24067
23895
|
* `dashed` names the series drawn as a dashed line, such as a forecast or a
|
|
@@ -24098,8 +23926,7 @@ export interface HelixVueGlobalComponents {
|
|
|
24098
23926
|
*
|
|
24099
23927
|
* **`data` takes the readings as data** where the page has no table to point
|
|
24100
23928
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
24101
|
-
* with its label first.
|
|
24102
|
-
* show one, since it reads before any script runs.
|
|
23929
|
+
* with its label first.
|
|
24103
23930
|
*
|
|
24104
23931
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
24105
23932
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -24195,11 +24022,8 @@ export interface HelixVueGlobalComponents {
|
|
|
24195
24022
|
* A press with Shift selects every row from the last one pressed, and a press
|
|
24196
24023
|
* with Control or Command adds or takes out one row under `replace`.
|
|
24197
24024
|
*
|
|
24198
|
-
*
|
|
24199
|
-
*
|
|
24200
|
-
* grid rows, which hold controls as a list box option cannot. Give a control
|
|
24201
|
-
* in `end` `tabindex="-1"` to leave it to the arrow keys and out of the tab
|
|
24202
|
-
* order.
|
|
24025
|
+
* Give a control in `end` of an interactive list `tabindex="-1"` to leave it
|
|
24026
|
+
* to the arrow keys and out of the tab order.
|
|
24203
24027
|
*
|
|
24204
24028
|
* **`reorderable` lets you move rows.** Each row gets a grip after its `end`
|
|
24205
24029
|
* slot, named by `move-label`. Drag a grip to move its row, and the list
|
|
@@ -24208,8 +24032,7 @@ export interface HelixVueGlobalComponents {
|
|
|
24208
24032
|
* it. A click on another row drops it there, and Escape puts it back. The list
|
|
24209
24033
|
* says each step in its `live` region. A drop sends `helix-before-reorder`,
|
|
24210
24034
|
* which you can refuse, and then `helix-reorder`, whose `keys` hold every
|
|
24211
|
-
* row's value in the new order.
|
|
24212
|
-
* element of yours, so your framework keeps the order it rendered.
|
|
24035
|
+
* row's value in the new order.
|
|
24213
24036
|
*
|
|
24214
24037
|
* | Key, on a held row's grip | What it does |
|
|
24215
24038
|
* |---|---|
|
|
@@ -24239,10 +24062,9 @@ export interface HelixVueGlobalComponents {
|
|
|
24239
24062
|
*
|
|
24240
24063
|
* **Loading more.** `load-more` sends `helix-load-more` once the end of the
|
|
24241
24064
|
* list comes within a screen of view, in the box that scrolls it or the page,
|
|
24242
|
-
* once for each number of rows: add rows and it can send it again. While
|
|
24243
|
-
*
|
|
24244
|
-
*
|
|
24245
|
-
* list asks for nothing while `loading` is set.
|
|
24065
|
+
* once for each number of rows: add rows and it can send it again. While
|
|
24066
|
+
* `loading` is set, the list is busy, and a row after the last says "Loading"
|
|
24067
|
+
* (`loading-text`, or your own content in the `loading` slot).
|
|
24246
24068
|
*
|
|
24247
24069
|
* An interactive list with no name is reported once in a development build,
|
|
24248
24070
|
* since a screen reader announces it as a grid and nothing more. Name it with
|
|
@@ -24300,9 +24122,8 @@ export interface HelixVueGlobalComponents {
|
|
|
24300
24122
|
* left, such as "3 results", from `result-label` and `results-label`. A filter
|
|
24301
24123
|
* that leaves none says `no-results-text`.
|
|
24302
24124
|
*
|
|
24303
|
-
*
|
|
24304
|
-
*
|
|
24305
|
-
* imported, `reorderable` lets a reader move options:
|
|
24125
|
+
* With `@fusion.dev/helix/listbox/reorder` imported, `reorderable` lets a
|
|
24126
|
+
* reader move options:
|
|
24306
24127
|
*
|
|
24307
24128
|
* - Alt with Up or Down moves the highlighted option a place, and Alt with
|
|
24308
24129
|
* Home or End moves it to either end, as the APG's rearrangeable listbox
|
|
@@ -24310,9 +24131,7 @@ export interface HelixVueGlobalComponents {
|
|
|
24310
24131
|
* - A pointer drags an option, with a drop indicator, and the list scrolls near
|
|
24311
24132
|
* an edge. A press that does not travel still chooses the option.
|
|
24312
24133
|
* - A drop sends `helix-before-reorder`, which you can refuse, and then
|
|
24313
|
-
* `helix-reorder
|
|
24314
|
-
* move the options**, or set `items` in the new order: the list moves no
|
|
24315
|
-
* element of yours.
|
|
24134
|
+
* `helix-reorder`.
|
|
24316
24135
|
* - The list says each move in its `live` region. The words are the
|
|
24317
24136
|
* `moved-label`, `canceled-label`, `dropped-label`, and `picked-up-label`
|
|
24318
24137
|
* attributes, which the import reads.
|
|
@@ -24320,18 +24139,8 @@ export interface HelixVueGlobalComponents {
|
|
|
24320
24139
|
* filter narrows the list, under `layout="grid"`, or while the list is
|
|
24321
24140
|
* disabled.
|
|
24322
24141
|
*
|
|
24323
|
-
* **The options are an import of their own.** An option you write is the Option
|
|
24324
|
-
* family's, which the list does not register, so a page that writes one imports
|
|
24325
|
-
* it beside the list:
|
|
24326
|
-
*
|
|
24327
|
-
* ```js
|
|
24328
|
-
* import '@fusion.dev/helix/listbox'
|
|
24329
|
-
* import '@fusion.dev/helix/option'
|
|
24330
|
-
* ```
|
|
24331
|
-
*
|
|
24332
24142
|
* In development, a list holding an option nobody registered says so once the
|
|
24333
|
-
* page has loaded, with the line to add.
|
|
24334
|
-
* Option too, and need the same import.
|
|
24143
|
+
* page has loaded, with the line to add.
|
|
24335
24144
|
*/
|
|
24336
24145
|
"helix-headless-listbox": DefineCustomElement<HelixHeadlessListbox, HelixHeadlessListboxVueProps, HelixHeadlessListboxVueEvents>;
|
|
24337
24146
|
/**
|
|
@@ -24355,15 +24164,11 @@ export interface HelixVueGlobalComponents {
|
|
|
24355
24164
|
* a `role` attribute on the host would be missing from React server-rendered
|
|
24356
24165
|
* markup.
|
|
24357
24166
|
*
|
|
24358
|
-
*
|
|
24359
|
-
*
|
|
24360
|
-
*
|
|
24361
|
-
* loaders in one region hold it busy until the last one leaves. A region drawn
|
|
24362
|
-
* after the loader is marked when it arrives.
|
|
24167
|
+
* The loader sets `aria-busy="true"` on the region `for` names for as long as
|
|
24168
|
+
* the loader is on the page. Two loaders in one region hold it busy until the
|
|
24169
|
+
* last one leaves. A region drawn after the loader is marked when it arrives.
|
|
24363
24170
|
*
|
|
24364
|
-
*
|
|
24365
|
-
* hidden, and silent, for that many milliseconds, and appears only if the work
|
|
24366
|
-
* is still going. While it waits it carries `:state(waiting)`.
|
|
24171
|
+
* While `delay` holds the loader back, it carries `:state(waiting)`.
|
|
24367
24172
|
*
|
|
24368
24173
|
* **The loader can stand in for what it wraps.** Put the content in the
|
|
24369
24174
|
* `content` slot, such as a button or a card, and set `idle` while no work is
|
|
@@ -24458,9 +24263,7 @@ export interface HelixVueGlobalComponents {
|
|
|
24458
24263
|
* arrive, since reading a build aloud line by line helps nobody. A separate
|
|
24459
24264
|
* status region says each line at `error` once it arrives, each step once it
|
|
24460
24265
|
* finishes or fails, and the end of the run once `done` is set or `source`
|
|
24461
|
-
* ends.
|
|
24462
|
-
* where something around the log speaks for it, as a chat turn does for an
|
|
24463
|
-
* agent's work.
|
|
24266
|
+
* ends.
|
|
24464
24267
|
*
|
|
24465
24268
|
* The log scrolls on this tier. It carries `data-scroller`, so following the
|
|
24466
24269
|
* newest line and drawing a window work with no stylesheet. Give the log a
|
|
@@ -24586,9 +24389,7 @@ export interface HelixVueGlobalComponents {
|
|
|
24586
24389
|
* and pressing it turns the map to face north.
|
|
24587
24390
|
*
|
|
24588
24391
|
* Add `pan` and `rotate` for buttons around the compass that move and turn the
|
|
24589
|
-
* map.
|
|
24590
|
-
* where the map has to be usable without dragging, as WCAG 2.2 asks at level
|
|
24591
|
-
* AA. The arrow keys pan the map and Shift with Left or Right turns it either
|
|
24392
|
+
* map. The arrow keys pan the map and Shift with Left or Right turns it either
|
|
24592
24393
|
* way. The buttons are a toolbar and one tab stop: on them, the arrow keys
|
|
24593
24394
|
* move between the buttons by where they sit, and Shift with an arrow still
|
|
24594
24395
|
* turns or tilts the map.
|
|
@@ -24624,9 +24425,8 @@ export interface HelixVueGlobalComponents {
|
|
|
24624
24425
|
* Markers, routes, areas, live positions, and points layers go inside the
|
|
24625
24426
|
* frame as child elements.
|
|
24626
24427
|
*
|
|
24627
|
-
* **Each element has an entry of its own
|
|
24628
|
-
*
|
|
24629
|
-
* writes, such as a marker and a route:
|
|
24428
|
+
* **Each element has an entry of its own**, such as the frame, a marker, and a
|
|
24429
|
+
* route:
|
|
24630
24430
|
*
|
|
24631
24431
|
* ```js
|
|
24632
24432
|
* import '@fusion.dev/helix/map/root'
|
|
@@ -24661,11 +24461,9 @@ export interface HelixVueGlobalComponents {
|
|
|
24661
24461
|
*/
|
|
24662
24462
|
"helix-headless-map-terrain": DefineCustomElement<HelixHeadlessMapTerrain, HelixHeadlessMapTerrainVueProps, HelixHeadlessMapTerrainVueEvents>;
|
|
24663
24463
|
/**
|
|
24664
|
-
*
|
|
24665
|
-
*
|
|
24666
|
-
*
|
|
24667
|
-
* added to the line it ends, and a code block, a list, or a table fills in
|
|
24668
|
-
* where it stands. Text you can already read does not move.
|
|
24464
|
+
* `text` is the Markdown. A block that has ended is never drawn again, a word
|
|
24465
|
+
* arriving is added to the line it ends, and a code block, a list, or a table
|
|
24466
|
+
* fills in where it stands. Text you can already read does not move.
|
|
24669
24467
|
*
|
|
24670
24468
|
* - A fence becomes a `Code Block`, with its language as its `label` and its
|
|
24671
24469
|
* `language`, so a highlighter given to `registerHighlighter` colors it as it
|
|
@@ -24685,9 +24483,7 @@ export interface HelixVueGlobalComponents {
|
|
|
24685
24483
|
*
|
|
24686
24484
|
* **The document is drawn in the element's own children**, so the page's
|
|
24687
24485
|
* `data-prose` styles reach it, a reader can select and find its text, and a
|
|
24688
|
-
* server can send it.
|
|
24689
|
-
* server, render `markdownToHtml(text)` inside the element: where what it was
|
|
24690
|
-
* sent is exactly what it would draw, it keeps it and draws nothing again.
|
|
24486
|
+
* server can send it.
|
|
24691
24487
|
*
|
|
24692
24488
|
* What it reads is CommonMark with GitHub's tables, task lists,
|
|
24693
24489
|
* strikethrough, autolinks, and alerts. A line of `===` or `---` under a
|
|
@@ -24706,9 +24502,8 @@ export interface HelixVueGlobalComponents {
|
|
|
24706
24502
|
* disclosure, middle clicks, modified clicks, and the status bar keep working.
|
|
24707
24503
|
* Use `Menu` for a row of commands.
|
|
24708
24504
|
*
|
|
24709
|
-
* It renders no links.
|
|
24710
|
-
*
|
|
24711
|
-
* you write.
|
|
24505
|
+
* It renders no links. The panel is a slot for the lists and headings you
|
|
24506
|
+
* write.
|
|
24712
24507
|
*
|
|
24713
24508
|
* It opens on hover by default, and a press always opens it too. `open-on` sets
|
|
24714
24509
|
* which. Hover is the default because in a navigation bar people expect to move
|
|
@@ -24843,17 +24638,12 @@ export interface HelixVueGlobalComponents {
|
|
|
24843
24638
|
* sets this on items as a property, never as an attribute. An attribute written
|
|
24844
24639
|
* onto your element after it upgrades causes a hydration mismatch.
|
|
24845
24640
|
*
|
|
24846
|
-
*
|
|
24847
|
-
*
|
|
24848
|
-
*
|
|
24849
|
-
*
|
|
24850
|
-
*
|
|
24851
|
-
*
|
|
24852
|
-
* element of your own, such as a `<div>` or a component's host element, is
|
|
24853
|
-
* skipped by the arrow keys, and a drilled page hides that element with the
|
|
24854
|
-
* rest of the top page, so the row's submenu shows none of its rows. A
|
|
24855
|
-
* development build warns about it as `wrapped-row`. In a framework, render a
|
|
24856
|
-
* component's rows without a wrapper element, such as with a fragment.
|
|
24641
|
+
* A row inside an element of your own, such as a `<div>` or a component's
|
|
24642
|
+
* host element, is skipped by the arrow keys, and a drilled page hides that
|
|
24643
|
+
* element with the rest of the top page, so the row's submenu shows none of
|
|
24644
|
+
* its rows. A development build warns about it as `wrapped-row`. In a
|
|
24645
|
+
* framework, render a component's rows without a wrapper element, such as
|
|
24646
|
+
* with a fragment.
|
|
24857
24647
|
*
|
|
24858
24648
|
* Keys: Enter, Space or Down Arrow on the trigger opens the menu on its first
|
|
24859
24649
|
* row, and Up Arrow on its last. In the menu, Up and Down Arrow move between
|
|
@@ -24897,16 +24687,8 @@ export interface HelixVueGlobalComponents {
|
|
|
24897
24687
|
* opens it from the keyboard, and the trigger is described by
|
|
24898
24688
|
* `long-press-label`, which says so.
|
|
24899
24689
|
*
|
|
24900
|
-
*
|
|
24901
|
-
* a
|
|
24902
|
-
*
|
|
24903
|
-
* ```js
|
|
24904
|
-
* import '@fusion.dev/helix/menu'
|
|
24905
|
-
* import '@fusion.dev/helix/menu/filter'
|
|
24906
|
-
* ```
|
|
24907
|
-
*
|
|
24908
|
-
* With it imported and `filterable` set, the menu opens with focus in a field
|
|
24909
|
-
* above its rows, and typing narrows the rows of the page the keys move in,
|
|
24690
|
+
* With the filter imported and `filterable` set, the menu opens with focus in
|
|
24691
|
+
* a field above its rows, and typing narrows the rows of the page the keys move in,
|
|
24910
24692
|
* as React Aria's `Autocomplete` around a `Menu` does. A row is kept where its
|
|
24911
24693
|
* words hold the filter, in any case, or where `filterMatch` says so. Each
|
|
24912
24694
|
* page starts unfiltered, and the filter is cleared as the menu closes. Where
|
|
@@ -24934,17 +24716,14 @@ export interface HelixVueGlobalComponents {
|
|
|
24934
24716
|
*/
|
|
24935
24717
|
"helix-headless-menu-section": DefineCustomElement<HelixHeadlessMenuSection, HelixHeadlessMenuSectionVueProps, HelixHeadlessMenuSectionVueEvents>;
|
|
24936
24718
|
/**
|
|
24937
|
-
* A meter shows a level within a range, or how the level divides
|
|
24938
|
-
* `
|
|
24939
|
-
* their sum. Use `Progress` to show how far along a
|
|
24719
|
+
* A meter shows a level within a range, or how the level divides. Use
|
|
24720
|
+
* `Progress` to show how far along a
|
|
24940
24721
|
* task is. A progress bar starts empty and ends full, and full is always the
|
|
24941
24722
|
* good end. For a meter, which end is good depends on what is measured. There
|
|
24942
24723
|
* is no `indeterminate`, because a meter always has a value.
|
|
24943
24724
|
*
|
|
24944
|
-
*
|
|
24945
|
-
*
|
|
24946
|
-
* band. `optimum` sets the preferred band. The band next to it is fair, and the
|
|
24947
|
-
* band two away is poor.
|
|
24725
|
+
* The bands follow the HTML specification: the band next to the preferred one
|
|
24726
|
+
* is fair, and the band two away is poor.
|
|
24948
24727
|
*
|
|
24949
24728
|
* The band is a custom state on the meter, `good`, `fair` or `poor`, beside
|
|
24950
24729
|
* `over` and `under` for a value past an end, so a page styles the meter
|
|
@@ -25012,9 +24791,8 @@ export interface HelixVueGlobalComponents {
|
|
|
25012
24791
|
* A router renders its own anchors and cannot render them inside the
|
|
25013
24792
|
* component's shadow root.
|
|
25014
24793
|
*
|
|
25015
|
-
* The component moves a marker to the current item.
|
|
25016
|
-
*
|
|
25017
|
-
* places the marker. Any value but `false` counts, so a sidebar of sections on
|
|
24794
|
+
* The component moves a marker to the current item. Any `aria-current` value
|
|
24795
|
+
* but `false` counts, so a sidebar of sections on
|
|
25018
24796
|
* one page can mark the section in view with `aria-current="location"`. Where
|
|
25019
24797
|
* several are marked, `page` wins.
|
|
25020
24798
|
*
|
|
@@ -25117,9 +24895,7 @@ export interface HelixVueGlobalComponents {
|
|
|
25117
24895
|
* takes focus itself and is read by its label. `ArrowDown` and `ArrowUp` move to the next and the
|
|
25118
24896
|
* previous row, `Home` and `End` to the first and the last, and `PageDown` and
|
|
25119
24897
|
* `PageUp` move a row on or back from anywhere inside one, as in the APG feed
|
|
25120
|
-
* pattern. The controls inside a row stay in the `Tab` order.
|
|
25121
|
-
* the feed holds one page of a longer list, and each row says its place in the
|
|
25122
|
-
* whole of it.
|
|
24898
|
+
* pattern. The controls inside a row stay in the `Tab` order.
|
|
25123
24899
|
*
|
|
25124
24900
|
* **Keyboard.**
|
|
25125
24901
|
*
|
|
@@ -25134,13 +24910,11 @@ export interface HelixVueGlobalComponents {
|
|
|
25134
24910
|
*
|
|
25135
24911
|
* **A notification that arrives says so.** Unread rows added above the rows
|
|
25136
24912
|
* there were are counted in the live region,
|
|
25137
|
-
* "1 new notification", in `arrived-label`.
|
|
25138
|
-
* is set say nothing, so set it while a page is on its way.
|
|
24913
|
+
* "1 new notification", in `arrived-label`.
|
|
25139
24914
|
*
|
|
25140
24915
|
* **`load-more` adds a button after the list** that sends `helix-load-more`,
|
|
25141
|
-
* for a feed that holds one page of a longer list. Append the next page
|
|
25142
|
-
*
|
|
25143
|
-
* nothing more. While the feed is loading the button stays, so focus stays on
|
|
24916
|
+
* for a feed that holds one page of a longer list. Append the next page in
|
|
24917
|
+
* your listener. While the feed is loading the button stays, so focus stays on
|
|
25144
24918
|
* it, and it is `aria-disabled` and sends nothing.
|
|
25145
24919
|
*
|
|
25146
24920
|
* **`error-text` says a page could not be fetched**, such as "Could not load
|
|
@@ -25170,7 +24944,7 @@ export interface HelixVueGlobalComponents {
|
|
|
25170
24944
|
* `format-options` shows the number with `Intl.NumberFormat` in `locale`, as a
|
|
25171
24945
|
* currency, a percent or a unit, while the field is not being edited. Focus
|
|
25172
24946
|
* shows the number itself, and a typed `$1,200` or `25%` is read back with the
|
|
25173
|
-
* same options.
|
|
24947
|
+
* same options.
|
|
25174
24948
|
* The locale's group separators are read in every field, so `1,234` is a
|
|
25175
24949
|
* number in `en-US`.
|
|
25176
24950
|
*
|
|
@@ -25212,9 +24986,8 @@ export interface HelixVueGlobalComponents {
|
|
|
25212
24986
|
* or a raw record, as a read-only tree with each entry's type visible.
|
|
25213
24987
|
*
|
|
25214
24988
|
* Pass the object to `value`, or name a `<script type="application/json">` by
|
|
25215
|
-
* id with `for`, the same source `VirtualList` and the charts read.
|
|
25216
|
-
*
|
|
25217
|
-
* properties. `value` wins when both are set.
|
|
24989
|
+
* id with `for`, the same source `VirtualList` and the charts read. `value`
|
|
24990
|
+
* wins when both are set.
|
|
25218
24991
|
*
|
|
25219
24992
|
* **Keyboard.** The tree is one tab stop, and focus moves from row to row.
|
|
25220
24993
|
*
|
|
@@ -25273,8 +25046,6 @@ export interface HelixVueGlobalComponents {
|
|
|
25273
25046
|
* key. Filtering and copying still read the value itself.
|
|
25274
25047
|
*
|
|
25275
25048
|
* `windowed` draws only the rows in view, for values with thousands of entries.
|
|
25276
|
-
* The box needs a height for windowing to work. The styled tier sets one, and
|
|
25277
|
-
* in the headless tier you set it yourself.
|
|
25278
25049
|
*/
|
|
25279
25050
|
"helix-headless-object-inspector": DefineCustomElement<HelixHeadlessObjectInspector, HelixHeadlessObjectInspectorVueProps, HelixHeadlessObjectInspectorVueEvents>;
|
|
25280
25051
|
/**
|
|
@@ -25310,11 +25081,9 @@ export interface HelixVueGlobalComponents {
|
|
|
25310
25081
|
* option's description. A name you give with `aria-label` or
|
|
25311
25082
|
* `aria-labelledby` wins over both.
|
|
25312
25083
|
*
|
|
25313
|
-
*
|
|
25314
|
-
*
|
|
25315
|
-
*
|
|
25316
|
-
* they do on a row with no image, and the label stays its name, so give the
|
|
25317
|
-
* image an empty `alt`.
|
|
25084
|
+
* An option can be drawn as a tile, such as a photo or a product in a listbox
|
|
25085
|
+
* with `layout="grid"`. Choosing, the arrow keys and the highlight work as
|
|
25086
|
+
* they do on a row with no image.
|
|
25318
25087
|
*/
|
|
25319
25088
|
"helix-headless-option": DefineCustomElement<HelixHeadlessOption, HelixHeadlessOptionVueProps, HelixHeadlessOptionVueEvents>;
|
|
25320
25089
|
/**
|
|
@@ -25345,9 +25114,6 @@ export interface HelixVueGlobalComponents {
|
|
|
25345
25114
|
*
|
|
25346
25115
|
* A heading slotted into `heading` names the navigation, in place of `label`.
|
|
25347
25116
|
*
|
|
25348
|
-
* In a contents rail with a scrollbar of its own, `follow` keeps the link of
|
|
25349
|
-
* the section in view showing as the reader scrolls the page.
|
|
25350
|
-
*
|
|
25351
25117
|
* **Keyboard.** The links are your anchors, in the tab order as you wrote
|
|
25352
25118
|
* them, so the outline adds no keys of its own: Tab moves through the links
|
|
25353
25119
|
* and Enter follows one. Following a link moves focus to its section, so the
|
|
@@ -25404,17 +25170,12 @@ export interface HelixVueGlobalComponents {
|
|
|
25404
25170
|
* A gap appears only where it hides more than one page. A gap is a control: it
|
|
25405
25171
|
* goes to the middle of the pages it hides, so any page is a few presses away.
|
|
25406
25172
|
*
|
|
25407
|
-
*
|
|
25408
|
-
* page number. The links can be crawled, a middle click opens a tab, and the
|
|
25409
|
-
* address bar holds the state. Without `href` the pages are buttons, for a
|
|
25173
|
+
* Without `href` the pages are buttons, for a
|
|
25410
25174
|
* table that pages in place. Either way, a click dispatches
|
|
25411
25175
|
* `helix-before-navigate` first. Call `preventDefault()` to stop both the
|
|
25412
25176
|
* navigation and the page change, for example to hand navigation to a router.
|
|
25413
25177
|
* `helix-navigate` follows once the page has moved. There is no `change`,
|
|
25414
25178
|
* because moving to another page selects nothing.
|
|
25415
|
-
*
|
|
25416
|
-
* `Pagination.Summary` and `Pagination.Size` are separate elements that you
|
|
25417
|
-
* place beside this one, so you choose where they go and in what order.
|
|
25418
25179
|
*/
|
|
25419
25180
|
"helix-headless-pagination": DefineCustomElement<HelixHeadlessPagination, HelixHeadlessPaginationVueProps, HelixHeadlessPaginationVueEvents>;
|
|
25420
25181
|
/**
|
|
@@ -25535,10 +25296,9 @@ export interface HelixVueGlobalComponents {
|
|
|
25535
25296
|
* `z-index`, and an ancestor with `overflow: hidden`, `transform`, `filter`, or
|
|
25536
25297
|
* `contain` does not clip or move it.
|
|
25537
25298
|
*
|
|
25538
|
-
* It opens on click and from a command
|
|
25539
|
-
*
|
|
25540
|
-
*
|
|
25541
|
-
* button that opens it this way says whether the popover is open: a Helix
|
|
25299
|
+
* It opens on click and from a command, such as `command="--show"`. From its
|
|
25300
|
+
* first press, a button that opens it with a command says whether the popover
|
|
25301
|
+
* is open: a Helix
|
|
25542
25302
|
* button through `expanded`, and any other element with `aria-expanded`.
|
|
25543
25303
|
*
|
|
25544
25304
|
* **Opening moves focus into the panel**, to the first control in it, or to the
|
|
@@ -25547,10 +25307,9 @@ export interface HelixVueGlobalComponents {
|
|
|
25547
25307
|
* out of the trigger and the panel to somewhere else on the page.
|
|
25548
25308
|
*
|
|
25549
25309
|
* `modal` keeps `Tab` inside the panel while it is open and says so with
|
|
25550
|
-
* `aria-modal
|
|
25551
|
-
*
|
|
25552
|
-
*
|
|
25553
|
-
* not scroll behind it. Without it the popover does not trap focus.
|
|
25310
|
+
* `aria-modal`. The rest of the page is hidden from screen readers with
|
|
25311
|
+
* `aria-hidden` while it is open, so the virtual cursor stays in the panel too,
|
|
25312
|
+
* and the page does not scroll behind it.
|
|
25554
25313
|
*
|
|
25555
25314
|
* A press outside closes the panel and leaves focus where the press put it.
|
|
25556
25315
|
* Where it put focus nowhere, as a press on text or on the page's background
|
|
@@ -25590,14 +25349,11 @@ export interface HelixVueGlobalComponents {
|
|
|
25590
25349
|
*/
|
|
25591
25350
|
"helix-headless-popover": DefineCustomElement<HelixHeadlessPopover, HelixHeadlessPopoverVueProps, HelixHeadlessPopoverVueEvents>;
|
|
25592
25351
|
/**
|
|
25593
|
-
* Determinate by default.
|
|
25594
|
-
*
|
|
25595
|
-
* the page.
|
|
25352
|
+
* Determinate by default. Use `Loader` for a short wait or one with no place of
|
|
25353
|
+
* its own on the page.
|
|
25596
25354
|
*
|
|
25597
|
-
*
|
|
25598
|
-
*
|
|
25599
|
-
* `aria-valuenow` is omitted in that state, which is the platform's signal for
|
|
25600
|
-
* the same thing.
|
|
25355
|
+
* An indeterminate bar omits `aria-valuenow`, which is the platform's signal
|
|
25356
|
+
* that the total is not known.
|
|
25601
25357
|
*
|
|
25602
25358
|
* The fill is a fraction of the track, written as a custom property.
|
|
25603
25359
|
*
|
|
@@ -25643,8 +25399,7 @@ export interface HelixVueGlobalComponents {
|
|
|
25643
25399
|
*
|
|
25644
25400
|
* A higher level holds fewer characters, so a value that fits at `M` can be too
|
|
25645
25401
|
* long once a logo raises the level to `H`. A value too long for the level
|
|
25646
|
-
*
|
|
25647
|
-
* shows what is in the `fallback` slot, such as the link written out.
|
|
25402
|
+
* fires `error` and carries `:state(overflow)`.
|
|
25648
25403
|
*
|
|
25649
25404
|
* `toSvg()`, `toPng()` and `download()` give the drawn code as a file of its
|
|
25650
25405
|
* own, in the colors it is drawn in, with a slotted image or SVG logo where
|
|
@@ -25680,16 +25435,13 @@ export interface HelixVueGlobalComponents {
|
|
|
25680
25435
|
* </helix-quick-filters>
|
|
25681
25436
|
* ```
|
|
25682
25437
|
*
|
|
25683
|
-
* Each button shows how many rows the preset would show
|
|
25684
|
-
* rows the table holds. A table in `server` mode holds one page, so give each
|
|
25685
|
-
* preset its `count`.
|
|
25438
|
+
* Each button shows how many rows the preset would show.
|
|
25686
25439
|
*
|
|
25687
25440
|
* **Save view.** The last button saves the table's whole view. It fires
|
|
25688
25441
|
* `helix-before-view-save` with the view and a name, which you can cancel to
|
|
25689
25442
|
* keep the view in your own store, and then `helix-view-save`. With
|
|
25690
25443
|
* `view-key`, the view is also kept in this browser's storage under that key
|
|
25691
|
-
* and drawn after your presets, and a saved preset can be removed.
|
|
25692
|
-
* it, nothing is kept: keep the view from the event.
|
|
25444
|
+
* and drawn after your presets, and a saved preset can be removed.
|
|
25693
25445
|
*
|
|
25694
25446
|
* The buttons are one tab stop, and the arrow keys, Home, and End move among
|
|
25695
25447
|
* them, as in a toolbar.
|
|
@@ -25698,11 +25450,8 @@ export interface HelixVueGlobalComponents {
|
|
|
25698
25450
|
/**
|
|
25699
25451
|
* Renders a real `<q>`, so the browser supplies the quotation marks. It inserts
|
|
25700
25452
|
* the correct marks for the document's language and nests them correctly when
|
|
25701
|
-
* one quotation sits inside another.
|
|
25702
|
-
*
|
|
25703
|
-
* runtime kind `typed-marks`. A quotation in a language other than the page's takes `lang` on the
|
|
25704
|
-
* element, and its marks follow it: `lang="de"` sets „…“ and `lang="fr"` «…»
|
|
25705
|
-
* inside an English page.
|
|
25453
|
+
* one quotation sits inside another. A quotation that starts or ends with a
|
|
25454
|
+
* typed mark warns once, with the runtime kind `typed-marks`.
|
|
25706
25455
|
*
|
|
25707
25456
|
* **`no-marks` leaves the marks off**, for a quotation whose marks the page
|
|
25708
25457
|
* draws itself, such as marks set in an accent color. The quotation still counts toward nesting, so a quote
|
|
@@ -25760,9 +25509,8 @@ export interface HelixVueGlobalComponents {
|
|
|
25760
25509
|
* it. The group is the form control, so each radio only exposes its role and
|
|
25761
25510
|
* dispatches an event when it is chosen.
|
|
25762
25511
|
*
|
|
25763
|
-
* The radio
|
|
25764
|
-
*
|
|
25765
|
-
* in the family that takes nothing from `MixinField`.
|
|
25512
|
+
* The radio is the only control in the family that takes nothing from
|
|
25513
|
+
* `MixinField`.
|
|
25766
25514
|
*
|
|
25767
25515
|
* When a radio is chosen, it dispatches an event, the group determines whether
|
|
25768
25516
|
* the choice stands, and the group writes `selected` back. The group is the one
|
|
@@ -25771,15 +25519,12 @@ export interface HelixVueGlobalComponents {
|
|
|
25771
25519
|
"helix-headless-radio": DefineCustomElement<HelixHeadlessRadio, HelixHeadlessRadioVueProps, HelixHeadlessRadioVueEvents>;
|
|
25772
25520
|
/**
|
|
25773
25521
|
* Supports half marks, so the value is not always an integer and the press
|
|
25774
|
-
* targets are not the marks
|
|
25775
|
-
*
|
|
25522
|
+
* targets are not the marks. The pointer handling and `step` are built around
|
|
25523
|
+
* half marks.
|
|
25776
25524
|
*
|
|
25777
25525
|
* A partial mark is the full mark, clipped. The filled marks are drawn over the
|
|
25778
25526
|
* empty marks and cut off partway, so any mark and any fraction work.
|
|
25779
25527
|
*
|
|
25780
|
-
* A read-only rating displays a score, which is the most common use. It is
|
|
25781
|
-
* announced as a displayed value and does not look disabled.
|
|
25782
|
-
*
|
|
25783
25528
|
* With `clearable`, pressing the chosen score again, or Backspace or Delete on
|
|
25784
25529
|
* the marks, takes the rating back to unrated and sends `helix-clear`.
|
|
25785
25530
|
*
|
|
@@ -25800,11 +25545,9 @@ export interface HelixVueGlobalComponents {
|
|
|
25800
25545
|
*/
|
|
25801
25546
|
"helix-headless-rating": DefineCustomElement<HelixHeadlessRating, HelixHeadlessRatingVueProps, HelixHeadlessRatingVueEvents>;
|
|
25802
25547
|
/**
|
|
25803
|
-
* A scatter chart shows how two measures relate.
|
|
25804
|
-
* column
|
|
25805
|
-
*
|
|
25806
|
-
* expectancy column draws one point for each country. Each additional numeric
|
|
25807
|
-
* column is another series, in its own color.
|
|
25548
|
+
* A scatter chart shows how two measures relate. A table of countries with an
|
|
25549
|
+
* income column and a life expectancy column draws one point for each country.
|
|
25550
|
+
* Each additional numeric column is another series, in its own color.
|
|
25808
25551
|
*
|
|
25809
25552
|
* Both axes are labeled, because both positions are values. The ticks sit at
|
|
25810
25553
|
* round numbers, and the range extends to them.
|
|
@@ -25850,8 +25593,7 @@ export interface HelixVueGlobalComponents {
|
|
|
25850
25593
|
*
|
|
25851
25594
|
* **`data` takes the readings as data** where the page has no table to point
|
|
25852
25595
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
25853
|
-
* with its label first.
|
|
25854
|
-
* show one, since it reads before any script runs.
|
|
25596
|
+
* with its label first.
|
|
25855
25597
|
*
|
|
25856
25598
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
25857
25599
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -25926,12 +25668,7 @@ export interface HelixVueGlobalComponents {
|
|
|
25926
25668
|
* place for focus to return to when the list closes.
|
|
25927
25669
|
*
|
|
25928
25670
|
* Your options stay in your light DOM and are slotted through into the listbox,
|
|
25929
|
-
* so the listbox looks through slots to find them.
|
|
25930
|
-
* group them in `Option.Group`, and divide them with `Option.Separator`.
|
|
25931
|
-
* Importing the Option entry registers all three. For a list too long to draw
|
|
25932
|
-
* whole, set `items` instead: the list draws only the options in sight, as
|
|
25933
|
-
* Listbox's `items` does, and the trigger, its keys and the form read the
|
|
25934
|
-
* whole set.
|
|
25671
|
+
* so the listbox looks through slots to find them.
|
|
25935
25672
|
*
|
|
25936
25673
|
* `Select` owns the value, passes it down to the listbox, and takes changes
|
|
25937
25674
|
* back, so the value lives in one place. With `multiple`, the value is the
|
|
@@ -25972,23 +25709,13 @@ export interface HelixVueGlobalComponents {
|
|
|
25972
25709
|
* Set `autocomplete` to let a browser's autofill choose, as a native `<select>`
|
|
25973
25710
|
* with the same attribute would.
|
|
25974
25711
|
*
|
|
25975
|
-
* **The options are an import of their own.** An option is the Option family's,
|
|
25976
|
-
* which the select does not register, so a page that writes one imports it
|
|
25977
|
-
* beside the select:
|
|
25978
|
-
*
|
|
25979
|
-
* ```js
|
|
25980
|
-
* import '@fusion.dev/helix/select'
|
|
25981
|
-
* import '@fusion.dev/helix/option'
|
|
25982
|
-
* ```
|
|
25983
|
-
*
|
|
25984
25712
|
* In development, a select holding an option nobody registered says so once the
|
|
25985
25713
|
* page has loaded, with the line to add.
|
|
25986
25714
|
*/
|
|
25987
25715
|
"helix-headless-select": DefineCustomElement<HelixHeadlessSelect, HelixHeadlessSelectVueProps, HelixHeadlessSelectVueEvents>;
|
|
25988
25716
|
/**
|
|
25989
|
-
*
|
|
25990
|
-
*
|
|
25991
|
-
* and Export, and Clear unselects every row.
|
|
25717
|
+
* Slot your actions into the bar, such as Archive and Export, and Clear
|
|
25718
|
+
* unselects every row.
|
|
25992
25719
|
*
|
|
25993
25720
|
* ```html
|
|
25994
25721
|
* <helix-data-table selectable row-key="id">
|
|
@@ -25998,9 +25725,8 @@ export interface HelixVueGlobalComponents {
|
|
|
25998
25725
|
* </helix-data-table>
|
|
25999
25726
|
* ```
|
|
26000
25727
|
*
|
|
26001
|
-
*
|
|
26002
|
-
*
|
|
26003
|
-
* as a reader's own choice does.
|
|
25728
|
+
* Clear asks the table with `helix-before-select`, as a reader's own choice
|
|
25729
|
+
* does.
|
|
26004
25730
|
*/
|
|
26005
25731
|
"helix-headless-selection-bar": DefineCustomElement<HelixHeadlessSelectionBar, HelixHeadlessSelectionBarVueProps, HelixHeadlessSelectionBarVueEvents>;
|
|
26006
25732
|
/**
|
|
@@ -26018,13 +25744,8 @@ export interface HelixVueGlobalComponents {
|
|
|
26018
25744
|
*
|
|
26019
25745
|
* Press `?` outside a text field, or call `showSheet()`, to open the sheet: a
|
|
26020
25746
|
* dialog listing every shortcut on the page by name, which is how a keyboard
|
|
26021
|
-
* or screen reader user gets the same list.
|
|
26022
|
-
*
|
|
26023
|
-
*
|
|
26024
|
-
* Many apps, GitHub and Gmail among them, already give `?` to their own help,
|
|
26025
|
-
* so a page that answers `?` itself opens both on one press. Such a page sets
|
|
26026
|
-
* `sheet-keys` to another chord, or to nothing and calls `showSheet()` from
|
|
26027
|
-
* its own handler.
|
|
25747
|
+
* or screen reader user gets the same list. `sheet-keys` set to nothing leaves
|
|
25748
|
+
* `?` to the page, which can call `showSheet()` from its own handler.
|
|
26028
25749
|
*
|
|
26029
25750
|
* The badges are a picture of what the controls already expose, so they are
|
|
26030
25751
|
* hidden from assistive technology.
|
|
@@ -26042,17 +25763,13 @@ export interface HelixVueGlobalComponents {
|
|
|
26042
25763
|
* There is no `shape` property. Whether a placeholder is a line, a block, or a
|
|
26043
25764
|
* circle is presentation, which belongs to the styled tier.
|
|
26044
25765
|
*
|
|
26045
|
-
*
|
|
26046
|
-
*
|
|
26047
|
-
* `
|
|
26048
|
-
* placeholder over its box, so nothing moves when the content arrives. Take
|
|
26049
|
-
* `loading` off and the content is shown as it is. An empty skeleton is a
|
|
25766
|
+
* While `loading` is set the content is inert, the host is `aria-busy`, and
|
|
25767
|
+
* the styled tier hides the content and paints the placeholder over its box.
|
|
25768
|
+
* Take `loading` off and the content is shown as it is. An empty skeleton is a
|
|
26050
25769
|
* placeholder of its own size, as before.
|
|
26051
25770
|
*
|
|
26052
|
-
*
|
|
26053
|
-
*
|
|
26054
|
-
* and three lines, laid out as the card will be. While `loading` is set the
|
|
26055
|
-
* placeholder shows and the content is hidden. Once it is off the placeholder
|
|
25771
|
+
* While `loading` is set, a placeholder in the `placeholder` slot shows and the
|
|
25772
|
+
* content is hidden. Once it is off the placeholder
|
|
26056
25773
|
* is hidden and the content shows. The placeholder is hidden from screen
|
|
26057
25774
|
* readers. A server cannot see the children, so it serves both, and the
|
|
26058
25775
|
* content is hidden once the page has its children.
|
|
@@ -26084,14 +25801,10 @@ export interface HelixVueGlobalComponents {
|
|
|
26084
25801
|
* End, the page keys, and the touch target come from the platform. A native
|
|
26085
25802
|
* range has a hit area larger than its thumb, sized for a finger.
|
|
26086
25803
|
*
|
|
26087
|
-
* The value is a string, like every other form control's, and
|
|
26088
|
-
* `MixinControllerValue` holds text. Use `valueAsNumber` for arithmetic.
|
|
26089
|
-
*
|
|
26090
25804
|
* Marks are drawn by the component. The ticks of a `<datalist>` cannot be
|
|
26091
|
-
* styled, and Firefox does not render them for a range.
|
|
26092
|
-
*
|
|
26093
|
-
*
|
|
26094
|
-
* does not draw a hundred and one marks by accident.
|
|
25805
|
+
* styled, and Firefox does not render them for a range. `markers` is a count,
|
|
25806
|
+
* so a slider from zero to a hundred does not draw a hundred and one marks by
|
|
25807
|
+
* accident.
|
|
26095
25808
|
*
|
|
26096
25809
|
* A range with two thumbs is two inputs stacked on one track, because there is
|
|
26097
25810
|
* no native two-thumb range. Each thumb keeps its own value, and a named range
|
|
@@ -26142,13 +25855,9 @@ export interface HelixVueGlobalComponents {
|
|
|
26142
25855
|
*/
|
|
26143
25856
|
"helix-headless-slider": DefineCustomElement<HelixHeadlessSlider, HelixHeadlessSliderVueProps, HelixHeadlessSliderVueEvents>;
|
|
26144
25857
|
/**
|
|
26145
|
-
* Takes its numbers from the `values` attribute
|
|
26146
|
-
*
|
|
26147
|
-
*
|
|
26148
|
-
* announces.
|
|
26149
|
-
*
|
|
26150
|
-
* Use `for` when a sparkline has a real table behind it. `for` wins when both
|
|
26151
|
-
* are set.
|
|
25858
|
+
* Takes its numbers from the `values` attribute, where the other charts read a
|
|
25859
|
+
* table. Set `label` to the one sentence a screen reader announces. `for` wins
|
|
25860
|
+
* when it and `values` are both set.
|
|
26152
25861
|
*
|
|
26153
25862
|
* Without a `label` the sparkline is decorative and `aria-hidden`, for example
|
|
26154
25863
|
* beside a stat that already says "Sessions, 1,102". With a `label` it is
|
|
@@ -26177,9 +25886,6 @@ export interface HelixVueGlobalComponents {
|
|
|
26177
25886
|
* readings arrive, as on every chart. The `empty` and `loading` slots take
|
|
26178
25887
|
* markup in place of either.
|
|
26179
25888
|
*
|
|
26180
|
-
* Place it beside a `Stat`, because a change beside a figure is a second fact,
|
|
26181
|
-
* as `Stat`'s own spec says. `Trend` is composed the same way.
|
|
26182
|
-
*
|
|
26183
25889
|
* The component writes the properties listed below, and the stylesheet that
|
|
26184
25890
|
* draws the sparkline reads them. Do not set them yourself. They carry numbers
|
|
26185
25891
|
* the component computes and CSS cannot, so a stylesheet can draw the sparkline
|
|
@@ -26603,10 +26309,9 @@ export interface HelixVueGlobalComponents {
|
|
|
26603
26309
|
* them apart as Menu's sections do: each is a `group` of the menu, and the
|
|
26604
26310
|
* arrow keys walk through every group's actions in order.
|
|
26605
26311
|
*
|
|
26606
|
-
* **A trigger with its own action.**
|
|
26607
|
-
*
|
|
26608
|
-
*
|
|
26609
|
-
* `trigger="longPress"`. Alt+Down or Alt+Up opens it from the keyboard, and
|
|
26312
|
+
* **A trigger with its own action.** A long press opens the dial as React
|
|
26313
|
+
* Aria's menu trigger does with `trigger="longPress"`. Alt+Down or Alt+Up
|
|
26314
|
+
* opens it from the keyboard, and
|
|
26610
26315
|
* the trigger says so in its description, `long-press-label`, the drawn one
|
|
26611
26316
|
* and a slotted one alike. A press that has opened the dial does not also do
|
|
26612
26317
|
* the trigger's action.
|
|
@@ -26636,9 +26341,6 @@ export interface HelixVueGlobalComponents {
|
|
|
26636
26341
|
* the start pane and open it again. A drag in progress is tracked as a state, so both dividers a
|
|
26637
26342
|
* corner moves stay lit for as long as they move.
|
|
26638
26343
|
*
|
|
26639
|
-
* By default, `min` and `max` let the divider reach either edge, so you can
|
|
26640
|
-
* drag a pane fully closed. Set them to limit the range.
|
|
26641
|
-
*
|
|
26642
26344
|
* A pane can be collapsed, which is a separate state from a divider at the
|
|
26643
26345
|
* edge. `collapsed` names the shut pane, `start` or `end`, and the pane opens
|
|
26644
26346
|
* back to the position where the collapsing gesture began. A drag records that position
|
|
@@ -26655,17 +26357,14 @@ export interface HelixVueGlobalComponents {
|
|
|
26655
26357
|
* with nothing measured, so the divider is where it belongs from the first
|
|
26656
26358
|
* paint, and the start pane keeps that size as the splitter's own size changes.
|
|
26657
26359
|
*
|
|
26658
|
-
*
|
|
26659
|
-
* changes
|
|
26660
|
-
* takes all of the change, as Web Awesome's split panel does. Without it,
|
|
26661
|
-
* both panes keep their share.
|
|
26360
|
+
* Without `primary`, both panes keep their share when the splitter's own size
|
|
26361
|
+
* changes.
|
|
26662
26362
|
*
|
|
26663
|
-
* **Three or more panes along one axis are splitters nested on that axis
|
|
26664
|
-
*
|
|
26665
|
-
*
|
|
26666
|
-
*
|
|
26667
|
-
*
|
|
26668
|
-
* keeps its share, unless `primary` says otherwise.
|
|
26363
|
+
* **Three or more panes along one axis are splitters nested on that axis.**
|
|
26364
|
+
* The nested one keeps the pane on its far side the size it was while the
|
|
26365
|
+
* outer divider moves, as Zag's splitter does with any number of panels. Where
|
|
26366
|
+
* the whole row is resized, every pane keeps its share, unless `primary` says
|
|
26367
|
+
* otherwise.
|
|
26669
26368
|
*
|
|
26670
26369
|
* **Keyboard.** The divider is one tab stop.
|
|
26671
26370
|
*
|
|
@@ -26700,8 +26399,7 @@ export interface HelixVueGlobalComponents {
|
|
|
26700
26399
|
* dashboard hears "Revenue, group" and then the figure, its unit and its
|
|
26701
26400
|
* trend as one reading, rather than a run of loose words. The role and the name
|
|
26702
26401
|
* are set through `ElementInternals` once the label is known, which writes no
|
|
26703
|
-
* attribute; a stat with no label has no role.
|
|
26704
|
-
* slot to have it read inside the group, after the figure it qualifies.
|
|
26402
|
+
* attribute; a stat with no label has no role.
|
|
26705
26403
|
*
|
|
26706
26404
|
* **Or give the figure as a number.** `value` is written with
|
|
26707
26405
|
* `Intl.NumberFormat`, in `locale` and with `format-options`, so
|
|
@@ -26715,13 +26413,11 @@ export interface HelixVueGlobalComponents {
|
|
|
26715
26413
|
* the stat with those breaks, and the slot is hidden while it is. A figure
|
|
26716
26414
|
* holding an element is shown as it is.
|
|
26717
26415
|
*
|
|
26718
|
-
* **A new `value` counts to the new number
|
|
26719
|
-
*
|
|
26720
|
-
* the new number. The stat times the count from `--stat-count-duration` and
|
|
26416
|
+
* **A new `value` counts to the new number.** A screen reader reads only the
|
|
26417
|
+
* new number. The stat times the count from `--stat-count-duration` and
|
|
26721
26418
|
* `--stat-count-easing`, which the styled tier sets from the duration and
|
|
26722
26419
|
* easing tokens. Here neither is set, so the figure changes at once until you
|
|
26723
|
-
* set them, and under reduced motion it always does.
|
|
26724
|
-
* at once.
|
|
26420
|
+
* set them, and under reduced motion it always does.
|
|
26725
26421
|
*
|
|
26726
26422
|
* **Each slot is a part of the same name**, and `value` for the figure, so a
|
|
26727
26423
|
* page reaches the label, the unit and the trend from outside. A slot draws no
|
|
@@ -26742,9 +26438,7 @@ export interface HelixVueGlobalComponents {
|
|
|
26742
26438
|
*
|
|
26743
26439
|
* `active` names a step by its `value`. A step with no `value` is named by its
|
|
26744
26440
|
* place, counted from 1, so a sequence written without values moves as one
|
|
26745
|
-
* written with them, and `helix-activate` says `1`, `2` and so on.
|
|
26746
|
-
* step a value or none, because a value of `2` and the second place are one
|
|
26747
|
-
* name.
|
|
26441
|
+
* written with them, and `helix-activate` says `1`, `2` and so on.
|
|
26748
26442
|
*
|
|
26749
26443
|
* `linear` keeps a reader from passing a stage they have not finished, as Ark
|
|
26750
26444
|
* UI's linear steps do: a stage ahead is out of reach, and its button disabled,
|
|
@@ -26821,7 +26515,7 @@ export interface HelixVueGlobalComponents {
|
|
|
26821
26515
|
/**
|
|
26822
26516
|
* A switch turns something on or off right away, and a checkbox is an answer
|
|
26823
26517
|
* the form submits later. A screen reader announces `role="switch"` as "on" or
|
|
26824
|
-
* "off"
|
|
26518
|
+
* "off". A switch is
|
|
26825
26519
|
* as common outside a form as inside one.
|
|
26826
26520
|
*
|
|
26827
26521
|
* It renders a real `<input type="checkbox">` with `role="switch"`, the pairing
|
|
@@ -26844,8 +26538,7 @@ export interface HelixVueGlobalComponents {
|
|
|
26844
26538
|
*/
|
|
26845
26539
|
"helix-headless-switch": DefineCustomElement<HelixHeadlessSwitch, HelixHeadlessSwitchVueProps, HelixHeadlessSwitchVueEvents>;
|
|
26846
26540
|
/**
|
|
26847
|
-
* Set `for` to the id of a `DataTable
|
|
26848
|
-
* a `Dialog` opened by an Export button.
|
|
26541
|
+
* Set `for` to the id of a `DataTable`.
|
|
26849
26542
|
*
|
|
26850
26543
|
* ```html
|
|
26851
26544
|
* <helix-table-export for="invoices"></helix-table-export>
|
|
@@ -27005,26 +26698,22 @@ export interface HelixVueGlobalComponents {
|
|
|
27005
26698
|
* under a heading named by `row-grips-label`.
|
|
27006
26699
|
*
|
|
27007
26700
|
* 1. Each row is known by its `value`, or by its place among the rows where it
|
|
27008
|
-
* has none, as for selecting.
|
|
27009
|
-
* stays with its row.
|
|
26701
|
+
* has none, as for selecting.
|
|
27010
26702
|
* 2. A grip is a button named by `move-row-label` ("Move {row}") with the
|
|
27011
26703
|
* words of the row's first cell. Drag it to move its row, and the page
|
|
27012
26704
|
* scrolls near an edge. Or press it with Space, Enter, or a click to pick
|
|
27013
26705
|
* the row up, move it with Up, Down, Home, and End, and press it again to
|
|
27014
26706
|
* drop it. A click on another row drops it there, and Escape puts it back.
|
|
27015
26707
|
* 3. `helix-before-reorder` asks first, and `helix-reorder` follows with
|
|
27016
|
-
* `keys`, every row's key in the new order.
|
|
27017
|
-
*
|
|
27018
|
-
* grip once you have.
|
|
26708
|
+
* `keys`, every row's key in the new order. Focus goes back to the moved
|
|
26709
|
+
* row's grip once you have moved it.
|
|
27019
26710
|
* 4. Each step is said in the table's live region, in words you can change:
|
|
27020
26711
|
* `picked-up-label`, `moved-label`, `dropped-label`, and `canceled-label`.
|
|
27021
26712
|
* The grips do nothing while a sort is set.
|
|
27022
26713
|
*
|
|
27023
26714
|
* **A grid.** `grid` makes the table one tab stop that the arrow keys move
|
|
27024
26715
|
* through cell by cell, the headings included, as React Aria's table is. The
|
|
27025
|
-
* table is then a `grid` and each value a `gridcell
|
|
27026
|
-
* every cell a `tabindex` so focus can rest on it: set `grid` only where the
|
|
27027
|
-
* cells may carry one.
|
|
26716
|
+
* table is then a `grid` and each value a `gridcell`.
|
|
27028
26717
|
*
|
|
27029
26718
|
* | Key | What it does |
|
|
27030
26719
|
* |---|---|
|
|
@@ -27149,8 +26838,7 @@ export interface HelixVueGlobalComponents {
|
|
|
27149
26838
|
* The tab list is a single tab stop, and the arrow keys move between tabs
|
|
27150
26839
|
* through `KeyboardNavigationController`, the same as in the radio and toggle
|
|
27151
26840
|
* groups. Selection follows focus, which suits a small set where showing a
|
|
27152
|
-
* panel is cheap.
|
|
27153
|
-
* move without selecting.
|
|
26841
|
+
* panel is cheap.
|
|
27154
26842
|
*
|
|
27155
26843
|
* `orientation="vertical"` sets the tabs in a column beside the panels, and the
|
|
27156
26844
|
* tab list says `aria-orientation="vertical"`. The arrow keys of both axes move
|
|
@@ -27278,9 +26966,7 @@ export interface HelixVueGlobalComponents {
|
|
|
27278
26966
|
* from a badge: a badge shows a state that people cannot change, and a tag
|
|
27279
26967
|
* names something they can remove.
|
|
27280
26968
|
*
|
|
27281
|
-
* The remove button sends `helix-dismiss`.
|
|
27282
|
-
* because your code owns the list it is in, so remove it in your handler. A
|
|
27283
|
-
* listener can cancel `helix-dismiss`, and `dismiss()` then returns `false`.
|
|
26969
|
+
* The remove button sends `helix-dismiss`. A listener can cancel `helix-dismiss`, and `dismiss()` then returns `false`.
|
|
27284
26970
|
* When the handler removes a tag whose remove button has focus, focus moves to
|
|
27285
26971
|
* the next tag's remove button, or to the previous one's after the last tag.
|
|
27286
26972
|
*
|
|
@@ -27322,9 +27008,8 @@ export interface HelixVueGlobalComponents {
|
|
|
27322
27008
|
*
|
|
27323
27009
|
* The controls are a row in the header, and `controls` names which ones:
|
|
27324
27010
|
* `find`, `copy`, `clear`, and `fullscreen`. `find clear` by default. A control
|
|
27325
|
-
* the renderer cannot answer is left out once it is connected.
|
|
27326
|
-
*
|
|
27327
|
-
* and shows a Restart button that sends `helix-terminal-restart`.
|
|
27011
|
+
* the renderer cannot answer is left out once it is connected. The Restart
|
|
27012
|
+
* button shown once the process exits sends `helix-terminal-restart`.
|
|
27328
27013
|
*
|
|
27329
27014
|
* **Keyboard.** Every key goes to the program, Tab, Shift+Tab, and Escape
|
|
27330
27015
|
* included, except these:
|
|
@@ -27343,8 +27028,7 @@ export interface HelixVueGlobalComponents {
|
|
|
27343
27028
|
* screen reader reads nothing in it by default. Set `screen-reader-mode` to
|
|
27344
27029
|
* have the renderer keep the grid as lines a screen reader can move through
|
|
27345
27030
|
* and announce new output as it arrives, which xterm.js calls screen reader
|
|
27346
|
-
* mode.
|
|
27347
|
-
* a setting your reader can turn on.
|
|
27031
|
+
* mode.
|
|
27348
27032
|
*/
|
|
27349
27033
|
"helix-headless-terminal": DefineCustomElement<HelixHeadlessTerminal, HelixHeadlessTerminalVueProps, HelixHeadlessTerminalVueEvents>;
|
|
27350
27034
|
/**
|
|
@@ -27386,9 +27070,7 @@ export interface HelixVueGlobalComponents {
|
|
|
27386
27070
|
* Two of these on one page agree, and a page can set the mode in its markup,
|
|
27387
27071
|
* or from its own code with `setColorMode` from `@fusion.dev/helix-core`,
|
|
27388
27072
|
* which takes the same transitions. With no attribute the page follows the
|
|
27389
|
-
* reader's system setting, and the button says which mode that is.
|
|
27390
|
-
* reader's choice across visits, listen for `change` and write the mode into
|
|
27391
|
-
* the page you serve next.
|
|
27073
|
+
* reader's system setting, and the button says which mode that is.
|
|
27392
27074
|
*
|
|
27393
27075
|
* **The one Helix component that starts a view transition.** A view transition
|
|
27394
27076
|
* draws the whole document twice and runs between the two pictures, so a
|
|
@@ -27413,10 +27095,7 @@ export interface HelixVueGlobalComponents {
|
|
|
27413
27095
|
* You can type a time or pick one. The list offers times at a step, and the
|
|
27414
27096
|
* field lets you enter any time, such as `09:07`.
|
|
27415
27097
|
*
|
|
27416
|
-
*
|
|
27417
|
-
* `seconds`, because that is what the form
|
|
27418
|
-
* submits, what `min` and `max` compare against, and what sorts correctly as a
|
|
27419
|
-
* string. While idle, the field shows the time in the user's locale format.
|
|
27098
|
+
* While idle, the field shows the time in the user's locale format.
|
|
27420
27099
|
* Once the caret is in the field, it shows the value itself. You can type
|
|
27421
27100
|
* `14:30`, or a time as you write one, such as `2:30 PM`, `2.30pm`, or
|
|
27422
27101
|
* `14h30`, and the field reads it as you leave it, with AM and PM in the
|
|
@@ -27472,18 +27151,14 @@ export interface HelixVueGlobalComponents {
|
|
|
27472
27151
|
* draws a button that chooses the current time, on the step and inside the
|
|
27473
27152
|
* bounds.
|
|
27474
27153
|
*
|
|
27475
|
-
*
|
|
27476
|
-
*
|
|
27477
|
-
*
|
|
27478
|
-
* way Date Input separates typing a date from picking one on the calendar.
|
|
27154
|
+
* Use the list for the times your product offers, and Time Input for any
|
|
27155
|
+
* time, the same way Date Input separates typing a date from picking one on
|
|
27156
|
+
* the calendar.
|
|
27479
27157
|
*
|
|
27480
|
-
*
|
|
27481
|
-
* `seconds`. A form submits that shape,
|
|
27482
|
-
* `min` and `max` compare against it, and it sorts as a string. Each row's text
|
|
27483
|
-
* follows the person's own conventions, from `Intl`.
|
|
27158
|
+
* Each row's text follows the person's own conventions, from `Intl`.
|
|
27484
27159
|
*
|
|
27485
27160
|
* The chosen row is marked in the served markup. The listbox gets the answer as
|
|
27486
|
-
* `.value`, and Lit SSR serializes no property binding, so without more the
|
|
27161
|
+
* `.value`, and Lit SSR serializes no property binding, so without more the
|
|
27487
27162
|
* served rows would carry no mark until the listbox upgrades and runs `place`.
|
|
27488
27163
|
* Each option also gets `selected`, an attribute binding that does serialize,
|
|
27489
27164
|
* and `place` then writes the same answer from the same value. This is the same
|
|
@@ -27569,21 +27244,18 @@ export interface HelixVueGlobalComponents {
|
|
|
27569
27244
|
* The host has `role="list"`, because the entries are your elements in the
|
|
27570
27245
|
* light DOM. `Steps` does the same.
|
|
27571
27246
|
*
|
|
27572
|
-
*
|
|
27573
|
-
*
|
|
27574
|
-
* entries are a list of their own named by the heading.
|
|
27247
|
+
* A `Timeline.Group` is an entry of the timeline, and its entries are a list
|
|
27248
|
+
* of their own named by its heading.
|
|
27575
27249
|
*
|
|
27576
27250
|
* **The reading order is the order you write the entries in**, in every layout
|
|
27577
27251
|
* the styled tier draws: down the page, either side of a line down the middle,
|
|
27578
27252
|
* or across the page. Inside each entry the time is read before what happened.
|
|
27579
|
-
*
|
|
27580
|
-
*
|
|
27581
|
-
*
|
|
27582
|
-
*
|
|
27583
|
-
*
|
|
27584
|
-
*
|
|
27585
|
-
* that asks for more after the timeline, and move focus to the first new
|
|
27586
|
-
* entry when they arrive.
|
|
27253
|
+
* The layout only moves where they are drawn.
|
|
27254
|
+
*
|
|
27255
|
+
* **While `loading` is set, the timeline is busy**, and an entry after the
|
|
27256
|
+
* last says "Loading", the word every collection uses (`loading-text`, or
|
|
27257
|
+
* your own content in the `loading` slot). Move focus to the first new entry
|
|
27258
|
+
* when they arrive.
|
|
27587
27259
|
*/
|
|
27588
27260
|
"helix-headless-timeline": DefineCustomElement<HelixHeadlessTimeline, HelixHeadlessTimelineVueProps, HelixHeadlessTimelineVueEvents>;
|
|
27589
27261
|
/**
|
|
@@ -27648,20 +27320,16 @@ export interface HelixVueGlobalComponents {
|
|
|
27648
27320
|
* and the DOM stay in sync. It hides on its own unless you set `open`, which
|
|
27649
27321
|
* makes the state yours.
|
|
27650
27322
|
*
|
|
27651
|
-
*
|
|
27652
|
-
*
|
|
27653
|
-
* removes it once it has been dismissed and has finished leaving. Messages
|
|
27654
|
-
* you render yourself stay yours, and the region never removes them. A touch
|
|
27323
|
+
* The message `add()` appends is of the region's own tier, and is removed once
|
|
27324
|
+
* it has finished leaving. A touch
|
|
27655
27325
|
* or a pen swipes a message away toward the edge the stack sits at, the end
|
|
27656
27326
|
* of the line unless `placement` puts it at the start, or toward the edge
|
|
27657
27327
|
* `swipe-direction` names.
|
|
27658
27328
|
*
|
|
27659
|
-
*
|
|
27660
|
-
*
|
|
27661
|
-
*
|
|
27662
|
-
*
|
|
27663
|
-
* which keys do. Keep a confirmation for an action that cannot be taken back or
|
|
27664
|
-
* that reaches someone else, such as sending or paying.
|
|
27329
|
+
* Command+Z (Control+Z elsewhere) undoes an `undoable()` action while its
|
|
27330
|
+
* message shows, and a screen reader hears which keys do. Keep a confirmation
|
|
27331
|
+
* for an action that cannot be taken back or that reaches someone else, such
|
|
27332
|
+
* as sending or paying.
|
|
27665
27333
|
*
|
|
27666
27334
|
* **Every message's timer waits while a pointer or focus is in the stack**, as
|
|
27667
27335
|
* React Aria's and Radix's regions do, so a reader moving from one message to
|
|
@@ -27672,12 +27340,11 @@ export interface HelixVueGlobalComponents {
|
|
|
27672
27340
|
* opened after it, and above a modal `Dialog`, `Drawer` or `Lightbox` that
|
|
27673
27341
|
* opened while it showed. Position the `region` part, which is the box in the
|
|
27674
27342
|
* top layer. While a modal is open, the browser makes everything outside it
|
|
27675
|
-
* inert, the stack included, so a
|
|
27676
|
-
*
|
|
27677
|
-
* moves off the modal's surface, above, below or beside it by its own inset,
|
|
27343
|
+
* inert, the stack included, so a press on a message reaches nothing under it.
|
|
27344
|
+
* The stack moves off the modal's surface, above, below or beside it by its own inset,
|
|
27678
27345
|
* and is hidden while the window has no room outside the surface. Where the
|
|
27679
27346
|
* browser has `ariaNotify`, a message that arrives then is announced through
|
|
27680
|
-
* it.
|
|
27347
|
+
* it.
|
|
27681
27348
|
*
|
|
27682
27349
|
* When a message with focus inside it is dismissed, focus moves to the next
|
|
27683
27350
|
* message, then the one before it, then back to where it was before it entered
|
|
@@ -27833,11 +27500,8 @@ export interface HelixVueGlobalComponents {
|
|
|
27833
27500
|
* does not clip it and no `z-index` is needed. `FloatingController` positions
|
|
27834
27501
|
* it and flips it to another side when the preferred side does not fit.
|
|
27835
27502
|
*
|
|
27836
|
-
*
|
|
27837
|
-
*
|
|
27838
|
-
* then in your own markup, so it is in the server's HTML and in the
|
|
27839
|
-
* accessibility tree at rest, in every browser, before anyone points at the
|
|
27840
|
-
* trigger or focuses it:
|
|
27503
|
+
* With the trigger's `aria-describedby` naming the tooltip, the description is
|
|
27504
|
+
* in your own markup:
|
|
27841
27505
|
*
|
|
27842
27506
|
* ```html
|
|
27843
27507
|
* <helix-headless-button aria-describedby="save-tip" id="save">Save</helix-headless-button>
|
|
@@ -27913,9 +27577,8 @@ export interface HelixVueGlobalComponents {
|
|
|
27913
27577
|
* least distance that brings it on screen, so the stop that points at it is
|
|
27914
27578
|
* on screen too.
|
|
27915
27579
|
*
|
|
27916
|
-
*
|
|
27917
|
-
* the
|
|
27918
|
-
* tour meanwhile. A function it returns runs when the tour leaves the stop.
|
|
27580
|
+
* While a stop's `effect` runs, the tour has `:state(preparing)`. A function
|
|
27581
|
+
* the effect returns runs when the tour leaves the stop.
|
|
27919
27582
|
*
|
|
27920
27583
|
* **A press outside the current stop and its target does nothing by
|
|
27921
27584
|
* default**, so a reader can use the page the tour is describing. Set
|
|
@@ -28092,8 +27755,7 @@ export interface HelixVueGlobalComponents {
|
|
|
28092
27755
|
* item picked up that way, Enter or Space drops it, and Escape puts it back.
|
|
28093
27756
|
* The tree says each step in its `live` region. A drop sends
|
|
28094
27757
|
* `helix-before-reorder`, which you can refuse, and then `helix-reorder`, whose
|
|
28095
|
-
* `keys` hold the siblings in the new order.
|
|
28096
|
-
* moves no element of yours, and focus follows the moved item once you have.
|
|
27758
|
+
* `keys` hold the siblings in the new order.
|
|
28097
27759
|
*
|
|
28098
27760
|
* **Alt with the arrow along the line moves an item into another branch.**
|
|
28099
27761
|
* Alt with the arrow that opens a branch (Right on a left-to-right page) puts
|
|
@@ -28118,11 +27780,9 @@ export interface HelixVueGlobalComponents {
|
|
|
28118
27780
|
* movement and its color shows whether the change is good. Movement and
|
|
28119
27781
|
* judgment are separate properties because they are separate facts.
|
|
28120
27782
|
*
|
|
28121
|
-
* `good` is unset by default, so a trend with no judgment is gray.
|
|
28122
|
-
*
|
|
28123
|
-
*
|
|
28124
|
-
* movement. The judgment is also a custom state, `better` or `worse`, and so
|
|
28125
|
-
* is the movement, `up` or `down`, for a sheet of your own.
|
|
27783
|
+
* `good` is unset by default, so a trend with no judgment is gray. The
|
|
27784
|
+
* judgment is also a custom state, `better` or `worse`, and so is the
|
|
27785
|
+
* movement, `up` or `down`, for a sheet of your own.
|
|
28126
27786
|
*
|
|
28127
27787
|
* The movement is also written as a word, so a screen reader reads it. The
|
|
28128
27788
|
* styled tier hides `part="direction"` visually and keeps it in the
|
|
@@ -28183,9 +27843,7 @@ export interface HelixVueGlobalComponents {
|
|
|
28183
27843
|
*
|
|
28184
27844
|
* **The player is a `Video` or a plain `<video>`.** Either takes `src` and
|
|
28185
27845
|
* `poster` from the entry, is named by it, plays on, and answers Shift with N
|
|
28186
|
-
* or P while focused.
|
|
28187
|
-
* that send `helix-previous` or `helix-next`, so its moves are the entries,
|
|
28188
|
-
* the menu, and your own buttons calling `previous()` and `next()`.
|
|
27846
|
+
* or P while focused.
|
|
28189
27847
|
*
|
|
28190
27848
|
* **Entries are markup.** React skips properties it would set imperatively
|
|
28191
27849
|
* during hydration, so an array property on a custom element is missing on the
|
|
@@ -28241,8 +27899,6 @@ export interface HelixVueGlobalComponents {
|
|
|
28241
27899
|
* an edge. A press that does not travel still plays the entry.
|
|
28242
27900
|
* - A drop sends `helix-before-reorder`, which you can refuse, and then
|
|
28243
27901
|
* `helix-reorder`, whose `keys` hold every entry's `value` in the new order.
|
|
28244
|
-
* **You move the entries**: the playlist moves no element of yours, and the
|
|
28245
|
-
* next entry is the one after the current entry in the order you leave.
|
|
28246
27902
|
* - Each move is said in the live region, in words you can change:
|
|
28247
27903
|
* `moved-label`, `dropped-label`, `canceled-label`, and `picked-up-label`.
|
|
28248
27904
|
*
|
|
@@ -28261,10 +27917,6 @@ export interface HelixVueGlobalComponents {
|
|
|
28261
27917
|
* keys, Home and End, touch targets, and screen reader announcements work as
|
|
28262
27918
|
* they do natively.
|
|
28263
27919
|
*
|
|
28264
|
-
* When you set `controls`, the browser's control bar is used, the Helix bar is
|
|
28265
|
-
* not drawn, and the keys below are not bound, so a key press does not seek
|
|
28266
|
-
* twice.
|
|
28267
|
-
*
|
|
28268
27920
|
* **Keyboard.** The keys match other players, and they are bound on the
|
|
28269
27921
|
* element only, so they work while focus is on the player.
|
|
28270
27922
|
*
|
|
@@ -28290,11 +27942,10 @@ export interface HelixVueGlobalComponents {
|
|
|
28290
27942
|
* On the scrubber and the volume slider, the arrow keys, Page Up, Page Down,
|
|
28291
27943
|
* Home, and End move the slider, as on any range input.
|
|
28292
27944
|
*
|
|
28293
|
-
*
|
|
28294
|
-
*
|
|
28295
|
-
*
|
|
28296
|
-
*
|
|
28297
|
-
* DOM stays intact, and are copied again whenever the slot changes.
|
|
27945
|
+
* A slot is one node, so slotted sources would give the video no text tracks,
|
|
27946
|
+
* no current source, and a `readyState` of zero, and it would not play. The
|
|
27947
|
+
* children are copied so your light DOM stays intact, and are copied again
|
|
27948
|
+
* whenever the slot changes.
|
|
28298
27949
|
*
|
|
28299
27950
|
* The player sends every media event of its inner video under the same name,
|
|
28300
27951
|
* without bubbling, as a `<video>` sends it. Listen on the player as you would
|
|
@@ -28303,9 +27954,7 @@ export interface HelixVueGlobalComponents {
|
|
|
28303
27954
|
*/
|
|
28304
27955
|
"helix-headless-video": DefineCustomElement<HelixHeadlessVideo, HelixHeadlessVideoVueProps, HelixHeadlessVideoVueEvents>;
|
|
28305
27956
|
/**
|
|
28306
|
-
*
|
|
28307
|
-
* button and an Export button. Put this panel in a `Drawer` opened by one
|
|
28308
|
-
* View button, set `for` to the table's id, and slot the tools into it:
|
|
27957
|
+
* Set `for` to the table's id, and slot the tools into it:
|
|
28309
27958
|
*
|
|
28310
27959
|
* ```html
|
|
28311
27960
|
* <helix-drawer label="View" placement="bottom">
|
|
@@ -28325,10 +27974,6 @@ export interface HelixVueGlobalComponents {
|
|
|
28325
27974
|
* table's `sortable` columns. Reset clears the search, the filters, and the
|
|
28326
27975
|
* sort. Show closes the drawer or the dialog the panel is in, with how many
|
|
28327
27976
|
* rows the view shows.
|
|
28328
|
-
*
|
|
28329
|
-
* `active` counts the search and the filters, for a badge on the View button.
|
|
28330
|
-
* The panel takes no width of its own, so show its View button at the widths
|
|
28331
|
-
* that need it, and the tools above the table at the rest.
|
|
28332
27977
|
*/
|
|
28333
27978
|
"helix-headless-view-panel": DefineCustomElement<HelixHeadlessViewPanel, HelixHeadlessViewPanelVueProps, HelixHeadlessViewPanelVueEvents>;
|
|
28334
27979
|
/**
|
|
@@ -28434,9 +28079,7 @@ export interface HelixVueGlobalComponents {
|
|
|
28434
28079
|
* let go of. `value` holds the chosen items' keys, separated by commas, in
|
|
28435
28080
|
* the order of the set: `key-field` names each item's key, and a string or a
|
|
28436
28081
|
* number item is its own key. A change asks with `helix-before-change` and
|
|
28437
|
-
* tells with `change`. Each row is an `option` marked `aria-selected
|
|
28438
|
-
* row's own links and buttons are not reached there: keep those to a list
|
|
28439
|
-
* without `selection-mode`.
|
|
28082
|
+
* tells with `change`. Each row is an `option` marked `aria-selected`.
|
|
28440
28083
|
*
|
|
28441
28084
|
* `selection-behavior="replace"` selects the item pressed alone, as a file
|
|
28442
28085
|
* list does, and the arrow keys carry the selection with them. Control or
|
|
@@ -28455,9 +28098,9 @@ export interface HelixVueGlobalComponents {
|
|
|
28455
28098
|
* **Loading more.** `helix-range-change` fires as the items on screen change,
|
|
28456
28099
|
* and `range` holds them. `helix-load-more` fires once a reader is within one
|
|
28457
28100
|
* screen of the end, once for each length of the set: add to `items` and it can
|
|
28458
|
-
* fire again. While
|
|
28459
|
-
*
|
|
28460
|
-
*
|
|
28101
|
+
* fire again. While `loading` is set, the row after the last item says
|
|
28102
|
+
* "Loading", the word every collection uses (`loading-text`, or your own
|
|
28103
|
+
* content in the `loading` slot). `scrollToIndex` takes a reader to an item.
|
|
28461
28104
|
*
|
|
28462
28105
|
* **Moving items** is a separate import, `@fusion.dev/helix/virtual-list/reorder`,
|
|
28463
28106
|
* as React Aria's drag and drop is. With it imported, `reorderable` lets a
|
|
@@ -28500,7 +28143,7 @@ export interface HelixVueGlobalComponents {
|
|
|
28500
28143
|
*
|
|
28501
28144
|
* The viewport scrolls on this tier. It carries `data-scroller`, and `core`
|
|
28502
28145
|
* ships `[data-scroller] { overflow: auto }` into every shadow root, so
|
|
28503
|
-
* `scrollTop` works with no stylesheet.
|
|
28146
|
+
* `scrollTop` works with no stylesheet.
|
|
28504
28147
|
*/
|
|
28505
28148
|
"helix-headless-virtual-list": DefineCustomElement<HelixHeadlessVirtualList, HelixHeadlessVirtualListVueProps, HelixHeadlessVirtualListVueEvents>;
|
|
28506
28149
|
}
|