@fusion.dev/helix-headless 0.154.0 → 0.156.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.
Files changed (104) hide show
  1. package/custom-elements.json +3213 -179
  2. package/dist/accordion/item/accordion-item.d.ts +15 -0
  3. package/dist/accordion/item/accordion-item.js +12 -1
  4. package/dist/accordion/root/accordion-root.d.ts +2 -1
  5. package/dist/accordion/root/accordion-root.js +1 -0
  6. package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +36 -3
  7. package/dist/breadcrumbs/breadcrumb/breadcrumb.js +42 -2
  8. package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +15 -5
  9. package/dist/breadcrumbs/root/breadcrumbs-root.js +29 -4
  10. package/dist/button-group/root/button-group-root.d.ts +2 -0
  11. package/dist/button-group/root/button-group-root.js +1 -0
  12. package/dist/canvas/node/canvas-node.js +1 -1
  13. package/dist/canvas/root/canvas-root.d.ts +17 -2
  14. package/dist/canvas/root/canvas-root.js +23 -6
  15. package/dist/chat/composer/chat-composer.js +1 -1
  16. package/dist/chat/root/chat-root.d.ts +14 -1
  17. package/dist/chat/root/chat-root.js +14 -4
  18. package/dist/color-input/root/color-input-root.d.ts +9 -3
  19. package/dist/color-input/root/color-input-root.js +3 -1
  20. package/dist/color-picker/channels.d.ts +5 -3
  21. package/dist/color-picker/channels.js +79 -21
  22. package/dist/color-picker/root/color-picker-root.d.ts +58 -5
  23. package/dist/color-picker/root/color-picker-root.js +75 -13
  24. package/dist/combobox/root/combobox-root.d.ts +10 -0
  25. package/dist/combobox/root/combobox-root.js +18 -3
  26. package/dist/command/root/command-root.d.ts +116 -1
  27. package/dist/command/root/command-root.js +124 -15
  28. package/dist/data-table/root/data-table-root.d.ts +25 -0
  29. package/dist/data-table/root/data-table-root.js +13 -3
  30. package/dist/date-input/root/date-input-root.d.ts +33 -1
  31. package/dist/date-input/root/date-input-root.js +9 -2
  32. package/dist/date-picker/root/date-picker-root.d.ts +43 -13
  33. package/dist/date-picker/root/date-picker-root.js +54 -31
  34. package/dist/element-events.generated.js +3 -1
  35. package/dist/graph/root/graph-root.d.ts +13 -0
  36. package/dist/graph/root/graph-root.js +16 -0
  37. package/dist/list/root/list-root.d.ts +74 -1
  38. package/dist/list/root/list-root.js +92 -4
  39. package/dist/list/selection.js +3 -3
  40. package/dist/map/root/map-root.d.ts +6 -0
  41. package/dist/map/root/map-root.js +8 -1
  42. package/dist/navigation/root/navigation-root.d.ts +26 -0
  43. package/dist/navigation/root/navigation-root.js +58 -1
  44. package/dist/number-input/root/number-input-root.d.ts +63 -6
  45. package/dist/number-input/root/number-input-root.js +96 -11
  46. package/dist/object-inspector/root/object-inspector-root.d.ts +36 -1
  47. package/dist/object-inspector/root/object-inspector-root.js +26 -2
  48. package/dist/option/root/option-root.d.ts +32 -0
  49. package/dist/option/root/option-root.js +44 -5
  50. package/dist/outline/root/outline-root.d.ts +6 -2
  51. package/dist/outline/root/outline-root.js +7 -3
  52. package/dist/select/root/select-root.d.ts +29 -3
  53. package/dist/select/root/select-root.js +34 -9
  54. package/dist/slider/root/slider-root.d.ts +71 -9
  55. package/dist/slider/root/slider-root.js +129 -42
  56. package/dist/speed-dial/item/speed-dial-item.d.ts +29 -1
  57. package/dist/speed-dial/item/speed-dial-item.js +48 -7
  58. package/dist/speed-dial/root/speed-dial-root.d.ts +32 -6
  59. package/dist/speed-dial/root/speed-dial-root.js +50 -5
  60. package/dist/splitter/root/splitter-root.d.ts +22 -0
  61. package/dist/splitter/root/splitter-root.js +36 -7
  62. package/dist/steps/reach.d.ts +5 -1
  63. package/dist/steps/reach.js +2 -2
  64. package/dist/steps/root/steps-root.d.ts +37 -2
  65. package/dist/steps/root/steps-root.js +49 -7
  66. package/dist/steps/step/step.d.ts +6 -0
  67. package/dist/steps/step/step.js +4 -0
  68. package/dist/table/root/table-root.d.ts +20 -0
  69. package/dist/table/root/table-root.js +13 -3
  70. package/dist/tabs/root/tabs-root.d.ts +37 -0
  71. package/dist/tabs/root/tabs-root.js +92 -2
  72. package/dist/tabs/tab/tab.d.ts +38 -2
  73. package/dist/tabs/tab/tab.js +45 -4
  74. package/dist/tag/group/tag-group.d.ts +29 -3
  75. package/dist/tag/group/tag-group.js +42 -11
  76. package/dist/time-input/root/time-input-root.d.ts +32 -1
  77. package/dist/time-input/root/time-input-root.js +9 -2
  78. package/dist/time-picker/root/time-picker-root.d.ts +63 -1
  79. package/dist/time-picker/root/time-picker-root.js +58 -7
  80. package/dist/timeline/item/timeline-item.d.ts +25 -0
  81. package/dist/timeline/item/timeline-item.js +27 -2
  82. package/dist/toggle/root/toggle-root.d.ts +2 -0
  83. package/dist/toggle/root/toggle-root.js +1 -1
  84. package/dist/tree/item/tree-item.d.ts +10 -0
  85. package/dist/tree/item/tree-item.js +12 -0
  86. package/dist/tree/root/tree-root.d.ts +40 -1
  87. package/dist/tree/root/tree-root.js +120 -4
  88. package/dist/tree/selection.d.ts +6 -0
  89. package/dist/tree/selection.js +11 -0
  90. package/dist/video/root/keys.d.ts +6 -2
  91. package/dist/video/root/keys.js +18 -1
  92. package/dist/video/root/video-root.d.ts +60 -1
  93. package/dist/video/root/video-root.js +70 -2
  94. package/dist/video-playlist/item/video-playlist-item.d.ts +15 -1
  95. package/dist/video-playlist/item/video-playlist-item.js +7 -0
  96. package/dist/video-playlist/root/video-playlist-root.d.ts +43 -4
  97. package/dist/video-playlist/root/video-playlist-root.js +69 -2
  98. package/dist/virtual-list/root/virtual-list-root.d.ts +8 -0
  99. package/dist/virtual-list/root/virtual-list-root.js +3 -0
  100. package/lint.json +1 -1
  101. package/package.json +5 -5
  102. package/types/jsx.d.ts +3885 -383
  103. package/types/vue.d.ts +1045 -107
  104. package/types/words.d.ts +146 -1
