@voidable/ui 0.10.0 → 0.11.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 (102) hide show
  1. package/dist/base.d.ts +6 -0
  2. package/dist/base.js +2 -2
  3. package/dist/chunks/{base-BxmMM3B7.js → base-BGrS4eIl.js} +9 -0
  4. package/dist/chunks/data-BpiiNapL.js +95 -0
  5. package/dist/chunks/{modal-CgGp_fCs.js → modal-DWGkNdNG.js} +2 -2
  6. package/dist/chunks/{overlay-hLJ7IQHx.js → overlay-CH7L4N-h.js} +1 -1
  7. package/dist/chunks/{projection-SnR79EHI.js → projection-oPe6ipjL.js} +1 -1
  8. package/dist/components/accordion.js +1 -1
  9. package/dist/components/action-input.js +2 -2
  10. package/dist/components/alert.d.ts +11 -0
  11. package/dist/components/alert.js +10 -3
  12. package/dist/components/avatar.js +2 -2
  13. package/dist/components/badge.d.ts +8 -2
  14. package/dist/components/badge.js +1 -4
  15. package/dist/components/banner.d.ts +9 -0
  16. package/dist/components/banner.js +10 -3
  17. package/dist/components/bar-chart.d.ts +21 -7
  18. package/dist/components/bar-chart.js +65 -43
  19. package/dist/components/breadcrumbs.js +1 -1
  20. package/dist/components/button.js +1 -1
  21. package/dist/components/calendar.d.ts +40 -2
  22. package/dist/components/calendar.js +110 -21
  23. package/dist/components/card.js +1 -1
  24. package/dist/components/carousel.js +3 -3
  25. package/dist/components/charts/data.d.ts +72 -0
  26. package/dist/components/checkbox-group.js +2 -2
  27. package/dist/components/checkbox.js +2 -2
  28. package/dist/components/collapsible.js +1 -1
  29. package/dist/components/color-picker.js +2 -2
  30. package/dist/components/combobox.js +3 -3
  31. package/dist/components/compose-input.js +2 -2
  32. package/dist/components/dialog.js +1 -1
  33. package/dist/components/divider.js +2 -2
  34. package/dist/components/donut-chart.d.ts +22 -6
  35. package/dist/components/donut-chart.js +95 -69
  36. package/dist/components/drawer.js +1 -1
  37. package/dist/components/dropdown-menu.js +2 -2
  38. package/dist/components/editable.js +2 -2
  39. package/dist/components/error-fallback.js +1 -1
  40. package/dist/components/field.js +2 -2
  41. package/dist/components/file-upload.d.ts +20 -5
  42. package/dist/components/file-upload.js +51 -21
  43. package/dist/components/gauge.d.ts +32 -8
  44. package/dist/components/gauge.js +202 -130
  45. package/dist/components/hamburger.d.ts +12 -1
  46. package/dist/components/hamburger.js +24 -13
  47. package/dist/components/hover-card.js +2 -2
  48. package/dist/components/indicator.js +2 -2
  49. package/dist/components/input.js +2 -2
  50. package/dist/components/line-chart.d.ts +22 -7
  51. package/dist/components/line-chart.js +76 -54
  52. package/dist/components/list.js +1 -1
  53. package/dist/components/menu.js +1 -1
  54. package/dist/components/multiselect.js +3 -3
  55. package/dist/components/nav-bar.d.ts +9 -0
  56. package/dist/components/nav-bar.js +16 -3
  57. package/dist/components/nav-menu.js +1 -1
  58. package/dist/components/number-input.js +2 -2
  59. package/dist/components/pagination.js +2 -2
  60. package/dist/components/panel.js +1 -1
  61. package/dist/components/pin-input.js +2 -2
  62. package/dist/components/popover.js +2 -2
  63. package/dist/components/progress.js +2 -2
  64. package/dist/components/radio-group.js +2 -2
  65. package/dist/components/radio.js +2 -2
  66. package/dist/components/scroll-area.js +2 -2
  67. package/dist/components/segmented-control.js +1 -1
  68. package/dist/components/select.js +2 -2
  69. package/dist/components/sidebar.js +1 -1
  70. package/dist/components/skeleton.js +1 -1
  71. package/dist/components/slider.js +2 -2
  72. package/dist/components/spinner.js +2 -2
  73. package/dist/components/stat.d.ts +13 -1
  74. package/dist/components/stat.js +28 -20
  75. package/dist/components/status-dot.js +1 -1
  76. package/dist/components/stepper.js +2 -2
  77. package/dist/components/switch.js +2 -2
  78. package/dist/components/table.d.ts +4 -0
  79. package/dist/components/table.js +42 -29
  80. package/dist/components/tabs.js +1 -1
  81. package/dist/components/tag.js +2 -2
  82. package/dist/components/tags-input.js +2 -2
  83. package/dist/components/textarea.js +2 -2
  84. package/dist/components/toast.js +1 -1
  85. package/dist/components/toggle-group.js +1 -1
  86. package/dist/components/toggle.js +1 -1
  87. package/dist/components/tooltip.js +2 -2
  88. package/dist/components.json +15 -13
  89. package/dist/custom-elements.json +272 -70
  90. package/dist/dev/types.d.ts +3 -1
  91. package/dist/dev.js +54 -9
  92. package/dist/index.js +1 -1
  93. package/dist/llms.txt +1 -1
  94. package/dist/reference.md +81 -56
  95. package/dist/types/elements.d.ts +13 -13
  96. package/dist/types/react.d.ts +2 -2
  97. package/dist/types/solid.d.ts +2 -2
  98. package/dist/types/svelte.d.ts +2 -2
  99. package/dist/types/vue.d.ts +2 -2
  100. package/dist/vscode.html-custom-data.json +95 -21
  101. package/dist/web-types.json +173 -44
  102. package/package.json +1 -1
