@voidable/ui 0.10.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 (177) hide show
  1. package/dist/angular/index.d.ts +2 -2
  2. package/dist/angular/index.js +2 -1
  3. package/dist/base.d.ts +6 -0
  4. package/dist/base.js +2 -2
  5. package/dist/chunks/activation-B8aBarKd.js +4 -0
  6. package/dist/chunks/{base-BxmMM3B7.js → base-BGrS4eIl.js} +9 -0
  7. package/dist/chunks/carousel-C9u0bg5l.js +10 -0
  8. package/dist/chunks/choice-BTrsi7OW.js +16 -0
  9. package/dist/chunks/data-Baycjoo4.js +96 -0
  10. package/dist/chunks/fields-MEqz-olE.js +21 -0
  11. package/dist/chunks/{form-control-C0vH6gii.js → form-control-fL-Hhy91.js} +49 -48
  12. package/dist/chunks/{keyboard-CEhMSkws.js → keyboard-ChtDvhB_.js} +4 -23
  13. package/dist/chunks/{keyboard-activation-CV0m4hkn.js → keyboard-activation-BfEyoaMT.js} +4 -6
  14. package/dist/chunks/menu-CxRRgkJI.js +21 -0
  15. package/dist/chunks/{modal-CgGp_fCs.js → modal-Cz2-Ov76.js} +24 -16
  16. package/dist/chunks/nav-menu-Bx284Dk6.js +12 -0
  17. package/dist/chunks/{overlay-hLJ7IQHx.js → overlay-BuV-4Yvt.js} +76 -69
  18. package/dist/chunks/overlay-K1ilWC1p.js +4 -0
  19. package/dist/chunks/pickers-CjlFgNke.js +36 -0
  20. package/dist/chunks/{projection-SnR79EHI.js → projection-oPe6ipjL.js} +1 -1
  21. package/dist/chunks/table-BBpqwWEi.js +4 -0
  22. package/dist/chunks/tabs-Buf3EBWq.js +10 -0
  23. package/dist/components/accordion.d.ts +7 -0
  24. package/dist/components/accordion.js +23 -15
  25. package/dist/components/action-input.d.ts +2 -1
  26. package/dist/components/action-input.js +60 -56
  27. package/dist/components/alert.d.ts +11 -0
  28. package/dist/components/alert.js +10 -3
  29. package/dist/components/avatar.js +2 -2
  30. package/dist/components/badge.d.ts +8 -2
  31. package/dist/components/badge.js +1 -4
  32. package/dist/components/banner.d.ts +9 -0
  33. package/dist/components/banner.js +10 -3
  34. package/dist/components/bar-chart.d.ts +21 -7
  35. package/dist/components/bar-chart.js +68 -45
  36. package/dist/components/breadcrumbs.d.ts +2 -0
  37. package/dist/components/breadcrumbs.js +16 -12
  38. package/dist/components/button.d.ts +7 -0
  39. package/dist/components/button.js +24 -17
  40. package/dist/components/calendar.d.ts +85 -12
  41. package/dist/components/calendar.js +263 -120
  42. package/dist/components/card.js +1 -1
  43. package/dist/components/carousel.d.ts +22 -0
  44. package/dist/components/carousel.js +66 -37
  45. package/dist/components/charts/data.d.ts +72 -0
  46. package/dist/components/checkbox-group.js +23 -22
  47. package/dist/components/checkbox.d.ts +7 -0
  48. package/dist/components/checkbox.js +30 -25
  49. package/dist/components/collapsible.d.ts +7 -0
  50. package/dist/components/collapsible.js +20 -12
  51. package/dist/components/color-picker.js +29 -28
  52. package/dist/components/combobox.d.ts +13 -1
  53. package/dist/components/combobox.js +55 -42
  54. package/dist/components/compose-input.d.ts +9 -1
  55. package/dist/components/compose-input.js +29 -17
  56. package/dist/components/dialog.js +1 -1
  57. package/dist/components/divider.js +2 -2
  58. package/dist/components/donut-chart.d.ts +22 -6
  59. package/dist/components/donut-chart.js +97 -70
  60. package/dist/components/drawer.js +1 -1
  61. package/dist/components/dropdown-menu.d.ts +22 -0
  62. package/dist/components/dropdown-menu.js +55 -40
  63. package/dist/components/editable.d.ts +11 -1
  64. package/dist/components/editable.js +36 -23
  65. package/dist/components/error-fallback.d.ts +4 -2
  66. package/dist/components/error-fallback.js +35 -29
  67. package/dist/components/field.js +2 -2
  68. package/dist/components/file-upload.d.ts +29 -5
  69. package/dist/components/file-upload.js +84 -28
  70. package/dist/components/gauge.d.ts +32 -8
  71. package/dist/components/gauge.js +206 -133
  72. package/dist/components/hamburger.d.ts +19 -1
  73. package/dist/components/hamburger.js +45 -25
  74. package/dist/components/hover-card.d.ts +7 -0
  75. package/dist/components/hover-card.js +23 -15
  76. package/dist/components/indicator.js +16 -15
  77. package/dist/components/input.js +3 -3
  78. package/dist/components/line-chart.d.ts +22 -7
  79. package/dist/components/line-chart.js +80 -57
  80. package/dist/components/list.js +1 -1
  81. package/dist/components/menu.d.ts +25 -0
  82. package/dist/components/menu.js +56 -34
  83. package/dist/components/multiselect.d.ts +17 -1
  84. package/dist/components/multiselect.js +97 -75
  85. package/dist/components/nav-bar.d.ts +9 -0
  86. package/dist/components/nav-bar.js +16 -3
  87. package/dist/components/nav-menu.d.ts +9 -0
  88. package/dist/components/nav-menu.js +31 -24
  89. package/dist/components/number-input.d.ts +15 -1
  90. package/dist/components/number-input.js +72 -38
  91. package/dist/components/pagination.js +26 -25
  92. package/dist/components/panel.js +1 -1
  93. package/dist/components/pin-input.d.ts +11 -0
  94. package/dist/components/pin-input.js +47 -33
  95. package/dist/components/popover.d.ts +7 -0
  96. package/dist/components/popover.js +22 -14
  97. package/dist/components/progress.js +2 -2
  98. package/dist/components/radio-group.js +3 -3
  99. package/dist/components/radio.d.ts +10 -1
  100. package/dist/components/radio.js +38 -33
  101. package/dist/components/scroll-area.js +2 -2
  102. package/dist/components/segmented-control.d.ts +14 -0
  103. package/dist/components/segmented-control.js +41 -29
  104. package/dist/components/select.js +2 -2
  105. package/dist/components/sidebar.d.ts +1 -0
  106. package/dist/components/sidebar.js +15 -11
  107. package/dist/components/skeleton.js +1 -1
  108. package/dist/components/slider.js +3 -3
  109. package/dist/components/spinner.d.ts +5 -3
  110. package/dist/components/spinner.js +22 -15
  111. package/dist/components/stat.d.ts +13 -1
  112. package/dist/components/stat.js +28 -20
  113. package/dist/components/status-dot.d.ts +2 -2
  114. package/dist/components/status-dot.js +13 -15
  115. package/dist/components/stepper.d.ts +2 -0
  116. package/dist/components/stepper.js +21 -14
  117. package/dist/components/switch.d.ts +7 -0
  118. package/dist/components/switch.js +25 -17
  119. package/dist/components/table.d.ts +81 -1
  120. package/dist/components/table.js +571 -69
  121. package/dist/components/tabs.d.ts +11 -0
  122. package/dist/components/tabs.js +43 -34
  123. package/dist/components/tag.js +13 -12
  124. package/dist/components/tags-input.d.ts +10 -1
  125. package/dist/components/tags-input.js +43 -31
  126. package/dist/components/textarea.js +3 -3
  127. package/dist/components/toast.d.ts +2 -0
  128. package/dist/components/toast.js +36 -29
  129. package/dist/components/toggle-group.d.ts +8 -0
  130. package/dist/components/toggle-group.js +25 -18
  131. package/dist/components/toggle.d.ts +7 -0
  132. package/dist/components/toggle.js +24 -16
  133. package/dist/components/tooltip.d.ts +7 -0
  134. package/dist/components/tooltip.js +21 -13
  135. package/dist/components.json +108 -84
  136. package/dist/custom-elements.json +4520 -236
  137. package/dist/dev/rules.d.ts +0 -1
  138. package/dist/dev/types.d.ts +5 -1
  139. package/dist/dev.js +298 -122
  140. package/dist/index.d.ts +4 -0
  141. package/dist/index.js +69 -67
  142. package/dist/keyboard-activation.d.ts +9 -9
  143. package/dist/keyboard.d.ts +2 -10
  144. package/dist/keymaps/activation.d.ts +8 -0
  145. package/dist/keymaps/carousel.d.ts +9 -0
  146. package/dist/keymaps/choice.d.ts +21 -0
  147. package/dist/keymaps/fields.d.ts +31 -0
  148. package/dist/keymaps/index.d.ts +2 -0
  149. package/dist/keymaps/menu.d.ts +36 -0
  150. package/dist/keymaps/nav-menu.d.ts +11 -0
  151. package/dist/keymaps/overlay.d.ts +4 -0
  152. package/dist/keymaps/pickers.d.ts +36 -0
  153. package/dist/keymaps/table.d.ts +8 -0
  154. package/dist/keymaps/tabs.d.ts +7 -0
  155. package/dist/keymaps.js +51 -0
  156. package/dist/keys.d.ts +46 -0
  157. package/dist/keys.js +57 -0
  158. package/dist/llms.txt +11 -3
  159. package/dist/messages/ar.d.ts +1 -0
  160. package/dist/messages/ar.js +130 -0
  161. package/dist/messages/fr.d.ts +1 -0
  162. package/dist/messages/fr.js +109 -0
  163. package/dist/messages.d.ts +213 -0
  164. package/dist/messages.js +190 -0
  165. package/dist/modal.d.ts +7 -0
  166. package/dist/reference.md +885 -60
  167. package/dist/testing/index.d.ts +46 -0
  168. package/dist/testing.js +79 -0
  169. package/dist/types/elements.d.ts +100 -84
  170. package/dist/types/react.d.ts +7 -3
  171. package/dist/types/solid.d.ts +7 -3
  172. package/dist/types/solid2.d.ts +4 -0
  173. package/dist/types/svelte.d.ts +7 -3
  174. package/dist/types/vue.d.ts +7 -3
  175. package/dist/vscode.html-custom-data.json +478 -38
  176. package/dist/web-types.json +1001 -111
  177. package/package.json +22 -2
