@voidable/ui-react 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +235 -11
- package/dist/index.js +47 -40
- package/package.json +3 -3
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>`. */
|
|
@@ -229,11 +244,14 @@ export declare const BarChart: default_2.ForwardRefExoticComponent<{
|
|
|
229
244
|
data?: BarChartData;
|
|
230
245
|
height?: number;
|
|
231
246
|
showValue?: boolean;
|
|
247
|
+
showTable?: boolean;
|
|
232
248
|
variant?: "filled" | "outline" | "wireframe";
|
|
233
249
|
/** Milliseconds between bars as they animate in; 0 animates them together. Default: the theme's. */
|
|
234
250
|
stagger?: number;
|
|
235
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "stagger"> & {
|
|
251
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "showTable" | "stagger"> & {
|
|
236
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;
|
|
237
255
|
} & default_2.RefAttributes<VoidBarChart>>;
|
|
238
256
|
|
|
239
257
|
export { BarChartData }
|
|
@@ -242,6 +260,8 @@ export declare const Breadcrumbs: default_2.ForwardRefExoticComponent<{
|
|
|
242
260
|
separator?: string;
|
|
243
261
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "separator"> & {
|
|
244
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;
|
|
245
265
|
} & default_2.RefAttributes<VoidBreadcrumbs>>;
|
|
246
266
|
|
|
247
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>`. */
|
|
@@ -264,6 +284,8 @@ export declare const Button: default_2.ForwardRefExoticComponent<{
|
|
|
264
284
|
Click: null;
|
|
265
285
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "onVoidClick" | "variant" | "disabled" | "type"> & {
|
|
266
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;
|
|
267
289
|
} & default_2.RefAttributes<VoidButton>>;
|
|
268
290
|
|
|
269
291
|
export declare const Calendar: default_2.ForwardRefExoticComponent<{
|
|
@@ -285,6 +307,8 @@ export declare const Calendar: default_2.ForwardRefExoticComponent<{
|
|
|
285
307
|
};
|
|
286
308
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "max" | "min" | "locale" | "firstDay"> & {
|
|
287
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;
|
|
288
312
|
} & default_2.RefAttributes<VoidCalendar>>;
|
|
289
313
|
|
|
290
314
|
/** Regions are parts: `<CardHeader>` (with `<CardTitle>`, `<CardDescription>`), `<CardBody>`, `<CardFooter>`. */
|
|
@@ -295,6 +319,8 @@ export declare const Card: default_2.ForwardRefExoticComponent<{
|
|
|
295
319
|
scrollable?: boolean;
|
|
296
320
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "variant" | "padding" | "scrollable"> & {
|
|
297
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;
|
|
298
324
|
} & default_2.RefAttributes<VoidCard>>;
|
|
299
325
|
|
|
300
326
|
/** Content of the card, padded by the card's `padding`. Renders `<void-card-body>`, a part of `<void-card>`. */
|
|
@@ -337,6 +363,8 @@ export declare const Carousel: default_2.ForwardRefExoticComponent<{
|
|
|
337
363
|
};
|
|
338
364
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "orientation" | "onVoidChange" | "index" | "loop" | "autoplay" | "interval"> & {
|
|
339
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;
|
|
340
368
|
} & default_2.RefAttributes<VoidCarousel>>;
|
|
341
369
|
|
|
342
370
|
/** The window the slides move in. Renders `<void-carousel-content>`, a part of `<void-carousel>`. */
|
|
@@ -351,7 +379,7 @@ export declare const CarouselIndicators: default_2.ForwardRefExoticComponent<Omi
|
|
|
351
379
|
|
|
352
380
|
/** One slide (role="group"); the carousel marks the slide being shown with active. Renders `<void-carousel-item>`, a part of `<void-carousel-content>`. */
|
|
353
381
|
export declare const CarouselItem: default_2.ForwardRefExoticComponent<{
|
|
354
|
-
/** Set by
|
|
382
|
+
/** Set by the carousel on the slide being shown. */
|
|
355
383
|
active?: boolean;
|
|
356
384
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "active"> & {
|
|
357
385
|
children?: default_2.ReactNode;
|
|
@@ -359,10 +387,14 @@ export declare const CarouselItem: default_2.ForwardRefExoticComponent<{
|
|
|
359
387
|
|
|
360
388
|
export declare const CarouselNext: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
|
|
361
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;
|
|
362
392
|
} & default_2.RefAttributes<VoidCarouselNext>>;
|
|
363
393
|
|
|
364
394
|
export declare const CarouselPrevious: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
|
|
365
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;
|
|
366
398
|
} & default_2.RefAttributes<VoidCarouselPrevious>>;
|
|
367
399
|
|
|
368
400
|
export declare const Checkbox: default_2.ForwardRefExoticComponent<{
|
|
@@ -382,6 +414,8 @@ export declare const Checkbox: default_2.ForwardRefExoticComponent<{
|
|
|
382
414
|
};
|
|
383
415
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "checked" | "name" | "required" | "value" | "indeterminate"> & {
|
|
384
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;
|
|
385
419
|
} & default_2.RefAttributes<VoidCheckbox>>;
|
|
386
420
|
|
|
387
421
|
export declare const CheckboxGroup: default_2.ForwardRefExoticComponent<{
|
|
@@ -401,6 +435,8 @@ export declare const CheckboxGroup: default_2.ForwardRefExoticComponent<{
|
|
|
401
435
|
};
|
|
402
436
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "disabled" | "orientation" | "onVoidChange" | "name" | "required" | "value"> & {
|
|
403
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;
|
|
404
440
|
} & default_2.RefAttributes<VoidCheckboxGroup>>;
|
|
405
441
|
|
|
406
442
|
export declare const Collapsible: default_2.ForwardRefExoticComponent<{
|
|
@@ -415,6 +451,8 @@ export declare const Collapsible: default_2.ForwardRefExoticComponent<{
|
|
|
415
451
|
};
|
|
416
452
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "onVoidClose" | "onVoidOpen" | "open"> & {
|
|
417
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;
|
|
418
456
|
} & default_2.RefAttributes<VoidCollapsible>>;
|
|
419
457
|
|
|
420
458
|
/** Content shown while the panel is open. Renders `<void-collapsible-content>`, a part of `<void-collapsible>`. */
|
|
@@ -445,6 +483,8 @@ export declare const ColorPicker: default_2.ForwardRefExoticComponent<{
|
|
|
445
483
|
};
|
|
446
484
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "open" | "compact" | "swatches" | "hideInput"> & {
|
|
447
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;
|
|
448
488
|
} & default_2.RefAttributes<VoidColorPicker>>;
|
|
449
489
|
|
|
450
490
|
export declare const Combobox: default_2.ForwardRefExoticComponent<{
|
|
@@ -464,6 +504,8 @@ export declare const Combobox: default_2.ForwardRefExoticComponent<{
|
|
|
464
504
|
};
|
|
465
505
|
} & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "placeholder" | "onVoidOpen" | "open"> & {
|
|
466
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;
|
|
467
509
|
} & default_2.RefAttributes<VoidCombobox>>;
|
|
468
510
|
|
|
469
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>`. */
|
|
@@ -488,6 +530,8 @@ export declare const ComposeInput: default_2.ForwardRefExoticComponent<{
|
|
|
488
530
|
};
|
|
489
531
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value" | "onVoidInput" | "placeholder" | "maxlength" | "onVoidSubmit"> & {
|
|
490
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;
|
|
491
535
|
} & default_2.RefAttributes<VoidComposeInput>>;
|
|
492
536
|
|
|
493
537
|
export declare const DatePicker: default_2.ForwardRefExoticComponent<{
|
|
@@ -502,6 +546,8 @@ export declare const DatePicker: default_2.ForwardRefExoticComponent<{
|
|
|
502
546
|
placeholder?: string;
|
|
503
547
|
format?: string;
|
|
504
548
|
color?: "default" | "error" | "warning" | "caution" | "success" | "info" | "notice" | "highlight";
|
|
549
|
+
/** Marks the field invalid; the field also sets it when a typed date is refused. */
|
|
550
|
+
error?: string;
|
|
505
551
|
/** Form field name; the value is submitted under it. */
|
|
506
552
|
name?: string;
|
|
507
553
|
/** Form validation: the control must have a value. */
|
|
@@ -509,10 +555,12 @@ export declare const DatePicker: default_2.ForwardRefExoticComponent<{
|
|
|
509
555
|
} & VoidEvents<{
|
|
510
556
|
Change: {
|
|
511
557
|
value: string;
|
|
512
|
-
date: Date;
|
|
558
|
+
date: Date | null;
|
|
513
559
|
};
|
|
514
|
-
} & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "max" | "placeholder" | "onVoidOpen" | "open" | "min" | "locale" | "firstDay" | "format"> & {
|
|
560
|
+
} & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "max" | "placeholder" | "onVoidOpen" | "open" | "min" | "locale" | "firstDay" | "format"> & {
|
|
515
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;
|
|
516
564
|
} & default_2.RefAttributes<VoidDatePicker>>;
|
|
517
565
|
|
|
518
566
|
/**
|
|
@@ -535,6 +583,8 @@ export declare const Dialog: default_2.ForwardRefExoticComponent<{
|
|
|
535
583
|
hideClose?: boolean;
|
|
536
584
|
} & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidClose" | "onVoidOpen" | "open" | "hideClose"> & {
|
|
537
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;
|
|
538
588
|
} & default_2.RefAttributes<VoidDialog>>;
|
|
539
589
|
|
|
540
590
|
/** Row of buttons at the end, at the trailing edge. Renders `<void-dialog-actions>`, a part of `<void-dialog>`. */
|
|
@@ -562,6 +612,8 @@ export declare const Divider: default_2.ForwardRefExoticComponent<{
|
|
|
562
612
|
orientation?: "horizontal" | "vertical";
|
|
563
613
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "orientation"> & {
|
|
564
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;
|
|
565
617
|
} & default_2.RefAttributes<VoidDivider>>;
|
|
566
618
|
|
|
567
619
|
export declare const DonutChart: default_2.ForwardRefExoticComponent<{
|
|
@@ -573,9 +625,12 @@ export declare const DonutChart: default_2.ForwardRefExoticComponent<{
|
|
|
573
625
|
gaps?: boolean | number;
|
|
574
626
|
variant?: "filled" | "outline" | "wireframe";
|
|
575
627
|
showValue?: boolean;
|
|
628
|
+
showTable?: boolean;
|
|
576
629
|
showTotal?: boolean;
|
|
577
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "showValue" | "inner" | "gaps" | "showTotal"> & {
|
|
630
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "showValue" | "showTable" | "inner" | "gaps" | "showTotal"> & {
|
|
578
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;
|
|
579
634
|
} & default_2.RefAttributes<VoidDonutChart>>;
|
|
580
635
|
|
|
581
636
|
export { DonutChartData }
|
|
@@ -588,6 +643,8 @@ export declare const Drawer: default_2.ForwardRefExoticComponent<{
|
|
|
588
643
|
hideClose?: boolean;
|
|
589
644
|
} & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidClose" | "onVoidOpen" | "open" | "hideClose" | "side"> & {
|
|
590
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;
|
|
591
648
|
} & default_2.RefAttributes<VoidDrawer>>;
|
|
592
649
|
|
|
593
650
|
/** Row of buttons at the end, at the trailing edge. Renders `<void-drawer-actions>`, a part of `<void-drawer>`. */
|
|
@@ -628,6 +685,8 @@ export declare const DropdownMenu: default_2.ForwardRefExoticComponent<{
|
|
|
628
685
|
align?: "start" | "center" | "end";
|
|
629
686
|
} & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open" | "side" | "align"> & {
|
|
630
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;
|
|
631
690
|
} & default_2.RefAttributes<VoidDropdownMenu>>;
|
|
632
691
|
|
|
633
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>`. */
|
|
@@ -649,6 +708,8 @@ export declare const DropdownMenuItem: default_2.ForwardRefExoticComponent<{
|
|
|
649
708
|
};
|
|
650
709
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value" | "onVoidSelect" | "destructive" | "keepOpen"> & {
|
|
651
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;
|
|
652
713
|
} & default_2.RefAttributes<VoidDropdownMenuItem>>;
|
|
653
714
|
|
|
654
715
|
/** Hairline between groups of items. Renders `<void-dropdown-menu-separator>`, a part of `<void-dropdown-menu-content>`. */
|
|
@@ -682,6 +743,8 @@ export declare const Editable: default_2.ForwardRefExoticComponent<{
|
|
|
682
743
|
Cancel: null;
|
|
683
744
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "onVoidCancel" | "editing" | "submitMode"> & {
|
|
684
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;
|
|
685
748
|
} & default_2.RefAttributes<VoidEditable>>;
|
|
686
749
|
|
|
687
750
|
export declare const ErrorFallback: default_2.ForwardRefExoticComponent<{
|
|
@@ -694,6 +757,8 @@ export declare const ErrorFallback: default_2.ForwardRefExoticComponent<{
|
|
|
694
757
|
Retry: null;
|
|
695
758
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidRetry" | "heading" | "message" | "retryable" | "retryLabel" | "hideIcon"> & {
|
|
696
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;
|
|
697
762
|
} & default_2.RefAttributes<VoidErrorFallback>>;
|
|
698
763
|
|
|
699
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>`. */
|
|
@@ -718,6 +783,8 @@ export declare const Field: default_2.ForwardRefExoticComponent<{
|
|
|
718
783
|
required?: boolean;
|
|
719
784
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "error" | "required" | "helper"> & {
|
|
720
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;
|
|
721
788
|
} & default_2.RefAttributes<VoidField>>;
|
|
722
789
|
|
|
723
790
|
export declare const FileUpload: default_2.ForwardRefExoticComponent<{
|
|
@@ -735,8 +802,16 @@ export declare const FileUpload: default_2.ForwardRefExoticComponent<{
|
|
|
735
802
|
value: File[];
|
|
736
803
|
files: File[];
|
|
737
804
|
};
|
|
738
|
-
|
|
805
|
+
Reject: {
|
|
806
|
+
rejected: {
|
|
807
|
+
file: File;
|
|
808
|
+
reason: "type" | "size" | "count";
|
|
809
|
+
}[];
|
|
810
|
+
};
|
|
811
|
+
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "disabled" | "onVoidChange" | "name" | "required" | "multiple" | "onVoidReject" | "accept" | "maxSize"> & {
|
|
739
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;
|
|
740
815
|
} & default_2.RefAttributes<VoidFileUpload>>;
|
|
741
816
|
|
|
742
817
|
export declare const Gauge: default_2.ForwardRefExoticComponent<{
|
|
@@ -751,6 +826,7 @@ export declare const Gauge: default_2.ForwardRefExoticComponent<{
|
|
|
751
826
|
circular?: "full" | "semi" | "triple";
|
|
752
827
|
variant?: "filled" | "outline" | "wireframe";
|
|
753
828
|
hideValue?: boolean;
|
|
829
|
+
showTable?: boolean;
|
|
754
830
|
unitInline?: boolean;
|
|
755
831
|
tickMajor?: number;
|
|
756
832
|
tickMinor?: number;
|
|
@@ -758,8 +834,10 @@ export declare const Gauge: default_2.ForwardRefExoticComponent<{
|
|
|
758
834
|
hideTickMax?: boolean;
|
|
759
835
|
segmentsSort?: "value" | "manual";
|
|
760
836
|
gaps?: boolean | number;
|
|
761
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "circular" | "value" | "max" | "min" | "unit" | "
|
|
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"> & {
|
|
762
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;
|
|
763
841
|
} & default_2.RefAttributes<VoidGauge>>;
|
|
764
842
|
|
|
765
843
|
export { GaugeData }
|
|
@@ -771,13 +849,15 @@ export declare const Hamburger: default_2.ForwardRefExoticComponent<{
|
|
|
771
849
|
size?: "sm" | "md" | "lg";
|
|
772
850
|
} & VoidEvents<{
|
|
773
851
|
Open: {
|
|
774
|
-
reason: "trigger";
|
|
852
|
+
reason: "trigger" | "keyboard";
|
|
775
853
|
};
|
|
776
854
|
Close: {
|
|
777
855
|
reason: "trigger";
|
|
778
856
|
};
|
|
779
857
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidClose" | "onVoidOpen" | "open"> & {
|
|
780
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;
|
|
781
861
|
} & default_2.RefAttributes<VoidHamburger>>;
|
|
782
862
|
|
|
783
863
|
/**
|
|
@@ -797,6 +877,8 @@ export declare const HoverCard: default_2.ForwardRefExoticComponent<{
|
|
|
797
877
|
closeDelay?: number;
|
|
798
878
|
} & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open" | "side" | "align" | "openDelay" | "closeDelay"> & {
|
|
799
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;
|
|
800
882
|
} & default_2.RefAttributes<VoidHoverCard>>;
|
|
801
883
|
|
|
802
884
|
/** Shown in the top layer next to the trigger. Renders `<void-hover-card-content>`, a part of `<void-hover-card>`. */
|
|
@@ -818,6 +900,8 @@ export declare const Indicator: default_2.ForwardRefExoticComponent<{
|
|
|
818
900
|
placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
819
901
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "placement" | "count" | "ping" | "overlay"> & {
|
|
820
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;
|
|
821
905
|
} & default_2.RefAttributes<VoidIndicator>>;
|
|
822
906
|
|
|
823
907
|
export declare const Input: default_2.ForwardRefExoticComponent<{
|
|
@@ -849,16 +933,21 @@ export declare const Input: default_2.ForwardRefExoticComponent<{
|
|
|
849
933
|
};
|
|
850
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"> & {
|
|
851
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;
|
|
852
938
|
} & default_2.RefAttributes<VoidInput>>;
|
|
853
939
|
|
|
854
940
|
export declare const LineChart: default_2.ForwardRefExoticComponent<{
|
|
855
941
|
data?: LineChartData;
|
|
856
942
|
height?: number;
|
|
857
943
|
showValue?: boolean;
|
|
944
|
+
showTable?: boolean;
|
|
858
945
|
variant?: "filled" | "outline" | "wireframe";
|
|
859
946
|
interpolation?: "linear" | "step";
|
|
860
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "interpolation"> & {
|
|
947
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "showTable" | "interpolation"> & {
|
|
861
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;
|
|
862
951
|
} & default_2.RefAttributes<VoidLineChart>>;
|
|
863
952
|
|
|
864
953
|
export { LineChartData }
|
|
@@ -867,6 +956,8 @@ export declare const List: default_2.ForwardRefExoticComponent<{
|
|
|
867
956
|
dividers?: boolean;
|
|
868
957
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "dividers"> & {
|
|
869
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;
|
|
870
961
|
} & default_2.RefAttributes<VoidList>>;
|
|
871
962
|
|
|
872
963
|
export declare const ListItem: default_2.ForwardRefExoticComponent<{
|
|
@@ -877,6 +968,8 @@ export declare const ListItem: default_2.ForwardRefExoticComponent<{
|
|
|
877
968
|
Click: Record<string, never>;
|
|
878
969
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClick" | "disabled" | "selected" | "interactive"> & {
|
|
879
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;
|
|
880
973
|
} & default_2.RefAttributes<VoidListItem>>;
|
|
881
974
|
|
|
882
975
|
/**
|
|
@@ -896,6 +989,8 @@ export declare const Menu: default_2.ForwardRefExoticComponent<{
|
|
|
896
989
|
size?: "sm" | "md" | "lg";
|
|
897
990
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "open"> & {
|
|
898
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;
|
|
899
994
|
} & default_2.RefAttributes<VoidMenu>>;
|
|
900
995
|
|
|
901
996
|
/** The list (role="menu"): the items, and groups of items. Renders `<void-menu-content>`, a part of `<void-menu>`. */
|
|
@@ -910,6 +1005,8 @@ export declare const MenuEmpty: default_2.ForwardRefExoticComponent<Omit<default
|
|
|
910
1005
|
|
|
911
1006
|
export declare const MenuGroup: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLElement>, never> & {
|
|
912
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;
|
|
913
1010
|
} & default_2.RefAttributes<VoidMenuGroup>>;
|
|
914
1011
|
|
|
915
1012
|
/** Heading of the group; names it for assistive technology. Renders `<void-menu-group-label>`, a part of `<void-menu-group>`. */
|
|
@@ -928,6 +1025,8 @@ export declare const MenuItem: default_2.ForwardRefExoticComponent<{
|
|
|
928
1025
|
};
|
|
929
1026
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value" | "onVoidSelect"> & {
|
|
930
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;
|
|
931
1030
|
} & default_2.RefAttributes<VoidMenuItem>>;
|
|
932
1031
|
|
|
933
1032
|
/** A glyph or icon before the label; decorative (add aria-hidden="true"). Renders `<void-menu-item-icon>`, a part of `<void-menu-item>`. */
|
|
@@ -963,6 +1062,8 @@ export declare const Multiselect: default_2.ForwardRefExoticComponent<{
|
|
|
963
1062
|
};
|
|
964
1063
|
} & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "placeholder" | "onVoidOpen" | "open"> & {
|
|
965
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;
|
|
966
1067
|
} & default_2.RefAttributes<VoidMultiselect>>;
|
|
967
1068
|
|
|
968
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>`. */
|
|
@@ -976,6 +1077,8 @@ export declare const NavBar: default_2.ForwardRefExoticComponent<{
|
|
|
976
1077
|
variant?: "default" | "elevated";
|
|
977
1078
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "variant" | "sticky" | "hideBorder"> & {
|
|
978
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;
|
|
979
1082
|
} & default_2.RefAttributes<VoidNavBar>>;
|
|
980
1083
|
|
|
981
1084
|
export declare const NavMenu: default_2.ForwardRefExoticComponent<{
|
|
@@ -983,6 +1086,8 @@ export declare const NavMenu: default_2.ForwardRefExoticComponent<{
|
|
|
983
1086
|
width?: string;
|
|
984
1087
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "orientation" | "width"> & {
|
|
985
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;
|
|
986
1091
|
} & default_2.RefAttributes<VoidNavMenu>>;
|
|
987
1092
|
|
|
988
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>`. */
|
|
@@ -1003,6 +1108,8 @@ export declare const NavMenuItem: default_2.ForwardRefExoticComponent<{
|
|
|
1003
1108
|
};
|
|
1004
1109
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "onVoidClose" | "onVoidOpen" | "open" | "current"> & {
|
|
1005
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;
|
|
1006
1113
|
} & default_2.RefAttributes<VoidNavMenuItem>>;
|
|
1007
1114
|
|
|
1008
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>`. */
|
|
@@ -1040,6 +1147,8 @@ export declare const NumberInput: default_2.ForwardRefExoticComponent<{
|
|
|
1040
1147
|
};
|
|
1041
1148
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "prefix" | "color" | "label" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "max" | "onVoidInput" | "placeholder" | "readonly" | "min" | "step" | "precision" | "controls" | "unit"> & {
|
|
1042
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;
|
|
1043
1152
|
} & default_2.RefAttributes<VoidNumberInput>>;
|
|
1044
1153
|
|
|
1045
1154
|
/** One option of a `<Combobox>` or `<Multiselect>`, inside its `<ComboboxContent>` / `<MultiselectContent>`. */
|
|
@@ -1052,6 +1161,8 @@ declare const Option_2: default_2.ForwardRefExoticComponent<{
|
|
|
1052
1161
|
label?: string;
|
|
1053
1162
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "disabled" | "value" | "selected"> & {
|
|
1054
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;
|
|
1055
1166
|
} & default_2.RefAttributes<VoidOption>>;
|
|
1056
1167
|
export { Option_2 as Option }
|
|
1057
1168
|
|
|
@@ -1092,12 +1203,16 @@ export declare const Pagination: default_2.ForwardRefExoticComponent<{
|
|
|
1092
1203
|
};
|
|
1093
1204
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "param" | "size" | "onVoidChange" | "value" | "total" | "siblings" | "hrefTemplate"> & {
|
|
1094
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;
|
|
1095
1208
|
} & default_2.RefAttributes<VoidPagination>>;
|
|
1096
1209
|
|
|
1097
1210
|
export declare const Panel: default_2.ForwardRefExoticComponent<{
|
|
1098
1211
|
variant?: "default" | "bordered" | "elevated";
|
|
1099
1212
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "variant"> & {
|
|
1100
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;
|
|
1101
1216
|
} & default_2.RefAttributes<VoidPanel>>;
|
|
1102
1217
|
|
|
1103
1218
|
/** Content of the panel. Renders `<void-panel-body>`, a part of `<void-panel>`. */
|
|
@@ -1121,7 +1236,7 @@ export declare const PanelTitle: default_2.ForwardRefExoticComponent<Omit<defaul
|
|
|
1121
1236
|
} & default_2.RefAttributes<HTMLElement>>;
|
|
1122
1237
|
|
|
1123
1238
|
/** The tag of every part wrapper above. */
|
|
1124
|
-
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"];
|
|
1125
1240
|
|
|
1126
1241
|
export declare const PinInput: default_2.ForwardRefExoticComponent<{
|
|
1127
1242
|
length?: number;
|
|
@@ -1149,6 +1264,8 @@ export declare const PinInput: default_2.ForwardRefExoticComponent<{
|
|
|
1149
1264
|
};
|
|
1150
1265
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "length" | "color" | "mask" | "size" | "disabled" | "type" | "onVoidChange" | "name" | "required" | "value" | "onVoidInput" | "placeholder" | "onVoidComplete" | "groups"> & {
|
|
1151
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;
|
|
1152
1269
|
} & default_2.RefAttributes<VoidPinInput>>;
|
|
1153
1270
|
|
|
1154
1271
|
/**
|
|
@@ -1169,6 +1286,8 @@ export declare const Popover: default_2.ForwardRefExoticComponent<{
|
|
|
1169
1286
|
align?: "start" | "center" | "end";
|
|
1170
1287
|
} & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "trigger" | "onVoidClose" | "onVoidOpen" | "open" | "side" | "align"> & {
|
|
1171
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;
|
|
1172
1291
|
} & default_2.RefAttributes<VoidPopover>>;
|
|
1173
1292
|
|
|
1174
1293
|
/** Shown in the top layer next to the trigger. Renders `<void-popover-content>`, a part of `<void-popover>`. */
|
|
@@ -1189,6 +1308,8 @@ export declare const Progress: default_2.ForwardRefExoticComponent<{
|
|
|
1189
1308
|
indeterminate?: boolean;
|
|
1190
1309
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "value" | "max" | "indeterminate"> & {
|
|
1191
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;
|
|
1192
1313
|
} & default_2.RefAttributes<VoidProgress>>;
|
|
1193
1314
|
|
|
1194
1315
|
export declare const Radio: default_2.ForwardRefExoticComponent<{
|
|
@@ -1207,6 +1328,8 @@ export declare const Radio: default_2.ForwardRefExoticComponent<{
|
|
|
1207
1328
|
};
|
|
1208
1329
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "checked" | "name" | "required" | "value"> & {
|
|
1209
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;
|
|
1210
1333
|
} & default_2.RefAttributes<VoidRadio>>;
|
|
1211
1334
|
|
|
1212
1335
|
export declare const RadioGroup: default_2.ForwardRefExoticComponent<{
|
|
@@ -1224,6 +1347,8 @@ export declare const RadioGroup: default_2.ForwardRefExoticComponent<{
|
|
|
1224
1347
|
};
|
|
1225
1348
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "disabled" | "orientation" | "onVoidChange" | "name" | "required" | "value"> & {
|
|
1226
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;
|
|
1227
1352
|
} & default_2.RefAttributes<VoidRadioGroup>>;
|
|
1228
1353
|
|
|
1229
1354
|
export declare const ScrollArea: default_2.ForwardRefExoticComponent<{
|
|
@@ -1231,6 +1356,8 @@ export declare const ScrollArea: default_2.ForwardRefExoticComponent<{
|
|
|
1231
1356
|
orientation?: "vertical" | "horizontal" | "both";
|
|
1232
1357
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "orientation" | "maxHeight"> & {
|
|
1233
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;
|
|
1234
1361
|
} & default_2.RefAttributes<VoidScrollArea>>;
|
|
1235
1362
|
|
|
1236
1363
|
export declare const SegmentedControl: default_2.ForwardRefExoticComponent<{
|
|
@@ -1247,6 +1374,8 @@ export declare const SegmentedControl: default_2.ForwardRefExoticComponent<{
|
|
|
1247
1374
|
};
|
|
1248
1375
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "required" | "value"> & {
|
|
1249
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;
|
|
1250
1379
|
} & default_2.RefAttributes<VoidSegmentedControl>>;
|
|
1251
1380
|
|
|
1252
1381
|
export declare const SegmentedControlItem: default_2.ForwardRefExoticComponent<{
|
|
@@ -1254,6 +1383,8 @@ export declare const SegmentedControlItem: default_2.ForwardRefExoticComponent<{
|
|
|
1254
1383
|
disabled?: boolean;
|
|
1255
1384
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "disabled" | "value"> & {
|
|
1256
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;
|
|
1257
1388
|
} & default_2.RefAttributes<VoidSegmentedControlItem>>;
|
|
1258
1389
|
|
|
1259
1390
|
/**
|
|
@@ -1270,6 +1401,8 @@ export declare const Select: default_2.ForwardRefExoticComponent<{
|
|
|
1270
1401
|
};
|
|
1271
1402
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "size" | "onVoidChange" | "value"> & {
|
|
1272
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;
|
|
1273
1406
|
} & default_2.RefAttributes<VoidSelect>>;
|
|
1274
1407
|
|
|
1275
1408
|
export declare const Sidebar: default_2.ForwardRefExoticComponent<{
|
|
@@ -1286,12 +1419,16 @@ export declare const Sidebar: default_2.ForwardRefExoticComponent<{
|
|
|
1286
1419
|
};
|
|
1287
1420
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "side" | "onVoidCollapse" | "onVoidExpand" | "collapsed" | "width" | "collapsedWidth"> & {
|
|
1288
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;
|
|
1289
1424
|
} & default_2.RefAttributes<VoidSidebar>>;
|
|
1290
1425
|
|
|
1291
1426
|
export declare const Skeleton: default_2.ForwardRefExoticComponent<{
|
|
1292
1427
|
shape?: "text" | "circular" | "rectangular";
|
|
1293
1428
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "shape"> & {
|
|
1294
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;
|
|
1295
1432
|
} & default_2.RefAttributes<VoidSkeleton>>;
|
|
1296
1433
|
|
|
1297
1434
|
export declare const Slider: default_2.ForwardRefExoticComponent<{
|
|
@@ -1312,6 +1449,8 @@ export declare const Slider: default_2.ForwardRefExoticComponent<{
|
|
|
1312
1449
|
};
|
|
1313
1450
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "disabled" | "onVoidChange" | "name" | "value" | "max" | "onVoidInput" | "min" | "step" | "showValue"> & {
|
|
1314
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;
|
|
1315
1454
|
} & default_2.RefAttributes<VoidSlider>>;
|
|
1316
1455
|
|
|
1317
1456
|
export declare const Spinner: default_2.ForwardRefExoticComponent<{
|
|
@@ -1319,6 +1458,8 @@ export declare const Spinner: default_2.ForwardRefExoticComponent<{
|
|
|
1319
1458
|
label?: string;
|
|
1320
1459
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "label" | "size"> & {
|
|
1321
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;
|
|
1322
1463
|
} & default_2.RefAttributes<VoidSpinner>>;
|
|
1323
1464
|
|
|
1324
1465
|
export declare const Stat: default_2.ForwardRefExoticComponent<{
|
|
@@ -1332,12 +1473,16 @@ export declare const Stat: default_2.ForwardRefExoticComponent<{
|
|
|
1332
1473
|
size?: "sm" | "md" | "lg";
|
|
1333
1474
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "label" | "size" | "value" | "delta" | "description" | "trend"> & {
|
|
1334
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;
|
|
1335
1478
|
} & default_2.RefAttributes<VoidStat>>;
|
|
1336
1479
|
|
|
1337
1480
|
export declare const StatusDot: default_2.ForwardRefExoticComponent<{
|
|
1338
1481
|
status?: "online" | "away" | "offline";
|
|
1339
1482
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "status"> & {
|
|
1340
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;
|
|
1341
1486
|
} & default_2.RefAttributes<VoidStatusDot>>;
|
|
1342
1487
|
|
|
1343
1488
|
export declare const Stepper: default_2.ForwardRefExoticComponent<{
|
|
@@ -1345,6 +1490,8 @@ export declare const Stepper: default_2.ForwardRefExoticComponent<{
|
|
|
1345
1490
|
steps?: string;
|
|
1346
1491
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "value" | "steps"> & {
|
|
1347
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;
|
|
1348
1495
|
} & default_2.RefAttributes<VoidStepper>>;
|
|
1349
1496
|
|
|
1350
1497
|
export declare const Switch: default_2.ForwardRefExoticComponent<{
|
|
@@ -1365,6 +1512,8 @@ export declare const Switch: default_2.ForwardRefExoticComponent<{
|
|
|
1365
1512
|
};
|
|
1366
1513
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "checked" | "name" | "required" | "value"> & {
|
|
1367
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;
|
|
1368
1517
|
} & default_2.RefAttributes<VoidSwitch>>;
|
|
1369
1518
|
|
|
1370
1519
|
export declare const Table: default_2.ForwardRefExoticComponent<{
|
|
@@ -1391,10 +1540,67 @@ export declare const Table: default_2.ForwardRefExoticComponent<{
|
|
|
1391
1540
|
maxHeight?: string;
|
|
1392
1541
|
/** Accessible name of the scroll region (default: the caption). */
|
|
1393
1542
|
label?: string;
|
|
1394
|
-
|
|
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"> & {
|
|
1395
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;
|
|
1396
1582
|
} & default_2.RefAttributes<VoidTable>>;
|
|
1397
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
|
+
|
|
1398
1604
|
export declare const Tabs: default_2.ForwardRefExoticComponent<{
|
|
1399
1605
|
value?: string;
|
|
1400
1606
|
size?: "sm" | "md" | "lg";
|
|
@@ -1406,6 +1612,8 @@ export declare const Tabs: default_2.ForwardRefExoticComponent<{
|
|
|
1406
1612
|
};
|
|
1407
1613
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "size" | "onVoidChange" | "value" | "activation"> & {
|
|
1408
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;
|
|
1409
1617
|
} & default_2.RefAttributes<VoidTabs>>;
|
|
1410
1618
|
|
|
1411
1619
|
/** One panel (role="tabpanel"), shown while the tab with the same value is selected. Renders `<void-tabs-content>`, a part of `<void-tabs>`. */
|
|
@@ -1443,6 +1651,8 @@ export declare const Tag: default_2.ForwardRefExoticComponent<{
|
|
|
1443
1651
|
Remove: null;
|
|
1444
1652
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "onVoidRemove" | "removable"> & {
|
|
1445
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;
|
|
1446
1656
|
} & default_2.RefAttributes<VoidTag>>;
|
|
1447
1657
|
|
|
1448
1658
|
export declare const TagsInput: default_2.ForwardRefExoticComponent<{
|
|
@@ -1468,6 +1678,8 @@ export declare const TagsInput: default_2.ForwardRefExoticComponent<{
|
|
|
1468
1678
|
};
|
|
1469
1679
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "variant" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "max" | "placeholder" | "readonly" | "allowDuplicates"> & {
|
|
1470
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;
|
|
1471
1683
|
} & default_2.RefAttributes<VoidTagsInput>>;
|
|
1472
1684
|
|
|
1473
1685
|
declare type TagValue = string | {
|
|
@@ -1504,6 +1716,8 @@ export declare const Textarea: default_2.ForwardRefExoticComponent<{
|
|
|
1504
1716
|
};
|
|
1505
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"> & {
|
|
1506
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;
|
|
1507
1721
|
} & default_2.RefAttributes<VoidTextarea>>;
|
|
1508
1722
|
|
|
1509
1723
|
declare type Theme = 'dark' | 'light';
|
|
@@ -1517,6 +1731,8 @@ export declare const Toast: default_2.ForwardRefExoticComponent<{
|
|
|
1517
1731
|
};
|
|
1518
1732
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "onVoidClose" | "duration"> & {
|
|
1519
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;
|
|
1520
1736
|
} & default_2.RefAttributes<VoidToast>>;
|
|
1521
1737
|
|
|
1522
1738
|
/** Buttons for the notification, such as Undo. Renders `<void-toast-actions>`, a part of `<void-toast>`. */
|
|
@@ -1533,6 +1749,8 @@ export declare const ToastContainer: default_2.ForwardRefExoticComponent<{
|
|
|
1533
1749
|
placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center" | "bottom-center" | "inline";
|
|
1534
1750
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "placement"> & {
|
|
1535
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;
|
|
1536
1754
|
} & default_2.RefAttributes<VoidToastContainer>>;
|
|
1537
1755
|
|
|
1538
1756
|
/** The message. Renders `<void-toast-description>`, a part of `<void-toast>`. */
|
|
@@ -1560,6 +1778,8 @@ export declare const Toggle: default_2.ForwardRefExoticComponent<{
|
|
|
1560
1778
|
};
|
|
1561
1779
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "variant" | "disabled" | "onVoidChange" | "value" | "pressed"> & {
|
|
1562
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;
|
|
1563
1783
|
} & default_2.RefAttributes<VoidToggle>>;
|
|
1564
1784
|
|
|
1565
1785
|
export declare const ToggleGroup: default_2.ForwardRefExoticComponent<{
|
|
@@ -1579,6 +1799,8 @@ export declare const ToggleGroup: default_2.ForwardRefExoticComponent<{
|
|
|
1579
1799
|
};
|
|
1580
1800
|
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "orientation" | "onVoidChange" | "name" | "required" | "value" | "multiple"> & {
|
|
1581
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;
|
|
1582
1804
|
} & default_2.RefAttributes<VoidToggleGroup>>;
|
|
1583
1805
|
|
|
1584
1806
|
/**
|
|
@@ -1598,6 +1820,8 @@ export declare const Tooltip: default_2.ForwardRefExoticComponent<{
|
|
|
1598
1820
|
open?: boolean;
|
|
1599
1821
|
} & VoidEvents<OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "onVoidClose" | "onVoidOpen" | "open" | "side" | "align" | "delay"> & {
|
|
1600
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;
|
|
1601
1825
|
} & default_2.RefAttributes<VoidTooltip>>;
|
|
1602
1826
|
|
|
1603
1827
|
/** Shown in the top layer next to the trigger. Renders `<void-tooltip-content>`, a part of `<void-tooltip>`. */
|
package/dist/index.js
CHANGED
|
@@ -29,30 +29,30 @@ function l(e) {
|
|
|
29
29
|
function u(e) {
|
|
30
30
|
return e.slice(2).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function d(e) {
|
|
33
33
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function f(e) {
|
|
36
36
|
return typeof e == "string" || typeof e == "number";
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
let
|
|
41
|
-
for (let
|
|
42
|
-
let
|
|
43
|
-
if (c(
|
|
44
|
-
else if (
|
|
45
|
-
else if (l(
|
|
46
|
-
else if (
|
|
47
|
-
else
|
|
38
|
+
var p = typeof window < "u" ? i : r;
|
|
39
|
+
function ee(e, t = []) {
|
|
40
|
+
let n = {}, r = {}, i = {};
|
|
41
|
+
for (let a of Object.keys(e)) {
|
|
42
|
+
let o = e[a];
|
|
43
|
+
if (c(a)) typeof o == "function" && (i[u(a)] = o);
|
|
44
|
+
else if (a === "className") o != null && (n.class = o);
|
|
45
|
+
else if (l(a)) n[a] = o;
|
|
46
|
+
else if (o === void 0) continue;
|
|
47
|
+
else t.includes(a) ? n[a] = typeof o == "string" || o === null ? o : JSON.stringify(o) : a === "spellcheck" ? r[a] = o : f(o) && a === a.toLowerCase() ? n[a] = o : r[a] = o;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
react:
|
|
51
|
-
elementProps:
|
|
52
|
-
events:
|
|
50
|
+
react: n,
|
|
51
|
+
elementProps: r,
|
|
52
|
+
events: i
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function te(e, t, n) {
|
|
56
56
|
if (t === "spellcheck") {
|
|
57
57
|
n == null ? e.removeAttribute("spellcheck") : e.setAttribute("spellcheck", String(n));
|
|
58
58
|
return;
|
|
@@ -61,22 +61,22 @@ function ne(e, t, n) {
|
|
|
61
61
|
e[t] = n;
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
let r =
|
|
65
|
-
n === !1 || n == null ? e.removeAttribute(r) : n === !0 ? e.setAttribute(r, "") :
|
|
64
|
+
let r = d(t);
|
|
65
|
+
n === !1 || n == null ? e.removeAttribute(r) : n === !0 ? e.setAttribute(r, "") : f(n) && e.setAttribute(r, String(n));
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ne(e, t, n) {
|
|
68
68
|
let r = a({}), i = a({});
|
|
69
|
-
|
|
69
|
+
p(() => {
|
|
70
70
|
let a = e.current;
|
|
71
71
|
if (!a) return;
|
|
72
72
|
let o = r.current;
|
|
73
|
-
for (let e of Object.keys(t)) (!(e in o) || !Object.is(o[e], t[e])) &&
|
|
73
|
+
for (let e of Object.keys(t)) (!(e in o) || !Object.is(o[e], t[e])) && te(a, e, t[e]);
|
|
74
74
|
r.current = t;
|
|
75
75
|
let s = i.current;
|
|
76
76
|
for (let e of Object.keys(s)) s[e] !== n[e] && a.removeEventListener(e, s[e]);
|
|
77
77
|
for (let e of Object.keys(n)) s[e] !== n[e] && a.addEventListener(e, n[e]);
|
|
78
78
|
i.current = n;
|
|
79
|
-
}),
|
|
79
|
+
}), p(() => {
|
|
80
80
|
let t = e.current;
|
|
81
81
|
return () => {
|
|
82
82
|
if (t) {
|
|
@@ -86,51 +86,58 @@ function re(e, t, n) {
|
|
|
86
86
|
};
|
|
87
87
|
}, [e]);
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
var m = {
|
|
90
|
+
"void-bar-chart": ["data"],
|
|
91
|
+
"void-line-chart": ["data"],
|
|
92
|
+
"void-donut-chart": ["data"],
|
|
93
|
+
"void-gauge": ["data", "zones"]
|
|
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) => {
|
|
98
|
+
let s = a(null), { react: c, elementProps: l, events: u } = ee(t, o);
|
|
99
|
+
ne(s, l, u);
|
|
100
|
+
let d = n((e) => {
|
|
101
|
+
s.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
95
102
|
}, [i]);
|
|
96
103
|
return e.createElement(r, {
|
|
97
|
-
...
|
|
98
|
-
ref:
|
|
104
|
+
...c,
|
|
105
|
+
ref: d
|
|
99
106
|
});
|
|
100
107
|
});
|
|
101
|
-
return
|
|
108
|
+
return s.displayName = i, s;
|
|
102
109
|
}
|
|
103
|
-
var ie =
|
|
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 = [
|
|
104
111
|
"data-theme",
|
|
105
112
|
"data-void-theme",
|
|
106
113
|
"data-void-skin",
|
|
107
114
|
"class",
|
|
108
115
|
"style"
|
|
109
116
|
];
|
|
110
|
-
function
|
|
117
|
+
function Ye() {
|
|
111
118
|
if (typeof document > "u") return X;
|
|
112
119
|
let e = document.documentElement, t = getComputedStyle(e).getPropertyValue("--void-color-scheme").trim();
|
|
113
120
|
if (t === "light" || t === "dark") return t;
|
|
114
121
|
let n = e.getAttribute("data-theme");
|
|
115
122
|
return n === "light" || n === "dark" ? n : typeof matchMedia == "function" && matchMedia(Z).matches ? "light" : "dark";
|
|
116
123
|
}
|
|
117
|
-
function
|
|
124
|
+
function Xe() {
|
|
118
125
|
return X;
|
|
119
126
|
}
|
|
120
|
-
function
|
|
127
|
+
function Ze(e) {
|
|
121
128
|
if (typeof document > "u") return () => {};
|
|
122
129
|
let t;
|
|
123
130
|
typeof MutationObserver < "u" && (t = new MutationObserver(e), t.observe(document.documentElement, {
|
|
124
131
|
attributes: !0,
|
|
125
|
-
attributeFilter:
|
|
132
|
+
attributeFilter: Je
|
|
126
133
|
}));
|
|
127
134
|
let n = typeof matchMedia == "function" ? matchMedia(Z) : void 0;
|
|
128
135
|
return n?.addEventListener("change", e), () => {
|
|
129
136
|
t?.disconnect(), n?.removeEventListener("change", e);
|
|
130
137
|
};
|
|
131
138
|
}
|
|
132
|
-
function
|
|
133
|
-
return o(
|
|
139
|
+
function Qe() {
|
|
140
|
+
return o(Ze, Ye, Xe);
|
|
134
141
|
}
|
|
135
142
|
//#endregion
|
|
136
143
|
//#region src/parts.generated.tsx
|
|
@@ -142,6 +149,6 @@ function Q(n, r) {
|
|
|
142
149
|
});
|
|
143
150
|
return i.displayName = r, i;
|
|
144
151
|
}
|
|
145
|
-
var
|
|
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(".");
|
|
146
153
|
//#endregion
|
|
147
|
-
export {
|
|
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.
|
|
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.
|
|
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.
|
|
45
|
+
"@voidable/ui": "0.12.0"
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|