@voidable/ui 0.11.0 → 0.12.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 (151) hide show
  1. package/dist/angular/index.d.ts +2 -2
  2. package/dist/angular/index.js +2 -1
  3. package/dist/chunks/activation-B8aBarKd.js +4 -0
  4. package/dist/chunks/carousel-C9u0bg5l.js +10 -0
  5. package/dist/chunks/choice-BTrsi7OW.js +16 -0
  6. package/dist/chunks/data-Baycjoo4.js +96 -0
  7. package/dist/chunks/fields-MEqz-olE.js +21 -0
  8. package/dist/chunks/{form-control-C0vH6gii.js → form-control-fL-Hhy91.js} +49 -48
  9. package/dist/chunks/{keyboard-CEhMSkws.js → keyboard-ChtDvhB_.js} +4 -23
  10. package/dist/chunks/{keyboard-activation-CV0m4hkn.js → keyboard-activation-BfEyoaMT.js} +4 -6
  11. package/dist/chunks/menu-CxRRgkJI.js +21 -0
  12. package/dist/chunks/{modal-DWGkNdNG.js → modal-Cz2-Ov76.js} +23 -15
  13. package/dist/chunks/nav-menu-Bx284Dk6.js +12 -0
  14. package/dist/chunks/{overlay-CH7L4N-h.js → overlay-BuV-4Yvt.js} +75 -68
  15. package/dist/chunks/overlay-K1ilWC1p.js +4 -0
  16. package/dist/chunks/pickers-CjlFgNke.js +36 -0
  17. package/dist/chunks/table-BBpqwWEi.js +4 -0
  18. package/dist/chunks/tabs-Buf3EBWq.js +10 -0
  19. package/dist/components/accordion.d.ts +7 -0
  20. package/dist/components/accordion.js +22 -14
  21. package/dist/components/action-input.d.ts +2 -1
  22. package/dist/components/action-input.js +59 -55
  23. package/dist/components/bar-chart.js +41 -40
  24. package/dist/components/breadcrumbs.d.ts +2 -0
  25. package/dist/components/breadcrumbs.js +15 -11
  26. package/dist/components/button.d.ts +7 -0
  27. package/dist/components/button.js +23 -16
  28. package/dist/components/calendar.d.ts +45 -10
  29. package/dist/components/calendar.js +183 -129
  30. package/dist/components/carousel.d.ts +22 -0
  31. package/dist/components/carousel.js +64 -35
  32. package/dist/components/charts/data.d.ts +2 -2
  33. package/dist/components/checkbox-group.js +22 -21
  34. package/dist/components/checkbox.d.ts +7 -0
  35. package/dist/components/checkbox.js +29 -24
  36. package/dist/components/collapsible.d.ts +7 -0
  37. package/dist/components/collapsible.js +19 -11
  38. package/dist/components/color-picker.js +28 -27
  39. package/dist/components/combobox.d.ts +13 -1
  40. package/dist/components/combobox.js +54 -41
  41. package/dist/components/compose-input.d.ts +9 -1
  42. package/dist/components/compose-input.js +28 -16
  43. package/dist/components/dialog.js +1 -1
  44. package/dist/components/donut-chart.js +57 -56
  45. package/dist/components/drawer.js +1 -1
  46. package/dist/components/dropdown-menu.d.ts +22 -0
  47. package/dist/components/dropdown-menu.js +54 -39
  48. package/dist/components/editable.d.ts +11 -1
  49. package/dist/components/editable.js +35 -22
  50. package/dist/components/error-fallback.d.ts +4 -2
  51. package/dist/components/error-fallback.js +34 -28
  52. package/dist/components/file-upload.d.ts +9 -0
  53. package/dist/components/file-upload.js +54 -28
  54. package/dist/components/gauge.js +108 -107
  55. package/dist/components/hamburger.d.ts +7 -0
  56. package/dist/components/hamburger.js +28 -19
  57. package/dist/components/hover-card.d.ts +7 -0
  58. package/dist/components/hover-card.js +22 -14
  59. package/dist/components/indicator.js +15 -14
  60. package/dist/components/input.js +1 -1
  61. package/dist/components/line-chart.js +43 -42
  62. package/dist/components/menu.d.ts +25 -0
  63. package/dist/components/menu.js +55 -33
  64. package/dist/components/multiselect.d.ts +17 -1
  65. package/dist/components/multiselect.js +96 -74
  66. package/dist/components/nav-menu.d.ts +9 -0
  67. package/dist/components/nav-menu.js +30 -23
  68. package/dist/components/number-input.d.ts +15 -1
  69. package/dist/components/number-input.js +71 -37
  70. package/dist/components/pagination.js +25 -24
  71. package/dist/components/pin-input.d.ts +11 -0
  72. package/dist/components/pin-input.js +46 -32
  73. package/dist/components/popover.d.ts +7 -0
  74. package/dist/components/popover.js +21 -13
  75. package/dist/components/radio-group.js +1 -1
  76. package/dist/components/radio.d.ts +10 -1
  77. package/dist/components/radio.js +37 -32
  78. package/dist/components/segmented-control.d.ts +14 -0
  79. package/dist/components/segmented-control.js +40 -28
  80. package/dist/components/sidebar.d.ts +1 -0
  81. package/dist/components/sidebar.js +14 -10
  82. package/dist/components/slider.js +1 -1
  83. package/dist/components/spinner.d.ts +5 -3
  84. package/dist/components/spinner.js +21 -14
  85. package/dist/components/stat.js +1 -1
  86. package/dist/components/status-dot.d.ts +2 -2
  87. package/dist/components/status-dot.js +12 -14
  88. package/dist/components/stepper.d.ts +2 -0
  89. package/dist/components/stepper.js +20 -13
  90. package/dist/components/switch.d.ts +7 -0
  91. package/dist/components/switch.js +24 -16
  92. package/dist/components/table.d.ts +77 -1
  93. package/dist/components/table.js +562 -73
  94. package/dist/components/tabs.d.ts +11 -0
  95. package/dist/components/tabs.js +42 -33
  96. package/dist/components/tag.js +12 -11
  97. package/dist/components/tags-input.d.ts +10 -1
  98. package/dist/components/tags-input.js +42 -30
  99. package/dist/components/textarea.js +1 -1
  100. package/dist/components/toast.d.ts +2 -0
  101. package/dist/components/toast.js +35 -28
  102. package/dist/components/toggle-group.d.ts +8 -0
  103. package/dist/components/toggle-group.js +24 -17
  104. package/dist/components/toggle.d.ts +7 -0
  105. package/dist/components/toggle.js +23 -15
  106. package/dist/components/tooltip.d.ts +7 -0
  107. package/dist/components/tooltip.js +20 -12
  108. package/dist/components.json +96 -74
  109. package/dist/custom-elements.json +4213 -131
  110. package/dist/dev/rules.d.ts +0 -1
  111. package/dist/dev/types.d.ts +3 -1
  112. package/dist/dev.js +244 -113
  113. package/dist/index.d.ts +4 -0
  114. package/dist/index.js +68 -66
  115. package/dist/keyboard-activation.d.ts +9 -9
  116. package/dist/keyboard.d.ts +2 -10
  117. package/dist/keymaps/activation.d.ts +8 -0
  118. package/dist/keymaps/carousel.d.ts +9 -0
  119. package/dist/keymaps/choice.d.ts +21 -0
  120. package/dist/keymaps/fields.d.ts +31 -0
  121. package/dist/keymaps/index.d.ts +2 -0
  122. package/dist/keymaps/menu.d.ts +36 -0
  123. package/dist/keymaps/nav-menu.d.ts +11 -0
  124. package/dist/keymaps/overlay.d.ts +4 -0
  125. package/dist/keymaps/pickers.d.ts +36 -0
  126. package/dist/keymaps/table.d.ts +8 -0
  127. package/dist/keymaps/tabs.d.ts +7 -0
  128. package/dist/keymaps.js +51 -0
  129. package/dist/keys.d.ts +46 -0
  130. package/dist/keys.js +57 -0
  131. package/dist/llms.txt +11 -3
  132. package/dist/messages/ar.d.ts +1 -0
  133. package/dist/messages/ar.js +130 -0
  134. package/dist/messages/fr.d.ts +1 -0
  135. package/dist/messages/fr.js +109 -0
  136. package/dist/messages.d.ts +213 -0
  137. package/dist/messages.js +190 -0
  138. package/dist/modal.d.ts +7 -0
  139. package/dist/reference.md +817 -17
  140. package/dist/testing/index.d.ts +46 -0
  141. package/dist/testing.js +79 -0
  142. package/dist/types/elements.d.ts +89 -73
  143. package/dist/types/react.d.ts +5 -1
  144. package/dist/types/solid.d.ts +5 -1
  145. package/dist/types/solid2.d.ts +4 -0
  146. package/dist/types/svelte.d.ts +5 -1
  147. package/dist/types/vue.d.ts +5 -1
  148. package/dist/vscode.html-custom-data.json +384 -18
  149. package/dist/web-types.json +830 -69
  150. package/package.json +22 -2
  151. package/dist/chunks/data-BpiiNapL.js +0 -95
