@voidable/ui 0.11.0 → 0.12.1

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 (152) hide show
  1. package/README.md +1 -1
  2. package/dist/angular/index.d.ts +2 -2
  3. package/dist/angular/index.js +2 -1
  4. package/dist/chunks/activation-B8aBarKd.js +4 -0
  5. package/dist/chunks/carousel-C9u0bg5l.js +10 -0
  6. package/dist/chunks/choice-BTrsi7OW.js +16 -0
  7. package/dist/chunks/data-Baycjoo4.js +96 -0
  8. package/dist/chunks/fields-MEqz-olE.js +21 -0
  9. package/dist/chunks/{form-control-C0vH6gii.js → form-control-fL-Hhy91.js} +49 -48
  10. package/dist/chunks/{keyboard-CEhMSkws.js → keyboard-ChtDvhB_.js} +4 -23
  11. package/dist/chunks/{keyboard-activation-CV0m4hkn.js → keyboard-activation-BfEyoaMT.js} +4 -6
  12. package/dist/chunks/menu-CxRRgkJI.js +21 -0
  13. package/dist/chunks/{modal-DWGkNdNG.js → modal-Cz2-Ov76.js} +23 -15
  14. package/dist/chunks/nav-menu-Bx284Dk6.js +12 -0
  15. package/dist/chunks/{overlay-CH7L4N-h.js → overlay-BuV-4Yvt.js} +75 -68
  16. package/dist/chunks/overlay-K1ilWC1p.js +4 -0
  17. package/dist/chunks/pickers-CjlFgNke.js +36 -0
  18. package/dist/chunks/table-BBpqwWEi.js +4 -0
  19. package/dist/chunks/tabs-Buf3EBWq.js +10 -0
  20. package/dist/components/accordion.d.ts +7 -0
  21. package/dist/components/accordion.js +22 -14
  22. package/dist/components/action-input.d.ts +2 -1
  23. package/dist/components/action-input.js +59 -55
  24. package/dist/components/bar-chart.js +41 -40
  25. package/dist/components/breadcrumbs.d.ts +2 -0
  26. package/dist/components/breadcrumbs.js +15 -11
  27. package/dist/components/button.d.ts +7 -0
  28. package/dist/components/button.js +23 -16
  29. package/dist/components/calendar.d.ts +45 -10
  30. package/dist/components/calendar.js +183 -129
  31. package/dist/components/carousel.d.ts +22 -0
  32. package/dist/components/carousel.js +64 -35
  33. package/dist/components/charts/data.d.ts +2 -2
  34. package/dist/components/checkbox-group.js +22 -21
  35. package/dist/components/checkbox.d.ts +7 -0
  36. package/dist/components/checkbox.js +29 -24
  37. package/dist/components/collapsible.d.ts +7 -0
  38. package/dist/components/collapsible.js +19 -11
  39. package/dist/components/color-picker.js +28 -27
  40. package/dist/components/combobox.d.ts +13 -1
  41. package/dist/components/combobox.js +54 -41
  42. package/dist/components/compose-input.d.ts +9 -1
  43. package/dist/components/compose-input.js +28 -16
  44. package/dist/components/dialog.js +1 -1
  45. package/dist/components/donut-chart.js +57 -56
  46. package/dist/components/drawer.js +1 -1
  47. package/dist/components/dropdown-menu.d.ts +22 -0
  48. package/dist/components/dropdown-menu.js +54 -39
  49. package/dist/components/editable.d.ts +11 -1
  50. package/dist/components/editable.js +35 -22
  51. package/dist/components/error-fallback.d.ts +4 -2
  52. package/dist/components/error-fallback.js +34 -28
  53. package/dist/components/file-upload.d.ts +9 -0
  54. package/dist/components/file-upload.js +54 -28
  55. package/dist/components/gauge.js +108 -107
  56. package/dist/components/hamburger.d.ts +7 -0
  57. package/dist/components/hamburger.js +28 -19
  58. package/dist/components/hover-card.d.ts +7 -0
  59. package/dist/components/hover-card.js +22 -14
  60. package/dist/components/indicator.js +15 -14
  61. package/dist/components/input.js +1 -1
  62. package/dist/components/line-chart.js +43 -42
  63. package/dist/components/menu.d.ts +25 -0
  64. package/dist/components/menu.js +55 -33
  65. package/dist/components/multiselect.d.ts +17 -1
  66. package/dist/components/multiselect.js +96 -74
  67. package/dist/components/nav-menu.d.ts +9 -0
  68. package/dist/components/nav-menu.js +30 -23
  69. package/dist/components/number-input.d.ts +15 -1
  70. package/dist/components/number-input.js +71 -37
  71. package/dist/components/pagination.js +25 -24
  72. package/dist/components/pin-input.d.ts +11 -0
  73. package/dist/components/pin-input.js +46 -32
  74. package/dist/components/popover.d.ts +7 -0
  75. package/dist/components/popover.js +21 -13
  76. package/dist/components/radio-group.js +1 -1
  77. package/dist/components/radio.d.ts +10 -1
  78. package/dist/components/radio.js +37 -32
  79. package/dist/components/segmented-control.d.ts +14 -0
  80. package/dist/components/segmented-control.js +40 -28
  81. package/dist/components/sidebar.d.ts +1 -0
  82. package/dist/components/sidebar.js +14 -10
  83. package/dist/components/slider.js +1 -1
  84. package/dist/components/spinner.d.ts +5 -3
  85. package/dist/components/spinner.js +21 -14
  86. package/dist/components/stat.js +1 -1
  87. package/dist/components/status-dot.d.ts +2 -2
  88. package/dist/components/status-dot.js +12 -14
  89. package/dist/components/stepper.d.ts +2 -0
  90. package/dist/components/stepper.js +20 -13
  91. package/dist/components/switch.d.ts +7 -0
  92. package/dist/components/switch.js +24 -16
  93. package/dist/components/table.d.ts +77 -1
  94. package/dist/components/table.js +562 -73
  95. package/dist/components/tabs.d.ts +11 -0
  96. package/dist/components/tabs.js +42 -33
  97. package/dist/components/tag.js +12 -11
  98. package/dist/components/tags-input.d.ts +10 -1
  99. package/dist/components/tags-input.js +42 -30
  100. package/dist/components/textarea.js +1 -1
  101. package/dist/components/toast.d.ts +2 -0
  102. package/dist/components/toast.js +35 -28
  103. package/dist/components/toggle-group.d.ts +8 -0
  104. package/dist/components/toggle-group.js +24 -17
  105. package/dist/components/toggle.d.ts +7 -0
  106. package/dist/components/toggle.js +23 -15
  107. package/dist/components/tooltip.d.ts +7 -0
  108. package/dist/components/tooltip.js +20 -12
  109. package/dist/components.json +96 -74
  110. package/dist/custom-elements.json +4213 -131
  111. package/dist/dev/rules.d.ts +0 -1
  112. package/dist/dev/types.d.ts +3 -1
  113. package/dist/dev.js +244 -113
  114. package/dist/index.d.ts +4 -0
  115. package/dist/index.js +68 -66
  116. package/dist/keyboard-activation.d.ts +9 -9
  117. package/dist/keyboard.d.ts +2 -10
  118. package/dist/keymaps/activation.d.ts +8 -0
  119. package/dist/keymaps/carousel.d.ts +9 -0
  120. package/dist/keymaps/choice.d.ts +21 -0
  121. package/dist/keymaps/fields.d.ts +31 -0
  122. package/dist/keymaps/index.d.ts +2 -0
  123. package/dist/keymaps/menu.d.ts +36 -0
  124. package/dist/keymaps/nav-menu.d.ts +11 -0
  125. package/dist/keymaps/overlay.d.ts +4 -0
  126. package/dist/keymaps/pickers.d.ts +36 -0
  127. package/dist/keymaps/table.d.ts +8 -0
  128. package/dist/keymaps/tabs.d.ts +7 -0
  129. package/dist/keymaps.js +51 -0
  130. package/dist/keys.d.ts +46 -0
  131. package/dist/keys.js +57 -0
  132. package/dist/llms.txt +11 -3
  133. package/dist/messages/ar.d.ts +1 -0
  134. package/dist/messages/ar.js +130 -0
  135. package/dist/messages/fr.d.ts +1 -0
  136. package/dist/messages/fr.js +109 -0
  137. package/dist/messages.d.ts +213 -0
  138. package/dist/messages.js +190 -0
  139. package/dist/modal.d.ts +7 -0
  140. package/dist/reference.md +817 -17
  141. package/dist/testing/index.d.ts +46 -0
  142. package/dist/testing.js +79 -0
  143. package/dist/types/elements.d.ts +89 -73
  144. package/dist/types/react.d.ts +5 -1
  145. package/dist/types/solid.d.ts +5 -1
  146. package/dist/types/solid2.d.ts +4 -0
  147. package/dist/types/svelte.d.ts +5 -1
  148. package/dist/types/vue.d.ts +5 -1
  149. package/dist/vscode.html-custom-data.json +384 -18
  150. package/dist/web-types.json +830 -69
  151. package/package.json +22 -2
  152. package/dist/chunks/data-BpiiNapL.js +0 -95
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@voidable/ui",
4
- "version": "0.11.0",
4
+ "version": "0.12.1",
5
5
  "js-types-syntax": "typescript",
6
6
  "description-markup": "markdown",
7
7
  "contributions": {
@@ -54,6 +54,15 @@
54
54
  "symbol": "VoidAccordionItem"
55
55
  },
