@fusion.dev/helix-headless 0.155.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 (54) hide show
  1. package/custom-elements.json +1787 -92
  2. package/dist/canvas/node/canvas-node.js +1 -1
  3. package/dist/canvas/root/canvas-root.d.ts +17 -2
  4. package/dist/canvas/root/canvas-root.js +23 -6
  5. package/dist/chat/composer/chat-composer.js +1 -1
  6. package/dist/chat/root/chat-root.d.ts +14 -1
  7. package/dist/chat/root/chat-root.js +14 -4
  8. package/dist/combobox/root/combobox-root.d.ts +10 -0
  9. package/dist/combobox/root/combobox-root.js +18 -3
  10. package/dist/command/root/command-root.d.ts +116 -1
  11. package/dist/command/root/command-root.js +124 -15
  12. package/dist/data-table/root/data-table-root.d.ts +25 -0
  13. package/dist/data-table/root/data-table-root.js +13 -3
  14. package/dist/date-input/root/date-input-root.d.ts +32 -1
  15. package/dist/date-input/root/date-input-root.js +7 -1
  16. package/dist/element-events.generated.js +1 -0
  17. package/dist/graph/root/graph-root.d.ts +13 -0
  18. package/dist/graph/root/graph-root.js +16 -0
  19. package/dist/list/root/list-root.d.ts +74 -1
  20. package/dist/list/root/list-root.js +92 -4
  21. package/dist/list/selection.js +3 -3
  22. package/dist/map/root/map-root.d.ts +6 -0
  23. package/dist/map/root/map-root.js +8 -1
  24. package/dist/number-input/root/number-input-root.d.ts +63 -6
  25. package/dist/number-input/root/number-input-root.js +96 -11
  26. package/dist/object-inspector/root/object-inspector-root.d.ts +36 -1
  27. package/dist/object-inspector/root/object-inspector-root.js +26 -2
  28. package/dist/option/root/option-root.d.ts +32 -0
  29. package/dist/option/root/option-root.js +44 -5
  30. package/dist/outline/root/outline-root.d.ts +6 -2
  31. package/dist/outline/root/outline-root.js +7 -3
  32. package/dist/table/root/table-root.d.ts +20 -0
  33. package/dist/table/root/table-root.js +13 -3
  34. package/dist/time-input/root/time-input-root.d.ts +32 -1
  35. package/dist/time-input/root/time-input-root.js +9 -2
  36. package/dist/time-picker/root/time-picker-root.d.ts +63 -1
  37. package/dist/time-picker/root/time-picker-root.js +58 -7
  38. package/dist/timeline/item/timeline-item.d.ts +25 -0
  39. package/dist/timeline/item/timeline-item.js +27 -2
  40. package/dist/video/root/keys.d.ts +6 -2
  41. package/dist/video/root/keys.js +18 -1
  42. package/dist/video/root/video-root.d.ts +60 -1
  43. package/dist/video/root/video-root.js +70 -2
  44. package/dist/video-playlist/item/video-playlist-item.d.ts +15 -1
  45. package/dist/video-playlist/item/video-playlist-item.js +7 -0
  46. package/dist/video-playlist/root/video-playlist-root.d.ts +43 -4
  47. package/dist/video-playlist/root/video-playlist-root.js +69 -2
  48. package/dist/virtual-list/root/virtual-list-root.d.ts +8 -0
  49. package/dist/virtual-list/root/virtual-list-root.js +3 -0
  50. package/lint.json +1 -1
  51. package/package.json +5 -5
  52. package/types/jsx.d.ts +2901 -232
  53. package/types/vue.d.ts +824 -58
  54. package/types/words.d.ts +110 -0
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
  *
