@fusion.dev/helix-headless 0.248.0 → 0.248.3

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 (184) 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 +1 -1
  6. package/dist/announcement/root/announcement-root.d.ts +1 -1
  7. package/dist/app-header/root/app-header-root.d.ts +1 -1
  8. package/dist/area-chart/root/area-chart-root.d.ts +1 -1
  9. package/dist/avatar/group/avatar-group.d.ts +1 -1
  10. package/dist/avatar/root/avatar-root.d.ts +1 -1
  11. package/dist/badge/root/badge-root.d.ts +1 -1
  12. package/dist/bar-chart/root/bar-chart-root.d.ts +1 -1
  13. package/dist/blockquote/root/blockquote-root.d.ts +1 -1
  14. package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +1 -1
  15. package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +1 -1
  16. package/dist/button/root/button-root.d.ts +1 -1
  17. package/dist/button-group/root/button-group-root.d.ts +1 -1
  18. package/dist/callout/root/callout-root.d.ts +1 -1
  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 +1 -1
  22. package/dist/card/root/card-root.d.ts +1 -1
  23. package/dist/carousel/root/carousel-root.d.ts +1 -1
  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 +1 -1
  27. package/dist/checkbox/root/checkbox-root.d.ts +1 -1
  28. package/dist/checkbox-group/root/checkbox-group-root.d.ts +1 -1
  29. package/dist/code/root/code-root.d.ts +1 -1
  30. package/dist/code-block/root/code-block-root.d.ts +1 -1
  31. package/dist/code-editor/root/code-editor-root.d.ts +1 -1
  32. package/dist/code-input/root/code-input-root.d.ts +1 -1
  33. package/dist/color-input/root/color-input-root.d.ts +1 -1
  34. package/dist/color-picker/root/color-picker-root.d.ts +1 -1
  35. package/dist/column-manager/root/column-manager-root.d.ts +1 -1
  36. package/dist/combobox/root/combobox-root.d.ts +1 -1
  37. package/dist/command/root/command-root.d.ts +1 -1
  38. package/dist/copy-button/root/copy-button-root.d.ts +1 -1
  39. package/dist/data-table/root/data-table-root.d.ts +1 -1
  40. package/dist/date-input/root/date-input-root.d.ts +1 -1
  41. package/dist/date-picker/root/date-picker-root.d.ts +1 -1
  42. package/dist/description-list/item/description-list-item.d.ts +1 -1
  43. package/dist/description-list/root/description-list-root.d.ts +1 -1
  44. package/dist/device-screen/root/device-screen-root.d.ts +1 -1
  45. package/dist/dialog/root/dialog-root.d.ts +1 -1
  46. package/dist/divider/root/divider-root.d.ts +1 -1
  47. package/dist/donut-chart/root/donut-chart-root.d.ts +1 -1
  48. package/dist/drawer/root/drawer-root.d.ts +1 -1
  49. package/dist/drilldown/item/drilldown-item.d.ts +1 -1
  50. package/dist/drilldown/root/drilldown-root.d.ts +1 -1
  51. package/dist/editor/root/editor-root.d.ts +1 -1
  52. package/dist/empty/root/empty-root.d.ts +1 -1
  53. package/dist/file-input/root/file-input-root.d.ts +1 -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 +1 -1
  59. package/dist/find/root/find-root.d.ts +1 -1
  60. package/dist/format-date/root/format-date-root.d.ts +1 -1
  61. package/dist/graph/root/graph-root.d.ts +1 -1
  62. package/dist/heatmap/root/heatmap-root.d.ts +1 -1
  63. package/dist/hover-card/root/hover-card-root.d.ts +1 -1
  64. package/dist/icon/root/icon-root.d.ts +1 -1
  65. package/dist/icon-button/root/icon-button-root.d.ts +1 -1
  66. package/dist/image/root/image-root.d.ts +1 -1
  67. package/dist/input/root/input-root.d.ts +1 -1
  68. package/dist/kbd/root/kbd-root.d.ts +1 -1
  69. package/dist/legend/root/legend-root.d.ts +1 -1
  70. package/dist/lightbox/item/lightbox-item.d.ts +1 -1
  71. package/dist/lightbox/root/lightbox-root.d.ts +1 -1
  72. package/dist/line-chart/root/line-chart-root.d.ts +1 -1
  73. package/dist/list/item/list-item.d.ts +1 -1
  74. package/dist/list/root/list-root.d.ts +1 -1
  75. package/dist/listbox/root/listbox-root.d.ts +1 -1
  76. package/dist/loader/root/loader-root.d.ts +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  92. package/dist/megamenu/root/megamenu-root.d.ts +1 -1
  93. package/dist/menu/item/menu-item.d.ts +1 -1
  94. package/dist/menu/root/menu-root.d.ts +1 -1
  95. package/dist/menu/section/menu-section.d.ts +1 -1
  96. package/dist/meter/root/meter-root.d.ts +1 -1
  97. package/dist/meter/segment/meter-segment.d.ts +1 -1
  98. package/dist/motion-toggle/root/motion-toggle-root.d.ts +1 -1
  99. package/dist/navigation/root/navigation-root.d.ts +1 -1
  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 +1 -1
  103. package/dist/number-input/root/number-input-root.d.ts +1 -1
  104. package/dist/object-inspector/root/object-inspector-root.d.ts +1 -1
  105. package/dist/option/group/option-group.d.ts +1 -1
  106. package/dist/option/root/option-root.d.ts +1 -1
  107. package/dist/option/separator/option-separator.d.ts +1 -1
  108. package/dist/outline/root/outline-root.d.ts +1 -1
  109. package/dist/pagination/root/pagination-root.d.ts +1 -1
  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 +1 -1
  113. package/dist/popover/root/popover-root.d.ts +1 -1
  114. package/dist/progress/root/progress-root.d.ts +1 -1
  115. package/dist/qr-code/root/qr-code-root.d.ts +1 -1
  116. package/dist/quick-filters/filter/quick-filter.d.ts +1 -1
  117. package/dist/quick-filters/root/quick-filters-root.d.ts +1 -1
  118. package/dist/quote/root/quote-root.d.ts +1 -1
  119. package/dist/radio/group/radio-group.d.ts +1 -1
  120. package/dist/radio/root/radio-root.d.ts +1 -1
  121. package/dist/rating/root/rating-root.d.ts +1 -1
  122. package/dist/scatter-chart/root/scatter-chart-root.d.ts +1 -1
  123. package/dist/scroll-area/root/scroll-area-root.d.ts +1 -1
  124. package/dist/select/root/select-root.d.ts +1 -1
  125. package/dist/selection-bar/root/selection-bar-root.d.ts +1 -1
  126. package/dist/shortcut-overlay/root/shortcut-overlay-root.d.ts +1 -1
  127. package/dist/skeleton/root/skeleton-root.d.ts +1 -1
  128. package/dist/skip-link/root/skip-link-root.d.ts +1 -1
  129. package/dist/slider/root/slider-root.d.ts +1 -1
  130. package/dist/sparkline/root/sparkline-root.d.ts +1 -1
  131. package/dist/spatial-bar-chart/root/spatial-bar-chart-root.d.ts +1 -1
  132. package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +1 -1
  133. package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.d.ts +1 -1
  134. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +1 -1
  135. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +1 -1
  136. package/dist/spatial-treemap/root/spatial-treemap-root.d.ts +1 -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 +1 -1
  140. package/dist/splitter/root/splitter-root.d.ts +1 -1
  141. package/dist/stat/group/stat-group.d.ts +1 -1
  142. package/dist/stat/root/stat-root.d.ts +12 -1
  143. package/dist/stat/root/stat-root.js +8 -2
  144. package/dist/steps/root/steps-root.d.ts +1 -1
  145. package/dist/steps/step/step.d.ts +1 -1
  146. package/dist/switch/root/switch-root.d.ts +1 -1
  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 +1 -1
  150. package/dist/table/row/table-row.d.ts +1 -1
  151. package/dist/table-export/root/table-export-root.d.ts +1 -1
  152. package/dist/tabs/panel/tab-panel.d.ts +1 -1
  153. package/dist/tabs/root/tabs-root.d.ts +1 -1
  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 +1 -1
  157. package/dist/terminal/root/terminal-root.d.ts +1 -1
  158. package/dist/textarea/root/textarea-root.d.ts +1 -1
  159. package/dist/theme-toggle/root/theme-toggle-root.d.ts +1 -1
  160. package/dist/time-input/root/time-input-root.d.ts +1 -1
  161. package/dist/time-picker/root/time-picker-root.d.ts +1 -1
  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 +1 -1
  165. package/dist/toast/item/toast-item.d.ts +1 -1
  166. package/dist/toast/root/toast-root.d.ts +1 -1
  167. package/dist/toggle/group/toggle-group.d.ts +1 -1
  168. package/dist/toggle/root/toggle-root.d.ts +1 -1
  169. package/dist/toolbar/root/toolbar-root.d.ts +1 -1
  170. package/dist/tooltip/root/tooltip-root.d.ts +1 -1
  171. package/dist/tour/root/tour-root.d.ts +1 -1
  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 +1 -1
  175. package/dist/trend/root/trend-root.d.ts +1 -1
  176. package/dist/video/root/video-root.d.ts +1 -1
  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 +1 -1
  180. package/dist/view-panel/root/view-panel-root.d.ts +1 -1
  181. package/dist/virtual-list/root/virtual-list-root.d.ts +1 -1
  182. package/examples.json +1 -1
  183. package/lint.json +1 -1
  184. package/package.json +5 -5
