@fusion.dev/helix-headless 0.159.0 → 0.161.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 (61) hide show
  1. package/custom-elements.json +2980 -189
  2. package/dist/canvas/root/canvas-root.d.ts +59 -2
  3. package/dist/canvas/root/canvas-root.js +123 -8
  4. package/dist/chat/message/chat-message.d.ts +8 -0
  5. package/dist/chat/message/chat-message.js +11 -0
  6. package/dist/chat/root/chat-root.d.ts +47 -1
  7. package/dist/chat/root/chat-root.js +130 -4
  8. package/dist/code-block/lines.d.ts +12 -0
  9. package/dist/code-block/lines.js +41 -0
  10. package/dist/code-block/root/code-block-root.d.ts +88 -5
  11. package/dist/code-block/root/code-block-root.js +154 -10
  12. package/dist/date-input/root/date-input-root.d.ts +108 -19
  13. package/dist/date-input/root/date-input-root.js +112 -13
  14. package/dist/date-picker/root/date-picker-root.d.ts +81 -16
  15. package/dist/date-picker/root/date-picker-root.js +140 -36
  16. package/dist/element-events.generated.js +6 -0
  17. package/dist/format-date/fields.js +1 -0
  18. package/dist/format-date/options.d.ts +3 -1
  19. package/dist/format-date/options.js +4 -1
  20. package/dist/format-date/root/format-date-root.d.ts +27 -11
  21. package/dist/format-date/root/format-date-root.js +6 -0
  22. package/dist/listbox/root/listbox-root.js +5 -0
  23. package/dist/notifications/notification/notification.d.ts +1 -0
  24. package/dist/notifications/notification/notification.js +2 -1
  25. package/dist/slider/root/slider-root.d.ts +54 -3
  26. package/dist/slider/root/slider-root.js +124 -2
  27. package/dist/splitter/root/splitter-root.d.ts +15 -0
  28. package/dist/splitter/root/splitter-root.js +16 -2
  29. package/dist/table/grid-controller.d.ts +7 -1
  30. package/dist/table/grid-controller.js +9 -1
  31. package/dist/table/root/table-root.d.ts +122 -0
  32. package/dist/table/root/table-root.js +293 -17
  33. package/dist/table/row/table-row.d.ts +41 -0
  34. package/dist/table/row/table-row.js +56 -2
  35. package/dist/time-input/root/time-input-root.d.ts +55 -7
  36. package/dist/time-input/root/time-input-root.js +70 -10
  37. package/dist/time-picker/root/time-picker-root.d.ts +27 -5
  38. package/dist/time-picker/root/time-picker-root.js +52 -13
  39. package/dist/timeline/item/timeline-item.d.ts +47 -10
  40. package/dist/timeline/item/timeline-item.js +36 -4
  41. package/dist/toggle/group/toggle-group.d.ts +18 -1
  42. package/dist/toggle/group/toggle-group.js +8 -2
  43. package/dist/toggle/root/toggle-root.d.ts +2 -2
  44. package/dist/toggle/root/toggle-root.js +2 -1
  45. package/dist/video-playlist/item/video-playlist-item.d.ts +11 -0
  46. package/dist/video-playlist/item/video-playlist-item.js +5 -0
  47. package/dist/video-playlist/menu/video-playlist-menu.d.ts +6 -0
  48. package/dist/video-playlist/menu/video-playlist-menu.js +11 -0
  49. package/dist/video-playlist/root/video-playlist-root.d.ts +59 -5
  50. package/dist/video-playlist/root/video-playlist-root.js +82 -10
  51. package/dist/virtual-list/fill.d.ts +6 -1
  52. package/dist/virtual-list/fill.js +1 -1
  53. package/dist/virtual-list/keys.d.ts +8 -0
  54. package/dist/virtual-list/keys.js +20 -0
  55. package/dist/virtual-list/root/virtual-list-root.d.ts +98 -13
  56. package/dist/virtual-list/root/virtual-list-root.js +195 -20
  57. package/lint.json +1 -1
  58. package/package.json +5 -5
  59. package/types/jsx.d.ts +1596 -224
  60. package/types/vue.d.ts +404 -49
  61. package/types/words.d.ts +151 -0
