@fusion.dev/helix-headless 0.247.1 → 0.248.2

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.
Files changed (186) hide show
  1. package/README.md +1 -1
  2. package/api.json +1 -1
  3. package/custom-elements.json +1 -1
  4. package/dist/accordion/item/accordion-item.d.ts +1 -1
  5. package/dist/accordion/root/accordion-root.d.ts +11 -2
  6. package/dist/announcement/root/announcement-root.d.ts +9 -8
  7. package/dist/app-header/root/app-header-root.d.ts +13 -9
  8. package/dist/area-chart/root/area-chart-root.d.ts +13 -5
  9. package/dist/avatar/group/avatar-group.d.ts +1 -1
  10. package/dist/avatar/root/avatar-root.d.ts +4 -1
  11. package/dist/badge/root/badge-root.d.ts +3 -7
  12. package/dist/bar-chart/root/bar-chart-root.d.ts +11 -3
  13. package/dist/blockquote/root/blockquote-root.d.ts +8 -5
  14. package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +1 -1
  15. package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +10 -4
  16. package/dist/button/root/button-root.d.ts +8 -9
  17. package/dist/button-group/root/button-group-root.d.ts +8 -4
  18. package/dist/callout/root/callout-root.d.ts +6 -3
  19. package/dist/canvas/edge/canvas-edge.d.ts +1 -1
  20. package/dist/canvas/node/canvas-node.d.ts +1 -1
  21. package/dist/canvas/root/canvas-root.d.ts +9 -8
  22. package/dist/card/root/card-root.d.ts +5 -1
  23. package/dist/carousel/root/carousel-root.d.ts +12 -4
  24. package/dist/chat/composer/chat-composer.d.ts +1 -1
  25. package/dist/chat/message/chat-message.d.ts +1 -1
  26. package/dist/chat/root/chat-root.d.ts +16 -17
  27. package/dist/checkbox/root/checkbox-root.d.ts +7 -4
  28. package/dist/checkbox-group/root/checkbox-group-root.d.ts +13 -9
  29. package/dist/code/root/code-root.d.ts +7 -4
  30. package/dist/code-block/root/code-block-root.d.ts +15 -8
  31. package/dist/code-editor/root/code-editor-root.d.ts +18 -7
  32. package/dist/code-input/root/code-input-root.d.ts +11 -6
  33. package/dist/color-input/root/color-input-root.d.ts +8 -1
  34. package/dist/color-picker/root/color-picker-root.d.ts +7 -1
  35. package/dist/column-manager/root/column-manager-root.d.ts +13 -5
  36. package/dist/combobox/root/combobox-root.d.ts +7 -13
  37. package/dist/command/root/command-root.d.ts +14 -9
  38. package/dist/copy-button/root/copy-button-root.d.ts +9 -4
  39. package/dist/data-table/root/data-table-root.d.ts +19 -15
  40. package/dist/date-input/root/date-input-root.d.ts +9 -1
  41. package/dist/date-picker/root/date-picker-root.d.ts +12 -8
  42. package/dist/description-list/item/description-list-item.d.ts +1 -1
  43. package/dist/description-list/root/description-list-root.d.ts +7 -1
  44. package/dist/device-screen/root/device-screen-root.d.ts +14 -9
  45. package/dist/dialog/root/dialog-root.d.ts +7 -5
  46. package/dist/divider/root/divider-root.d.ts +7 -5
  47. package/dist/donut-chart/root/donut-chart-root.d.ts +9 -7
  48. package/dist/drawer/root/drawer-root.d.ts +9 -11
  49. package/dist/drilldown/item/drilldown-item.d.ts +1 -1
  50. package/dist/drilldown/root/drilldown-root.d.ts +12 -7
  51. package/dist/editor/root/editor-root.d.ts +12 -3
  52. package/dist/empty/root/empty-root.d.ts +7 -5
  53. package/dist/file-input/root/file-input-root.d.ts +6 -1
  54. package/dist/filter-input/chip/filter-chip.d.ts +1 -1
  55. package/dist/filter-input/field/filter-field.d.ts +1 -1
  56. package/dist/filter-input/menu/filter-menu.d.ts +1 -1
  57. package/dist/filter-input/operator/filter-operator.d.ts +1 -1
  58. package/dist/filter-input/root/filter-input-root.d.ts +21 -29
  59. package/dist/find/root/find-root.d.ts +10 -1
  60. package/dist/format-date/root/format-date-root.d.ts +10 -5
  61. package/dist/graph/root/graph-root.d.ts +11 -5
  62. package/dist/heatmap/root/heatmap-root.d.ts +11 -4
  63. package/dist/hover-card/root/hover-card-root.d.ts +9 -7
  64. package/dist/icon/root/icon-root.d.ts +8 -4
  65. package/dist/icon-button/root/icon-button-root.d.ts +5 -1
  66. package/dist/image/root/image-root.d.ts +5 -1
  67. package/dist/input/root/input-root.d.ts +10 -3
  68. package/dist/kbd/root/kbd-root.d.ts +8 -12
  69. package/dist/legend/root/legend-root.d.ts +11 -8
  70. package/dist/lightbox/item/lightbox-item.d.ts +1 -1
  71. package/dist/lightbox/root/lightbox-root.d.ts +16 -9
  72. package/dist/line-chart/root/line-chart-root.d.ts +13 -8
  73. package/dist/list/item/list-item.d.ts +1 -1
  74. package/dist/list/root/list-root.d.ts +17 -12
  75. package/dist/listbox/root/listbox-root.d.ts +11 -18
  76. package/dist/loader/root/loader-root.d.ts +13 -9
  77. package/dist/log/group/log-group.d.ts +1 -1
  78. package/dist/log/line/log-line.d.ts +1 -1
  79. package/dist/log/root/log-root.d.ts +12 -4
  80. package/dist/map/area/map-area.d.ts +1 -1
  81. package/dist/map/buildings/map-buildings.d.ts +1 -1
  82. package/dist/map/contours/map-contours.d.ts +1 -1
  83. package/dist/map/landcover/map-landcover.d.ts +1 -1
  84. package/dist/map/marker/map-marker.d.ts +1 -1
  85. package/dist/map/points/map-points.d.ts +1 -1
  86. package/dist/map/position/map-position.d.ts +1 -1
  87. package/dist/map/raster/map-raster.d.ts +1 -1
  88. package/dist/map/root/map-root.d.ts +12 -7
  89. package/dist/map/route/map-route.d.ts +1 -1
  90. package/dist/map/terrain/map-terrain.d.ts +1 -1
  91. package/dist/markdown/root/markdown-root.d.ts +13 -9
  92. package/dist/megamenu/root/megamenu-root.d.ts +7 -4
  93. package/dist/menu/item/menu-item.d.ts +1 -1
  94. package/dist/menu/root/menu-root.d.ts +15 -22
  95. package/dist/menu/section/menu-section.d.ts +1 -1
  96. package/dist/meter/root/meter-root.d.ts +15 -8
  97. package/dist/meter/segment/meter-segment.d.ts +1 -1
  98. package/dist/motion-toggle/root/motion-toggle-root.d.ts +6 -1
  99. package/dist/navigation/root/navigation-root.d.ts +10 -4
  100. package/dist/notifications/group/notification-group.d.ts +1 -1
  101. package/dist/notifications/notification/notification.d.ts +1 -1
  102. package/dist/notifications/root/notifications-root.d.ts +10 -9
  103. package/dist/number-input/root/number-input-root.d.ts +7 -2
  104. package/dist/object-inspector/root/object-inspector-root.d.ts +14 -6
  105. package/dist/option/group/option-group.d.ts +1 -1
  106. package/dist/option/root/option-root.d.ts +11 -6
  107. package/dist/option/separator/option-separator.d.ts +1 -1
  108. package/dist/outline/root/outline-root.d.ts +7 -4
  109. package/dist/pagination/root/pagination-root.d.ts +10 -7
  110. package/dist/pagination/size/pagination-size.d.ts +1 -1
  111. package/dist/pagination/summary/pagination-summary.d.ts +1 -1
  112. package/dist/pin-input/root/pin-input-root.d.ts +7 -1
  113. package/dist/popover/root/popover-root.d.ts +12 -9
  114. package/dist/progress/root/progress-root.d.ts +13 -8
  115. package/dist/qr-code/root/qr-code-root.d.ts +7 -3
  116. package/dist/quick-filters/filter/quick-filter.d.ts +1 -1
  117. package/dist/quick-filters/root/quick-filters-root.d.ts +11 -6
  118. package/dist/quote/root/quote-root.d.ts +6 -6
  119. package/dist/radio/group/radio-group.d.ts +1 -1
  120. package/dist/radio/root/radio-root.d.ts +7 -4
  121. package/dist/rating/root/rating-root.d.ts +11 -6
  122. package/dist/scatter-chart/root/scatter-chart-root.d.ts +14 -8
  123. package/dist/scroll-area/root/scroll-area-root.d.ts +4 -1
  124. package/dist/select/root/select-root.d.ts +9 -16
  125. package/dist/selection-bar/root/selection-bar-root.d.ts +12 -7
  126. package/dist/shortcut-overlay/root/shortcut-overlay-root.d.ts +10 -8
  127. package/dist/skeleton/root/skeleton-root.d.ts +9 -10
  128. package/dist/skip-link/root/skip-link-root.d.ts +3 -1
  129. package/dist/slider/root/slider-root.d.ts +14 -8
  130. package/dist/sparkline/root/sparkline-root.d.ts +9 -11
  131. package/dist/spatial-bar-chart/root/spatial-bar-chart-root.d.ts +7 -1
  132. package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +8 -1
  133. package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.d.ts +7 -1
  134. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +8 -1
  135. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +8 -1
  136. package/dist/spatial-treemap/root/spatial-treemap-root.d.ts +7 -1
  137. package/dist/speed-dial/group/speed-dial-group.d.ts +1 -1
  138. package/dist/speed-dial/item/speed-dial-item.d.ts +1 -1
  139. package/dist/speed-dial/root/speed-dial-root.d.ts +13 -5
  140. package/dist/splitter/root/splitter-root.d.ts +17 -14
  141. package/dist/stat/group/stat-group.d.ts +1 -1
  142. package/dist/stat/root/stat-root.d.ts +25 -8
  143. package/dist/stat/root/stat-root.js +8 -2
  144. package/dist/steps/root/steps-root.d.ts +6 -4
  145. package/dist/steps/step/step.d.ts +1 -1
  146. package/dist/switch/root/switch-root.d.ts +7 -2
  147. package/dist/table/cell/table-cell.d.ts +1 -1
  148. package/dist/table/column/table-column.d.ts +1 -1
  149. package/dist/table/root/table-root.d.ts +14 -9
  150. package/dist/table/row/table-row.d.ts +1 -1
  151. package/dist/table-export/root/table-export-root.d.ts +11 -3
  152. package/dist/tabs/panel/tab-panel.d.ts +1 -1
  153. package/dist/tabs/root/tabs-root.d.ts +11 -3
  154. package/dist/tabs/tab/tab.d.ts +1 -1
  155. package/dist/tag/group/tag-group.d.ts +1 -1
  156. package/dist/tag/root/tag-root.d.ts +4 -4
  157. package/dist/terminal/root/terminal-root.d.ts +13 -6
  158. package/dist/textarea/root/textarea-root.d.ts +8 -1
  159. package/dist/theme-toggle/root/theme-toggle-root.d.ts +9 -4
  160. package/dist/time-input/root/time-input-root.d.ts +11 -5
  161. package/dist/time-picker/root/time-picker-root.d.ts +13 -10
  162. package/dist/timeline/group/timeline-group.d.ts +1 -1
  163. package/dist/timeline/item/timeline-item.d.ts +1 -1
  164. package/dist/timeline/root/timeline-root.d.ts +19 -11
  165. package/dist/toast/item/toast-item.d.ts +1 -1
  166. package/dist/toast/root/toast-root.d.ts +15 -15
  167. package/dist/toggle/group/toggle-group.d.ts +1 -1
  168. package/dist/toggle/root/toggle-root.d.ts +4 -1
  169. package/dist/toolbar/root/toolbar-root.d.ts +5 -1
  170. package/dist/tooltip/root/tooltip-root.d.ts +6 -6
  171. package/dist/tour/root/tour-root.d.ts +11 -4
  172. package/dist/tour/stop/tour-stop.d.ts +1 -1
  173. package/dist/tree/item/tree-item.d.ts +1 -1
  174. package/dist/tree/root/tree-root.d.ts +10 -3
  175. package/dist/trend/root/trend-root.d.ts +11 -6
  176. package/dist/video/root/video-root.d.ts +13 -10
  177. package/dist/video-playlist/item/video-playlist-item.d.ts +1 -1
  178. package/dist/video-playlist/menu/video-playlist-menu.d.ts +1 -1
  179. package/dist/video-playlist/root/video-playlist-root.d.ts +11 -6
  180. package/dist/view-panel/root/view-panel-root.d.ts +14 -8
  181. package/dist/virtual-list/root/virtual-list-root.d.ts +13 -8
  182. package/examples.json +1 -1
  183. package/lint.json +1 -1
  184. package/package.json +5 -5
  185. package/types/jsx.d.ts +266 -623
  186. package/types/vue.d.ts +267 -624
