@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
@@ -0,0 +1,46 @@
1
+ export interface ReadyOptions {
2
+ /** Longest wait in milliseconds before rejecting with what is still missing. Default 10000. */
3
+ timeout?: number;
4
+ /** Tags that must be defined even when no element on the page uses them yet. */
5
+ expect?: string[];
6
+ /** CSS selector of the subtree to wait for. Default: the whole document. */
7
+ scope?: string;
8
+ }
9
+ /**
10
+ * A page object as Playwright's `Page`. Only what the helpers call is listed, so
11
+ * this module needs no Playwright types.
12
+ */
13
+ export interface PageLike {
14
+ evaluate(fn: any, arg?: any): Promise<any>;
15
+ addInitScript(script: any, arg?: any): Promise<any>;
16
+ goto(url: string, options?: any): Promise<any>;
17
+ }
18
+ /** In the page: resolves when every `void-*` element under `root` is defined and has rendered. */
19
+ export declare function whenReady(root?: ParentNode, options?: Omit<ReadyOptions, 'scope'>): Promise<void>;
20
+ /**
21
+ * Starts keeping `data-void-ready` on <html> true exactly while the page's
22
+ * `void-*` elements are ready. Importing this module calls it; calling again does nothing.
23
+ */
24
+ export declare function startReadiness(): void;
25
+ /** Stops the watcher and removes `data-void-ready`. */
26
+ export declare function stopReadiness(): void;
27
+ /**
28
+ * In the page: turns every theme-driven animation off (`data-anim-speed="off"`
29
+ * on <html>, which sets `--void-anim-scale: 0`) or back to the page's own setting.
30
+ * Toast auto-dismiss, tooltip and hover-card delays are timers, not animations,
31
+ * and keep their durations.
32
+ */
33
+ export declare function setAnimations(on: boolean, root?: Element): void;
34
+ /** Waits, in the browser, until the page's `void-*` elements are defined and rendered. */
35
+ export declare function voidReady(page: PageLike, options?: ReadyOptions): Promise<void>;
36
+ /** Opens `url` and waits for the components. */
37
+ export declare function gotoReady(page: PageLike, url: string, options?: ReadyOptions & {
38
+ goto?: Record<string, unknown>;
39
+ }): Promise<void>;
40
+ /**
41
+ * Turns animation off for this page, for the current document and every
42
+ * navigation after it. Call it before `page.goto`. Needs the theme (it is what
43
+ * reads the attribute); `reducedMotion: 'reduce'` in Playwright's `use` options
44
+ * has the same effect and needs nothing from this package.
45
+ */
46
+ export declare function animationsOff(page: PageLike): Promise<void>;
@@ -0,0 +1,79 @@
1
+ //#region src/testing/index.ts
2
+ var e = "data-void-ready";
3
+ async function t(e = {}, t) {
4
+ let n = e.timeout ?? 1e4, r = "the page to load", i = async () => {
5
+ document.readyState !== "complete" && await new Promise((e) => addEventListener("load", () => e(), { once: !0 }));
6
+ for (let n = 0; n < 100; n++) {
7
+ let n = globalThis[Symbol.for("voidable.autoloader")];
8
+ n && (r = "the autoloader to define every tag", await n.ready());
9
+ for (let t of e.expect ?? []) r = `<${t}> to be defined`, await customElements.whenDefined(t);
10
+ let i = t ?? (e.scope ? document.querySelector(e.scope) : document);
11
+ if (!i) throw Error(`whenReady: nothing matches the scope "${e.scope}"`);
12
+ let a = Array.from(i.querySelectorAll("*")).filter((e) => e.localName.startsWith("void-") && customElements.get(e.localName) && (e.isUpdatePending || e.hasUpdated === !1));
13
+ if (!a.length) return;
14
+ r = `${a.length} element(s) to finish rendering (<${a[0].localName}>${a.length > 1 ? ", ..." : ""})`, await Promise.all(a.map((e) => Promise.resolve(e.updateComplete).catch(() => void 0)));
15
+ }
16
+ throw Error("whenReady: the page keeps adding elements that need rendering");
17
+ };
18
+ if (n === Infinity) return i();
19
+ let a;
20
+ try {
21
+ await Promise.race([i(), new Promise((e, t) => {
22
+ a = setTimeout(() => t(/* @__PURE__ */ Error(`whenReady: timed out after ${n} ms waiting for ${r}`)), n);
23
+ })]);
24
+ } finally {
25
+ clearTimeout(a);
26
+ }
27
+ }
28
+ function n(e, n = {}) {
29
+ return t(n, e ?? document);
30
+ }
31
+ var r;
32
+ function i(e) {
33
+ if (e.nodeType !== 1) return !1;
34
+ if (e.localName.startsWith("void-")) return !0;
35
+ for (let t of Array.from(e.getElementsByTagName("*"))) if (t.localName.startsWith("void-")) return !0;
36
+ return !1;
37
+ }
38
+ function a() {
39
+ if (typeof document > "u" || r) return;
40
+ let n = document.documentElement, a = 0, o = () => {
41
+ let i = ++a;
42
+ n.removeAttribute(e), t({ timeout: Infinity }).then(() => {
43
+ i === a && r && n.setAttribute(e, "");
44
+ }, () => void 0);
45
+ };
46
+ r = new MutationObserver((e) => {
47
+ e.some((e) => Array.from(e.addedNodes).some(i)) && o();
48
+ }), r.observe(document, {
49
+ childList: !0,
50
+ subtree: !0
51
+ }), o();
52
+ }
53
+ function o() {
54
+ r?.disconnect(), r = void 0, typeof document < "u" && document.documentElement.removeAttribute(e);
55
+ }
56
+ function s(e, t = document.documentElement) {
57
+ e ? t.removeAttribute("data-anim-speed") : t.setAttribute("data-anim-speed", "off");
58
+ }
59
+ a();
60
+ async function c(e, n = {}) {
61
+ await e.evaluate(t, n);
62
+ }
63
+ async function l(e, t, n = {}) {
64
+ let { goto: r, ...i } = n;
65
+ await e.goto(t, r), await c(e, i);
66
+ }
67
+ async function u(e) {
68
+ let t = () => {
69
+ let e = () => document.documentElement.setAttribute("data-anim-speed", "off");
70
+ if (document.documentElement) return e();
71
+ let t = new MutationObserver(() => {
72
+ document.documentElement && (t.disconnect(), e());
73
+ });
74
+ t.observe(document, { childList: !0 });
75
+ };
76
+ await e.addInitScript(t), await e.evaluate(t);
77
+ }
78
+ //#endregion
79
+ export { u as animationsOff, l as gotoReady, s as setAnimations, a as startReadiness, o as stopReadiness, c as voidReady, n as whenReady };
@@ -190,6 +190,10 @@ export interface VoidElementTagNameMap {
190
190
  'void-stepper': VoidStepper;
191
191
  'void-switch': VoidSwitch;
192
192
  'void-table': VoidTable;
193
+ 'void-table-empty': HTMLElement;
194
+ 'void-table-filter': HTMLElement;
195
+ 'void-table-select-all': HTMLElement;
196
+ 'void-table-selection': HTMLElement;
193
197
  'void-tabs': VoidTabs;
194
198
  'void-tabs-content': HTMLElement;
195
199
  'void-tabs-list': HTMLElement;
@@ -217,7 +221,7 @@ export interface VoidElementTagNameMap {
217
221
  export interface VoidElementProperties {
218
222
  'void-accordion': Partial<Pick<VoidAccordion, 'multiple'>>;
219
223
  'void-accordion-content': {};
220
- 'void-accordion-item': Partial<Pick<VoidAccordionItem, 'open'>>;
224
+ 'void-accordion-item': Partial<Pick<VoidAccordionItem, 'keys' | 'open'>>;
221
225
  'void-accordion-trigger': {};
222
226
  'void-action-input': Partial<Pick<VoidActionInput, 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputMode' | 'enterKeyHint' | 'autocapitalize' | 'size' | 'color' | 'type' | 'icon' | 'actionLabel' | 'iconSide' | 'tooltipSide'>> & { 'spellcheck'?: string | null; 'form'?: string | null };
223
227
  'void-alert': Partial<Pick<VoidAlert, 'color' | 'variant'>>;
@@ -231,85 +235,85 @@ export interface VoidElementProperties {
231
235
  'void-banner-close': {};
232
236
  'void-banner-description': {};
233
237
  'void-banner-title': {};
234
- 'void-bar-chart': Partial<Pick<VoidBarChart, 'height' | 'showValue' | 'variant' | 'ariaLabel' | 'stagger' | 'data'>>;
238
+ 'void-bar-chart': Partial<Pick<VoidBarChart, 'height' | 'showValue' | 'variant' | 'ariaLabel' | 'showTable' | 'stagger' | 'data'>>;
235
239
  'void-breadcrumbs': Partial<Pick<VoidBreadcrumbs, 'separator'>>;
236
240
  'void-breadcrumbs-item': {};
237
241
  'void-breadcrumbs-list': {};
238
- 'void-button': Partial<Pick<VoidButton, 'variant' | 'color' | 'disabled' | 'type' | 'size'>>;
239
- 'void-calendar': Partial<Pick<VoidCalendar, 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'required' | 'name'>>;
242
+ 'void-button': Partial<Pick<VoidButton, 'keys' | 'variant' | 'color' | 'disabled' | 'type' | 'size'>>;
243
+ 'void-calendar': Partial<Pick<VoidCalendar, 'keys' | 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'required' | 'name'>>;
240
244
  'void-card': Partial<Pick<VoidCard, 'variant' | 'padding'>> & { 'scrollable'?: boolean };
241
245
  'void-card-body': {};
242
246
  'void-card-description': {};
243
247
  'void-card-footer': {};
244
248
  'void-card-header': {};
245
249
  'void-card-title': {};
246
- 'void-carousel': Partial<Pick<VoidCarousel, 'index' | 'loop' | 'autoplay' | 'interval' | 'size' | 'orientation'>>;
250
+ 'void-carousel': Partial<Pick<VoidCarousel, 'keys' | 'index' | 'loop' | 'autoplay' | 'interval' | 'size' | 'orientation'>>;
247
251
  'void-carousel-content': {};
248
252
  'void-carousel-indicators': {};
249
253
  'void-carousel-item': {} & { 'active'?: boolean };
250
- 'void-carousel-next': {};
251
- 'void-carousel-previous': {};
252
- 'void-checkbox': Partial<Pick<VoidCheckbox, 'checked' | 'disabled' | 'indeterminate' | 'name' | 'value' | 'required' | 'color' | 'size'>> & { 'form'?: string | null };
254
+ 'void-carousel-next': Partial<Pick<VoidCarouselNext, 'keys'>>;
255
+ 'void-carousel-previous': Partial<Pick<VoidCarouselPrevious, 'keys'>>;
256
+ 'void-checkbox': Partial<Pick<VoidCheckbox, 'keys' | 'checked' | 'disabled' | 'indeterminate' | 'name' | 'value' | 'required' | 'color' | 'size'>> & { 'form'?: string | null };
253
257
  'void-checkbox-group': Partial<Pick<VoidCheckboxGroup, 'label' | 'orientation' | 'name' | 'required' | 'disabled' | 'value'>> & { 'form'?: string | null };
254
- 'void-collapsible': Partial<Pick<VoidCollapsible, 'open' | 'disabled'>>;
258
+ 'void-collapsible': Partial<Pick<VoidCollapsible, 'keys' | 'open' | 'disabled'>>;
255
259
  'void-collapsible-content': {};
256
260
  'void-collapsible-trigger': {};
257
261
  'void-color-picker': Partial<Pick<VoidColorPicker, 'value' | 'disabled' | 'size' | 'swatches' | 'hideInput' | 'compact' | 'open' | 'required' | 'name'>>;
258
- 'void-combobox': Partial<Pick<VoidCombobox, 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required'>>;
262
+ 'void-combobox': Partial<Pick<VoidCombobox, 'keys' | 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required'>>;
259
263
  'void-combobox-content': {} & { 'empty'?: boolean };
260
- 'void-compose-input': Partial<Pick<VoidComposeInput, 'value' | 'placeholder' | 'disabled' | 'maxlength'>>;
261
- 'void-date-picker': Partial<Pick<VoidDatePicker, 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'open' | 'placeholder' | 'format' | 'color' | 'required' | 'name'>>;
262
- 'void-dialog': Partial<Pick<VoidDialog, 'size' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
264
+ 'void-compose-input': Partial<Pick<VoidComposeInput, 'keys' | 'value' | 'placeholder' | 'disabled' | 'maxlength'>>;
265
+ 'void-date-picker': Partial<Pick<VoidDatePicker, 'keys' | 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'open' | 'placeholder' | 'format' | 'color' | 'error' | 'required' | 'name'>>;
266
+ 'void-dialog': Partial<Pick<VoidDialog, 'size' | 'keys' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
263
267
  'void-dialog-actions': {};
264
268
  'void-dialog-body': {};
265
269
  'void-dialog-description': {};
266
270
  'void-dialog-title': {};
267
271
  'void-divider': Partial<Pick<VoidDivider, 'label' | 'orientation'>>;
268
- 'void-donut-chart': Partial<Pick<VoidDonutChart, 'size' | 'inner' | 'gaps' | 'variant' | 'showValue' | 'showTotal' | 'ariaLabel' | 'data'>>;
269
- 'void-drawer': Partial<Pick<VoidDrawer, 'side' | 'size' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
272
+ 'void-donut-chart': Partial<Pick<VoidDonutChart, 'size' | 'inner' | 'gaps' | 'variant' | 'showValue' | 'showTotal' | 'ariaLabel' | 'showTable' | 'data'>>;
273
+ 'void-drawer': Partial<Pick<VoidDrawer, 'side' | 'size' | 'keys' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
270
274
  'void-drawer-actions': {};
271
275
  'void-drawer-body': {};
272
276
  'void-drawer-description': {};
273
277
  'void-drawer-title': {};
274
- 'void-dropdown-menu': Partial<Pick<VoidDropdownMenu, 'open' | 'side' | 'align'>>;
278
+ 'void-dropdown-menu': Partial<Pick<VoidDropdownMenu, 'keys' | 'open' | 'side' | 'align'>>;
275
279
  'void-dropdown-menu-content': {};
276
- 'void-dropdown-menu-item': Partial<Pick<VoidDropdownMenuItem, 'value' | 'disabled' | 'destructive' | 'keepOpen'>>;
280
+ 'void-dropdown-menu-item': Partial<Pick<VoidDropdownMenuItem, 'keys' | 'value' | 'disabled' | 'destructive' | 'keepOpen'>>;
277
281
  'void-dropdown-menu-separator': {};
278
282
  'void-dropdown-menu-trigger': {};
279
- 'void-editable': Partial<Pick<VoidEditable, 'value' | 'editing' | 'disabled' | 'placeholder' | 'submitMode' | 'size' | 'required' | 'name'>>;
283
+ 'void-editable': Partial<Pick<VoidEditable, 'keys' | 'value' | 'editing' | 'disabled' | 'placeholder' | 'submitMode' | 'size' | 'required' | 'name'>>;
280
284
  'void-error-fallback': Partial<Pick<VoidErrorFallback, 'heading' | 'message' | 'retryable' | 'retryLabel' | 'hideIcon'>>;
281
285
  'void-error-fallback-actions': {};
282
286
  'void-error-fallback-description': {};
283
287
  'void-error-fallback-title': {};
284
288
  'void-field': Partial<Pick<VoidField, 'label' | 'error' | 'helper' | 'required'>>;
285
- 'void-file-upload': Partial<Pick<VoidFileUpload, 'accept' | 'multiple' | 'disabled' | 'maxSize' | 'error' | 'required' | 'name'>>;
286
- 'void-gauge': Partial<Pick<VoidGauge, 'unit' | 'value' | 'min' | 'max' | 'size' | 'thickness' | 'circular' | 'variant' | 'hideValue' | 'unitInline' | 'tickMajor' | 'tickMinor' | 'hideTickMin' | 'hideTickMax' | 'segmentsSort' | 'gaps' | 'ariaLabel' | 'zones' | 'data'>>;
287
- 'void-hamburger': Partial<Pick<VoidHamburger, 'open' | 'size'>>;
288
- 'void-hover-card': Partial<Pick<VoidHoverCard, 'open' | 'side' | 'align' | 'openDelay' | 'closeDelay'>>;
289
+ 'void-file-upload': Partial<Pick<VoidFileUpload, 'keys' | 'accept' | 'multiple' | 'disabled' | 'maxSize' | 'error' | 'required' | 'name'>>;
290
+ 'void-gauge': Partial<Pick<VoidGauge, 'unit' | 'value' | 'min' | 'max' | 'size' | 'thickness' | 'circular' | 'variant' | 'hideValue' | 'unitInline' | 'tickMajor' | 'tickMinor' | 'hideTickMin' | 'hideTickMax' | 'segmentsSort' | 'gaps' | 'ariaLabel' | 'showTable' | 'zones' | 'data'>>;
291
+ 'void-hamburger': Partial<Pick<VoidHamburger, 'keys' | 'open' | 'size'>>;
292
+ 'void-hover-card': Partial<Pick<VoidHoverCard, 'keys' | 'open' | 'side' | 'align' | 'openDelay' | 'closeDelay'>>;
289
293
  'void-hover-card-content': {};
290
294
  'void-hover-card-trigger': {};
291
295
  'void-indicator': Partial<Pick<VoidIndicator, 'color' | 'placement' | 'count' | 'ping' | 'size'>>;
292
296
  'void-input': Partial<Pick<VoidInput, 'type' | 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputMode' | 'enterKeyHint' | 'autocapitalize'>> & { 'spellcheck'?: string | null; 'form'?: string | null };
293
- 'void-line-chart': Partial<Pick<VoidLineChart, 'height' | 'showValue' | 'variant' | 'interpolation' | 'ariaLabel' | 'data'>>;
297
+ 'void-line-chart': Partial<Pick<VoidLineChart, 'height' | 'showValue' | 'variant' | 'interpolation' | 'ariaLabel' | 'showTable' | 'data'>>;
294
298
  'void-list': Partial<Pick<VoidList, 'dividers'>>;
295
299
  'void-list-item': Partial<Pick<VoidListItem, 'selected' | 'disabled' | 'interactive'>>;
296
- 'void-menu': Partial<Pick<VoidMenu, 'open' | 'size'>>;
300
+ 'void-menu': Partial<Pick<VoidMenu, 'keys' | 'open' | 'size'>>;
297
301
  'void-menu-content': {};
298
302
  'void-menu-empty': {};
299
303
  'void-menu-group': {};
300
304
  'void-menu-group-label': {};
301
- 'void-menu-item': Partial<Pick<VoidMenuItem, 'value' | 'disabled'>>;
305
+ 'void-menu-item': Partial<Pick<VoidMenuItem, 'keys' | 'value' | 'disabled'>>;
302
306
  'void-menu-item-icon': {};
303
307
  'void-menu-item-shortcut': {};
304
308
  'void-menu-search': {};
305
- 'void-multiselect': Partial<Pick<VoidMultiselect, 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'value' | 'required'>>;
309
+ 'void-multiselect': Partial<Pick<VoidMultiselect, 'keys' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'value' | 'required'>>;
306
310
  'void-multiselect-content': {};
307
311
  'void-nav-bar': Partial<Pick<VoidNavBar, 'sticky' | 'hideBorder' | 'variant'>>;
308
- 'void-nav-menu': Partial<Pick<VoidNavMenu, 'orientation' | 'width'>>;
312
+ 'void-nav-menu': Partial<Pick<VoidNavMenu, 'keys' | 'orientation' | 'width'>>;
309
313
  'void-nav-menu-content': {};
310
314
  'void-nav-menu-item': Partial<Pick<VoidNavMenuItem, 'open' | 'disabled' | 'current'>>;
311
315
  'void-nav-menu-trigger': {};
312
- 'void-number-input': Partial<Pick<VoidNumberInput, 'value' | 'min' | 'max' | 'step' | 'precision' | 'disabled' | 'readonly' | 'size' | 'color' | 'placeholder' | 'controls' | 'label' | 'prefix' | 'unit' | 'required' | 'name'>>;
316
+ 'void-number-input': Partial<Pick<VoidNumberInput, 'keys' | 'value' | 'min' | 'max' | 'step' | 'precision' | 'disabled' | 'readonly' | 'size' | 'color' | 'placeholder' | 'controls' | 'label' | 'prefix' | 'unit' | 'required' | 'name'>>;
313
317
  'void-option': Partial<Pick<VoidOption, 'value' | 'selected' | 'disabled' | 'label'>>;
314
318
  'void-pagination': Partial<Pick<VoidPagination, 'total' | 'value' | 'siblings' | 'size' | 'hrefTemplate' | 'param'>>;
315
319
  'void-panel': Partial<Pick<VoidPanel, 'variant'>>;
@@ -317,16 +321,16 @@ export interface VoidElementProperties {
317
321
  'void-panel-description': {};
318
322
  'void-panel-header': {};
319
323
  'void-panel-title': {};
320
- 'void-pin-input': Partial<Pick<VoidPinInput, 'length' | 'groups' | 'value' | 'disabled' | 'mask' | 'type' | 'size' | 'color' | 'placeholder' | 'required' | 'name'>>;
321
- 'void-popover': Partial<Pick<VoidPopover, 'open' | 'side' | 'align' | 'trigger'>>;
324
+ 'void-pin-input': Partial<Pick<VoidPinInput, 'keys' | 'length' | 'groups' | 'value' | 'disabled' | 'mask' | 'type' | 'size' | 'color' | 'placeholder' | 'required' | 'name'>>;
325
+ 'void-popover': Partial<Pick<VoidPopover, 'keys' | 'open' | 'side' | 'align' | 'trigger'>>;
322
326
  'void-popover-content': {};
323
327
  'void-popover-trigger': {};
324
328
  'void-progress': Partial<Pick<VoidProgress, 'value' | 'max' | 'color' | 'size' | 'indeterminate'>>;
325
- 'void-radio': Partial<Pick<VoidRadio, 'checked' | 'disabled' | 'name' | 'value' | 'required' | 'color' | 'size'>> & { 'form'?: string | null };
329
+ 'void-radio': Partial<Pick<VoidRadio, 'keys' | 'checked' | 'disabled' | 'name' | 'value' | 'required' | 'color' | 'size'>> & { 'form'?: string | null };
326
330
  'void-radio-group': Partial<Pick<VoidRadioGroup, 'label' | 'value' | 'name' | 'required' | 'disabled' | 'orientation'>> & { 'form'?: string | null };
327
331
  'void-scroll-area': Partial<Pick<VoidScrollArea, 'maxHeight' | 'orientation'>>;
328
- 'void-segmented-control': Partial<Pick<VoidSegmentedControl, 'value' | 'disabled' | 'size' | 'color' | 'required' | 'name'>>;
329
- 'void-segmented-control-item': Partial<Pick<VoidSegmentedControlItem, 'value' | 'disabled'>>;
332
+ 'void-segmented-control': Partial<Pick<VoidSegmentedControl, 'keys' | 'value' | 'disabled' | 'size' | 'color' | 'required' | 'name'>>;
333
+ 'void-segmented-control-item': Partial<Pick<VoidSegmentedControlItem, 'keys' | 'value' | 'disabled'>>;
330
334
  'void-select': Partial<Pick<VoidSelect, 'size' | 'error' | 'value'>>;
331
335
  'void-sidebar': Partial<Pick<VoidSidebar, 'collapsed' | 'width' | 'collapsedWidth' | 'side'>>;
332
336
  'void-skeleton': Partial<Pick<VoidSkeleton, 'shape'>>;
@@ -335,14 +339,18 @@ export interface VoidElementProperties {
335
339
  'void-stat': Partial<Pick<VoidStat, 'label' | 'value' | 'delta' | 'description' | 'trend' | 'color' | 'size'>>;
336
340
  'void-status-dot': Partial<Pick<VoidStatusDot, 'status'>>;
337
341
  'void-stepper': Partial<Pick<VoidStepper, 'value' | 'steps'>>;
338
- 'void-switch': Partial<Pick<VoidSwitch, 'checked' | 'disabled' | 'value' | 'color' | 'size' | 'required' | 'name'>>;
339
- 'void-table': Partial<Pick<VoidTable, 'striped' | 'hoverable' | 'compact' | 'bordered' | 'inset' | 'stack' | 'scrollable' | 'stickyHeader' | 'stickyColumn' | 'maxHeight' | 'label'>>;
340
- 'void-tabs': Partial<Pick<VoidTabs, 'value' | 'size' | 'activation'>>;
342
+ 'void-switch': Partial<Pick<VoidSwitch, 'keys' | 'checked' | 'disabled' | 'value' | 'color' | 'size' | 'required' | 'name'>>;
343
+ 'void-table': Partial<Pick<VoidTable, 'striped' | 'hoverable' | 'compact' | 'bordered' | 'inset' | 'stack' | 'scrollable' | 'stickyHeader' | 'stickyColumn' | 'maxHeight' | 'label' | 'sort' | 'sortDirection' | 'filter' | 'filterColumns' | 'selectable' | 'manual' | 'totalRows' | 'allSelected' | 'keys' | 'value' | 'required' | 'name'>>;
344
+ 'void-table-empty': {};
345
+ 'void-table-filter': {};
346
+ 'void-table-select-all': {};
347
+ 'void-table-selection': {};
348
+ 'void-tabs': Partial<Pick<VoidTabs, 'keys' | 'value' | 'size' | 'activation'>>;
341
349
  'void-tabs-content': {} & { 'value'?: string; 'active'?: boolean };
342
350
  'void-tabs-list': {};
343
351
  'void-tabs-trigger': {} & { 'value'?: string; 'disabled'?: boolean; 'active'?: boolean };
344
352
  'void-tag': Partial<Pick<VoidTag, 'color' | 'removable' | 'size'>>;
345
- 'void-tags-input': Partial<Pick<VoidTagsInput, 'value' | 'disabled' | 'readonly' | 'max' | 'placeholder' | 'size' | 'color' | 'variant' | 'allowDuplicates' | 'required' | 'name'>>;
353
+ 'void-tags-input': Partial<Pick<VoidTagsInput, 'keys' | 'value' | 'disabled' | 'readonly' | 'max' | 'placeholder' | 'size' | 'color' | 'variant' | 'allowDuplicates' | 'required' | 'name'>>;
346
354
  'void-textarea': Partial<Pick<VoidTextarea, 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'rows' | 'resize' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'inputMode' | 'enterKeyHint' | 'autocapitalize'>> & { 'spellcheck'?: string | null; 'form'?: string | null };
347
355
  'void-toast': Partial<Pick<VoidToast, 'color' | 'duration'>>;
348
356
  'void-toast-actions': {};
@@ -350,9 +358,9 @@ export interface VoidElementProperties {
350
358
  'void-toast-container': Partial<Pick<VoidToastContainer, 'placement'>>;
351
359
  'void-toast-description': {};
352
360
  'void-toast-title': {};
353
- 'void-toggle': Partial<Pick<VoidToggle, 'pressed' | 'value' | 'disabled' | 'color' | 'size' | 'variant'>>;
354
- 'void-toggle-group': Partial<Pick<VoidToggleGroup, 'value' | 'multiple' | 'disabled' | 'size' | 'color' | 'orientation' | 'required' | 'name'>>;
355
- 'void-tooltip': Partial<Pick<VoidTooltip, 'side' | 'align' | 'delay' | 'open'>>;
361
+ 'void-toggle': Partial<Pick<VoidToggle, 'keys' | 'pressed' | 'value' | 'disabled' | 'color' | 'size' | 'variant'>>;
362
+ 'void-toggle-group': Partial<Pick<VoidToggleGroup, 'keys' | 'value' | 'multiple' | 'disabled' | 'size' | 'color' | 'orientation' | 'required' | 'name'>>;
363
+ 'void-tooltip': Partial<Pick<VoidTooltip, 'keys' | 'side' | 'align' | 'delay' | 'open'>>;
356
364
  'void-tooltip-content': {};
357
365
  'void-tooltip-trigger': {};
358
366
  }
@@ -361,7 +369,7 @@ export interface VoidElementProperties {
361
369
  export interface VoidElementAttributeNames {
362
370
  'void-accordion': 'multiple';
363
371
  'void-accordion-content': never;
364
- 'void-accordion-item': 'open';
372
+ 'void-accordion-item': 'keys' | 'open';
365
373
  'void-accordion-trigger': never;
366
374
  'void-action-input': 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputmode' | 'enterkeyhint' | 'autocapitalize' | 'spellcheck' | 'size' | 'color' | 'type' | 'icon' | 'action-label' | 'icon-side' | 'tooltip-side' | 'form';
367
375
  'void-alert': 'color' | 'variant';
@@ -375,85 +383,85 @@ export interface VoidElementAttributeNames {
375
383
  'void-banner-close': never;
376
384
  'void-banner-description': never;
377
385
  'void-banner-title': never;
378
- 'void-bar-chart': 'height' | 'show-value' | 'variant' | 'aria-label' | 'stagger';
386
+ 'void-bar-chart': 'height' | 'show-value' | 'variant' | 'aria-label' | 'show-table' | 'stagger' | 'data';
379
387
  'void-breadcrumbs': 'separator';
380
388
  'void-breadcrumbs-item': never;
381
389
  'void-breadcrumbs-list': never;
382
- 'void-button': 'variant' | 'color' | 'disabled' | 'type' | 'size';
383
- 'void-calendar': 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'required' | 'name';
390
+ 'void-button': 'keys' | 'variant' | 'color' | 'disabled' | 'type' | 'size';
391
+ 'void-calendar': 'keys' | 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'required' | 'name';
384
392
  'void-card': 'variant' | 'padding' | 'scrollable';
385
393
  'void-card-body': never;
386
394
  'void-card-description': never;
387
395
  'void-card-footer': never;
388
396
  'void-card-header': never;
389
397
  'void-card-title': never;
390
- 'void-carousel': 'index' | 'loop' | 'autoplay' | 'interval' | 'size' | 'orientation';
398
+ 'void-carousel': 'keys' | 'index' | 'loop' | 'autoplay' | 'interval' | 'size' | 'orientation';
391
399
  'void-carousel-content': never;
392
400
  'void-carousel-indicators': never;
393
401
  'void-carousel-item': 'active';
394
- 'void-carousel-next': never;
395
- 'void-carousel-previous': never;
396
- 'void-checkbox': 'checked' | 'disabled' | 'indeterminate' | 'name' | 'value' | 'required' | 'color' | 'size' | 'form';
402
+ 'void-carousel-next': 'keys';
403
+ 'void-carousel-previous': 'keys';
404
+ 'void-checkbox': 'keys' | 'checked' | 'disabled' | 'indeterminate' | 'name' | 'value' | 'required' | 'color' | 'size' | 'form';
397
405
  'void-checkbox-group': 'label' | 'orientation' | 'name' | 'required' | 'disabled' | 'value' | 'form';
398
- 'void-collapsible': 'open' | 'disabled';
406
+ 'void-collapsible': 'keys' | 'open' | 'disabled';
399
407
  'void-collapsible-content': never;
400
408
  'void-collapsible-trigger': never;
401
409
  'void-color-picker': 'value' | 'disabled' | 'size' | 'swatches' | 'hide-input' | 'compact' | 'open' | 'required' | 'name';
402
- 'void-combobox': 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required';
410
+ 'void-combobox': 'keys' | 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required';
403
411
  'void-combobox-content': 'empty';
404
- 'void-compose-input': 'value' | 'placeholder' | 'disabled' | 'maxlength';
405
- 'void-date-picker': 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'open' | 'placeholder' | 'format' | 'color' | 'required' | 'name';
406
- 'void-dialog': 'aria-label' | 'size' | 'open' | 'hide-close';
412
+ 'void-compose-input': 'keys' | 'value' | 'placeholder' | 'disabled' | 'maxlength';
413
+ 'void-date-picker': 'keys' | 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'open' | 'placeholder' | 'format' | 'color' | 'error' | 'required' | 'name';
414
+ 'void-dialog': 'aria-label' | 'size' | 'keys' | 'open' | 'hide-close';
407
415
  'void-dialog-actions': never;
408
416
  'void-dialog-body': never;
409
417
  'void-dialog-description': never;
410
418
  'void-dialog-title': never;
411
419
  'void-divider': 'label' | 'orientation';
412
- 'void-donut-chart': 'size' | 'inner' | 'gaps' | 'variant' | 'show-value' | 'show-total' | 'aria-label';
413
- 'void-drawer': 'aria-label' | 'side' | 'size' | 'open' | 'hide-close';
420
+ 'void-donut-chart': 'size' | 'inner' | 'gaps' | 'variant' | 'show-value' | 'show-total' | 'aria-label' | 'show-table' | 'data';
421
+ 'void-drawer': 'aria-label' | 'side' | 'size' | 'keys' | 'open' | 'hide-close';
414
422
  'void-drawer-actions': never;
415
423
  'void-drawer-body': never;
416
424
  'void-drawer-description': never;
417
425
  'void-drawer-title': never;
418
- 'void-dropdown-menu': 'open' | 'side' | 'align';
426
+ 'void-dropdown-menu': 'keys' | 'open' | 'side' | 'align';
419
427
  'void-dropdown-menu-content': never;
420
- 'void-dropdown-menu-item': 'value' | 'disabled' | 'destructive' | 'keep-open';
428
+ 'void-dropdown-menu-item': 'keys' | 'value' | 'disabled' | 'destructive' | 'keep-open';
421
429
  'void-dropdown-menu-separator': never;
422
430
  'void-dropdown-menu-trigger': never;
423
- 'void-editable': 'value' | 'editing' | 'disabled' | 'placeholder' | 'submit-mode' | 'size' | 'required' | 'name';
431
+ 'void-editable': 'keys' | 'value' | 'editing' | 'disabled' | 'placeholder' | 'submit-mode' | 'size' | 'required' | 'name';
424
432
  'void-error-fallback': 'heading' | 'message' | 'retryable' | 'retry-label' | 'hide-icon';
425
433
  'void-error-fallback-actions': never;
426
434
  'void-error-fallback-description': never;
427
435
  'void-error-fallback-title': never;
428
436
  'void-field': 'label' | 'error' | 'helper' | 'required';
429
- 'void-file-upload': 'accept' | 'multiple' | 'disabled' | 'max-size' | 'error' | 'required' | 'name';
430
- 'void-gauge': 'unit' | 'value' | 'min' | 'max' | 'size' | 'thickness' | 'circular' | 'variant' | 'hide-value' | 'unit-inline' | 'tick-major' | 'tick-minor' | 'hide-tick-min' | 'hide-tick-max' | 'segments-sort' | 'gaps' | 'aria-label';
431
- 'void-hamburger': 'open' | 'size';
432
- 'void-hover-card': 'open' | 'side' | 'align' | 'open-delay' | 'close-delay';
437
+ 'void-file-upload': 'keys' | 'accept' | 'multiple' | 'disabled' | 'max-size' | 'error' | 'required' | 'name';
438
+ 'void-gauge': 'unit' | 'value' | 'min' | 'max' | 'size' | 'thickness' | 'circular' | 'variant' | 'hide-value' | 'unit-inline' | 'tick-major' | 'tick-minor' | 'hide-tick-min' | 'hide-tick-max' | 'segments-sort' | 'gaps' | 'aria-label' | 'show-table' | 'zones' | 'data';
439
+ 'void-hamburger': 'keys' | 'open' | 'size';
440
+ 'void-hover-card': 'keys' | 'open' | 'side' | 'align' | 'open-delay' | 'close-delay';
433
441
  'void-hover-card-content': never;
434
442
  'void-hover-card-trigger': never;
435
443
  'void-indicator': 'color' | 'placement' | 'count' | 'ping' | 'size';
436
444
  'void-input': 'type' | 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputmode' | 'enterkeyhint' | 'autocapitalize' | 'spellcheck' | 'form';
437
- 'void-line-chart': 'height' | 'show-value' | 'variant' | 'interpolation' | 'aria-label';
445
+ 'void-line-chart': 'height' | 'show-value' | 'variant' | 'interpolation' | 'aria-label' | 'show-table' | 'data';
438
446
  'void-list': 'dividers';
439
447
  'void-list-item': 'selected' | 'disabled' | 'interactive';
440
- 'void-menu': 'open' | 'size';
448
+ 'void-menu': 'keys' | 'open' | 'size';
441
449
  'void-menu-content': never;
442
450
  'void-menu-empty': never;
443
451
  'void-menu-group': never;
444
452
  'void-menu-group-label': never;
445
- 'void-menu-item': 'value' | 'disabled';
453
+ 'void-menu-item': 'keys' | 'value' | 'disabled';
446
454
  'void-menu-item-icon': never;
447
455
  'void-menu-item-shortcut': never;
448
456
  'void-menu-search': never;
449
- 'void-multiselect': 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'value' | 'required';
457
+ 'void-multiselect': 'keys' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'value' | 'required';
450
458
  'void-multiselect-content': never;
451
459
  'void-nav-bar': 'sticky' | 'hide-border' | 'variant';
452
- 'void-nav-menu': 'orientation' | 'width';
460
+ 'void-nav-menu': 'keys' | 'orientation' | 'width';
453
461
  'void-nav-menu-content': never;
454
462
  'void-nav-menu-item': 'open' | 'disabled' | 'current';
455
463
  'void-nav-menu-trigger': never;
456
- 'void-number-input': 'value' | 'min' | 'max' | 'step' | 'precision' | 'disabled' | 'readonly' | 'size' | 'color' | 'placeholder' | 'controls' | 'label' | 'prefix' | 'unit' | 'required' | 'name';
464
+ 'void-number-input': 'keys' | 'value' | 'min' | 'max' | 'step' | 'precision' | 'disabled' | 'readonly' | 'size' | 'color' | 'placeholder' | 'controls' | 'label' | 'prefix' | 'unit' | 'required' | 'name';
457
465
  'void-option': 'value' | 'selected' | 'disabled' | 'label';
458
466
  'void-pagination': 'total' | 'value' | 'siblings' | 'size' | 'href-template' | 'param';
459
467
  'void-panel': 'variant';
@@ -461,16 +469,16 @@ export interface VoidElementAttributeNames {
461
469
  'void-panel-description': never;
462
470
  'void-panel-header': never;
463
471
  'void-panel-title': never;
464
- 'void-pin-input': 'length' | 'groups' | 'value' | 'disabled' | 'mask' | 'type' | 'size' | 'color' | 'placeholder' | 'required' | 'name';
465
- 'void-popover': 'open' | 'side' | 'align' | 'trigger';
472
+ 'void-pin-input': 'keys' | 'length' | 'groups' | 'value' | 'disabled' | 'mask' | 'type' | 'size' | 'color' | 'placeholder' | 'required' | 'name';
473
+ 'void-popover': 'keys' | 'open' | 'side' | 'align' | 'trigger';
466
474
  'void-popover-content': never;
467
475
  'void-popover-trigger': never;
468
476
  'void-progress': 'value' | 'max' | 'color' | 'size' | 'indeterminate';
469
- 'void-radio': 'checked' | 'disabled' | 'name' | 'value' | 'required' | 'color' | 'size' | 'form';
477
+ 'void-radio': 'keys' | 'checked' | 'disabled' | 'name' | 'value' | 'required' | 'color' | 'size' | 'form';
470
478
  'void-radio-group': 'label' | 'value' | 'name' | 'required' | 'disabled' | 'orientation' | 'form';
471
479
  'void-scroll-area': 'max-height' | 'orientation';
472
- 'void-segmented-control': 'value' | 'disabled' | 'size' | 'color' | 'required' | 'name';
473
- 'void-segmented-control-item': 'value' | 'disabled';
480
+ 'void-segmented-control': 'keys' | 'value' | 'disabled' | 'size' | 'color' | 'required' | 'name';
481
+ 'void-segmented-control-item': 'keys' | 'value' | 'disabled';
474
482
  'void-select': 'size' | 'error' | 'value';
475
483
  'void-sidebar': 'collapsed' | 'width' | 'collapsed-width' | 'side';
476
484
  'void-skeleton': 'shape';
@@ -479,14 +487,18 @@ export interface VoidElementAttributeNames {
479
487
  'void-stat': 'label' | 'value' | 'delta' | 'description' | 'trend' | 'color' | 'size';
480
488
  'void-status-dot': 'status';
481
489
  'void-stepper': 'value' | 'steps';
482
- 'void-switch': 'checked' | 'disabled' | 'value' | 'color' | 'size' | 'required' | 'name';
483
- 'void-table': 'striped' | 'hoverable' | 'compact' | 'bordered' | 'inset' | 'stack' | 'scrollable' | 'sticky-header' | 'sticky-column' | 'max-height' | 'label';
484
- 'void-tabs': 'value' | 'size' | 'activation';
490
+ 'void-switch': 'keys' | 'checked' | 'disabled' | 'value' | 'color' | 'size' | 'required' | 'name';
491
+ 'void-table': 'striped' | 'hoverable' | 'compact' | 'bordered' | 'inset' | 'stack' | 'scrollable' | 'sticky-header' | 'sticky-column' | 'max-height' | 'label' | 'sort' | 'sort-direction' | 'filter' | 'filter-columns' | 'selectable' | 'manual' | 'total-rows' | 'all-selected' | 'keys' | 'value' | 'required' | 'name';
492
+ 'void-table-empty': never;
493
+ 'void-table-filter': never;
494
+ 'void-table-select-all': never;
495
+ 'void-table-selection': never;
496
+ 'void-tabs': 'keys' | 'value' | 'size' | 'activation';
485
497
  'void-tabs-content': 'value' | 'active';
486
498
  'void-tabs-list': never;
487
499
  'void-tabs-trigger': 'value' | 'disabled' | 'active';
488
500
  'void-tag': 'color' | 'removable' | 'size';
489
- 'void-tags-input': 'value' | 'disabled' | 'readonly' | 'max' | 'placeholder' | 'size' | 'color' | 'variant' | 'allow-duplicates' | 'required' | 'name';
501
+ 'void-tags-input': 'keys' | 'value' | 'disabled' | 'readonly' | 'max' | 'placeholder' | 'size' | 'color' | 'variant' | 'allow-duplicates' | 'required' | 'name';
490
502
  'void-textarea': 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'rows' | 'resize' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'inputmode' | 'enterkeyhint' | 'autocapitalize' | 'spellcheck' | 'form';
491
503
  'void-toast': 'color' | 'duration';
492
504
  'void-toast-actions': never;
@@ -494,9 +506,9 @@ export interface VoidElementAttributeNames {
494
506
  'void-toast-container': 'placement';
495
507
  'void-toast-description': never;
496
508
  'void-toast-title': never;
497
- 'void-toggle': 'pressed' | 'value' | 'disabled' | 'color' | 'size' | 'variant';
498
- 'void-toggle-group': 'value' | 'multiple' | 'disabled' | 'size' | 'color' | 'orientation' | 'required' | 'name';
499
- 'void-tooltip': 'side' | 'align' | 'delay' | 'open';
509
+ 'void-toggle': 'keys' | 'pressed' | 'value' | 'disabled' | 'color' | 'size' | 'variant';
510
+ 'void-toggle-group': 'keys' | 'value' | 'multiple' | 'disabled' | 'size' | 'color' | 'orientation' | 'required' | 'name';
511
+ 'void-tooltip': 'keys' | 'side' | 'align' | 'delay' | 'open';
500
512
  'void-tooltip-content': never;
501
513
  'void-tooltip-trigger': never;
502
514
  }
@@ -546,7 +558,7 @@ export interface VoidElementEvents {
546
558
  'void-combobox': { 'void-change': CustomEvent<{ value: string }>; 'void-open': CustomEvent<{ reason: 'keyboard' | 'focus' | 'api' }>; 'void-close': CustomEvent<{ reason: 'escape' | 'outside' | 'blur' | 'select' | 'parent' | 'api' }> };
547
559
  'void-combobox-content': {};
548
560
  'void-compose-input': { 'void-input': CustomEvent<{ value: string }>; 'void-submit': CustomEvent<{ value: string }> };
549
- 'void-date-picker': { 'void-open': CustomEvent<{ reason: 'trigger' | 'focus' | 'keyboard' | 'api' }>; 'void-close': CustomEvent<{ reason: 'trigger' | 'select' | 'escape' | 'outside' | 'blur' | 'parent' | 'api' }>; 'void-change': CustomEvent<{ value: string; date: Date }> };
561
+ 'void-date-picker': { 'void-change': CustomEvent<{ value: string; date: Date | null }>; 'void-open': CustomEvent<{ reason: 'trigger' | 'focus' | 'keyboard' | 'api' }>; 'void-close': CustomEvent<{ reason: 'trigger' | 'select' | 'escape' | 'outside' | 'blur' | 'parent' | 'api' }> };
550
562
  'void-dialog': { 'void-open': CustomEvent<{ reason: 'api' }>; 'void-close': CustomEvent<{ reason: 'escape' | 'outside' | 'close-button' | 'form' | 'parent' | 'api' }> };
551
563
  'void-dialog-actions': {};
552
564
  'void-dialog-body': {};
@@ -570,9 +582,9 @@ export interface VoidElementEvents {
570
582
  'void-error-fallback-description': {};
571
583
  'void-error-fallback-title': {};
572
584
  'void-field': {};
573
- 'void-file-upload': { 'void-change': CustomEvent<{ value: File[]; files: File[] }> };
585
+ 'void-file-upload': { 'void-reject': CustomEvent<{ rejected: { file: File; reason: 'type' | 'size' | 'count' }[] }>; 'void-change': CustomEvent<{ value: File[]; files: File[] }> };
574
586
  'void-gauge': {};
575
- 'void-hamburger': { 'void-open': CustomEvent<{ reason: 'trigger' }>; 'void-close': CustomEvent<{ reason: 'trigger' }> };
587
+ 'void-hamburger': { 'void-open': CustomEvent<{ reason: 'trigger' | 'keyboard' }>; 'void-close': CustomEvent<{ reason: 'trigger' }> };
576
588
  'void-hover-card': { 'void-open': CustomEvent<{ reason: 'hover' | 'focus' | 'api' }>; 'void-close': CustomEvent<{ reason: 'hover' | 'blur' | 'escape' | 'parent' | 'api' }> };
577
589
  'void-hover-card-content': {};
578
590
  'void-hover-card-trigger': {};
@@ -624,7 +636,11 @@ export interface VoidElementEvents {
624
636
  'void-status-dot': {};
625
637
  'void-stepper': {};
626
638
  'void-switch': { 'void-change': CustomEvent<{ value: string; checked: boolean }> };
627
- 'void-table': {};
639
+ 'void-table': { 'void-change': CustomEvent<{ value: string[], all: boolean }>; 'void-sort': CustomEvent<{ column: string, direction: 'ascending' | 'descending' | 'none' }>; 'void-filter': CustomEvent<{ filter: string, shown: number, total: number }> };
640
+ 'void-table-empty': {};
641
+ 'void-table-filter': {};
642
+ 'void-table-select-all': {};
643
+ 'void-table-selection': {};
628
644
  'void-tabs': { 'void-change': CustomEvent<{ value: string }> };
629
645
  'void-tabs-content': {};
630
646
  'void-tabs-list': {};
@@ -61,7 +61,7 @@ declare module 'react' {
61
61
  'void-combobox': VoidReactProps<'void-combobox', { 'onvoid-change'?: (event: VoidElementEvents['void-combobox']['void-change']) => void; 'onvoid-open'?: (event: VoidElementEvents['void-combobox']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-combobox']['void-close']) => void }>;
62
62
  'void-combobox-content': VoidReactProps<'void-combobox-content', {}>;
63
63
  'void-compose-input': VoidReactProps<'void-compose-input', { 'onvoid-input'?: (event: VoidElementEvents['void-compose-input']['void-input']) => void; 'onvoid-submit'?: (event: VoidElementEvents['void-compose-input']['void-submit']) => void }>;
64
- 'void-date-picker': VoidReactProps<'void-date-picker', { 'onvoid-open'?: (event: VoidElementEvents['void-date-picker']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-date-picker']['void-close']) => void; 'onvoid-change'?: (event: VoidElementEvents['void-date-picker']['void-change']) => void }>;
64
+ 'void-date-picker': VoidReactProps<'void-date-picker', { 'onvoid-change'?: (event: VoidElementEvents['void-date-picker']['void-change']) => void; 'onvoid-open'?: (event: VoidElementEvents['void-date-picker']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-date-picker']['void-close']) => void }>;
65
65
  'void-dialog': VoidReactProps<'void-dialog', { 'onvoid-open'?: (event: VoidElementEvents['void-dialog']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-dialog']['void-close']) => void }>;
66
66
  'void-dialog-actions': VoidReactProps<'void-dialog-actions', {}>;
67
67
  'void-dialog-body': VoidReactProps<'void-dialog-body', {}>;
@@ -85,7 +85,7 @@ declare module 'react' {
85
85
  'void-error-fallback-description': VoidReactProps<'void-error-fallback-description', {}>;
86
86
  'void-error-fallback-title': VoidReactProps<'void-error-fallback-title', {}>;
87
87
  'void-field': VoidReactProps<'void-field', {}>;
88
- 'void-file-upload': VoidReactProps<'void-file-upload', { 'onvoid-change'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
88
+ 'void-file-upload': VoidReactProps<'void-file-upload', { 'onvoid-reject'?: (event: VoidElementEvents['void-file-upload']['void-reject']) => void; 'onvoid-change'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
89
89
  'void-gauge': VoidReactProps<'void-gauge', {}>;
90
90
  'void-hamburger': VoidReactProps<'void-hamburger', { 'onvoid-open'?: (event: VoidElementEvents['void-hamburger']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-hamburger']['void-close']) => void }>;
91
91
  'void-hover-card': VoidReactProps<'void-hover-card', { 'onvoid-open'?: (event: VoidElementEvents['void-hover-card']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-hover-card']['void-close']) => void }>;
@@ -139,7 +139,11 @@ declare module 'react' {
139
139
  'void-status-dot': VoidReactProps<'void-status-dot', {}>;
140
140
  'void-stepper': VoidReactProps<'void-stepper', {}>;
141
141
  'void-switch': VoidReactProps<'void-switch', { 'onvoid-change'?: (event: VoidElementEvents['void-switch']['void-change']) => void }>;
142
- 'void-table': VoidReactProps<'void-table', {}>;
142
+ 'void-table': VoidReactProps<'void-table', { 'onvoid-change'?: (event: VoidElementEvents['void-table']['void-change']) => void; 'onvoid-sort'?: (event: VoidElementEvents['void-table']['void-sort']) => void; 'onvoid-filter'?: (event: VoidElementEvents['void-table']['void-filter']) => void }>;
143
+ 'void-table-empty': VoidReactProps<'void-table-empty', {}>;
144
+ 'void-table-filter': VoidReactProps<'void-table-filter', {}>;
145
+ 'void-table-select-all': VoidReactProps<'void-table-select-all', {}>;
146
+ 'void-table-selection': VoidReactProps<'void-table-selection', {}>;
143
147
  'void-tabs': VoidReactProps<'void-tabs', { 'onvoid-change'?: (event: VoidElementEvents['void-tabs']['void-change']) => void }>;
144
148
  'void-tabs-content': VoidReactProps<'void-tabs-content', {}>;
145
149
  'void-tabs-list': VoidReactProps<'void-tabs-list', {}>;