@@ -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
  {
@@ -379,7 +386,7 @@
379
386
  "name": "void-alert",
380
387
  "description": {
381
388
  "kind": "markdown",
382
- "value": "Inline contextual message for form validation feedback, permission warnings, and system status notices.\n\nIts text is written as parts: an optional `<void-alert-title>`, the `<void-alert-description>` and an optional\n`<void-alert-close>`. The parts are never moved. The close part wraps the one control the author writes (a\n`<button type=\"button\" aria-label=\"Dismiss\">`); pressing it fires `void-close` and, unless that is cancelled, removes the alert (focus inside\nit moves on to the next focusable element). Without a close part the alert cannot be dismissed.\n\nEvents: `void-close`"
389
+ "value": "Inline contextual message for form validation feedback, permission warnings, and system status notices.\n\nIts role follows the colour: `error` and `warning` are `role=\"alert\"` (announced at once, interrupting), every\nother colour is `role=\"status\"` (announced politely). A role you write on it is kept.\n\nIts text is written as parts: an optional `<void-alert-title>`, the `<void-alert-description>` and an optional\n`<void-alert-close>`. The parts are never moved. The close part wraps the one control the author writes (a\n`<button type=\"button\" aria-label=\"Dismiss\">`); pressing it fires `void-close` and, unless that is cancelled, removes the alert (focus inside\nit moves on to the next focusable element). Without a close part the alert cannot be dismissed.\n\nEvents: `void-close`"
383
390
  },
384
391
  "attributes": [
385
392
  {
@@ -508,7 +515,7 @@
508
515
  "name": "void-badge",
509
516
  "description": {
510
517
  "kind": "markdown",
511
- "value": "Small status chip for issue trackers, tag systems, and categorization UIs where color conveys state at a glance."
518
+ "value": "Small status chip for issue trackers, tag systems, and categorization UIs where color conveys state at a glance.\n\nA badge has no role: it is text beside other text, and a screen reader reads it where it sits. It is not\na live region, because a table of status badges would announce every one as it is inserted. For the one\nbadge whose change must be heard (a count that updates while the user works), write `role=\"status\"` on it\nyourself; the component leaves it alone."
512
519
  },
513
520
  "attributes": [
514
521
  {
@@ -583,7 +590,7 @@
583
590
  "name": "void-banner",
584
591
  "description": {
585
592
  "kind": "markdown",
586
- "value": "Full-width site-level announcement for maintenance windows, cookie consent, and promotional messaging.\n\nIts text is written as parts: an optional `<void-banner-title>`, the `<void-banner-description>`, an optional\n`<void-banner-actions>` (buttons or links) and an optional `<void-banner-close>`. The parts are never moved. The\nclose part wraps the one control the author writes (a `<void-button aria-label=\"Dismiss\">`); pressing it fires\n`void-close` and removes the banner (focus inside it moves on to the next focusable element). Without a close part the banner cannot be dismissed.\n\nEvents: `void-close`"
593
+ "value": "Full-width site-level announcement for maintenance windows, cookie consent, and promotional messaging.\n\nIt never has the `banner` role: that is the page header landmark (at most one per page, never inside\n`<main>`), which an announcement is not. Like the alert it carries an announcement, so its role follows its\n`color`: `alert` for `error` and `warning`, `status` for the rest. To make it a landmark users can jump to,\nwrite `role=\"region\"` and an `aria-label`; the component leaves a role you write alone.\n\nIts text is written as parts: an optional `<void-banner-title>`, the `<void-banner-description>`, an optional\n`<void-banner-actions>` (buttons or links) and an optional `<void-banner-close>`. The parts are never moved. The\nclose part wraps the one control the author writes (a `<void-button aria-label=\"Dismiss\">`); pressing it fires\n`void-close` and removes the banner (focus inside it moves on to the next focusable element). Without a close part the banner cannot be dismissed.\n\nEvents: `void-close`"
587
594
  },
588
595
  "attributes": [
589
596
  {
@@ -672,7 +679,7 @@
672
679
  "name": "void-bar-chart",
673
680
  "description": {
674
681
  "kind": "markdown",
675
- "value": "Bar chart for comparing categories and series, drawn in SVG with animated bars. Give it `data`\n(`{ series: [{ name, values }], labels }`) from script; it has no children. The chart is an image to\nassistive technology, so set `aria-label` and state the key figures in the surrounding text."
682
+ "value": "Bar chart for comparing categories and series, drawn in SVG with animated bars. Give it `data`\n(`{ series: [{ name, values }], labels }`) as the `data` property or as JSON in the `data` attribute, so\nserver-rendered markup draws it with no script; it has no children. The drawing is hidden from assistive\ntechnology and a visually hidden data table (captioned with `aria-label`) carries the values instead; add\n`show-table` to show the table below the chart too."
676
683
  },
677
684
  "attributes": [
678
685
  {
@@ -712,15 +719,30 @@
712
719
  "name": "aria-label",
713
720
  "description": {
714
721
  "kind": "markdown",
715
- "value": "Accessible name of the chart, such as `Revenue by quarter`. The chart is an image to assistive\ntechnology, so set it and put the key figures in the text around it.\n\nType: `string`\n\nDefault: `''`"
722
+ "value": "Accessible name of the chart, such as `Revenue by quarter`; it is also the caption of the data table.\nSet it: the drawing itself is hidden from assistive technology.\n\nType: `string`\n\nDefault: `''`"
716
723
  }
717
724
  },
725
+ {
726
+ "name": "show-table",
727
+ "description": {
728
+ "kind": "markdown",
729
+ "value": "Show the data table (one row per category, one column per series) below the chart. The table is always\nthere for assistive technology; this makes it visible too.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
730
+ },
731
+ "valueSet": "v"
732
+ },
718
733
  {
719
734
  "name": "stagger",
720
735
  "description": {
721
736
  "kind": "markdown",
722
737
  "value": "Delay in milliseconds between the bars as they animate in, one after another. Without it the theme's\n`--void-stagger-chart-bars` applies; `stagger=\"0\"` animates them together.\n\nType: `number | null`\n\nDefault: `null`"
723
738
  }
739
+ },
740
+ {
741
+ "name": "data",
742
+ "description": {
743
+ "kind": "markdown",
744
+ "value": "The chart's data: `{ series: [{ name, values, color?, colors? }], labels? }`. `values` are aligned with\n`labels` (the category names along the axis); `color` colours a whole series and `colors` overrides single\nbars. Negative values are bars below a zero baseline: the value axis then spans the lowest value as\nwell, and a baseline is drawn at zero. Give it as a property (assign a new object to update the chart\nand animate to it) or as JSON in the `data` attribute: `<void-bar-chart data='{\"series\":[{\"name\":\"Sales\",\"values\":[3,5]}],\"labels\":[\"Mon\",\"Tue\"]}'>`.\nInvalid JSON draws nothing and is reported by `@voidable/ui/dev`. The property is not reflected to the\nattribute (the data can be large), and an attribute a server morph leaves unchanged does not animate again.\n\nType: `BarChartData`\n\nDefault: `{ series: [] }`"
745
+ }
724
746
  }
725
747
  ]
726
748
  },
@@ -763,6 +785,13 @@
763
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`"
764
786
  },
765
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
+ },
766
795
  {
767
796
  "name": "variant",
768
797
  "description": {
@@ -867,6 +896,13 @@
867
896
  "value": "Date selection for booking flows, scheduling UIs, and form fields with locale-aware formatting and min/max constraints.\n\nEvents: `void-change`"
868
897
  },
869
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
+ },
870
906
  {
871
907
  "name": "value",
872
908
  "description": {
@@ -918,14 +954,14 @@
918
954
  "name": "locale",
919
955
  "description": {
920
956
  "kind": "markdown",
921
- "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: `''`"
922
958
  }
923
959
  },
924
960
  {
925
961
  "name": "first-day",
926
962
  "description": {
927
963
  "kind": "markdown",
928
- "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`"
929
965
  }
930
966
  },
931
967
  {
@@ -1048,6 +1084,13 @@
1048
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`"
1049
1085
  },
1050
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
+ },
1051
1094
  {
1052
1095
  "name": "index",
1053
1096
  "description": {
@@ -1140,7 +1183,7 @@
1140
1183
  "name": "active",
1141
1184
  "description": {
1142
1185
  "kind": "markdown",
1143
- "value": "Set by <void-carousel> on the slide being shown.\n\nType: `boolean`"
1186
+ "value": "Set by the carousel on the slide being shown.\n\nType: `boolean`"
1144
1187
  },
1145
1188
  "valueSet": "v"
1146
1189
  }
@@ -1152,7 +1195,15 @@
1152
1195
  "kind": "markdown",
1153
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`."
1154
1197
  },
1155
- "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
+ ]
1156
1207
  },
1157
1208
  {
1158
1209
  "name": "void-carousel-previous",
@@ -1160,7 +1211,15 @@
1160
1211
  "kind": "markdown",
1161
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`."
1162
1213
  },
1163
- "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
+ ]
1164
1223
  },
1165
1224
  {
1166
1225
  "name": "void-checkbox",
@@ -1169,6 +1228,13 @@
1169
1228
  "value": "Binary or indeterminate selection for form fields, data table row selection, and toggle-able settings.\n\nEvents: `void-change`"
1170
1229
  },
1171
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
+ },
1172
1238
  {
1173
1239
  "name": "checked",
1174
1240
  "description": {
@@ -1350,6 +1416,13 @@
1350
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`"
1351
1417
  },
1352
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
+ },
1353
1426
  {
1354
1427
  "name": "open",
1355
1428
  "description": {
@@ -1479,6 +1552,13 @@
1479
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`"
1480
1553
  },
1481
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
+ },
1482
1562
  {
1483
1563
  "name": "value",
1484
1564
  "description": {
@@ -1490,7 +1570,7 @@
1490
1570
  "name": "placeholder",
1491
1571
  "description": {
1492
1572
  "kind": "markdown",
1493
- "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: `''`"
1494
1574
  }
1495
1575
  },
1496
1576
  {
@@ -1575,6 +1655,13 @@
1575
1655
  "value": "Rich text entry area for messaging UIs, comment boxes, and social post composers.\n\nEvents: `void-input`, `void-submit`"
1576
1656
  },
1577
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
+ },
1578
1665
  {
1579
1666
  "name": "value",
1580
1667
  "description": {
@@ -1586,7 +1673,7 @@
1586
1673
  "name": "placeholder",
1587
1674
  "description": {
1588
1675
  "kind": "markdown",
1589
- "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."
1590
1677
  }
1591
1678
  },
1592
1679
  {
@@ -1610,9 +1697,16 @@
1610
1697
  "name": "void-date-picker",
1611
1698
  "description": {
1612
1699
  "kind": "markdown",
1613
- "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\nEvents: `void-open`, `void-close`, `void-change`"
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`"
1614
1701
  },
1615
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
+ },
1616
1710
  {
1617
1711
  "name": "value",
1618
1712
  "description": {
@@ -1664,14 +1758,14 @@
1664
1758
  "name": "locale",
1665
1759
  "description": {
1666
1760
  "kind": "markdown",
1667
- "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: `''`"
1668
1762
  }
1669
1763
  },
1670
1764
  {
1671
1765
  "name": "first-day",
1672
1766
  "description": {
1673
1767
  "kind": "markdown",
1674
- "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`"
1675
1769
  }
1676
1770
  },
1677
1771
  {
@@ -1686,14 +1780,14 @@
1686
1780
  "name": "placeholder",
1687
1781
  "description": {
1688
1782
  "kind": "markdown",
1689
- "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: `''`"
1690
1784
  }
1691
1785
  },
1692
1786
  {
1693
1787
  "name": "format",
1694
1788
  "description": {
1695
1789
  "kind": "markdown",
1696
- "value": "How the chosen date is written in the field, using `YYYY`, `MM` and `DD`. Defaults to `MM/DD/YYYY`.\nDisplay only; the value stays `YYYY-MM-DD`.\n\nType: `string`\n\nDefault: `'MM/DD/YYYY'`"
1790
+ "value": "How the date is written in the field, using `YYYY`, `MM` and `DD`. Defaults to `MM/DD/YYYY`. A date\ntyped into the field is read the same way (and as ISO `YYYY-MM-DD` always); the value stays `YYYY-MM-DD`.\n\nType: `string`\n\nDefault: `'MM/DD/YYYY'`"
1697
1791
  }
1698
1792
  },
1699
1793
  {
@@ -1729,6 +1823,13 @@
1729
1823
  }
1730
1824
  ]
1731
1825
  },