package/types/words.d.ts CHANGED
@@ -202,6 +202,12 @@ declare module '@fusion.dev/helix-core' {
202
202
  * English: `Board controls`
203
203
  */
204
204
  controlsLabel: Message
205
+ /**
206
+ * What screen readers hear after a copy, with `{count}` for the cards copied.
207
+ *
208
+ * English: `{count, plural, one {# card copied} other {# cards copied}}`
209
+ */
210
+ copiedLabel: Message
205
211
  /**
206
212
  * The board's name where `label` is empty.
207
213
  *
@@ -273,6 +279,12 @@ declare module '@fusion.dev/helix-core' {
273
279
  * English: `Moving the end of the connection from {from} to {to}. Move to a card and press Enter, or Escape to stop.`
274
280
  */
275
281
  reconnectingLabel: Message
282
+ /**
283
+ * What screen readers hear after a move or a resize is made again.
284
+ *
285
+ * English: `Move made again`
286
+ */
287
+ redoneLabel: Message
276
288
  /**
277
289
  * What screen readers hear after a key resizes a card, with `{name}` for the
278
290
  * card and `{width}` and `{height}` for its new size, in the document's
@@ -318,6 +330,12 @@ declare module '@fusion.dev/helix-core' {
318
330
  * English: `Use two fingers to move the board`
319
331
  */
320
332
  twoFingerHintLabel: Message
333
+ /**
334
+ * What screen readers hear after a move or a resize is undone.
335
+ *
336
+ * English: `Move undone`
337
+ */
338
+ undoneLabel: Message
321
339
  /**
322
340
  * The line shown while the board, with `gestures="activate"`, has the gestures.
323
341
  *
@@ -479,6 +497,12 @@ declare module '@fusion.dev/helix-core' {
479
497
  * English: `{author}, {time}`
480
498
  */
481
499
  messageLabel: Message
500
+ /**
501
+ * The words on the button that returns to the newest turn, where `resume` is empty.
502
+ *
503
+ * English: `Jump to latest`
504
+ */
505
+ resumeLabel: Message
482
506
  /**
483
507
  * The name a screen reader gives a turn with neither an author it can say
484
508
  * nor a time: a turn by `them` with no `author-label`, say.
@@ -599,6 +623,12 @@ declare module '@fusion.dev/helix-core' {
599
623
  * English: `Show all lines`
600
624
  */
601
625
  expandLabel: Message
626
+ /**
627
+ * The wrap button's name, which it keeps whether it is pressed or not.
628
+ *
629
+ * English: `Wrap lines`
630
+ */
631
+ wrapLabel: Message
602
632
  }