@@ -26,7 +26,7 @@ import { type CSSResultGroup, type PropertyValues, type TemplateResult } from 'l
26
26
  * @anatomy quote
27
27
  * @practice Leave quotation marks out of the text. - The browser draws the marks for the language, so a typed one shows twice.
28
28
  * @practice {languages} Write the language on a quotation in another language, such as `lang="fr"`. - Its marks follow it, so `lang="fr"` sets «…» inside an English page.
29
- * @documentation https://fusion.dev/helix/components/quote
29
+ * @documentation https://fusion.dev/design/components/quote
30
30
  *
31
31
  * @slot - The quoted text.
32
32
  *
@@ -48,7 +48,7 @@ declare const HelixHeadlessRadioGroup_base: (new (...args: any[]) => import("@fu
48
48
  * @since 0.1.0
49
49
  * @status stable
50
50
  * @aliases RadioButtons, Choice group
51
- * @documentation https://fusion.dev/helix/components/radio
51
+ * @documentation https://fusion.dev/design/components/radio
52
52
  *
53
53
  * @slot - The radios.
54
54
  * @slot feedback - The error message, for content richer than a string. It shows while there is a message.
@@ -28,7 +28,7 @@ declare const HelixHeadlessRadio_base: (new (...args: any[]) => import("@fusion.
28
28
  * @anatomy box
29
29
  * @anatomy label
30
30
  * @practice Set the label, the hint, and the message on the `Radio.Group`. - They belong to the set, and a radio has no label of its own: its content names it.
31
- * @documentation https://fusion.dev/helix/components/radio
31
+ * @documentation https://fusion.dev/design/components/radio
32
32
  *
33
33
  * @slot - The radio's label.
34
34
  * @slot icon - An icon shown beside the label. With `chip`, the icon
@@ -42,7 +42,7 @@ declare const HelixHeadlessRating_base: (new (...args: any[]) => import("@fusion
42
42
  * @anatomy track
43
43
  * @practice {halves} Set `step` to `0.5` for half marks. - Five marks at a half step give ten places to press.
44
44
  * @practice {review-summary} Set `readonly` to show a score. - A read-only rating is announced as a displayed value and does not look disabled.
45
- * @documentation https://fusion.dev/helix/components/rating
45
+ * @documentation https://fusion.dev/design/components/rating
46
46
  *
47
47
  * @slot empty-mark - The shape of an unfilled mark, copied into every position of the track, such as an outlined star beside a filled `mark`. Without it, the track copies `mark`.
48
48
  * @slot feedback - The message that says what is wrong, for content richer than a string. It shows while there is a message.
@@ -112,7 +112,7 @@ declare const HelixHeadlessScatterChart_base: typeof HelixElement & (new (...arg
112
112
  * @anatomy x-name
113
113
  * @practice Put the measure read across in the first numeric column of the table `for` names. - That column is measured across, every other numeric column is measured up, and each row is one point.
114
114
  * @practice Point `for` at a table on the page, and set `data` only where there is none. - A table reads before any script runs.
115
- * @documentation https://fusion.dev/helix/components/scatter-chart
115
+ * @documentation https://fusion.dev/design/components/scatter-chart
116
116
  *
117
117
  * @slot empty - Content shown in place of the drawing when the table has no readings, such as a link to add the first. Falls back to `empty-text`.
118
118
  * @slot error - Content shown after `error-text` while it is set and there are no readings, such as a button that tries again.
@@ -56,7 +56,7 @@ declare const EDGES: readonly ['block-start', 'block-end', 'inline-start', 'inli
56
56
  * @use A box of fixed height whose content scrolls, such as release notes in a panel.
57
57
  * @instead virtual-list - Thousands of rows, of which only those in view are drawn.
58
58
  * @instead log - Output that arrives while you watch, with the newest line kept in view.
59
- * @documentation https://fusion.dev/helix/components/scroll-area
59
+ * @documentation https://fusion.dev/design/components/scroll-area
60
60
  *
61
61
  * @slot - The content that scrolls.
62
62
  *
@@ -72,7 +72,7 @@ declare const HelixHeadlessSelect_base: (new (...args: any[]) => import("@fusion
72
72
  * @practice Import Option beside Select. - An option belongs to the Option family, which Select does not register.
73
73
  * @practice Group options with `Option.Group`, and divide them with `Option.Separator`. - The Option import registers all three.
74
74
  * @practice Set `items` for a list too long to draw whole. - The list draws only the options in sight, and the trigger, its keys, and the form still read the whole set.
75
- * @documentation https://fusion.dev/helix/components/select
75
+ * @documentation https://fusion.dev/design/components/select
76
76
  *
77
77
  * @slot - The options, and any groups of them.
78
78
  * @slot end - Content after the chosen value, such as a count, a unit, or a clear button.
@@ -30,7 +30,7 @@ import { TableBinding, type ToolTable } from '../../data-table/binding.js';
30
30
  * @anatomy clear
31
31
  * @practice Put Selection Bar in the Data Table's selection slot. - It then takes the toolbar's place while rows are selected.
32
32
  * @practice Set `for` to the table's id where the bar is written outside the table. - Written inside the table, it finds the table.
33
- * @documentation https://fusion.dev/helix/components/selection-bar
33
+ * @documentation https://fusion.dev/design/components/selection-bar
34
34
  *
35
35
  * @slot - What you can do to the selected rows, such as buttons.
36
36
  *
@@ -38,7 +38,7 @@ type HoldKey = 'alt' | 'ctrl' | 'mod' | 'shift';
38
38
  * @anatomy badge-keys
39
39
  * @anatomy badge-name
40
40
  * @practice Set `sheet-keys` to another chord where your page answers `?` with its own help. - Many apps, GitHub and Gmail among them, give `?` to their own help, and one press then opens both.
41
- * @documentation https://fusion.dev/helix/components/shortcut-overlay
41
+ * @documentation https://fusion.dev/design/components/shortcut-overlay
42
42
  *
43
43
  * @csspart badge - One control's badge.
44
44
  * @csspart badge-keys - A badge's keys.
@@ -36,7 +36,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
36
36
  * @anatomy skeleton
37
37
  * @practice {loading} Put the real content inside the skeleton and set `loading`. - The skeleton takes the content's size, so nothing moves when the content arrives.
38
38
  * @practice {revealing} Draw your own placeholder in the `placeholder` slot for content that is not there until it loads. - The placeholder shows while `loading` is set, laid out as the content will be, such as a circle and three lines for a profile.
39
- * @documentation https://fusion.dev/helix/components/skeleton
39
+ * @documentation https://fusion.dev/design/components/skeleton
40
40
  *
41
41
  * @slot - The content the skeleton stands in for, which sizes it. Optional.
42
42
  * @slot placeholder - What shows while `loading` is set, in place of the content, such as skeletons laid out as the content will be. Falls back to the skeleton's own shape.
@@ -30,7 +30,7 @@ import { type TemplateResult } from 'lit';
30
30
  * @aliases Skip navigation, Skip to content
31
31
  * @use A page with a header or a navigation before its main content.
32
32
  * @practice {custom-target} Put it first inside the body, and give the content region the id its `href` names. - A press moves focus past the header to that region.
33
- * @documentation https://fusion.dev/helix/components/skip-link
33
+ * @documentation https://fusion.dev/design/components/skip-link
34
34
  *
35
35
  * @slot - The link's text. Defaults to `label`.
36
36
  *
@@ -75,7 +75,7 @@ declare const HelixHeadlessSlider_base: (new (...args: any[]) => import("@fusion
75
75
  * @anatomy hint?
76
76
  * @practice Read `valueAsNumber` for arithmetic. - The value is a string, like every other form control's.
77
77
  * @practice {markers} Set `step` for where the value can land, and `markers` for the marks drawn. - Marks are decoration, and the input holds to `step` whether or not marks are drawn.
78
- * @documentation https://fusion.dev/helix/components/slider
78
+ * @documentation https://fusion.dev/design/components/slider
79
79
  *
80
80
  * @slot feedback - The message that says what is wrong, for content richer than a string. It shows while there is a message.
81
81
  * @slot hint - Help under the control, for content richer than the `hint` text.
@@ -60,7 +60,7 @@ import { nothing, type PropertyValues, type TemplateResult } from 'lit';
60
60
  * @instead trend - Which way one measurement moved, and whether that is good.
61
61
  * @practice Set `values` to the numbers, and use `for` only where a real table stands behind the sparkline. - A table behind a small trend line would be read aloud row by row.
62
62
  * @practice Place the sparkline beside a `Stat`. - A change beside a figure is a second fact, and `Trend` is placed the same way.
63
- * @documentation https://fusion.dev/helix/components/sparkline
63
+ * @documentation https://fusion.dev/design/components/sparkline
64
64
  *
65
65
  * @slot empty - Content shown in place of the line when there are no readings. Falls back to `empty-text`.
66
66
  * @slot error - Content shown after `error-text` while it is set and there are no readings, such as a button that tries again.
@@ -72,7 +72,7 @@ declare const HelixHeadlessSpatialBarChart_base: typeof HelixElement & (new (...
72
72
  * @anatomy grid
73
73
  * @anatomy bar
74
74
  * @anatomy tick
75
- * @documentation https://fusion.dev/helix/components/spatial-bar-chart
75
+ * @documentation https://fusion.dev/design/components/spatial-bar-chart
76
76
  *
77
77
  * @slot - The renderer's box, which the 3D drawing is made in.
78
78
  * @slot empty - Content shown when the table has no readings. Falls back to `empty-text`.
@@ -98,7 +98,7 @@ type DrawnCorners = {
98
98
  * @anatomy base
99
99
  * @anatomy start?
100
100
  * @anatomy end?
101
- * @documentation https://fusion.dev/helix/components/spatial-heatmap
101
+ * @documentation https://fusion.dev/design/components/spatial-heatmap
102
102
  *
103
103
  * @slot renderer - The renderer's box, which a 3D drawing is made in, over the chart's own.
104
104
  *
@@ -66,7 +66,7 @@ declare const HelixHeadlessSpatialRibbonChart_base: typeof HelixElement & (new (
66
66
  * @anatomy grid
67
67
  * @anatomy ribbon
68
68
  * @anatomy tick
69
- * @documentation https://fusion.dev/helix/components/spatial-ribbon-chart
69
+ * @documentation https://fusion.dev/design/components/spatial-ribbon-chart
70
70
  *
71
71
  * @slot - The renderer's box, which the 3D drawing is made in.
72
72
  * @slot empty - Content shown when the table has no readings. Falls back to `empty-text`.
@@ -64,7 +64,7 @@ declare const HelixHeadlessSpatialScatterChart_base: typeof HelixElement & (new
64
64
  * @anatomy point
65
65
  * @anatomy tick
66
66
  * @anatomy axis-name
67
- * @documentation https://fusion.dev/helix/components/spatial-scatter-chart
67
+ * @documentation https://fusion.dev/design/components/spatial-scatter-chart
68
68
  *
69
69
  * @slot - The renderer's box, which the 3D drawing is made in.
70
70
  * @slot empty - Content shown when the table has no points. Falls back to `empty-text`.
@@ -66,7 +66,7 @@ declare const HelixHeadlessSpatialSurfaceChart_base: typeof HelixElement & (new
66
66
  * @anatomy grid
67
67
  * @anatomy face
68
68
  * @anatomy tick
69
- * @documentation https://fusion.dev/helix/components/spatial-surface-chart
69
+ * @documentation https://fusion.dev/design/components/spatial-surface-chart
70
70
  *
71
71
  * @slot - The renderer's box, which the 3D drawing is made in.
72
72
  * @slot empty - Content shown when the table has no readings. Falls back to `empty-text`.
@@ -67,7 +67,7 @@ declare const HelixHeadlessSpatialTreemap_base: typeof HelixElement & (new (...a
67
67
  * @anatomy grid
68
68
  * @anatomy block
69
69
  * @anatomy tick
70
- * @documentation https://fusion.dev/helix/components/spatial-treemap
70
+ * @documentation https://fusion.dev/design/components/spatial-treemap
71
71
  *
72
72
  * @slot - The renderer's box, which the 3D drawing is made in.
73
73
  * @slot empty - Content shown when the table has no readings. Falls back to `empty-text`.
@@ -16,7 +16,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
16
16
  * @status stable
17
17
  * @category actions
18
18
  * @aliases Speed dial section, Action group
19
- * @documentation https://fusion.dev/helix/components/speed-dial
19
+ * @documentation https://fusion.dev/design/components/speed-dial
20
20
  *
21
21
  * @slot - The group's actions.
22
22
  * @slot label - The group's name, for content richer than the `label` text.
@@ -28,7 +28,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
28
28
  * @status stable
29
29
  * @category actions
30
30
  * @aliases Speed dial action, FAB action, Quick action
31
- * @documentation https://fusion.dev/helix/components/speed-dial
31
+ * @documentation https://fusion.dev/design/components/speed-dial
32
32
  *
33
33
  * @slot - The action's name.
34
34
  * @slot icon - The action's icon, the main way the action is recognized.
@@ -70,7 +70,7 @@ declare const HelixHeadlessSpeedDial_base: (new (...args: any[]) => import("@fus
70
70
  * @anatomy icon
71
71
  * @practice Import Icon beside Speed Dial where your trigger or your actions use one. - Speed Dial draws no icon of its own, so it does not register one.
72
72
  * @practice Set `open-on="long-press"` for a trigger with an action of its own, such as composing a message. - A press then runs the trigger's action, and holding it for half a second opens the dial.
73
- * @documentation https://fusion.dev/helix/components/speed-dial
73
+ * @documentation https://fusion.dev/design/components/speed-dial
74
74
  *
75
75
  * @slot - The actions.
76
76
  * @slot icon - Replaces the plus on the button the dial draws when no trigger is slotted, such as with a pencil for a dial of ways to write.
@@ -68,7 +68,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
68
68
  * @practice Set `primary` to a sidebar's pane. - That pane keeps its size when the splitter's own size changes, and the other pane takes all of the change.
69
69
  * @practice {bounds} Set `min` and `end-min` to the least each pane needs. - By default the divider reaches either edge, so you can drag a pane fully closed.
70
70
  * @practice {nested} For three columns, nest a splitter in the `end` pane of another. - A divider then resizes only the two panes beside it.
71
- * @documentation https://fusion.dev/helix/components/splitter
71
+ * @documentation https://fusion.dev/design/components/splitter
72
72
  *
73
73
  * @slot end - The pane after the divider.
74
74
  * @slot handle - A mark drawn at the middle of the divider, such as a grip icon. It takes no focus and no pointer of its own: a press on it is a press on the divider.
@@ -14,7 +14,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
14
14
  * @since 0.1.0
15
15
  * @status stable
16
16
  * @aliases Metrics, KPIs, Figures
17
- * @documentation https://fusion.dev/helix/components/stat
17
+ * @documentation https://fusion.dev/design/components/stat
18
18
  *
19
19
  * @slot - The stats.
20
20
  */
@@ -56,7 +56,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
56
56
  * @anatomy group?
57
57
  * @practice {trend} Put a Trend in the `trend` slot. - It is read inside the stat's group, after the figure it qualifies.
58
58
  * @practice {counting} Set `value` for a figure a dashboard refreshes. - A new `value` counts from the one before, so the figure reads as having moved, and a slotted figure changes at once.
59
- * @documentation https://fusion.dev/helix/components/stat
59
+ * @documentation https://fusion.dev/design/components/stat
60
60
  *
61
61
  * @slot - The value.
62
62
  * @slot label - What the value measures, which also names the stat for a screen reader.
@@ -150,6 +150,17 @@ export declare class HelixHeadlessStat extends HelixElement {
150
150
  connectedCallback(): void;
151
151
  disconnectedCallback(): void;
152
152
  private readonly refit;
153
+ /**
154
+ * Reads a slotted figure that changed, and measures it again.
155
+ *
156
+ * **A figure edited in place kept its old step.** A render measures, but an
157
+ * edit that leaves the runs as they were asks for none, and the stat's own
158
+ * width does not move, so nothing measured: "123456789012" stepped twice in a
159
+ * 120 pixel stat, edited to "12", stayed two steps down with room to spare.
160
+ * Measured here only when no update is coming, since the update measures, and
161
+ * not while a count runs, which is fitted to the number it rests on.
162
+ */
163
+ private readonly figureEdited;
153
164
  /**
154
165
  * Sets the figure a step or two smaller where it does not fit on one line.
155
166
  *
@@ -20,6 +20,12 @@ let HelixHeadlessStat = class HelixHeadlessStat extends HelixElement {
20
20
  this.slottedRuns = [];
21
21
  this.figureRead = false;
22
22
  this.refit = () => this.fit();
23
+ this.figureEdited = () => {
24
+ this.readFigure();
25
+ if (this.hasUpdated && !this.isUpdatePending && this.count.counting === undefined) {
26
+ this.fit();
27
+ }
28
+ };
23
29
  this.stepNeeded = 0;
24
30
  this.readFigure = () => {
25
31
  const slot = this.renderRoot?.querySelector('slot:not([name])');
@@ -93,7 +99,7 @@ let HelixHeadlessStat = class HelixHeadlessStat extends HelixElement {
93
99
  this.widths = new ResizeObserver(() => this.fit());
94
100
  this.widths.observe(this);
95
101
  if (typeof MutationObserver !== 'undefined') {
96
- this.edits = new MutationObserver(this.readFigure);
102
+ this.edits = new MutationObserver(this.figureEdited);
97
103
  this.edits.observe(this, { characterData: true, subtree: true });
98
104
  }
99
105
  this.ownerDocument.fonts?.addEventListener('loadingdone', this.refit);
@@ -203,7 +209,7 @@ let HelixHeadlessStat = class HelixHeadlessStat extends HelixElement {
203
209
  }
204
210
  const written = figure !== '' || slotted.length > 0;
205
211
  return html `<slot name="label" part="label" @slotchange=${() => this.requestUpdate()}></slot>
206
- ${figure === '' ? html `${written ? html `<span part="value">${pieces}</span>` : nothing}<slot part=${written ? nothing : 'value'} ?hidden=${written} @slotchange=${this.readFigure}></slot>` : this.drawFigure(pieces)}
212
+ ${figure === '' ? html `${written ? html `<span part="value">${pieces}</span>` : nothing}<slot part=${written ? nothing : 'value'} ?hidden=${written} @slotchange=${this.figureEdited}></slot>` : this.drawFigure(pieces)}
207
213
  <slot name="unit" part="unit" @slotchange=${this.readPieces}></slot>
208
214
  <slot name="trend" part="trend" @slotchange=${this.readPieces}></slot>`;
209
215
  }
@@ -72,7 +72,7 @@ declare const HelixHeadlessSteps_base: (new (...args: any[]) => import("@fusion.
72
72
  * @anatomy progress?
73
73
  * @practice Give every step a `value`, or none. - A step with no value is named by its place, so a value of 2 and the second place are one name.
74
74
  * @practice Set `--button-background-color` to change the hover color of a step's name. - The name is a Button, and Steps has no `--steps-hover-color`.
75
- * @documentation https://fusion.dev/helix/components/steps
75
+ * @documentation https://fusion.dev/design/components/steps
76
76
  *
77
77
  * @slot - The steps.
78
78
  *
@@ -34,7 +34,7 @@ import '../../button/index.js';
34
34
  * @since 0.1.0
35
35
  * @status stable
36
36
  * @aliases Stage
37
- * @documentation https://fusion.dev/helix/components/steps
37
+ * @documentation https://fusion.dev/design/components/steps
38
38
  *
39
39
  * @slot - The step's name.
40
40
  * @slot content - The stage's content. The headless tier always renders it, because it has no stylesheet to collapse it with. Your stylesheet decides whether it is collapsed.
@@ -39,7 +39,7 @@ declare const HelixHeadlessSwitch_base: (new (...args: any[]) => import("@fusion
39
39
  * @anatomy label
40
40
  * @anatomy hint?
41
41
  * @practice Apply the setting the moment the switch changes, with no Save button after it. - People expect a switch to take effect at once.
42
- * @documentation https://fusion.dev/helix/components/switch
42
+ * @documentation https://fusion.dev/design/components/switch
43
43
  *
44
44
  * @slot - The label that names what the switch turns on.
45
45
  * @slot feedback - The message that says what is wrong, for content richer than a string. It shows while there is a message.
@@ -21,7 +21,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
21
21
  * @since 0.1.0
22
22
  * @status stable
23
23
  * @aliases Cell, TableCell
24
- * @documentation https://fusion.dev/helix/components/table
24
+ * @documentation https://fusion.dev/design/components/table
25
25
  *
26
26
  * @slot - The cell's content.
27
27
  *
@@ -82,7 +82,7 @@ export { edgeOf } from '../edge.js';
82
82
  * @since 0.1.0
83
83
  * @status stable
84
84
  * @aliases Column header, Th
85
- * @documentation https://fusion.dev/helix/components/table
85
+ * @documentation https://fusion.dev/design/components/table
86
86
  *
87
87
  * @slot - The heading.
88
88
  *
@@ -163,7 +163,7 @@ declare const HelixHeadlessTable_base: (new (...args: any[]) => import("@fusion.
163
163
  * @practice {reordering} Give each row a `value` in a `reorderable` table. - A row without one is known by its place, so its key changes as it moves.
164
164
  * @practice Put your rows in the order a reorder reports. - The table moves no element of yours.
165
165
  * @practice Set `grid` only where each cell may take focus. - A grid table gives every cell a `tabindex`, so focus can rest on it.
166
- * @documentation https://fusion.dev/helix/components/table
166
+ * @documentation https://fusion.dev/design/components/table
167
167
  *
168
168
  * @slot - The table's rows.
169
169
  * @slot columns - The columns, as `TableColumn` elements. The table moves each column here itself, so markup that runs in a browser leaves it out; a server-rendered page writes `slot="columns"` on each column so the headings sit in place before the table upgrades.
@@ -39,7 +39,7 @@ export type TableRowMove = 'dragging' | 'drop-after' | 'drop-before';
39
39
  * @since 0.1.0
40
40
  * @status stable
41
41
  * @aliases Row, TableRow
42
- * @documentation https://fusion.dev/helix/components/table
42
+ * @documentation https://fusion.dev/design/components/table
43
43
  *
44
44
  * @slot - The row's cells.
45
45
  *
@@ -46,7 +46,7 @@ interface ExportChoices {
46
46
  * @anatomy format
47
47
  * @anatomy actions
48
48
  * @practice Put Table Export in a Popover or a Dialog opened by an Export button. - The panel is the content, and it draws no trigger of its own.
49
- * @documentation https://fusion.dev/helix/components/table-export
49
+ * @documentation https://fusion.dev/design/components/table-export
50
50
  *
51
51
  * @csspart actions - The row that holds Copy and Export.
52
52
  * @csspart choice - One choice, a `Radio`.
@@ -33,7 +33,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
33
33
  * @since 0.1.0
34
34
  * @status stable
35
35
  * @aliases TabPanel
36
- * @documentation https://fusion.dev/helix/components/tabs
36
+ * @documentation https://fusion.dev/design/components/tabs
37
37
  *
38
38
  * @slot - The panel's content. Under `lazy`, a `<template>` holding it.
39
39
  *
@@ -81,7 +81,7 @@ declare const HelixHeadlessTabs_base: (new (...args: any[]) => import("@fusion.d
81
81
  * @anatomy panel
82
82
  * @practice {manual} Set `manual` where showing a panel is expensive. - Under `manual`, the arrow keys move focus without selecting.
83
83
  * @practice Put a control that adds a tab, such as a plus, beside the set. - The tab list then holds tabs alone.
84
- * @documentation https://fusion.dev/helix/components/tabs
84
+ * @documentation https://fusion.dev/design/components/tabs
85
85
  *
86
86
  * @slot - The tabs, as direct children of this element.
87
87
  * @slot indicator - A mark of your own, drawn inside the `indicator` part, where `--indicator-x`, `--indicator-y`, `--indicator-inline-size` and `--indicator-block-size` reach it.
@@ -24,7 +24,7 @@ declare const HelixHeadlessTab_base: (new (...args: any[]) => import("@fusion.de
24
24
  * @since 0.1.0
25
25
  * @status stable
26
26
  * @aliases Tab
27
- * @documentation https://fusion.dev/helix/components/tabs
27
+ * @documentation https://fusion.dev/design/components/tabs
28
28
  *
29
29
  * @slot - The tab's label.
30
30
  * @slot dismiss-icon - Replaces the glyph on the mark that closes a `dismissible` tab.
@@ -57,7 +57,7 @@ export type TagSelectionMode = SelectionMode;
57
57
  * @since 0.1.0
58
58
  * @status stable
59
59
  * @aliases Tag list, Chip group, Token list
60
- * @documentation https://fusion.dev/helix/components/tag
60
+ * @documentation https://fusion.dev/design/components/tag
61
61
  *
62
62
  * @slot - The tags, in the order they are read.
63
63
  * @slot empty - Shown in place of the tags while there are none, such as "No filters". Its fallback is `empty-text`.
@@ -42,7 +42,7 @@ declare const HelixHeadlessTag_base: (new (...args: any[]) => import("@fusion.de
42
42
  * @instead button - A word that performs an action.
43
43
  * @anatomy label
44
44
  * @practice {group} Remove a dismissed tag in your listener. - The tag does not remove itself, because your code owns the list it is in.
45
- * @documentation https://fusion.dev/helix/components/tag
45
+ * @documentation https://fusion.dev/design/components/tag
46
46
  *
47
47
  * @slot - The tag's label.
48
48
  * @slot dismiss-icon - Replaces the glyph on the remove button.
@@ -153,7 +153,7 @@ export interface TerminalSink {
153
153
  * @practice Set `exit-code` when the process exits. - The frame says how it exited, stops sending input, and shows a Restart button.
154
154
  * @practice Connect `screen-reader-mode` to a setting your reader can turn on. - It costs time on every write, so it is off by default.
155
155
  * @practice {in-a-pane} Set `fill` for a terminal that fills a pane, such as one side of a Splitter, and give the pane a position, such as relative. - The frame covers its container.
156
- * @documentation https://fusion.dev/helix/components/terminal
156
+ * @documentation https://fusion.dev/design/components/terminal
157
157
  *
158
158
  * @slot - The element your renderer draws the terminal in.
159
159
  * @slot actions - Controls of your own in the header, before the built-in ones, such as a button that splits the pane.
@@ -42,7 +42,7 @@ declare const HelixHeadlessTextarea_base: (new (...args: any[]) => import("@fusi
42
42
  * @anatomy label
43
43
  * @anatomy field
44
44
  * @anatomy hint?
45
- * @documentation https://fusion.dev/helix/components/textarea
45
+ * @documentation https://fusion.dev/design/components/textarea
46
46
  *
47
47
  * @slot clear-icon - Replaces the cross on the clear button, under `clearable`.
48
48
  * @slot end - After the text, for an icon or an action beside it.
@@ -40,7 +40,7 @@ import { type TemplateResult } from 'lit';
40
40
  * @anatomy button
41
41
  * @anatomy icon
42
42
  * @practice Listen for the change event, and write the mode into the next page you serve. - The button sets the mode on the page in front of you, and the next page starts from its own markup.
43
- * @documentation https://fusion.dev/helix/components/theme-toggle
43
+ * @documentation https://fusion.dev/design/components/theme-toggle
44
44
  *
45
45
  * @slot - The button's text, where it shows more than its icon. Defaults to nothing, the icon alone, named by `label`.
46
46
  * @slot icon - Replaces the icon, which is the moon while the page is light and the sun while it is dark.
@@ -71,7 +71,7 @@ declare const HelixHeadlessTimeInput_base: (new (...args: any[]) => import("@fus
71
71
  * @anatomy hint?
72
72
  * @anatomy surface
73
73
  * @practice Write `value`, `min`, and `max` as 24-hour `HH:mm`, or `HH:mm:ss` with `seconds`. - The form submits that shape, and it sorts correctly as a string.
74
- * @documentation https://fusion.dev/helix/components/time-input
74
+ * @documentation https://fusion.dev/design/components/time-input
75
75
  *
76
76
  * @slot clear-icon - Replaces the cross on the clear button, under `clearable`.
77
77
  * @slot end - Content after the time, before the trigger, such as a clear button.
@@ -68,7 +68,7 @@ declare const HelixHeadlessTimePicker_base: (new (...args: any[]) => import("@fu
68
68
  * @anatomy option
69
69
  * @practice Write `value`, `min`, and `max` as 24-hour `HH:mm`, or `HH:mm:ss` with `seconds`. - The form submits that shape, and it sorts correctly as a string.
70
70
  * @practice Keep `step` at 15 minutes or more where the list spans a day. - At 15 minutes a day is 96 rows, which people can scroll or type into, and at 1 minute it is 1,440.
71
- * @documentation https://fusion.dev/helix/components/time-picker
71
+ * @documentation https://fusion.dev/design/components/time-picker
72
72
  *
73
73
  * @slot empty - What the list shows when no time falls between `min` and `max`, for content richer than `empty-text`.
74
74
  * @slot hint - Help under the times, for content richer than the `hint` text.
@@ -17,7 +17,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
17
17
  * @since 0.1.0
18
18
  * @status stable
19
19
  * @aliases Day, Date group
20
- * @documentation https://fusion.dev/helix/components/timeline
20
+ * @documentation https://fusion.dev/design/components/timeline
21
21
  *
22
22
  * @slot - The entries.
23
23
  * @slot heading - The heading, when it is more than text. Falls back to `label`.
@@ -36,7 +36,7 @@ type TimelineTone = 'danger' | 'info' | 'neutral' | 'primary' | 'success' | 'war
36
36
  * @status stable
37
37
  * @category data
38
38
  * @aliases Activity item, History entry, Event
39
- * @documentation https://fusion.dev/helix/components/timeline
39
+ * @documentation https://fusion.dev/design/components/timeline
40
40
  *
41
41
  * @slot - What happened.
42
42
  * @slot marker - The mark on the line. Defaults to a dot, which is the slot's fallback
@@ -44,7 +44,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
44
44
  * @practice Write the entries in the order the events happened, oldest or newest first. - The reading order is the order you write them in, in every layout.
45
45
  * @practice {grouped} Group entries by date with `Timeline.Group`. - The group puts a heading such as Today over its entries.
46
46
  * @practice Set `loading` while you fetch more entries, and put a button that asks for more after the timeline. - The timeline is busy, and an entry after the last says Loading.
47
- * @documentation https://fusion.dev/helix/components/timeline
47
+ * @documentation https://fusion.dev/design/components/timeline
48
48
  *
49
49
  * @slot - The entries, and any groups of them.
50
50
  * @slot loading - Content for the entry after the last while `loading` is set. Falls back to `loading-text`.
@@ -40,7 +40,7 @@ declare const HelixHeadlessToastItem_base: (new (...args: any[]) => import("@fus
40
40
  *
41
41
  * @since 0.1.0
42
42
  * @status stable
43
- * @documentation https://fusion.dev/helix/components/toast
43
+ * @documentation https://fusion.dev/design/components/toast
44
44
  *
45
45
  * @slot - The message.
46
46
  * @slot actions - Actions for the message, usually a button or a link.
@@ -87,7 +87,7 @@ import '../../button/index.js';
87
87
  * @practice {undo} Do an action that can be undone, then call `undoable()`. - The message holds an Undo button and shows for 8 seconds, which replaces a confirmation dialog.
88
88
  * @practice Call `add()` to show a message from a page with no framework state. - It appends a message and removes it once it is dismissed, and the messages you render stay yours.
89
89
  * @practice Render a second region inside a modal dialog for a message with an action. - While a modal is open, a message outside it stays visible, and its actions cannot be pressed.
90
- * @documentation https://fusion.dev/helix/components/toast
90
+ * @documentation https://fusion.dev/design/components/toast
91
91
  *
92
92
  * @slot - The messages.
93
93
  *
@@ -48,7 +48,7 @@ declare const HelixHeadlessToggleGroup_base: (new (...args: any[]) => import("@f
48
48
  * @since 0.1.0
49
49
  * @status stable
50
50
  * @aliases SegmentedControl, Segmented, Navigation, Switcher
51
- * @documentation https://fusion.dev/helix/components/toggle
51
+ * @documentation https://fusion.dev/design/components/toggle
52
52
  *
53
53
  * @slot - The group's items.
54
54
  * @slot end - Content after the track, on the same line, such as a count or a reset.
@@ -28,7 +28,7 @@ declare const HelixHeadlessToggle_base: (new (...args: any[]) => import("@fusion
28
28
  * @anatomy group
29
29
  * @anatomy item
30
30
  * @anatomy label
31
- * @documentation https://fusion.dev/helix/components/toggle
31
+ * @documentation https://fusion.dev/design/components/toggle
32
32
  *
33
33
  * @slot - The item's label.
34
34
  * @slot end - Content after the label, such as a count or a shortcut.
@@ -82,7 +82,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
82
82
  * @instead selection-bar - Actions on the rows selected in a Data Table, with how many are selected.
83
83
  * @instead button-group - A few related buttons joined into one control, such as a split button.
84
84
  * @instead menu - Commands that open from one trigger.
85
- * @documentation https://fusion.dev/helix/components/toolbar
85
+ * @documentation https://fusion.dev/design/components/toolbar
86
86
  *
87
87
  * @slot - The toolbar's controls.
88
88
  *
@@ -56,7 +56,7 @@ declare const HelixHeadlessTooltip_base: (new (...args: any[]) => import("@fusio
56
56
  * @anatomy surface
57
57
  * @anatomy arrow?
58
58
  * @practice {described} Place the tooltip beside its trigger, name the trigger in `for`, and name the tooltip in the trigger's aria-describedby. - The trigger is then described in the server's HTML and at rest, in every browser, before anyone points at it or focuses it.
59
- * @documentation https://fusion.dev/helix/components/tooltip
59
+ * @documentation https://fusion.dev/design/components/tooltip
60
60
  *
61
61
  * @slot - The trigger, in the wrapping form. The tooltip describes it, as it
62
62
  * describes the element `for` names.
@@ -84,7 +84,7 @@ declare const HelixHeadlessTour_base: (new (...args: any[]) => import("@fusion.d
84
84
  * @anatomy arrow
85
85
  * @anatomy actions
86
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/helix/components/tour
87
+ * @documentation https://fusion.dev/design/components/tour
88
88
  *
89
89
  * @slot - The stops, in the order they are shown.
90
90
  *