@voidable/ui-react 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { default as default_2 } from 'react';
3
3
  import { DonutChartData } from '@voidable/ui';
4
4
  import { GaugeData } from '@voidable/ui';
5
5
  import { GaugeZone } from '@voidable/ui';
6
+ import { KeyOverrides } from '@voidable/ui';
6
7
  import { LineChartData } from '@voidable/ui';
7
8
  import { VoidAccordion } from '@voidable/ui';
8
9
  import { VoidAccordionItem } from '@voidable/ui';
@@ -87,6 +88,8 @@ export declare const Accordion: default_2.ForwardRefExoticComponent<{
87
88
  multiple?: boolean;
88
89
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "multiple"> & {
89
90
  children?: default_2.ReactNode;
91
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
92
+ keys?: KeyOverrides;
90
93
  } & default_2.RefAttributes<VoidAccordion>>;
91
94
 
92
95
  /** Content shown while the item is open. Renders `<void-accordion-content>`, a part of `<void-accordion-item>`. */
@@ -106,6 +109,8 @@ export declare const AccordionItem: default_2.ForwardRefExoticComponent<{
106
109
  };
107
110
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open"> & {
108
111
  children?: default_2.ReactNode;
112
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
113
+ keys?: KeyOverrides;
109
114
  } & default_2.RefAttributes<VoidAccordionItem>>;
110
115
 
111
116
  /** Heading text of the item; becomes the button that opens and closes it. Renders `<void-accordion-trigger>`, a part of `<void-accordion-item>`. */
@@ -150,6 +155,8 @@ export declare const ActionInput: default_2.ForwardRefExoticComponent<{
150
155
  };
151
156
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "enterKeyHint" | "color" | "inputMode" | "spellcheck" | "pattern" | "size" | "disabled" | "type" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "readonly" | "autocomplete" | "minlength" | "maxlength" | "autocapitalize" | "onVoidAction" | "icon" | "actionLabel" | "iconSide"> & {
152
157
  children?: default_2.ReactNode;
158
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
159
+ keys?: KeyOverrides;
153
160
  } & default_2.RefAttributes<VoidActionInput>>;
154
161
 