603
633
  'helix-color-input': {
604
634
  /**
@@ -1038,6 +1068,12 @@ declare module '@fusion.dev/helix-core' {
1038
1068
  * English: `Date Picker`
1039
1069
  */
1040
1070
  calendarLabel: Message
1071
+ /**
1072
+ * The accessible name of the clear button, which shows only an icon.
1073
+ *
1074
+ * English: `Clear`
1075
+ */
1076
+ clearLabel: Message
1041
1077
  /**
1042
1078
  * The button's label, read by screen readers, once every token is showing.
1043
1079
  *
@@ -1123,6 +1159,13 @@ declare module '@fusion.dev/helix-core' {
1123
1159
  * English: `Earlier years`
1124
1160
  */
1125
1161
  previousYearsLabel: Message
1162
+ /**
1163
+ * What a screen reader hears before the segments of a range's second date
1164
+ * or time, after each segment's own name.
1165
+ *
1166
+ * English: `End`
1167
+ */
1168
+ rangeEndLabel: Message
1126
1169
  /**
1127
1170
  * The message shown when a range holds more than two dates.
1128
1171
  *
@@ -1136,6 +1179,13 @@ declare module '@fusion.dev/helix-core' {
1136
1179
  * English: `Choose a date on or before {max}.`
1137
1180
  */
1138
1181
  rangeOverflowMessage: Message
1182
+ /**
1183
+ * What a screen reader hears before the segments of a range's first date
1184
+ * or time, after each segment's own name: "month, Start, Stay".
1185
+ *
1186
+ * English: `Start`
1187
+ */
1188
+ rangeStartLabel: Message
1139
1189
  /**
1140
1190
  * The message shown when a date is before `min`. `{min}` is replaced with
1141
1191
  * `min`, written the way the field writes dates.
@@ -1157,6 +1207,14 @@ declare module '@fusion.dev/helix-core' {
1157
1207
  * English: `+{count}`
1158
1208
  */
1159
1209
  restText: Message
1210
+ /**
1211
+ * What a screen reader hears about the dates chosen in the calendar, with
1212
+ * `{kind}`, `{start}`, `{end}` and `{count}` filled in as Date Picker's
1213
+ * `selection-label` says.
1214
+ *
1215
+ * English: `{kind, select, date {Selected date: {start}} start {Range starts {start}. Choose the day it ends.} range {Selected range: {start} to {end}} other {{count, plural, one {# date selected} other {# dates selected}}}}`
1216
+ */
1217
+ selectionLabel: Message
1160
1218
  /**
1161
1219
  * The message shown when a date is not on `step`.
1162
1220
  *
@@ -1175,6 +1233,13 @@ declare module '@fusion.dev/helix-core' {
1175
1233
  * English: `Choose a date that is available.`
1176
1234
  */
1177
1235
  unavailableMessage: Message
1236
+ /**
1237
+ * The message for text that is no date, where `bad-input-message` is not
1238
+ * set. `{mode}` is `single`, `range`, or `multiple`.
1239
+ *
1240
+ * English: `{mode, select, single {Enter a date as YYYY-MM-DD.} other {Enter dates as YYYY-MM-DD, separated by commas.}}`
1241
+ */
1242
+ unreadableMessage: Message
1178
1243
  /**
1179
1244
  * The name of the calendar's heading where it shows a page of years, with
1180
1245
  * `{heading}` filled in.
@@ -1253,6 +1318,16 @@ declare module '@fusion.dev/helix-core' {
1253
1318
  * English: `Choose a date on or after {min}.`
1254
1319
  */
1255
1320
  rangeUnderflowMessage: Message
1321
+ /**
1322
+ * What a screen reader hears about the chosen dates: the grid's
1323
+ * description, said again whenever the dates change. `{kind}` is `date`,
1324
+ * `start` while a range holds one end, `range`, or `dates` for `multiple`.
1325
+ * `{start}` and `{end}` are dates written in `locale`, and `{count}` is how
1326
+ * many dates are chosen.
1327
+ *
1328
+ * English: `{kind, select, date {Selected date: {start}} start {Range starts {start}. Choose the day it ends.} range {Selected range: {start} to {end}} other {{count, plural, one {# date selected} other {# dates selected}}}}`
1329
+ */
1330
+ selectionLabel: Message
1256
1331
  /**
1257
1332
  * The validation message for a date that `step` skips.
1258
1333
  *
@@ -2754,6 +2829,14 @@ declare module '@fusion.dev/helix-core' {
2754
2829
  * English: `Resize both`
2755
2830
  */
2756
2831
  cornerLabel: Message
2832
+ /**
2833
+ * What the handle where two dividers cross says it is set to, both dividers
2834
+ * at once: `{across}` is where the divider that runs down stands, and
2835
+ * `{down}` where the one that runs across stands, each a percentage.
2836
+ *
2837
+ * English: `{across} across, {down} down`
2838
+ */
2839
+ cornerValueLabel: Message
2757
2840
  /**
2758
2841
  * The divider's name, read by screen readers.
2759
2842
  *
@@ -2848,6 +2931,18 @@ declare module '@fusion.dev/helix-core' {
2848
2931
  * English: `Nothing to show`
2849
2932
  */
2850
2933
  emptyText: Message
2934
+ /**
2935
+ * The name of the heading over the disclosure buttons.
2936
+ *
2937
+ * English: `Expand`
2938
+ */
2939
+ expandColumnLabel: Message
2940
+ /**
2941
+ * The name of a row's disclosure button. `{row}` is the words of the row's first cell.
2942
+ *
2943
+ * English: `Expand {row}`
2944
+ */
2945
+ expandRowLabel: Message
2851
2946
  /**
2852
2947
  * The table's name where neither `label` nor an `aria-label` or
2853
2948
  * `aria-labelledby` on the host gives it one.
@@ -2895,6 +2990,13 @@ declare module '@fusion.dev/helix-core' {
2895
2990
  * English: `Select every row`
2896
2991
  */
2897
2992
  selectAllLabel: Message
2993
+ /**
2994
+ * The name of the heading over the checkboxes under
2995
+ * `selection-mode="single"`, where it holds no checkbox of its own.
2996
+ *
2997
+ * English: `Select`
2998
+ */
2999
+ selectColumnLabel: Message
2898
3000
  /**
2899
3001
  * What screen readers hear when the chosen rows change. `{count}` is how many
2900
3002
  * rows are chosen, written in the locale, and a language that needs plural
@@ -2987,6 +3089,12 @@ declare module '@fusion.dev/helix-core' {
2987
3089
  clearLabel: Message
2988
3090
  }
2989
3091
  'helix-time-input': {
3092
+ /**
3093
+ * The accessible name of the clear button, which shows only an icon.
3094
+ *
3095
+ * English: `Clear`
3096
+ */
3097
+ clearLabel: Message
2990
3098
  /**
2991
3099
  * The button's label, read by screen readers, once every token is showing.
2992
3100
  *
@@ -3029,6 +3137,13 @@ declare module '@fusion.dev/helix-core' {
3029
3137
  * English: `HH:mm`
3030
3138
  */
3031
3139
  placeholder: Message
3140
+ /**
3141
+ * What a screen reader hears before the segments of a range's second date
3142
+ * or time, after each segment's own name.
3143
+ *
3144
+ * English: `End`
3145
+ */
3146
+ rangeEndLabel: Message
3032
3147
  /**
3033
3148
  * The message shown when a range holds more than two times.
3034
3149
  *
@@ -3042,6 +3157,13 @@ declare module '@fusion.dev/helix-core' {
3042
3157
  * English: `Choose a time at or before {max}.`
3043
3158
  */
3044
3159
  rangeOverflowMessage: Message
3160
+ /**
3161
+ * What a screen reader hears before the segments of a range's first date
3162
+ * or time, after each segment's own name: "month, Start, Stay".
3163
+ *
3164
+ * English: `Start`
3165
+ */
3166
+ rangeStartLabel: Message
3045
3167
  /**
3046
3168
  * The message shown when a time is before `min`, with `{min}` filled in as
3047
3169
  * the field displays it.
@@ -3074,6 +3196,13 @@ declare module '@fusion.dev/helix-core' {
3074
3196
  * English: `Choose a time that is available.`
3075
3197
  */
3076
3198
  unavailableMessage: Message
3199
+ /**
3200
+ * The message for text that is no time, where `bad-input-message` is not
3201
+ * set. `{mode}` is `single`, `range`, or `multiple`, and `{shape}` is `HH:mm`, or `HH:mm:ss` with `seconds`.
3202
+ *
3203
+ * English: `{mode, select, single {Enter a time as {shape}.} other {Enter times as {shape}, separated by commas.}}`
3204
+ */
3205
+ unreadableMessage: Message
3077
3206
  }