56
56
  "attributes": [
57
+ {
58
+ "name": "keys",
59
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
60
+ "default": "null",
61
+ "value": {
62
+ "kind": "plain",
63
+ "type": "KeyOverrides | null"
64
+ }
65
+ },
57
66
  {
58
67
  "name": "open",
59
68
  "description": "Whether the content is shown. Add the attribute to start open; it is updated when the user toggles\nthe item.",
@@ -66,6 +75,12 @@
66
75
  ],
67
76
  "js": {
68
77
  "properties": [
78
+ {
79
+ "name": "keys",
80
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
81
+ "type": "KeyOverrides | null",
82
+ "default": "null"
83
+ },
69
84
  {
70
85
  "name": "open",
71
86
  "description": "Whether the content is shown. Add the attribute to start open; it is updated when the user toggles\nthe item.",
@@ -268,8 +283,8 @@
268
283
  },
269
284
  {
270
285
  "name": "action-label",
271
- "description": "Accessible name of the button and its tooltip. Defaults to `Action`; say what it does (`Copy link`).",
272
- "default": "'Action'",
286
+ "description": "Accessible name of the button and its tooltip. Defaults to the `actionInput.action` message (English: `Action`); say what it does (`Copy link`).",
287
+ "default": "''",
273
288
  "value": {
274
289
  "kind": "plain",
275
290
  "type": "string"
@@ -409,9 +424,9 @@
409
424
  },
410
425
  {
411
426
  "name": "actionLabel",
412
- "description": "Accessible name of the button and its tooltip. Defaults to `Action`; say what it does (`Copy link`).",
427
+ "description": "Accessible name of the button and its tooltip. Defaults to the `actionInput.action` message (English: `Action`); say what it does (`Copy link`).",
413
428
  "type": "string",
414
- "default": "'Action'"
429
+ "default": "''"
415
430
  },
416
431
  {
417
432
  "name": "iconSide",
@@ -918,6 +933,15 @@
918
933
  "symbol": "VoidButton"
919
934
  },
920
935
  "attributes": [
936
+ {
937
+ "name": "keys",
938
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
939
+ "default": "null",
940
+ "value": {
941
+ "kind": "plain",
942
+ "type": "KeyOverrides | null"
943
+ }
944
+ },
921
945
  {
922
946
  "name": "variant",
923
947
  "description": "Visual weight. `outline` (default) is a bordered button, `filled` is the\nprimary action, and `ghost` draws no border or fill until hovered: use it\nfor row actions, toolbars and the quiet button beside a primary one.",
@@ -966,6 +990,12 @@
966
990
  ],
967
991
  "js": {
968
992
  "properties": [
993
+ {
994
+ "name": "keys",
995
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
996
+ "type": "KeyOverrides | null",
997
+ "default": "null"
998
+ },
969
999
  {
970
1000
  "name": "variant",
971
1001
  "description": "Visual weight. `outline` (default) is a bordered button, `filled` is the\nprimary action, and `ghost` draws no border or fill until hovered: use it\nfor row actions, toolbars and the quiet button beside a primary one.",
@@ -1013,6 +1043,15 @@
1013
1043
  "symbol": "VoidCalendar"
1014
1044
  },
1015
1045
  "attributes": [
1046
+ {
1047
+ "name": "keys",
1048
+ "description": "Key bindings for this element's actions, as JSON (`{\"nextWeek\":[\"ArrowDown\",\"j\"]}`); `[]` switches an action off. See the keyboard guide.",
1049
+ "default": "null",
1050
+ "value": {
1051
+ "kind": "plain",
1052
+ "type": "KeyOverrides | null"
1053
+ }
1054
+ },
1016
1055
  {
1017
1056
  "name": "value",
1018
1057
  "description": "Selected date as an ISO `YYYY-MM-DD` string. Empty means no selection. It is what the form submits\nand the reset target; picking a day updates it and fires `void-change`.",
@@ -1060,8 +1099,8 @@
1060
1099
  },
1061
1100
  {
1062
1101
  "name": "locale",
1063
- "description": "BCP 47 language tag for month and weekday names and the long date announced for each day, such as\n`de-DE`. Defaults to `en-US`.",
1064
- "default": "'en-US'",
1102
+ "description": "BCP 47 language tag for month and weekday names, the numbers and the long date announced for each day, such\nas `de-DE`. Without it the calendar follows the closest `lang` (the page's included), and `en-US` where there\nis none. Month and day names are always for the Gregorian calendar.",
1103
+ "default": "''",
1065
1104
  "value": {
1066
1105
  "kind": "plain",
1067
1106
  "type": "string"
@@ -1069,11 +1108,11 @@
1069
1108
  },
1070
1109
  {
1071
1110
  "name": "first-day",
1072
- "description": "Day the week starts on, as a number from 0 (Sunday, the default) to 6 (Saturday). Use 1 for Monday.",
1073
- "default": "0",
1111
+ "description": "Day the week starts on, as a number from 0 (Sunday) to 6 (Saturday). Use 1 for Monday. Without it the week\nstarts on the day the locale's week information gives (`Intl.Locale`), and on Sunday where the browser\ndoes not provide it.",
1112
+ "default": "null",
1074
1113
  "value": {
1075
1114
  "kind": "plain",
1076
- "type": "number"
1115
+ "type": "number | null"
1077
1116
  }
1078
1117
  },
1079
1118
  {
@@ -1097,6 +1136,12 @@
1097
1136
  ],
1098
1137
  "js": {
1099
1138
  "properties": [
1139
+ {
1140
+ "name": "keys",
1141
+ "description": "Key bindings for this element's actions, as JSON (`{\"nextWeek\":[\"ArrowDown\",\"j\"]}`); `[]` switches an action off. See the keyboard guide.",
1142
+ "type": "KeyOverrides | null",
1143
+ "default": "null"
1144
+ },
1100
1145
  {
1101
1146
  "name": "value",
1102
1147
  "description": "Selected date as an ISO `YYYY-MM-DD` string. Empty means no selection. It is what the form submits\nand the reset target; picking a day updates it and fires `void-change`.",
@@ -1129,15 +1174,15 @@
1129
1174
  },
1130
1175
  {
1131
1176
  "name": "locale",
1132
- "description": "BCP 47 language tag for month and weekday names and the long date announced for each day, such as\n`de-DE`. Defaults to `en-US`.",
1177
+ "description": "BCP 47 language tag for month and weekday names, the numbers and the long date announced for each day, such\nas `de-DE`. Without it the calendar follows the closest `lang` (the page's included), and `en-US` where there\nis none. Month and day names are always for the Gregorian calendar.",
1133
1178
  "type": "string",
1134
- "default": "'en-US'"
1179
+ "default": "''"
1135
1180
  },
1136
1181
  {
1137
1182
  "name": "firstDay",
1138
- "description": "Day the week starts on, as a number from 0 (Sunday, the default) to 6 (Saturday). Use 1 for Monday.",
1139
- "type": "number",
1140
- "default": "0"
1183
+ "description": "Day the week starts on, as a number from 0 (Sunday) to 6 (Saturday). Use 1 for Monday. Without it the week\nstarts on the day the locale's week information gives (`Intl.Locale`), and on Sunday where the browser\ndoes not provide it.",
1184
+ "type": "number | null",
1185
+ "default": "null"
1141
1186
  },
1142
1187
  {
1143
1188
  "name": "required",
@@ -1266,6 +1311,15 @@
1266
1311
  "symbol": "VoidCarousel"
1267
1312
  },
1268
1313
  "attributes": [
1314
+ {
1315
+ "name": "keys",
1316
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
1317
+ "default": "null",
1318
+ "value": {
1319
+ "kind": "plain",
1320
+ "type": "KeyOverrides | null"
1321
+ }
1322
+ },
1269
1323
  {
1270
1324
  "name": "index",
1271
1325
  "description": "Zero-based index of the slide being shown. Set it to jump to a slide; the arrows, indicators and\narrow keys update it and fire `void-change`.",
@@ -1323,6 +1377,12 @@
1323
1377
  ],
1324
1378
  "js": {
1325
1379
  "properties": [
1380
+ {
1381
+ "name": "keys",
1382
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
1383
+ "type": "KeyOverrides | null",
1384
+ "default": "null"
1385
+ },
1326
1386
  {
1327
1387
  "name": "index",
1328
1388
  "description": "Zero-based index of the slide being shown. Set it to jump to a slide; the arrows, indicators and\narrow keys update it and fire `void-change`.",
@@ -1412,9 +1472,26 @@
1412
1472
  "module": "@voidable/ui",
1413
1473
  "symbol": "VoidCarouselNext"
1414
1474
  },
1415
- "attributes": [],
1475
+ "attributes": [
1476
+ {
1477
+ "name": "keys",
1478
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
1479
+ "default": "null",
1480
+ "value": {
1481
+ "kind": "plain",
1482
+ "type": "KeyOverrides | null"
1483
+ }
1484
+ }
1485
+ ],
1416
1486
  "js": {
1417
- "properties": [],
1487
+ "properties": [
1488
+ {
1489
+ "name": "keys",
1490
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
1491
+ "type": "KeyOverrides | null",
1492
+ "default": "null"
1493
+ }
1494
+ ],
1418
1495
  "events": []
1419
1496
  }
1420
1497
  },
@@ -1425,9 +1502,26 @@
1425
1502
  "module": "@voidable/ui",
1426
1503
  "symbol": "VoidCarouselPrevious"
1427
1504
  },
1428
- "attributes": [],
1505
+ "attributes": [
1506
+ {
1507
+ "name": "keys",
1508
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
1509
+ "default": "null",
1510
+ "value": {
1511
+ "kind": "plain",
1512
+ "type": "KeyOverrides | null"
1513
+ }
1514
+ }
1515
+ ],
1429
1516
  "js": {
1430
- "properties": [],
1517
+ "properties": [
1518
+ {
1519
+ "name": "keys",
1520
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
1521
+ "type": "KeyOverrides | null",
1522
+ "default": "null"
1523
+ }
1524
+ ],
1431
1525
  "events": []
1432
1526
  }
1433
1527
  },
@@ -1439,6 +1533,15 @@
1439
1533
  "symbol": "VoidCheckbox"
1440
1534
  },
1441
1535
  "attributes": [
1536
+ {
1537
+ "name": "keys",
1538
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Space\"]}`); `[]` switches an action off. See the keyboard guide.",
1539
+ "default": "null",
1540
+ "value": {
1541
+ "kind": "plain",
1542
+ "type": "KeyOverrides | null"
1543
+ }
1544
+ },
1442
1545
  {
1443
1546
  "name": "checked",
1444
1547
  "description": "Whether the box is checked. Reflected to the attribute as the user toggles it or a script sets it;\nthe form's reset target stays the state it started with.",
@@ -1523,6 +1626,12 @@
1523
1626
  ],
1524
1627
  "js": {
1525
1628
  "properties": [
1629
+ {
1630
+ "name": "keys",
1631
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Space\"]}`); `[]` switches an action off. See the keyboard guide.",
1632
+ "type": "KeyOverrides | null",
1633
+ "default": "null"
1634
+ },
1526
1635
  {
1527
1636
  "name": "checked",
1528
1637
  "description": "Whether the box is checked. Reflected to the attribute as the user toggles it or a script sets it;\nthe form's reset target stays the state it started with.",
@@ -1707,6 +1816,15 @@
1707
1816
  "symbol": "VoidCollapsible"
1708
1817
  },
1709
1818
  "attributes": [
1819
+ {
1820
+ "name": "keys",
1821
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
1822
+ "default": "null",
1823
+ "value": {
1824
+ "kind": "plain",
1825
+ "type": "KeyOverrides | null"
1826
+ }
1827
+ },
1710
1828
  {
1711
1829
  "name": "open",
1712
1830
  "description": "Whether the content is shown. Add the attribute to start open; it follows the user's toggling.",
@@ -1728,6 +1846,12 @@
1728
1846
  ],
1729
1847
  "js": {
1730
1848
  "properties": [
1849
+ {
1850
+ "name": "keys",
1851
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
1852
+ "type": "KeyOverrides | null",
1853
+ "default": "null"
1854
+ },
1731
1855
  {
1732
1856
  "name": "open",
1733
1857
  "description": "Whether the content is shown. Add the attribute to start open; it follows the user's toggling.",
@@ -1936,6 +2060,15 @@
1936
2060
  "symbol": "VoidCombobox"
1937
2061
  },
1938
2062
  "attributes": [
2063
+ {
2064
+ "name": "keys",
2065
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
2066
+ "default": "null",
2067
+ "value": {
2068
+ "kind": "plain",
2069
+ "type": "KeyOverrides | null"
2070
+ }
2071
+ },
1939
2072
  {
1940
2073
  "name": "value",
1941
2074
  "description": "`value` of the chosen `void-option`. Reflected to the attribute as the choice changes. Written in markup\nit is the initial choice (without it, an option marked `selected` is), which a form reset restores.",
@@ -1947,8 +2080,8 @@
1947
2080
  },
1948
2081
  {
1949
2082
  "name": "placeholder",
1950
- "description": "Hint shown in the search field while it is empty. Defaults to `Search...`. It is also the field's\naccessible name when no `void-field` label names it.",
1951
- "default": "'Search...'",
2083
+ "description": "Hint shown in the search field while it is empty. Defaults to the `combobox.placeholder` message (English: `Search...`). It is also the field's\naccessible name when no `void-field` label names it.",
2084
+ "default": "''",
1952
2085
  "value": {
1953
2086
  "kind": "plain",
1954
2087
  "type": "string"
@@ -2011,6 +2144,12 @@
2011
2144
  ],
2012
2145
  "js": {
2013
2146
  "properties": [
2147
+ {
2148
+ "name": "keys",
2149
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
2150
+ "type": "KeyOverrides | null",
2151
+ "default": "null"
2152
+ },
2014
2153
  {
2015
2154
  "name": "value",
2016
2155
  "description": "`value` of the chosen `void-option`. Reflected to the attribute as the choice changes. Written in markup\nit is the initial choice (without it, an option marked `selected` is), which a form reset restores.",
@@ -2019,9 +2158,9 @@
2019
2158
  },
2020
2159
  {
2021
2160
  "name": "placeholder",
2022
- "description": "Hint shown in the search field while it is empty. Defaults to `Search...`. It is also the field's\naccessible name when no `void-field` label names it.",
2161
+ "description": "Hint shown in the search field while it is empty. Defaults to the `combobox.placeholder` message (English: `Search...`). It is also the field's\naccessible name when no `void-field` label names it.",
2023
2162
  "type": "string",
2024
- "default": "'Search...'"
2163
+ "default": "''"
2025
2164
  },
2026
2165
  {
2027
2166
  "name": "disabled",
@@ -2104,6 +2243,15 @@
2104
2243
  "symbol": "VoidComposeInput"
2105
2244
  },
2106
2245
  "attributes": [
2246
+ {
2247
+ "name": "keys",
2248
+ "description": "Key bindings for this element's actions, as JSON (`{\"send\":[\"Control+Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
2249
+ "default": "null",
2250
+ "value": {
2251
+ "kind": "plain",
2252
+ "type": "KeyOverrides | null"
2253
+ }
2254
+ },
2107
2255
  {
2108
2256
  "name": "value",
2109
2257
  "description": "The draft text, reflected to the `value` attribute as it changes. It is cleared after each send.",
@@ -2115,8 +2263,8 @@
2115
2263
  },
2116
2264
  {
2117
2265
  "name": "placeholder",
2118
- "description": "Hint shown while the box is empty. Defaults to `Type a message...`.",
2119
- "default": "'Type a message...'",
2266
+ "description": "Hint shown while the box is empty. Defaults to the `composeInput.placeholder` message (English: `Type a message...`).",
2267
+ "default": "''",
2120
2268
  "value": {
2121
2269
  "kind": "plain",
2122
2270
  "type": "string"
@@ -2143,6 +2291,12 @@
2143
2291
  ],
2144
2292
  "js": {
2145
2293
  "properties": [
2294
+ {
2295
+ "name": "keys",
2296
+ "description": "Key bindings for this element's actions, as JSON (`{\"send\":[\"Control+Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
2297
+ "type": "KeyOverrides | null",
2298
+ "default": "null"
2299
+ },
2146
2300
  {
2147
2301
  "name": "value",
2148
2302
  "description": "The draft text, reflected to the `value` attribute as it changes. It is cleared after each send.",
@@ -2151,9 +2305,9 @@
2151
2305
  },
2152
2306
  {
2153
2307
  "name": "placeholder",
2154
- "description": "Hint shown while the box is empty. Defaults to `Type a message...`.",
2308
+ "description": "Hint shown while the box is empty. Defaults to the `composeInput.placeholder` message (English: `Type a message...`).",
2155
2309
  "type": "string",
2156
- "default": "'Type a message...'"
2310
+ "default": "''"
2157
2311
  },
2158
2312
  {
2159
2313
  "name": "disabled",
@@ -2188,6 +2342,15 @@
2188
2342
  "symbol": "VoidDatePicker"
2189
2343
  },
2190
2344
  "attributes": [
2345
+ {
2346
+ "name": "keys",
2347
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
2348
+ "default": "null",
2349
+ "value": {
2350
+ "kind": "plain",
2351
+ "type": "KeyOverrides | null"
2352
+ }
2353
+ },
2191
2354
  {
2192
2355
  "name": "value",
2193
2356
  "description": "Selected date as an ISO `YYYY-MM-DD` string, whatever `format` shows. It is what the form submits\nand the reset target.",
@@ -2235,8 +2398,8 @@
2235
2398
  },
2236
2399
  {
2237
2400
  "name": "locale",
2238
- "description": "BCP 47 language tag for the calendar's month and weekday names, such as `de-DE`. Defaults to\n`en-US`. It does not change `format`.",
2239
- "default": "'en-US'",
2401
+ "description": "BCP 47 language tag for the calendar's month and weekday names and numbers, such as `de-DE`. Without it the\ncalendar follows the closest `lang`, and `en-US` where there is none. It does not change `format`.",
2402
+ "default": "''",
2240
2403
  "value": {
2241
2404
  "kind": "plain",
2242
2405
  "type": "string"
@@ -2244,11 +2407,11 @@
2244
2407
  },
2245
2408
  {
2246
2409
  "name": "first-day",
2247
- "description": "Day the calendar week starts on, as a number from 0 (Sunday, the default) to 6 (Saturday).",
2248
- "default": "0",
2410
+ "description": "Day the calendar week starts on, as a number from 0 (Sunday) to 6 (Saturday). Without it, the locale's first day of the week, else Sunday.",
2411
+ "default": "null",
2249
2412
  "value": {
2250
2413
  "kind": "plain",
2251
- "type": "number"
2414
+ "type": "number | null"
2252
2415
  }
2253
2416
  },
2254
2417
  {
@@ -2262,8 +2425,8 @@
2262
2425
  },
2263
2426
  {
2264
2427
  "name": "placeholder",
2265
- "description": "Hint shown in the field while no date is chosen. Defaults to `Select date`.",
2266
- "default": "'Select date'",
2428
+ "description": "Hint shown in the field while no date is chosen. Defaults to the `datePicker.placeholder` message (English: `Select date`).",
2429
+ "default": "''",
2267
2430
  "value": {
2268
2431
  "kind": "plain",
2269
2432
  "type": "string"
@@ -2317,6 +2480,12 @@
2317
2480
  ],
2318
2481
  "js": {
2319
2482
  "properties": [
2483
+ {
2484
+ "name": "keys",
2485
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
2486
+ "type": "KeyOverrides | null",
2487
+ "default": "null"
2488
+ },
2320
2489
  {
2321
2490
  "name": "value",
2322
2491
  "description": "Selected date as an ISO `YYYY-MM-DD` string, whatever `format` shows. It is what the form submits\nand the reset target.",
@@ -2349,15 +2518,15 @@
2349
2518
  },
2350
2519
  {
2351
2520
  "name": "locale",
2352
- "description": "BCP 47 language tag for the calendar's month and weekday names, such as `de-DE`. Defaults to\n`en-US`. It does not change `format`.",
2521
+ "description": "BCP 47 language tag for the calendar's month and weekday names and numbers, such as `de-DE`. Without it the\ncalendar follows the closest `lang`, and `en-US` where there is none. It does not change `format`.",
2353
2522
  "type": "string",
2354
- "default": "'en-US'"
2523
+ "default": "''"
2355
2524
  },
2356
2525
  {
2357
2526
  "name": "firstDay",
2358
- "description": "Day the calendar week starts on, as a number from 0 (Sunday, the default) to 6 (Saturday).",
2359
- "type": "number",
2360
- "default": "0"
2527
+ "description": "Day the calendar week starts on, as a number from 0 (Sunday) to 6 (Saturday). Without it, the locale's first day of the week, else Sunday.",
2528
+ "type": "number | null",
2529
+ "default": "null"
2361
2530
  },
2362
2531
  {
2363
2532
  "name": "open",
@@ -2367,9 +2536,9 @@
2367
2536
  },
2368
2537
  {
2369
2538
  "name": "placeholder",
2370
- "description": "Hint shown in the field while no date is chosen. Defaults to `Select date`.",
2539
+ "description": "Hint shown in the field while no date is chosen. Defaults to the `datePicker.placeholder` message (English: `Select date`).",
2371
2540
  "type": "string",
2372
- "default": "'Select date'"
2541
+ "default": "''"
2373
2542
  },
2374
2543
  {
2375
2544
  "name": "format",
@@ -2445,6 +2614,15 @@
2445
2614
  "type": "'sm' | 'md' | 'lg'"
2446
2615
  }
2447
2616
  },
2617
+ {
2618
+ "name": "keys",
2619
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off, which leaves a modal with no keyboard exit. See the keyboard guide.",
2620
+ "default": "null",
2621
+ "value": {
2622
+ "kind": "plain",
2623
+ "type": "KeyOverrides | null"
2624
+ }
2625
+ },
2448
2626
  {
2449
2627
  "name": "open",
2450
2628
  "description": "Whether it is open. Set or remove the attribute (or property) to open and close it; the server may do the same through a morph.",
@@ -2472,6 +2650,12 @@
2472
2650
  "type": "'sm' | 'md' | 'lg'",
2473
2651
  "default": "'md'"
2474
2652
  },
2653
+ {
2654
+ "name": "keys",
2655
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off, which leaves a modal with no keyboard exit. See the keyboard guide.",
2656
+ "type": "KeyOverrides | null",
2657
+ "default": "null"
2658
+ },
2475
2659
  {
2476
2660
  "name": "open",
2477
2661
  "description": "Whether it is open. Set or remove the attribute (or property) to open and close it; the server may do the same through a morph.",
@@ -2764,6 +2948,15 @@
2764
2948
  "type": "'sm' | 'md' | 'lg'"
2765
2949
  }
2766
2950
  },
2951
+ {
2952
+ "name": "keys",
2953
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off, which leaves a modal with no keyboard exit. See the keyboard guide.",
2954
+ "default": "null",
2955
+ "value": {
2956
+ "kind": "plain",
2957
+ "type": "KeyOverrides | null"
2958
+ }
2959
+ },
2767
2960
  {
2768
2961
  "name": "open",
2769
2962
  "description": "Whether it is open. Set or remove the attribute (or property) to open and close it; the server may do the same through a morph.",
@@ -2797,6 +2990,12 @@
2797
2990
  "type": "'sm' | 'md' | 'lg'",
2798
2991
  "default": "'md'"
2799
2992
  },
2993
+ {
2994
+ "name": "keys",
2995
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off, which leaves a modal with no keyboard exit. See the keyboard guide.",
2996
+ "type": "KeyOverrides | null",
2997
+ "default": "null"
2998
+ },
2800
2999
  {
2801
3000
  "name": "open",
2802
3001
  "description": "Whether it is open. Set or remove the attribute (or property) to open and close it; the server may do the same through a morph.",
@@ -2868,6 +3067,15 @@
2868
3067
  "symbol": "VoidDropdownMenu"
2869
3068
  },
2870
3069
  "attributes": [
3070
+ {
3071
+ "name": "keys",
3072
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.",
3073
+ "default": "null",
3074
+ "value": {
3075
+ "kind": "plain",
3076
+ "type": "KeyOverrides | null"
3077
+ }
3078
+ },
2871
3079
  {
2872
3080
  "name": "open",
2873
3081
  "description": "Whether the menu is open. A click on the trigger toggles it; choosing an item, Escape, Tab or a press outside closes it.",
@@ -2898,6 +3106,12 @@
2898
3106
  ],
2899
3107
  "js": {
2900
3108
  "properties": [
3109
+ {
3110
+ "name": "keys",
3111
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.",
3112
+ "type": "KeyOverrides | null",
3113
+ "default": "null"
3114
+ },
2901
3115
  {
2902
3116
  "name": "open",
2903
3117
  "description": "Whether the menu is open. A click on the trigger toggles it; choosing an item, Escape, Tab or a press outside closes it.",
@@ -2953,6 +3167,15 @@
2953
3167
  "symbol": "VoidDropdownMenuItem"
2954
3168
  },
2955
3169
  "attributes": [
3170
+ {
3171
+ "name": "keys",
3172
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
3173
+ "default": "null",
3174
+ "value": {
3175
+ "kind": "plain",
3176
+ "type": "KeyOverrides | null"
3177
+ }
3178
+ },
2956
3179
  {
2957
3180
  "name": "value",
2958
3181
  "description": "What the item stands for, passed as `detail.value` of `void-select` (empty when not set).",
@@ -2992,6 +3215,12 @@
2992
3215
  ],
2993
3216
  "js": {
2994
3217
  "properties": [
3218
+ {
3219
+ "name": "keys",
3220
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
3221
+ "type": "KeyOverrides | null",
3222
+ "default": "null"
3223
+ },
2995
3224
  {
2996
3225
  "name": "value",
2997
3226
  "description": "What the item stands for, passed as `detail.value` of `void-select` (empty when not set).",
@@ -3052,6 +3281,15 @@
3052
3281
  "symbol": "VoidEditable"
3053
3282
  },
3054
3283
  "attributes": [
3284
+ {
3285
+ "name": "keys",
3286
+ "description": "Key bindings for this element's actions, as JSON (`{\"cancel\":[]}`); `[]` switches an action off. See the keyboard guide.",
3287
+ "default": "null",
3288
+ "value": {
3289
+ "kind": "plain",
3290
+ "type": "KeyOverrides | null"
3291
+ }
3292
+ },
3055
3293
  {
3056
3294
  "name": "value",
3057
3295
  "description": "The committed text. Reflected to the attribute as it changes; the form's reset target stays the value it started with. Text still\nbeing edited is not part of it until committed.",
@@ -3081,8 +3319,8 @@
3081
3319
  },
3082
3320
  {
3083
3321
  "name": "placeholder",
3084
- "description": "Text shown while the value is empty and the field is not being edited. Defaults to `Click to edit`.",
3085
- "default": "'Click to edit'",
3322
+ "description": "Text shown while the value is empty and the field is not being edited. Defaults to the `editable.placeholder` message (English: `Click to edit`).",
3323
+ "default": "''",
3086
3324
  "value": {
3087
3325
  "kind": "plain",
3088
3326
  "type": "string"
@@ -3127,6 +3365,12 @@
3127
3365
  ],
3128
3366
  "js": {
3129
3367
  "properties": [
3368
+ {
3369
+ "name": "keys",
3370
+ "description": "Key bindings for this element's actions, as JSON (`{\"cancel\":[]}`); `[]` switches an action off. See the keyboard guide.",
3371
+ "type": "KeyOverrides | null",
3372
+ "default": "null"
3373
+ },
3130
3374
  {
3131
3375
  "name": "value",
3132
3376
  "description": "The committed text. Reflected to the attribute as it changes; the form's reset target stays the value it started with. Text still\nbeing edited is not part of it until committed.",
@@ -3147,9 +3391,9 @@
3147
3391
  },
3148
3392
  {
3149
3393
  "name": "placeholder",
3150
- "description": "Text shown while the value is empty and the field is not being edited. Defaults to `Click to edit`.",
3394
+ "description": "Text shown while the value is empty and the field is not being edited. Defaults to the `editable.placeholder` message (English: `Click to edit`).",
3151
3395
  "type": "string",
3152
- "default": "'Click to edit'"
3396
+ "default": "''"
3153
3397
  },
3154
3398
  {
3155
3399
  "name": "submitMode",
@@ -3202,8 +3446,8 @@
3202
3446
  "attributes": [
3203
3447
  {
3204
3448
  "name": "heading",
3205
- "description": "Headline of the built-in default. Defaults to `Something went wrong`. Ignored when the author writes parts.",
3206
- "default": "'Something went wrong'",
3449
+ "description": "Headline of the built-in default. Defaults to the `errorFallback.heading` message (English: `Something went wrong`). Ignored when the author writes parts.",
3450
+ "default": "''",
3207
3451
  "value": {
3208
3452
  "kind": "plain",
3209
3453
  "type": "string"
@@ -3229,8 +3473,8 @@
3229
3473
  },
3230
3474
  {
3231
3475
  "name": "retry-label",
3232
- "description": "Text of the built-in retry button. Defaults to `Try again`. Only used with `retryable`.",
3233
- "default": "'Try again'",
3476
+ "description": "Text of the built-in retry button. Defaults to the `errorFallback.retry` message (English: `Try again`). Only used with `retryable`.",
3477
+ "default": "''",
3234
3478
  "value": {
3235
3479
  "kind": "plain",
3236
3480
  "type": "string"
@@ -3250,9 +3494,9 @@
3250
3494
  "properties": [
3251
3495
  {
3252
3496
  "name": "heading",
3253
- "description": "Headline of the built-in default. Defaults to `Something went wrong`. Ignored when the author writes parts.",
3497
+ "description": "Headline of the built-in default. Defaults to the `errorFallback.heading` message (English: `Something went wrong`). Ignored when the author writes parts.",
3254
3498
  "type": "string",
3255
- "default": "'Something went wrong'"
3499
+ "default": "''"
3256
3500
  },
3257
3501
  {
3258
3502
  "name": "message",
@@ -3268,9 +3512,9 @@
3268
3512
  },
3269
3513
  {
3270
3514
  "name": "retryLabel",
3271
- "description": "Text of the built-in retry button. Defaults to `Try again`. Only used with `retryable`.",
3515
+ "description": "Text of the built-in retry button. Defaults to the `errorFallback.retry` message (English: `Try again`). Only used with `retryable`.",
3272
3516
  "type": "string",
3273
- "default": "'Try again'"
3517
+ "default": "''"
3274
3518
  },
3275
3519
  {
3276
3520
  "name": "hideIcon",
@@ -3398,6 +3642,15 @@
3398
3642
  "symbol": "VoidFileUpload"
3399
3643
  },
3400
3644
  "attributes": [
3645
+ {
3646
+ "name": "keys",
3647
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
3648
+ "default": "null",
3649
+ "value": {
3650
+ "kind": "plain",
3651
+ "type": "KeyOverrides | null"
3652
+ }
3653
+ },
3401
3654
  {
3402
3655
  "name": "accept",
3403
3656
  "description": "Comma-separated file types the zone takes, as on a native file input: extensions (`.pdf`), MIME\ntypes (`image/png`) or wildcards (`image/*`). Other files are not taken: `void-reject` fires with\nreason `type` and the zone shows an error.",
@@ -3464,6 +3717,12 @@
3464
3717
  ],
3465
3718
  "js": {
3466
3719
  "properties": [
3720
+ {
3721
+ "name": "keys",
3722
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
3723
+ "type": "KeyOverrides | null",
3724
+ "default": "null"
3725
+ },
3467
3726
  {
3468
3727
  "name": "accept",
3469
3728
  "description": "Comma-separated file types the zone takes, as on a native file input: extensions (`.pdf`), MIME\ntypes (`image/png`) or wildcards (`image/*`). Other files are not taken: `void-reject` fires with\nreason `type` and the zone shows an error.",
@@ -3843,6 +4102,15 @@
3843
4102
  "symbol": "VoidHamburger"
3844
4103
  },
3845
4104
  "attributes": [
4105
+ {
4106
+ "name": "keys",
4107
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
4108
+ "default": "null",
4109
+ "value": {
4110
+ "kind": "plain",
4111
+ "type": "KeyOverrides | null"
4112
+ }
4113
+ },
3846
4114
  {
3847
4115
  "name": "open",
3848
4116
  "description": "Whether the menu it controls is open: draws the lines as a close cross and sets `aria-expanded`. It\nflips on every click and Enter or Space, firing `void-open` or `void-close`; set it yourself when the\nmenu closes some other way.",
@@ -3864,6 +4132,12 @@
3864
4132
  ],
3865
4133
  "js": {
3866
4134
  "properties": [
4135
+ {
4136
+ "name": "keys",
4137
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
4138
+ "type": "KeyOverrides | null",
4139
+ "default": "null"
4140
+ },
3867
4141
  {
3868
4142
  "name": "open",
3869
4143
  "description": "Whether the menu it controls is open: draws the lines as a close cross and sets `aria-expanded`. It\nflips on every click and Enter or Space, firing `void-open` or `void-close`; set it yourself when the\nmenu closes some other way.",
@@ -3899,6 +4173,15 @@
3899
4173
  "symbol": "VoidHoverCard"
3900
4174
  },
3901
4175
  "attributes": [
4176
+ {
4177
+ "name": "keys",
4178
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
4179
+ "default": "null",
4180
+ "value": {
4181
+ "kind": "plain",
4182
+ "type": "KeyOverrides | null"
4183
+ }
4184
+ },
3902
4185
  {
3903
4186
  "name": "open",
3904
4187
  "description": "Whether the card is shown. It opens and closes itself from hover, focus and Escape; set it to drive it from script.",
@@ -3947,6 +4230,12 @@
3947
4230
  ],
3948
4231
  "js": {
3949
4232
  "properties": [
4233
+ {
4234
+ "name": "keys",
4235
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
4236
+ "type": "KeyOverrides | null",
4237
+ "default": "null"
4238
+ },
3950
4239
  {
3951
4240
  "name": "open",
3952
4241
  "description": "Whether the card is shown. It opens and closes itself from hover, focus and Escape; set it to drive it from script.",
@@ -4611,6 +4900,15 @@
4611
4900
  "symbol": "VoidMenu"
4612
4901
  },
4613
4902
  "attributes": [
4903
+ {
4904
+ "name": "keys",
4905
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.",
4906
+ "default": "null",
4907
+ "value": {
4908
+ "kind": "plain",
4909
+ "type": "KeyOverrides | null"
4910
+ }
4911
+ },
4614
4912
  {
4615
4913
  "name": "open",
4616
4914
  "description": "Whether the menu is shown. It starts hidden: add `open` to show it (the menu has no trigger of its own).\nEscape sets it back to false.",
@@ -4632,6 +4930,12 @@
4632
4930
  ],
4633
4931
  "js": {
4634
4932
  "properties": [
4933
+ {
4934
+ "name": "keys",
4935
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.",
4936
+ "type": "KeyOverrides | null",
4937
+ "default": "null"
4938
+ },
4635
4939
  {
4636
4940
  "name": "open",
4637
4941
  "description": "Whether the menu is shown. It starts hidden: add `open` to show it (the menu has no trigger of its own).\nEscape sets it back to false.",
@@ -4708,6 +5012,15 @@
4708
5012
  "symbol": "VoidMenuItem"
4709
5013
  },
4710
5014
  "attributes": [
5015
+ {
5016
+ "name": "keys",
5017
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
5018
+ "default": "null",
5019
+ "value": {
5020
+ "kind": "plain",
5021
+ "type": "KeyOverrides | null"
5022
+ }
5023
+ },
4711
5024
  {
4712
5025
  "name": "value",
4713
5026
  "description": "What the item stands for, passed as `detail.value` of `void-select` (empty when not set). Use it instead of\nmatching on the item's text.",
@@ -4729,6 +5042,12 @@
4729
5042
  ],
4730
5043
  "js": {
4731
5044
  "properties": [
5045
+ {
5046
+ "name": "keys",
5047
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
5048
+ "type": "KeyOverrides | null",
5049
+ "default": "null"
5050
+ },
4732
5051
  {
4733
5052
  "name": "value",
4734
5053
  "description": "What the item stands for, passed as `detail.value` of `void-select` (empty when not set). Use it instead of\nmatching on the item's text.",
@@ -4786,10 +5105,19 @@
4786
5105
  "symbol": "VoidMultiselect"
4787
5106
  },
4788
5107
  "attributes": [
5108
+ {
5109
+ "name": "keys",
5110
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
5111
+ "default": "null",
5112
+ "value": {
5113
+ "kind": "plain",
5114
+ "type": "KeyOverrides | null"
5115
+ }
5116
+ },
4789
5117
  {
4790
5118
  "name": "placeholder",
4791
- "description": "Text shown in the trigger while nothing is selected. Defaults to `Select...`. It is also the\ntrigger's accessible name when no `void-field` label names it.",
4792
- "default": "'Select...'",
5119
+ "description": "Text shown in the trigger while nothing is selected. Defaults to the `multiselect.placeholder` message (English: `Select...`). It is also the\ntrigger's accessible name when no `void-field` label names it.",
5120
+ "default": "''",
4793
5121
  "value": {
4794
5122
  "kind": "plain",
4795
5123
  "type": "string"
@@ -4861,11 +5189,17 @@
4861
5189
  ],
4862
5190
  "js": {
4863
5191
  "properties": [
5192
+ {
5193
+ "name": "keys",
5194
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
5195
+ "type": "KeyOverrides | null",
5196
+ "default": "null"
5197
+ },
4864
5198
  {
4865
5199
  "name": "placeholder",
4866
- "description": "Text shown in the trigger while nothing is selected. Defaults to `Select...`. It is also the\ntrigger's accessible name when no `void-field` label names it.",
5200
+ "description": "Text shown in the trigger while nothing is selected. Defaults to the `multiselect.placeholder` message (English: `Select...`). It is also the\ntrigger's accessible name when no `void-field` label names it.",
4867
5201
  "type": "string",
4868
- "default": "'Select...'"
5202
+ "default": "''"
4869
5203
  },
4870
5204
  {
4871
5205
  "name": "disabled",
@@ -5006,6 +5340,15 @@
5006
5340
  "symbol": "VoidNavMenu"
5007
5341
  },
5008
5342
  "attributes": [
5343
+ {
5344
+ "name": "keys",
5345
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.",
5346
+ "default": "null",
5347
+ "value": {
5348
+ "kind": "plain",
5349
+ "type": "KeyOverrides | null"
5350
+ }
5351
+ },
5009
5352
  {
5010
5353
  "name": "orientation",
5011
5354
  "description": "`horizontal` (default) lays the items out in a row with Left and Right arrow keys; `vertical` stacks\nthem.",
@@ -5027,6 +5370,12 @@
5027
5370
  ],
5028
5371
  "js": {
5029
5372
  "properties": [
5373
+ {
5374
+ "name": "keys",
5375
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.",
5376
+ "type": "KeyOverrides | null",
5377
+ "default": "null"
5378
+ },
5030
5379
  {
5031
5380
  "name": "orientation",
5032
5381
  "description": "`horizontal` (default) lays the items out in a row with Left and Right arrow keys; `vertical` stacks\nthem.",
@@ -5141,7 +5490,16 @@
5141
5490
  },
5142
5491
  "attributes": [
5143
5492
  {
5144
- "name": "value",
5493
+ "name": "keys",
5494
+ "description": "Key bindings for this element's actions, as JSON (`{\"increment\":[\"ArrowUp\",\"k\"]}`); `[]` switches an action off. See the keyboard guide.",
5495
+ "default": "null",
5496
+ "value": {
5497
+ "kind": "plain",
5498
+ "type": "KeyOverrides | null"
5499
+ }
5500
+ },
5501
+ {
5502
+ "name": "value",
5145
5503
  "description": "The number, or `null` while the field is empty (the default, and after the user clears it). Reflected to\nthe attribute as it changes (absent while empty); an absent or empty attribute is an empty field. It is kept within\n`min` and `max` once the user commits an edit. An empty field submits an empty string, and with\n`required` it is invalid (`valueMissing`), as a native number field.",
5146
5504
  "default": "null",
5147
5505
  "value": {
@@ -5241,7 +5599,7 @@
5241
5599
  },
5242
5600
  {
5243
5601
  "name": "label",
5244
- "description": "Accessible name of the field when it is not inside a `void-field`. Defaults to `Number input`, so\nset it.",
5602
+ "description": "Accessible name of the field when it is not inside a `void-field`. Defaults to the `numberInput.label` message (English: `Number input`), so\nset it.",
5245
5603
  "default": "''",
5246
5604
  "value": {
5247
5605
  "kind": "plain",
@@ -5287,6 +5645,12 @@
5287
5645
  ],
5288
5646
  "js": {
5289
5647
  "properties": [
5648
+ {
5649
+ "name": "keys",
5650
+ "description": "Key bindings for this element's actions, as JSON (`{\"increment\":[\"ArrowUp\",\"k\"]}`); `[]` switches an action off. See the keyboard guide.",
5651
+ "type": "KeyOverrides | null",
5652
+ "default": "null"
5653
+ },
5290
5654
  {
5291
5655
  "name": "value",
5292
5656
  "description": "The number, or `null` while the field is empty (the default, and after the user clears it). Reflected to\nthe attribute as it changes (absent while empty); an absent or empty attribute is an empty field. It is kept within\n`min` and `max` once the user commits an edit. An empty field submits an empty string, and with\n`required` it is invalid (`valueMissing`), as a native number field.",
@@ -5355,7 +5719,7 @@
5355
5719
  },
5356
5720
  {
5357
5721
  "name": "label",
5358
- "description": "Accessible name of the field when it is not inside a `void-field`. Defaults to `Number input`, so\nset it.",
5722
+ "description": "Accessible name of the field when it is not inside a `void-field`. Defaults to the `numberInput.label` message (English: `Number input`), so\nset it.",
5359
5723
  "type": "string",
5360
5724
  "default": "''"
5361
5725
  },
@@ -5655,6 +6019,15 @@
5655
6019
  "symbol": "VoidPinInput"
5656
6020
  },
5657
6021
  "attributes": [
6022
+ {
6023
+ "name": "keys",
6024
+ "description": "Key bindings for this element's actions, as JSON (`{\"previous\":[\"ArrowLeft\"]}`); `[]` switches an action off. See the keyboard guide.",
6025
+ "default": "null",
6026
+ "value": {
6027
+ "kind": "plain",
6028
+ "type": "KeyOverrides | null"
6029
+ }
6030
+ },
5658
6031
  {
5659
6032
  "name": "length",
5660
6033
  "description": "Number of cells, so the number of characters in the code. Defaults to 6.",
@@ -5757,6 +6130,12 @@
5757
6130
  ],
5758
6131
  "js": {
5759
6132
  "properties": [
6133
+ {
6134
+ "name": "keys",
6135
+ "description": "Key bindings for this element's actions, as JSON (`{\"previous\":[\"ArrowLeft\"]}`); `[]` switches an action off. See the keyboard guide.",
6136
+ "type": "KeyOverrides | null",
6137
+ "default": "null"
6138
+ },
5760
6139
  {
5761
6140
  "name": "length",
5762
6141
  "description": "Number of cells, so the number of characters in the code. Defaults to 6.",
@@ -5851,6 +6230,15 @@
5851
6230
  "symbol": "VoidPopover"
5852
6231
  },
5853
6232
  "attributes": [
6233
+ {
6234
+ "name": "keys",
6235
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
6236
+ "default": "null",
6237
+ "value": {
6238
+ "kind": "plain",
6239
+ "type": "KeyOverrides | null"
6240
+ }
6241
+ },
5854
6242
  {
5855
6243
  "name": "open",
5856
6244
  "description": "Whether the popover is open.",
@@ -5890,6 +6278,12 @@
5890
6278
  ],
5891
6279
  "js": {
5892
6280
  "properties": [
6281
+ {
6282
+ "name": "keys",
6283
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
6284
+ "type": "KeyOverrides | null",
6285
+ "default": "null"
6286
+ },
5893
6287
  {
5894
6288
  "name": "open",
5895
6289
  "description": "Whether the popover is open.",
@@ -6045,6 +6439,15 @@
6045
6439
  "symbol": "VoidRadio"
6046
6440
  },
6047
6441
  "attributes": [
6442
+ {
6443
+ "name": "keys",
6444
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
6445
+ "default": "null",
6446
+ "value": {
6447
+ "kind": "plain",
6448
+ "type": "KeyOverrides | null"
6449
+ }
6450
+ },
6048
6451
  {
6049
6452
  "name": "checked",
6050
6453
  "description": "Whether this radio is the selected one. Checking one radio unchecks the others with the same `name`.",
@@ -6120,6 +6523,12 @@
6120
6523
  ],
6121
6524
  "js": {
6122
6525
  "properties": [
6526
+ {
6527
+ "name": "keys",
6528
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
6529
+ "type": "KeyOverrides | null",
6530
+ "default": "null"
6531
+ },
6123
6532
  {
6124
6533
  "name": "checked",
6125
6534
  "description": "Whether this radio is the selected one. Checking one radio unchecks the others with the same `name`.",
@@ -6343,6 +6752,15 @@
6343
6752
  "symbol": "VoidSegmentedControl"
6344
6753
  },
6345
6754
  "attributes": [
6755
+ {
6756
+ "name": "keys",
6757
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
6758
+ "default": "null",
6759
+ "value": {
6760
+ "kind": "plain",
6761
+ "type": "KeyOverrides | null"
6762
+ }
6763
+ },
6346
6764
  {
6347
6765
  "name": "value",
6348
6766
  "description": "`value` of the selected item. Selection follows focus, so each arrow key changes it and fires\n`void-change`. Reflected to the attribute as it changes; the form's reset target stays the value it started with.",
@@ -6400,6 +6818,12 @@
6400
6818
  ],
6401
6819
  "js": {
6402
6820
  "properties": [
6821
+ {
6822
+ "name": "keys",
6823
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
6824
+ "type": "KeyOverrides | null",
6825
+ "default": "null"
6826
+ },
6403
6827
  {
6404
6828
  "name": "value",
6405
6829
  "description": "`value` of the selected item. Selection follows focus, so each arrow key changes it and fires\n`void-change`. Reflected to the attribute as it changes; the form's reset target stays the value it started with.",
@@ -6453,6 +6877,15 @@
6453
6877
  "symbol": "VoidSegmentedControlItem"
6454
6878
  },
6455
6879
  "attributes": [
6880
+ {
6881
+ "name": "keys",
6882
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Space\"]}`); `[]` switches an action off. See the keyboard guide.",
6883
+ "default": "null",
6884
+ "value": {
6885
+ "kind": "plain",
6886
+ "type": "KeyOverrides | null"
6887
+ }
6888
+ },
6456
6889
  {
6457
6890
  "name": "value",
6458
6891
  "description": "What the parent reports and submits when this segment is selected. Must be unique within the\ncontrol.",
@@ -6474,6 +6907,12 @@
6474
6907
  ],
6475
6908
  "js": {
6476
6909
  "properties": [
6910
+ {
6911
+ "name": "keys",
6912
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Space\"]}`); `[]` switches an action off. See the keyboard guide.",
6913
+ "type": "KeyOverrides | null",
6914
+ "default": "null"
6915
+ },
6477
6916
  {
6478
6917
  "name": "value",
6479
6918
  "description": "What the parent reports and submits when this segment is selected. Must be unique within the\ncontrol.",
@@ -6844,8 +7283,8 @@
6844
7283
  },
6845
7284
  {
6846
7285
  "name": "label",
6847
- "description": "Text announced to screen readers while loading, and the spinner's accessible name. Defaults to\n`Loading`; say what is loading (`Loading orders`).",
6848
- "default": "'Loading'",
7286
+ "description": "Text announced to screen readers while loading, and the spinner's accessible name. Defaults to the `spinner.label` message (English:\n`Loading`); say what is loading (`Loading orders`).",
7287
+ "default": "''",
6849
7288
  "value": {
6850
7289
  "kind": "plain",
6851
7290
  "type": "string"
@@ -6862,9 +7301,9 @@
6862
7301
  },
6863
7302
  {
6864
7303
  "name": "label",
6865
- "description": "Text announced to screen readers while loading, and the spinner's accessible name. Defaults to\n`Loading`; say what is loading (`Loading orders`).",
7304
+ "description": "Text announced to screen readers while loading, and the spinner's accessible name. Defaults to the `spinner.label` message (English:\n`Loading`); say what is loading (`Loading orders`).",
6866
7305
  "type": "string",
6867
- "default": "'Loading'"
7306
+ "default": "''"
6868
7307
  }
6869
7308
  ],
6870
7309
  "events": []
@@ -7073,6 +7512,15 @@
7073
7512
  "symbol": "VoidSwitch"
7074
7513
  },
7075
7514
  "attributes": [
7515
+ {
7516
+ "name": "keys",
7517
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
7518
+ "default": "null",
7519
+ "value": {
7520
+ "kind": "plain",
7521
+ "type": "KeyOverrides | null"
7522
+ }
7523
+ },
7076
7524
  {
7077
7525
  "name": "checked",
7078
7526
  "description": "Whether the switch is on. Reflected to the attribute as it changes; the form's reset target stays the state it started with.",
@@ -7139,6 +7587,12 @@
7139
7587
  ],
7140
7588
  "js": {
7141
7589
  "properties": [
7590
+ {
7591
+ "name": "keys",
7592
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
7593
+ "type": "KeyOverrides | null",
7594
+ "default": "null"
7595
+ },
7142
7596
  {
7143
7597
  "name": "checked",
7144
7598
  "description": "Whether the switch is on. Reflected to the attribute as it changes; the form's reset target stays the state it started with.",
@@ -7192,7 +7646,7 @@
7192
7646
  },
7193
7647
  {
7194
7648
  "name": "void-table",
7195
- "description": "Data table around a native `<table>`: sets how it looks (`striped`, `hoverable`, `compact`,\n`bordered`, `inset`), how it behaves when the container is narrow (`stack`) and when it is wider\nthan its container (`scrollable`, `sticky-header`, `sticky-column`).\n\n**Stacked presentation.** `stack` turns each row into a block of label and value pairs while the\ntable's container (not the viewport) is narrower than a breakpoint (`stack=\"48rem\"`, `stack=\"always\"`). The label of a cell is the\ntext of the header cell of its column; it is copied to the cell as `data-label` (a `data-label`\nwritten on a cell is kept). `data-stack` on a header cell sets the role of a column in the block:\n`title` (the block's heading, no label), `select` (a row checkbox, beside the title), `actions`\n(buttons, grouped at the end) or `hide` (left out). It is copied to the cells of the column.\n`data-align=\"end\"` on a header cell right-aligns a numeric column. Because browsers can drop table\nsemantics when `display` changes, a table with `stack` carries explicit table, row and cell roles.\n\n**Name.** A table needs a name: write a `<caption>` (the caption part; it can be visually hidden), or an\n`aria-label` (or `label`) on the `<void-table>`, which the component copies onto the native `<table>`. `voidable check`\nreports a `<void-table>` with neither (rule `missing-name`).\n\n**Overflow.** Nothing is clipped by default, so a menu, popover or tooltip opened from a cell is\nalways fully visible. `scrollable` makes the table its own horizontal scroll region: it is\nfocusable and labelled (`label`, else the `<caption>`, else `aria-label`) only while it actually\noverflows, and fades its edges while there is more to scroll to. `max-height` makes the region\nscroll vertically too, which is what `sticky-header` needs; without it a sticky header sticks to\nthe page.",
7649
+ "description": "Data table around a native `<table>`: sets how it looks (`striped`, `hoverable`, `compact`,\n`bordered`, `inset`), how it behaves when the container is narrow (`stack`) and when it is wider\nthan its container (`scrollable`, `sticky-header`, `sticky-column`).\n\n**Stacked presentation.** `stack` turns each row into a block of label and value pairs while the\ntable's container (not the viewport) is narrower than a breakpoint (`stack=\"48rem\"`, `stack=\"always\"`). The label of a cell is the\ntext of the header cell of its column; it is copied to the cell as `data-label` (a `data-label`\nwritten on a cell is kept). `data-stack` on a header cell sets the role of a column in the block:\n`title` (the block's heading, no label), `select` (a row checkbox, beside the title), `actions`\n(buttons, grouped at the end) or `hide` (left out). It is copied to the cells of the column.\n`data-align=\"end\"` on a header cell right-aligns a numeric column. Because browsers can drop table\nsemantics when `display` changes, a table with `stack` carries explicit table, row and cell roles.\n\n**Name.** A table needs a name: write a `<caption>` (the caption part; it can be visually hidden), or an\n`aria-label` (or `label`) on the `<void-table>`, which the component copies onto the native `<table>`. `voidable check`\nreports a `<void-table>` with neither (rule `missing-name`).\n\n**Overflow.** Nothing is clipped by default, so a menu, popover or tooltip opened from a cell is\nalways fully visible. `scrollable` makes the table its own horizontal scroll region: it is\nfocusable and labelled (`label`, else the `<caption>`, else `aria-label`) only while it actually\noverflows, and fades its edges while there is more to scroll to. `max-height` makes the region\nscroll vertically too, which is what `sticky-header` needs; without it a sticky header sticks to\nthe page.\n\n**Sorting.** `data-sort` on a header cell (`data-sort=\"number\"` or `\"date\"`; text by default) makes the column\nsortable: the component wraps the header's content in a `<button>`, writes `aria-sort` and, on activation,\ncycles ascending, descending, none. A cell's `data-sort-value` is the value compared (ISO dates, raw numbers).\nText uses `Intl.Collator` for the closest `lang` with numeric collation; empty cells sort last in both\ndirections. One column at a time. `sort` is the column's `data-key` (else its index) and `sort-direction` its direction.\n\n**Filtering.** `filter` hides (with `hidden`) the body rows that do not contain every word, ignoring case and accents,\nin all columns or in the `data-key`s of `filter-columns`. An author-written `<void-table-filter>` holding a search\ninput is wired to it (typing is debounced). A visually hidden live region says \"N of M rows\" and a\n`<void-table-empty>` part shows while nothing matches.\n\n**Selection.** `selectable` (or `selectable=\"single\"`) wires the checkboxes the author wrote in the rows (a\n`void-checkbox` or a native one, in the `data-stack=\"select\"` column) and in the header (select all, which acts\non the rows shown). Rows are identified by `data-value` (else their position). `value` is the selected row\nvalues as a JSON array, submitted with the form when `name` is set. `<void-table-selection>` is shown while\nanything is selected and `<void-table-select-all>` offers \"all N rows\" across server pages (`total-rows`,\n`all-selected`).\n\n**Server mode.** `manual` leaves ordering, visibility and selection markup to the server: the table only\nupdates header state and fires the events.\n\nShortcuts are opt-in: the `selectAll` key action has no default key, and `keys='{\"selectAll\":[\"Control+a\",\"Meta+a\"]}'` lets Ctrl or Cmd plus A inside the body select every shown row.",
7196
7650
  "source": {
7197
7651
  "module": "@voidable/ui",
7198
7652
  "symbol": "VoidTable"
@@ -7296,6 +7750,114 @@
7296
7750
  "kind": "plain",
7297
7751
  "type": "string | null"
7298
7752
  }
7753
+ },
7754
+ {
7755
+ "name": "sort",
7756
+ "description": "The key (`data-key` of the header cell, else its position) of the column the rows are sorted by.",
7757
+ "default": "null",
7758
+ "value": {
7759
+ "kind": "plain",
7760
+ "type": "string | null"
7761
+ }
7762
+ },
7763
+ {
7764
+ "name": "sort-direction",
7765
+ "description": "Direction of the sort. A `sort` without it is ascending.",
7766
+ "default": "null",
7767
+ "value": {
7768
+ "kind": "plain",
7769
+ "type": "string | null"
7770
+ }
7771
+ },
7772
+ {
7773
+ "name": "filter",
7774
+ "description": "Hides the body rows that do not contain every whitespace-separated word, ignoring case and accents.",
7775
+ "default": "null",
7776
+ "value": {
7777
+ "kind": "plain",
7778
+ "type": "string | null"
7779
+ }
7780
+ },
7781
+ {
7782
+ "name": "filter-columns",
7783
+ "description": "The `data-key`s (or positions), separated by spaces or commas, of the columns `filter` looks at. Default: every column.",
7784
+ "default": "null",
7785
+ "value": {
7786
+ "kind": "plain",
7787
+ "type": "string | null"
7788
+ }
7789
+ },
7790
+ {
7791
+ "name": "selectable",
7792
+ "description": "Wires the row checkboxes. Present without a value: any number of rows; `single`: one row at a time.",
7793
+ "default": "null",
7794
+ "value": {
7795
+ "kind": "plain",
7796
+ "type": "string | null"
7797
+ }
7798
+ },
7799
+ {
7800
+ "name": "manual",
7801
+ "description": "The server renders order, visibility, `aria-sort` and selection; the table only fires its events and updates header state.",
7802
+ "default": "false",
7803
+ "value": {
7804
+ "kind": "no-value",
7805
+ "type": "boolean"
7806
+ }
7807
+ },
7808
+ {
7809
+ "name": "total-rows",
7810
+ "description": "How many rows there are in all, across the server's pages. Enables `<void-table-select-all>`.",
7811
+ "default": "null",
7812
+ "value": {
7813
+ "kind": "plain",
7814
+ "type": "number | null"
7815
+ }
7816
+ },
7817
+ {
7818
+ "name": "all-selected",
7819
+ "description": "Every row across the server's pages is selected (the user activated the select-all part). The server applies the action to the full set.",
7820
+ "default": "false",
7821
+ "value": {
7822
+ "kind": "no-value",
7823
+ "type": "boolean"
7824
+ }
7825
+ },
7826
+ {
7827
+ "name": "keys",
7828
+ "description": "Key actions (JSON): `{\"selectAll\":[\"Control+a\",\"Meta+a\"]}` turns on select-all by keyboard, which has no default key.",
7829
+ "default": "null",
7830
+ "value": {
7831
+ "kind": "plain",
7832
+ "type": "KeyOverrides | null"
7833
+ }
7834
+ },
7835
+ {
7836
+ "name": "value",
7837
+ "description": "The values of the selected rows, as a list; the `value` attribute is the same list as a JSON array\n(`value='[\"a\",\"b\"]'`), kept in step as the selection changes. Setting it selects those rows (it does not fire `void-change`).\nValues that match no row are dropped when the rows are known.",
7838
+ "default": "[]",
7839
+ "value": {
7840
+ "kind": "plain",
7841
+ "type": "string[]"
7842
+ }
7843
+ },
7844
+ {
7845
+ "name": "required",
7846
+ "description": "The control must have a value before its form can be submitted. An empty control is invalid\n(`valueMissing`) and the browser reports it, as for a native field.",
7847
+ "default": "false",
7848
+ "value": {
7849
+ "kind": "no-value",
7850
+ "type": "boolean"
7851
+ }
7852
+ },
7853
+ {
7854
+ "name": "name",
7855
+ "description": "Key the control's value is submitted under in the form's `FormData`. Without a name the control\nsubmits nothing.",
7856
+ "default": "''",
7857
+ "value": {
7858
+ "kind": "plain",
7859
+ "type": "string"
7860
+ }
7299
7861
  }
7300
7862
  ],
7301
7863
  "js": {
@@ -7365,8 +7927,132 @@
7365
7927
  "description": "Accessible name of the scroll region (default: the table's caption, then `aria-label`).",
7366
7928
  "type": "string | null",
7367
7929
  "default": "null"
7930
+ },
7931
+ {
7932
+ "name": "sort",
7933
+ "description": "The key (`data-key` of the header cell, else its position) of the column the rows are sorted by.",
7934
+ "type": "string | null",
7935
+ "default": "null"
7936
+ },
7937
+ {
7938
+ "name": "sortDirection",
7939
+ "description": "Direction of the sort. A `sort` without it is ascending.",
7940
+ "type": "string | null",
7941
+ "default": "null"
7942
+ },
7943
+ {
7944
+ "name": "filter",
7945
+ "description": "Hides the body rows that do not contain every whitespace-separated word, ignoring case and accents.",
7946
+ "type": "string | null",
7947
+ "default": "null"
7948
+ },
7949
+ {
7950
+ "name": "filterColumns",
7951
+ "description": "The `data-key`s (or positions), separated by spaces or commas, of the columns `filter` looks at. Default: every column.",
7952
+ "type": "string | null",
7953
+ "default": "null"
7954
+ },
7955
+ {
7956
+ "name": "selectable",
7957
+ "description": "Wires the row checkboxes. Present without a value: any number of rows; `single`: one row at a time.",
7958
+ "type": "string | null",
7959
+ "default": "null"
7960
+ },
7961
+ {
7962
+ "name": "manual",
7963
+ "description": "The server renders order, visibility, `aria-sort` and selection; the table only fires its events and updates header state.",
7964
+ "type": "boolean",
7965
+ "default": "false"
7966
+ },
7967
+ {
7968
+ "name": "totalRows",
7969
+ "description": "How many rows there are in all, across the server's pages. Enables `<void-table-select-all>`.",
7970
+ "type": "number | null",
7971
+ "default": "null"
7972
+ },
7973
+ {
7974
+ "name": "allSelected",
7975
+ "description": "Every row across the server's pages is selected (the user activated the select-all part). The server applies the action to the full set.",
7976
+ "type": "boolean",
7977
+ "default": "false"
7978
+ },
7979
+ {
7980
+ "name": "keys",
7981
+ "description": "Key actions (JSON): `{\"selectAll\":[\"Control+a\",\"Meta+a\"]}` turns on select-all by keyboard, which has no default key.",
7982
+ "type": "KeyOverrides | null",
7983
+ "default": "null"
7984
+ },
7985
+ {
7986
+ "name": "value",
7987
+ "description": "The values of the selected rows, as a list; the `value` attribute is the same list as a JSON array\n(`value='[\"a\",\"b\"]'`), kept in step as the selection changes. Setting it selects those rows (it does not fire `void-change`).\nValues that match no row are dropped when the rows are known.",
7988
+ "type": "string[]",
7989
+ "default": "[]"
7990
+ },
7991
+ {
7992
+ "name": "required",
7993
+ "description": "The control must have a value before its form can be submitted. An empty control is invalid\n(`valueMissing`) and the browser reports it, as for a native field.",
7994
+ "type": "boolean",
7995
+ "default": "false"
7996
+ },
7997
+ {
7998
+ "name": "name",
7999
+ "description": "Key the control's value is submitted under in the form's `FormData`. Without a name the control\nsubmits nothing.",
8000
+ "type": "string",
8001
+ "default": "''"
7368
8002
  }
7369
8003
  ],
8004
+ "events": [
8005
+ {
8006
+ "name": "void-change",
8007
+ "description": "The user changed the selection.",
8008
+ "type": "CustomEvent<{ value: string[], all: boolean }>"
8009
+ },
8010
+ {
8011
+ "name": "void-sort",
8012
+ "description": "A user activated a sortable header; cancelable.",
8013
+ "type": "CustomEvent<{ column: string, direction: 'ascending' | 'descending' | 'none' }>"
8014
+ },
8015
+ {
8016
+ "name": "void-filter",
8017
+ "description": "The user changed the filter.",
8018
+ "type": "CustomEvent<{ filter: string, shown: number, total: number }>"
8019
+ }
8020
+ ]
8021
+ }
8022
+ },
8023
+ {
8024
+ "name": "void-table-empty",
8025
+ "description": "Shown (the component removes `hidden`) while the filter matches no row. Write it with `hidden`. A CSS-only part of <void-table>.",
8026
+ "attributes": [],
8027
+ "js": {
8028
+ "properties": [],
8029
+ "events": []
8030
+ }
8031
+ },
8032
+ {
8033
+ "name": "void-table-filter",
8034
+ "description": "Holds the native search input (or a void-input) that filters the rows; typing is debounced. Place it anywhere inside the void-table. A CSS-only part of <void-table>.",
8035
+ "attributes": [],
8036
+ "js": {
8037
+ "properties": [],
8038
+ "events": []
8039
+ }
8040
+ },
8041
+ {
8042
+ "name": "void-table-select-all",
8043
+ "description": "With `total-rows` greater than the rows present, shown when select-all is checked; a button inside it (\"Select all 1,250 rows\") sets `all-selected` and fires void-change with `all: true`. Write it with `hidden`. A CSS-only part of <void-table>.",
8044
+ "attributes": [],
8045
+ "js": {
8046
+ "properties": [],
8047
+ "events": []
8048
+ }
8049
+ },
8050
+ {
8051
+ "name": "void-table-selection",
8052
+ "description": "Shown while any row is selected; holds the bulk actions. An element with `data-count` inside it receives the number of selected rows. Write it with `hidden`. A CSS-only part of <void-table>.",
8053
+ "attributes": [],
8054
+ "js": {
8055
+ "properties": [],
7370
8056
  "events": []
7371
8057
  }
7372
8058
  },
@@ -7378,6 +8064,15 @@
7378
8064
  "symbol": "VoidTabs"
7379
8065
  },
7380
8066
  "attributes": [
8067
+ {
8068
+ "name": "keys",
8069
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\",\"l\"]}`); `[]` switches an action off. See the keyboard guide.",
8070
+ "default": "null",
8071
+ "value": {
8072
+ "kind": "plain",
8073
+ "type": "KeyOverrides | null"
8074
+ }
8075
+ },
7381
8076
  {
7382
8077
  "name": "value",
7383
8078
  "description": "The `value` of the selected tab. As an attribute it is the initial tab; selecting a tab updates it (it\nreflects) and fires `void-change`.",
@@ -7408,6 +8103,12 @@
7408
8103
  ],
7409
8104
  "js": {
7410
8105
  "properties": [
8106
+ {
8107
+ "name": "keys",
8108
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\",\"l\"]}`); `[]` switches an action off. See the keyboard guide.",
8109
+ "type": "KeyOverrides | null",
8110
+ "default": "null"
8111
+ },
7411
8112
  {
7412
8113
  "name": "value",
7413
8114
  "description": "The `value` of the selected tab. As an attribute it is the initial tab; selecting a tab updates it (it\nreflects) and fires `void-change`.",
@@ -7578,6 +8279,15 @@
7578
8279
  "symbol": "VoidTagsInput"
7579
8280
  },
7580
8281
  "attributes": [
8282
+ {
8283
+ "name": "keys",
8284
+ "description": "Key bindings for this element's actions, as JSON (`{\"add\":[\"Enter\",\";\"]}`); `[]` switches an action off. See the keyboard guide.",
8285
+ "default": "null",
8286
+ "value": {
8287
+ "kind": "plain",
8288
+ "type": "KeyOverrides | null"
8289
+ }
8290
+ },
7581
8291
  {
7582
8292
  "name": "value",
7583
8293
  "description": "The tags, as an array of strings or `{ text, color }` objects. Set it as a property from script, or\nas a JSON array in the attribute, which follows the tags as they change.",
@@ -7616,8 +8326,8 @@
7616
8326
  },
7617
8327
  {
7618
8328
  "name": "placeholder",
7619
- "description": "Hint in the entry field. Defaults to `Add tag...`.",
7620
- "default": "'Add tag...'",
8329
+ "description": "Hint in the entry field. Defaults to the `tagsInput.placeholder` message (English: `Add tag...`).",
8330
+ "default": "''",
7621
8331
  "value": {
7622
8332
  "kind": "plain",
7623
8333
  "type": "string"
@@ -7680,6 +8390,12 @@
7680
8390
  ],
7681
8391
  "js": {
7682
8392
  "properties": [
8393
+ {
8394
+ "name": "keys",
8395
+ "description": "Key bindings for this element's actions, as JSON (`{\"add\":[\"Enter\",\";\"]}`); `[]` switches an action off. See the keyboard guide.",
8396
+ "type": "KeyOverrides | null",
8397
+ "default": "null"
8398
+ },
7683
8399
  {
7684
8400
  "name": "value",
7685
8401
  "description": "The tags, as an array of strings or `{ text, color }` objects. Set it as a property from script, or\nas a JSON array in the attribute, which follows the tags as they change.",
@@ -7706,9 +8422,9 @@
7706
8422
  },
7707
8423
  {
7708
8424
  "name": "placeholder",
7709
- "description": "Hint in the entry field. Defaults to `Add tag...`.",
8425
+ "description": "Hint in the entry field. Defaults to the `tagsInput.placeholder` message (English: `Add tag...`).",
7710
8426
  "type": "string",
7711
- "default": "'Add tag...'"
8427
+ "default": "''"
7712
8428
  },
7713
8429
  {
7714
8430
  "name": "size",
@@ -8162,6 +8878,15 @@
8162
8878
  "symbol": "VoidToggle"
8163
8879
  },
8164
8880
  "attributes": [
8881
+ {
8882
+ "name": "keys",
8883
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
8884
+ "default": "null",
8885
+ "value": {
8886
+ "kind": "plain",
8887
+ "type": "KeyOverrides | null"
8888
+ }
8889
+ },
8165
8890
  {
8166
8891
  "name": "pressed",
8167
8892
  "description": "Whether the toggle is on. It flips on click, Enter or Space and fires `void-change` with\n`{ value, pressed }`. Exposed as `aria-pressed`.",
@@ -8219,6 +8944,12 @@
8219
8944
  ],
8220
8945
  "js": {
8221
8946
  "properties": [
8947
+ {
8948
+ "name": "keys",
8949
+ "description": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.",
8950
+ "type": "KeyOverrides | null",
8951
+ "default": "null"
8952
+ },
8222
8953
  {
8223
8954
  "name": "pressed",
8224
8955
  "description": "Whether the toggle is on. It flips on click, Enter or Space and fires `void-change` with\n`{ value, pressed }`. Exposed as `aria-pressed`.",
@@ -8272,6 +9003,15 @@
8272
9003
  "symbol": "VoidToggleGroup"
8273
9004
  },
8274
9005
  "attributes": [
9006
+ {
9007
+ "name": "keys",
9008
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
9009
+ "default": "null",
9010
+ "value": {
9011
+ "kind": "plain",
9012
+ "type": "KeyOverrides | null"
9013
+ }
9014
+ },
8275
9015
  {
8276
9016
  "name": "value",
8277
9017
  "description": "Comma-separated `value`s of the pressed toggles (`bold,italic`), or the single pressed value. Reflected to the\nattribute as the pressed toggles change; the form's reset target stays the state it started with. Without it (or with an empty one) the\ntoggles that carry `pressed` in the markup set the initial value (the first of them unless\n`multiple`); a non-empty `value` wins over their `pressed`.",
@@ -8347,6 +9087,12 @@
8347
9087
  ],
8348
9088
  "js": {
8349
9089
  "properties": [
9090
+ {
9091
+ "name": "keys",
9092
+ "description": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.",
9093
+ "type": "KeyOverrides | null",
9094
+ "default": "null"
9095
+ },
8350
9096
  {
8351
9097
  "name": "value",
8352
9098
  "description": "Comma-separated `value`s of the pressed toggles (`bold,italic`), or the single pressed value. Reflected to the\nattribute as the pressed toggles change; the form's reset target stays the state it started with. Without it (or with an empty one) the\ntoggles that carry `pressed` in the markup set the initial value (the first of them unless\n`multiple`); a non-empty `value` wins over their `pressed`.",
@@ -8412,6 +9158,15 @@
8412
9158
  "symbol": "VoidTooltip"
8413
9159
  },
8414
9160
  "attributes": [
9161
+ {
9162
+ "name": "keys",
9163
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
9164
+ "default": "null",
9165
+ "value": {
9166
+ "kind": "plain",
9167
+ "type": "KeyOverrides | null"
9168
+ }
9169
+ },
8415
9170
  {
8416
9171
  "name": "side",
8417
9172
  "description": "Side of the trigger the tooltip appears on; it flips to the opposite side when there is no room.",
@@ -8451,6 +9206,12 @@
8451
9206
  ],
8452
9207
  "js": {
8453
9208
  "properties": [
9209
+ {
9210
+ "name": "keys",
9211
+ "description": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.",
9212
+ "type": "KeyOverrides | null",
9213
+ "default": "null"
9214
+ },
8454
9215
  {
8455
9216
  "name": "side",
8456
9217
  "description": "Side of the trigger the tooltip appears on; it flips to the opposite side when there is no room.",