1826
+ {
1827
+ "name": "error",
1828
+ "description": {
1829
+ "kind": "markdown",
1830
+ "value": "Mark the field invalid: it gets the error styling and `aria-invalid`. Set it for a server-side message;\nthe field also sets it itself, with the reason, when a typed date is not taken, and clears what it set\nonce a valid date is typed or picked. A message you set is left alone.\n\nType: `string`\n\nDefault: `''`\n\nReflected to the attribute."
1831
+ }
1832
+ },
1732
1833
  {
1733
1834
  "name": "required",
1734
1835
  "description": {
@@ -1778,6 +1879,13 @@
1778
1879
  }
1779
1880
  ]
1780
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
+ },
1781
1889
  {
1782
1890
  "name": "open",
1783
1891
  "description": {
@@ -1863,7 +1971,7 @@
1863
1971
  "name": "void-donut-chart",
1864
1972
  "description": {
1865
1973
  "kind": "markdown",
1866
- "value": "Donut chart for part-to-whole breakdowns, drawn in SVG with animated segments and an optional total in the\ncentre. Give it `data` (`{ segments: [{ name, value }] }`) from script; it has no children. The chart is an\nimage to assistive technology, so set `aria-label` and state the key figures in the surrounding text."
1974
+ "value": "Donut chart for part-to-whole breakdowns, drawn in SVG with animated segments and an optional total in the\ncentre. Give it `data` (`{ segments: [{ name, value }] }`) as the `data` property or as JSON in the `data`\nattribute, so server-rendered markup draws it with no script; it has no children. The drawing is hidden\nfrom assistive technology and a visually hidden data table (captioned with `aria-label`) carries the\nvalues instead; add `show-table` to show the table below the chart too."
1867
1975
  },
1868
1976
  "attributes": [
1869
1977
  {
@@ -1925,7 +2033,22 @@
1925
2033
  "name": "aria-label",
1926
2034
  "description": {
1927
2035
  "kind": "markdown",
1928
- "value": "Accessible name of the chart, such as `Traffic by source`. The chart is an image to assistive\ntechnology, so set it and put the key figures in the text around it.\n\nType: `string`\n\nDefault: `''`"
2036
+ "value": "Accessible name of the chart, such as `Traffic by source`; it is also the caption of the data table.\nSet it: the drawing itself is hidden from assistive technology.\n\nType: `string`\n\nDefault: `''`"
2037
+ }
2038
+ },
2039
+ {
2040
+ "name": "show-table",
2041
+ "description": {
2042
+ "kind": "markdown",
2043
+ "value": "Show the data table (one row per segment: name, value and share) below the chart. The table is always\nthere for assistive technology; this makes it visible too.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
2044
+ },
2045
+ "valueSet": "v"
2046
+ },
2047
+ {
2048
+ "name": "data",
2049
+ "description": {
2050
+ "kind": "markdown",
2051
+ "value": "The chart's data: `{ segments: [{ name, value, color? }] }`. Each segment's share of the ring is its\n`value` over the sum of all values. Give it as a property (assign a new object to update the chart and\nanimate to it) or as JSON in the `data` attribute:\n`<void-donut-chart data='{\"segments\":[{\"name\":\"Search\",\"value\":40},{\"name\":\"Direct\",\"value\":25}]}'>`.\nInvalid JSON draws nothing and is reported by `@voidable/ui/dev`. The property is not reflected to the\nattribute (the data can be large), and an attribute a server morph leaves unchanged does not animate again.\n\nType: `DonutChartData`\n\nDefault: `{ segments: [] }`"
1929
2052
  }
1930
2053
  }
1931
2054
  ]
@@ -1989,6 +2112,13 @@
1989
2112
  }
1990
2113
  ]
