@fusion.dev/helix-headless 0.155.0 → 0.157.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 (74) hide show
  1. package/custom-elements.json +2695 -137
  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/drilldown/item/drilldown-item.d.ts +49 -1
  17. package/dist/drilldown/item/drilldown-item.js +77 -17
  18. package/dist/drilldown/root/drilldown-root.d.ts +45 -5
  19. package/dist/drilldown/root/drilldown-root.js +51 -5
  20. package/dist/element-events.generated.js +2 -1
  21. package/dist/filter-input/menu/filter-menu.d.ts +1 -0
  22. package/dist/filter-input/menu/filter-menu.js +4 -4
  23. package/dist/graph/root/graph-root.d.ts +13 -0
  24. package/dist/graph/root/graph-root.js +16 -0
  25. package/dist/list/root/list-root.d.ts +74 -1
  26. package/dist/list/root/list-root.js +92 -4
  27. package/dist/list/selection.js +3 -3
  28. package/dist/map/root/map-root.d.ts +6 -0
  29. package/dist/map/root/map-root.js +8 -1
  30. package/dist/megamenu/root/megamenu-root.d.ts +50 -13
  31. package/dist/megamenu/root/megamenu-root.js +44 -6
  32. package/dist/menu/item/menu-item.d.ts +24 -1
  33. package/dist/menu/item/menu-item.js +42 -2
  34. package/dist/menu/root/menu-root.d.ts +120 -9
  35. package/dist/menu/root/menu-root.js +329 -26
  36. package/dist/notifications/root/notifications-root.d.ts +20 -0
  37. package/dist/notifications/root/notifications-root.js +32 -1
  38. package/dist/number-input/root/number-input-root.d.ts +63 -6
  39. package/dist/number-input/root/number-input-root.js +96 -11
  40. package/dist/object-inspector/root/object-inspector-root.d.ts +36 -1
  41. package/dist/object-inspector/root/object-inspector-root.js +26 -2
  42. package/dist/option/root/option-root.d.ts +32 -0
  43. package/dist/option/root/option-root.js +44 -5
  44. package/dist/outline/root/outline-root.d.ts +6 -2
  45. package/dist/outline/root/outline-root.js +7 -3
  46. package/dist/table/root/table-root.d.ts +20 -0
  47. package/dist/table/root/table-root.js +13 -3
  48. package/dist/time-input/root/time-input-root.d.ts +32 -1
  49. package/dist/time-input/root/time-input-root.js +9 -2
  50. package/dist/time-picker/root/time-picker-root.d.ts +63 -1
  51. package/dist/time-picker/root/time-picker-root.js +58 -7
  52. package/dist/timeline/item/timeline-item.d.ts +25 -0
  53. package/dist/timeline/item/timeline-item.js +27 -2
  54. package/dist/toast/item/toast-item.d.ts +26 -0
  55. package/dist/toast/item/toast-item.js +55 -3
  56. package/dist/toast/root/toast-root.d.ts +32 -0
  57. package/dist/toast/root/toast-root.js +47 -2
  58. package/dist/video/root/keys.d.ts +6 -2
  59. package/dist/video/root/keys.js +18 -1
  60. package/dist/video/root/video-root.d.ts +61 -1
  61. package/dist/video/root/video-root.js +79 -11
  62. package/dist/video-playlist/item/video-playlist-item.d.ts +15 -1
  63. package/dist/video-playlist/item/video-playlist-item.js +7 -0
  64. package/dist/video-playlist/menu/video-playlist-menu.d.ts +1 -0
  65. package/dist/video-playlist/menu/video-playlist-menu.js +1 -1
  66. package/dist/video-playlist/root/video-playlist-root.d.ts +43 -4
  67. package/dist/video-playlist/root/video-playlist-root.js +69 -2
  68. package/dist/virtual-list/root/virtual-list-root.d.ts +8 -0
  69. package/dist/virtual-list/root/virtual-list-root.js +3 -0
  70. package/lint.json +1 -1
  71. package/package.json +5 -5
  72. package/types/jsx.d.ts +3346 -266
  73. package/types/vue.d.ts +910 -66
  74. package/types/words.d.ts +124 -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
  *
@@ -2182,6 +2228,13 @@ declare module '@fusion.dev/helix-core' {
2182
2228
  * English: `Loading`
2183
2229
  */
2184
2230
  loadingText: Message
2231
+ /**
2232
+ * The description a trigger gives under `open-on="long-press"`, saying how
2233
+ * to open the menu. Translate it with the rest of your interface.
2234
+ *
2235
+ * English: `Long press or press Alt+Down to show the menu`
2236
+ */
2237
+ longPressLabel: Message
2185
2238
  }