155
162
  export declare const Alert: default_2.ForwardRefExoticComponent<{
@@ -161,6 +168,8 @@ export declare const Alert: default_2.ForwardRefExoticComponent<{
161
168
  };
162
169
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "variant" | "onVoidClose"> & {
163
170
  children?: default_2.ReactNode;
171
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
172
+ keys?: KeyOverrides;
164
173
  } & default_2.RefAttributes<VoidAlert>>;
165
174
 
166
175
  /** Wraps the one control that dismisses the alert (a <button aria-label="Dismiss">); pressing it fires void-close and removes the alert. Without it the alert cannot be dismissed. Renders `<void-alert-close>`, a part of `<void-alert>`. */
@@ -185,6 +194,8 @@ export declare const Avatar: default_2.ForwardRefExoticComponent<{
185
194
  size?: "sm" | "md" | "lg";
186
195
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "src" | "alt" | "initials"> & {
187
196
  children?: default_2.ReactNode;
197
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
198
+ keys?: KeyOverrides;
188
199
  } & default_2.RefAttributes<VoidAvatar>>;
189
200
 
190
201
  export declare const Badge: default_2.ForwardRefExoticComponent<{
@@ -192,6 +203,8 @@ export declare const Badge: default_2.ForwardRefExoticComponent<{
192
203
  size?: "sm" | "md" | "lg";
193
204
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size"> & {
194
205
  children?: default_2.ReactNode;
206
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
207
+ keys?: KeyOverrides;
195
208
  } & default_2.RefAttributes<VoidBadge>>;
196
209
 
197
210
  export declare const Banner: default_2.ForwardRefExoticComponent<{
@@ -203,6 +216,8 @@ export declare const Banner: default_2.ForwardRefExoticComponent<{
203
216
  };
204
217
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "variant" | "onVoidClose"> & {
205
218
  children?: default_2.ReactNode;
219
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
220
+ keys?: KeyOverrides;
206
221
  } & default_2.RefAttributes<VoidBanner>>;
207
222
 
208
223
  /** Buttons or links for the announcement, at the trailing edge. Renders `<void-banner-actions>`, a part of `<void-banner>`. */
@@ -235,6 +250,8 @@ export declare const BarChart: default_2.ForwardRefExoticComponent<{
235
250
  stagger?: number;
236
251
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "showTable" | "stagger"> & {
237
252
  children?: default_2.ReactNode;
253
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
254
+ keys?: KeyOverrides;
238
255
  } & default_2.RefAttributes<VoidBarChart>>;
239
256
 
240
257
  export { BarChartData }
@@ -243,6 +260,8 @@ export declare const Breadcrumbs: default_2.ForwardRefExoticComponent<{
243
260
  separator?: string;
244
261
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "separator"> & {
245
262
  children?: default_2.ReactNode;
263
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
264
+ keys?: KeyOverrides;
246
265
  } & default_2.RefAttributes<VoidBreadcrumbs>>;
247
266
 
248
267
  /** One crumb (role="listitem"): a link, or the current page as text. Mark the current page with aria-current="page"; the theme draws the separators between items. Renders `<void-breadcrumbs-item>`, a part of `<void-breadcrumbs-list>`. */
@@ -265,6 +284,8 @@ export declare const Button: default_2.ForwardRefExoticComponent<{
265
284
  Click: null;
266
285
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "onVoidClick" | "variant" | "disabled" | "type"> & {
267
286
  children?: default_2.ReactNode;
287
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
288
+ keys?: KeyOverrides;
268
289
  } & default_2.RefAttributes<VoidButton>>;
269
290
 
270
291
  export declare const Calendar: default_2.ForwardRefExoticComponent<{
@@ -286,6 +307,8 @@ export declare const Calendar: default_2.ForwardRefExoticComponent<{
286
307
  };
287
308
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "max" | "min" | "locale" | "firstDay"> & {
288
309
  children?: default_2.ReactNode;
310
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
311
+ keys?: KeyOverrides;
289
312
  } & default_2.RefAttributes<VoidCalendar>>;
290
313
 
291
314
  /** Regions are parts: `<CardHeader>` (with `<CardTitle>`, `<CardDescription>`), `<CardBody>`, `<CardFooter>`. */
@@ -296,6 +319,8 @@ export declare const Card: default_2.ForwardRefExoticComponent<{
296
319
  scrollable?: boolean;
297
320
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "variant" | "padding" | "scrollable"> & {
298
321
  children?: default_2.ReactNode;
322
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
323
+ keys?: KeyOverrides;
299
324
  } & default_2.RefAttributes<VoidCard>>;
300
325
 
301
326
  /** Content of the card, padded by the card's `padding`. Renders `<void-card-body>`, a part of `<void-card>`. */
@@ -338,6 +363,8 @@ export declare const Carousel: default_2.ForwardRefExoticComponent<{
338
363
  };
339
364
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "orientation" | "onVoidChange" | "index" | "loop" | "autoplay" | "interval"> & {
340
365
  children?: default_2.ReactNode;
366
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
367
+ keys?: KeyOverrides;
341
368
  } & default_2.RefAttributes<VoidCarousel>>;
342
369
 
343
370
  /** The window the slides move in. Renders `<void-carousel-content>`, a part of `<void-carousel>`. */
@@ -360,10 +387,14 @@ export declare const CarouselItem: default_2.ForwardRefExoticComponent<{
360
387
 
361
388
  export declare const CarouselNext: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
362
389
  children?: default_2.ReactNode;
390
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
391
+ keys?: KeyOverrides;
363
392
  } & default_2.RefAttributes<VoidCarouselNext>>;
364
393
 
365
394
  export declare const CarouselPrevious: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
366
395
  children?: default_2.ReactNode;
396
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
397
+ keys?: KeyOverrides;
367
398
  } & default_2.RefAttributes<VoidCarouselPrevious>>;
368
399
 
369
400
  export declare const Checkbox: default_2.ForwardRefExoticComponent<{
@@ -383,6 +414,8 @@ export declare const Checkbox: default_2.ForwardRefExoticComponent<{
383
414
  };
384
415
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "checked" | "name" | "required" | "value" | "indeterminate"> & {
385
416
  children?: default_2.ReactNode;
417
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
418
+ keys?: KeyOverrides;
386
419
  } & default_2.RefAttributes<VoidCheckbox>>;
387
420
 
388
421
  export declare const CheckboxGroup: default_2.ForwardRefExoticComponent<{
@@ -402,6 +435,8 @@ export declare const CheckboxGroup: default_2.ForwardRefExoticComponent<{
402
435
  };
403
436
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "disabled" | "orientation" | "onVoidChange" | "name" | "required" | "value"> & {
404
437
  children?: default_2.ReactNode;
438
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
439
+ keys?: KeyOverrides;
405
440
  } & default_2.RefAttributes<VoidCheckboxGroup>>;
406
441
 
407
442
  export declare const Collapsible: default_2.ForwardRefExoticComponent<{
@@ -416,6 +451,8 @@ export declare const Collapsible: default_2.ForwardRefExoticComponent<{
416
451
  };
417
452
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "onVoidClose" | "onVoidOpen" | "open"> & {
418
453
  children?: default_2.ReactNode;
454
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
455
+ keys?: KeyOverrides;
419
456
  } & default_2.RefAttributes<VoidCollapsible>>;
420
457
 
421
458
  /** Content shown while the panel is open. Renders `<void-collapsible-content>`, a part of `<void-collapsible>`. */
@@ -446,6 +483,8 @@ export declare const ColorPicker: default_2.ForwardRefExoticComponent<{
446
483
  };
447
484
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "open" | "compact" | "swatches" | "hideInput"> & {
448
485
  children?: default_2.ReactNode;
486
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
487
+ keys?: KeyOverrides;
449
488
  } & default_2.RefAttributes<VoidColorPicker>>;
450
489
 
451
490
  export declare const Combobox: default_2.ForwardRefExoticComponent<{
@@ -465,6 +504,8 @@ export declare const Combobox: default_2.ForwardRefExoticComponent<{
465
504
  };
466
505
  } & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "placeholder" | "onVoidOpen" | "open"> & {
467
506
  children?: default_2.ReactNode;
507
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
508
+ keys?: KeyOverrides;
468
509
  } & default_2.RefAttributes<VoidCombobox>>;
469
510
 
470
511
  /** The option list (role="listbox") shown in the top layer under the field; holds the `<void-option>`s, which stay where they are. Renders `<void-combobox-content>`, a part of `<void-combobox>`. */
@@ -489,6 +530,8 @@ export declare const ComposeInput: default_2.ForwardRefExoticComponent<{
489
530
  };
490
531
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value" | "onVoidInput" | "placeholder" | "maxlength" | "onVoidSubmit"> & {
491
532
  children?: default_2.ReactNode;
533
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
534
+ keys?: KeyOverrides;
492
535
  } & default_2.RefAttributes<VoidComposeInput>>;
493
536
 
494
537
  export declare const DatePicker: default_2.ForwardRefExoticComponent<{
@@ -516,6 +559,8 @@ export declare const DatePicker: default_2.ForwardRefExoticComponent<{
516
559
  };
517
560
  } & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "max" | "placeholder" | "onVoidOpen" | "open" | "min" | "locale" | "firstDay" | "format"> & {
518
561
  children?: default_2.ReactNode;
562
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
563
+ keys?: KeyOverrides;
519
564
  } & default_2.RefAttributes<VoidDatePicker>>;
520
565
 
521
566
  /**
@@ -538,6 +583,8 @@ export declare const Dialog: default_2.ForwardRefExoticComponent<{
538
583
  hideClose?: boolean;
539
584
  } & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidClose" | "onVoidOpen" | "open" | "hideClose"> & {
540
585
  children?: default_2.ReactNode;
586
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
587
+ keys?: KeyOverrides;
541
588
  } & default_2.RefAttributes<VoidDialog>>;
542
589
 
543
590
  /** Row of buttons at the end, at the trailing edge. Renders `<void-dialog-actions>`, a part of `<void-dialog>`. */
@@ -565,6 +612,8 @@ export declare const Divider: default_2.ForwardRefExoticComponent<{
565
612
  orientation?: "horizontal" | "vertical";
566
613
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "orientation"> & {
567
614
  children?: default_2.ReactNode;
615
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
616
+ keys?: KeyOverrides;
568
617
  } & default_2.RefAttributes<VoidDivider>>;
569
618
 
570
619
  export declare const DonutChart: default_2.ForwardRefExoticComponent<{
@@ -580,6 +629,8 @@ export declare const DonutChart: default_2.ForwardRefExoticComponent<{
580
629
  showTotal?: boolean;
581
630
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "showValue" | "showTable" | "inner" | "gaps" | "showTotal"> & {
582
631
  children?: default_2.ReactNode;
632
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
633
+ keys?: KeyOverrides;
583
634
  } & default_2.RefAttributes<VoidDonutChart>>;
584
635
 
585
636
  export { DonutChartData }
@@ -592,6 +643,8 @@ export declare const Drawer: default_2.ForwardRefExoticComponent<{
592
643
  hideClose?: boolean;
593
644
  } & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidClose" | "onVoidOpen" | "open" | "hideClose" | "side"> & {
594
645
  children?: default_2.ReactNode;
646
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
647
+ keys?: KeyOverrides;
595
648
  } & default_2.RefAttributes<VoidDrawer>>;
596
649
 
597
650
  /** Row of buttons at the end, at the trailing edge. Renders `<void-drawer-actions>`, a part of `<void-drawer>`. */
@@ -632,6 +685,8 @@ export declare const DropdownMenu: default_2.ForwardRefExoticComponent<{
632
685
  align?: "start" | "center" | "end";
633
686
  } & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open" | "side" | "align"> & {
634
687
  children?: default_2.ReactNode;
688
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
689
+ keys?: KeyOverrides;
635
690
  } & default_2.RefAttributes<VoidDropdownMenu>>;
636
691
 
637
692
  /** The menu (role="menu") shown in the top layer next to the trigger. Renders `<void-dropdown-menu-content>`, a part of `<void-dropdown-menu>`. */
@@ -653,6 +708,8 @@ export declare const DropdownMenuItem: default_2.ForwardRefExoticComponent<{
653
708
  };
654
709
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value" | "onVoidSelect" | "destructive" | "keepOpen"> & {
655
710
  children?: default_2.ReactNode;
711
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
712
+ keys?: KeyOverrides;
656
713
  } & default_2.RefAttributes<VoidDropdownMenuItem>>;
657
714
 
658
715
  /** Hairline between groups of items. Renders `<void-dropdown-menu-separator>`, a part of `<void-dropdown-menu-content>`. */
@@ -686,6 +743,8 @@ export declare const Editable: default_2.ForwardRefExoticComponent<{
686
743
  Cancel: null;
687
744
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "onVoidCancel" | "editing" | "submitMode"> & {
688
745
  children?: default_2.ReactNode;
746
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
747
+ keys?: KeyOverrides;
689
748
  } & default_2.RefAttributes<VoidEditable>>;
690
749
 
691
750
  export declare const ErrorFallback: default_2.ForwardRefExoticComponent<{
@@ -698,6 +757,8 @@ export declare const ErrorFallback: default_2.ForwardRefExoticComponent<{
698
757
  Retry: null;
699
758
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidRetry" | "heading" | "message" | "retryable" | "retryLabel" | "hideIcon"> & {
700
759
  children?: default_2.ReactNode;
760
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
761
+ keys?: KeyOverrides;
701
762
  } & default_2.RefAttributes<VoidErrorFallback>>;
702
763
 
703
764
  /** Buttons, such as a retry. Wire your own listener: void-retry comes only from the built-in default. Renders `<void-error-fallback-actions>`, a part of `<void-error-fallback>`. */
@@ -722,6 +783,8 @@ export declare const Field: default_2.ForwardRefExoticComponent<{
722
783
  required?: boolean;
723
784
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "error" | "required" | "helper"> & {
724
785
  children?: default_2.ReactNode;
786
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
787
+ keys?: KeyOverrides;
725
788
  } & default_2.RefAttributes<VoidField>>;
726
789
 
727
790
  export declare const FileUpload: default_2.ForwardRefExoticComponent<{
@@ -747,6 +810,8 @@ export declare const FileUpload: default_2.ForwardRefExoticComponent<{
747
810
  };
748
811
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "disabled" | "onVoidChange" | "name" | "required" | "multiple" | "onVoidReject" | "accept" | "maxSize"> & {
749
812
  children?: default_2.ReactNode;
813
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
814
+ keys?: KeyOverrides;
750
815
  } & default_2.RefAttributes<VoidFileUpload>>;
751
816
 
752
817
  export declare const Gauge: default_2.ForwardRefExoticComponent<{
@@ -771,6 +836,8 @@ export declare const Gauge: default_2.ForwardRefExoticComponent<{
771
836
  gaps?: boolean | number;
772
837
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "zones" | "size" | "variant" | "circular" | "value" | "max" | "min" | "unit" | "showTable" | "gaps" | "thickness" | "hideValue" | "unitInline" | "tickMajor" | "tickMinor" | "hideTickMin" | "hideTickMax" | "segmentsSort"> & {
773
838
  children?: default_2.ReactNode;
839
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
840
+ keys?: KeyOverrides;
774
841
  } & default_2.RefAttributes<VoidGauge>>;
775
842
 
776
843
  export { GaugeData }
@@ -789,6 +856,8 @@ export declare const Hamburger: default_2.ForwardRefExoticComponent<{
789
856
  };
790
857
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidClose" | "onVoidOpen" | "open"> & {
791
858
  children?: default_2.ReactNode;
859
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
860
+ keys?: KeyOverrides;
792
861
  } & default_2.RefAttributes<VoidHamburger>>;
793
862
 
794
863
  /**
@@ -808,6 +877,8 @@ export declare const HoverCard: default_2.ForwardRefExoticComponent<{
808
877
  closeDelay?: number;
809
878
  } & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open" | "side" | "align" | "openDelay" | "closeDelay"> & {
810
879
  children?: default_2.ReactNode;
880
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
881
+ keys?: KeyOverrides;
811
882
  } & default_2.RefAttributes<VoidHoverCard>>;
812
883
 
813
884
  /** Shown in the top layer next to the trigger. Renders `<void-hover-card-content>`, a part of `<void-hover-card>`. */
@@ -829,6 +900,8 @@ export declare const Indicator: default_2.ForwardRefExoticComponent<{
829
900
  placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
830
901
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "placement" | "count" | "ping" | "overlay"> & {
831
902
  children?: default_2.ReactNode;
903
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
904
+ keys?: KeyOverrides;
832
905
  } & default_2.RefAttributes<VoidIndicator>>;
833
906
 
834
907
  export declare const Input: default_2.ForwardRefExoticComponent<{
@@ -860,6 +933,8 @@ export declare const Input: default_2.ForwardRefExoticComponent<{
860
933
  };
861
934
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "enterKeyHint" | "inputMode" | "spellcheck" | "pattern" | "error" | "size" | "disabled" | "type" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "readonly" | "autocomplete" | "minlength" | "maxlength" | "autocapitalize"> & {
862
935
  children?: default_2.ReactNode;
936
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
937
+ keys?: KeyOverrides;
863
938
  } & default_2.RefAttributes<VoidInput>>;
864
939
 
865
940
  export declare const LineChart: default_2.ForwardRefExoticComponent<{
@@ -871,6 +946,8 @@ export declare const LineChart: default_2.ForwardRefExoticComponent<{
871
946
  interpolation?: "linear" | "step";
872
947
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "showTable" | "interpolation"> & {
873
948
  children?: default_2.ReactNode;
949
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
950
+ keys?: KeyOverrides;
874
951
  } & default_2.RefAttributes<VoidLineChart>>;
875
952
 
876
953
  export { LineChartData }
@@ -879,6 +956,8 @@ export declare const List: default_2.ForwardRefExoticComponent<{
879
956
  dividers?: boolean;
880
957
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "dividers"> & {
881
958
  children?: default_2.ReactNode;
959
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
960
+ keys?: KeyOverrides;
882
961
  } & default_2.RefAttributes<VoidList>>;
883
962
 
884
963
  export declare const ListItem: default_2.ForwardRefExoticComponent<{
@@ -889,6 +968,8 @@ export declare const ListItem: default_2.ForwardRefExoticComponent<{
889
968
  Click: Record<string, never>;
890
969
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClick" | "disabled" | "selected" | "interactive"> & {
891
970
  children?: default_2.ReactNode;
971
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
972
+ keys?: KeyOverrides;
892
973
  } & default_2.RefAttributes<VoidListItem>>;
893
974
 
894
975
  /**
@@ -908,6 +989,8 @@ export declare const Menu: default_2.ForwardRefExoticComponent<{
908
989
  size?: "sm" | "md" | "lg";
909
990
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "open"> & {
910
991
  children?: default_2.ReactNode;
992
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
993
+ keys?: KeyOverrides;
911
994
  } & default_2.RefAttributes<VoidMenu>>;
912
995
 
913
996
  /** The list (role="menu"): the items, and groups of items. Renders `<void-menu-content>`, a part of `<void-menu>`. */
@@ -922,6 +1005,8 @@ export declare const MenuEmpty: default_2.ForwardRefExoticComponent<Omit<default
922
1005
 
923
1006
  export declare const MenuGroup: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
924
1007
  children?: default_2.ReactNode;
1008
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1009
+ keys?: KeyOverrides;
925
1010
  } & default_2.RefAttributes<VoidMenuGroup>>;
926
1011
 
927
1012
  /** Heading of the group; names it for assistive technology. Renders `<void-menu-group-label>`, a part of `<void-menu-group>`. */
@@ -940,6 +1025,8 @@ export declare const MenuItem: default_2.ForwardRefExoticComponent<{
940
1025
  };
941
1026
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value" | "onVoidSelect"> & {
942
1027
  children?: default_2.ReactNode;
1028
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1029
+ keys?: KeyOverrides;
943
1030
  } & default_2.RefAttributes<VoidMenuItem>>;
944
1031
 
945
1032
  /** A glyph or icon before the label; decorative (add aria-hidden="true"). Renders `<void-menu-item-icon>`, a part of `<void-menu-item>`. */
@@ -975,6 +1062,8 @@ export declare const Multiselect: default_2.ForwardRefExoticComponent<{
975
1062
  };
976
1063
  } & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "placeholder" | "onVoidOpen" | "open"> & {
977
1064
  children?: default_2.ReactNode;
1065
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1066
+ keys?: KeyOverrides;
978
1067
  } & default_2.RefAttributes<VoidMultiselect>>;
979
1068
 
980
1069
  /** The option list (role="listbox", aria-multiselectable) shown in the top layer under the trigger; holds the `<void-option>`s, which stay where they are. Renders `<void-multiselect-content>`, a part of `<void-multiselect>`. */
@@ -988,6 +1077,8 @@ export declare const NavBar: default_2.ForwardRefExoticComponent<{
988
1077
  variant?: "default" | "elevated";
989
1078
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "variant" | "sticky" | "hideBorder"> & {
990
1079
  children?: default_2.ReactNode;
1080
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1081
+ keys?: KeyOverrides;
991
1082
  } & default_2.RefAttributes<VoidNavBar>>;
992
1083
 
993
1084
  export declare const NavMenu: default_2.ForwardRefExoticComponent<{
@@ -995,6 +1086,8 @@ export declare const NavMenu: default_2.ForwardRefExoticComponent<{
995
1086
  width?: string;
996
1087
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "orientation" | "width"> & {
997
1088
  children?: default_2.ReactNode;
1089
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1090
+ keys?: KeyOverrides;
998
1091
  } & default_2.RefAttributes<VoidNavMenu>>;
999
1092
 
1000
1093
  /** The dropdown panel (role="menu"), shown on hover, click or Enter on the trigger. Renders `<void-nav-menu-content>`, a part of `<void-nav-menu-item>`. */
@@ -1015,6 +1108,8 @@ export declare const NavMenuItem: default_2.ForwardRefExoticComponent<{
1015
1108
  };
1016
1109
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "onVoidClose" | "onVoidOpen" | "open" | "current"> & {
1017
1110
  children?: default_2.ReactNode;
1111
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1112
+ keys?: KeyOverrides;
1018
1113
  } & default_2.RefAttributes<VoidNavMenuItem>>;
1019
1114
 
1020
1115
  /** Wraps the one element that is the entry: a <button> that opens a dropdown, or an <a href> that navigates; that element gets the menubar ARIA. Renders `<void-nav-menu-trigger>`, a part of `<void-nav-menu-item>`. */
@@ -1052,6 +1147,8 @@ export declare const NumberInput: default_2.ForwardRefExoticComponent<{
1052
1147
  };
1053
1148
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "prefix" | "color" | "label" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "max" | "onVoidInput" | "placeholder" | "readonly" | "min" | "step" | "precision" | "controls" | "unit"> & {
1054
1149
  children?: default_2.ReactNode;
1150
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1151
+ keys?: KeyOverrides;
1055
1152
  } & default_2.RefAttributes<VoidNumberInput>>;
1056
1153
 
1057
1154
  /** One option of a `<Combobox>` or `<Multiselect>`, inside its `<ComboboxContent>` / `<MultiselectContent>`. */
@@ -1064,6 +1161,8 @@ declare const Option_2: default_2.ForwardRefExoticComponent<{
1064
1161
  label?: string;
1065
1162
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "disabled" | "value" | "selected"> & {
1066
1163
  children?: default_2.ReactNode;
1164
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1165
+ keys?: KeyOverrides;
1067
1166
  } & default_2.RefAttributes<VoidOption>>;
1068
1167
  export { Option_2 as Option }
1069
1168
 
@@ -1104,12 +1203,16 @@ export declare const Pagination: default_2.ForwardRefExoticComponent<{
1104
1203
  };
1105
1204
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "param" | "size" | "onVoidChange" | "value" | "total" | "siblings" | "hrefTemplate"> & {
1106
1205
  children?: default_2.ReactNode;
1206
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1207
+ keys?: KeyOverrides;
1107
1208
  } & default_2.RefAttributes<VoidPagination>>;
1108
1209
 
1109
1210
  export declare const Panel: default_2.ForwardRefExoticComponent<{
1110
1211
  variant?: "default" | "bordered" | "elevated";
1111
1212
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "variant"> & {
1112
1213
  children?: default_2.ReactNode;
1214
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1215
+ keys?: KeyOverrides;
1113
1216
  } & default_2.RefAttributes<VoidPanel>>;
1114
1217
 
1115
1218
  /** Content of the panel. Renders `<void-panel-body>`, a part of `<void-panel>`. */
@@ -1133,7 +1236,7 @@ export declare const PanelTitle: default_2.ForwardRefExoticComponent<Omit<defaul
1133
1236
  } & default_2.RefAttributes<HTMLElement>>;
1134
1237
 
1135
1238
  /** The tag of every part wrapper above. */
1136
- export declare const partTags: readonly ["void-accordion-content", "void-accordion-trigger", "void-alert-close", "void-alert-description", "void-alert-title", "void-banner-actions", "void-banner-close", "void-banner-description", "void-banner-title", "void-breadcrumbs-item", "void-breadcrumbs-list", "void-card-body", "void-card-description", "void-card-footer", "void-card-header", "void-card-title", "void-carousel-content", "void-carousel-indicators", "void-carousel-item", "void-collapsible-content", "void-collapsible-trigger", "void-combobox-content", "void-dialog-actions", "void-dialog-body", "void-dialog-description", "void-dialog-title", "void-drawer-actions", "void-drawer-body", "void-drawer-description", "void-drawer-title", "void-dropdown-menu-content", "void-dropdown-menu-separator", "void-dropdown-menu-trigger", "void-error-fallback-actions", "void-error-fallback-description", "void-error-fallback-title", "void-hover-card-content", "void-hover-card-trigger", "void-menu-content", "void-menu-empty", "void-menu-group-label", "void-menu-item-icon", "void-menu-item-shortcut", "void-menu-search", "void-multiselect-content", "void-nav-menu-content", "void-nav-menu-trigger", "void-panel-body", "void-panel-description", "void-panel-header", "void-panel-title", "void-popover-content", "void-popover-trigger", "void-tabs-content", "void-tabs-list", "void-tabs-trigger", "void-toast-actions", "void-toast-close", "void-toast-description", "void-toast-title", "void-tooltip-content", "void-tooltip-trigger"];
1239
+ export declare const partTags: readonly ["void-accordion-content", "void-accordion-trigger", "void-alert-close", "void-alert-description", "void-alert-title", "void-banner-actions", "void-banner-close", "void-banner-description", "void-banner-title", "void-breadcrumbs-item", "void-breadcrumbs-list", "void-card-body", "void-card-description", "void-card-footer", "void-card-header", "void-card-title", "void-carousel-content", "void-carousel-indicators", "void-carousel-item", "void-collapsible-content", "void-collapsible-trigger", "void-combobox-content", "void-dialog-actions", "void-dialog-body", "void-dialog-description", "void-dialog-title", "void-drawer-actions", "void-drawer-body", "void-drawer-description", "void-drawer-title", "void-dropdown-menu-content", "void-dropdown-menu-separator", "void-dropdown-menu-trigger", "void-error-fallback-actions", "void-error-fallback-description", "void-error-fallback-title", "void-hover-card-content", "void-hover-card-trigger", "void-menu-content", "void-menu-empty", "void-menu-group-label", "void-menu-item-icon", "void-menu-item-shortcut", "void-menu-search", "void-multiselect-content", "void-nav-menu-content", "void-nav-menu-trigger", "void-panel-body", "void-panel-description", "void-panel-header", "void-panel-title", "void-popover-content", "void-popover-trigger", "void-table-empty", "void-table-filter", "void-table-select-all", "void-table-selection", "void-tabs-content", "void-tabs-list", "void-tabs-trigger", "void-toast-actions", "void-toast-close", "void-toast-description", "void-toast-title", "void-tooltip-content", "void-tooltip-trigger"];
1137
1240
 
1138
1241
  export declare const PinInput: default_2.ForwardRefExoticComponent<{
1139
1242
  length?: number;
@@ -1161,6 +1264,8 @@ export declare const PinInput: default_2.ForwardRefExoticComponent<{
1161
1264
  };
1162
1265
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "length" | "color" | "mask" | "size" | "disabled" | "type" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "onVoidComplete" | "groups"> & {
1163
1266
  children?: default_2.ReactNode;
1267
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1268
+ keys?: KeyOverrides;
1164
1269
  } & default_2.RefAttributes<VoidPinInput>>;
1165
1270
 
1166
1271
  /**
@@ -1181,6 +1286,8 @@ export declare const Popover: default_2.ForwardRefExoticComponent<{
1181
1286
  align?: "start" | "center" | "end";
1182
1287
  } & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "trigger" | "onVoidClose" | "onVoidOpen" | "open" | "side" | "align"> & {
1183
1288
  children?: default_2.ReactNode;
1289
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1290
+ keys?: KeyOverrides;
1184
1291
  } & default_2.RefAttributes<VoidPopover>>;
1185
1292
 
1186
1293
  /** Shown in the top layer next to the trigger. Renders `<void-popover-content>`, a part of `<void-popover>`. */
@@ -1201,6 +1308,8 @@ export declare const Progress: default_2.ForwardRefExoticComponent<{
1201
1308
  indeterminate?: boolean;
1202
1309
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "value" | "max" | "indeterminate"> & {
1203
1310
  children?: default_2.ReactNode;
1311
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1312
+ keys?: KeyOverrides;
1204
1313
  } & default_2.RefAttributes<VoidProgress>>;
1205
1314
 
1206
1315
  export declare const Radio: default_2.ForwardRefExoticComponent<{
@@ -1219,6 +1328,8 @@ export declare const Radio: default_2.ForwardRefExoticComponent<{
1219
1328
  };
1220
1329
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "checked" | "name" | "required" | "value"> & {
1221
1330
  children?: default_2.ReactNode;
1331
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1332
+ keys?: KeyOverrides;
1222
1333
  } & default_2.RefAttributes<VoidRadio>>;
1223
1334
 
1224
1335
  export declare const RadioGroup: default_2.ForwardRefExoticComponent<{
@@ -1236,6 +1347,8 @@ export declare const RadioGroup: default_2.ForwardRefExoticComponent<{
1236
1347
  };
1237
1348
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "disabled" | "orientation" | "onVoidChange" | "name" | "required" | "value"> & {
1238
1349
  children?: default_2.ReactNode;
1350
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1351
+ keys?: KeyOverrides;
1239
1352
  } & default_2.RefAttributes<VoidRadioGroup>>;
1240
1353
 
1241
1354
  export declare const ScrollArea: default_2.ForwardRefExoticComponent<{
@@ -1243,6 +1356,8 @@ export declare const ScrollArea: default_2.ForwardRefExoticComponent<{
1243
1356
  orientation?: "vertical" | "horizontal" | "both";
1244
1357
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "orientation" | "maxHeight"> & {
1245
1358
  children?: default_2.ReactNode;
1359
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1360
+ keys?: KeyOverrides;
1246
1361
  } & default_2.RefAttributes<VoidScrollArea>>;
1247
1362
 
1248
1363
  export declare const SegmentedControl: default_2.ForwardRefExoticComponent<{
@@ -1259,6 +1374,8 @@ export declare const SegmentedControl: default_2.ForwardRefExoticComponent<{
1259
1374
  };
1260
1375
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value"> & {
1261
1376
  children?: default_2.ReactNode;
1377
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1378
+ keys?: KeyOverrides;
1262
1379
  } & default_2.RefAttributes<VoidSegmentedControl>>;
1263
1380
 
1264
1381
  export declare const SegmentedControlItem: default_2.ForwardRefExoticComponent<{
@@ -1266,6 +1383,8 @@ export declare const SegmentedControlItem: default_2.ForwardRefExoticComponent<{
1266
1383
  disabled?: boolean;
1267
1384
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value"> & {
1268
1385
  children?: default_2.ReactNode;
1386
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1387
+ keys?: KeyOverrides;
1269
1388
  } & default_2.RefAttributes<VoidSegmentedControlItem>>;
1270
1389
 
1271
1390
  /**
@@ -1282,6 +1401,8 @@ export declare const Select: default_2.ForwardRefExoticComponent<{
1282
1401
  };
1283
1402
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "size" | "onVoidChange" | "value"> & {
1284
1403
  children?: default_2.ReactNode;
1404
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1405
+ keys?: KeyOverrides;
1285
1406
  } & default_2.RefAttributes<VoidSelect>>;
1286
1407
 
1287
1408
  export declare const Sidebar: default_2.ForwardRefExoticComponent<{
@@ -1298,12 +1419,16 @@ export declare const Sidebar: default_2.ForwardRefExoticComponent<{
1298
1419
  };
1299
1420
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "side" | "onVoidCollapse" | "onVoidExpand" | "collapsed" | "width" | "collapsedWidth"> & {
1300
1421
  children?: default_2.ReactNode;
1422
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1423
+ keys?: KeyOverrides;
1301
1424
  } & default_2.RefAttributes<VoidSidebar>>;
1302
1425
 
1303
1426
  export declare const Skeleton: default_2.ForwardRefExoticComponent<{
1304
1427
  shape?: "text" | "circular" | "rectangular";
1305
1428
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "shape"> & {
1306
1429
  children?: default_2.ReactNode;
1430
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1431
+ keys?: KeyOverrides;
1307
1432
  } & default_2.RefAttributes<VoidSkeleton>>;
1308
1433
 
1309
1434
  export declare const Slider: default_2.ForwardRefExoticComponent<{
@@ -1324,6 +1449,8 @@ export declare const Slider: default_2.ForwardRefExoticComponent<{
1324
1449
  };
1325
1450
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "value" | "max" | "onVoidInput" | "min" | "step" | "showValue"> & {
1326
1451
  children?: default_2.ReactNode;
1452
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1453
+ keys?: KeyOverrides;
1327
1454
  } & default_2.RefAttributes<VoidSlider>>;
1328
1455
 
1329
1456
  export declare const Spinner: default_2.ForwardRefExoticComponent<{
@@ -1331,6 +1458,8 @@ export declare const Spinner: default_2.ForwardRefExoticComponent<{
1331
1458
  label?: string;
1332
1459
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "size"> & {
1333
1460
  children?: default_2.ReactNode;
1461
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1462
+ keys?: KeyOverrides;
1334
1463
  } & default_2.RefAttributes<VoidSpinner>>;
1335
1464
 
1336
1465
  export declare const Stat: default_2.ForwardRefExoticComponent<{
@@ -1344,12 +1473,16 @@ export declare const Stat: default_2.ForwardRefExoticComponent<{
1344
1473
  size?: "sm" | "md" | "lg";
1345
1474
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "label" | "size" | "value" | "delta" | "description" | "trend"> & {
1346
1475
  children?: default_2.ReactNode;
1476
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1477
+ keys?: KeyOverrides;
1347
1478
  } & default_2.RefAttributes<VoidStat>>;
1348
1479
 
1349
1480
  export declare const StatusDot: default_2.ForwardRefExoticComponent<{
1350
1481
  status?: "online" | "away" | "offline";
1351
1482
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "status"> & {
1352
1483
  children?: default_2.ReactNode;
1484
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1485
+ keys?: KeyOverrides;
1353
1486
  } & default_2.RefAttributes<VoidStatusDot>>;
1354
1487
 
1355
1488
  export declare const Stepper: default_2.ForwardRefExoticComponent<{
@@ -1357,6 +1490,8 @@ export declare const Stepper: default_2.ForwardRefExoticComponent<{
1357
1490
  steps?: string;
1358
1491
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "value" | "steps"> & {
1359
1492
  children?: default_2.ReactNode;
1493
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1494
+ keys?: KeyOverrides;
1360
1495
  } & default_2.RefAttributes<VoidStepper>>;
1361
1496
 
1362
1497
  export declare const Switch: default_2.ForwardRefExoticComponent<{
@@ -1377,6 +1512,8 @@ export declare const Switch: default_2.ForwardRefExoticComponent<{
1377
1512
  };
1378
1513
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "checked" | "name" | "required" | "value"> & {
1379
1514
  children?: default_2.ReactNode;
1515
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1516
+ keys?: KeyOverrides;
1380
1517
  } & default_2.RefAttributes<VoidSwitch>>;
1381
1518
 
1382
1519
  export declare const Table: default_2.ForwardRefExoticComponent<{
@@ -1403,10 +1540,67 @@ export declare const Table: default_2.ForwardRefExoticComponent<{
1403
1540
  maxHeight?: string;
1404
1541
  /** Accessible name of the scroll region (default: the caption). */
1405
1542
  label?: string;
1406
- } & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "bordered" | "scrollable" | "maxHeight" | "striped" | "hoverable" | "compact" | "inset" | "stack" | "stickyHeader" | "stickyColumn"> & {
1543
+ /** Key (`data-key` of the header cell, else its position) of the sorted column. */
1544
+ sort?: string;
1545
+ /** Direction of the sort; `sort` without it is ascending. */
1546
+ sortDirection?: "ascending" | "descending";
1547
+ /** Hides the rows that do not contain every word (no case, no accents). */
1548
+ filter?: string;
1549
+ /** Keys of the columns `filter` looks at (default: all). */
1550
+ filterColumns?: string;
1551
+ /** Wire the row checkboxes: `""` or `true` for many rows, `"single"` for one. */
1552
+ selectable?: string | boolean;
1553
+ /** The server renders order, visibility, `aria-sort` and selection; the table only fires events. */
1554
+ manual?: boolean;
1555
+ /** The selected row values (`data-value` of the rows, else their position). Form value when `name` is set. */
1556
+ value?: string[];
1557
+ name?: string;
1558
+ /** At least one row selected, for a form. */
1559
+ required?: boolean;
1560
+ /** Rows in all, across the server's pages: lets `<TableSelectAll>` offer "all N rows". */
1561
+ totalRows?: number;
1562
+ /** The user chose every row across the server's pages. */
1563
+ allSelected?: boolean;
1564
+ } & VoidEvents<{
1565
+ Sort: {
1566
+ column: string;
1567
+ direction: "ascending" | "descending" | "none";
1568
+ };
1569
+ Filter: {
1570
+ filter: string;
1571
+ shown: number;
1572
+ total: number;
1573
+ };
1574
+ Change: {
1575
+ value: string[];
1576
+ all: boolean;
1577
+ };
1578
+ }> & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "filter" | "onVoidChange" | "name" | "required" | "value" | "bordered" | "manual" | "scrollable" | "maxHeight" | "onVoidSort" | "onVoidFilter" | "striped" | "hoverable" | "compact" | "inset" | "stack" | "stickyHeader" | "stickyColumn" | "sort" | "sortDirection" | "filterColumns" | "selectable" | "totalRows" | "allSelected"> & {
1407
1579
  children?: default_2.ReactNode;
1580
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1581
+ keys?: KeyOverrides;
1408
1582
  } & default_2.RefAttributes<VoidTable>>;
1409
1583
 
1584
+ /** Shown (the component removes `hidden`) while the filter matches no row. Write it with `hidden`. Renders `<void-table-empty>`, a part of `<void-table>`. */
1585
+ export declare const TableEmpty: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
1586
+ children?: default_2.ReactNode;
1587
+ } & default_2.RefAttributes<HTMLElement>>;
1588
+
1589
+ /** Holds the native search input (or a void-input) that filters the rows; typing is debounced. Place it anywhere inside the void-table. Renders `<void-table-filter>`, a part of `<void-table>`. */
1590
+ export declare const TableFilter: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
1591
+ children?: default_2.ReactNode;
1592
+ } & default_2.RefAttributes<HTMLElement>>;
1593
+
1594
+ /** With `total-rows` greater than the rows present, shown when select-all is checked; a button inside it ("Select all 1,250 rows") sets `all-selected` and fires void-change with `all: true`. Write it with `hidden`. Renders `<void-table-select-all>`, a part of `<void-table>`. */
1595
+ export declare const TableSelectAll: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
1596
+ children?: default_2.ReactNode;
1597
+ } & default_2.RefAttributes<HTMLElement>>;
1598
+
1599
+ /** Shown while any row is selected; holds the bulk actions. An element with `data-count` inside it receives the number of selected rows. Write it with `hidden`. Renders `<void-table-selection>`, a part of `<void-table>`. */
1600
+ export declare const TableSelection: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
1601
+ children?: default_2.ReactNode;
1602
+ } & default_2.RefAttributes<HTMLElement>>;
1603
+
1410
1604
  export declare const Tabs: default_2.ForwardRefExoticComponent<{
1411
1605
  value?: string;
1412
1606
  size?: "sm" | "md" | "lg";
@@ -1418,6 +1612,8 @@ export declare const Tabs: default_2.ForwardRefExoticComponent<{
1418
1612
  };
1419
1613
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidChange" | "value" | "activation"> & {
1420
1614
  children?: default_2.ReactNode;
1615
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1616
+ keys?: KeyOverrides;
1421
1617
  } & default_2.RefAttributes<VoidTabs>>;
1422
1618
 
1423
1619
  /** One panel (role="tabpanel"), shown while the tab with the same value is selected. Renders `<void-tabs-content>`, a part of `<void-tabs>`. */
@@ -1455,6 +1651,8 @@ export declare const Tag: default_2.ForwardRefExoticComponent<{
1455
1651
  Remove: null;
1456
1652
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "onVoidRemove" | "removable"> & {
1457
1653
  children?: default_2.ReactNode;
1654
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1655
+ keys?: KeyOverrides;
1458
1656
  } & default_2.RefAttributes<VoidTag>>;
1459
1657
 
1460
1658
  export declare const TagsInput: default_2.ForwardRefExoticComponent<{
@@ -1480,6 +1678,8 @@ export declare const TagsInput: default_2.ForwardRefExoticComponent<{
1480
1678
  };
1481
1679
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "variant" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "max" | "placeholder" | "readonly" | "allowDuplicates"> & {
1482
1680
  children?: default_2.ReactNode;
1681
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1682
+ keys?: KeyOverrides;
1483
1683
  } & default_2.RefAttributes<VoidTagsInput>>;
1484
1684
 
1485
1685
  declare type TagValue = string | {
@@ -1516,6 +1716,8 @@ export declare const Textarea: default_2.ForwardRefExoticComponent<{
1516
1716
  };
1517
1717
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "enterKeyHint" | "inputMode" | "spellcheck" | "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "readonly" | "autocomplete" | "minlength" | "maxlength" | "autocapitalize" | "rows" | "resize"> & {
1518
1718
  children?: default_2.ReactNode;
1719
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1720
+ keys?: KeyOverrides;
1519
1721
  } & default_2.RefAttributes<VoidTextarea>>;
1520
1722
 
1521
1723
  declare type Theme = 'dark' | 'light';
@@ -1529,6 +1731,8 @@ export declare const Toast: default_2.ForwardRefExoticComponent<{
1529
1731
  };
1530
1732
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "onVoidClose" | "duration"> & {
1531
1733
  children?: default_2.ReactNode;
1734
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1735
+ keys?: KeyOverrides;
1532
1736
  } & default_2.RefAttributes<VoidToast>>;
1533
1737
 
1534
1738
  /** Buttons for the notification, such as Undo. Renders `<void-toast-actions>`, a part of `<void-toast>`. */
@@ -1545,6 +1749,8 @@ export declare const ToastContainer: default_2.ForwardRefExoticComponent<{
1545
1749
  placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center" | "bottom-center" | "inline";
1546
1750
  } & Omit<default_2.HTMLAttributes<HTMLElement>, "placement"> & {
1547
1751
  children?: default_2.ReactNode;
1752
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1753
+ keys?: KeyOverrides;
1548
1754
  } & default_2.RefAttributes<VoidToastContainer>>;
1549
1755
 
1550
1756
  /** The message. Renders `<void-toast-description>`, a part of `<void-toast>`. */
@@ -1572,6 +1778,8 @@ export declare const Toggle: default_2.ForwardRefExoticComponent<{
1572
1778
  };
1573
1779
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "variant" | "disabled" | "onVoidChange" | "value" | "pressed"> & {
1574
1780
  children?: default_2.ReactNode;
1781
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1782
+ keys?: KeyOverrides;
1575
1783
  } & default_2.RefAttributes<VoidToggle>>;
1576
1784
 
1577
1785
  export declare const ToggleGroup: default_2.ForwardRefExoticComponent<{
@@ -1591,6 +1799,8 @@ export declare const ToggleGroup: default_2.ForwardRefExoticComponent<{
1591
1799
  };
1592
1800
  }> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "orientation" | "onVoidChange" | "name" | "required" | "value" | "multiple"> & {
1593
1801
  children?: default_2.ReactNode;
1802
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1803
+ keys?: KeyOverrides;
1594
1804
  } & default_2.RefAttributes<VoidToggleGroup>>;
1595
1805
 
1596
1806
  /**
@@ -1610,6 +1820,8 @@ export declare const Tooltip: default_2.ForwardRefExoticComponent<{
1610
1820
  open?: boolean;
1611
1821
  } & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open" | "side" | "align" | "delay"> & {
1612
1822
  children?: default_2.ReactNode;
1823
+ /** Key bindings for this element's actions, as an object: `{ close: [], next: ['j'] }`. `[]` or `null` switches an action off. Only the elements with key actions read it (see the keyboard guide). */
1824
+ keys?: KeyOverrides;
1613
1825
  } & default_2.RefAttributes<VoidTooltip>>;
1614
1826
 
1615
1827
  /** Shown in the top layer next to the trigger. Renders `<void-tooltip-content>`, a part of `<void-tooltip>`. */
package/dist/index.js CHANGED
@@ -86,14 +86,15 @@ function ne(e, t, n) {
86
86
  };
87
87
  }, [e]);
88
88
  }
89
- var re = {
89
+ var m = {
90
90
  "void-bar-chart": ["data"],
91
91
  "void-line-chart": ["data"],
92
92
  "void-donut-chart": ["data"],
93
93
  "void-gauge": ["data", "zones"]
94
- };
95
- function m(r, i) {
96
- let o = re[r] ?? [], s = t((t, i) => {
94
+ }, re = /* @__PURE__ */ "void-accordion-item.void-button.void-calendar.void-carousel.void-carousel-next.void-carousel-previous.void-checkbox.void-collapsible.void-combobox.void-compose-input.void-date-picker.void-dialog.void-drawer.void-dropdown-menu.void-dropdown-menu-item.void-editable.void-file-upload.void-hamburger.void-hover-card.void-menu.void-menu-item.void-multiselect.void-nav-menu.void-number-input.void-pin-input.void-popover.void-radio.void-segmented-control.void-segmented-control-item.void-switch.void-table.void-tabs.void-tags-input.void-toggle.void-toggle-group.void-tooltip".split(".");
95
+ for (let e of re) m[e] = [...m[e] ?? [], "keys"];
96
+ function h(r, i) {
97
+ let o = m[r] ?? [], s = t((t, i) => {
97
98
  let s = a(null), { react: c, elementProps: l, events: u } = ee(t, o);
98
99
  ne(s, l, u);
99
100
  let d = n((e) => {
@@ -106,37 +107,37 @@ function m(r, i) {
106
107
  });
107
108
  return s.displayName = i, s;
108
109
  }
109
- var ie = m("void-badge", "Badge"), h = m("void-button", "Button"), g = m("void-divider", "Divider"), _ = m("void-spinner", "Spinner"), v = m("void-skeleton", "Skeleton"), y = m("void-status-dot", "StatusDot"), b = m("void-switch", "Switch"), x = m("void-avatar", "Avatar"), S = m("void-alert", "Alert"), C = m("void-tag", "Tag"), w = m("void-progress", "Progress"), T = m("void-panel", "Panel"), E = m("void-input", "Input"), D = m("void-textarea", "Textarea"), O = m("void-select", "Select"), k = m("void-checkbox", "Checkbox"), A = m("void-radio", "Radio"), j = m("void-radio-group", "RadioGroup"), M = m("void-field", "Field"), N = m("void-multiselect", "Multiselect"), P = m("void-option", "Option"), F = m("void-dialog", "Dialog"), I = m("void-tabs", "Tabs"), L = m("void-accordion", "Accordion"), R = m("void-accordion-item", "AccordionItem"), z = m("void-breadcrumbs", "Breadcrumbs"), B = m("void-list", "List"), V = m("void-list-item", "ListItem"), H = m("void-toast", "Toast"), U = m("void-toast-container", "ToastContainer"), W = m("void-stepper", "Stepper"), G = m("void-drawer", "Drawer"), K = m("void-card", "Card"), q = m("void-popover", "Popover"), J = m("void-tooltip", "Tooltip"), Y = m("void-banner", "Banner"), ae = m("void-scroll-area", "ScrollArea"), oe = m("void-table", "Table"), se = m("void-pagination", "Pagination"), ce = m("void-error-fallback", "ErrorFallback"), le = m("void-checkbox-group", "CheckboxGroup"), ue = m("void-combobox", "Combobox"), de = m("void-slider", "Slider"), fe = m("void-file-upload", "FileUpload"), pe = m("void-nav-bar", "NavBar"), me = m("void-hamburger", "Hamburger"), he = m("void-compose-input", "ComposeInput"), ge = m("void-sidebar", "Sidebar"), _e = m("void-dropdown-menu", "DropdownMenu"), ve = m("void-dropdown-menu-item", "DropdownMenuItem"), ye = m("void-toggle", "Toggle"), be = m("void-segmented-control", "SegmentedControl"), xe = m("void-segmented-control-item", "SegmentedControlItem"), Se = m("void-stat", "Stat"), Ce = m("void-indicator", "Indicator"), we = m("void-menu", "Menu"), Te = m("void-menu-item", "MenuItem"), Ee = m("void-menu-group", "MenuGroup"), De = m("void-carousel", "Carousel"), Oe = m("void-carousel-previous", "CarouselPrevious"), ke = m("void-carousel-next", "CarouselNext"), Ae = m("void-calendar", "Calendar"), je = m("void-date-picker", "DatePicker"), Me = m("void-number-input", "NumberInput"), Ne = m("void-toggle-group", "ToggleGroup"), Pe = m("void-collapsible", "Collapsible"), Fe = m("void-editable", "Editable"), Ie = m("void-hover-card", "HoverCard"), Le = m("void-pin-input", "PinInput"), Re = m("void-tags-input", "TagsInput"), ze = m("void-nav-menu", "NavMenu"), Be = m("void-nav-menu-item", "NavMenuItem"), Ve = m("void-color-picker", "ColorPicker"), He = m("void-action-input", "ActionInput"), Ue = m("void-bar-chart", "BarChart"), We = m("void-line-chart", "LineChart"), Ge = m("void-donut-chart", "DonutChart"), Ke = m("void-gauge", "Gauge"), X = "dark", Z = "(prefers-color-scheme: light)", qe = [
110
+ var ie = h("void-badge", "Badge"), g = h("void-button", "Button"), _ = h("void-divider", "Divider"), v = h("void-spinner", "Spinner"), y = h("void-skeleton", "Skeleton"), b = h("void-status-dot", "StatusDot"), x = h("void-switch", "Switch"), S = h("void-avatar", "Avatar"), C = h("void-alert", "Alert"), w = h("void-tag", "Tag"), T = h("void-progress", "Progress"), E = h("void-panel", "Panel"), D = h("void-input", "Input"), O = h("void-textarea", "Textarea"), k = h("void-select", "Select"), A = h("void-checkbox", "Checkbox"), j = h("void-radio", "Radio"), M = h("void-radio-group", "RadioGroup"), N = h("void-field", "Field"), P = h("void-multiselect", "Multiselect"), F = h("void-option", "Option"), I = h("void-dialog", "Dialog"), L = h("void-tabs", "Tabs"), R = h("void-accordion", "Accordion"), z = h("void-accordion-item", "AccordionItem"), B = h("void-breadcrumbs", "Breadcrumbs"), V = h("void-list", "List"), H = h("void-list-item", "ListItem"), U = h("void-toast", "Toast"), W = h("void-toast-container", "ToastContainer"), G = h("void-stepper", "Stepper"), K = h("void-drawer", "Drawer"), q = h("void-card", "Card"), J = h("void-popover", "Popover"), Y = h("void-tooltip", "Tooltip"), ae = h("void-banner", "Banner"), oe = h("void-scroll-area", "ScrollArea"), se = h("void-table", "Table"), ce = h("void-pagination", "Pagination"), le = h("void-error-fallback", "ErrorFallback"), ue = h("void-checkbox-group", "CheckboxGroup"), de = h("void-combobox", "Combobox"), fe = h("void-slider", "Slider"), pe = h("void-file-upload", "FileUpload"), me = h("void-nav-bar", "NavBar"), he = h("void-hamburger", "Hamburger"), ge = h("void-compose-input", "ComposeInput"), _e = h("void-sidebar", "Sidebar"), ve = h("void-dropdown-menu", "DropdownMenu"), ye = h("void-dropdown-menu-item", "DropdownMenuItem"), be = h("void-toggle", "Toggle"), xe = h("void-segmented-control", "SegmentedControl"), Se = h("void-segmented-control-item", "SegmentedControlItem"), Ce = h("void-stat", "Stat"), we = h("void-indicator", "Indicator"), Te = h("void-menu", "Menu"), Ee = h("void-menu-item", "MenuItem"), De = h("void-menu-group", "MenuGroup"), Oe = h("void-carousel", "Carousel"), ke = h("void-carousel-previous", "CarouselPrevious"), Ae = h("void-carousel-next", "CarouselNext"), je = h("void-calendar", "Calendar"), Me = h("void-date-picker", "DatePicker"), Ne = h("void-number-input", "NumberInput"), Pe = h("void-toggle-group", "ToggleGroup"), Fe = h("void-collapsible", "Collapsible"), Ie = h("void-editable", "Editable"), Le = h("void-hover-card", "HoverCard"), Re = h("void-pin-input", "PinInput"), ze = h("void-tags-input", "TagsInput"), Be = h("void-nav-menu", "NavMenu"), Ve = h("void-nav-menu-item", "NavMenuItem"), He = h("void-color-picker", "ColorPicker"), Ue = h("void-action-input", "ActionInput"), We = h("void-bar-chart", "BarChart"), Ge = h("void-line-chart", "LineChart"), Ke = h("void-donut-chart", "DonutChart"), qe = h("void-gauge", "Gauge"), X = "dark", Z = "(prefers-color-scheme: light)", Je = [
110
111
  "data-theme",
111
112
  "data-void-theme",
112
113
  "data-void-skin",
113
114
  "class",
114
115
  "style"
115
116
  ];
116
- function Je() {
117
+ function Ye() {
117
118
  if (typeof document > "u") return X;
118
119
  let e = document.documentElement, t = getComputedStyle(e).getPropertyValue("--void-color-scheme").trim();
119
120
  if (t === "light" || t === "dark") return t;
120
121
  let n = e.getAttribute("data-theme");
121
122
  return n === "light" || n === "dark" ? n : typeof matchMedia == "function" && matchMedia(Z).matches ? "light" : "dark";
122
123
  }
123
- function Ye() {
124
+ function Xe() {
124
125
  return X;
125
126
  }
126
- function Xe(e) {
127
+ function Ze(e) {
127
128
  if (typeof document > "u") return () => {};
128
129
  let t;
129
130
  typeof MutationObserver < "u" && (t = new MutationObserver(e), t.observe(document.documentElement, {
130
131
  attributes: !0,
131
- attributeFilter: qe
132
+ attributeFilter: Je
132
133
  }));
133
134
  let n = typeof matchMedia == "function" ? matchMedia(Z) : void 0;
134
135
  return n?.addEventListener("change", e), () => {
135
136
  t?.disconnect(), n?.removeEventListener("change", e);
136
137
  };
137
138
  }
138
- function Ze() {
139
- return o(Xe, Je, Ye);
139
+ function Qe() {
140
+ return o(Ze, Ye, Xe);
140
141
  }
141
142
  //#endregion
142
143
  //#region src/parts.generated.tsx
@@ -148,6 +149,6 @@ function Q(n, r) {
148
149
  });
149
150
  return i.displayName = r, i;
150
151
  }
151
- var Qe = Q("void-accordion-content", "AccordionContent"), $e = Q("void-accordion-trigger", "AccordionTrigger"), et = Q("void-alert-close", "AlertClose"), tt = Q("void-alert-description", "AlertDescription"), nt = Q("void-alert-title", "AlertTitle"), rt = Q("void-banner-actions", "BannerActions"), it = Q("void-banner-close", "BannerClose"), at = Q("void-banner-description", "BannerDescription"), ot = Q("void-banner-title", "BannerTitle"), st = Q("void-breadcrumbs-item", "BreadcrumbsItem"), ct = Q("void-breadcrumbs-list", "BreadcrumbsList"), lt = Q("void-card-body", "CardBody"), ut = Q("void-card-description", "CardDescription"), dt = Q("void-card-footer", "CardFooter"), ft = Q("void-card-header", "CardHeader"), pt = Q("void-card-title", "CardTitle"), mt = Q("void-carousel-content", "CarouselContent"), ht = Q("void-carousel-indicators", "CarouselIndicators"), gt = Q("void-carousel-item", "CarouselItem"), _t = Q("void-collapsible-content", "CollapsibleContent"), vt = Q("void-collapsible-trigger", "CollapsibleTrigger"), yt = Q("void-combobox-content", "ComboboxContent"), bt = Q("void-dialog-actions", "DialogActions"), xt = Q("void-dialog-body", "DialogBody"), St = Q("void-dialog-description", "DialogDescription"), Ct = Q("void-dialog-title", "DialogTitle"), wt = Q("void-drawer-actions", "DrawerActions"), Tt = Q("void-drawer-body", "DrawerBody"), Et = Q("void-drawer-description", "DrawerDescription"), Dt = Q("void-drawer-title", "DrawerTitle"), Ot = Q("void-dropdown-menu-content", "DropdownMenuContent"), kt = Q("void-dropdown-menu-separator", "DropdownMenuSeparator"), At = Q("void-dropdown-menu-trigger", "DropdownMenuTrigger"), jt = Q("void-error-fallback-actions", "ErrorFallbackActions"), Mt = Q("void-error-fallback-description", "ErrorFallbackDescription"), Nt = Q("void-error-fallback-title", "ErrorFallbackTitle"), Pt = Q("void-hover-card-content", "HoverCardContent"), Ft = Q("void-hover-card-trigger", "HoverCardTrigger"), It = Q("void-menu-content", "MenuContent"), Lt = Q("void-menu-empty", "MenuEmpty"), Rt = Q("void-menu-group-label", "MenuGroupLabel"), zt = Q("void-menu-item-icon", "MenuItemIcon"), Bt = Q("void-menu-item-shortcut", "MenuItemShortcut"), Vt = Q("void-menu-search", "MenuSearch"), Ht = Q("void-multiselect-content", "MultiselectContent"), Ut = Q("void-nav-menu-content", "NavMenuContent"), Wt = Q("void-nav-menu-trigger", "NavMenuTrigger"), Gt = Q("void-panel-body", "PanelBody"), Kt = Q("void-panel-description", "PanelDescription"), qt = Q("void-panel-header", "PanelHeader"), $ = Q("void-panel-title", "PanelTitle"), Jt = Q("void-popover-content", "PopoverContent"), Yt = Q("void-popover-trigger", "PopoverTrigger"), Xt = Q("void-tabs-content", "TabsContent"), Zt = Q("void-tabs-list", "TabsList"), Qt = Q("void-tabs-trigger", "TabsTrigger"), $t = Q("void-toast-actions", "ToastActions"), en = Q("void-toast-close", "ToastClose"), tn = Q("void-toast-description", "ToastDescription"), nn = Q("void-toast-title", "ToastTitle"), rn = Q("void-tooltip-content", "TooltipContent"), an = Q("void-tooltip-trigger", "TooltipTrigger"), on = /* @__PURE__ */ "void-accordion-content.void-accordion-trigger.void-alert-close.void-alert-description.void-alert-title.void-banner-actions.void-banner-close.void-banner-description.void-banner-title.void-breadcrumbs-item.void-breadcrumbs-list.void-card-body.void-card-description.void-card-footer.void-card-header.void-card-title.void-carousel-content.void-carousel-indicators.void-carousel-item.void-collapsible-content.void-collapsible-trigger.void-combobox-content.void-dialog-actions.void-dialog-body.void-dialog-description.void-dialog-title.void-drawer-actions.void-drawer-body.void-drawer-description.void-drawer-title.void-dropdown-menu-content.void-dropdown-menu-separator.void-dropdown-menu-trigger.void-error-fallback-actions.void-error-fallback-description.void-error-fallback-title.void-hover-card-content.void-hover-card-trigger.void-menu-content.void-menu-empty.void-menu-group-label.void-menu-item-icon.void-menu-item-shortcut.void-menu-search.void-multiselect-content.void-nav-menu-content.void-nav-menu-trigger.void-panel-body.void-panel-description.void-panel-header.void-panel-title.void-popover-content.void-popover-trigger.void-tabs-content.void-tabs-list.void-tabs-trigger.void-toast-actions.void-toast-close.void-toast-description.void-toast-title.void-tooltip-content.void-tooltip-trigger".split(".");
152
+ var $e = Q("void-accordion-content", "AccordionContent"), et = Q("void-accordion-trigger", "AccordionTrigger"), tt = Q("void-alert-close", "AlertClose"), nt = Q("void-alert-description", "AlertDescription"), rt = Q("void-alert-title", "AlertTitle"), it = Q("void-banner-actions", "BannerActions"), at = Q("void-banner-close", "BannerClose"), ot = Q("void-banner-description", "BannerDescription"), st = Q("void-banner-title", "BannerTitle"), ct = Q("void-breadcrumbs-item", "BreadcrumbsItem"), lt = Q("void-breadcrumbs-list", "BreadcrumbsList"), ut = Q("void-card-body", "CardBody"), dt = Q("void-card-description", "CardDescription"), ft = Q("void-card-footer", "CardFooter"), pt = Q("void-card-header", "CardHeader"), mt = Q("void-card-title", "CardTitle"), ht = Q("void-carousel-content", "CarouselContent"), gt = Q("void-carousel-indicators", "CarouselIndicators"), _t = Q("void-carousel-item", "CarouselItem"), vt = Q("void-collapsible-content", "CollapsibleContent"), yt = Q("void-collapsible-trigger", "CollapsibleTrigger"), bt = Q("void-combobox-content", "ComboboxContent"), xt = Q("void-dialog-actions", "DialogActions"), St = Q("void-dialog-body", "DialogBody"), Ct = Q("void-dialog-description", "DialogDescription"), wt = Q("void-dialog-title", "DialogTitle"), Tt = Q("void-drawer-actions", "DrawerActions"), Et = Q("void-drawer-body", "DrawerBody"), Dt = Q("void-drawer-description", "DrawerDescription"), Ot = Q("void-drawer-title", "DrawerTitle"), kt = Q("void-dropdown-menu-content", "DropdownMenuContent"), At = Q("void-dropdown-menu-separator", "DropdownMenuSeparator"), jt = Q("void-dropdown-menu-trigger", "DropdownMenuTrigger"), Mt = Q("void-error-fallback-actions", "ErrorFallbackActions"), Nt = Q("void-error-fallback-description", "ErrorFallbackDescription"), Pt = Q("void-error-fallback-title", "ErrorFallbackTitle"), Ft = Q("void-hover-card-content", "HoverCardContent"), It = Q("void-hover-card-trigger", "HoverCardTrigger"), Lt = Q("void-menu-content", "MenuContent"), Rt = Q("void-menu-empty", "MenuEmpty"), zt = Q("void-menu-group-label", "MenuGroupLabel"), Bt = Q("void-menu-item-icon", "MenuItemIcon"), Vt = Q("void-menu-item-shortcut", "MenuItemShortcut"), Ht = Q("void-menu-search", "MenuSearch"), Ut = Q("void-multiselect-content", "MultiselectContent"), Wt = Q("void-nav-menu-content", "NavMenuContent"), Gt = Q("void-nav-menu-trigger", "NavMenuTrigger"), Kt = Q("void-panel-body", "PanelBody"), qt = Q("void-panel-description", "PanelDescription"), $ = Q("void-panel-header", "PanelHeader"), Jt = Q("void-panel-title", "PanelTitle"), Yt = Q("void-popover-content", "PopoverContent"), Xt = Q("void-popover-trigger", "PopoverTrigger"), Zt = Q("void-table-empty", "TableEmpty"), Qt = Q("void-table-filter", "TableFilter"), $t = Q("void-table-select-all", "TableSelectAll"), en = Q("void-table-selection", "TableSelection"), tn = Q("void-tabs-content", "TabsContent"), nn = Q("void-tabs-list", "TabsList"), rn = Q("void-tabs-trigger", "TabsTrigger"), an = Q("void-toast-actions", "ToastActions"), on = Q("void-toast-close", "ToastClose"), sn = Q("void-toast-description", "ToastDescription"), cn = Q("void-toast-title", "ToastTitle"), ln = Q("void-tooltip-content", "TooltipContent"), un = Q("void-tooltip-trigger", "TooltipTrigger"), dn = /* @__PURE__ */ "void-accordion-content.void-accordion-trigger.void-alert-close.void-alert-description.void-alert-title.void-banner-actions.void-banner-close.void-banner-description.void-banner-title.void-breadcrumbs-item.void-breadcrumbs-list.void-card-body.void-card-description.void-card-footer.void-card-header.void-card-title.void-carousel-content.void-carousel-indicators.void-carousel-item.void-collapsible-content.void-collapsible-trigger.void-combobox-content.void-dialog-actions.void-dialog-body.void-dialog-description.void-dialog-title.void-drawer-actions.void-drawer-body.void-drawer-description.void-drawer-title.void-dropdown-menu-content.void-dropdown-menu-separator.void-dropdown-menu-trigger.void-error-fallback-actions.void-error-fallback-description.void-error-fallback-title.void-hover-card-content.void-hover-card-trigger.void-menu-content.void-menu-empty.void-menu-group-label.void-menu-item-icon.void-menu-item-shortcut.void-menu-search.void-multiselect-content.void-nav-menu-content.void-nav-menu-trigger.void-panel-body.void-panel-description.void-panel-header.void-panel-title.void-popover-content.void-popover-trigger.void-table-empty.void-table-filter.void-table-select-all.void-table-selection.void-tabs-content.void-tabs-list.void-tabs-trigger.void-toast-actions.void-toast-close.void-toast-description.void-toast-title.void-tooltip-content.void-tooltip-trigger".split(".");
152
153
  //#endregion
153
- export { L as Accordion, Qe as AccordionContent, R as AccordionItem, $e as AccordionTrigger, He as ActionInput, S as Alert, et as AlertClose, tt as AlertDescription, nt as AlertTitle, x as Avatar, ie as Badge, Y as Banner, rt as BannerActions, it as BannerClose, at as BannerDescription, ot as BannerTitle, Ue as BarChart, z as Breadcrumbs, st as BreadcrumbsItem, ct as BreadcrumbsList, h as Button, Ae as Calendar, K as Card, lt as CardBody, ut as CardDescription, dt as CardFooter, ft as CardHeader, pt as CardTitle, De as Carousel, mt as CarouselContent, ht as CarouselIndicators, gt as CarouselItem, ke as CarouselNext, Oe as CarouselPrevious, k as Checkbox, le as CheckboxGroup, Pe as Collapsible, _t as CollapsibleContent, vt as CollapsibleTrigger, Ve as ColorPicker, ue as Combobox, yt as ComboboxContent, he as ComposeInput, je as DatePicker, F as Dialog, bt as DialogActions, xt as DialogBody, St as DialogDescription, Ct as DialogTitle, g as Divider, Ge as DonutChart, G as Drawer, wt as DrawerActions, Tt as DrawerBody, Et as DrawerDescription, Dt as DrawerTitle, _e as DropdownMenu, Ot as DropdownMenuContent, ve as DropdownMenuItem, kt as DropdownMenuSeparator, At as DropdownMenuTrigger, Fe as Editable, ce as ErrorFallback, jt as ErrorFallbackActions, Mt as ErrorFallbackDescription, Nt as ErrorFallbackTitle, M as Field, fe as FileUpload, Ke as Gauge, me as Hamburger, Ie as HoverCard, Pt as HoverCardContent, Ft as HoverCardTrigger, Ce as Indicator, E as Input, We as LineChart, B as List, V as ListItem, we as Menu, It as MenuContent, Lt as MenuEmpty, Ee as MenuGroup, Rt as MenuGroupLabel, Te as MenuItem, zt as MenuItemIcon, Bt as MenuItemShortcut, Vt as MenuSearch, N as Multiselect, Ht as MultiselectContent, pe as NavBar, ze as NavMenu, Ut as NavMenuContent, Be as NavMenuItem, Wt as NavMenuTrigger, Me as NumberInput, P as Option, se as Pagination, T as Panel, Gt as PanelBody, Kt as PanelDescription, qt as PanelHeader, $ as PanelTitle, Le as PinInput, q as Popover, Jt as PopoverContent, Yt as PopoverTrigger, w as Progress, A as Radio, j as RadioGroup, ae as ScrollArea, be as SegmentedControl, xe as SegmentedControlItem, O as Select, ge as Sidebar, v as Skeleton, de as Slider, _ as Spinner, Se as Stat, y as StatusDot, W as Stepper, b as Switch, oe as Table, I as Tabs, Xt as TabsContent, Zt as TabsList, Qt as TabsTrigger, C as Tag, Re as TagsInput, D as Textarea, H as Toast, $t as ToastActions, en as ToastClose, U as ToastContainer, tn as ToastDescription, nn as ToastTitle, ye as Toggle, Ne as ToggleGroup, J as Tooltip, rn as TooltipContent, an as TooltipTrigger, on as partTags, Ze as useTheme };
154
+ export { R as Accordion, $e as AccordionContent, z as AccordionItem, et as AccordionTrigger, Ue as ActionInput, C as Alert, tt as AlertClose, nt as AlertDescription, rt as AlertTitle, S as Avatar, ie as Badge, ae as Banner, it as BannerActions, at as BannerClose, ot as BannerDescription, st as BannerTitle, We as BarChart, B as Breadcrumbs, ct as BreadcrumbsItem, lt as BreadcrumbsList, g as Button, je as Calendar, q as Card, ut as CardBody, dt as CardDescription, ft as CardFooter, pt as CardHeader, mt as CardTitle, Oe as Carousel, ht as CarouselContent, gt as CarouselIndicators, _t as CarouselItem, Ae as CarouselNext, ke as CarouselPrevious, A as Checkbox, ue as CheckboxGroup, Fe as Collapsible, vt as CollapsibleContent, yt as CollapsibleTrigger, He as ColorPicker, de as Combobox, bt as ComboboxContent, ge as ComposeInput, Me as DatePicker, I as Dialog, xt as DialogActions, St as DialogBody, Ct as DialogDescription, wt as DialogTitle, _ as Divider, Ke as DonutChart, K as Drawer, Tt as DrawerActions, Et as DrawerBody, Dt as DrawerDescription, Ot as DrawerTitle, ve as DropdownMenu, kt as DropdownMenuContent, ye as DropdownMenuItem, At as DropdownMenuSeparator, jt as DropdownMenuTrigger, Ie as Editable, le as ErrorFallback, Mt as ErrorFallbackActions, Nt as ErrorFallbackDescription, Pt as ErrorFallbackTitle, N as Field, pe as FileUpload, qe as Gauge, he as Hamburger, Le as HoverCard, Ft as HoverCardContent, It as HoverCardTrigger, we as Indicator, D as Input, Ge as LineChart, V as List, H as ListItem, Te as Menu, Lt as MenuContent, Rt as MenuEmpty, De as MenuGroup, zt as MenuGroupLabel, Ee as MenuItem, Bt as MenuItemIcon, Vt as MenuItemShortcut, Ht as MenuSearch, P as Multiselect, Ut as MultiselectContent, me as NavBar, Be as NavMenu, Wt as NavMenuContent, Ve as NavMenuItem, Gt as NavMenuTrigger, Ne as NumberInput, F as Option, ce as Pagination, E as Panel, Kt as PanelBody, qt as PanelDescription, $ as PanelHeader, Jt as PanelTitle, Re as PinInput, J as Popover, Yt as PopoverContent, Xt as PopoverTrigger, T as Progress, j as Radio, M as RadioGroup, oe as ScrollArea, xe as SegmentedControl, Se as SegmentedControlItem, k as Select, _e as Sidebar, y as Skeleton, fe as Slider, v as Spinner, Ce as Stat, b as StatusDot, G as Stepper, x as Switch, se as Table, Zt as TableEmpty, Qt as TableFilter, $t as TableSelectAll, en as TableSelection, L as Tabs, tn as TabsContent, nn as TabsList, rn as TabsTrigger, w as Tag, ze as TagsInput, O as Textarea, U as Toast, an as ToastActions, on as ToastClose, W as ToastContainer, sn as ToastDescription, cn as ToastTitle, be as Toggle, Pe as ToggleGroup, Y as Tooltip, ln as TooltipContent, un as TooltipTrigger, dn as partTags, Qe as useTheme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidable/ui-react",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "React wrappers and hooks for Voidable UI web components",
5
5
  "keywords": [
6
6
  "react",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "peerDependencies": {
31
31
  "react": "^18.0.0 || ^19.0.0",
32
- "@voidable/ui": "0.11.0"
32
+ "@voidable/ui": "0.12.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "react": "^19.0.0",
@@ -42,7 +42,7 @@
42
42
  "typescript": "^6.0.0",
43
43
  "vite": "^8.0.0",
44
44
  "vite-plugin-dts": "^4.5.0",
45
- "@voidable/ui": "0.11.0"
45
+ "@voidable/ui": "0.12.0"
46
46
  },
47
47
  "repository": {
48
48
  "type": "git",