1991
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
+ },
1992
2122
  {
1993
2123
  "name": "open",
1994
2124
  "description": {
@@ -2046,6 +2176,13 @@
2046
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`"
2047
2177
  },
2048
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
+ },
2049
2186
  {
2050
2187
  "name": "open",
2051
2188
  "description": {
@@ -2110,6 +2247,13 @@
2110
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`"
2111
2248
  },
2112
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
+ },
2113
2257
  {
2114
2258
  "name": "value",
2115
2259
  "description": {
@@ -2166,6 +2310,13 @@
2166
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`"
2167
2311
  },
2168
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
+ },
2169
2320
  {
2170
2321
  "name": "value",
2171
2322
  "description": {
@@ -2193,7 +2344,7 @@
2193
2344
  "name": "placeholder",
2194
2345
  "description": {
2195
2346
  "kind": "markdown",
2196
- "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: `''`"
2197
2348
  }
2198
2349
  },
2199
2350
  {
@@ -2260,7 +2411,7 @@
2260
2411
  "name": "heading",
2261
2412
  "description": {
2262
2413
  "kind": "markdown",
2263
- "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: `''`"
2264
2415
  }
2265
2416
  },
2266
2417
  {
@@ -2282,7 +2433,7 @@
2282
2433
  "name": "retry-label",
2283
2434
  "description": {
2284
2435
  "kind": "markdown",
2285
- "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: `''`"
2286
2437
  }
2287
2438
  },
2288
2439
  {
@@ -2361,14 +2512,21 @@
2361
2512
  "name": "void-file-upload",
2362
2513
  "description": {
2363
2514
  "kind": "markdown",
2364
- "value": "Drag-and-drop file picker for document uploads, image attachment flows, and import wizards.\n\nEvents: `void-change`"
2515
+ "value": "Drag-and-drop file picker for document uploads, image attachment flows, and import wizards.\n\nEvents: `void-reject`, `void-change`"
2365
2516
  },
2366
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
+ },
2367
2525
  {
2368
2526
  "name": "accept",
2369
2527
  "description": {
2370
2528
  "kind": "markdown",
2371
- "value": "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 dropped without an error.\n\nType: `string`\n\nDefault: `''`"
2529
+ "value": "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.\n\nType: `string`\n\nDefault: `''`"
2372
2530
  }
2373
2531
  },
2374
2532
  {
@@ -2391,14 +2549,14 @@
2391
2549
  "name": "max-size",
2392
2550
  "description": {
2393
2551
  "kind": "markdown",
2394
- "value": "Largest allowed file in bytes. 0 (the default) means no limit. Larger files are dropped silently.\n\nType: `number`\n\nDefault: `0`"
2552
+ "value": "Largest allowed file in bytes. 0 (the default) means no limit. Larger files are rejected with reason `size`.\n\nType: `number`\n\nDefault: `0`"
2395
2553
  }
2396
2554
  },
2397
2555
  {
2398
2556
  "name": "error",
2399
2557
  "description": {
2400
2558
  "kind": "markdown",
2401
- "value": "Message shown under the zone, such as a server-side upload failure. It does not set `aria-invalid`;\nthe component never produces an error text itself.\n\nType: `string`\n\nDefault: `''`\n\nReflected to the attribute."
2559
+ "value": "Error message shown under the zone; while it is set the drop zone is `aria-invalid` and described by\nit. Set it for a server-side upload failure. The zone also sets it itself when it rejects a file\n(see `void-reject`) and clears what it set on the next accepted selection; a message you set is\nleft alone.\n\nType: `string`\n\nDefault: `''`\n\nReflected to the attribute."
2402
2560
  }
2403
2561
  },
2404
2562
  {
@@ -2575,7 +2733,29 @@
2575
2733
  "name": "aria-label",
2576
2734
  "description": {
2577
2735
  "kind": "markdown",
2578
- "value": "Accessible name of the gauge, such as `Disk usage`. The gauge is an image to assistive technology,\nso set it and put the figure in the text around it.\n\nType: `string`\n\nDefault: `''`"
2736
+ "value": "Accessible name of the gauge, such as `Disk usage`; it is also the caption of the data table.\nSet it: the drawing itself is hidden from assistive technology.\n\nType: `string`\n\nDefault: `''`"
2737
+ }
2738
+ },
2739
+ {
2740
+ "name": "show-table",
2741
+ "description": {
2742
+ "kind": "markdown",
2743
+ "value": "Show the data table (the reading with its range, or one row per segment) below the gauge. The table\nis always there for assistive technology; this makes it visible too.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
2744
+ },
2745
+ "valueSet": "v"
2746
+ },
2747
+ {
2748
+ "name": "zones",
2749
+ "description": {
2750
+ "kind": "markdown",
2751
+ "value": "Colour bands over the value range: an array of `{ from, to, color }`; the fill takes the colour of the\nzone containing the value. Give it as a property or as JSON in the `zones` attribute:\n`<void-gauge zones='[{\"from\":0,\"to\":60,\"color\":\"green\"},{\"from\":60,\"to\":100,\"color\":\"red\"}]'>`.\nInvalid JSON draws no zones and is reported by `@voidable/ui/dev`. Not reflected to the attribute.\n\nType: `GaugeZone[]`\n\nDefault: `[]`"
2752
+ }
2753
+ },
2754
+ {
2755
+ "name": "data",
2756
+ "description": {
2757
+ "kind": "markdown",
2758
+ "value": "Segmented data: `{ segments: [{ name, value, color? }] }` splits the arc between named parts; the\noptional `value` is the headline reading. Give it as a property (assign a new object to update the\ngauge and animate to it) or as JSON in the `data` attribute:\n`<void-gauge data='{\"segments\":[{\"name\":\"Used\",\"value\":40},{\"name\":\"Cache\",\"value\":15}]}'>`. Invalid\nJSON draws nothing and is reported by `@voidable/ui/dev`. The property is not reflected to the\nattribute, and an attribute a server morph leaves unchanged does not animate again. For a single\nreading, set the `value` attribute instead.\n\nType: `GaugeData`\n\nDefault: `{}`"
2579
2759
  }
2580
2760
  }
2581
2761
  ]
@@ -2584,9 +2764,16 @@
2584
2764
  "name": "void-hamburger",
2585
2765
  "description": {
2586
2766
  "kind": "markdown",
2587
- "value": "Animated open/close toggle for mobile navigation menus and collapsible sidebars.\n\nEvents: `void-open`, `void-close`"
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`"
2588
2768
  },
2589
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
+ },
2590
2777
  {
2591
2778
  "name": "open",
2592
2779
  "description": {
@@ -2622,6 +2809,13 @@
2622
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`"
2623
2810
  },
2624
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
+ },
2625
2819
  {
2626
2820
  "name": "open",
2627
2821
  "description": {
@@ -3066,7 +3260,7 @@
3066
3260
  "name": "void-line-chart",
3067
3261
  "description": {
3068
3262
  "kind": "markdown",
3069
- "value": "Line chart for trends over time with one or more series, linear or stepped, drawn in SVG with an animated\nentry. Give it `data` (`{ series: [{ name, values }], labels }`) from script; it has no children. The chart\nis an image to assistive technology, so set `aria-label` and state the key figures in the surrounding text."
3263
+ "value": "Line chart for trends over time with one or more series, linear or stepped, drawn in SVG with an animated\nentry. Give it `data` (`{ series: [{ name, values }], labels }`) as the `data` property or as JSON in the\n`data` attribute, so server-rendered markup draws it with no script; it has no children. The drawing is\nhidden from assistive technology and a visually hidden data table (captioned with `aria-label`) carries\nthe values instead; add `show-table` to show the table below the chart too."
3070
3264
  },
3071
3265
  "attributes": [
3072
3266
  {
@@ -3121,7 +3315,22 @@
3121
3315
  "name": "aria-label",
3122
3316
  "description": {
3123
3317
  "kind": "markdown",
3124
- "value": "Accessible name of the chart, such as `Visitors per day`. The chart is an image to assistive\ntechnology, so set it and put the key figures in the text around it.\n\nType: `string`\n\nDefault: `''`"
3318
+ "value": "Accessible name of the chart, such as `Visitors per day`; it is also the caption of the data table.\nSet it: the drawing itself is hidden from assistive technology.\n\nType: `string`\n\nDefault: `''`"
3319
+ }
3320
+ },
3321
+ {
3322
+ "name": "show-table",
3323
+ "description": {
3324
+ "kind": "markdown",
3325
+ "value": "Show the data table (one row per point, one column per series) below the chart. The table is always\nthere for assistive technology; this makes it visible too.\n\nType: `boolean`\n\nDefault: `false`\n\nReflected to the attribute."
3326
+ },
3327
+ "valueSet": "v"
3328
+ },
3329
+ {
3330
+ "name": "data",
3331
+ "description": {
3332
+ "kind": "markdown",
3333
+ "value": "The chart's data: `{ series: [{ name, values, color? }], labels? }`. `values` are aligned with `labels`\n(the names along the horizontal axis); `color` overrides a series' colour. Give it as a property\n(assign a new object to update the chart and animate to it) or as JSON in the `data` attribute:\n`<void-line-chart data='{\"series\":[{\"name\":\"Visitors\",\"values\":[3,5,4]}],\"labels\":[\"Mon\",\"Tue\",\"Wed\"]}'>`.\nInvalid JSON draws nothing and is reported by `@voidable/ui/dev`. The property is not reflected to the\nattribute (the data can be large), and an attribute a server morph leaves unchanged does not animate again.\n\nType: `LineChartData`\n\nDefault: `{ series: [] }`"
3125
3334
  }
3126
3335
  }
3127
3336
  ]
@@ -3183,6 +3392,13 @@
3183
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`"
3184
3393
  },
3185
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
+ },
3186
3402
  {
3187
3403
  "name": "open",
3188
3404
  "description": {
@@ -3250,6 +3466,13 @@
3250
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`"
3251
3467
  },
3252
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
+ },
3253
3476
  {
3254
3477
  "name": "value",
3255
3478
  "description": {
@@ -3298,11 +3521,18 @@
3298
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`"
3299
3522
  },
3300
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
+ },
3301
3531
  {
3302
3532
  "name": "placeholder",
3303
3533
  "description": {
3304
3534
  "kind": "markdown",
3305
- "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: `''`"
3306
3536
  }
3307
3537
  },