2186
2239
  'helix-meter': {
2187
2240
  /**
@@ -2229,6 +2282,13 @@ declare module '@fusion.dev/helix-core' {
2229
2282
  unreadLabel: Message
2230
2283
  }
2231
2284
  'helix-notifications': {
2285
+ /**
2286
+ * What the feed says when unread notifications arrive, with `{count}` the
2287
+ * number of them. Empty it to say nothing.
2288
+ *
2289
+ * English: `{count, plural, one {# new notification} other {# new notifications}}`
2290
+ */
2291
+ arrivedLabel: Message
2232
2292
  /**
2233
2293
  * The text shown and announced when there are no rows and none are loading.
2234
2294
  *
@@ -2294,6 +2354,14 @@ declare module '@fusion.dev/helix-core' {
2294
2354
  * English: `Value must be {min} or more.`
2295
2355
  */
2296
2356
  rangeUnderflowMessage: Message
2357
+ /**
2358
+ * The words screen readers announce for the field's role, set as its
2359
+ * `aria-roledescription`. Translate it with the rest of your text, or empty
2360
+ * it to leave the role as `spinbutton`.
2361
+ *
2362
+ * English: `number field`
2363
+ */
2364
+ roleLabel: Message
2297
2365
  /**
2298
2366
  * The message the browser shows when the number is off the step grid, with
2299
2367
  * `{below}` and `{above}` filled in with the nearest valid values, written in
@@ -3014,6 +3082,12 @@ declare module '@fusion.dev/helix-core' {
3014
3082
  * English: `{mode, select, single {Enter a time as {shape}.} other {Enter times as {shape}, separated by commas.}}`
3015
3083
  */
3016
3084
  badInputMessage: Message
3085
+ /**
3086
+ * What the list says when no time falls between `min` and `max`.
3087
+ *
3088
+ * English: `No times to choose from`
3089
+ */
3090
+ emptyText: Message
3017
3091
  /**
3018
3092
  * Accessible name for the list, which has no visible one of its own.
3019
3093
  *
@@ -3218,6 +3292,12 @@ declare module '@fusion.dev/helix-core' {
3218
3292
  worseLabel: Message
3219
3293
  }
3220
3294
  'helix-video': {
3295
+ /**
3296
+ * What the live region says when `c` turns captions off.
3297
+ *
3298
+ * English: `Captions off`
3299
+ */
3300
+ captionsHiddenLabel: Message
3221
3301
  /**
3222
3302
  * The name of the captions control when the video has one track. The control
3223
3303
  * turns that track on and off.
@@ -3232,6 +3312,12 @@ declare module '@fusion.dev/helix-core' {
3232
3312
  * English: `Off`
3233
3313
  */
3234
3314
  captionsOffLabel: Message
3315
+ /**
3316
+ * What the live region says when `c` turns captions on.
3317
+ *
3318
+ * English: `Captions on`
3319
+ */
3320
+ captionsShownLabel: Message
3235
3321
  /**
3236
3322
  * What the control that saves the file is called.
3237
3323
  *
@@ -3269,6 +3355,12 @@ declare module '@fusion.dev/helix-core' {
3269
3355
  * English: `More controls`
3270
3356
  */
3271
3357
  moreLabel: Message
3358
+ /**
3359
+ * What the live region says when a key mutes the video.
3360
+ *
3361
+ * English: `Muted`
3362
+ */
3363
+ mutedLabel: Message
3272
3364
  /**
3273
3365
  * The name of the mute control. The control shows as pressed while the video
3274
3366
  * is muted.
@@ -3282,6 +3374,12 @@ declare module '@fusion.dev/helix-core' {
3282
3374
  * English: `Next`
3283
3375
  */
3284
3376
  nextLabel: Message
3377
+ /**
3378
+ * What the live region says when a key pauses the video.
3379
+ *
3380
+ * English: `Paused`
3381
+ */
3382
+ pausedLabel: Message
3285
3383
  /**
3286
3384
  * The name of the play control while pressing it would pause the video.
3287
3385
  *
@@ -3309,6 +3407,12 @@ declare module '@fusion.dev/helix-core' {
3309
3407
  * English: `Video`
3310
3408
  */
3311
3409
  playerLabel: Message
3410
+ /**
3411
+ * What the live region says when a key plays the video.
3412
+ *
3413
+ * English: `Playing`
3414
+ */
3415
+ playingLabel: Message
3312
3416
  /**
3313
3417
  * The name of the play control while pressing it would start the video.
3314
3418
  *
@@ -3359,6 +3463,19 @@ declare module '@fusion.dev/helix-core' {
3359
3463
  * English: `{position} of {duration}`
3360
3464
  */
3361
3465
  timeLabel: Message
3466
+ /**
3467
+ * What the live region says when a key unmutes the video.
3468
+ *
3469
+ * English: `Unmuted`
3470
+ */
3471
+ unmutedLabel: Message
3472
+ /**
3473
+ * What the live region says when a key changes the volume. `{percent}` is the
3474
+ * volume from 0 to 100, written in the locale.
3475
+ *
3476
+ * English: `Volume {percent} percent`
3477
+ */
3478
+ volumeChangedLabel: Message
3362
3479
  /**
3363
3480
  * What the volume slider is called.
3364
3481
  *
@@ -3373,6 +3490,13 @@ declare module '@fusion.dev/helix-core' {
3373
3490
  * English: `Playlist`
3374
3491
  */
3375
3492
  label: Message
3493
+ /**
3494
+ * What the live region says when the playlist moves to another entry.
3495
+ * `{title}` is the entry's name.
3496
+ *
3497
+ * English: `Now playing {title}`
3498
+ */
3499
+ playingLabel: Message
3376
3500
  }
3377
3501
  'helix-video-playlist-menu': {
3378
3502
  /**