@@ -1458,6 +1475,13 @@ declare module '@fusion.dev/helix-core' {
1458
1475
  * English: `{count, plural, one {# note} other {# notes}}`
1459
1476
  */
1460
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
1461
1485
  /**
1462
1486
  * The graph's name where `label` is empty and the host has no
1463
1487
  * `aria-label`.
@@ -1549,6 +1573,14 @@ declare module '@fusion.dev/helix-core' {
1549
1573
  * English: `Pan up`
1550
1574
  */
1551
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
1552
1584
  /**
1553
1585
  * The search field's name.
1554
1586
  *
@@ -1799,6 +1831,12 @@ declare module '@fusion.dev/helix-core' {
1799
1831
  * English: `Dropped`
1800
1832
  */
1801
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
1802
1840
  /**
1803
1841
  * What screen readers hear each time an arrow key moves a held row, in a
1804
1842
  * `reorderable` list. `{name}` is the row's words, `{position}` the place it
@@ -1987,6 +2025,14 @@ declare module '@fusion.dev/helix-core' {
1987
2025
  * English: `Pan up`
1988
2026
  */
1989
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
1990
2036
  /**
1991
2037
  * The rotate left button's label.
1992
2038
  *
@@ -2294,6 +2340,14 @@ declare module '@fusion.dev/helix-core' {
2294
2340
  * English: `Value must be {min} or more.`
2295
2341
  */
2296
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
2297
2351
  /**
2298
2352
  * The message the browser shows when the number is off the step grid, with
2299
2353
  * `{below}` and `{above}` filled in with the nearest valid values, written in
@@ -3014,6 +3068,12 @@ declare module '@fusion.dev/helix-core' {
3014
3068
  * English: `{mode, select, single {Enter a time as {shape}.} other {Enter times as {shape}, separated by commas.}}`
3015
3069
  */
3016
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
3017
3077
  /**
3018
3078
  * Accessible name for the list, which has no visible one of its own.
3019
3079
  *
@@ -3218,6 +3278,12 @@ declare module '@fusion.dev/helix-core' {
3218
3278
  worseLabel: Message
3219
3279
  }
3220
3280
  'helix-video': {
3281
+ /**
3282
+ * What the live region says when `c` turns captions off.
3283
+ *
3284
+ * English: `Captions off`
3285
+ */
3286
+ captionsHiddenLabel: Message
3221
3287
  /**
3222
3288
  * The name of the captions control when the video has one track. The control
3223
3289
  * turns that track on and off.
@@ -3232,6 +3298,12 @@ declare module '@fusion.dev/helix-core' {
3232
3298
  * English: `Off`
3233
3299
  */
3234
3300
  captionsOffLabel: Message
3301
+ /**
3302
+ * What the live region says when `c` turns captions on.
3303
+ *
3304
+ * English: `Captions on`
3305
+ */
3306
+ captionsShownLabel: Message
3235
3307
  /**
3236
3308
  * What the control that saves the file is called.
3237
3309
  *
@@ -3269,6 +3341,12 @@ declare module '@fusion.dev/helix-core' {
3269
3341
  * English: `More controls`
3270
3342
  */
3271
3343
  moreLabel: Message
3344
+ /**
3345
+ * What the live region says when a key mutes the video.
3346
+ *
3347
+ * English: `Muted`
3348
+ */
3349
+ mutedLabel: Message
3272
3350
  /**
3273
3351
  * The name of the mute control. The control shows as pressed while the video
3274
3352
  * is muted.
@@ -3282,6 +3360,12 @@ declare module '@fusion.dev/helix-core' {
3282
3360
  * English: `Next`
3283
3361
  */
3284
3362
  nextLabel: Message
3363
+ /**
3364
+ * What the live region says when a key pauses the video.
3365
+ *
3366
+ * English: `Paused`
3367
+ */
3368
+ pausedLabel: Message
3285
3369
  /**
3286
3370
  * The name of the play control while pressing it would pause the video.
3287
3371
  *
@@ -3309,6 +3393,12 @@ declare module '@fusion.dev/helix-core' {
3309
3393
  * English: `Video`
3310
3394
  */
3311
3395
  playerLabel: Message
3396
+ /**
3397
+ * What the live region says when a key plays the video.
3398
+ *
3399
+ * English: `Playing`
3400
+ */
3401
+ playingLabel: Message
3312
3402
  /**
3313
3403
  * The name of the play control while pressing it would start the video.
3314
3404
  *
@@ -3359,6 +3449,19 @@ declare module '@fusion.dev/helix-core' {
3359
3449
  * English: `{position} of {duration}`
3360
3450
  */
3361
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
3362
3465
  /**
3363
3466
  * What the volume slider is called.
3364
3467
  *
@@ -3373,6 +3476,13 @@ declare module '@fusion.dev/helix-core' {
3373
3476
  * English: `Playlist`
3374
3477
  */
3375
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
3376
3486
  }
3377
3487
  'helix-video-playlist-menu': {
3378
3488
  /**