@@ -44,9 +44,8 @@ declare const HelixHeadlessTour_base: (new (...args: any[]) => import("@fusion.d
44
44
  * least distance that brings it on screen, so the stop that points at it is
45
45
  * on screen too.
46
46
  *
47
- * **A stop's `effect` runs as the tour reaches it**, before it is shown, and
48
- * the stop waits for a promise it returns, with `:state(preparing)` on the
49
- * tour meanwhile. A function it returns runs when the tour leaves the stop.
47
+ * While a stop's `effect` runs, the tour has `:state(preparing)`. A function
48
+ * the effect returns runs when the tour leaves the stop.
50
49
  *
51
50
  * **A press outside the current stop and its target does nothing by
52
51
  * default**, so a reader can use the page the tour is describing. Set
@@ -77,7 +76,15 @@ declare const HelixHeadlessTour_base: (new (...args: any[]) => import("@fusion.d
77
76
  * @status stable
78
77
  * @category overlays
79
78
  * @aliases Coachmark, Product tour, Walkthrough, Onboarding
80
- * @documentation https://fusion.dev/helix/components/tour
79
+ * @use A guided first look at an interface, one stop at a time, such as after you sign up.
80
+ * @instead steps - Stages of a task you complete in order, such as a checkout.
81
+ * @instead popover - Content beside one control that opens when you press it.
82
+ * @anatomy spotlight
83
+ * @anatomy surface
84
+ * @anatomy arrow
85
+ * @anatomy actions
86
+ * @practice Open what a stop points at in the stop's `effect`, such as a menu or a drawer. - The tour runs it as it reaches the stop, and waits for a promise it returns before it shows the stop.
87
+ * @documentation https://fusion.dev/design/components/tour
81
88
  *
82
89
  * @slot - The stops, in the order they are shown.
83
90
  *
@@ -69,7 +69,7 @@ export type TourStopEffect = (context: TourStopContext) => void | (() => void) |
69
69
  * @since 0.1.0
70
70
  * @status stable
71
71
  * @category overlays
72
- * @documentation https://fusion.dev/helix/components/tour
72
+ * @documentation https://fusion.dev/design/components/tour
73
73
  *
74
74
  * @slot - The stop's content. Any content works, such as a card, or a heading and a line.
75
75
  * @slot actions - Replaces the controls, which are Back, Next, and Skip.
@@ -57,7 +57,7 @@ declare const HelixHeadlessTreeItem_base: (new (...args: any[]) => import("@fusi
57
57
  * @since 0.1.0
58
58
  * @status stable
59
59
  * @aliases TreeNode, Branch, Leaf
60
- * @documentation https://fusion.dev/helix/components/tree
60
+ * @documentation https://fusion.dev/design/components/tree
61
61
  *
62
62
  * @slot - The item's label. A nested item does not go here: give it `slot="children"`. In a development build, an item nested here is reported.
63
63
  * @slot actions - Controls for the row, after `end`, such as a button that opens a menu. Shown while the row is hovered or focused.
@@ -59,8 +59,7 @@ declare const HelixHeadlessTree_base: (new (...args: any[]) => import("@fusion.d
59
59
  * item picked up that way, Enter or Space drops it, and Escape puts it back.
60
60
  * The tree says each step in its `live` region. A drop sends
61
61
  * `helix-before-reorder`, which you can refuse, and then `helix-reorder`, whose
62
- * `keys` hold the siblings in the new order. **You move the items**: the tree
63
- * moves no element of yours, and focus follows the moved item once you have.
62
+ * `keys` hold the siblings in the new order.
64
63
  *
65
64
  * **Alt with the arrow along the line moves an item into another branch.**
66
65
  * Alt with the arrow that opens a branch (Right on a left-to-right page) puts
@@ -82,7 +81,15 @@ declare const HelixHeadlessTree_base: (new (...args: any[]) => import("@fusion.d
82
81
  * @status stable
83
82
  * @category navigation
84
83
  * @aliases FileTree, Navigation tree
85
- * @documentation https://fusion.dev/helix/components/tree
84
+ * @use A hierarchy you open branch by branch, such as the files and folders of a project.
85
+ * @instead drilldown - Nested lists you step into one level at a time, on a narrow screen.
86
+ * @instead accordion - Sections of content that open and close, one level deep.
87
+ * @instead object-inspector - A structured value, such as JSON, shown as a tree.
88
+ * @anatomy item
89
+ * @anatomy toggle
90
+ * @anatomy children
91
+ * @practice {reordering} Move the items yourself in a `reorderable` tree. - The tree moves no element of yours, and focus follows the moved item once you have.
92
+ * @documentation https://fusion.dev/design/components/tree
86
93
  *
87
94
  * @slot - The tree's items.
88
95
  *
@@ -9,11 +9,9 @@ import { type PropertyValues, type TemplateResult } from 'lit';
9
9
  * movement and its color shows whether the change is good. Movement and
10
10
  * judgment are separate properties because they are separate facts.
11
11
  *
12
- * `good` is unset by default, so a trend with no judgment is gray. For churn,
13
- * latency, error rate, cost, and bounce rate, up is bad. Set the metric's
14
- * polarity once with `good`, and the component picks the color from the
15
- * movement. The judgment is also a custom state, `better` or `worse`, and so
16
- * is the movement, `up` or `down`, for a sheet of your own.
12
+ * `good` is unset by default, so a trend with no judgment is gray. The
13
+ * judgment is also a custom state, `better` or `worse`, and so is the
14
+ * movement, `up` or `down`, for a sheet of your own.
17
15
  *
18
16
  * The movement is also written as a word, so a screen reader reads it. The
19
17
  * styled tier hides `part="direction"` visually and keeps it in the
@@ -47,7 +45,14 @@ import { type PropertyValues, type TemplateResult } from 'lit';
47
45
  * @status stable
48
46
  * @category charts
49
47
  * @aliases Delta, Change, Movement
50
- * @documentation https://fusion.dev/helix/components/trend
48
+ * @use Which way a measurement moved, such as revenue up 12.4%, and whether that is good.
49
+ * @instead stat - One measurement, with a label that names what it measures.
50
+ * @instead sparkline - The shape of a series over time, in a small space.
51
+ * @instead line-chart - Every reading over a period, read against a scale.
52
+ * @anatomy icon
53
+ * @anatomy label?
54
+ * @practice Set `good` to the direction that is good for the metric. - Up is bad for churn, latency, error rate, cost, and bounce rate, and the color follows from `movement`.
55
+ * @documentation https://fusion.dev/design/components/trend
51
56
  *
52
57
  * @slot - The metric that moved. Not needed with `value`, which writes it.
53
58
  * @slot down-icon - Replaces the arrow while `movement` is `down`. Hidden from screen readers.
@@ -13,10 +13,6 @@ import '../../menu/index.js';
13
13
  * keys, Home and End, touch targets, and screen reader announcements work as
14
14
  * they do natively.
15
15
  *
16
- * When you set `controls`, the browser's control bar is used, the Helix bar is
17
- * not drawn, and the keys below are not bound, so a key press does not seek
18
- * twice.
19
- *
20
16
  * **Keyboard.** The keys match other players, and they are bound on the
21
17
  * element only, so they work while focus is on the player.
22
18
  *
@@ -42,11 +38,10 @@ import '../../menu/index.js';
42
38
  * On the scrubber and the volume slider, the arrow keys, Page Up, Page Down,
43
39
  * Home, and End move the slider, as on any range input.
44
40
  *
45
- * `<source>` and `<track>` children are copied into the video. A media element
46
- * selects resources from its own child nodes, and a slot is one node, so
47
- * slotted sources would give the video no text tracks, no current source, and a
48
- * `readyState` of zero, and it would not play. They are copied so your light
49
- * DOM stays intact, and are copied again whenever the slot changes.
41
+ * A slot is one node, so slotted sources would give the video no text tracks,
42
+ * no current source, and a `readyState` of zero, and it would not play. The
43
+ * children are copied so your light DOM stays intact, and are copied again
44
+ * whenever the slot changes.
50
45
  *
51
46
  * The player sends every media event of its inner video under the same name,
52
47
  * without bubbling, as a `<video>` sends it. Listen on the player as you would
@@ -57,7 +52,15 @@ import '../../menu/index.js';
57
52
  * @status stable
58
53
  * @category media
59
54
  * @aliases Player, Media, Movie
60
- * @documentation https://fusion.dev/helix/components/video
55
+ * @use One clip on a page, such as a product walkthrough.
56
+ * @instead video-playlist - Clips that play one after another in one player.
57
+ * @instead device-screen - A device's live screen that you tap and type into.
58
+ * @anatomy video
59
+ * @anatomy start
60
+ * @anatomy controls
61
+ * @practice {native} Set `controls` only where you want the browser's own control bar. - The Helix bar is then not drawn and its keys are not bound, so a key press does not seek twice.
62
+ * @practice {captions} Write sources and captions as `<source>` and `<track>` children of the player. - They are copied into the inner video, which selects resources from its own child nodes.
63
+ * @documentation https://fusion.dev/design/components/video
61
64
  *
62
65
  * @slot - `<source>` and `<track>` elements, which are copied into the video.
63
66
  * @slot captions-icon - Replaces the glyph on the captions control.
@@ -20,7 +20,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
20
20
  * @since 0.1.0
21
21
  * @status stable
22
22
  * @category media
23
- * @documentation https://fusion.dev/helix/components/video-playlist
23
+ * @documentation https://fusion.dev/design/components/video-playlist
24
24
  *
25
25
  * @slot - The entry's name.
26
26
  * @slot indicator - A mark shown on the entry that is playing, such as an equalizer icon. Rendered only while the entry is current.
@@ -15,7 +15,7 @@ import '../../menu/index.js';
15
15
  * @status stable
16
16
  * @category media
17
17
  * @aliases Episode Menu, Queue Menu, Up Next
18
- * @documentation https://fusion.dev/helix/components/video-playlist
18
+ * @documentation https://fusion.dev/design/components/video-playlist
19
19
  *
20
20
  * @slot trigger - Replaces the button that opens the menu.
21
21
  *
@@ -13,9 +13,7 @@ declare const HelixHeadlessVideoPlaylist_base: (new (...args: any[]) => import("
13
13
  *
14
14
  * **The player is a `Video` or a plain `<video>`.** Either takes `src` and
15
15
  * `poster` from the entry, is named by it, plays on, and answers Shift with N
16
- * or P while focused. A plain `<video>` has no previous and next controls
17
- * that send `helix-previous` or `helix-next`, so its moves are the entries,
18
- * the menu, and your own buttons calling `previous()` and `next()`.
16
+ * or P while focused.
19
17
  *
20
18
  * **Entries are markup.** React skips properties it would set imperatively
21
19
  * during hydration, so an array property on a custom element is missing on the
@@ -71,8 +69,6 @@ declare const HelixHeadlessVideoPlaylist_base: (new (...args: any[]) => import("
71
69
  * an edge. A press that does not travel still plays the entry.
72
70
  * - A drop sends `helix-before-reorder`, which you can refuse, and then
73
71
  * `helix-reorder`, whose `keys` hold every entry's `value` in the new order.
74
- * **You move the entries**: the playlist moves no element of yours, and the
75
- * next entry is the one after the current entry in the order you leave.
76
72
  * - Each move is said in the live region, in words you can change:
77
73
  * `moved-label`, `dropped-label`, `canceled-label`, and `picked-up-label`.
78
74
  *
@@ -85,7 +81,16 @@ declare const HelixHeadlessVideoPlaylist_base: (new (...args: any[]) => import("
85
81
  * @status stable
86
82
  * @category media
87
83
  * @aliases Playlist, Queue, Up next
88
- * @documentation https://fusion.dev/helix/components/video-playlist
84
+ * @use Episodes or lessons that play one after another in one player, listed beside it.
85
+ * @instead video - One clip on its own.
86
+ * @instead carousel - Slides that you move between, such as pictures or cards.
87
+ * @anatomy player
88
+ * @anatomy item
89
+ * @anatomy thumbnail
90
+ * @anatomy meta
91
+ * @practice Put a `Video` in the `player` slot. - A plain video has no previous and next controls, so its moves are the entries, the menu, and your own buttons calling `previous()` and `next()`.
92
+ * @practice Under `reorderable`, move the entries yourself, in the order the reorder event's keys hold. - The playlist moves no element of yours, and the next entry is the one after the current entry in the order you leave.
93
+ * @documentation https://fusion.dev/design/components/video-playlist
89
94
  *
90
95
  * @slot - The entries.
91
96
  * @slot empty - Shown while the playlist has no entries. Defaults to `empty-text`.
@@ -9,9 +9,7 @@ type Section = 'columns' | 'export' | 'filters' | 'sort';
9
9
  * @summary A panel that changes a Data Table's whole view on a phone: its presets, filters, sort, columns, and export.
10
10
  *
11
11
  * @description
12
- * On a phone a table has no room above it for a filter field, a Columns
13
- * button and an Export button. Put this panel in a `Drawer` opened by one
14
- * View button, set `for` to the table's id, and slot the tools into it:
12
+ * Set `for` to the table's id, and slot the tools into it:
15
13
  *
16
14
  * ```html
17
15
  * <helix-drawer label="View" placement="bottom">
@@ -32,15 +30,23 @@ type Section = 'columns' | 'export' | 'filters' | 'sort';
32
30
  * sort. Show closes the drawer or the dialog the panel is in, with how many
33
31
  * rows the view shows.
34
32
  *
35
- * `active` counts the search and the filters, for a badge on the View button.
36
- * The panel takes no width of its own, so show its View button at the widths
37
- * that need it, and the tools above the table at the rest.
38
- *
39
33
  * @since 0.238.0
40
34
  * @status experimental
41
35
  * @category data
42
36
  * @aliases View drawer, View sheet, Mobile filters
43
- * @documentation https://fusion.dev/helix/components/view-panel
37
+ * @use Every part of a Data Table's view in one panel, such as a drawer on a phone.
38
+ * @instead drawer - A panel of any content that slides in from an edge.
39
+ * @instead column-manager - The columns alone, beside the table on a wide screen.
40
+ * @instead quick-filters - Presets in a row above the table.
41
+ * @anatomy header
42
+ * @anatomy presets?
43
+ * @anatomy section
44
+ * @anatomy summary
45
+ * @anatomy show
46
+ * @practice Put View Panel in a Drawer opened by one View button. - On a phone a table has no room above it for a filter field, a Columns button, and an Export button.
47
+ * @practice Show the View button at the widths that need it, and the tools above the table at the rest. - The panel takes no width of its own.
48
+ * @practice Show `active` in a badge on the View button. - It counts the search and the filters the view holds.
49
+ * @documentation https://fusion.dev/design/components/view-panel
44
50
  *
45
51
  * @slot columns - A `ColumnManager` for the table.
46
52
  * @slot export - A `TableExport` for the table.
@@ -137,9 +137,7 @@ export interface VirtualListRange {
137
137
  * let go of. `value` holds the chosen items' keys, separated by commas, in
138
138
  * the order of the set: `key-field` names each item's key, and a string or a
139
139
  * number item is its own key. A change asks with `helix-before-change` and
140
- * tells with `change`. Each row is an `option` marked `aria-selected`, so a
141
- * row's own links and buttons are not reached there: keep those to a list
142
- * without `selection-mode`.
140
+ * tells with `change`. Each row is an `option` marked `aria-selected`.
143
141
  *
144
142
  * `selection-behavior="replace"` selects the item pressed alone, as a file
145
143
  * list does, and the arrow keys carry the selection with them. Control or
@@ -158,9 +156,9 @@ export interface VirtualListRange {
158
156
  * **Loading more.** `helix-range-change` fires as the items on screen change,
159
157
  * and `range` holds them. `helix-load-more` fires once a reader is within one
160
158
  * screen of the end, once for each length of the set: add to `items` and it can
161
- * fire again. While you fetch, set `loading`: the list is busy, and a row after
162
- * the last item says "Loading", the word every collection uses (`loading-text`,
163
- * or your own content in the `loading` slot). `scrollToIndex` takes a reader to an item.
159
+ * fire again. While `loading` is set, the row after the last item says
160
+ * "Loading", the word every collection uses (`loading-text`, or your own
161
+ * content in the `loading` slot). `scrollToIndex` takes a reader to an item.
164
162
  *
165
163
  * **Moving items** is a separate import, `@fusion.dev/helix/virtual-list/reorder`,
166
164
  * as React Aria's drag and drop is. With it imported, `reorderable` lets a
@@ -203,12 +201,19 @@ export interface VirtualListRange {
203
201
  *
204
202
  * The viewport scrolls on this tier. It carries `data-scroller`, and `core`
205
203
  * ships `[data-scroller] { overflow: auto }` into every shadow root, so
206
- * `scrollTop` works with no stylesheet. You still need to set a block size.
204
+ * `scrollTop` works with no stylesheet.
207
205
  *
208
206
  * @since 0.1.0
209
207
  * @status stable
210
208
  * @category layout
211
- * @documentation https://fusion.dev/helix/components/virtual-list
209
+ * @use Thousands of rows in one scrolling list, such as a contact list.
210
+ * @instead scroll-area - A short box of content that scrolls.
211
+ * @instead data-table - Rows with columns that you sort, filter, and page.
212
+ * @instead list - A set of rows short enough to draw whole.
213
+ * @practice {loading-more} Set `loading` while you fetch more items, then add them to `items`. - The list is then busy, and a reader sees that more is on its way.
214
+ * @practice Keep links and buttons in rows to a list without `selection-mode`. - With it, each row is an option, and a row's own links and buttons are not reached there.
215
+ * @practice On the headless tier, give the `viewport` part a block size. - Without one, the viewport is as tall as its rows and does not scroll.
216
+ * @documentation https://fusion.dev/design/components/virtual-list
212
217
  *
213
218
  * @slot - The `<template>` that defines one row. The list writes the rows it renders beside it, and this slot shows them between the two spacers.
214
219
  * @slot empty - Content for the row shown when there are no items and none are loading. Falls back to `empty-text`.