3078
3207
  'helix-time-picker': {
3079
3208
  /**
@@ -3127,6 +3256,22 @@ declare module '@fusion.dev/helix-core' {
3127
3256
  */
3128
3257
  valueMissingMessage: Message
3129
3258
  }
3259
+ 'helix-timeline-item': {
3260
+ /**
3261
+ * What a screen reader hears for an entry that is `pending`.
3262
+ *
3263
+ * English: `Scheduled`
3264
+ */
3265
+ pendingLabel: Message
3266
+ /**
3267
+ * What a screen reader is told each tone is, by the tone's name, written as
3268
+ * JSON in the attribute: `tone-labels='{"danger":"Failed"}'`. A tone with no
3269
+ * word is not read, which is `neutral` and `primary` in English.
3270
+ *
3271
+ * English: `{ danger: 'Error', info: 'Information', success: 'Success', warning: 'Warning', }`
3272
+ */
3273
+ toneLabels: MessageTable
3274
+ }
3130
3275
  'helix-toast': {
3131
3276
  /**
3132
3277
  * Accessible name for the region, with `{hotkey}` filled in. Translate it with
@@ -3484,6 +3629,12 @@ declare module '@fusion.dev/helix-core' {
3484
3629
  volumeLabel: Message
3485
3630
  }
3486
3631
  'helix-video-playlist': {
3632
+ /**
3633
+ * What the playlist says while it has no entries. The `empty` slot replaces it.
3634
+ *
3635
+ * English: `No videos`
3636
+ */
3637
+ emptyLabel: Message
3487
3638
  /**
3488
3639
  * The list's name, read by screen readers.
3489
3640
  *