3308
3538
  {
@@ -3382,7 +3612,7 @@
3382
3612
  "name": "void-nav-bar",
3383
3613
  "description": {
3384
3614
  "kind": "markdown",
3385
- "value": "Top application navigation bar for branding, primary links, and user account controls.\n\nThe bar is a row: what you write inside it is laid out by the theme as it stands, with no part elements and\nnothing rendered. Use the patterns beside it for the usual contents: `<void-brand>` for the name or logo,\n`<void-nav-links>` for the links (mark the current page with `aria-current=\"page\"`) and `<void-spacer>` to\npush what follows to the far end."
3615
+ "value": "Top application navigation bar for branding, primary links, and user account controls.\n\nThe bar is a row: what you write inside it is laid out by the theme as it stands, with no part elements and\nnothing rendered. Use the patterns beside it for the usual contents: `<void-brand>` for the name or logo,\n`<void-nav-links>` for the links (mark the current page with `aria-current=\"page\"`) and `<void-spacer>` to\npush what follows to the far end.\n\nThe bar is a `navigation` landmark. Where the page already has one around it (the bar sits inside a `<nav>`\nor an element with a navigation or other role of its own) or inside it (the links are already in a `<nav>`),\nit adds nothing, so landmarks never nest; a role you write on it is kept. When a page has more than one\nnavigation landmark, give each an `aria-label` (`<void-nav-bar aria-label=\"Primary\">`); with one, a name is optional."
3386
3616
  },
3387
3617
  "attributes": [
3388
3618
  {
@@ -3425,6 +3655,13 @@
3425
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."
3426
3656
  },
3427
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
+ },
3428
3665
  {
3429
3666
  "name": "orientation",
3430
3667
  "description": {
@@ -3505,6 +3742,13 @@
3505
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`"
3506
3743
  },
3507
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
+ },
3508
3752
  {
3509
3753
  "name": "value",
3510
3754
  "description": {
@@ -3636,7 +3880,7 @@
3636
3880
  "name": "label",
3637
3881
  "description": {
3638
3882
  "kind": "markdown",
3639
- "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: `''`"
3640
3884
  }
3641
3885
  },
3642
3886
  {
@@ -3837,6 +4081,13 @@
3837
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`"
3838
4082
  },
3839
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
+ },
3840
4091
  {
3841
4092
  "name": "length",
3842
4093
  "description": {
@@ -3971,6 +4222,13 @@
3971
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`"
3972
4223
  },
3973
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
+ },
3974
4232
  {
3975
4233
  "name": "open",
3976
4234
  "description": {
@@ -4140,6 +4398,13 @@
4140
4398
  "value": "Single mutually exclusive option for forms and surveys; typically used inside VoidRadioGroup.\n\nEvents: `void-change`"
4141
4399
  },
4142
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
+ },
4143
4408
  {
4144
4409
  "name": "checked",
4145
4410
  "description": {
@@ -4347,6 +4612,13 @@
4347
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`"
4348
4613
  },
4349
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
+ },
4350
4622
  {
4351
4623
  "name": "value",
4352
4624
  "description": {
@@ -4437,6 +4709,13 @@
4437
4709
  "value": "Individual option within a VoidSegmentedControl button group."
4438
4710
  },
4439
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
+ },
4440
4719
  {
4441
4720
  "name": "value",
4442
4721
  "description": {
@@ -4682,7 +4961,7 @@
4682
4961
  "name": "label",
4683
4962
  "description": {
4684
4963
  "kind": "markdown",
4685
- "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."
4686
4965
  }
4687
4966
  }
4688
4967
  ]
@@ -4691,7 +4970,7 @@
4691
4970
  "name": "void-stat",
4692
4971
  "description": {
4693
4972
  "kind": "markdown",
4694
- "value": "Key metric display for analytics dashboards and KPI summaries with label, value, delta, and trend."
4973
+ "value": "Key metric display for analytics dashboards and KPI summaries with label, value, delta, and trend.\n\nWith a `label` it is a `group` named by the label; without one it has no role."
4695
4974
  },
4696
4975
  "attributes": [
4697
4976
  {
@@ -4871,6 +5150,13 @@
4871
5150
  "value": "On/off toggle for feature flags, notification preferences, and settings that take immediate effect.\n\nEvents: `void-change`"
4872
5151
  },
4873
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
+ },
4874
5160
  {
4875
5161
  "name": "checked",
4876
5162
  "description": {
@@ -4966,7 +5252,7 @@
4966
5252
  "name": "void-table",
4967
5253
  "description": {
4968
5254
  "kind": "markdown",
4969
- "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**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`"
4970
5256
  },
4971
5257
  "attributes": [
4972
5258
  {
@@ -5053,9 +5339,128 @@
5053
5339
  "kind": "markdown",
5054
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."
5055
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
+ }
5056
5429
  }
5057
5430
  ]
5058
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
+ },
5059
5464
  {
5060
5465
  "name": "void-tabs",
5061
5466
  "description": {
@@ -5063,6 +5468,13 @@
5063
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`"
5064
5469
  },
5065
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
+ },
5066
5478
  {
5067
5479
  "name": "value",
5068
5480
  "description": {
@@ -5244,6 +5656,13 @@
5244
5656
  "value": "Multi-tag input field for email recipients, category labels, keyword tagging, and comma-separated value entry.\n\nEvents: `void-change`"
5245
5657
  },
5246
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
+ },
5247
5666
  {
5248
5667
  "name": "value",
5249
5668
  "description": {
@@ -5278,7 +5697,7 @@
5278
5697
  "name": "placeholder",
5279
5698
  "description": {
5280
5699
  "kind": "markdown",
5281
- "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: `''`"
5282
5701
  }
5283
5702
  },
5284
5703
  {
@@ -5737,6 +6156,13 @@
5737
6156
  "value": "Pressable toggle button for toolbar actions and editor formatting controls with binary active/inactive state.\n\nEvents: `void-change`"
5738
6157
  },
5739
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
+ },
5740
6166
  {
5741
6167
  "name": "pressed",
5742
6168
  "description": {
@@ -5835,6 +6261,13 @@
5835
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`"
5836
6262
  },
5837
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
+ },
5838
6271
  {
5839
6272
  "name": "value",
5840
6273
  "description": {
@@ -5948,6 +6381,13 @@
5948
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`"
5949
6382
  },
5950
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
+ },
5951
6391
  {
5952
6392
  "name": "side",
5953
6393
  "description": {