@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/jsx.d.ts
CHANGED
|
@@ -30431,7 +30431,7 @@ interface Tags {
|
|
|
30431
30431
|
* Each trigger is a button with `aria-expanded` and `aria-controls`, inside a
|
|
30432
30432
|
* heading, level 3 unless `heading-level` says otherwise, so the sections are
|
|
30433
30433
|
* in a screen reader's list of headings. An open section is a region named by
|
|
30434
|
-
* its trigger.
|
|
30434
|
+
* its trigger.
|
|
30435
30435
|
*
|
|
30436
30436
|
* Find in page searches the closed sections too, and opens the one it matches
|
|
30437
30437
|
* in. `hidden-until-found="false"` turns that off.
|
|
@@ -30468,8 +30468,7 @@ interface Tags {
|
|
|
30468
30468
|
* readers, so it is in the page once. When the announcement is in the served
|
|
30469
30469
|
* HTML, the region stays empty and nothing is read out.
|
|
30470
30470
|
*
|
|
30471
|
-
* The dismiss button fires `helix-dismiss
|
|
30472
|
-
* document, so remove it in your listener. The event is cancelable, and
|
|
30471
|
+
* The dismiss button fires `helix-dismiss`. The event is cancelable, and
|
|
30473
30472
|
* `dismiss()` returns `false` when a listener calls `preventDefault()`. When
|
|
30474
30473
|
* your listener removes an announcement whose dismiss button has focus, focus
|
|
30475
30474
|
* moves to the dismiss button of the announcement beside it. With no other
|
|
@@ -30485,11 +30484,9 @@ interface Tags {
|
|
|
30485
30484
|
* the key moved focus into is removed with focus still inside, focus goes
|
|
30486
30485
|
* back to where it was before the key.
|
|
30487
30486
|
*
|
|
30488
|
-
*
|
|
30489
|
-
*
|
|
30490
|
-
*
|
|
30491
|
-
* read out, and its `duration` starts. While it waits it renders nothing,
|
|
30492
|
-
* is no region, and carries `:state(waiting)`. A server cannot see the
|
|
30487
|
+
* When a queued announcement shows, its message is read out, and its
|
|
30488
|
+
* `duration` starts. While it waits it renders nothing, is no region, and
|
|
30489
|
+
* carries `:state(waiting)`. A server cannot see the
|
|
30493
30490
|
* announcements beside it, so a served page shows every one until the script
|
|
30494
30491
|
* runs.
|
|
30495
30492
|
*
|
|
@@ -30554,19 +30551,14 @@ interface Tags {
|
|
|
30554
30551
|
* `ElementInternals.states` is not in the DOM, so hydration has nothing to
|
|
30555
30552
|
* compare. Select the state with `:state(scrolled)`.
|
|
30556
30553
|
*
|
|
30557
|
-
* The page is the window unless `scroller` names the element that scrolls, for
|
|
30558
|
-
* an app shell whose content scrolls inside a container.
|
|
30559
|
-
*
|
|
30560
30554
|
* **Set `hide-on-scroll` for a bar that moves out of the way.** Scrolling down
|
|
30561
30555
|
* past the bar's own height hides it, and scrolling up shows it again, as does
|
|
30562
30556
|
* focus moving into it. The custom state `hidden` is on the host while it is
|
|
30563
30557
|
* hidden, and the styled tier slides a `sticky` bar up out of view.
|
|
30564
30558
|
*
|
|
30565
|
-
*
|
|
30566
|
-
*
|
|
30567
|
-
*
|
|
30568
|
-
* `toggle-placement="start"`. The toggle says whether the region is open with
|
|
30569
|
-
* `aria-expanded`, and the region opens below the row. The region follows the
|
|
30559
|
+
* The toggle that holds a folded middle region is at the end of the bar, named
|
|
30560
|
+
* by `menu-label`, or at its start with `toggle-placement="start"`. The toggle
|
|
30561
|
+
* says whether the region is open with `aria-expanded`, and the region opens below the row. The region follows the
|
|
30570
30562
|
* toggle's region in focus order, so Tab from the toggle at the end goes into
|
|
30571
30563
|
* the open region. The custom state `folded` is on the host while the bar is
|
|
30572
30564
|
* that narrow, and `open` while the folded region is open. A server serves the
|
|
@@ -30683,8 +30675,7 @@ interface Tags {
|
|
|
30683
30675
|
* a reading. The tooltip follows, the `live` part says the reading in words,
|
|
30684
30676
|
* and Escape puts the tooltip away.
|
|
30685
30677
|
*
|
|
30686
|
-
*
|
|
30687
|
-
* chart reads, or it is counted twice. A negative reading is drawn as zero.
|
|
30678
|
+
* A negative reading is drawn as zero.
|
|
30688
30679
|
*
|
|
30689
30680
|
* **A tap shows the reading under it**, and keeps it until a tap lands
|
|
30690
30681
|
* elsewhere. `helix-reading-change` says each move of the reading, by pointer,
|
|
@@ -30693,8 +30684,7 @@ interface Tags {
|
|
|
30693
30684
|
*
|
|
30694
30685
|
* **`data` takes the readings as data** where the page has no table to point
|
|
30695
30686
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
30696
|
-
* with its label first.
|
|
30697
|
-
* show one, since it reads before any script runs.
|
|
30687
|
+
* with its label first.
|
|
30698
30688
|
*
|
|
30699
30689
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
30700
30690
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -30931,12 +30921,6 @@ interface Tags {
|
|
|
30931
30921
|
* count changes. A control that already has a description keeps its own. The
|
|
30932
30922
|
* count is also a status of its own, read when it changes.
|
|
30933
30923
|
*
|
|
30934
|
-
* **Put the badge inside the control to have its count read with the
|
|
30935
|
-
* control's name**, as Web Awesome and Shoelace do: `<button>Inbox
|
|
30936
|
-
* <helix-badge value="8" label="8 unread"></helix-badge></button>` is the
|
|
30937
|
-
* button "Inbox 8 unread", and stays current as the count changes. The styled
|
|
30938
|
-
* tier's `placement="inline"` draws the mark in the line for that case.
|
|
30939
|
-
*
|
|
30940
30924
|
* **An icon goes inside the mark** through the `icon` slot, before the count,
|
|
30941
30925
|
* as Web Awesome's badge takes one at its start. With no `value` the icon is
|
|
30942
30926
|
* the whole mark, such as a check on an avatar, drawn where the dot would be.
|
|
@@ -31021,8 +31005,7 @@ interface Tags {
|
|
|
31021
31005
|
*
|
|
31022
31006
|
* **`data` takes the readings as data** where the page has no table to point
|
|
31023
31007
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
31024
|
-
* with its label first.
|
|
31025
|
-
* show one, since it reads before any script runs.
|
|
31008
|
+
* with its label first.
|
|
31026
31009
|
*
|
|
31027
31010
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
31028
31011
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -31189,11 +31172,10 @@ interface Tags {
|
|
|
31189
31172
|
* the one the browser sets for a `<q>` in the element's language, „ under
|
|
31190
31173
|
* `lang="de"` and « under `lang="fr"`, and a `Quote` inside the passage takes
|
|
31191
31174
|
* the inner marks. The mark is drawn, not read: a screen reader hears the
|
|
31192
|
-
* passage. A passage under `marks` that starts with a
|
|
31193
|
-
*
|
|
31175
|
+
* passage. A passage under `marks` that starts with a typed mark warns once,
|
|
31176
|
+
* with the runtime kind `typed-marks`.
|
|
31194
31177
|
*
|
|
31195
|
-
*
|
|
31196
|
-
* Words in it, such as the author's name, warn once, with the runtime kind
|
|
31178
|
+
* Words in `cite`, such as the author's name, warn once, with the runtime kind
|
|
31197
31179
|
* `cite-not-url`.
|
|
31198
31180
|
*
|
|
31199
31181
|
* For a quotation inside a sentence, use `Quote`.
|
|
@@ -31295,9 +31277,8 @@ interface Tags {
|
|
|
31295
31277
|
* The trail does not measure itself, and you write its overflow in markup: put
|
|
31296
31278
|
* the crumb that holds the folded items where the gap should appear.
|
|
31297
31279
|
*
|
|
31298
|
-
*
|
|
31299
|
-
*
|
|
31300
|
-
* current page. Slotted crumbs follow them. Use one way or the other in a trail.
|
|
31280
|
+
* `items` is an array of `{ label, href }`. Slotted crumbs follow them. Use one
|
|
31281
|
+
* way or the other in a trail.
|
|
31301
31282
|
*
|
|
31302
31283
|
* With `max-items`, a trail that is longer folds its middle into one place:
|
|
31303
31284
|
* the first crumb, a button, then the last `max-items` less one. The button is
|
|
@@ -31355,9 +31336,7 @@ interface Tags {
|
|
|
31355
31336
|
* Buttons are slotted, so they stay your own elements and keep their own
|
|
31356
31337
|
* appearance and size.
|
|
31357
31338
|
*
|
|
31358
|
-
* **Buttons that stay pressed.**
|
|
31359
|
-
* `value` is a toggle button: a press presses or releases it. `multiple` lets
|
|
31360
|
-
* any number be pressed, and each button says so with `aria-pressed`. `single`
|
|
31339
|
+
* **Buttons that stay pressed.** `multiple` lets any number be pressed, and each button says so with `aria-pressed`. `single`
|
|
31361
31340
|
* keeps one pressed at a time: the group is a `radiogroup` and each button a
|
|
31362
31341
|
* `radio` that says so with `aria-checked`, as React Aria's toggle button
|
|
31363
31342
|
* group is. A press on the pressed one releases it, unless
|
|
@@ -31436,11 +31415,6 @@ interface Tags {
|
|
|
31436
31415
|
* Renders a real `<button>`, so activation, focus, and other browser behavior
|
|
31437
31416
|
* come from the platform.
|
|
31438
31417
|
*
|
|
31439
|
-
* **It never renders an anchor.** A router renders its own `<a>` to intercept a
|
|
31440
|
-
* click, and it cannot render one inside the button's shadow root. For a link
|
|
31441
|
-
* that looks like a button, use the base layer recipe on your own anchor:
|
|
31442
|
-
* `<Link data-button="solid">` draws the same control.
|
|
31443
|
-
*
|
|
31444
31418
|
* `delegatesFocus` moves focus to the inner control. It is serialized into the
|
|
31445
31419
|
* server markup, so the button is reachable by keyboard before any JavaScript
|
|
31446
31420
|
* loads.
|
|
@@ -31461,9 +31435,6 @@ interface Tags {
|
|
|
31461
31435
|
* button's does, so `preventDefault()` in a `click` listener cancels it: the
|
|
31462
31436
|
* form is not submitted or reset, and no command is sent.
|
|
31463
31437
|
*
|
|
31464
|
-
* Set `pending` while the action a press started is still running. The button
|
|
31465
|
-
* keeps focus and refuses presses, and a reader on it hears `pending-label`.
|
|
31466
|
-
*
|
|
31467
31438
|
* Set `focusable-when-disabled` on a disabled button whose reason a Tooltip
|
|
31468
31439
|
* gives. It stays in the tab order and takes hover, so the tooltip opens, and
|
|
31469
31440
|
* it refuses every press.
|
|
@@ -31545,8 +31516,7 @@ interface Tags {
|
|
|
31545
31516
|
* Set `dismissible` for a note a reader may put away, as Shoelace's `closable`
|
|
31546
31517
|
* alert does. The button fires `helix-dismiss`, and unless a listener cancels
|
|
31547
31518
|
* it the callout hides itself: `open` turns false, `:state(exiting)` holds
|
|
31548
|
-
* while its exit animations run, and then it is `hidden`.
|
|
31549
|
-
* listener to take it out of the page, or set `open` to show it again, which
|
|
31519
|
+
* while its exit animations run, and then it is `hidden`. Setting `open` again
|
|
31550
31520
|
* holds `:state(entering)` while it comes back. Focus on its dismiss button
|
|
31551
31521
|
* moves to the next callout's, or to the tab stop beside it, once it hides.
|
|
31552
31522
|
*
|
|
@@ -31726,9 +31696,7 @@ interface Tags {
|
|
|
31726
31696
|
* own state and apply them yourself.
|
|
31727
31697
|
* - `helix-move` once the move is finished.
|
|
31728
31698
|
*
|
|
31729
|
-
* A resize dispatches the same pair with a size.
|
|
31730
|
-
* keep every card in place, such as on a published board. Set `readonly` on one
|
|
31731
|
-
* card or connection to keep only that one in place.
|
|
31699
|
+
* A resize dispatches the same pair with a size.
|
|
31732
31700
|
*
|
|
31733
31701
|
* Set `snap` to a length in the document's units, such as `32`, and a card
|
|
31734
31702
|
* that is moved or resized lands on a multiple of it. Carrying a card, a
|
|
@@ -31800,10 +31768,6 @@ interface Tags {
|
|
|
31800
31768
|
* left. A focused card your page removes for its own reasons hands focus on
|
|
31801
31769
|
* the same way, unless the reader has already moved focus somewhere else.
|
|
31802
31770
|
*
|
|
31803
|
-
* The board applies a move itself, because the card already exists. A
|
|
31804
|
-
* connection is a new element, and React discards an element the board adds to
|
|
31805
|
-
* its markup on the next render, so you write the connection.
|
|
31806
|
-
*
|
|
31807
31771
|
* **`edgeRoute` draws the connections' lines your own way**: a function from
|
|
31808
31772
|
* where a line leaves and arrives, and the sides it does, to its SVG path, for
|
|
31809
31773
|
* a route such as one that bends around the cards between. What it returns
|
|
@@ -32126,9 +32090,8 @@ interface Tags {
|
|
|
32126
32090
|
* move by a control, an indicator, a key, or a drag, the `live` part says the
|
|
32127
32091
|
* slide's name politely. While the carousel rotates the region is off.
|
|
32128
32092
|
*
|
|
32129
|
-
* **`slides-per-move` moves several slides at a time
|
|
32130
|
-
*
|
|
32131
|
-
* indicator for each stop, and the track snaps only at the stops. The last
|
|
32093
|
+
* **`slides-per-move` moves several slides at a time**, and the track snaps
|
|
32094
|
+
* only at the stops. The last
|
|
32132
32095
|
* stop is always the end of the run, so a run that does not divide evenly
|
|
32133
32096
|
* ends on its last slides. Unset moves one slide.
|
|
32134
32097
|
*
|
|
@@ -32481,10 +32444,8 @@ interface Tags {
|
|
|
32481
32444
|
* there when the transcript opened. A turn is said with its author first, such
|
|
32482
32445
|
* as "Ada: It ships today" (`arrival-label`), where its author can be named.
|
|
32483
32446
|
*
|
|
32484
|
-
*
|
|
32485
|
-
*
|
|
32486
|
-
* in the console. Children render from the server and suit most
|
|
32487
|
-
* conversations. `turns` draws a long
|
|
32447
|
+
* A chat given turns both ways says so once in the console. Children render
|
|
32448
|
+
* from the server and suit most conversations. `turns` draws a long
|
|
32488
32449
|
* transcript one window at a time, so the log needs a block size of its own.
|
|
32489
32450
|
*
|
|
32490
32451
|
* The log scrolls on this tier. It carries `data-scroller`, and `core` ships
|
|
@@ -32505,18 +32466,9 @@ interface Tags {
|
|
|
32505
32466
|
* "Ada is typing" (`typing-label`), which a screen reader hears, and clearing
|
|
32506
32467
|
* it takes them away. Anything slotted into `status` is drawn first.
|
|
32507
32468
|
*
|
|
32508
|
-
*
|
|
32509
|
-
*
|
|
32510
|
-
*
|
|
32511
|
-
*
|
|
32512
|
-
* ```js
|
|
32513
|
-
* import '@fusion.dev/helix/chat/root'
|
|
32514
|
-
* import '@fusion.dev/helix/chat/composer'
|
|
32515
|
-
* ```
|
|
32516
|
-
*
|
|
32517
|
-
* A composer written without the second is reported once the page has loaded,
|
|
32518
|
-
* with the entry to add. The family's own entry, `@fusion.dev/helix/chat`,
|
|
32519
|
-
* registers every element.
|
|
32469
|
+
* A composer written without its own entry is reported once the page has
|
|
32470
|
+
* loaded, with the entry to add. The family's own entry,
|
|
32471
|
+
* `@fusion.dev/helix/chat`, registers every element.
|
|
32520
32472
|
*
|
|
32521
32473
|
* **Keyboard.** The transcript moves between turns the way a feed does. Each
|
|
32522
32474
|
* turn says its place, such as "3 of 40", windowed or not. The transcript is
|
|
@@ -32654,10 +32606,9 @@ interface Tags {
|
|
|
32654
32606
|
* names it. Without a name, screen readers announce the checkboxes as separate
|
|
32655
32607
|
* controls.
|
|
32656
32608
|
*
|
|
32657
|
-
*
|
|
32658
|
-
*
|
|
32659
|
-
* the
|
|
32660
|
-
* `name` that you write once, and one place to read and write the whole set.
|
|
32609
|
+
* Checkboxes are already form-associated, and a native group is several inputs
|
|
32610
|
+
* that share a name. The group adds the grouping and one place to read and
|
|
32611
|
+
* write the whole set.
|
|
32661
32612
|
*
|
|
32662
32613
|
* `value` is the checked values, separated by commas, in the order the
|
|
32663
32614
|
* checkboxes are written, read from the boxes themselves. Setting it checks
|
|
@@ -32673,10 +32624,6 @@ interface Tags {
|
|
|
32673
32624
|
* another kind inside the group, such as an "Other" text field, sends its own
|
|
32674
32625
|
* `input` and `change` past the group.
|
|
32675
32626
|
*
|
|
32676
|
-
* **The group shows the message you set in `feedback`.** It is form-associated
|
|
32677
|
-
* only for validity and never calls `setFormValue`, so the browser does not
|
|
32678
|
-
* generate a message for it.
|
|
32679
|
-
*
|
|
32680
32627
|
* **Keyboard.** Each box is its own tab stop, as a set of native checkboxes
|
|
32681
32628
|
* is, and Space checks the focused one. The select-all box comes first.
|
|
32682
32629
|
*
|
|
@@ -32755,9 +32702,8 @@ interface Tags {
|
|
|
32755
32702
|
* A checked box submits its `value`, and an unchecked one submits nothing, as a
|
|
32756
32703
|
* native checkbox does.
|
|
32757
32704
|
*
|
|
32758
|
-
* `indeterminate`
|
|
32759
|
-
*
|
|
32760
|
-
* resolves it.
|
|
32705
|
+
* Assistive technology reports `indeterminate` as neither checked nor
|
|
32706
|
+
* unchecked.
|
|
32761
32707
|
*
|
|
32762
32708
|
* **Keyboard.** The box is one tab stop.
|
|
32763
32709
|
*
|
|
@@ -32854,9 +32800,8 @@ interface Tags {
|
|
|
32854
32800
|
* band behind each run, placed where the lines are laid out, so it follows a
|
|
32855
32801
|
* highlighter's markup and lines that wrap. `added-lines` and
|
|
32856
32802
|
* `removed-lines` mark lines the same way as inserted and deleted, as
|
|
32857
|
-
* Expressive Code's `ins` and `del` do, in code that is not a diff.
|
|
32858
|
-
*
|
|
32859
|
-
* block what a marked line means. Set `wrap` to wrap long lines
|
|
32803
|
+
* Expressive Code's `ins` and `del` do, in code that is not a diff. Set
|
|
32804
|
+
* `wrap` to wrap long lines
|
|
32860
32805
|
* rather than scroll them; a gutter then numbers each line where it starts.
|
|
32861
32806
|
* Set `wrappable` for a button in the header that turns `wrap` on and off,
|
|
32862
32807
|
* pressed while the lines wrap.
|
|
@@ -32871,10 +32816,8 @@ interface Tags {
|
|
|
32871
32816
|
* the slot, so the copy button and the page's own text are the code as
|
|
32872
32817
|
* written.
|
|
32873
32818
|
*
|
|
32874
|
-
* **Code Block ships no grammar**, so plain code costs you no parser.
|
|
32875
|
-
* every block on the page
|
|
32876
|
-
* with the function and, for a highlighter that writes classes, the
|
|
32877
|
-
* stylesheet that colors them. A block's own `highlight` wins over it:
|
|
32819
|
+
* **Code Block ships no grammar**, so plain code costs you no parser. Shiki,
|
|
32820
|
+
* registered for every block on the page:
|
|
32878
32821
|
*
|
|
32879
32822
|
* ```js
|
|
32880
32823
|
* import { registerHighlighter } from '@fusion.dev/helix-headless/code-block'
|
|
@@ -33055,12 +32998,12 @@ interface Tags {
|
|
|
33055
32998
|
/**
|
|
33056
32999
|
* A pane for working on a file: a header with its name, its language and the
|
|
33057
33000
|
* page's own actions, the code, the problems in it, and a status line that
|
|
33058
|
-
* says where the caret is.
|
|
33059
|
-
*
|
|
33060
|
-
*
|
|
33061
|
-
*
|
|
33062
|
-
*
|
|
33063
|
-
*
|
|
33001
|
+
* says where the caret is. Connect an engine and it draws the code:
|
|
33002
|
+
* `connectCodeEditor` from `@fusion.dev/helix-code-editor` connects CodeMirror,
|
|
33003
|
+
* with highlighting in your theme's syntax colors, line numbers, folding,
|
|
33004
|
+
* bracket matching and history. The value, the form, validation and the events
|
|
33005
|
+
* stay the editor's, so a page reads and writes it the same with an engine or
|
|
33006
|
+
* without one.
|
|
33064
33007
|
*
|
|
33065
33008
|
* For a few lines in a form, such as a setting in JSON, use `Code Input`,
|
|
33066
33009
|
* which needs no engine.
|
|
@@ -33261,11 +33204,8 @@ interface Tags {
|
|
|
33261
33204
|
* - Lines keep their length and the field scrolls sideways, unless `wrap` is
|
|
33262
33205
|
* `soft`.
|
|
33263
33206
|
*
|
|
33264
|
-
* **The colors
|
|
33265
|
-
*
|
|
33266
|
-
* `import '@fusion.dev/helix-sandbox/code-block'` registers Helix's own, or
|
|
33267
|
-
* `registerHighlighter` takes Shiki or Prism. Without one the code is drawn
|
|
33268
|
-
* plain, and `highlight` sets one for a single field.
|
|
33207
|
+
* **The colors come from a highlighter.** `registerHighlighter` takes Shiki or
|
|
33208
|
+
* Prism in place of Helix's own, and `highlight` sets one for a single field.
|
|
33269
33209
|
*
|
|
33270
33210
|
* For a whole file, with line numbers, folding, search and problems listed by
|
|
33271
33211
|
* line, use `Code Editor`. Code Input is for a few dozen lines in a form: a
|
|
@@ -33383,10 +33323,8 @@ interface Tags {
|
|
|
33383
33323
|
* tools and document search. A styled span carries no such meaning, and a
|
|
33384
33324
|
* screen reader announces nothing about it.
|
|
33385
33325
|
*
|
|
33386
|
-
* **Set `translate="no"` on the element to keep a page translator off the
|
|
33387
|
-
* code.** A translator that rewrites prose would also rewrite an identifier.
|
|
33388
33326
|
* The slotted text takes its translation mode from the element, its parent in
|
|
33389
|
-
* the page, and the element writes nothing onto itself, so
|
|
33327
|
+
* the page, and the element writes nothing onto itself, so `translate` is
|
|
33390
33328
|
* yours to set. The `<code>` inside carries `translate="no"` for anything the
|
|
33391
33329
|
* element draws itself.
|
|
33392
33330
|
*
|
|
@@ -33742,8 +33680,7 @@ interface Tags {
|
|
|
33742
33680
|
"helix-headless-color-picker": { element: HelixHeadlessColorPicker; props: HelixHeadlessColorPickerProps; solid: HelixHeadlessColorPickerSolidJsProps };
|
|
33743
33681
|
/**
|
|
33744
33682
|
* Set `for` to the id of a `DataTable`, and the list holds a row for each of
|
|
33745
|
-
* its columns with a `field`, in the order the table shows them.
|
|
33746
|
-
* `Popover` opened by a Columns button, or in a `Drawer` on a phone.
|
|
33683
|
+
* its columns with a `field`, in the order the table shows them.
|
|
33747
33684
|
*
|
|
33748
33685
|
* ```html
|
|
33749
33686
|
* <helix-column-manager for="invoices"></helix-column-manager>
|
|
@@ -33764,8 +33701,7 @@ interface Tags {
|
|
|
33764
33701
|
*
|
|
33765
33702
|
* **It writes the table's `view.columns` and nothing else.** Every change asks
|
|
33766
33703
|
* the table with `requestView`, so the table fires `helix-before-view-change`,
|
|
33767
|
-
* which you can refuse, and `helix-view-change`.
|
|
33768
|
-
* reader's columns.
|
|
33704
|
+
* which you can refuse, and `helix-view-change`.
|
|
33769
33705
|
*
|
|
33770
33706
|
* **Keyboard.** Each row's checkbox, grip and pin button are in the tab order.
|
|
33771
33707
|
*
|
|
@@ -33882,18 +33818,6 @@ interface Tags {
|
|
|
33882
33818
|
* next choice starts from the whole list.
|
|
33883
33819
|
*
|
|
33884
33820
|
* With `creatable`, the combobox offers a create row and fires `helix-create`.
|
|
33885
|
-
* It does not add the option. The options are your light DOM, and your
|
|
33886
|
-
* framework would re-render over an element the combobox inserted, so add the
|
|
33887
|
-
* option in your event handler.
|
|
33888
|
-
*
|
|
33889
|
-
* **The options are an import of their own.** An option is the Option family's,
|
|
33890
|
-
* which the combobox does not register, so a page that writes one imports it
|
|
33891
|
-
* beside the combobox:
|
|
33892
|
-
*
|
|
33893
|
-
* ```js
|
|
33894
|
-
* import '@fusion.dev/helix/combobox'
|
|
33895
|
-
* import '@fusion.dev/helix/option'
|
|
33896
|
-
* ```
|
|
33897
33821
|
*
|
|
33898
33822
|
* In development, a combobox holding an option nobody registered says so once
|
|
33899
33823
|
* the page has loaded, with the line to add.
|
|
@@ -34103,15 +34027,10 @@ interface Tags {
|
|
|
34103
34027
|
* Aria's `Autocomplete` is. The commands are a `listbox` of `option`s. How many commands typing left, the empty text and
|
|
34104
34028
|
* the loading text are said in a polite live region.
|
|
34105
34029
|
*
|
|
34106
|
-
*
|
|
34107
|
-
*
|
|
34108
|
-
* palette alone. A tier of your own registers its own option, and in
|
|
34109
|
-
* development a palette holding one nobody registered says so.
|
|
34030
|
+
* A tier of your own registers its own option, and in development a palette
|
|
34031
|
+
* holding one nobody registered says so.
|
|
34110
34032
|
*
|
|
34111
|
-
*
|
|
34112
|
-
* puts itself on the page's list while it is connected, and the palette lists
|
|
34113
|
-
* the ones a reader can reach under its own commands once they type, with
|
|
34114
|
-
* each one's shortcut. Choosing one closes the palette and presses it, or
|
|
34033
|
+
* Under `controls`, each control is listed with its shortcut. Choosing one closes the palette and presses it, or
|
|
34115
34034
|
* moves focus into a field. `unlisted` on a control, or on a region around it,
|
|
34116
34035
|
* leaves it out.
|
|
34117
34036
|
*
|
|
@@ -34231,9 +34150,8 @@ interface Tags {
|
|
|
34231
34150
|
* moment a copy shows `copied-label`, draws a cross, and sends
|
|
34232
34151
|
* `helix-copy-error`.
|
|
34233
34152
|
*
|
|
34234
|
-
* `from`
|
|
34235
|
-
*
|
|
34236
|
-
* press. It takes the place of `value`.
|
|
34153
|
+
* `from` writes an attribute as `id[attribute]` and a property as
|
|
34154
|
+
* `id.property`.
|
|
34237
34155
|
*
|
|
34238
34156
|
* It replaces Button's render and its press, so it never submits a form or
|
|
34239
34157
|
* sends a command: `type`, `command`, `commandfor` and the `form*` overrides
|
|
@@ -34345,13 +34263,9 @@ interface Tags {
|
|
|
34345
34263
|
*
|
|
34346
34264
|
* Sort and filter apply to the whole set, including the rows on other pages.
|
|
34347
34265
|
*
|
|
34348
|
-
* **
|
|
34349
|
-
*
|
|
34350
|
-
*
|
|
34351
|
-
* Write the first page under the columns as `TableRow` and `TableCell`
|
|
34352
|
-
* elements, in the table's sort and page size and formatted as its columns draw
|
|
34353
|
-
* them. The table shows your rows until `rows` holds a row, then draws its own
|
|
34354
|
-
* in their place and leaves yours in the page, unshown. A development build
|
|
34266
|
+
* **The served first page.** Write it in the table's sort and page size and
|
|
34267
|
+
* formatted as its columns draw them. The table shows your rows until `rows`
|
|
34268
|
+
* holds a row, then draws its own in their place and leaves yours in the page, unshown. A development build
|
|
34355
34269
|
* warns when the two differ. In React, map the first page of the same array in
|
|
34356
34270
|
* the same server component.
|
|
34357
34271
|
*
|
|
@@ -34374,10 +34288,9 @@ interface Tags {
|
|
|
34374
34288
|
* To act on a single row, such as opening it, put a link or a button in a cell.
|
|
34375
34289
|
* `row-link` makes a press anywhere else on the row work that control.
|
|
34376
34290
|
*
|
|
34377
|
-
*
|
|
34378
|
-
* reach
|
|
34379
|
-
* `
|
|
34380
|
-
* `cellStyles`, or name an element with `part` and style it with `::part()`.
|
|
34291
|
+
* The base layer's `data-link`, `data-link-underline`, and `data-density`
|
|
34292
|
+
* reach a cell, as tokens and custom properties do. Name an element in a cell
|
|
34293
|
+
* with `part` to style it with `::part()`.
|
|
34381
34294
|
*
|
|
34382
34295
|
* `helix-before-follow` hands a press on a link in a cell to your router:
|
|
34383
34296
|
*
|
|
@@ -34541,9 +34454,7 @@ interface Tags {
|
|
|
34541
34454
|
* stylesheet can read the table's own attributes and not its columns', so the
|
|
34542
34455
|
* served rows are laid out at the widths the table draws.
|
|
34543
34456
|
*
|
|
34544
|
-
*
|
|
34545
|
-
* `TableColumn`, which the data table does not register, so a page that writes
|
|
34546
|
-
* one imports the Table entry beside the data table:
|
|
34457
|
+
* A page that writes columns imports both entries:
|
|
34547
34458
|
*
|
|
34548
34459
|
* ```js
|
|
34549
34460
|
* import '@fusion.dev/helix/data-table'
|
|
@@ -35071,19 +34982,12 @@ interface Tags {
|
|
|
35071
34982
|
* - `PageUp` and `PageDown` move by month.
|
|
35072
34983
|
* - `Home` and `End` move to the start and end of the week.
|
|
35073
34984
|
*
|
|
35074
|
-
* **Dates are `YYYY-MM-DD` strings, and every calculation is in UTC**, because
|
|
35075
|
-
* a local-time `Date` shifts across a time zone or daylight-saving boundary.
|
|
35076
|
-
*
|
|
35077
34985
|
* **The months are the ones `calendar` counts**: the Gregorian months for the
|
|
35078
34986
|
* locale's own calendar where its months are the Gregorian months, as `th-TH`
|
|
35079
34987
|
* writes 2569 for 2026, and `gregory` where they are not, as for `fa-IR`
|
|
35080
34988
|
* with no `calendar`. Name a calendar with months of its own, such as
|
|
35081
34989
|
* `persian`, and every view counts its days, months, and years from `Intl`.
|
|
35082
34990
|
*
|
|
35083
|
-
* `month` sets which month the grid shows, separately from `value`, so paging
|
|
35084
|
-
* selects nothing and you can control the view. When unset, it follows the
|
|
35085
|
-
* first selected date, then the current month.
|
|
35086
|
-
*
|
|
35087
34991
|
* `mode` sets how many dates are held. Unset holds one, `range` holds two and
|
|
35088
34992
|
* marks the dates between them, and `multiple` toggles each date. All three
|
|
35089
34993
|
* read and write the same comma-separated `value`. With a `mode`, the grid
|
|
@@ -35326,11 +35230,9 @@ interface Tags {
|
|
|
35326
35230
|
* or a `<canvas>` you draw decoded frames on. The frame gives the screen the
|
|
35327
35231
|
* device's shape and stretches the element to fill it.
|
|
35328
35232
|
*
|
|
35329
|
-
*
|
|
35330
|
-
*
|
|
35331
|
-
*
|
|
35332
|
-
* `width` and `height` it is measured against. Without them, the frame reads
|
|
35333
|
-
* the stream's own size in pixels.
|
|
35233
|
+
* Every point an event carries is measured against the `width` and `height`
|
|
35234
|
+
* the event carries beside it. Without `screen-width` and `screen-height`, the
|
|
35235
|
+
* frame reads the stream's own size in pixels.
|
|
35334
35236
|
*
|
|
35335
35237
|
* **Touches.** Listen in one of two ways, and not both, or the device moves
|
|
35336
35238
|
* twice:
|
|
@@ -35368,9 +35270,8 @@ interface Tags {
|
|
|
35368
35270
|
*
|
|
35369
35271
|
* Set `rotation` where your source sends frames in the device's natural
|
|
35370
35272
|
* orientation while the device is turned: the frame turns the picture, and
|
|
35371
|
-
* turns every point back.
|
|
35372
|
-
*
|
|
35373
|
-
* `showTap()` and `showSwipe()` mark where the agent touched it.
|
|
35273
|
+
* turns every point back. Under `readonly`, the screen is a picture, and
|
|
35274
|
+
* `showTap()` and `showSwipe()` mark where an agent touched it.
|
|
35374
35275
|
*
|
|
35375
35276
|
* ## Attributes & Properties
|
|
35376
35277
|
*
|
|
@@ -35571,10 +35472,8 @@ interface Tags {
|
|
|
35571
35472
|
*
|
|
35572
35473
|
* Set `alert` for a dialog that interrupts to ask for an answer, such as a
|
|
35573
35474
|
* confirmation before a deletion. It is an `alertdialog`, which a screen reader
|
|
35574
|
-
* announces with its description as it opens.
|
|
35575
|
-
*
|
|
35576
|
-
* destroys nothing. Set
|
|
35577
|
-
* `dismissible` to draw a close control, labeled by `dismiss-label`.
|
|
35475
|
+
* announces with its description as it opens. Set `dismissible` to draw a
|
|
35476
|
+
* close control, labeled by `dismiss-label`.
|
|
35578
35477
|
*
|
|
35579
35478
|
* **Keyboard.** Opening moves focus to the first control in the dialog.
|
|
35580
35479
|
*
|
|
@@ -35648,10 +35547,7 @@ interface Tags {
|
|
|
35648
35547
|
* **The line is a separator**, as `<hr>` is, and as Radix Separator, React
|
|
35649
35548
|
* Aria Separator, and Web Awesome's divider are. It is named by any content
|
|
35650
35549
|
* set into it, so a screen reader says "Or, separator" where you wrote "Or" on
|
|
35651
|
-
* the line, and the words are read once, as that name.
|
|
35652
|
-
* separator and no controls, which are hidden with them. Set `decorative` on
|
|
35653
|
-
* a rule that separates nothing, such as one under a heading or between the
|
|
35654
|
-
* facts of a byline, and it leaves the accessibility tree.
|
|
35550
|
+
* the line, and the words are read once, as that name.
|
|
35655
35551
|
*
|
|
35656
35552
|
* Use `orientation="vertical"` between items on one line. A vertical divider
|
|
35657
35553
|
* stretches to fit its flex parent and sets no height of its own.
|
|
@@ -35685,12 +35581,6 @@ interface Tags {
|
|
|
35685
35581
|
*/
|
|
35686
35582
|
"helix-headless-divider": { element: HelixHeadlessDivider; props: HelixHeadlessDividerProps; solid: HelixHeadlessDividerSolidJsProps };
|
|
35687
35583
|
/**
|
|
35688
|
-
* A donut chart divides one whole into parts, so the component reads one
|
|
35689
|
-
* column.
|
|
35690
|
-
*
|
|
35691
|
-
* **The first column of numbers is the series, and each row is a slice.** Other
|
|
35692
|
-
* Helix charts take one column per series.
|
|
35693
|
-
*
|
|
35694
35584
|
* **Negative values are skipped.** An arc cannot show a negative number, so
|
|
35695
35585
|
* those rows are left out and the total is the sum of the remaining rows.
|
|
35696
35586
|
*
|
|
@@ -35898,16 +35788,9 @@ interface Tags {
|
|
|
35898
35788
|
* `drawer-root.ssr.spec.ts` checks that the panel has no hand-written `inert`
|
|
35899
35789
|
* or `role`.
|
|
35900
35790
|
*
|
|
35901
|
-
*
|
|
35902
|
-
*
|
|
35903
|
-
*
|
|
35904
|
-
* <helix-headless-button commandfor="nav" command="--toggle">Menu</helix-headless-button>
|
|
35905
|
-
* <helix-headless-drawer id="nav">…</helix-headless-drawer>
|
|
35906
|
-
* ```
|
|
35907
|
-
*
|
|
35908
|
-
* From its first press, a button that opens the drawer this way says whether
|
|
35909
|
-
* the drawer is open: a Helix button through `expanded`, and any other
|
|
35910
|
-
* element with `aria-expanded`.
|
|
35791
|
+
* From its first press, a button that opens the drawer through the invoker
|
|
35792
|
+
* attributes says whether the drawer is open: a Helix button through
|
|
35793
|
+
* `expanded`, and any other element with `aria-expanded`.
|
|
35911
35794
|
*
|
|
35912
35795
|
* ## Attributes & Properties
|
|
35913
35796
|
*
|
|
@@ -36094,12 +35977,9 @@ interface Tags {
|
|
|
36094
35977
|
* or by `fallbackLabel` where nothing names it, and by the page's title below
|
|
36095
35978
|
* it.
|
|
36096
35979
|
*
|
|
36097
|
-
*
|
|
36098
|
-
*
|
|
36099
|
-
*
|
|
36100
|
-
* disclosure navigation is built,
|
|
36101
|
-
* so a reader meets places to go in place of a menu of commands. The keys stay
|
|
36102
|
-
* the same. The back button and the title sit above
|
|
35980
|
+
* Under `navigation`, the landmark is named by `label`, and unnamed without
|
|
35981
|
+
* one. Each row is a list item holding a link or a button, as the APG's
|
|
35982
|
+
* disclosure navigation is built. The keys stay the same. The back button and the title sit above
|
|
36103
35983
|
* the menu. Disabled rows stay reachable with the arrow keys, and typing a
|
|
36104
35984
|
* letter moves to the next row whose name starts with it.
|
|
36105
35985
|
*
|
|
@@ -36159,8 +36039,7 @@ interface Tags {
|
|
|
36159
36039
|
* The document is the element you write inside the frame, so it stays in the
|
|
36160
36040
|
* page: the browser's input methods, spellcheck, and right-to-left text work in
|
|
36161
36041
|
* it as they do in any field. A server can send the document's HTML there, and
|
|
36162
|
-
* it reads before any script loads.
|
|
36163
|
-
* draws its headings, lists, and quotes before a renderer connects.
|
|
36042
|
+
* it reads before any script loads.
|
|
36164
36043
|
*
|
|
36165
36044
|
* The toolbar's groups are named by `tools`, in this order: `history` (Undo
|
|
36166
36045
|
* and Redo), `block` (a menu of Paragraph, three headings, and Code block),
|
|
@@ -36510,10 +36389,8 @@ interface Tags {
|
|
|
36510
36389
|
* actions differently. Read in the browser, so a served view carries neither
|
|
36511
36390
|
* until the script runs.
|
|
36512
36391
|
*
|
|
36513
|
-
*
|
|
36514
|
-
*
|
|
36515
|
-
* rendering from data or on a server gets a heading a reader finds in the
|
|
36516
|
-
* outline without writing the element. A heading slotted in replaces it.
|
|
36392
|
+
* `heading` draws its words in a `heading` part that is a heading at
|
|
36393
|
+
* `heading-level`, 3 where it is not set. A heading slotted in replaces it.
|
|
36517
36394
|
*
|
|
36518
36395
|
* **Whatever is slotted into `heading` is read as a heading.** An element that
|
|
36519
36396
|
* is no heading, such as a `<span>` or a `<p>`, is set inside the `heading`
|
|
@@ -36931,9 +36808,9 @@ interface Tags {
|
|
|
36931
36808
|
/**
|
|
36932
36809
|
* Tokens are your own elements, slotted in. A filter can be a facet with a
|
|
36933
36810
|
* prefix, a saved query, or a range, and these belong to your model, so the
|
|
36934
|
-
* element does not render tokens from a list of strings.
|
|
36935
|
-
*
|
|
36936
|
-
*
|
|
36811
|
+
* element does not render tokens from a list of strings. Combobox works the
|
|
36812
|
+
* other way: its tokens show a selection it owns, drawn from the options it was
|
|
36813
|
+
* given.
|
|
36937
36814
|
*
|
|
36938
36815
|
* `value` is the typed text. Every keystroke fires `input` with the text on the
|
|
36939
36816
|
* element, so a table can narrow as the user types. Backspace in an empty field
|
|
@@ -36988,17 +36865,8 @@ interface Tags {
|
|
|
36988
36865
|
* nothing draws it and the menu has no page for it, and the grammar still reads
|
|
36989
36866
|
* it.
|
|
36990
36867
|
*
|
|
36991
|
-
* **The picker has an entry of its own.**
|
|
36992
|
-
*
|
|
36993
|
-
* leaves it out. A page that writes a `FilterMenu` imports both entries:
|
|
36994
|
-
*
|
|
36995
|
-
* ```js
|
|
36996
|
-
* import '@fusion.dev/helix/filter-input'
|
|
36997
|
-
* import '@fusion.dev/helix/filter-input/menu'
|
|
36998
|
-
* ```
|
|
36999
|
-
*
|
|
37000
|
-
* A picker written without the second is reported once the page has loaded,
|
|
37001
|
-
* with the entry to add.
|
|
36868
|
+
* **The picker has an entry of its own.** A picker written without it is
|
|
36869
|
+
* reported once the page has loaded, with the entry to add.
|
|
37002
36870
|
*
|
|
37003
36871
|
* **Suggestions.** Slot options into `suggestions` and the field shows them,
|
|
37004
36872
|
* moves through them with the arrow keys, and presses one on Enter. The option
|
|
@@ -37041,8 +36909,7 @@ interface Tags {
|
|
|
37041
36909
|
* this library. `default-value` seeds the field.
|
|
37042
36910
|
* - `open` is the suggestions panel. Cancel `helix-before-open` or
|
|
37043
36911
|
* `helix-before-close` to control it, and use `default-open` to seed it.
|
|
37044
|
-
* - Tokens are your elements in a slot and hold no state. A
|
|
37045
|
-
* remove it from your markup after `helix-dismiss`. A `FilterChip` naming a
|
|
36912
|
+
* - Tokens are your elements in a slot and hold no state. A `FilterChip` naming a
|
|
37046
36913
|
* declared field works differently, because the picker holds what is ticked
|
|
37047
36914
|
* and removing the chip alone would leave its value ticked in the hidden
|
|
37048
36915
|
* menu. Its dismissal is treated as the field being filtered by nothing, so
|
|
@@ -37050,18 +36917,10 @@ interface Tags {
|
|
|
37050
36917
|
* when the filter goes. Set `chips` and the field adds, updates, and removes
|
|
37051
36918
|
* those chips itself, from every `helix-facet`.
|
|
37052
36919
|
*
|
|
37053
|
-
* **The suggestions you write are an import of their own.**
|
|
37054
|
-
*
|
|
37055
|
-
*
|
|
37056
|
-
*
|
|
37057
|
-
* ```js
|
|
37058
|
-
* import '@fusion.dev/helix/filter-input'
|
|
37059
|
-
* import '@fusion.dev/helix/option'
|
|
37060
|
-
* ```
|
|
37061
|
-
*
|
|
37062
|
-
* In development, a field holding an option nobody registered says so once the
|
|
37063
|
-
* page has loaded, with the line to add. The options `source` gives are drawn
|
|
37064
|
-
* as this Option too, and need the same import.
|
|
36920
|
+
* **The suggestions you write are an import of their own.** In development, a
|
|
36921
|
+
* field holding an option nobody registered says so once the page has loaded,
|
|
36922
|
+
* with the line to add. The options `source` gives are drawn as Option too, and
|
|
36923
|
+
* need the Option import as well.
|
|
37065
36924
|
*
|
|
37066
36925
|
* ## Attributes & Properties
|
|
37067
36926
|
*
|
|
@@ -37347,8 +37206,8 @@ interface Tags {
|
|
|
37347
37206
|
*
|
|
37348
37207
|
* **`elapsed` shows compact relative time for a feed**, such as "42m", "3h", or
|
|
37349
37208
|
* "1d". After six days it shows a date. In en-US, `Intl.NumberFormat` narrow
|
|
37350
|
-
* renders both `minute` and `month` as `m
|
|
37351
|
-
*
|
|
37209
|
+
* renders both `minute` and `month` as `m`. `elapsedTime` in `helix/core` does
|
|
37210
|
+
* the measurement.
|
|
37352
37211
|
*
|
|
37353
37212
|
* **`relative` shows the same reading in words**, such as "3 hours ago" at
|
|
37354
37213
|
* `long`, "3 hr. ago" at `short` and "3h ago" at `narrow`, the styles
|
|
@@ -37368,8 +37227,7 @@ interface Tags {
|
|
|
37368
37227
|
* `frozen` draws the reading once and leaves it.
|
|
37369
37228
|
*
|
|
37370
37229
|
* **`fields` draws each field of a date as a part of its own**, such as
|
|
37371
|
-
* `day`, `month` and `year
|
|
37372
|
-
* or the weekday in capitals with `::part()`. The text between the fields is
|
|
37230
|
+
* `day`, `month` and `year`. The text between the fields is
|
|
37373
37231
|
* the locale's own and has no part. An `elapsed` or `relative` reading is one
|
|
37374
37232
|
* phrase, with no parts inside it.
|
|
37375
37233
|
*
|
|
@@ -37478,13 +37336,10 @@ interface Tags {
|
|
|
37478
37336
|
* a toolbar and one tab stop too, the arrow keys moving between them by where
|
|
37479
37337
|
* they sit on screen.
|
|
37480
37338
|
*
|
|
37481
|
-
* `nodes` and `links` are properties, never markup: a graph of ten thousand
|
|
37482
|
-
* notes as ten thousand elements would cost what the renderer exists to save.
|
|
37483
37339
|
* The list draws only the rows in view.
|
|
37484
37340
|
*
|
|
37485
37341
|
* The list scrolls on this tier. It carries `data-scroller`, and `core` ships
|
|
37486
|
-
* `[data-scroller] { overflow: auto }` into every shadow root.
|
|
37487
|
-
* to set a block size on the list, or it grows to hold every row.
|
|
37342
|
+
* `[data-scroller] { overflow: auto }` into every shadow root.
|
|
37488
37343
|
*
|
|
37489
37344
|
* ## Attributes & Properties
|
|
37490
37345
|
*
|
|
@@ -37688,9 +37543,8 @@ interface Tags {
|
|
|
37688
37543
|
*/
|
|
37689
37544
|
"helix-headless-graph": { element: HelixHeadlessGraph; props: HelixHeadlessGraphProps; solid: HelixHeadlessGraphSolidJsProps };
|
|
37690
37545
|
/**
|
|
37691
|
-
* A grid of cells, each colored by a tone.
|
|
37692
|
-
*
|
|
37693
|
-
* discrete levels, which a set of tones covers.
|
|
37546
|
+
* A grid of cells, each colored by a tone. GitHub's contribution graph uses
|
|
37547
|
+
* five discrete levels, which a set of tones covers.
|
|
37694
37548
|
*
|
|
37695
37549
|
* Color in a heatmap is per cell. In every other Helix chart, color is per
|
|
37696
37550
|
* series, so ninety differently colored cells would need ninety series.
|
|
@@ -37918,13 +37772,10 @@ interface Tags {
|
|
|
37918
37772
|
* It closes on Escape and on a press elsewhere.
|
|
37919
37773
|
*
|
|
37920
37774
|
* **It adds to the link and never stands in for it.** The link still goes
|
|
37921
|
-
* where it goes when pressed
|
|
37922
|
-
* the link without opening the card. So put nothing in the card that a
|
|
37923
|
-
* reader can only reach there.
|
|
37775
|
+
* where it goes when pressed.
|
|
37924
37776
|
*
|
|
37925
|
-
* **Opening moves no focus.** A reader who tabbed to the link stays on it
|
|
37926
|
-
*
|
|
37927
|
-
* page's order: place the element right after the link. The card is no
|
|
37777
|
+
* **Opening moves no focus.** A reader who tabbed to the link stays on it.
|
|
37778
|
+
* The card is no
|
|
37928
37779
|
* description of the link and names nothing on it, so a screen reader reads
|
|
37929
37780
|
* the link as it is and the card as content when it is reached.
|
|
37930
37781
|
*
|
|
@@ -38067,9 +37918,8 @@ interface Tags {
|
|
|
38067
37918
|
*
|
|
38068
37919
|
* **A name is looked up in a registry.** The family's entry registers the
|
|
38069
37920
|
* whole set, so any name in it draws, and `icon/all` registers the same set.
|
|
38070
|
-
*
|
|
38071
|
-
*
|
|
38072
|
-
* names ships those and no others. `registerIconLibrary` resolves names under a prefix of your own,
|
|
37921
|
+
* `registerIcons` adds glyphs to the registry by name. `registerIconLibrary`
|
|
37922
|
+
* resolves names under a prefix of your own,
|
|
38073
37923
|
* such as `lucide:camera`, at once or later, and the element fires `load` when
|
|
38074
37924
|
* a glyph that came later is drawn. A glyph registered after the element
|
|
38075
37925
|
* rendered is drawn then.
|
|
@@ -38204,8 +38054,7 @@ interface Tags {
|
|
|
38204
38054
|
*
|
|
38205
38055
|
* Validity comes from the browser. `type` and `required` are set on the real
|
|
38206
38056
|
* input, and its `validity` is copied to the host. `validate` adds your own
|
|
38207
|
-
* rule,
|
|
38208
|
-
* Aria's TextField `validate` does. What it returns is the message the field
|
|
38057
|
+
* rule, as React Aria's TextField `validate` does. What it returns is the message the field
|
|
38209
38058
|
* shows once the user has edited it, and the message a submit raises.
|
|
38210
38059
|
*
|
|
38211
38060
|
* **Keyboard.** The field's own keys are the platform's. Enter submits the
|
|
@@ -38329,17 +38178,6 @@ interface Tags {
|
|
|
38329
38178
|
/**
|
|
38330
38179
|
* Renders a `<kbd>` element.
|
|
38331
38180
|
*
|
|
38332
|
-
* Each element holds one key, except when you use `keys`. For a sequence or a
|
|
38333
|
-
* chord, write one element per key and put the separator between them as text,
|
|
38334
|
-
* such as "then" or "plus".
|
|
38335
|
-
*
|
|
38336
|
-
* `keys` renders the right glyphs for the platform. Given `mod`, it renders
|
|
38337
|
-
* `⌘K` on Apple devices and `Ctrl+K` everywhere else. A `⌘K` typed into a
|
|
38338
|
-
* template is wrong for anyone on Windows.
|
|
38339
|
-
*
|
|
38340
|
-
* The element binds the shortcut only when `within` is set. By default it draws
|
|
38341
|
-
* the key and listens for nothing.
|
|
38342
|
-
*
|
|
38343
38181
|
* **`for` names the control the shortcut works**, and the key writes its chord
|
|
38344
38182
|
* onto that control's `aria-keyshortcuts`, in the platform's words (`Meta+K`
|
|
38345
38183
|
* on an Apple keyboard, `Control+K` elsewhere), so a screen reader announces
|
|
@@ -38392,16 +38230,13 @@ interface Tags {
|
|
|
38392
38230
|
"helix-headless-kbd": { element: HelixHeadlessKbd; props: HelixHeadlessKbdProps; solid: HelixHeadlessKbdSolidJsProps };
|
|
38393
38231
|
/**
|
|
38394
38232
|
* Renders a legend as a list, separate from any chart, so any chart can use
|
|
38395
|
-
* one.
|
|
38396
|
-
* from that table, so the two always match.
|
|
38233
|
+
* one.
|
|
38397
38234
|
*
|
|
38398
38235
|
* `entries` sets how the table is read:
|
|
38399
38236
|
*
|
|
38400
|
-
* - `series`: one entry per data column, named by the header row.
|
|
38401
|
-
*
|
|
38402
|
-
* - `
|
|
38403
|
-
* the rows and which has no axis to name them on.
|
|
38404
|
-
* - `measures`: drops the first data column. Use it for a scatter.
|
|
38237
|
+
* - `series`: one entry per data column, named by the header row.
|
|
38238
|
+
* - `categories`: one entry per body row.
|
|
38239
|
+
* - `measures`: drops the first data column.
|
|
38405
38240
|
*
|
|
38406
38241
|
* The table is resolved on the client. There is no server pass.
|
|
38407
38242
|
*
|
|
@@ -38495,15 +38330,13 @@ interface Tags {
|
|
|
38495
38330
|
* item with no `value` by its place, counted from 1, as in `Steps`, so a set
|
|
38496
38331
|
* written without values moves and `helix-activate` says `1`, `2` and so on.
|
|
38497
38332
|
*
|
|
38498
|
-
*
|
|
38499
|
-
*
|
|
38500
|
-
*
|
|
38501
|
-
* of one item has nothing to step to, so it draws no previous, next or counter.
|
|
38502
|
-
* it, compose the chrome yourself in the `header` and `footer` slots, with
|
|
38503
|
-
* buttons that send `--previous`, `--next` and `--close`.
|
|
38333
|
+
* The viewer's own controls, drawn with `controls`, are named by
|
|
38334
|
+
* `previous-label`, `next-label` and `dismiss-label`, and you can replace their
|
|
38335
|
+
* glyphs in the `previous-icon`, `next-icon` and `dismiss-icon` slots. A set
|
|
38336
|
+
* of one item has nothing to step to, so it draws no previous, next or counter.
|
|
38504
38337
|
*
|
|
38505
|
-
* **
|
|
38506
|
-
*
|
|
38338
|
+
* **Under `max-zoom`, a reader zooms into the shown item.** Two fingers
|
|
38339
|
+
* pinch it, and so does a trackpad pinch or the wheel with Ctrl
|
|
38507
38340
|
* held, about the point under the pointer. A double click or a double tap
|
|
38508
38341
|
* zooms all the way in about the point pressed and back out, and once zoomed
|
|
38509
38342
|
* one pointer drags it about and the wheel moves it. `+` and `-` zoom in and out from the keyboard, and `0` puts it back.
|
|
@@ -38640,11 +38473,6 @@ interface Tags {
|
|
|
38640
38473
|
/**
|
|
38641
38474
|
* A line chart shows the shape of each series: where the readings went.
|
|
38642
38475
|
*
|
|
38643
|
-
* The scale covers the range of the data. Including zero in the range of a
|
|
38644
|
-
* series that moves between 980 and 1020 would flatten the line into a rule
|
|
38645
|
-
* across the top of the box. `BarChart` always starts at zero, because a bar's
|
|
38646
|
-
* length is its value. Set `zero` when the distance from zero is the point.
|
|
38647
|
-
*
|
|
38648
38476
|
* Every series shares one scale, as in the bar chart.
|
|
38649
38477
|
*
|
|
38650
38478
|
* `dashed` names the series drawn as a dashed line, such as a forecast or a
|
|
@@ -38681,8 +38509,7 @@ interface Tags {
|
|
|
38681
38509
|
*
|
|
38682
38510
|
* **`data` takes the readings as data** where the page has no table to point
|
|
38683
38511
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
38684
|
-
* with its label first.
|
|
38685
|
-
* show one, since it reads before any script runs.
|
|
38512
|
+
* with its label first.
|
|
38686
38513
|
*
|
|
38687
38514
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
38688
38515
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -38936,11 +38763,8 @@ interface Tags {
|
|
|
38936
38763
|
* A press with Shift selects every row from the last one pressed, and a press
|
|
38937
38764
|
* with Control or Command adds or takes out one row under `replace`.
|
|
38938
38765
|
*
|
|
38939
|
-
*
|
|
38940
|
-
*
|
|
38941
|
-
* grid rows, which hold controls as a list box option cannot. Give a control
|
|
38942
|
-
* in `end` `tabindex="-1"` to leave it to the arrow keys and out of the tab
|
|
38943
|
-
* order.
|
|
38766
|
+
* Give a control in `end` of an interactive list `tabindex="-1"` to leave it
|
|
38767
|
+
* to the arrow keys and out of the tab order.
|
|
38944
38768
|
*
|
|
38945
38769
|
* **`reorderable` lets you move rows.** Each row gets a grip after its `end`
|
|
38946
38770
|
* slot, named by `move-label`. Drag a grip to move its row, and the list
|
|
@@ -38949,8 +38773,7 @@ interface Tags {
|
|
|
38949
38773
|
* it. A click on another row drops it there, and Escape puts it back. The list
|
|
38950
38774
|
* says each step in its `live` region. A drop sends `helix-before-reorder`,
|
|
38951
38775
|
* which you can refuse, and then `helix-reorder`, whose `keys` hold every
|
|
38952
|
-
* row's value in the new order.
|
|
38953
|
-
* element of yours, so your framework keeps the order it rendered.
|
|
38776
|
+
* row's value in the new order.
|
|
38954
38777
|
*
|
|
38955
38778
|
* | Key, on a held row's grip | What it does |
|
|
38956
38779
|
* |---|---|
|
|
@@ -38980,10 +38803,9 @@ interface Tags {
|
|
|
38980
38803
|
*
|
|
38981
38804
|
* **Loading more.** `load-more` sends `helix-load-more` once the end of the
|
|
38982
38805
|
* list comes within a screen of view, in the box that scrolls it or the page,
|
|
38983
|
-
* once for each number of rows: add rows and it can send it again. While
|
|
38984
|
-
*
|
|
38985
|
-
*
|
|
38986
|
-
* list asks for nothing while `loading` is set.
|
|
38806
|
+
* once for each number of rows: add rows and it can send it again. While
|
|
38807
|
+
* `loading` is set, the list is busy, and a row after the last says "Loading"
|
|
38808
|
+
* (`loading-text`, or your own content in the `loading` slot).
|
|
38987
38809
|
*
|
|
38988
38810
|
* An interactive list with no name is reported once in a development build,
|
|
38989
38811
|
* since a screen reader announces it as a grid and nothing more. Name it with
|
|
@@ -39104,9 +38926,8 @@ interface Tags {
|
|
|
39104
38926
|
* left, such as "3 results", from `result-label` and `results-label`. A filter
|
|
39105
38927
|
* that leaves none says `no-results-text`.
|
|
39106
38928
|
*
|
|
39107
|
-
*
|
|
39108
|
-
*
|
|
39109
|
-
* imported, `reorderable` lets a reader move options:
|
|
38929
|
+
* With `@fusion.dev/helix/listbox/reorder` imported, `reorderable` lets a
|
|
38930
|
+
* reader move options:
|
|
39110
38931
|
*
|
|
39111
38932
|
* - Alt with Up or Down moves the highlighted option a place, and Alt with
|
|
39112
38933
|
* Home or End moves it to either end, as the APG's rearrangeable listbox
|
|
@@ -39114,9 +38935,7 @@ interface Tags {
|
|
|
39114
38935
|
* - A pointer drags an option, with a drop indicator, and the list scrolls near
|
|
39115
38936
|
* an edge. A press that does not travel still chooses the option.
|
|
39116
38937
|
* - A drop sends `helix-before-reorder`, which you can refuse, and then
|
|
39117
|
-
* `helix-reorder
|
|
39118
|
-
* move the options**, or set `items` in the new order: the list moves no
|
|
39119
|
-
* element of yours.
|
|
38938
|
+
* `helix-reorder`.
|
|
39120
38939
|
* - The list says each move in its `live` region. The words are the
|
|
39121
38940
|
* `moved-label`, `canceled-label`, `dropped-label`, and `picked-up-label`
|
|
39122
38941
|
* attributes, which the import reads.
|
|
@@ -39124,18 +38943,8 @@ interface Tags {
|
|
|
39124
38943
|
* filter narrows the list, under `layout="grid"`, or while the list is
|
|
39125
38944
|
* disabled.
|
|
39126
38945
|
*
|
|
39127
|
-
* **The options are an import of their own.** An option you write is the Option
|
|
39128
|
-
* family's, which the list does not register, so a page that writes one imports
|
|
39129
|
-
* it beside the list:
|
|
39130
|
-
*
|
|
39131
|
-
* ```js
|
|
39132
|
-
* import '@fusion.dev/helix/listbox'
|
|
39133
|
-
* import '@fusion.dev/helix/option'
|
|
39134
|
-
* ```
|
|
39135
|
-
*
|
|
39136
38946
|
* In development, a list holding an option nobody registered says so once the
|
|
39137
|
-
* page has loaded, with the line to add.
|
|
39138
|
-
* Option too, and need the same import.
|
|
38947
|
+
* page has loaded, with the line to add.
|
|
39139
38948
|
*
|
|
39140
38949
|
* ## Attributes & Properties
|
|
39141
38950
|
*
|
|
@@ -39276,15 +39085,11 @@ interface Tags {
|
|
|
39276
39085
|
* a `role` attribute on the host would be missing from React server-rendered
|
|
39277
39086
|
* markup.
|
|
39278
39087
|
*
|
|
39279
|
-
*
|
|
39280
|
-
*
|
|
39281
|
-
*
|
|
39282
|
-
* loaders in one region hold it busy until the last one leaves. A region drawn
|
|
39283
|
-
* after the loader is marked when it arrives.
|
|
39088
|
+
* The loader sets `aria-busy="true"` on the region `for` names for as long as
|
|
39089
|
+
* the loader is on the page. Two loaders in one region hold it busy until the
|
|
39090
|
+
* last one leaves. A region drawn after the loader is marked when it arrives.
|
|
39284
39091
|
*
|
|
39285
|
-
*
|
|
39286
|
-
* hidden, and silent, for that many milliseconds, and appears only if the work
|
|
39287
|
-
* is still going. While it waits it carries `:state(waiting)`.
|
|
39092
|
+
* While `delay` holds the loader back, it carries `:state(waiting)`.
|
|
39288
39093
|
*
|
|
39289
39094
|
* **The loader can stand in for what it wraps.** Put the content in the
|
|
39290
39095
|
* `content` slot, such as a button or a card, and set `idle` while no work is
|
|
@@ -39492,9 +39297,7 @@ interface Tags {
|
|
|
39492
39297
|
* arrive, since reading a build aloud line by line helps nobody. A separate
|
|
39493
39298
|
* status region says each line at `error` once it arrives, each step once it
|
|
39494
39299
|
* finishes or fails, and the end of the run once `done` is set or `source`
|
|
39495
|
-
* ends.
|
|
39496
|
-
* where something around the log speaks for it, as a chat turn does for an
|
|
39497
|
-
* agent's work.
|
|
39300
|
+
* ends.
|
|
39498
39301
|
*
|
|
39499
39302
|
* The log scrolls on this tier. It carries `data-scroller`, so following the
|
|
39500
39303
|
* newest line and drawing a window work with no stylesheet. Give the log a
|
|
@@ -39947,9 +39750,7 @@ interface Tags {
|
|
|
39947
39750
|
* and pressing it turns the map to face north.
|
|
39948
39751
|
*
|
|
39949
39752
|
* Add `pan` and `rotate` for buttons around the compass that move and turn the
|
|
39950
|
-
* map.
|
|
39951
|
-
* where the map has to be usable without dragging, as WCAG 2.2 asks at level
|
|
39952
|
-
* AA. The arrow keys pan the map and Shift with Left or Right turns it either
|
|
39753
|
+
* map. The arrow keys pan the map and Shift with Left or Right turns it either
|
|
39953
39754
|
* way. The buttons are a toolbar and one tab stop: on them, the arrow keys
|
|
39954
39755
|
* move between the buttons by where they sit, and Shift with an arrow still
|
|
39955
39756
|
* turns or tilts the map.
|
|
@@ -39985,9 +39786,8 @@ interface Tags {
|
|
|
39985
39786
|
* Markers, routes, areas, live positions, and points layers go inside the
|
|
39986
39787
|
* frame as child elements.
|
|
39987
39788
|
*
|
|
39988
|
-
* **Each element has an entry of its own
|
|
39989
|
-
*
|
|
39990
|
-
* writes, such as a marker and a route:
|
|
39789
|
+
* **Each element has an entry of its own**, such as the frame, a marker, and a
|
|
39790
|
+
* route:
|
|
39991
39791
|
*
|
|
39992
39792
|
* ```js
|
|
39993
39793
|
* import '@fusion.dev/helix/map/root'
|
|
@@ -40263,11 +40063,9 @@ interface Tags {
|
|
|
40263
40063
|
*/
|
|
40264
40064
|
"helix-headless-map-terrain": { element: HelixHeadlessMapTerrain; props: HelixHeadlessMapTerrainProps; solid: HelixHeadlessMapTerrainSolidJsProps };
|
|
40265
40065
|
/**
|
|
40266
|
-
*
|
|
40267
|
-
*
|
|
40268
|
-
*
|
|
40269
|
-
* added to the line it ends, and a code block, a list, or a table fills in
|
|
40270
|
-
* where it stands. Text you can already read does not move.
|
|
40066
|
+
* `text` is the Markdown. A block that has ended is never drawn again, a word
|
|
40067
|
+
* arriving is added to the line it ends, and a code block, a list, or a table
|
|
40068
|
+
* fills in where it stands. Text you can already read does not move.
|
|
40271
40069
|
*
|
|
40272
40070
|
* - A fence becomes a `Code Block`, with its language as its `label` and its
|
|
40273
40071
|
* `language`, so a highlighter given to `registerHighlighter` colors it as it
|
|
@@ -40287,9 +40085,7 @@ interface Tags {
|
|
|
40287
40085
|
*
|
|
40288
40086
|
* **The document is drawn in the element's own children**, so the page's
|
|
40289
40087
|
* `data-prose` styles reach it, a reader can select and find its text, and a
|
|
40290
|
-
* server can send it.
|
|
40291
|
-
* server, render `markdownToHtml(text)` inside the element: where what it was
|
|
40292
|
-
* sent is exactly what it would draw, it keeps it and draws nothing again.
|
|
40088
|
+
* server can send it.
|
|
40293
40089
|
*
|
|
40294
40090
|
* What it reads is CommonMark with GitHub's tables, task lists,
|
|
40295
40091
|
* strikethrough, autolinks, and alerts. A line of `===` or `---` under a
|
|
@@ -40331,9 +40127,8 @@ interface Tags {
|
|
|
40331
40127
|
* disclosure, middle clicks, modified clicks, and the status bar keep working.
|
|
40332
40128
|
* Use `Menu` for a row of commands.
|
|
40333
40129
|
*
|
|
40334
|
-
* It renders no links.
|
|
40335
|
-
*
|
|
40336
|
-
* you write.
|
|
40130
|
+
* It renders no links. The panel is a slot for the lists and headings you
|
|
40131
|
+
* write.
|
|
40337
40132
|
*
|
|
40338
40133
|
* It opens on hover by default, and a press always opens it too. `open-on` sets
|
|
40339
40134
|
* which. Hover is the default because in a navigation bar people expect to move
|
|
@@ -40585,17 +40380,12 @@ interface Tags {
|
|
|
40585
40380
|
* sets this on items as a property, never as an attribute. An attribute written
|
|
40586
40381
|
* onto your element after it upgrades causes a hydration mismatch.
|
|
40587
40382
|
*
|
|
40588
|
-
*
|
|
40589
|
-
*
|
|
40590
|
-
*
|
|
40591
|
-
*
|
|
40592
|
-
*
|
|
40593
|
-
*
|
|
40594
|
-
* element of your own, such as a `<div>` or a component's host element, is
|
|
40595
|
-
* skipped by the arrow keys, and a drilled page hides that element with the
|
|
40596
|
-
* rest of the top page, so the row's submenu shows none of its rows. A
|
|
40597
|
-
* development build warns about it as `wrapped-row`. In a framework, render a
|
|
40598
|
-
* component's rows without a wrapper element, such as with a fragment.
|
|
40383
|
+
* A row inside an element of your own, such as a `<div>` or a component's
|
|
40384
|
+
* host element, is skipped by the arrow keys, and a drilled page hides that
|
|
40385
|
+
* element with the rest of the top page, so the row's submenu shows none of
|
|
40386
|
+
* its rows. A development build warns about it as `wrapped-row`. In a
|
|
40387
|
+
* framework, render a component's rows without a wrapper element, such as
|
|
40388
|
+
* with a fragment.
|
|
40599
40389
|
*
|
|
40600
40390
|
* Keys: Enter, Space or Down Arrow on the trigger opens the menu on its first
|
|
40601
40391
|
* row, and Up Arrow on its last. In the menu, Up and Down Arrow move between
|
|
@@ -40639,16 +40429,8 @@ interface Tags {
|
|
|
40639
40429
|
* opens it from the keyboard, and the trigger is described by
|
|
40640
40430
|
* `long-press-label`, which says so.
|
|
40641
40431
|
*
|
|
40642
|
-
*
|
|
40643
|
-
* a
|
|
40644
|
-
*
|
|
40645
|
-
* ```js
|
|
40646
|
-
* import '@fusion.dev/helix/menu'
|
|
40647
|
-
* import '@fusion.dev/helix/menu/filter'
|
|
40648
|
-
* ```
|
|
40649
|
-
*
|
|
40650
|
-
* With it imported and `filterable` set, the menu opens with focus in a field
|
|
40651
|
-
* above its rows, and typing narrows the rows of the page the keys move in,
|
|
40432
|
+
* With the filter imported and `filterable` set, the menu opens with focus in
|
|
40433
|
+
* a field above its rows, and typing narrows the rows of the page the keys move in,
|
|
40652
40434
|
* as React Aria's `Autocomplete` around a `Menu` does. A row is kept where its
|
|
40653
40435
|
* words hold the filter, in any case, or where `filterMatch` says so. Each
|
|
40654
40436
|
* page starts unfiltered, and the filter is cleared as the menu closes. Where
|
|
@@ -40782,17 +40564,14 @@ interface Tags {
|
|
|
40782
40564
|
*/
|
|
40783
40565
|
"helix-headless-menu-section": { element: HelixHeadlessMenuSection; props: HelixHeadlessMenuSectionProps; solid: HelixHeadlessMenuSectionSolidJsProps };
|
|
40784
40566
|
/**
|
|
40785
|
-
* A meter shows a level within a range, or how the level divides
|
|
40786
|
-
* `
|
|
40787
|
-
* their sum. Use `Progress` to show how far along a
|
|
40567
|
+
* A meter shows a level within a range, or how the level divides. Use
|
|
40568
|
+
* `Progress` to show how far along a
|
|
40788
40569
|
* task is. A progress bar starts empty and ends full, and full is always the
|
|
40789
40570
|
* good end. For a meter, which end is good depends on what is measured. There
|
|
40790
40571
|
* is no `indeterminate`, because a meter always has a value.
|
|
40791
40572
|
*
|
|
40792
|
-
*
|
|
40793
|
-
*
|
|
40794
|
-
* band. `optimum` sets the preferred band. The band next to it is fair, and the
|
|
40795
|
-
* band two away is poor.
|
|
40573
|
+
* The bands follow the HTML specification: the band next to the preferred one
|
|
40574
|
+
* is fair, and the band two away is poor.
|
|
40796
40575
|
*
|
|
40797
40576
|
* The band is a custom state on the meter, `good`, `fair` or `poor`, beside
|
|
40798
40577
|
* `over` and `under` for a value past an end, so a page styles the meter
|
|
@@ -40966,9 +40745,8 @@ interface Tags {
|
|
|
40966
40745
|
* A router renders its own anchors and cannot render them inside the
|
|
40967
40746
|
* component's shadow root.
|
|
40968
40747
|
*
|
|
40969
|
-
* The component moves a marker to the current item.
|
|
40970
|
-
*
|
|
40971
|
-
* places the marker. Any value but `false` counts, so a sidebar of sections on
|
|
40748
|
+
* The component moves a marker to the current item. Any `aria-current` value
|
|
40749
|
+
* but `false` counts, so a sidebar of sections on
|
|
40972
40750
|
* one page can mark the section in view with `aria-current="location"`. Where
|
|
40973
40751
|
* several are marked, `page` wins.
|
|
40974
40752
|
*
|
|
@@ -41229,9 +41007,7 @@ interface Tags {
|
|
|
41229
41007
|
* takes focus itself and is read by its label. `ArrowDown` and `ArrowUp` move to the next and the
|
|
41230
41008
|
* previous row, `Home` and `End` to the first and the last, and `PageDown` and
|
|
41231
41009
|
* `PageUp` move a row on or back from anywhere inside one, as in the APG feed
|
|
41232
|
-
* pattern. The controls inside a row stay in the `Tab` order.
|
|
41233
|
-
* the feed holds one page of a longer list, and each row says its place in the
|
|
41234
|
-
* whole of it.
|
|
41010
|
+
* pattern. The controls inside a row stay in the `Tab` order.
|
|
41235
41011
|
*
|
|
41236
41012
|
* **Keyboard.**
|
|
41237
41013
|
*
|
|
@@ -41246,13 +41022,11 @@ interface Tags {
|
|
|
41246
41022
|
*
|
|
41247
41023
|
* **A notification that arrives says so.** Unread rows added above the rows
|
|
41248
41024
|
* there were are counted in the live region,
|
|
41249
|
-
* "1 new notification", in `arrived-label`.
|
|
41250
|
-
* is set say nothing, so set it while a page is on its way.
|
|
41025
|
+
* "1 new notification", in `arrived-label`.
|
|
41251
41026
|
*
|
|
41252
41027
|
* **`load-more` adds a button after the list** that sends `helix-load-more`,
|
|
41253
|
-
* for a feed that holds one page of a longer list. Append the next page
|
|
41254
|
-
*
|
|
41255
|
-
* nothing more. While the feed is loading the button stays, so focus stays on
|
|
41028
|
+
* for a feed that holds one page of a longer list. Append the next page in
|
|
41029
|
+
* your listener. While the feed is loading the button stays, so focus stays on
|
|
41256
41030
|
* it, and it is `aria-disabled` and sends nothing.
|
|
41257
41031
|
*
|
|
41258
41032
|
* **`error-text` says a page could not be fetched**, such as "Could not load
|
|
@@ -41345,7 +41119,7 @@ interface Tags {
|
|
|
41345
41119
|
* `format-options` shows the number with `Intl.NumberFormat` in `locale`, as a
|
|
41346
41120
|
* currency, a percent or a unit, while the field is not being edited. Focus
|
|
41347
41121
|
* shows the number itself, and a typed `$1,200` or `25%` is read back with the
|
|
41348
|
-
* same options.
|
|
41122
|
+
* same options.
|
|
41349
41123
|
* The locale's group separators are read in every field, so `1,234` is a
|
|
41350
41124
|
* number in `en-US`.
|
|
41351
41125
|
*
|
|
@@ -41473,9 +41247,8 @@ interface Tags {
|
|
|
41473
41247
|
* or a raw record, as a read-only tree with each entry's type visible.
|
|
41474
41248
|
*
|
|
41475
41249
|
* Pass the object to `value`, or name a `<script type="application/json">` by
|
|
41476
|
-
* id with `for`, the same source `VirtualList` and the charts read.
|
|
41477
|
-
*
|
|
41478
|
-
* properties. `value` wins when both are set.
|
|
41250
|
+
* id with `for`, the same source `VirtualList` and the charts read. `value`
|
|
41251
|
+
* wins when both are set.
|
|
41479
41252
|
*
|
|
41480
41253
|
* **Keyboard.** The tree is one tab stop, and focus moves from row to row.
|
|
41481
41254
|
*
|
|
@@ -41534,8 +41307,6 @@ interface Tags {
|
|
|
41534
41307
|
* key. Filtering and copying still read the value itself.
|
|
41535
41308
|
*
|
|
41536
41309
|
* `windowed` draws only the rows in view, for values with thousands of entries.
|
|
41537
|
-
* The box needs a height for windowing to work. The styled tier sets one, and
|
|
41538
|
-
* in the headless tier you set it yourself.
|
|
41539
41310
|
*
|
|
41540
41311
|
* ## Attributes & Properties
|
|
41541
41312
|
*
|
|
@@ -41687,11 +41458,9 @@ interface Tags {
|
|
|
41687
41458
|
* option's description. A name you give with `aria-label` or
|
|
41688
41459
|
* `aria-labelledby` wins over both.
|
|
41689
41460
|
*
|
|
41690
|
-
*
|
|
41691
|
-
*
|
|
41692
|
-
*
|
|
41693
|
-
* they do on a row with no image, and the label stays its name, so give the
|
|
41694
|
-
* image an empty `alt`.
|
|
41461
|
+
* An option can be drawn as a tile, such as a photo or a product in a listbox
|
|
41462
|
+
* with `layout="grid"`. Choosing, the arrow keys and the highlight work as
|
|
41463
|
+
* they do on a row with no image.
|
|
41695
41464
|
*
|
|
41696
41465
|
* ## Attributes & Properties
|
|
41697
41466
|
*
|
|
@@ -41782,9 +41551,6 @@ interface Tags {
|
|
|
41782
41551
|
*
|
|
41783
41552
|
* A heading slotted into `heading` names the navigation, in place of `label`.
|
|
41784
41553
|
*
|
|
41785
|
-
* In a contents rail with a scrollbar of its own, `follow` keeps the link of
|
|
41786
|
-
* the section in view showing as the reader scrolls the page.
|
|
41787
|
-
*
|
|
41788
41554
|
* **Keyboard.** The links are your anchors, in the tab order as you wrote
|
|
41789
41555
|
* them, so the outline adds no keys of its own: Tab moves through the links
|
|
41790
41556
|
* and Enter follows one. Following a link moves focus to its section, so the
|
|
@@ -41883,18 +41649,13 @@ interface Tags {
|
|
|
41883
41649
|
* A gap appears only where it hides more than one page. A gap is a control: it
|
|
41884
41650
|
* goes to the middle of the pages it hides, so any page is a few presses away.
|
|
41885
41651
|
*
|
|
41886
|
-
*
|
|
41887
|
-
* page number. The links can be crawled, a middle click opens a tab, and the
|
|
41888
|
-
* address bar holds the state. Without `href` the pages are buttons, for a
|
|
41652
|
+
* Without `href` the pages are buttons, for a
|
|
41889
41653
|
* table that pages in place. Either way, a click dispatches
|
|
41890
41654
|
* `helix-before-navigate` first. Call `preventDefault()` to stop both the
|
|
41891
41655
|
* navigation and the page change, for example to hand navigation to a router.
|
|
41892
41656
|
* `helix-navigate` follows once the page has moved. There is no `change`,
|
|
41893
41657
|
* because moving to another page selects nothing.
|
|
41894
41658
|
*
|
|
41895
|
-
* `Pagination.Summary` and `Pagination.Size` are separate elements that you
|
|
41896
|
-
* place beside this one, so you choose where they go and in what order.
|
|
41897
|
-
*
|
|
41898
41659
|
* ## Attributes & Properties
|
|
41899
41660
|
*
|
|
41900
41661
|
* - `boundaries`: How many pages to show at each end, whatever the current one is.
|
|
@@ -42223,10 +41984,9 @@ interface Tags {
|
|
|
42223
41984
|
* `z-index`, and an ancestor with `overflow: hidden`, `transform`, `filter`, or
|
|
42224
41985
|
* `contain` does not clip or move it.
|
|
42225
41986
|
*
|
|
42226
|
-
* It opens on click and from a command
|
|
42227
|
-
*
|
|
42228
|
-
*
|
|
42229
|
-
* button that opens it this way says whether the popover is open: a Helix
|
|
41987
|
+
* It opens on click and from a command, such as `command="--show"`. From its
|
|
41988
|
+
* first press, a button that opens it with a command says whether the popover
|
|
41989
|
+
* is open: a Helix
|
|
42230
41990
|
* button through `expanded`, and any other element with `aria-expanded`.
|
|
42231
41991
|
*
|
|
42232
41992
|
* **Opening moves focus into the panel**, to the first control in it, or to the
|
|
@@ -42235,10 +41995,9 @@ interface Tags {
|
|
|
42235
41995
|
* out of the trigger and the panel to somewhere else on the page.
|
|
42236
41996
|
*
|
|
42237
41997
|
* `modal` keeps `Tab` inside the panel while it is open and says so with
|
|
42238
|
-
* `aria-modal
|
|
42239
|
-
*
|
|
42240
|
-
*
|
|
42241
|
-
* not scroll behind it. Without it the popover does not trap focus.
|
|
41998
|
+
* `aria-modal`. The rest of the page is hidden from screen readers with
|
|
41999
|
+
* `aria-hidden` while it is open, so the virtual cursor stays in the panel too,
|
|
42000
|
+
* and the page does not scroll behind it.
|
|
42242
42001
|
*
|
|
42243
42002
|
* A press outside closes the panel and leaves focus where the press put it.
|
|
42244
42003
|
* Where it put focus nowhere, as a press on text or on the page's background
|
|
@@ -42339,14 +42098,11 @@ interface Tags {
|
|
|
42339
42098
|
*/
|
|
42340
42099
|
"helix-headless-popover": { element: HelixHeadlessPopover; props: HelixHeadlessPopoverProps; solid: HelixHeadlessPopoverSolidJsProps };
|
|
42341
42100
|
/**
|
|
42342
|
-
* Determinate by default.
|
|
42343
|
-
*
|
|
42344
|
-
* the page.
|
|
42101
|
+
* Determinate by default. Use `Loader` for a short wait or one with no place of
|
|
42102
|
+
* its own on the page.
|
|
42345
42103
|
*
|
|
42346
|
-
*
|
|
42347
|
-
*
|
|
42348
|
-
* `aria-valuenow` is omitted in that state, which is the platform's signal for
|
|
42349
|
-
* the same thing.
|
|
42104
|
+
* An indeterminate bar omits `aria-valuenow`, which is the platform's signal
|
|
42105
|
+
* that the total is not known.
|
|
42350
42106
|
*
|
|
42351
42107
|
* The fill is a fraction of the track, written as a custom property.
|
|
42352
42108
|
*
|
|
@@ -42437,8 +42193,7 @@ interface Tags {
|
|
|
42437
42193
|
*
|
|
42438
42194
|
* A higher level holds fewer characters, so a value that fits at `M` can be too
|
|
42439
42195
|
* long once a logo raises the level to `H`. A value too long for the level
|
|
42440
|
-
*
|
|
42441
|
-
* shows what is in the `fallback` slot, such as the link written out.
|
|
42196
|
+
* fires `error` and carries `:state(overflow)`.
|
|
42442
42197
|
*
|
|
42443
42198
|
* `toSvg()`, `toPng()` and `download()` give the drawn code as a file of its
|
|
42444
42199
|
* own, in the colors it is drawn in, with a slotted image or SVG logo where
|
|
@@ -42525,16 +42280,13 @@ interface Tags {
|
|
|
42525
42280
|
* </helix-quick-filters>
|
|
42526
42281
|
* ```
|
|
42527
42282
|
*
|
|
42528
|
-
* Each button shows how many rows the preset would show
|
|
42529
|
-
* rows the table holds. A table in `server` mode holds one page, so give each
|
|
42530
|
-
* preset its `count`.
|
|
42283
|
+
* Each button shows how many rows the preset would show.
|
|
42531
42284
|
*
|
|
42532
42285
|
* **Save view.** The last button saves the table's whole view. It fires
|
|
42533
42286
|
* `helix-before-view-save` with the view and a name, which you can cancel to
|
|
42534
42287
|
* keep the view in your own store, and then `helix-view-save`. With
|
|
42535
42288
|
* `view-key`, the view is also kept in this browser's storage under that key
|
|
42536
|
-
* and drawn after your presets, and a saved preset can be removed.
|
|
42537
|
-
* it, nothing is kept: keep the view from the event.
|
|
42289
|
+
* and drawn after your presets, and a saved preset can be removed.
|
|
42538
42290
|
*
|
|
42539
42291
|
* The buttons are one tab stop, and the arrow keys, Home, and End move among
|
|
42540
42292
|
* them, as in a toolbar.
|
|
@@ -42583,11 +42335,8 @@ interface Tags {
|
|
|
42583
42335
|
/**
|
|
42584
42336
|
* Renders a real `<q>`, so the browser supplies the quotation marks. It inserts
|
|
42585
42337
|
* the correct marks for the document's language and nests them correctly when
|
|
42586
|
-
* one quotation sits inside another.
|
|
42587
|
-
*
|
|
42588
|
-
* runtime kind `typed-marks`. A quotation in a language other than the page's takes `lang` on the
|
|
42589
|
-
* element, and its marks follow it: `lang="de"` sets „…“ and `lang="fr"` «…»
|
|
42590
|
-
* inside an English page.
|
|
42338
|
+
* one quotation sits inside another. A quotation that starts or ends with a
|
|
42339
|
+
* typed mark warns once, with the runtime kind `typed-marks`.
|
|
42591
42340
|
*
|
|
42592
42341
|
* **`no-marks` leaves the marks off**, for a quotation whose marks the page
|
|
42593
42342
|
* draws itself, such as marks set in an accent color. The quotation still counts toward nesting, so a quote
|
|
@@ -42715,9 +42464,8 @@ interface Tags {
|
|
|
42715
42464
|
* it. The group is the form control, so each radio only exposes its role and
|
|
42716
42465
|
* dispatches an event when it is chosen.
|
|
42717
42466
|
*
|
|
42718
|
-
* The radio
|
|
42719
|
-
*
|
|
42720
|
-
* in the family that takes nothing from `MixinField`.
|
|
42467
|
+
* The radio is the only control in the family that takes nothing from
|
|
42468
|
+
* `MixinField`.
|
|
42721
42469
|
*
|
|
42722
42470
|
* When a radio is chosen, it dispatches an event, the group determines whether
|
|
42723
42471
|
* the choice stands, and the group writes `selected` back. The group is the one
|
|
@@ -42761,15 +42509,12 @@ interface Tags {
|
|
|
42761
42509
|
"helix-headless-radio": { element: HelixHeadlessRadio; props: HelixHeadlessRadioProps; solid: HelixHeadlessRadioSolidJsProps };
|
|
42762
42510
|
/**
|
|
42763
42511
|
* Supports half marks, so the value is not always an integer and the press
|
|
42764
|
-
* targets are not the marks
|
|
42765
|
-
*
|
|
42512
|
+
* targets are not the marks. The pointer handling and `step` are built around
|
|
42513
|
+
* half marks.
|
|
42766
42514
|
*
|
|
42767
42515
|
* A partial mark is the full mark, clipped. The filled marks are drawn over the
|
|
42768
42516
|
* empty marks and cut off partway, so any mark and any fraction work.
|
|
42769
42517
|
*
|
|
42770
|
-
* A read-only rating displays a score, which is the most common use. It is
|
|
42771
|
-
* announced as a displayed value and does not look disabled.
|
|
42772
|
-
*
|
|
42773
42518
|
* With `clearable`, pressing the chosen score again, or Backspace or Delete on
|
|
42774
42519
|
* the marks, takes the rating back to unrated and sends `helix-clear`.
|
|
42775
42520
|
*
|
|
@@ -42866,11 +42611,9 @@ interface Tags {
|
|
|
42866
42611
|
*/
|
|
42867
42612
|
"helix-headless-rating": { element: HelixHeadlessRating; props: HelixHeadlessRatingProps; solid: HelixHeadlessRatingSolidJsProps };
|
|
42868
42613
|
/**
|
|
42869
|
-
* A scatter chart shows how two measures relate.
|
|
42870
|
-
* column
|
|
42871
|
-
*
|
|
42872
|
-
* expectancy column draws one point for each country. Each additional numeric
|
|
42873
|
-
* column is another series, in its own color.
|
|
42614
|
+
* A scatter chart shows how two measures relate. A table of countries with an
|
|
42615
|
+
* income column and a life expectancy column draws one point for each country.
|
|
42616
|
+
* Each additional numeric column is another series, in its own color.
|
|
42874
42617
|
*
|
|
42875
42618
|
* Both axes are labeled, because both positions are values. The ticks sit at
|
|
42876
42619
|
* round numbers, and the range extends to them.
|
|
@@ -42916,8 +42659,7 @@ interface Tags {
|
|
|
42916
42659
|
*
|
|
42917
42660
|
* **`data` takes the readings as data** where the page has no table to point
|
|
42918
42661
|
* `for` at, in a table's shape: the column headings, then one row per reading
|
|
42919
|
-
* with its label first.
|
|
42920
|
-
* show one, since it reads before any script runs.
|
|
42662
|
+
* with its label first.
|
|
42921
42663
|
*
|
|
42922
42664
|
* **A chart with nothing to draw says so.** A table with no readings shows
|
|
42923
42665
|
* `empty-text`, "No readings", in the plot, and `loading` shows `loading-text`
|
|
@@ -43144,12 +42886,7 @@ interface Tags {
|
|
|
43144
42886
|
* place for focus to return to when the list closes.
|
|
43145
42887
|
*
|
|
43146
42888
|
* Your options stay in your light DOM and are slotted through into the listbox,
|
|
43147
|
-
* so the listbox looks through slots to find them.
|
|
43148
|
-
* group them in `Option.Group`, and divide them with `Option.Separator`.
|
|
43149
|
-
* Importing the Option entry registers all three. For a list too long to draw
|
|
43150
|
-
* whole, set `items` instead: the list draws only the options in sight, as
|
|
43151
|
-
* Listbox's `items` does, and the trigger, its keys and the form read the
|
|
43152
|
-
* whole set.
|
|
42889
|
+
* so the listbox looks through slots to find them.
|
|
43153
42890
|
*
|
|
43154
42891
|
* `Select` owns the value, passes it down to the listbox, and takes changes
|
|
43155
42892
|
* back, so the value lives in one place. With `multiple`, the value is the
|
|
@@ -43190,15 +42927,6 @@ interface Tags {
|
|
|
43190
42927
|
* Set `autocomplete` to let a browser's autofill choose, as a native `<select>`
|
|
43191
42928
|
* with the same attribute would.
|
|
43192
42929
|
*
|
|
43193
|
-
* **The options are an import of their own.** An option is the Option family's,
|
|
43194
|
-
* which the select does not register, so a page that writes one imports it
|
|
43195
|
-
* beside the select:
|
|
43196
|
-
*
|
|
43197
|
-
* ```js
|
|
43198
|
-
* import '@fusion.dev/helix/select'
|
|
43199
|
-
* import '@fusion.dev/helix/option'
|
|
43200
|
-
* ```
|
|
43201
|
-
*
|
|
43202
42930
|
* In development, a select holding an option nobody registered says so once the
|
|
43203
42931
|
* page has loaded, with the line to add.
|
|
43204
42932
|
*
|
|
@@ -43313,9 +43041,8 @@ interface Tags {
|
|
|
43313
43041
|
*/
|
|
43314
43042
|
"helix-headless-select": { element: HelixHeadlessSelect; props: HelixHeadlessSelectProps; solid: HelixHeadlessSelectSolidJsProps };
|
|
43315
43043
|
/**
|
|
43316
|
-
*
|
|
43317
|
-
*
|
|
43318
|
-
* and Export, and Clear unselects every row.
|
|
43044
|
+
* Slot your actions into the bar, such as Archive and Export, and Clear
|
|
43045
|
+
* unselects every row.
|
|
43319
43046
|
*
|
|
43320
43047
|
* ```html
|
|
43321
43048
|
* <helix-data-table selectable row-key="id">
|
|
@@ -43325,9 +43052,8 @@ interface Tags {
|
|
|
43325
43052
|
* </helix-data-table>
|
|
43326
43053
|
* ```
|
|
43327
43054
|
*
|
|
43328
|
-
*
|
|
43329
|
-
*
|
|
43330
|
-
* as a reader's own choice does.
|
|
43055
|
+
* Clear asks the table with `helix-before-select`, as a reader's own choice
|
|
43056
|
+
* does.
|
|
43331
43057
|
*
|
|
43332
43058
|
* ## Attributes & Properties
|
|
43333
43059
|
*
|
|
@@ -43369,13 +43095,8 @@ interface Tags {
|
|
|
43369
43095
|
*
|
|
43370
43096
|
* Press `?` outside a text field, or call `showSheet()`, to open the sheet: a
|
|
43371
43097
|
* dialog listing every shortcut on the page by name, which is how a keyboard
|
|
43372
|
-
* or screen reader user gets the same list.
|
|
43373
|
-
*
|
|
43374
|
-
*
|
|
43375
|
-
* Many apps, GitHub and Gmail among them, already give `?` to their own help,
|
|
43376
|
-
* so a page that answers `?` itself opens both on one press. Such a page sets
|
|
43377
|
-
* `sheet-keys` to another chord, or to nothing and calls `showSheet()` from
|
|
43378
|
-
* its own handler.
|
|
43098
|
+
* or screen reader user gets the same list. `sheet-keys` set to nothing leaves
|
|
43099
|
+
* `?` to the page, which can call `showSheet()` from its own handler.
|
|
43379
43100
|
*
|
|
43380
43101
|
* The badges are a picture of what the controls already expose, so they are
|
|
43381
43102
|
* hidden from assistive technology.
|
|
@@ -43434,17 +43155,13 @@ interface Tags {
|
|
|
43434
43155
|
* There is no `shape` property. Whether a placeholder is a line, a block, or a
|
|
43435
43156
|
* circle is presentation, which belongs to the styled tier.
|
|
43436
43157
|
*
|
|
43437
|
-
*
|
|
43438
|
-
*
|
|
43439
|
-
* `
|
|
43440
|
-
* placeholder over its box, so nothing moves when the content arrives. Take
|
|
43441
|
-
* `loading` off and the content is shown as it is. An empty skeleton is a
|
|
43158
|
+
* While `loading` is set the content is inert, the host is `aria-busy`, and
|
|
43159
|
+
* the styled tier hides the content and paints the placeholder over its box.
|
|
43160
|
+
* Take `loading` off and the content is shown as it is. An empty skeleton is a
|
|
43442
43161
|
* placeholder of its own size, as before.
|
|
43443
43162
|
*
|
|
43444
|
-
*
|
|
43445
|
-
*
|
|
43446
|
-
* and three lines, laid out as the card will be. While `loading` is set the
|
|
43447
|
-
* placeholder shows and the content is hidden. Once it is off the placeholder
|
|
43163
|
+
* While `loading` is set, a placeholder in the `placeholder` slot shows and the
|
|
43164
|
+
* content is hidden. Once it is off the placeholder
|
|
43448
43165
|
* is hidden and the content shows. The placeholder is hidden from screen
|
|
43449
43166
|
* readers. A server cannot see the children, so it serves both, and the
|
|
43450
43167
|
* content is hidden once the page has its children.
|
|
@@ -43517,14 +43234,10 @@ interface Tags {
|
|
|
43517
43234
|
* End, the page keys, and the touch target come from the platform. A native
|
|
43518
43235
|
* range has a hit area larger than its thumb, sized for a finger.
|
|
43519
43236
|
*
|
|
43520
|
-
* The value is a string, like every other form control's, and
|
|
43521
|
-
* `MixinControllerValue` holds text. Use `valueAsNumber` for arithmetic.
|
|
43522
|
-
*
|
|
43523
43237
|
* Marks are drawn by the component. The ticks of a `<datalist>` cannot be
|
|
43524
|
-
* styled, and Firefox does not render them for a range.
|
|
43525
|
-
*
|
|
43526
|
-
*
|
|
43527
|
-
* does not draw a hundred and one marks by accident.
|
|
43238
|
+
* styled, and Firefox does not render them for a range. `markers` is a count,
|
|
43239
|
+
* so a slider from zero to a hundred does not draw a hundred and one marks by
|
|
43240
|
+
* accident.
|
|
43528
43241
|
*
|
|
43529
43242
|
* A range with two thumbs is two inputs stacked on one track, because there is
|
|
43530
43243
|
* no native two-thumb range. Each thumb keeps its own value, and a named range
|
|
@@ -43666,13 +43379,9 @@ interface Tags {
|
|
|
43666
43379
|
*/
|
|
43667
43380
|
"helix-headless-slider": { element: HelixHeadlessSlider; props: HelixHeadlessSliderProps; solid: HelixHeadlessSliderSolidJsProps };
|
|
43668
43381
|
/**
|
|
43669
|
-
* Takes its numbers from the `values` attribute
|
|
43670
|
-
*
|
|
43671
|
-
*
|
|
43672
|
-
* announces.
|
|
43673
|
-
*
|
|
43674
|
-
* Use `for` when a sparkline has a real table behind it. `for` wins when both
|
|
43675
|
-
* are set.
|
|
43382
|
+
* Takes its numbers from the `values` attribute, where the other charts read a
|
|
43383
|
+
* table. Set `label` to the one sentence a screen reader announces. `for` wins
|
|
43384
|
+
* when it and `values` are both set.
|
|
43676
43385
|
*
|
|
43677
43386
|
* Without a `label` the sparkline is decorative and `aria-hidden`, for example
|
|
43678
43387
|
* beside a stat that already says "Sessions, 1,102". With a `label` it is
|
|
@@ -43701,9 +43410,6 @@ interface Tags {
|
|
|
43701
43410
|
* readings arrive, as on every chart. The `empty` and `loading` slots take
|
|
43702
43411
|
* markup in place of either.
|
|
43703
43412
|
*
|
|
43704
|
-
* Place it beside a `Stat`, because a change beside a figure is a second fact,
|
|
43705
|
-
* as `Stat`'s own spec says. `Trend` is composed the same way.
|
|
43706
|
-
*
|
|
43707
43413
|
* The component writes the properties listed below, and the stylesheet that
|
|
43708
43414
|
* draws the sparkline reads them. Do not set them yourself. They carry numbers
|
|
43709
43415
|
* the component computes and CSS cannot, so a stylesheet can draw the sparkline
|
|
@@ -44934,10 +44640,9 @@ interface Tags {
|
|
|
44934
44640
|
* them apart as Menu's sections do: each is a `group` of the menu, and the
|
|
44935
44641
|
* arrow keys walk through every group's actions in order.
|
|
44936
44642
|
*
|
|
44937
|
-
* **A trigger with its own action.**
|
|
44938
|
-
*
|
|
44939
|
-
*
|
|
44940
|
-
* `trigger="longPress"`. Alt+Down or Alt+Up opens it from the keyboard, and
|
|
44643
|
+
* **A trigger with its own action.** A long press opens the dial as React
|
|
44644
|
+
* Aria's menu trigger does with `trigger="longPress"`. Alt+Down or Alt+Up
|
|
44645
|
+
* opens it from the keyboard, and
|
|
44941
44646
|
* the trigger says so in its description, `long-press-label`, the drawn one
|
|
44942
44647
|
* and a slotted one alike. A press that has opened the dial does not also do
|
|
44943
44648
|
* the trigger's action.
|
|
@@ -45008,9 +44713,6 @@ interface Tags {
|
|
|
45008
44713
|
* the start pane and open it again. A drag in progress is tracked as a state, so both dividers a
|
|
45009
44714
|
* corner moves stay lit for as long as they move.
|
|
45010
44715
|
*
|
|
45011
|
-
* By default, `min` and `max` let the divider reach either edge, so you can
|
|
45012
|
-
* drag a pane fully closed. Set them to limit the range.
|
|
45013
|
-
*
|
|
45014
44716
|
* A pane can be collapsed, which is a separate state from a divider at the
|
|
45015
44717
|
* edge. `collapsed` names the shut pane, `start` or `end`, and the pane opens
|
|
45016
44718
|
* back to the position where the collapsing gesture began. A drag records that position
|
|
@@ -45027,17 +44729,14 @@ interface Tags {
|
|
|
45027
44729
|
* with nothing measured, so the divider is where it belongs from the first
|
|
45028
44730
|
* paint, and the start pane keeps that size as the splitter's own size changes.
|
|
45029
44731
|
*
|
|
45030
|
-
*
|
|
45031
|
-
* changes
|
|
45032
|
-
* takes all of the change, as Web Awesome's split panel does. Without it,
|
|
45033
|
-
* both panes keep their share.
|
|
44732
|
+
* Without `primary`, both panes keep their share when the splitter's own size
|
|
44733
|
+
* changes.
|
|
45034
44734
|
*
|
|
45035
|
-
* **Three or more panes along one axis are splitters nested on that axis
|
|
45036
|
-
*
|
|
45037
|
-
*
|
|
45038
|
-
*
|
|
45039
|
-
*
|
|
45040
|
-
* keeps its share, unless `primary` says otherwise.
|
|
44735
|
+
* **Three or more panes along one axis are splitters nested on that axis.**
|
|
44736
|
+
* The nested one keeps the pane on its far side the size it was while the
|
|
44737
|
+
* outer divider moves, as Zag's splitter does with any number of panels. Where
|
|
44738
|
+
* the whole row is resized, every pane keeps its share, unless `primary` says
|
|
44739
|
+
* otherwise.
|
|
45041
44740
|
*
|
|
45042
44741
|
* **Keyboard.** The divider is one tab stop.
|
|
45043
44742
|
*
|
|
@@ -45148,8 +44847,7 @@ interface Tags {
|
|
|
45148
44847
|
* dashboard hears "Revenue, group" and then the figure, its unit and its
|
|
45149
44848
|
* trend as one reading, rather than a run of loose words. The role and the name
|
|
45150
44849
|
* are set through `ElementInternals` once the label is known, which writes no
|
|
45151
|
-
* attribute; a stat with no label has no role.
|
|
45152
|
-
* slot to have it read inside the group, after the figure it qualifies.
|
|
44850
|
+
* attribute; a stat with no label has no role.
|
|
45153
44851
|
*
|
|
45154
44852
|
* **Or give the figure as a number.** `value` is written with
|
|
45155
44853
|
* `Intl.NumberFormat`, in `locale` and with `format-options`, so
|
|
@@ -45163,13 +44861,11 @@ interface Tags {
|
|
|
45163
44861
|
* the stat with those breaks, and the slot is hidden while it is. A figure
|
|
45164
44862
|
* holding an element is shown as it is.
|
|
45165
44863
|
*
|
|
45166
|
-
* **A new `value` counts to the new number
|
|
45167
|
-
*
|
|
45168
|
-
* the new number. The stat times the count from `--stat-count-duration` and
|
|
44864
|
+
* **A new `value` counts to the new number.** A screen reader reads only the
|
|
44865
|
+
* new number. The stat times the count from `--stat-count-duration` and
|
|
45169
44866
|
* `--stat-count-easing`, which the styled tier sets from the duration and
|
|
45170
44867
|
* easing tokens. Here neither is set, so the figure changes at once until you
|
|
45171
|
-
* set them, and under reduced motion it always does.
|
|
45172
|
-
* at once.
|
|
44868
|
+
* set them, and under reduced motion it always does.
|
|
45173
44869
|
*
|
|
45174
44870
|
* **Each slot is a part of the same name**, and `value` for the figure, so a
|
|
45175
44871
|
* page reaches the label, the unit and the trend from outside. A slot draws no
|
|
@@ -45231,9 +44927,7 @@ interface Tags {
|
|
|
45231
44927
|
*
|
|
45232
44928
|
* `active` names a step by its `value`. A step with no `value` is named by its
|
|
45233
44929
|
* place, counted from 1, so a sequence written without values moves as one
|
|
45234
|
-
* written with them, and `helix-activate` says `1`, `2` and so on.
|
|
45235
|
-
* step a value or none, because a value of `2` and the second place are one
|
|
45236
|
-
* name.
|
|
44930
|
+
* written with them, and `helix-activate` says `1`, `2` and so on.
|
|
45237
44931
|
*
|
|
45238
44932
|
* `linear` keeps a reader from passing a stage they have not finished, as Ark
|
|
45239
44933
|
* UI's linear steps do: a stage ahead is out of reach, and its button disabled,
|
|
@@ -45401,7 +45095,7 @@ interface Tags {
|
|
|
45401
45095
|
/**
|
|
45402
45096
|
* A switch turns something on or off right away, and a checkbox is an answer
|
|
45403
45097
|
* the form submits later. A screen reader announces `role="switch"` as "on" or
|
|
45404
|
-
* "off"
|
|
45098
|
+
* "off". A switch is
|
|
45405
45099
|
* as common outside a form as inside one.
|
|
45406
45100
|
*
|
|
45407
45101
|
* It renders a real `<input type="checkbox">` with `role="switch"`, the pairing
|
|
@@ -45481,8 +45175,7 @@ interface Tags {
|
|
|
45481
45175
|
*/
|
|
45482
45176
|
"helix-headless-switch": { element: HelixHeadlessSwitch; props: HelixHeadlessSwitchProps; solid: HelixHeadlessSwitchSolidJsProps };
|
|
45483
45177
|
/**
|
|
45484
|
-
* Set `for` to the id of a `DataTable
|
|
45485
|
-
* a `Dialog` opened by an Export button.
|
|
45178
|
+
* Set `for` to the id of a `DataTable`.
|
|
45486
45179
|
*
|
|
45487
45180
|
* ```html
|
|
45488
45181
|
* <helix-table-export for="invoices"></helix-table-export>
|
|
@@ -45795,26 +45488,22 @@ interface Tags {
|
|
|
45795
45488
|
* under a heading named by `row-grips-label`.
|
|
45796
45489
|
*
|
|
45797
45490
|
* 1. Each row is known by its `value`, or by its place among the rows where it
|
|
45798
|
-
* has none, as for selecting.
|
|
45799
|
-
* stays with its row.
|
|
45491
|
+
* has none, as for selecting.
|
|
45800
45492
|
* 2. A grip is a button named by `move-row-label` ("Move {row}") with the
|
|
45801
45493
|
* words of the row's first cell. Drag it to move its row, and the page
|
|
45802
45494
|
* scrolls near an edge. Or press it with Space, Enter, or a click to pick
|
|
45803
45495
|
* the row up, move it with Up, Down, Home, and End, and press it again to
|
|
45804
45496
|
* drop it. A click on another row drops it there, and Escape puts it back.
|
|
45805
45497
|
* 3. `helix-before-reorder` asks first, and `helix-reorder` follows with
|
|
45806
|
-
* `keys`, every row's key in the new order.
|
|
45807
|
-
*
|
|
45808
|
-
* grip once you have.
|
|
45498
|
+
* `keys`, every row's key in the new order. Focus goes back to the moved
|
|
45499
|
+
* row's grip once you have moved it.
|
|
45809
45500
|
* 4. Each step is said in the table's live region, in words you can change:
|
|
45810
45501
|
* `picked-up-label`, `moved-label`, `dropped-label`, and `canceled-label`.
|
|
45811
45502
|
* The grips do nothing while a sort is set.
|
|
45812
45503
|
*
|
|
45813
45504
|
* **A grid.** `grid` makes the table one tab stop that the arrow keys move
|
|
45814
45505
|
* through cell by cell, the headings included, as React Aria's table is. The
|
|
45815
|
-
* table is then a `grid` and each value a `gridcell
|
|
45816
|
-
* every cell a `tabindex` so focus can rest on it: set `grid` only where the
|
|
45817
|
-
* cells may carry one.
|
|
45506
|
+
* table is then a `grid` and each value a `gridcell`.
|
|
45818
45507
|
*
|
|
45819
45508
|
* | Key | What it does |
|
|
45820
45509
|
* |---|---|
|
|
@@ -46118,8 +45807,7 @@ interface Tags {
|
|
|
46118
45807
|
* The tab list is a single tab stop, and the arrow keys move between tabs
|
|
46119
45808
|
* through `KeyboardNavigationController`, the same as in the radio and toggle
|
|
46120
45809
|
* groups. Selection follows focus, which suits a small set where showing a
|
|
46121
|
-
* panel is cheap.
|
|
46122
|
-
* move without selecting.
|
|
45810
|
+
* panel is cheap.
|
|
46123
45811
|
*
|
|
46124
45812
|
* `orientation="vertical"` sets the tabs in a column beside the panels, and the
|
|
46125
45813
|
* tab list says `aria-orientation="vertical"`. The arrow keys of both axes move
|
|
@@ -46369,9 +46057,7 @@ interface Tags {
|
|
|
46369
46057
|
* from a badge: a badge shows a state that people cannot change, and a tag
|
|
46370
46058
|
* names something they can remove.
|
|
46371
46059
|
*
|
|
46372
|
-
* The remove button sends `helix-dismiss`.
|
|
46373
|
-
* because your code owns the list it is in, so remove it in your handler. A
|
|
46374
|
-
* listener can cancel `helix-dismiss`, and `dismiss()` then returns `false`.
|
|
46060
|
+
* The remove button sends `helix-dismiss`. A listener can cancel `helix-dismiss`, and `dismiss()` then returns `false`.
|
|
46375
46061
|
* When the handler removes a tag whose remove button has focus, focus moves to
|
|
46376
46062
|
* the next tag's remove button, or to the previous one's after the last tag.
|
|
46377
46063
|
*
|
|
@@ -46453,9 +46139,8 @@ interface Tags {
|
|
|
46453
46139
|
*
|
|
46454
46140
|
* The controls are a row in the header, and `controls` names which ones:
|
|
46455
46141
|
* `find`, `copy`, `clear`, and `fullscreen`. `find clear` by default. A control
|
|
46456
|
-
* the renderer cannot answer is left out once it is connected.
|
|
46457
|
-
*
|
|
46458
|
-
* and shows a Restart button that sends `helix-terminal-restart`.
|
|
46142
|
+
* the renderer cannot answer is left out once it is connected. The Restart
|
|
46143
|
+
* button shown once the process exits sends `helix-terminal-restart`.
|
|
46459
46144
|
*
|
|
46460
46145
|
* **Keyboard.** Every key goes to the program, Tab, Shift+Tab, and Escape
|
|
46461
46146
|
* included, except these:
|
|
@@ -46474,8 +46159,7 @@ interface Tags {
|
|
|
46474
46159
|
* screen reader reads nothing in it by default. Set `screen-reader-mode` to
|
|
46475
46160
|
* have the renderer keep the grid as lines a screen reader can move through
|
|
46476
46161
|
* and announce new output as it arrives, which xterm.js calls screen reader
|
|
46477
|
-
* mode.
|
|
46478
|
-
* a setting your reader can turn on.
|
|
46162
|
+
* mode.
|
|
46479
46163
|
*
|
|
46480
46164
|
* ## Attributes & Properties
|
|
46481
46165
|
*
|
|
@@ -46832,9 +46516,7 @@ interface Tags {
|
|
|
46832
46516
|
* Two of these on one page agree, and a page can set the mode in its markup,
|
|
46833
46517
|
* or from its own code with `setColorMode` from `@fusion.dev/helix-core`,
|
|
46834
46518
|
* which takes the same transitions. With no attribute the page follows the
|
|
46835
|
-
* reader's system setting, and the button says which mode that is.
|
|
46836
|
-
* reader's choice across visits, listen for `change` and write the mode into
|
|
46837
|
-
* the page you serve next.
|
|
46519
|
+
* reader's system setting, and the button says which mode that is.
|
|
46838
46520
|
*
|
|
46839
46521
|
* **The one Helix component that starts a view transition.** A view transition
|
|
46840
46522
|
* draws the whole document twice and runs between the two pictures, so a
|
|
@@ -46890,10 +46572,7 @@ interface Tags {
|
|
|
46890
46572
|
* You can type a time or pick one. The list offers times at a step, and the
|
|
46891
46573
|
* field lets you enter any time, such as `09:07`.
|
|
46892
46574
|
*
|
|
46893
|
-
*
|
|
46894
|
-
* `seconds`, because that is what the form
|
|
46895
|
-
* submits, what `min` and `max` compare against, and what sorts correctly as a
|
|
46896
|
-
* string. While idle, the field shows the time in the user's locale format.
|
|
46575
|
+
* While idle, the field shows the time in the user's locale format.
|
|
46897
46576
|
* Once the caret is in the field, it shows the value itself. You can type
|
|
46898
46577
|
* `14:30`, or a time as you write one, such as `2:30 PM`, `2.30pm`, or
|
|
46899
46578
|
* `14h30`, and the field reads it as you leave it, with AM and PM in the
|
|
@@ -47121,18 +46800,14 @@ interface Tags {
|
|
|
47121
46800
|
* draws a button that chooses the current time, on the step and inside the
|
|
47122
46801
|
* bounds.
|
|
47123
46802
|
*
|
|
47124
|
-
*
|
|
47125
|
-
*
|
|
47126
|
-
*
|
|
47127
|
-
* way Date Input separates typing a date from picking one on the calendar.
|
|
46803
|
+
* Use the list for the times your product offers, and Time Input for any
|
|
46804
|
+
* time, the same way Date Input separates typing a date from picking one on
|
|
46805
|
+
* the calendar.
|
|
47128
46806
|
*
|
|
47129
|
-
*
|
|
47130
|
-
* `seconds`. A form submits that shape,
|
|
47131
|
-
* `min` and `max` compare against it, and it sorts as a string. Each row's text
|
|
47132
|
-
* follows the person's own conventions, from `Intl`.
|
|
46807
|
+
* Each row's text follows the person's own conventions, from `Intl`.
|
|
47133
46808
|
*
|
|
47134
46809
|
* The chosen row is marked in the served markup. The listbox gets the answer as
|
|
47135
|
-
* `.value`, and Lit SSR serializes no property binding, so without more the
|
|
46810
|
+
* `.value`, and Lit SSR serializes no property binding, so without more the
|
|
47136
46811
|
* served rows would carry no mark until the listbox upgrades and runs `place`.
|
|
47137
46812
|
* Each option also gets `selected`, an attribute binding that does serialize,
|
|
47138
46813
|
* and `place` then writes the same answer from the same value. This is the same
|
|
@@ -47390,21 +47065,18 @@ interface Tags {
|
|
|
47390
47065
|
* The host has `role="list"`, because the entries are your elements in the
|
|
47391
47066
|
* light DOM. `Steps` does the same.
|
|
47392
47067
|
*
|
|
47393
|
-
*
|
|
47394
|
-
*
|
|
47395
|
-
* entries are a list of their own named by the heading.
|
|
47068
|
+
* A `Timeline.Group` is an entry of the timeline, and its entries are a list
|
|
47069
|
+
* of their own named by its heading.
|
|
47396
47070
|
*
|
|
47397
47071
|
* **The reading order is the order you write the entries in**, in every layout
|
|
47398
47072
|
* the styled tier draws: down the page, either side of a line down the middle,
|
|
47399
47073
|
* or across the page. Inside each entry the time is read before what happened.
|
|
47400
|
-
*
|
|
47401
|
-
* and the layout only moves where they are drawn.
|
|
47074
|
+
* The layout only moves where they are drawn.
|
|
47402
47075
|
*
|
|
47403
|
-
* **
|
|
47404
|
-
*
|
|
47405
|
-
*
|
|
47406
|
-
*
|
|
47407
|
-
* entry when they arrive.
|
|
47076
|
+
* **While `loading` is set, the timeline is busy**, and an entry after the
|
|
47077
|
+
* last says "Loading", the word every collection uses (`loading-text`, or
|
|
47078
|
+
* your own content in the `loading` slot). Move focus to the first new entry
|
|
47079
|
+
* when they arrive.
|
|
47408
47080
|
*
|
|
47409
47081
|
* ## Attributes & Properties
|
|
47410
47082
|
*
|
|
@@ -47550,20 +47222,16 @@ interface Tags {
|
|
|
47550
47222
|
* and the DOM stay in sync. It hides on its own unless you set `open`, which
|
|
47551
47223
|
* makes the state yours.
|
|
47552
47224
|
*
|
|
47553
|
-
*
|
|
47554
|
-
*
|
|
47555
|
-
* removes it once it has been dismissed and has finished leaving. Messages
|
|
47556
|
-
* you render yourself stay yours, and the region never removes them. A touch
|
|
47225
|
+
* The message `add()` appends is of the region's own tier, and is removed once
|
|
47226
|
+
* it has finished leaving. A touch
|
|
47557
47227
|
* or a pen swipes a message away toward the edge the stack sits at, the end
|
|
47558
47228
|
* of the line unless `placement` puts it at the start, or toward the edge
|
|
47559
47229
|
* `swipe-direction` names.
|
|
47560
47230
|
*
|
|
47561
|
-
*
|
|
47562
|
-
*
|
|
47563
|
-
*
|
|
47564
|
-
*
|
|
47565
|
-
* which keys do. Keep a confirmation for an action that cannot be taken back or
|
|
47566
|
-
* that reaches someone else, such as sending or paying.
|
|
47231
|
+
* Command+Z (Control+Z elsewhere) undoes an `undoable()` action while its
|
|
47232
|
+
* message shows, and a screen reader hears which keys do. Keep a confirmation
|
|
47233
|
+
* for an action that cannot be taken back or that reaches someone else, such
|
|
47234
|
+
* as sending or paying.
|
|
47567
47235
|
*
|
|
47568
47236
|
* **Every message's timer waits while a pointer or focus is in the stack**, as
|
|
47569
47237
|
* React Aria's and Radix's regions do, so a reader moving from one message to
|
|
@@ -47574,12 +47242,11 @@ interface Tags {
|
|
|
47574
47242
|
* opened after it, and above a modal `Dialog`, `Drawer` or `Lightbox` that
|
|
47575
47243
|
* opened while it showed. Position the `region` part, which is the box in the
|
|
47576
47244
|
* top layer. While a modal is open, the browser makes everything outside it
|
|
47577
|
-
* inert, the stack included, so a
|
|
47578
|
-
*
|
|
47579
|
-
* moves off the modal's surface, above, below or beside it by its own inset,
|
|
47245
|
+
* inert, the stack included, so a press on a message reaches nothing under it.
|
|
47246
|
+
* The stack moves off the modal's surface, above, below or beside it by its own inset,
|
|
47580
47247
|
* and is hidden while the window has no room outside the surface. Where the
|
|
47581
47248
|
* browser has `ariaNotify`, a message that arrives then is announced through
|
|
47582
|
-
* it.
|
|
47249
|
+
* it.
|
|
47583
47250
|
*
|
|
47584
47251
|
* When a message with focus inside it is dismissed, focus moves to the next
|
|
47585
47252
|
* message, then the one before it, then back to where it was before it entered
|
|
@@ -47905,11 +47572,8 @@ interface Tags {
|
|
|
47905
47572
|
* does not clip it and no `z-index` is needed. `FloatingController` positions
|
|
47906
47573
|
* it and flips it to another side when the preferred side does not fit.
|
|
47907
47574
|
*
|
|
47908
|
-
*
|
|
47909
|
-
*
|
|
47910
|
-
* then in your own markup, so it is in the server's HTML and in the
|
|
47911
|
-
* accessibility tree at rest, in every browser, before anyone points at the
|
|
47912
|
-
* trigger or focuses it:
|
|
47575
|
+
* With the trigger's `aria-describedby` naming the tooltip, the description is
|
|
47576
|
+
* in your own markup:
|
|
47913
47577
|
*
|
|
47914
47578
|
* ```html
|
|
47915
47579
|
* <helix-headless-button aria-describedby="save-tip" id="save">Save</helix-headless-button>
|
|
@@ -48045,9 +47709,8 @@ interface Tags {
|
|
|
48045
47709
|
* least distance that brings it on screen, so the stop that points at it is
|
|
48046
47710
|
* on screen too.
|
|
48047
47711
|
*
|
|
48048
|
-
*
|
|
48049
|
-
* the
|
|
48050
|
-
* tour meanwhile. A function it returns runs when the tour leaves the stop.
|
|
47712
|
+
* While a stop's `effect` runs, the tour has `:state(preparing)`. A function
|
|
47713
|
+
* the effect returns runs when the tour leaves the stop.
|
|
48051
47714
|
*
|
|
48052
47715
|
* **A press outside the current stop and its target does nothing by
|
|
48053
47716
|
* default**, so a reader can use the page the tour is describing. Set
|
|
@@ -48431,8 +48094,7 @@ interface Tags {
|
|
|
48431
48094
|
* item picked up that way, Enter or Space drops it, and Escape puts it back.
|
|
48432
48095
|
* The tree says each step in its `live` region. A drop sends
|
|
48433
48096
|
* `helix-before-reorder`, which you can refuse, and then `helix-reorder`, whose
|
|
48434
|
-
* `keys` hold the siblings in the new order.
|
|
48435
|
-
* moves no element of yours, and focus follows the moved item once you have.
|
|
48097
|
+
* `keys` hold the siblings in the new order.
|
|
48436
48098
|
*
|
|
48437
48099
|
* **Alt with the arrow along the line moves an item into another branch.**
|
|
48438
48100
|
* Alt with the arrow that opens a branch (Right on a left-to-right page) puts
|
|
@@ -48508,11 +48170,9 @@ interface Tags {
|
|
|
48508
48170
|
* movement and its color shows whether the change is good. Movement and
|
|
48509
48171
|
* judgment are separate properties because they are separate facts.
|
|
48510
48172
|
*
|
|
48511
|
-
* `good` is unset by default, so a trend with no judgment is gray.
|
|
48512
|
-
*
|
|
48513
|
-
*
|
|
48514
|
-
* movement. The judgment is also a custom state, `better` or `worse`, and so
|
|
48515
|
-
* is the movement, `up` or `down`, for a sheet of your own.
|
|
48173
|
+
* `good` is unset by default, so a trend with no judgment is gray. The
|
|
48174
|
+
* judgment is also a custom state, `better` or `worse`, and so is the
|
|
48175
|
+
* movement, `up` or `down`, for a sheet of your own.
|
|
48516
48176
|
*
|
|
48517
48177
|
* The movement is also written as a word, so a screen reader reads it. The
|
|
48518
48178
|
* styled tier hides `part="direction"` visually and keeps it in the
|
|
@@ -48700,9 +48360,7 @@ interface Tags {
|
|
|
48700
48360
|
*
|
|
48701
48361
|
* **The player is a `Video` or a plain `<video>`.** Either takes `src` and
|
|
48702
48362
|
* `poster` from the entry, is named by it, plays on, and answers Shift with N
|
|
48703
|
-
* or P while focused.
|
|
48704
|
-
* that send `helix-previous` or `helix-next`, so its moves are the entries,
|
|
48705
|
-
* the menu, and your own buttons calling `previous()` and `next()`.
|
|
48363
|
+
* or P while focused.
|
|
48706
48364
|
*
|
|
48707
48365
|
* **Entries are markup.** React skips properties it would set imperatively
|
|
48708
48366
|
* during hydration, so an array property on a custom element is missing on the
|
|
@@ -48758,8 +48416,6 @@ interface Tags {
|
|
|
48758
48416
|
* an edge. A press that does not travel still plays the entry.
|
|
48759
48417
|
* - A drop sends `helix-before-reorder`, which you can refuse, and then
|
|
48760
48418
|
* `helix-reorder`, whose `keys` hold every entry's `value` in the new order.
|
|
48761
|
-
* **You move the entries**: the playlist moves no element of yours, and the
|
|
48762
|
-
* next entry is the one after the current entry in the order you leave.
|
|
48763
48419
|
* - Each move is said in the live region, in words you can change:
|
|
48764
48420
|
* `moved-label`, `dropped-label`, `canceled-label`, and `picked-up-label`.
|
|
48765
48421
|
*
|
|
@@ -48829,10 +48485,6 @@ interface Tags {
|
|
|
48829
48485
|
* keys, Home and End, touch targets, and screen reader announcements work as
|
|
48830
48486
|
* they do natively.
|
|
48831
48487
|
*
|
|
48832
|
-
* When you set `controls`, the browser's control bar is used, the Helix bar is
|
|
48833
|
-
* not drawn, and the keys below are not bound, so a key press does not seek
|
|
48834
|
-
* twice.
|
|
48835
|
-
*
|
|
48836
48488
|
* **Keyboard.** The keys match other players, and they are bound on the
|
|
48837
48489
|
* element only, so they work while focus is on the player.
|
|
48838
48490
|
*
|
|
@@ -48858,11 +48510,10 @@ interface Tags {
|
|
|
48858
48510
|
* On the scrubber and the volume slider, the arrow keys, Page Up, Page Down,
|
|
48859
48511
|
* Home, and End move the slider, as on any range input.
|
|
48860
48512
|
*
|
|
48861
|
-
*
|
|
48862
|
-
*
|
|
48863
|
-
*
|
|
48864
|
-
*
|
|
48865
|
-
* DOM stays intact, and are copied again whenever the slot changes.
|
|
48513
|
+
* A slot is one node, so slotted sources would give the video no text tracks,
|
|
48514
|
+
* no current source, and a `readyState` of zero, and it would not play. The
|
|
48515
|
+
* children are copied so your light DOM stays intact, and are copied again
|
|
48516
|
+
* whenever the slot changes.
|
|
48866
48517
|
*
|
|
48867
48518
|
* The player sends every media event of its inner video under the same name,
|
|
48868
48519
|
* without bubbling, as a `<video>` sends it. Listen on the player as you would
|
|
@@ -49070,9 +48721,7 @@ interface Tags {
|
|
|
49070
48721
|
*/
|
|
49071
48722
|
"helix-headless-video": { element: HelixHeadlessVideo; props: HelixHeadlessVideoProps; solid: HelixHeadlessVideoSolidJsProps };
|
|
49072
48723
|
/**
|
|
49073
|
-
*
|
|
49074
|
-
* button and an Export button. Put this panel in a `Drawer` opened by one
|
|
49075
|
-
* View button, set `for` to the table's id, and slot the tools into it:
|
|
48724
|
+
* Set `for` to the table's id, and slot the tools into it:
|
|
49076
48725
|
*
|
|
49077
48726
|
* ```html
|
|
49078
48727
|
* <helix-drawer label="View" placement="bottom">
|
|
@@ -49093,10 +48742,6 @@ interface Tags {
|
|
|
49093
48742
|
* sort. Show closes the drawer or the dialog the panel is in, with how many
|
|
49094
48743
|
* rows the view shows.
|
|
49095
48744
|
*
|
|
49096
|
-
* `active` counts the search and the filters, for a badge on the View button.
|
|
49097
|
-
* The panel takes no width of its own, so show its View button at the widths
|
|
49098
|
-
* that need it, and the tools above the table at the rest.
|
|
49099
|
-
*
|
|
49100
48745
|
* ## Attributes & Properties
|
|
49101
48746
|
*
|
|
49102
48747
|
* - `back-label`/`backLabel`: The words on the button that returns to the list.
|
|
@@ -49261,9 +48906,7 @@ interface Tags {
|
|
|
49261
48906
|
* let go of. `value` holds the chosen items' keys, separated by commas, in
|
|
49262
48907
|
* the order of the set: `key-field` names each item's key, and a string or a
|
|
49263
48908
|
* number item is its own key. A change asks with `helix-before-change` and
|
|
49264
|
-
* tells with `change`. Each row is an `option` marked `aria-selected
|
|
49265
|
-
* row's own links and buttons are not reached there: keep those to a list
|
|
49266
|
-
* without `selection-mode`.
|
|
48909
|
+
* tells with `change`. Each row is an `option` marked `aria-selected`.
|
|
49267
48910
|
*
|
|
49268
48911
|
* `selection-behavior="replace"` selects the item pressed alone, as a file
|
|
49269
48912
|
* list does, and the arrow keys carry the selection with them. Control or
|
|
@@ -49282,9 +48925,9 @@ interface Tags {
|
|
|
49282
48925
|
* **Loading more.** `helix-range-change` fires as the items on screen change,
|
|
49283
48926
|
* and `range` holds them. `helix-load-more` fires once a reader is within one
|
|
49284
48927
|
* screen of the end, once for each length of the set: add to `items` and it can
|
|
49285
|
-
* fire again. While
|
|
49286
|
-
*
|
|
49287
|
-
*
|
|
48928
|
+
* fire again. While `loading` is set, the row after the last item says
|
|
48929
|
+
* "Loading", the word every collection uses (`loading-text`, or your own
|
|
48930
|
+
* content in the `loading` slot). `scrollToIndex` takes a reader to an item.
|
|
49288
48931
|
*
|
|
49289
48932
|
* **Moving items** is a separate import, `@fusion.dev/helix/virtual-list/reorder`,
|
|
49290
48933
|
* as React Aria's drag and drop is. With it imported, `reorderable` lets a
|
|
@@ -49327,7 +48970,7 @@ interface Tags {
|
|
|
49327
48970
|
*
|
|
49328
48971
|
* The viewport scrolls on this tier. It carries `data-scroller`, and `core`
|
|
49329
48972
|
* ships `[data-scroller] { overflow: auto }` into every shadow root, so
|
|
49330
|
-
* `scrollTop` works with no stylesheet.
|
|
48973
|
+
* `scrollTop` works with no stylesheet.
|
|
49331
48974
|
*
|
|
49332
48975
|
* ## Attributes & Properties
|
|
49333
48976
|
*
|