@@ -231,7 +231,7 @@ export interface VoidElementProperties {
231
231
  'void-banner-close': {};
232
232
  'void-banner-description': {};
233
233
  'void-banner-title': {};
234
- 'void-bar-chart': Partial<Pick<VoidBarChart, 'height' | 'showValue' | 'variant' | 'ariaLabel' | 'stagger' | 'data'>>;
234
+ 'void-bar-chart': Partial<Pick<VoidBarChart, 'height' | 'showValue' | 'variant' | 'ariaLabel' | 'showTable' | 'stagger' | 'data'>>;
235
235
  'void-breadcrumbs': Partial<Pick<VoidBreadcrumbs, 'separator'>>;
236
236
  'void-breadcrumbs-item': {};
237
237
  'void-breadcrumbs-list': {};
@@ -258,14 +258,14 @@ export interface VoidElementProperties {
258
258
  'void-combobox': Partial<Pick<VoidCombobox, 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required'>>;
259
259
  'void-combobox-content': {} & { 'empty'?: boolean };
260
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'>>;
261
+ 'void-date-picker': Partial<Pick<VoidDatePicker, 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'open' | 'placeholder' | 'format' | 'color' | 'error' | 'required' | 'name'>>;
262
262
  'void-dialog': Partial<Pick<VoidDialog, 'size' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
263
263
  'void-dialog-actions': {};
264
264
  'void-dialog-body': {};
265
265
  'void-dialog-description': {};
266
266
  'void-dialog-title': {};
267
267
  'void-divider': Partial<Pick<VoidDivider, 'label' | 'orientation'>>;
268
- 'void-donut-chart': Partial<Pick<VoidDonutChart, 'size' | 'inner' | 'gaps' | 'variant' | 'showValue' | 'showTotal' | 'ariaLabel' | 'data'>>;
268
+ 'void-donut-chart': Partial<Pick<VoidDonutChart, 'size' | 'inner' | 'gaps' | 'variant' | 'showValue' | 'showTotal' | 'ariaLabel' | 'showTable' | 'data'>>;
269
269
  'void-drawer': Partial<Pick<VoidDrawer, 'side' | 'size' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
270
270
  'void-drawer-actions': {};
271
271
  'void-drawer-body': {};
@@ -283,14 +283,14 @@ export interface VoidElementProperties {
283
283
  'void-error-fallback-title': {};
284
284
  'void-field': Partial<Pick<VoidField, 'label' | 'error' | 'helper' | 'required'>>;
285
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'>>;
286
+ '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'>>;
287
287
  'void-hamburger': Partial<Pick<VoidHamburger, 'open' | 'size'>>;
288
288
  'void-hover-card': Partial<Pick<VoidHoverCard, 'open' | 'side' | 'align' | 'openDelay' | 'closeDelay'>>;
289
289
  'void-hover-card-content': {};
290
290
  'void-hover-card-trigger': {};
291
291
  'void-indicator': Partial<Pick<VoidIndicator, 'color' | 'placement' | 'count' | 'ping' | 'size'>>;
292
292
  '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'>>;
293
+ 'void-line-chart': Partial<Pick<VoidLineChart, 'height' | 'showValue' | 'variant' | 'interpolation' | 'ariaLabel' | 'showTable' | 'data'>>;
294
294
  'void-list': Partial<Pick<VoidList, 'dividers'>>;
295
295
  'void-list-item': Partial<Pick<VoidListItem, 'selected' | 'disabled' | 'interactive'>>;
296
296
  'void-menu': Partial<Pick<VoidMenu, 'open' | 'size'>>;
@@ -375,7 +375,7 @@ export interface VoidElementAttributeNames {
375
375
  'void-banner-close': never;
376
376
  'void-banner-description': never;
377
377
  'void-banner-title': never;
378
- 'void-bar-chart': 'height' | 'show-value' | 'variant' | 'aria-label' | 'stagger';
378
+ 'void-bar-chart': 'height' | 'show-value' | 'variant' | 'aria-label' | 'show-table' | 'stagger' | 'data';
379
379
  'void-breadcrumbs': 'separator';
380
380
  'void-breadcrumbs-item': never;
381
381
  'void-breadcrumbs-list': never;
@@ -402,14 +402,14 @@ export interface VoidElementAttributeNames {
402
402
  'void-combobox': 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required';
403
403
  'void-combobox-content': 'empty';
404
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';
405
+ 'void-date-picker': 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'open' | 'placeholder' | 'format' | 'color' | 'error' | 'required' | 'name';
406
406
  'void-dialog': 'aria-label' | 'size' | 'open' | 'hide-close';
407
407
  'void-dialog-actions': never;
408
408
  'void-dialog-body': never;
409
409
  'void-dialog-description': never;
410
410
  'void-dialog-title': never;
411
411
  'void-divider': 'label' | 'orientation';
412
- 'void-donut-chart': 'size' | 'inner' | 'gaps' | 'variant' | 'show-value' | 'show-total' | 'aria-label';
412
+ 'void-donut-chart': 'size' | 'inner' | 'gaps' | 'variant' | 'show-value' | 'show-total' | 'aria-label' | 'show-table' | 'data';
413
413
  'void-drawer': 'aria-label' | 'side' | 'size' | 'open' | 'hide-close';
414
414
  'void-drawer-actions': never;
415
415
  'void-drawer-body': never;
@@ -427,14 +427,14 @@ export interface VoidElementAttributeNames {
427
427
  'void-error-fallback-title': never;
428
428
  'void-field': 'label' | 'error' | 'helper' | 'required';
429
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';
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' | 'show-table' | 'zones' | 'data';
431
431
  'void-hamburger': 'open' | 'size';
432
432
  'void-hover-card': 'open' | 'side' | 'align' | 'open-delay' | 'close-delay';
433
433
  'void-hover-card-content': never;
434
434
  'void-hover-card-trigger': never;
435
435
  'void-indicator': 'color' | 'placement' | 'count' | 'ping' | 'size';
436
436
  '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';
437
+ 'void-line-chart': 'height' | 'show-value' | 'variant' | 'interpolation' | 'aria-label' | 'show-table' | 'data';
438
438
  'void-list': 'dividers';
439
439
  'void-list-item': 'selected' | 'disabled' | 'interactive';
440
440
  'void-menu': 'open' | 'size';
@@ -546,7 +546,7 @@ export interface VoidElementEvents {
546
546
  '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
547
  'void-combobox-content': {};
548
548
  '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 }> };
549
+ '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
550
  'void-dialog': { 'void-open': CustomEvent<{ reason: 'api' }>; 'void-close': CustomEvent<{ reason: 'escape' | 'outside' | 'close-button' | 'form' | 'parent' | 'api' }> };
551
551
  'void-dialog-actions': {};
552
552
  'void-dialog-body': {};
@@ -570,9 +570,9 @@ export interface VoidElementEvents {
570
570
  'void-error-fallback-description': {};
571
571
  'void-error-fallback-title': {};
572
572
  'void-field': {};
573
- 'void-file-upload': { 'void-change': CustomEvent<{ value: File[]; files: File[] }> };
573
+ 'void-file-upload': { 'void-reject': CustomEvent<{ rejected: { file: File; reason: 'type' | 'size' | 'count' }[] }>; 'void-change': CustomEvent<{ value: File[]; files: File[] }> };
574
574
  'void-gauge': {};
575
- 'void-hamburger': { 'void-open': CustomEvent<{ reason: 'trigger' }>; 'void-close': CustomEvent<{ reason: 'trigger' }> };
575
+ 'void-hamburger': { 'void-open': CustomEvent<{ reason: 'trigger' | 'keyboard' }>; 'void-close': CustomEvent<{ reason: 'trigger' }> };
576
576
  'void-hover-card': { 'void-open': CustomEvent<{ reason: 'hover' | 'focus' | 'api' }>; 'void-close': CustomEvent<{ reason: 'hover' | 'blur' | 'escape' | 'parent' | 'api' }> };
577
577
  'void-hover-card-content': {};
578
578
  'void-hover-card-trigger': {};
@@ -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 }>;
@@ -62,7 +62,7 @@ declare module 'solid-js' {
62
62
  'void-combobox': VoidSolidProps<'void-combobox', { 'on:void-change'?: (event: VoidElementEvents['void-combobox']['void-change']) => void; 'on:void-open'?: (event: VoidElementEvents['void-combobox']['void-open']) => void; 'on:void-close'?: (event: VoidElementEvents['void-combobox']['void-close']) => void }>;
63
63
  'void-combobox-content': VoidSolidProps<'void-combobox-content', {}>;
64
64
  'void-compose-input': VoidSolidProps<'void-compose-input', { 'on:void-input'?: (event: VoidElementEvents['void-compose-input']['void-input']) => void; 'on:void-submit'?: (event: VoidElementEvents['void-compose-input']['void-submit']) => void }>;
65
- 'void-date-picker': VoidSolidProps<'void-date-picker', { 'on:void-open'?: (event: VoidElementEvents['void-date-picker']['void-open']) => void; 'on:void-close'?: (event: VoidElementEvents['void-date-picker']['void-close']) => void; 'on:void-change'?: (event: VoidElementEvents['void-date-picker']['void-change']) => void }>;
65
+ 'void-date-picker': VoidSolidProps<'void-date-picker', { 'on:void-change'?: (event: VoidElementEvents['void-date-picker']['void-change']) => void; 'on:void-open'?: (event: VoidElementEvents['void-date-picker']['void-open']) => void; 'on:void-close'?: (event: VoidElementEvents['void-date-picker']['void-close']) => void }>;
66
66
  'void-dialog': VoidSolidProps<'void-dialog', { 'on:void-open'?: (event: VoidElementEvents['void-dialog']['void-open']) => void; 'on:void-close'?: (event: VoidElementEvents['void-dialog']['void-close']) => void }>;
67
67
  'void-dialog-actions': VoidSolidProps<'void-dialog-actions', {}>;
68
68
  'void-dialog-body': VoidSolidProps<'void-dialog-body', {}>;
@@ -86,7 +86,7 @@ declare module 'solid-js' {
86
86
  'void-error-fallback-description': VoidSolidProps<'void-error-fallback-description', {}>;
87
87
  'void-error-fallback-title': VoidSolidProps<'void-error-fallback-title', {}>;
88
88
  'void-field': VoidSolidProps<'void-field', {}>;
89
- 'void-file-upload': VoidSolidProps<'void-file-upload', { 'on:void-change'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
89
+ 'void-file-upload': VoidSolidProps<'void-file-upload', { 'on:void-reject'?: (event: VoidElementEvents['void-file-upload']['void-reject']) => void; 'on:void-change'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
90
90
  'void-gauge': VoidSolidProps<'void-gauge', {}>;
91
91
  'void-hamburger': VoidSolidProps<'void-hamburger', { 'on:void-open'?: (event: VoidElementEvents['void-hamburger']['void-open']) => void; 'on:void-close'?: (event: VoidElementEvents['void-hamburger']['void-close']) => void }>;
92
92
  'void-hover-card': VoidSolidProps<'void-hover-card', { 'on:void-open'?: (event: VoidElementEvents['void-hover-card']['void-open']) => void; 'on:void-close'?: (event: VoidElementEvents['void-hover-card']['void-close']) => void }>;
@@ -53,7 +53,7 @@ declare module 'svelte/elements' {
53
53
  'void-combobox': VoidSvelteProps<'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 }>;
54
54
  'void-combobox-content': VoidSvelteProps<'void-combobox-content', {}>;
55
55
  'void-compose-input': VoidSvelteProps<'void-compose-input', { 'onvoid-input'?: (event: VoidElementEvents['void-compose-input']['void-input']) => void; 'onvoid-submit'?: (event: VoidElementEvents['void-compose-input']['void-submit']) => void }>;
56
- 'void-date-picker': VoidSvelteProps<'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 }>;
56
+ 'void-date-picker': VoidSvelteProps<'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 }>;
57
57
  'void-dialog': VoidSvelteProps<'void-dialog', { 'onvoid-open'?: (event: VoidElementEvents['void-dialog']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-dialog']['void-close']) => void }>;
58
58
  'void-dialog-actions': VoidSvelteProps<'void-dialog-actions', {}>;
59
59
  'void-dialog-body': VoidSvelteProps<'void-dialog-body', {}>;
@@ -77,7 +77,7 @@ declare module 'svelte/elements' {
77
77
  'void-error-fallback-description': VoidSvelteProps<'void-error-fallback-description', {}>;
78
78
  'void-error-fallback-title': VoidSvelteProps<'void-error-fallback-title', {}>;
79
79
  'void-field': VoidSvelteProps<'void-field', {}>;
80
- 'void-file-upload': VoidSvelteProps<'void-file-upload', { 'onvoid-change'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
80
+ 'void-file-upload': VoidSvelteProps<'void-file-upload', { 'onvoid-reject'?: (event: VoidElementEvents['void-file-upload']['void-reject']) => void; 'onvoid-change'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
81
81
  'void-gauge': VoidSvelteProps<'void-gauge', {}>;
82
82
  'void-hamburger': VoidSvelteProps<'void-hamburger', { 'onvoid-open'?: (event: VoidElementEvents['void-hamburger']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-hamburger']['void-close']) => void }>;
83
83
  'void-hover-card': VoidSvelteProps<'void-hover-card', { 'onvoid-open'?: (event: VoidElementEvents['void-hover-card']['void-open']) => void; 'onvoid-close'?: (event: VoidElementEvents['void-hover-card']['void-close']) => void }>;
@@ -55,7 +55,7 @@ declare module 'vue' {
55
55
  'void-combobox': VoidVueElement<'void-combobox', { 'onVoidChange'?: (event: VoidElementEvents['void-combobox']['void-change']) => void; 'onVoidOpen'?: (event: VoidElementEvents['void-combobox']['void-open']) => void; 'onVoidClose'?: (event: VoidElementEvents['void-combobox']['void-close']) => void }>;
56
56
  'void-combobox-content': VoidVueElement<'void-combobox-content', {}>;
57
57
  'void-compose-input': VoidVueElement<'void-compose-input', { 'onVoidInput'?: (event: VoidElementEvents['void-compose-input']['void-input']) => void; 'onVoidSubmit'?: (event: VoidElementEvents['void-compose-input']['void-submit']) => void }>;
58
- 'void-date-picker': VoidVueElement<'void-date-picker', { 'onVoidOpen'?: (event: VoidElementEvents['void-date-picker']['void-open']) => void; 'onVoidClose'?: (event: VoidElementEvents['void-date-picker']['void-close']) => void; 'onVoidChange'?: (event: VoidElementEvents['void-date-picker']['void-change']) => void }>;
58
+ 'void-date-picker': VoidVueElement<'void-date-picker', { 'onVoidChange'?: (event: VoidElementEvents['void-date-picker']['void-change']) => void; 'onVoidOpen'?: (event: VoidElementEvents['void-date-picker']['void-open']) => void; 'onVoidClose'?: (event: VoidElementEvents['void-date-picker']['void-close']) => void }>;
59
59
  'void-dialog': VoidVueElement<'void-dialog', { 'onVoidOpen'?: (event: VoidElementEvents['void-dialog']['void-open']) => void; 'onVoidClose'?: (event: VoidElementEvents['void-dialog']['void-close']) => void }>;
60
60
  'void-dialog-actions': VoidVueElement<'void-dialog-actions', {}>;
61
61
  'void-dialog-body': VoidVueElement<'void-dialog-body', {}>;
@@ -79,7 +79,7 @@ declare module 'vue' {
79
79
  'void-error-fallback-description': VoidVueElement<'void-error-fallback-description', {}>;
80
80
  'void-error-fallback-title': VoidVueElement<'void-error-fallback-title', {}>;
81
81
  'void-field': VoidVueElement<'void-field', {}>;
82
- 'void-file-upload': VoidVueElement<'void-file-upload', { 'onVoidChange'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
82
+ 'void-file-upload': VoidVueElement<'void-file-upload', { 'onVoidReject'?: (event: VoidElementEvents['void-file-upload']['void-reject']) => void; 'onVoidChange'?: (event: VoidElementEvents['void-file-upload']['void-change']) => void }>;
83
83
  'void-gauge': VoidVueElement<'void-gauge', {}>;
84
84
  'void-hamburger': VoidVueElement<'void-hamburger', { 'onVoidOpen'?: (event: VoidElementEvents['void-hamburger']['void-open']) => void; 'onVoidClose'?: (event: VoidElementEvents['void-hamburger']['void-close']) => void }>;
85
85
  'void-hover-card': VoidVueElement<'void-hover-card', { 'onVoidOpen'?: (event: VoidElementEvents['void-hover-card']['void-open']) => void; 'onVoidClose'?: (event: VoidElementEvents['void-hover-card']['void-close']) => void }>;
@@ -379,7 +379,7 @@
379
379
  "name": "void-alert",
380
380
  "description": {
381
381
  "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`"
382
+ "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
383
  },
384
384
  "attributes": [
385
385
  {
@@ -508,7 +508,7 @@
508
508
  "name": "void-badge",
509
509
  "description": {
510
510
  "kind": "markdown",
511
- "value": "Small status chip for issue trackers, tag systems, and categorization UIs where color conveys state at a glance."
511
+ "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
512
  },
513
513
  "attributes": [
514
514
  {
@@ -583,7 +583,7 @@
583
583
  "name": "void-banner",
584
584
  "description": {
585
585
  "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`"
586
+ "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
587
  },
588
588
  "attributes": [
589
589
  {
@@ -672,7 +672,7 @@
672
672
  "name": "void-bar-chart",
673
673
  "description": {
674
674
  "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."
675
+ "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
676
  },
677
677
  "attributes": [
678
678
  {
@@ -712,15 +712,30 @@
712
712
  "name": "aria-label",
713
713
  "description": {
714
714
  "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: `''`"
715
+ "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
716
  }
717
717
  },
718
+ {
719
+ "name": "show-table",
720
+ "description": {
721
+ "kind": "markdown",
722
+ "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."
723
+ },
724
+ "valueSet": "v"
725
+ },
718
726
  {
719
727
  "name": "stagger",
720
728
  "description": {
721
729
  "kind": "markdown",
722
730
  "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
731
  }
732
+ },
733
+ {
734
+ "name": "data",
735
+ "description": {
736
+ "kind": "markdown",
737
+ "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: [] }`"
738
+ }
724
739
  }
725
740
  ]
726
741
  },
@@ -1140,7 +1155,7 @@
1140
1155
  "name": "active",
1141
1156
  "description": {
1142
1157
  "kind": "markdown",
1143
- "value": "Set by <void-carousel> on the slide being shown.\n\nType: `boolean`"
1158
+ "value": "Set by the carousel on the slide being shown.\n\nType: `boolean`"
1144
1159
  },
1145
1160
  "valueSet": "v"
1146
1161
  }
@@ -1610,7 +1625,7 @@
1610
1625
  "name": "void-date-picker",
1611
1626
  "description": {
1612
1627
  "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`"
1628
+ "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
1629
  },
1615
1630
  "attributes": [
1616
1631
  {
@@ -1693,7 +1708,7 @@
1693
1708
  "name": "format",
1694
1709
  "description": {
1695
1710
  "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'`"
1711
+ "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
1712
  }
1698
1713
  },
1699
1714
  {
@@ -1729,6 +1744,13 @@
1729
1744
  }
1730
1745
  ]
1731
1746
  },
1747
+ {
1748
+ "name": "error",
1749
+ "description": {
1750
+ "kind": "markdown",
1751
+ "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."
1752
+ }
1753
+ },
1732
1754
  {
1733
1755
  "name": "required",
1734
1756
  "description": {
@@ -1863,7 +1885,7 @@
1863
1885
  "name": "void-donut-chart",
1864
1886
  "description": {
1865
1887
  "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."
1888
+ "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
1889
  },
1868
1890
  "attributes": [
1869
1891
  {
@@ -1925,7 +1947,22 @@
1925
1947
  "name": "aria-label",
1926
1948
  "description": {
1927
1949
  "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: `''`"
1950
+ "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: `''`"
1951
+ }
1952
+ },
1953
+ {
1954
+ "name": "show-table",
1955
+ "description": {
1956
+ "kind": "markdown",
1957
+ "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."
1958
+ },
1959
+ "valueSet": "v"
1960
+ },
1961
+ {
1962
+ "name": "data",
1963
+ "description": {
1964
+ "kind": "markdown",
1965
+ "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
1966
  }
1930
1967
  }
1931
1968
  ]
@@ -2361,14 +2398,14 @@
2361
2398
  "name": "void-file-upload",
2362
2399
  "description": {
2363
2400
  "kind": "markdown",
2364
- "value": "Drag-and-drop file picker for document uploads, image attachment flows, and import wizards.\n\nEvents: `void-change`"
2401
+ "value": "Drag-and-drop file picker for document uploads, image attachment flows, and import wizards.\n\nEvents: `void-reject`, `void-change`"
2365
2402
  },
2366
2403
  "attributes": [
2367
2404
  {
2368
2405
  "name": "accept",
2369
2406
  "description": {
2370
2407
  "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: `''`"
2408
+ "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
2409
  }
2373
2410
  },
2374
2411
  {
@@ -2391,14 +2428,14 @@
2391
2428
  "name": "max-size",
2392
2429
  "description": {
2393
2430
  "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`"
2431
+ "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
2432
  }
2396
2433
  },
2397
2434
  {
2398
2435
  "name": "error",
2399
2436
  "description": {
2400
2437
  "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."
2438
+ "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
2439
  }
2403
2440
  },
2404
2441
  {
@@ -2575,7 +2612,29 @@
2575
2612
  "name": "aria-label",
2576
2613
  "description": {
2577
2614
  "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: `''`"
2615
+ "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: `''`"
2616
+ }
2617
+ },
2618
+ {
2619
+ "name": "show-table",
2620
+ "description": {
2621
+ "kind": "markdown",
2622
+ "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."
2623
+ },
2624
+ "valueSet": "v"
2625
+ },
2626
+ {
2627
+ "name": "zones",
2628
+ "description": {
2629
+ "kind": "markdown",
2630
+ "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: `[]`"
2631
+ }
2632
+ },
2633
+ {
2634
+ "name": "data",
2635
+ "description": {
2636
+ "kind": "markdown",
2637
+ "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
2638
  }
2580
2639
  }
2581
2640
  ]
@@ -2584,7 +2643,7 @@
2584
2643
  "name": "void-hamburger",
2585
2644
  "description": {
2586
2645
  "kind": "markdown",
2587
- "value": "Animated open/close toggle for mobile navigation menus and collapsible sidebars.\n\nEvents: `void-open`, `void-close`"
2646
+ "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
2647
  },
2589
2648
  "attributes": [
2590
2649
  {
@@ -3066,7 +3125,7 @@
3066
3125
  "name": "void-line-chart",
3067
3126
  "description": {
3068
3127
  "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."
3128
+ "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
3129
  },
3071
3130
  "attributes": [
3072
3131
  {
@@ -3121,7 +3180,22 @@
3121
3180
  "name": "aria-label",
3122
3181
  "description": {
3123
3182
  "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: `''`"
3183
+ "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: `''`"
3184
+ }
3185
+ },
3186
+ {
3187
+ "name": "show-table",
3188
+ "description": {
3189
+ "kind": "markdown",
3190
+ "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."
3191
+ },
3192
+ "valueSet": "v"
3193
+ },
3194
+ {
3195
+ "name": "data",
3196
+ "description": {
3197
+ "kind": "markdown",
3198
+ "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
3199
  }
3126
3200
  }
3127
3201
  ]
@@ -3382,7 +3456,7 @@
3382
3456
  "name": "void-nav-bar",
3383
3457
  "description": {
3384
3458
  "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."
3459
+ "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
3460
  },
3387
3461
  "attributes": [
3388
3462
  {
@@ -4691,7 +4765,7 @@
4691
4765
  "name": "void-stat",
4692
4766
  "description": {
4693
4767
  "kind": "markdown",
4694
- "value": "Key metric display for analytics dashboards and KPI summaries with label, value, delta, and trend."
4768
+ "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
4769
  },
4696
4770
  "attributes": [
4697
4771
  {
@@ -4966,7 +5040,7 @@
4966
5040
  "name": "void-table",
4967
5041
  "description": {
4968
5042
  "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."
5043
+ "value": "Data table around a native `<table>`: sets how it looks (`striped`, `hoverable`, `compact`,\n`bordered`, `inset`), how it behaves when the container is narrow (`stack`) and when it is wider\nthan its container (`scrollable`, `sticky-header`, `sticky-column`).\n\n**Stacked presentation.** `stack` turns each row into a block of label and value pairs while the\ntable's container (not the viewport) is narrower than a breakpoint (`stack=\"48rem\"`, `stack=\"always\"`). The label of a cell is the\ntext of the header cell of its column; it is copied to the cell as `data-label` (a `data-label`\nwritten on a cell is kept). `data-stack` on a header cell sets the role of a column in the block:\n`title` (the block's heading, no label), `select` (a row checkbox, beside the title), `actions`\n(buttons, grouped at the end) or `hide` (left out). It is copied to the cells of the column.\n`data-align=\"end\"` on a header cell right-aligns a numeric column. Because browsers can drop table\nsemantics when `display` changes, a table with `stack` carries explicit table, row and cell roles.\n\n**Name.** A table needs a name: write a `<caption>` (the caption part; it can be visually hidden), or an\n`aria-label` (or `label`) on the `<void-table>`, which the component copies onto the native `<table>`. `voidable check`\nreports a `<void-table>` with neither (rule `missing-name`).\n\n**Overflow.** Nothing is clipped by default, so a menu, popover or tooltip opened from a cell is\nalways fully visible. `scrollable` makes the table its own horizontal scroll region: it is\nfocusable and labelled (`label`, else the `<caption>`, else `aria-label`) only while it actually\noverflows, and fades its edges while there is more to scroll to. `max-height` makes the region\nscroll vertically too, which is what `sticky-header` needs; without it a sticky header sticks to\nthe page."
4970
5044
  },
4971
5045
  "attributes": [
4972
5046
  {