@@ -34,6 +34,13 @@
34
34
  "value": "One collapsible item of a `<void-accordion>`: a `<void-accordion-trigger>` followed by a\n`<void-accordion-content>`. The trigger becomes the button that toggles the item (`role=\"button\"`, a tab stop,\nEnter and Space, `aria-expanded`, `aria-controls`); the content is the region it names. Closed content is hidden\nby the theme from the item's `open` attribute, before the script loads as well, and opens and closes with a height\nanimation (a grid row, no measuring; off under `prefers-reduced-motion` and when `--void-anim-scale` is 0). Where the\nbrowser supports `hidden=\"until-found\"` the closed content carries it, so it is out of the accessibility tree and\nfind-in-page opens the item when it finds text inside.\n\nEvents: `void-close`, `void-open`"
35
35
  },
36
36
  "attributes": [
37
+ {
38
+ "name": "keys",
39
+ "description": {
40
+ "kind": "markdown",
41
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
42
+ }
43
+ },
37
44
  {
38
45
  "name": "open",
39
46
  "description": {
@@ -327,7 +334,7 @@
327
334
  "name": "action-label",
328
335
  "description": {
329
336
  "kind": "markdown",
330
- "value": "Accessible name of the button and its tooltip. Defaults to `Action`; say what it does (`Copy link`).\n\nType: `string`\n\nDefault: `'Action'`"
337
+ "value": "Accessible name of the button and its tooltip. Defaults to the `actionInput.action` message (English: `Action`); say what it does (`Copy link`).\n\nType: `string`\n\nDefault: `''`"
331
338
  }
332
339
  },
333
340
  {
@@ -778,6 +785,13 @@
778
785
  "value": "Action trigger for forms, dialogs, and toolbars; supports semantic color variants.\n\nHolding a link or a native button (`<void-button><a href=\"/docs\">Docs</a></void-button>`) makes it a link\nbutton: the inner element is then the one control, so the host is presentational (no role, no tab stop, no key\nhandling) and the theme draws the button's focus ring when the inner element has focus. `disabled` on a link\nbutton sets `aria-disabled=\"true\"` and `tabindex=\"-1\"` on the link and stops it navigating (a link cannot be\ndisabled); on an inner `<button>` it disables that button.\n\nEvents: `void-click`"
779
786
  },
780
787
  "attributes": [
788
+ {
789
+ "name": "keys",
790
+ "description": {
791
+ "kind": "markdown",
792
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
793
+ }
794
+ },
781
795
  {
782
796
  "name": "variant",
783
797
  "description": {
@@ -882,6 +896,13 @@
882
896
  "value": "Date selection for booking flows, scheduling UIs, and form fields with locale-aware formatting and min/max constraints.\n\nEvents: `void-change`"
883
897
  },
884
898
  "attributes": [
899
+ {
900
+ "name": "keys",
901
+ "description": {
902
+ "kind": "markdown",
903
+ "value": "Key bindings for this element's actions, as JSON (`{\"nextWeek\":[\"ArrowDown\",\"j\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
904
+ }
905
+ },
885
906
  {
886
907
  "name": "value",
887
908
  "description": {
@@ -933,14 +954,14 @@
933
954
  "name": "locale",
934
955
  "description": {
935
956
  "kind": "markdown",
936
- "value": "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`.\n\nType: `string`\n\nDefault: `'en-US'`"
957
+ "value": "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.\n\nType: `string`\n\nDefault: `''`"
937
958
  }
938
959
  },
939
960
  {
940
961
  "name": "first-day",
941
962
  "description": {
942
963
  "kind": "markdown",
943
- "value": "Day the week starts on, as a number from 0 (Sunday, the default) to 6 (Saturday). Use 1 for Monday.\n\nType: `number`\n\nDefault: `0`"
964
+ "value": "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.\n\nType: `number | null`\n\nDefault: `null`"
944
965
  }
945
966
  },
946
967
  {
@@ -1063,6 +1084,13 @@
1063
1084
  "value": "Scrollable content gallery for product photo viewers, onboarding flows, and featured content sliders.\n\nIts regions are parts, in this order: the `<void-carousel-content>` holding the `<void-carousel-item>`s (the\nslides), then the optional controls: `<void-carousel-previous>` and `<void-carousel-next>` (arrows) and\n`<void-carousel-indicators>` (a row of dots). A control is shown when you write it and absent when you do not.\nThe component moves nothing: the content and the items are CSS-only parts the theme slides with a custom\nproperty, and the dots are the only nodes it creates, inside your empty `<void-carousel-indicators>`.\n\nEvents: `void-change`"
1064
1085
  },
1065
1086
  "attributes": [
1087
+ {
1088
+ "name": "keys",
1089
+ "description": {
1090
+ "kind": "markdown",
1091
+ "value": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1092
+ }
1093
+ },
1066
1094
  {
1067
1095
  "name": "index",
1068
1096
  "description": {
@@ -1167,7 +1195,15 @@
1167
1195
  "kind": "markdown",
1168
1196
  "value": "Next-slide control of a `<void-carousel>`: a button the theme draws as an arrow over the slides. Write it as an\nempty element with an `aria-label` (\"Next slide\"); any content you put inside replaces the arrow. It is\naria-disabled on the last slide unless the carousel has `loop`."
1169
1197
  },
1170
- "attributes": []
1198
+ "attributes": [
1199
+ {
1200
+ "name": "keys",
1201
+ "description": {
1202
+ "kind": "markdown",
1203
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1204
+ }
1205
+ }
1206
+ ]
1171
1207
  },
1172
1208
  {
1173
1209
  "name": "void-carousel-previous",
@@ -1175,7 +1211,15 @@
1175
1211
  "kind": "markdown",
1176
1212
  "value": "Previous-slide control of a `<void-carousel>`: a button the theme draws as an arrow over the slides. Write it\nas an empty element with an `aria-label` (\"Previous slide\"); any content you put inside replaces the arrow.\nIt is aria-disabled on the first slide unless the carousel has `loop`."
1177
1213
  },
1178
- "attributes": []
1214
+ "attributes": [
1215
+ {
1216
+ "name": "keys",
1217
+ "description": {
1218
+ "kind": "markdown",
1219
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1220
+ }
1221
+ }
1222
+ ]
1179
1223
  },
1180
1224
  {
1181
1225
  "name": "void-checkbox",
@@ -1184,6 +1228,13 @@
1184
1228
  "value": "Binary or indeterminate selection for form fields, data table row selection, and toggle-able settings.\n\nEvents: `void-change`"
1185
1229
  },
1186
1230
  "attributes": [
1231
+ {
1232
+ "name": "keys",
1233
+ "description": {
1234
+ "kind": "markdown",
1235
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Space\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1236
+ }
1237
+ },
1187
1238
  {
1188
1239
  "name": "checked",
1189
1240
  "description": {
@@ -1365,6 +1416,13 @@
1365
1416
  "value": "Simple expand/collapse panel for FAQ sections, spoiler text, and progressive disclosure of secondary content.\n\nWritten as two parts: a `<void-collapsible-trigger>` (the heading text that toggles it) followed by a\n`<void-collapsible-content>`. Both are written by the author and never moved. The trigger becomes the button\n(`role=\"button\"`, a tab stop, Enter and Space, `aria-expanded`, `aria-controls`); the content is the region it\nnames. Closed content is hidden by the theme from the host's `open` attribute, before the script loads as well, and\nopens and closes with a height animation (a grid row, no measuring; off under `prefers-reduced-motion` and when\n`--void-anim-scale` is 0). Where the browser supports `hidden=\"until-found\"` the closed content carries it, so it is\nout of the accessibility tree and find-in-page opens the panel when it finds text inside.\n\nEvents: `void-close`, `void-open`"
1366
1417
  },
1367
1418
  "attributes": [
1419
+ {
1420
+ "name": "keys",
1421
+ "description": {
1422
+ "kind": "markdown",
1423
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1424
+ }
1425
+ },
1368
1426
  {
1369
1427
  "name": "open",
1370
1428
  "description": {
@@ -1494,6 +1552,13 @@
1494
1552
  "value": "Filterable dropdown for long option lists like country selectors, user assignment fields, and tag pickers.\n\nOne part, `<void-combobox-content>`, holding the `<void-option>`s: it is the list (`role=\"listbox\"`) shown in the\ntop layer under the field. The component renders the text field itself (after the content part) and never\nmoves, copies or wraps the options: each `<void-option>` is the `role=\"option\"` the browser and assistive\ntechnology see.\n\nFollows the WAI-ARIA \"editable combobox with list autocomplete\" pattern (manual selection): the rendered input\ncarries `role=\"combobox\"` and keeps DOM focus; the highlighted option is exposed with `aria-activedescendant`\nand drawn with the `active` attribute; the chosen option has `aria-selected=\"true\"`.\n\nKeyboard (focus in the input): ArrowDown opens the list and highlights the chosen option, else the first one\n(open: the next option, wrapping); ArrowUp the same towards the last; Alt+ArrowDown opens it without\nhighlighting; Enter chooses the highlighted option and closes the list (with nothing highlighted it closes the\nlist and lets a surrounding form submit); Escape closes the list (a second Escape reaches the surrounding\ndialog); ArrowLeft, ArrowRight, Home and End move the text cursor and take the highlight off the list; typing\nfilters the options; Tab closes the list. Disabled options are skipped.\n\nThe list is shown in the top layer (never clipped by an `overflow` or `transform` ancestor) and placed under the\ninput with CSS anchor positioning, flipping above it near the bottom of the viewport. A press outside closes it\ntoo; focus stays in the input.\n\nEvents: `void-change`, `void-open`, `void-close`"
1495
1553
  },
1496
1554
  "attributes": [
1555
+ {
1556
+ "name": "keys",
1557
+ "description": {
1558
+ "kind": "markdown",
1559
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1560
+ }
1561
+ },
1497
1562
  {
1498
1563
  "name": "value",
1499
1564
  "description": {
@@ -1505,7 +1570,7 @@
1505
1570
  "name": "placeholder",
1506
1571
  "description": {
1507
1572
  "kind": "markdown",
1508
- "value": "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.\n\nType: `string`\n\nDefault: `'Search...'`"
1573
+ "value": "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.\n\nType: `string`\n\nDefault: `''`"
1509
1574
  }
1510
1575
  },
1511
1576
  {
@@ -1590,6 +1655,13 @@
1590
1655
  "value": "Rich text entry area for messaging UIs, comment boxes, and social post composers.\n\nEvents: `void-input`, `void-submit`"
1591
1656
  },
1592
1657
  "attributes": [
1658
+ {
1659
+ "name": "keys",
1660
+ "description": {
1661
+ "kind": "markdown",
1662
+ "value": "Key bindings for this element's actions, as JSON (`{\"send\":[\"Control+Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1663
+ }
1664
+ },
1593
1665
  {
1594
1666
  "name": "value",
1595
1667
  "description": {
@@ -1601,7 +1673,7 @@
1601
1673
  "name": "placeholder",
1602
1674
  "description": {
1603
1675
  "kind": "markdown",
1604
- "value": "Hint shown while the box is empty. Defaults to `Type a message...`.\n\nType: `string`\n\nDefault: `'Type a message...'`\n\nReflected to the attribute."
1676
+ "value": "Hint shown while the box is empty. Defaults to the `composeInput.placeholder` message (English: `Type a message...`).\n\nType: `string`\n\nDefault: `''`\n\nReflected to the attribute."
1605
1677
  }
1606
1678
  },
1607
1679
  {
@@ -1628,6 +1700,13 @@
1628
1700
  "value": "Input-anchored date picker that combines a text field with a VoidCalendar dropdown for form date selection.\n\nThe calendar opens in a non-modal popup dialog in the top layer, placed under the input with CSS anchor\npositioning (flipping above near the bottom of the viewport). A click on the field opens it and leaves focus\nin the field (ArrowDown then moves into the calendar); the calendar button, Enter, Space or ArrowDown on the\nfield open it with focus on the selected (or current) day. Choosing a day, Escape, or a press outside closes\nit and focus returns to the input.\n\nThe field also takes a typed date, in `format` or as ISO `YYYY-MM-DD`: it is read when the field loses focus\nand on Enter, the calendar follows, and `void-change` fires once with the ISO value. A date that is not a date,\nor is before `min` or after `max`, is refused: the text stays for correction, `error` explains it, the field\nis `aria-invalid` and described by the message, and the form is not submitted (`badInput`, `rangeUnderflow` or\n`rangeOverflow`). An empty field clears the value.\n\nEvents: `void-change`, `void-open`, `void-close`"
1629
1701
  },
1630
1702
  "attributes": [
1703
+ {
1704
+ "name": "keys",
1705
+ "description": {
1706
+ "kind": "markdown",
1707
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1708
+ }
1709
+ },
1631
1710
  {
1632
1711
  "name": "value",
1633
1712
  "description": {
@@ -1679,14 +1758,14 @@
1679
1758
  "name": "locale",
1680
1759
  "description": {
1681
1760
  "kind": "markdown",
1682
- "value": "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`.\n\nType: `string`\n\nDefault: `'en-US'`"
1761
+ "value": "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`.\n\nType: `string`\n\nDefault: `''`"
1683
1762
  }
1684
1763
  },
1685
1764
  {
1686
1765
  "name": "first-day",
1687
1766
  "description": {
1688
1767
  "kind": "markdown",
1689
- "value": "Day the calendar week starts on, as a number from 0 (Sunday, the default) to 6 (Saturday).\n\nType: `number`\n\nDefault: `0`"
1768
+ "value": "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.\n\nType: `number | null`\n\nDefault: `null`"
1690
1769
  }
1691
1770
  },
1692
1771
  {
@@ -1701,7 +1780,7 @@
1701
1780
  "name": "placeholder",
1702
1781
  "description": {
1703
1782
  "kind": "markdown",
1704
- "value": "Hint shown in the field while no date is chosen. Defaults to `Select date`.\n\nType: `string`\n\nDefault: `'Select date'`"
1783
+ "value": "Hint shown in the field while no date is chosen. Defaults to the `datePicker.placeholder` message (English: `Select date`).\n\nType: `string`\n\nDefault: `''`"
1705
1784
  }
1706
1785
  },
1707
1786
  {
@@ -1800,6 +1879,13 @@
1800
1879
  }
1801
1880
  ]
1802
1881
  },
1882
+ {
1883
+ "name": "keys",
1884
+ "description": {
1885
+ "kind": "markdown",
1886
+ "value": "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.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
1887
+ }
1888
+ },
1803
1889
  {
1804
1890
  "name": "open",
1805
1891
  "description": {
@@ -2026,6 +2112,13 @@
2026
2112
  }
2027
2113
  ]
2028
2114
  },
2115
+ {
2116
+ "name": "keys",
2117
+ "description": {
2118
+ "kind": "markdown",
2119
+ "value": "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.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2120
+ }
2121
+ },
2029
2122
  {
2030
2123
  "name": "open",
2031
2124
  "description": {
@@ -2083,6 +2176,13 @@
2083
2176
  "value": "Trigger-anchored action menu for table row actions, toolbar overflow menus, and context menus.\n\nTwo parts: `<void-dropdown-menu-trigger>` around the control that opens the menu (one element: a\n`<void-button>`, a `<button>`), and `<void-dropdown-menu-content>` holding the `<void-dropdown-menu-item>`s\n(and `<void-dropdown-menu-separator>`s between groups). The parts are the final DOM.\n\nFollows the WAI-ARIA menu button pattern: the trigger gets `aria-haspopup=\"menu\"`, `aria-expanded` and\n`aria-controls`; the panel is a `role=\"menu\"` of `menuitem`s that take focus one at a time. Keyboard on the\ntrigger: Enter, Space and ArrowDown open the menu and focus the first item, ArrowUp opens it and focuses the\nlast item. In the menu: ArrowDown and ArrowUp move between items (wrapping, skipping disabled ones), Home\nand End jump to the first and last, typing characters jumps to the next item starting with them, Enter or\nSpace activate the item. Choosing an item closes the menu and returns focus to the trigger (add `keep-open`\nto an item, for example a checkbox-style toggle, to keep it open); Escape closes it and returns focus to the\ntrigger; Tab or a press outside closes it. The panel is shown in the top layer and placed with CSS anchor\npositioning, flipping at viewport edges.\n\nEvents: `void-open`, `void-close`, `void-select`"
2084
2177
  },
2085
2178
  "attributes": [
2179
+ {
2180
+ "name": "keys",
2181
+ "description": {
2182
+ "kind": "markdown",
2183
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2184
+ }
2185
+ },
2086
2186
  {
2087
2187
  "name": "open",
2088
2188
  "description": {
@@ -2147,6 +2247,13 @@
2147
2247
  "value": "An item of a `<void-dropdown-menu>`, inside its `<void-dropdown-menu-content>`. Choosing it (click, Enter or\nSpace) dispatches `void-select` and closes the menu, unless it has `keep-open`.\n\nEvents: `void-select`"
2148
2248
  },
2149
2249
  "attributes": [
2250
+ {
2251
+ "name": "keys",
2252
+ "description": {
2253
+ "kind": "markdown",
2254
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2255
+ }
2256
+ },
2150
2257
  {
2151
2258
  "name": "value",
2152
2259
  "description": {
@@ -2203,6 +2310,13 @@
2203
2310
  "value": "Inline editable text for renaming items, editing headings, and click-to-edit table cells.\n\nForms submit the committed `value`, never text still being edited. With\n`submit-mode=\"enter\"` only Enter commits: leaving the field (blur, including\nclicking a submit button) cancels the edit by design, so the form submits\nthe previous value. Use `both` (default) or `blur` to commit on blur.\n\nEvents: `void-change`, `void-cancel`, `void-input`"
2204
2311
  },
2205
2312
  "attributes": [
2313
+ {
2314
+ "name": "keys",
2315
+ "description": {
2316
+ "kind": "markdown",
2317
+ "value": "Key bindings for this element's actions, as JSON (`{\"cancel\":[]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2318
+ }
2319
+ },
2206
2320
  {
2207
2321
  "name": "value",
2208
2322
  "description": {
@@ -2230,7 +2344,7 @@
2230
2344
  "name": "placeholder",
2231
2345
  "description": {
2232
2346
  "kind": "markdown",
2233
- "value": "Text shown while the value is empty and the field is not being edited. Defaults to `Click to edit`.\n\nType: `string`\n\nDefault: `'Click to edit'`"
2347
+ "value": "Text shown while the value is empty and the field is not being edited. Defaults to the `editable.placeholder` message (English: `Click to edit`).\n\nType: `string`\n\nDefault: `''`"
2234
2348
  }
2235
2349
  },
2236
2350
  {
@@ -2297,7 +2411,7 @@
2297
2411
  "name": "heading",
2298
2412
  "description": {
2299
2413
  "kind": "markdown",
2300
- "value": "Headline of the built-in default. Defaults to `Something went wrong`. Ignored when the author writes parts.\n\nType: `string`\n\nDefault: `'Something went wrong'`"
2414
+ "value": "Headline of the built-in default. Defaults to the `errorFallback.heading` message (English: `Something went wrong`). Ignored when the author writes parts.\n\nType: `string`\n\nDefault: `''`"
2301
2415
  }
2302
2416
  },
2303
2417
  {
@@ -2319,7 +2433,7 @@
2319
2433
  "name": "retry-label",
2320
2434
  "description": {
2321
2435
  "kind": "markdown",
2322
- "value": "Text of the built-in retry button. Defaults to `Try again`. Only used with `retryable`.\n\nType: `string`\n\nDefault: `'Try again'`"
2436
+ "value": "Text of the built-in retry button. Defaults to the `errorFallback.retry` message (English: `Try again`). Only used with `retryable`.\n\nType: `string`\n\nDefault: `''`"
2323
2437
  }
2324
2438
  },
2325
2439
  {
@@ -2401,6 +2515,13 @@
2401
2515
  "value": "Drag-and-drop file picker for document uploads, image attachment flows, and import wizards.\n\nEvents: `void-reject`, `void-change`"
2402
2516
  },
2403
2517
  "attributes": [
2518
+ {
2519
+ "name": "keys",
2520
+ "description": {
2521
+ "kind": "markdown",
2522
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2523
+ }
2524
+ },
2404
2525
  {
2405
2526
  "name": "accept",
2406
2527
  "description": {
@@ -2646,6 +2767,13 @@
2646
2767
  "value": "Animated open/close toggle for mobile navigation menus and collapsible sidebars.\n\nName it by what it opens: `aria-label=\"Main navigation\"` (or `aria-labelledby`). Without one it is called \"Menu\" (\"Close menu\" while open).\n\nEvents: `void-open`, `void-close`"
2647
2768
  },
2648
2769
  "attributes": [
2770
+ {
2771
+ "name": "keys",
2772
+ "description": {
2773
+ "kind": "markdown",
2774
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2775
+ }
2776
+ },
2649
2777
  {
2650
2778
  "name": "open",
2651
2779
  "description": {
@@ -2681,6 +2809,13 @@
2681
2809
  "value": "Rich content preview card that appears on hover for user profiles, link previews, and contextual information panels.\n\nTwo parts: `<void-hover-card-trigger>` around the element that shows the card (one element: a link, a\n`<void-button>`), and `<void-hover-card-content>`, the card. The parts are the final DOM. The card opens after\n`open-delay` when the pointer rests on the trigger, or at once when the trigger receives keyboard focus, and\ncloses after `close-delay` once pointer and focus have left both trigger and card, or on Escape. The card is\nsupplementary: put nothing in it that is not also reachable without it. It is shown in the top layer and placed\nwith CSS anchor positioning; while closed it is not rendered, so links inside it are neither visible nor tabbable.\n\nEvents: `void-open`, `void-close`"
2682
2810
  },
2683
2811
  "attributes": [
2812
+ {
2813
+ "name": "keys",
2814
+ "description": {
2815
+ "kind": "markdown",
2816
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
2817
+ }
2818
+ },
2684
2819
  {
2685
2820
  "name": "open",
2686
2821
  "description": {
@@ -3257,6 +3392,13 @@
3257
3392
  "value": "Always-visible menu panel for command palettes, side panels, and searchable action lists.\n\nIts regions are parts, in this order: an optional `<void-menu-search>` around one text field (present means\nthe menu is searchable), the `<void-menu-content>` holding the `<void-menu-item>`s and\n`<void-menu-group>`s, and an optional `<void-menu-empty>` shown instead of the default \"No results found\" when\na search matches nothing. The parts are the final DOM: the menu moves and renders nothing.\n\nFollows the WAI-ARIA menu pattern: the content is the `role=\"menu\"` (the host has no role, so the search\nfield is not a menu child) and the items are `menuitem`s, one tab stop at a time (roving tabindex).\nKeys are handled on the menu itself, never on the document. Keyboard: ArrowDown and ArrowUp move between\nitems (wrapping, skipping disabled and filtered-out ones; with a search field, ArrowDown from the field\ngoes to the first item and ArrowUp from the first item returns to the field), Home and End jump to\nthe first and last item, typing jumps to the next item starting with the characters (not in the search\nfield), Enter or Space activate the item (`void-select`), Escape closes the menu.\n\nEvents: `void-select`"
3258
3393
  },
3259
3394
  "attributes": [
3395
+ {
3396
+ "name": "keys",
3397
+ "description": {
3398
+ "kind": "markdown",
3399
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
3400
+ }
3401
+ },
3260
3402
  {
3261
3403
  "name": "open",
3262
3404
  "description": {
@@ -3324,6 +3466,13 @@
3324
3466
  "value": "One action in a `void-menu`: activating it (click, Enter or Space) fires `void-select` with its `value`. Its\ntext is its label; an optional `<void-menu-item-icon>` before it and `<void-menu-item-shortcut>` after it are\nCSS-only parts.\n\nEvents: `void-select`"
3325
3467
  },
3326
3468
  "attributes": [
3469
+ {
3470
+ "name": "keys",
3471
+ "description": {
3472
+ "kind": "markdown",
3473
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
3474
+ }
3475
+ },
3327
3476
  {
3328
3477
  "name": "value",
3329
3478
  "description": {
@@ -3372,11 +3521,18 @@
3372
3521
  "value": "Multi-value picker for tag selection, permission assignment, and filter fields that allow several simultaneous choices.\n\nOne part, `<void-multiselect-content>`, holding the `<void-option>`s: it is the list (`role=\"listbox\"`,\n`aria-multiselectable`) shown in the top layer under the trigger. The component renders the trigger and its\nchips itself (after the content part) and never moves, copies or wraps the options.\n\nFollows the WAI-ARIA select-only combobox pattern with a multiselectable listbox popup: the trigger is the\n`role=\"combobox\"` element and keeps DOM focus; the highlighted option is exposed with `aria-activedescendant`\nand drawn with the `active` attribute; chosen options have `aria-selected=\"true\"`. The trigger is described by\nthe number of chosen options (\"2 selected\"). The popup stays open while options are toggled.\n\nKeyboard (focus on the trigger): Enter, Space, ArrowDown and Alt+ArrowDown open the list on the first chosen\noption (else the first); ArrowUp opens it on the first option; Home and End open it on the first or last\noption; typing characters opens it on the next option starting with them. While open: ArrowDown and ArrowUp\nmove the highlight (stopping at the ends), PageDown and PageUp by ten, Home and End to the first or last option,\nEnter or Space toggle the highlighted option, typing characters jumps to the next option starting with them,\nEscape and Alt+ArrowUp close the list (a second Escape reaches the surrounding dialog), Tab closes it and moves\non. Disabled options are skipped.\n\nThe list is shown in the top layer (never clipped by an `overflow` or `transform` ancestor) and placed under the\ntrigger with CSS anchor positioning, flipping above it near the bottom of the viewport. A press outside closes\nit too.\n\nEvents: `void-change`, `void-open`, `void-close`"
3373
3522
  },
3374
3523
  "attributes": [
3524
+ {
3525
+ "name": "keys",
3526
+ "description": {
3527
+ "kind": "markdown",
3528
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
3529
+ }
3530
+ },
3375
3531
  {
3376
3532
  "name": "placeholder",
3377
3533
  "description": {
3378
3534
  "kind": "markdown",
3379
- "value": "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.\n\nType: `string`\n\nDefault: `'Select...'`"
3535
+ "value": "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.\n\nType: `string`\n\nDefault: `''`"
3380
3536
  }
3381
3537
  },
3382
3538
  {
@@ -3499,6 +3655,13 @@
3499
3655
  "value": "Horizontal navigation bar with dropdown sub-menus for site headers, application nav bars, and mega-menu layouts.\n\nA row of `<void-nav-menu-item>`s. Arrow keys move between the items' triggers, Escape closes an open panel and\nreturns focus to its trigger."
3500
3656
  },
3501
3657
  "attributes": [
3658
+ {
3659
+ "name": "keys",
3660
+ "description": {
3661
+ "kind": "markdown",
3662
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
3663
+ }
3664
+ },
3502
3665
  {
3503
3666
  "name": "orientation",
3504
3667
  "description": {
@@ -3579,6 +3742,13 @@
3579
3742
  "value": "Precise numeric entry for quantity selectors, price fields, and settings with increment/decrement controls.\nThe host has no role: the native text input is the spinbutton (it carries the value, bounds and the accessible\nname, which `<void-field>` supplies), and the stepper buttons are its own buttons.\n\nEvents: `void-change`, `void-input`"
3580
3743
  },
3581
3744
  "attributes": [
3745
+ {
3746
+ "name": "keys",
3747
+ "description": {
3748
+ "kind": "markdown",
3749
+ "value": "Key bindings for this element's actions, as JSON (`{\"increment\":[\"ArrowUp\",\"k\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
3750
+ }
3751
+ },
3582
3752
  {
3583
3753
  "name": "value",
3584
3754
  "description": {
@@ -3710,7 +3880,7 @@
3710
3880
  "name": "label",
3711
3881
  "description": {
3712
3882
  "kind": "markdown",
3713
- "value": "Accessible name of the field when it is not inside a `void-field`. Defaults to `Number input`, so\nset it.\n\nType: `string`\n\nDefault: `''`"
3883
+ "value": "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.\n\nType: `string`\n\nDefault: `''`"
3714
3884
  }
3715
3885
  },
3716
3886
  {
@@ -3911,6 +4081,13 @@
3911
4081
  "value": "Single-character input cells for OTP verification codes, PIN entry, and multi-digit confirmation fields.\n\nEvents: `void-input`, `void-complete`, `void-change`"
3912
4082
  },
3913
4083
  "attributes": [
4084
+ {
4085
+ "name": "keys",
4086
+ "description": {
4087
+ "kind": "markdown",
4088
+ "value": "Key bindings for this element's actions, as JSON (`{\"previous\":[\"ArrowLeft\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
4089
+ }
4090
+ },
3914
4091
  {
3915
4092
  "name": "length",
3916
4093
  "description": {
@@ -4045,6 +4222,13 @@
4045
4222
  "value": "Anchored overlay for contextual detail and mini-forms that need more room than a tooltip.\n\nTwo parts: `<void-popover-trigger>` around the control that toggles it (one element: a `<void-button>`, a\n`<button>`), and `<void-popover-content>`, the panel. The parts are the final DOM; the popover only adds\nbehaviour. The content is a non-modal dialog shown in the top layer (the Popover API), so no `overflow` or\n`transform` of an ancestor clips it, placed next to the trigger with CSS anchor positioning (flipping at\nviewport edges; a JavaScript positioner where anchor positioning is missing). Opening it from the trigger moves\nfocus to its first focusable element; Escape, a press outside it, or focus leaving it closes it and focus\nreturns to the trigger. The trigger's control gets `aria-haspopup=\"dialog\"`, `aria-expanded` and\n`aria-controls`, and names the content.\n\nEvents: `void-open`, `void-close`"
4046
4223
  },
4047
4224
  "attributes": [
4225
+ {
4226
+ "name": "keys",
4227
+ "description": {
4228
+ "kind": "markdown",
4229
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
4230
+ }
4231
+ },
4048
4232
  {
4049
4233
  "name": "open",
4050
4234
  "description": {
@@ -4214,6 +4398,13 @@
4214
4398
  "value": "Single mutually exclusive option for forms and surveys; typically used inside VoidRadioGroup.\n\nEvents: `void-change`"
4215
4399
  },
4216
4400
  "attributes": [
4401
+ {
4402
+ "name": "keys",
4403
+ "description": {
4404
+ "kind": "markdown",
4405
+ "value": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
4406
+ }
4407
+ },
4217
4408
  {
4218
4409
  "name": "checked",
4219
4410
  "description": {
@@ -4421,6 +4612,13 @@
4421
4612
  "value": "Mutually exclusive button group for view mode toggles, time range selectors, and compact tab-like navigation.\n\nFollows the WAI-ARIA radio group pattern: `role=\"radiogroup\"` with `role=\"radio\"` items, a single tab\nstop (roving tabindex: the checked item, or the first enabled one when nothing is checked), and\nselection that follows focus. Keyboard: Tab and Shift+Tab enter and leave the group; ArrowRight and\nArrowDown select the next item, ArrowLeft and ArrowUp the previous one (wrapping, skipping disabled\nitems; with nothing selected, the first or the last); Space selects the focused item.\n\nEvents: `void-change`"
4422
4613
  },
4423
4614
  "attributes": [
4615
+ {
4616
+ "name": "keys",
4617
+ "description": {
4618
+ "kind": "markdown",
4619
+ "value": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
4620
+ }
4621
+ },
4424
4622
  {
4425
4623
  "name": "value",
4426
4624
  "description": {
@@ -4511,6 +4709,13 @@
4511
4709
  "value": "Individual option within a VoidSegmentedControl button group."
4512
4710
  },
4513
4711
  "attributes": [
4712
+ {
4713
+ "name": "keys",
4714
+ "description": {
4715
+ "kind": "markdown",
4716
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Space\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
4717
+ }
4718
+ },
4514
4719
  {
4515
4720
  "name": "value",
4516
4721
  "description": {
@@ -4756,7 +4961,7 @@
4756
4961
  "name": "label",
4757
4962
  "description": {
4758
4963
  "kind": "markdown",
4759
- "value": "Text announced to screen readers while loading, and the spinner's accessible name. Defaults to\n`Loading`; say what is loading (`Loading orders`).\n\nType: `string`\n\nDefault: `'Loading'`\n\nReflected to the attribute."
4964
+ "value": "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`).\n\nType: `string`\n\nDefault: `''`\n\nReflected to the attribute."
4760
4965
  }
4761
4966
  }
4762
4967
  ]
@@ -4945,6 +5150,13 @@
4945
5150
  "value": "On/off toggle for feature flags, notification preferences, and settings that take immediate effect.\n\nEvents: `void-change`"
4946
5151
  },
4947
5152
  "attributes": [
5153
+ {
5154
+ "name": "keys",
5155
+ "description": {
5156
+ "kind": "markdown",
5157
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
5158
+ }
5159
+ },
4948
5160
  {
4949
5161
  "name": "checked",
4950
5162
  "description": {
@@ -5040,7 +5252,7 @@
5040
5252
  "name": "void-table",
5041
5253
  "description": {
5042
5254
  "kind": "markdown",
5043
- "value": "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."
5255
+ "value": "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.\n\nEvents: `void-change`, `void-sort`, `void-filter`"
5044
5256
  },
5045
5257
  "attributes": [
5046
5258
  {
@@ -5127,9 +5339,128 @@
5127
5339
  "kind": "markdown",
5128
5340
  "value": "Accessible name of the scroll region (default: the table's caption, then `aria-label`).\n\nType: `string | null`\n\nDefault: `null`\n\nReflected to the attribute."
5129
5341
  }
5342
+ },
5343
+ {
5344
+ "name": "sort",
5345
+ "description": {
5346
+ "kind": "markdown",
5347
+ "value": "The key (`data-key` of the header cell, else its position) of the column the rows are sorted by.\n\nType: `string | null`\n\nDefault: `null`\n\nReflected to the attribute."
5348
+ }
5349
+ },
5350
+ {
5351
+ "name": "sort-direction",
5352
+ "description": {
5353
+ "kind": "markdown",
5354
+ "value": "Direction of the sort. A `sort` without it is ascending.\n\nType: `string | null`\n\nDefault: `null`\n\nReflected to the attribute."
5355
+ }
5356
+ },
5357
+ {
5358
+ "name": "filter",
5359
+ "description": {
5360
+ "kind": "markdown",
5361
+ "value": "Hides the body rows that do not contain every whitespace-separated word, ignoring case and accents.\n\nType: `string | null`\n\nDefault: `null`\n\nReflected to the attribute."
5362
+ }
5363
+ },
5364
+ {
5365
+ "name": "filter-columns",
5366
+ "description": {
5367
+ "kind": "markdown",
5368
+ "value": "The `data-key`s (or positions), separated by spaces or commas, of the columns `filter` looks at. Default: every column.\n\nType: `string | null`\n\nDefault: `null`\n\nReflected to the attribute."
5369
+ }
5370
+ },
5371
+ {
5372
+ "name": "selectable",
5373
+ "description": {
5374
+ "kind": "markdown",
5375
+ "value": "Wires the row checkboxes. Present without a value: any number of rows; `single`: one row at a time.\n\nType: `string | null`\n\nDefault: `null`\n\nReflected to the attribute."
5376
+ }
5377
+ },
5378
+ {
5379
+ "name": "manual",
5380
+ "description": {
5381
+ "kind": "markdown",
5382
+ "value": "The server renders order, visibility, `aria-sort` and selection; the table only fires its events and updates header state.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
5383
+ },
5384
+ "valueSet": "v"
5385
+ },
5386
+ {
5387
+ "name": "total-rows",
5388
+ "description": {
5389
+ "kind": "markdown",
5390
+ "value": "How many rows there are in all, across the server's pages. Enables `<void-table-select-all>`.\n\nType: `number | null`\n\nDefault: `null`\n\nReflected to the attribute."
5391
+ }
5392
+ },
5393
+ {
5394
+ "name": "all-selected",
5395
+ "description": {
5396
+ "kind": "markdown",
5397
+ "value": "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.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
5398
+ },
5399
+ "valueSet": "v"
5400
+ },
5401
+ {
5402
+ "name": "keys",
5403
+ "description": {
5404
+ "kind": "markdown",
5405
+ "value": "Key actions (JSON): `{\"selectAll\":[\"Control+a\",\"Meta+a\"]}` turns on select-all by keyboard, which has no default key.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
5406
+ }
5407
+ },
5408
+ {
5409
+ "name": "value",
5410
+ "description": {
5411
+ "kind": "markdown",
5412
+ "value": "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.\n\nType: `string[]`\n\nDefault: `[]`\n\nReflected to the attribute."
5413
+ }
5414
+ },
5415
+ {
5416
+ "name": "required",
5417
+ "description": {
5418
+ "kind": "markdown",
5419
+ "value": "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.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
5420
+ },
5421
+ "valueSet": "v"
5422
+ },
5423
+ {
5424
+ "name": "name",
5425
+ "description": {
5426
+ "kind": "markdown",
5427
+ "value": "Key the control's value is submitted under in the form's `FormData`. Without a name the control\nsubmits nothing.\n\nType: `string`\n\nDefault: `''`\n\nReflected to the attribute."
5428
+ }
5130
5429
  }
5131
5430
  ]
5132
5431
  },
5432
+ {
5433
+ "name": "void-table-empty",
5434
+ "description": {
5435
+ "kind": "markdown",
5436
+ "value": "Shown (the component removes `hidden`) while the filter matches no row. Write it with `hidden`. A CSS-only part of <void-table>."
5437
+ },
5438
+ "attributes": []
5439
+ },
5440
+ {
5441
+ "name": "void-table-filter",
5442
+ "description": {
5443
+ "kind": "markdown",
5444
+ "value": "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>."
5445
+ },
5446
+ "attributes": []
5447
+ },
5448
+ {
5449
+ "name": "void-table-select-all",
5450
+ "description": {
5451
+ "kind": "markdown",
5452
+ "value": "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>."
5453
+ },
5454
+ "attributes": []
5455
+ },
5456
+ {
5457
+ "name": "void-table-selection",
5458
+ "description": {
5459
+ "kind": "markdown",
5460
+ "value": "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>."
5461
+ },
5462
+ "attributes": []
5463
+ },
5133
5464
  {
5134
5465
  "name": "void-tabs",
5135
5466
  "description": {
@@ -5137,6 +5468,13 @@
5137
5468
  "value": "Tabbed section navigation for settings pages, detail views, and parallel content categories.\n\nThree parts, all written by the author and never moved: `<void-tabs-list>` holding one `<void-tabs-trigger>`\nper tab (its `value` names the tab, its text is the label, `disabled` disables it), and one\n`<void-tabs-content>` per panel, matched to its trigger by `value`. Follows the WAI-ARIA tabs pattern: the list is the\n`tablist`, triggers are `tab`s and contents `tabpanel`s, wired with `aria-selected`, `aria-controls` and\n`aria-labelledby` (ids are generated only where the author gave none), and a roving tabindex (the selected tab,\nor the first enabled tab while none is selected, is the single tab stop; the visible panel is a tab stop too).\nKeyboard: ArrowRight and ArrowLeft move focus to the next and previous tab (wrapping, skipping disabled tabs),\nHome and End to the first and last, Enter or Space select the focused tab; with `activation=\"auto\"` moving focus\nselects the tab. The selected trigger and the visible content carry `active` (for the theme and for server\nmarkup that must look right before the script loads).\n\nEvents: `void-change`"
5138
5469
  },
5139
5470
  "attributes": [
5471
+ {
5472
+ "name": "keys",
5473
+ "description": {
5474
+ "kind": "markdown",
5475
+ "value": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\",\"l\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
5476
+ }
5477
+ },
5140
5478
  {
5141
5479
  "name": "value",
5142
5480
  "description": {
@@ -5318,6 +5656,13 @@
5318
5656
  "value": "Multi-tag input field for email recipients, category labels, keyword tagging, and comma-separated value entry.\n\nEvents: `void-change`"
5319
5657
  },
5320
5658
  "attributes": [
5659
+ {
5660
+ "name": "keys",
5661
+ "description": {
5662
+ "kind": "markdown",
5663
+ "value": "Key bindings for this element's actions, as JSON (`{\"add\":[\"Enter\",\";\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
5664
+ }
5665
+ },
5321
5666
  {
5322
5667
  "name": "value",
5323
5668
  "description": {
@@ -5352,7 +5697,7 @@
5352
5697
  "name": "placeholder",
5353
5698
  "description": {
5354
5699
  "kind": "markdown",
5355
- "value": "Hint in the entry field. Defaults to `Add tag...`.\n\nType: `string`\n\nDefault: `'Add tag...'`"
5700
+ "value": "Hint in the entry field. Defaults to the `tagsInput.placeholder` message (English: `Add tag...`).\n\nType: `string`\n\nDefault: `''`"
5356
5701
  }
5357
5702
  },
5358
5703
  {
@@ -5811,6 +6156,13 @@
5811
6156
  "value": "Pressable toggle button for toolbar actions and editor formatting controls with binary active/inactive state.\n\nEvents: `void-change`"
5812
6157
  },
5813
6158
  "attributes": [
6159
+ {
6160
+ "name": "keys",
6161
+ "description": {
6162
+ "kind": "markdown",
6163
+ "value": "Key bindings for this element's actions, as JSON (`{\"activate\":[\"Enter\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
6164
+ }
6165
+ },
5814
6166
  {
5815
6167
  "name": "pressed",
5816
6168
  "description": {
@@ -5909,6 +6261,13 @@
5909
6261
  "value": "Multi-button toggle set for text editor toolbars and filter chips where one or many options can be active.\n\nEvents: `void-change`"
5910
6262
  },
5911
6263
  "attributes": [
6264
+ {
6265
+ "name": "keys",
6266
+ "description": {
6267
+ "kind": "markdown",
6268
+ "value": "Key bindings for this element's actions, as JSON (`{\"next\":[\"ArrowRight\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
6269
+ }
6270
+ },
5912
6271
  {
5913
6272
  "name": "value",
5914
6273
  "description": {
@@ -6022,6 +6381,13 @@
6022
6381
  "value": "Hover hint for icon buttons and truncated text that need a label without cluttering the visible interface.\n\nTwo parts: `<void-tooltip-trigger>` around the described element (one element: a `<void-button>`, a link), and\n`<void-tooltip-content>` with the hint text. The parts are the final DOM. Follows the WAI-ARIA tooltip pattern:\nthe trigger's element is described by the content with `aria-describedby` (its own descriptions are kept), also\nwhen either part arrives after the tooltip upgraded. The content appears after `delay` on pointer hover and at\nonce on keyboard focus, never takes focus, and Escape hides it. It is shown in the top layer and placed with CSS\nanchor positioning, flipping at viewport edges.\n\nEvents: `void-open`, `void-close`"
6023
6382
  },
6024
6383
  "attributes": [
6384
+ {
6385
+ "name": "keys",
6386
+ "description": {
6387
+ "kind": "markdown",
6388
+ "value": "Key bindings for this element's actions, as JSON (`{\"close\":[\"Escape\"]}`); `[]` switches an action off. See the keyboard guide.\n\nType: `KeyOverrides | null`\n\nDefault: `null`"
6389
+ }
6390
+ },
6025
6391
  {
6026
6392
  "name": "side",
6027
6393
  "description": {