package/types/words.d.ts CHANGED
@@ -281,6 +281,14 @@ declare module '@fusion.dev/helix-core' {
281
281
  * English: `{name} resized to {width} by {height}`
282
282
  */
283
283
  resizedLabel: Message
284
+ /**
285
+ * What a screen reader calls the board in place of its role, after its
286
+ * name: "Release plan, canvas". Said only where the board has a name of its
287
+ * own, since the fallback name is the same word. Empty leaves the role.
288
+ *
289
+ * English: `canvas`
290
+ */
291
+ roleLabel: Message
284
292
  /**
285
293
  * What a selected card or connection adds to what screen readers hear on
286
294
  * it, before its tone and its connections. Empty adds nothing.
@@ -409,6 +417,15 @@ declare module '@fusion.dev/helix-core' {
409
417
  stopLabel: Message
410
418
  }
411
419
  'helix-chat': {
420
+ /**
421
+ * What a screen reader hears when a turn arrives. `{author}` is who wrote
422
+ * it, as its name says it, and `{text}` its words. A turn with no author a
423
+ * reader can be told, a turn by `them` with no `author-label`, says its
424
+ * words alone.
425
+ *
426
+ * English: `{author}: {text}`
427
+ */
428
+ arrivalLabel: Message
412
429
  /**
413
430
  * The text shown and announced when there are no rows and none are loading.
414
431
  *
@@ -618,6 +635,13 @@ declare module '@fusion.dev/helix-core' {
618
635
  * English: `Brightness`
619
636
  */
620
637
  brightnessLabel: Message
638
+ /**
639
+ * What the chroma channel's field is called, in `channel-fields` with
640
+ * oklch.
641
+ *
642
+ * English: `Chroma`
643
+ */
644
+ chromaLabel: Message
621
645
  /**
622
646
  * The text the sample shows for a moment after it copies the value.
623
647
  *
@@ -657,7 +681,7 @@ declare module '@fusion.dev/helix-core' {
657
681
  hueLabel: Message
658
682
  /**
659
683
  * What the lightness channel's field is called, in `channel-fields` with
660
- * hsl.
684
+ * hsl and oklch.
661
685
  *
662
686
  * English: `Lightness`
663
687
  */
@@ -1451,6 +1475,13 @@ declare module '@fusion.dev/helix-core' {
1451
1475
  * English: `{count, plural, one {# note} other {# notes}}`
1452
1476
  */
1453
1477
  countLabel: Message
1478
+ /**
1479
+ * What the panel shows when the list holds no notes: the graph has none, or
1480
+ * a search or the legend hid them all. A slotted `empty` replaces it.
1481
+ *
1482
+ * English: `No notes`
1483
+ */
1484
+ emptyLabel: Message
1454
1485
  /**
1455
1486
  * The graph's name where `label` is empty and the host has no
1456
1487
  * `aria-label`.
@@ -1542,6 +1573,14 @@ declare module '@fusion.dev/helix-core' {
1542
1573
  * English: `Pan up`
1543
1574
  */
1544
1575
  panUpLabel: Message
1576
+ /**
1577
+ * What a screen reader calls the graph in place of its role, after its
1578
+ * name: "Research notes, graph". Said only where the graph has a name of its
1579
+ * own, since the fallback name is the same word. Empty leaves the role.
1580
+ *
1581
+ * English: `graph`
1582
+ */
1583
+ roleLabel: Message
1545
1584
  /**
1546
1585
  * The search field's name.
1547
1586
  *
@@ -1792,6 +1831,12 @@ declare module '@fusion.dev/helix-core' {
1792
1831
  * English: `Dropped`
1793
1832
  */
1794
1833
  droppedLabel: Message
1834
+ /**
1835
+ * The text of the row drawn while `loading` is set, where the `loading` slot is empty.
1836
+ *
1837
+ * English: `Loading more`
1838
+ */
1839
+ loadingLabel: Message
1795
1840
  /**
1796
1841
  * What screen readers hear each time an arrow key moves a held row, in a
1797
1842
  * `reorderable` list. `{name}` is the row's words, `{position}` the place it
@@ -1980,6 +2025,14 @@ declare module '@fusion.dev/helix-core' {
1980
2025
  * English: `Pan up`
1981
2026
  */
1982
2027
  panUpLabel: Message
2028
+ /**
2029
+ * What a screen reader calls the map in place of its role, after its
2030
+ * name: "Edinburgh, map". Said only where the map has a name of its
2031
+ * own, since the fallback name is the same word. Empty leaves the role.
2032
+ *
2033
+ * English: `map`
2034
+ */
2035
+ roleLabel: Message
1983
2036
  /**
1984
2037
  * The rotate left button's label.
1985
2038
  *
@@ -2287,6 +2340,14 @@ declare module '@fusion.dev/helix-core' {
2287
2340
  * English: `Value must be {min} or more.`
2288
2341
  */
2289
2342
  rangeUnderflowMessage: Message
2343
+ /**
2344
+ * The words screen readers announce for the field's role, set as its
2345
+ * `aria-roledescription`. Translate it with the rest of your text, or empty
2346
+ * it to leave the role as `spinbutton`.
2347
+ *
2348
+ * English: `number field`
2349
+ */
2350
+ roleLabel: Message
2290
2351
  /**
2291
2352
  * The message the browser shows when the number is off the step grid, with
2292
2353
  * `{below}` and `{above}` filled in with the nearest valid values, written in
@@ -2624,6 +2685,14 @@ declare module '@fusion.dev/helix-core' {
2624
2685
  * English: `{start} to {end}`
2625
2686
  */
2626
2687
  rangeText: Message
2688
+ /**
2689
+ * The name of a thumb between a range's first and last, read after the
2690
+ * slider's label, with `{index}` filled in: its place, counted from 1. The
2691
+ * first is `minimum-label` and the last `maximum-label`.
2692
+ *
2693
+ * English: `thumb {index}`
2694
+ */
2695
+ thumbLabel: Message
2627
2696
  }
2628
2697
  'helix-sparkline': {
2629
2698
  /**
@@ -2723,6 +2792,16 @@ declare module '@fusion.dev/helix-core' {
2723
2792
  */
2724
2793
  valueMissingMessage: Message
2725
2794
  }
2795
+ 'helix-tab': {
2796
+ /**
2797
+ * The tooltip on the mark that closes a `dismissible` tab. The mark is for
2798
+ * the pointer and hidden from screen readers, which hear the Delete key
2799
+ * through `aria-keyshortcuts`.
2800
+ *
2801
+ * English: `Close`
2802
+ */
2803
+ dismissLabel: Message
2804
+ }
2726
2805
  'helix-table': {
2727
2806
  /**
2728
2807
  * The word for an ascending sort, in a `sorted-label` that writes `{order}`.
@@ -2989,6 +3068,12 @@ declare module '@fusion.dev/helix-core' {
2989
3068
  * English: `{mode, select, single {Enter a time as {shape}.} other {Enter times as {shape}, separated by commas.}}`
2990
3069
  */
2991
3070
  badInputMessage: Message
3071
+ /**
3072
+ * What the list says when no time falls between `min` and `max`.
3073
+ *
3074
+ * English: `No times to choose from`
3075
+ */
3076
+ emptyText: Message
2992
3077
  /**
2993
3078
  * Accessible name for the list, which has no visible one of its own.
2994
3079
  *
@@ -3120,6 +3205,16 @@ declare module '@fusion.dev/helix-core' {
3120
3205
  * English: `Loading`
3121
3206
  */
3122
3207
  loadingText: Message
3208
+ /**
3209
+ * What screen readers hear when an item moves into another branch, in a
3210
+ * `reorderable` tree. `{name}` is the item's words, `{parent}` the words of
3211
+ * the branch it moved into, or the tree's `label` for the top level,
3212
+ * `{position}` its place there, counting from 1, and `{count}` the number of
3213
+ * items there.
3214
+ *
3215
+ * English: `{name} moved into {parent}, position {position} of {count}`
3216
+ */
3217
+ movedIntoLabel: Message
3123
3218
  /**
3124
3219
  * What screen readers hear each time an item moves, in a `reorderable`
3125
3220
  * tree. `{name}` is the item's words, `{position}` its place among its
@@ -3183,6 +3278,12 @@ declare module '@fusion.dev/helix-core' {
3183
3278
  worseLabel: Message
3184
3279
  }
3185
3280
  'helix-video': {
3281
+ /**
3282
+ * What the live region says when `c` turns captions off.
3283
+ *
3284
+ * English: `Captions off`
3285
+ */
3286
+ captionsHiddenLabel: Message
3186
3287
  /**
3187
3288
  * The name of the captions control when the video has one track. The control
3188
3289
  * turns that track on and off.
@@ -3197,6 +3298,12 @@ declare module '@fusion.dev/helix-core' {
3197
3298
  * English: `Off`
3198
3299
  */
3199
3300
  captionsOffLabel: Message
3301
+ /**
3302
+ * What the live region says when `c` turns captions on.
3303
+ *
3304
+ * English: `Captions on`
3305
+ */
3306
+ captionsShownLabel: Message
3200
3307
  /**
3201
3308
  * What the control that saves the file is called.
3202
3309
  *
@@ -3234,6 +3341,12 @@ declare module '@fusion.dev/helix-core' {
3234
3341
  * English: `More controls`
3235
3342
  */
3236
3343
  moreLabel: Message
3344
+ /**
3345
+ * What the live region says when a key mutes the video.
3346
+ *
3347
+ * English: `Muted`
3348
+ */
3349
+ mutedLabel: Message
3237
3350
  /**
3238
3351
  * The name of the mute control. The control shows as pressed while the video
3239
3352
  * is muted.
@@ -3247,6 +3360,12 @@ declare module '@fusion.dev/helix-core' {
3247
3360
  * English: `Next`
3248
3361
  */
3249
3362
  nextLabel: Message
3363
+ /**
3364
+ * What the live region says when a key pauses the video.
3365
+ *
3366
+ * English: `Paused`
3367
+ */
3368
+ pausedLabel: Message
3250
3369
  /**
3251
3370
  * The name of the play control while pressing it would pause the video.
3252
3371
  *
@@ -3274,6 +3393,12 @@ declare module '@fusion.dev/helix-core' {
3274
3393
  * English: `Video`
3275
3394
  */
3276
3395
  playerLabel: Message
3396
+ /**
3397
+ * What the live region says when a key plays the video.
3398
+ *
3399
+ * English: `Playing`
3400
+ */
3401
+ playingLabel: Message
3277
3402
  /**
3278
3403
  * The name of the play control while pressing it would start the video.
3279
3404
  *
@@ -3324,6 +3449,19 @@ declare module '@fusion.dev/helix-core' {
3324
3449
  * English: `{position} of {duration}`
3325
3450
  */
3326
3451
  timeLabel: Message
3452
+ /**
3453
+ * What the live region says when a key unmutes the video.
3454
+ *
3455
+ * English: `Unmuted`
3456
+ */
3457
+ unmutedLabel: Message
3458
+ /**
3459
+ * What the live region says when a key changes the volume. `{percent}` is the
3460
+ * volume from 0 to 100, written in the locale.
3461
+ *
3462
+ * English: `Volume {percent} percent`
3463
+ */
3464
+ volumeChangedLabel: Message
3327
3465
  /**
3328
3466
  * What the volume slider is called.
3329
3467
  *
@@ -3338,6 +3476,13 @@ declare module '@fusion.dev/helix-core' {
3338
3476
  * English: `Playlist`
3339
3477
  */
3340
3478
  label: Message
3479
+ /**
3480
+ * What the live region says when the playlist moves to another entry.
3481
+ * `{title}` is the entry's name.
3482
+ *
3483
+ * English: `Now playing {title}`
3484
+ */
3485
+ playingLabel: Message
3341
3486
  }
3342
3487
  'helix-video-playlist-menu': {
3343
3488
  /**