@voidable/ui 0.6.1 → 0.8.1
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/README.md +168 -9
- package/dist/angular/index.d.ts +20 -0
- package/dist/angular/index.js +78 -0
- package/dist/autoloader-core.d.ts +45 -0
- package/dist/autoloader-table.generated.d.ts +5 -0
- package/dist/autoloader.d.ts +13 -0
- package/dist/autoloader.js +229 -0
- package/dist/base.d.ts +173 -2
- package/dist/base.js +2 -9
- package/dist/chunks/base-CMruMbxC.js +824 -0
- package/dist/chunks/disclosure-Bj_49GcC.js +23 -0
- package/dist/chunks/dismiss-Drsy_dE5.js +37 -0
- package/dist/chunks/form-control-C0vH6gii.js +300 -0
- package/dist/chunks/keyboard-MQpfTX5I.js +46 -0
- package/dist/chunks/keyboard-activation-CV0m4hkn.js +29 -0
- package/dist/chunks/modal-D_YVy2vg.js +71 -0
- package/dist/chunks/overlay-BywGMcDW.js +467 -0
- package/dist/chunks/parts-D30c8OoG.js +229 -0
- package/dist/chunks/{shape-FJvZa8FW.js → shape-C_LW7EjG.js} +12 -4
- package/dist/components/accordion.d.ts +38 -10
- package/dist/components/accordion.js +51 -53
- package/dist/components/action-input.d.ts +64 -6
- package/dist/components/action-input.js +84 -41
- package/dist/components/alert.d.ts +24 -10
- package/dist/components/alert.js +26 -27
- package/dist/components/avatar.d.ts +8 -2
- package/dist/components/avatar.js +3 -3
- package/dist/components/badge.d.ts +8 -3
- package/dist/components/badge.js +2 -2
- package/dist/components/banner.d.ts +21 -10
- package/dist/components/banner.js +27 -27
- package/dist/components/bar-chart.d.ts +30 -6
- package/dist/components/bar-chart.js +29 -39
- package/dist/components/breadcrumbs.d.ts +19 -6
- package/dist/components/breadcrumbs.js +16 -22
- package/dist/components/button.d.ts +64 -10
- package/dist/components/button.js +70 -26
- package/dist/components/calendar.d.ts +65 -10
- package/dist/components/calendar.js +157 -106
- package/dist/components/card.d.ts +14 -9
- package/dist/components/card.js +8 -22
- package/dist/components/carousel.d.ts +65 -14
- package/dist/components/carousel.js +84 -93
- package/dist/components/charts/scale.d.ts +0 -1
- package/dist/components/charts/shape.d.ts +0 -1
- package/dist/components/checkbox-group.d.ts +38 -5
- package/dist/components/checkbox-group.js +61 -20
- package/dist/components/checkbox.d.ts +53 -7
- package/dist/components/checkbox.js +66 -29
- package/dist/components/collapsible.d.ts +29 -9
- package/dist/components/collapsible.js +42 -44
- package/dist/components/color-picker.d.ts +20 -4
- package/dist/components/color-picker.js +35 -29
- package/dist/components/combobox.d.ts +84 -10
- package/dist/components/combobox.js +142 -45
- package/dist/components/compose-input.d.ts +8 -1
- package/dist/components/compose-input.js +9 -3
- package/dist/components/dialog.d.ts +24 -20
- package/dist/components/dialog.js +8 -57
- package/dist/components/divider.d.ts +8 -1
- package/dist/components/divider.js +3 -3
- package/dist/components/donut-chart.d.ts +28 -5
- package/dist/components/donut-chart.js +55 -54
- package/dist/components/drawer.d.ts +19 -18
- package/dist/components/drawer.js +9 -53
- package/dist/components/dropdown-menu.d.ts +62 -7
- package/dist/components/dropdown-menu.js +124 -33
- package/dist/components/editable.d.ts +37 -3
- package/dist/components/editable.js +45 -24
- package/dist/components/error-fallback.d.ts +36 -5
- package/dist/components/error-fallback.js +73 -23
- package/dist/components/field.d.ts +38 -4
- package/dist/components/field.js +63 -21
- package/dist/components/file-upload.d.ts +23 -2
- package/dist/components/file-upload.js +47 -24
- package/dist/components/gauge.d.ts +48 -9
- package/dist/components/gauge.js +57 -55
- package/dist/components/hamburger.d.ts +19 -4
- package/dist/components/hamburger.js +28 -19
- package/dist/components/hover-card.d.ts +40 -14
- package/dist/components/hover-card.js +76 -59
- package/dist/components/indicator.d.ts +18 -7
- package/dist/components/indicator.js +16 -18
- package/dist/components/input.d.ts +70 -5
- package/dist/components/input.js +83 -20
- package/dist/components/line-chart.d.ts +27 -5
- package/dist/components/line-chart.js +19 -21
- package/dist/components/list.d.ts +10 -1
- package/dist/components/list.js +3 -3
- package/dist/components/menu.d.ts +67 -21
- package/dist/components/menu.js +116 -115
- package/dist/components/multiselect.d.ts +108 -13
- package/dist/components/multiselect.js +207 -70
- package/dist/components/nav-bar.d.ts +12 -7
- package/dist/components/nav-bar.js +11 -21
- package/dist/components/nav-menu.d.ts +52 -12
- package/dist/components/nav-menu.js +68 -70
- package/dist/components/number-input.d.ts +76 -8
- package/dist/components/number-input.js +117 -51
- package/dist/components/pagination.d.ts +19 -1
- package/dist/components/pagination.js +68 -7
- package/dist/components/panel.d.ts +16 -8
- package/dist/components/panel.js +20 -20
- package/dist/components/pin-input.d.ts +41 -4
- package/dist/components/pin-input.js +45 -27
- package/dist/components/popover.d.ts +29 -11
- package/dist/components/popover.js +47 -35
- package/dist/components/progress.d.ts +7 -3
- package/dist/components/progress.js +3 -3
- package/dist/components/radio-group.d.ts +30 -5
- package/dist/components/radio-group.js +56 -19
- package/dist/components/radio.d.ts +47 -7
- package/dist/components/radio.js +68 -29
- package/dist/components/scroll-area.d.ts +8 -5
- package/dist/components/scroll-area.js +19 -20
- package/dist/components/segmented-control.d.ts +52 -8
- package/dist/components/segmented-control.js +66 -36
- package/dist/components/select.d.ts +59 -12
- package/dist/components/select.js +96 -46
- package/dist/components/sidebar.d.ts +22 -3
- package/dist/components/sidebar.js +20 -10
- package/dist/components/skeleton.d.ts +5 -2
- package/dist/components/skeleton.js +4 -4
- package/dist/components/slider.d.ts +27 -5
- package/dist/components/slider.js +29 -17
- package/dist/components/spinner.d.ts +6 -2
- package/dist/components/spinner.js +3 -3
- package/dist/components/stat.d.ts +21 -4
- package/dist/components/stat.js +7 -3
- package/dist/components/status-dot.d.ts +4 -1
- package/dist/components/status-dot.js +3 -3
- package/dist/components/stepper.d.ts +5 -1
- package/dist/components/stepper.js +2 -2
- package/dist/components/switch.d.ts +24 -5
- package/dist/components/switch.js +37 -19
- package/dist/components/table.d.ts +51 -2
- package/dist/components/table.js +157 -8
- package/dist/components/tabs.d.ts +49 -17
- package/dist/components/tabs.js +85 -54
- package/dist/components/tag.d.ts +17 -7
- package/dist/components/tag.js +19 -21
- package/dist/components/tags-input.d.ts +33 -4
- package/dist/components/tags-input.js +40 -30
- package/dist/components/textarea.d.ts +61 -5
- package/dist/components/textarea.js +58 -21
- package/dist/components/toast.d.ts +89 -15
- package/dist/components/toast.js +105 -30
- package/dist/components/toggle-group.d.ts +30 -3
- package/dist/components/toggle-group.js +43 -16
- package/dist/components/toggle.d.ts +25 -4
- package/dist/components/toggle.js +28 -18
- package/dist/components/tooltip.d.ts +31 -12
- package/dist/components/tooltip.js +62 -28
- package/dist/components.json +1518 -0
- package/dist/custom-elements.json +31817 -0
- package/dist/dev/index.d.ts +40 -0
- package/dist/dev/rules.d.ts +46 -0
- package/dist/dev/table.generated.d.ts +8 -0
- package/dist/dev/types.d.ts +113 -0
- package/dist/dev.js +3364 -0
- package/dist/disclosure.d.ts +30 -0
- package/dist/dismiss.d.ts +20 -0
- package/dist/form-control.d.ts +92 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +24 -24
- package/dist/keyboard-activation.d.ts +31 -0
- package/dist/keyboard.d.ts +32 -0
- package/dist/modal.d.ts +44 -0
- package/dist/overlay.d.ts +249 -0
- package/dist/parts.d.ts +171 -0
- package/dist/projection.d.ts +370 -0
- package/dist/types/elements.d.ts +648 -0
- package/dist/types/react.d.ts +163 -0
- package/dist/types/solid.d.ts +164 -0
- package/dist/types/solid2.d.ts +161 -0
- package/dist/types/svelte.d.ts +154 -0
- package/dist/types/vue.d.ts +156 -0
- package/dist/vscode.html-custom-data.json +6004 -0
- package/dist/web-types.json +8365 -0
- package/package.json +113 -21
- package/dist/base.d.ts.map +0 -1
- package/dist/components/accordion.d.ts.map +0 -1
- package/dist/components/action-input.d.ts.map +0 -1
- package/dist/components/alert.d.ts.map +0 -1
- package/dist/components/avatar.d.ts.map +0 -1
- package/dist/components/badge.d.ts.map +0 -1
- package/dist/components/banner.d.ts.map +0 -1
- package/dist/components/bar-chart.d.ts.map +0 -1
- package/dist/components/breadcrumbs.d.ts.map +0 -1
- package/dist/components/button.d.ts.map +0 -1
- package/dist/components/calendar.d.ts.map +0 -1
- package/dist/components/card.d.ts.map +0 -1
- package/dist/components/carousel.d.ts.map +0 -1
- package/dist/components/charts/scale.d.ts.map +0 -1
- package/dist/components/charts/shape.d.ts.map +0 -1
- package/dist/components/checkbox-group.d.ts.map +0 -1
- package/dist/components/checkbox.d.ts.map +0 -1
- package/dist/components/collapsible.d.ts.map +0 -1
- package/dist/components/color-picker.d.ts.map +0 -1
- package/dist/components/combobox.d.ts.map +0 -1
- package/dist/components/compose-input.d.ts.map +0 -1
- package/dist/components/dialog.d.ts.map +0 -1
- package/dist/components/divider.d.ts.map +0 -1
- package/dist/components/donut-chart.d.ts.map +0 -1
- package/dist/components/drawer.d.ts.map +0 -1
- package/dist/components/dropdown-menu.d.ts.map +0 -1
- package/dist/components/editable.d.ts.map +0 -1
- package/dist/components/error-fallback.d.ts.map +0 -1
- package/dist/components/field.d.ts.map +0 -1
- package/dist/components/file-upload.d.ts.map +0 -1
- package/dist/components/gauge.d.ts.map +0 -1
- package/dist/components/hamburger.d.ts.map +0 -1
- package/dist/components/hover-card.d.ts.map +0 -1
- package/dist/components/indicator.d.ts.map +0 -1
- package/dist/components/input.d.ts.map +0 -1
- package/dist/components/line-chart.d.ts.map +0 -1
- package/dist/components/list.d.ts.map +0 -1
- package/dist/components/menu.d.ts.map +0 -1
- package/dist/components/multiselect.d.ts.map +0 -1
- package/dist/components/nav-bar.d.ts.map +0 -1
- package/dist/components/nav-menu.d.ts.map +0 -1
- package/dist/components/number-input.d.ts.map +0 -1
- package/dist/components/pagination.d.ts.map +0 -1
- package/dist/components/panel.d.ts.map +0 -1
- package/dist/components/pin-input.d.ts.map +0 -1
- package/dist/components/popover.d.ts.map +0 -1
- package/dist/components/progress.d.ts.map +0 -1
- package/dist/components/radio-group.d.ts.map +0 -1
- package/dist/components/radio.d.ts.map +0 -1
- package/dist/components/scroll-area.d.ts.map +0 -1
- package/dist/components/segmented-control.d.ts.map +0 -1
- package/dist/components/select.d.ts.map +0 -1
- package/dist/components/sidebar.d.ts.map +0 -1
- package/dist/components/skeleton.d.ts.map +0 -1
- package/dist/components/slider.d.ts.map +0 -1
- package/dist/components/spinner.d.ts.map +0 -1
- package/dist/components/stat.d.ts.map +0 -1
- package/dist/components/status-dot.d.ts.map +0 -1
- package/dist/components/stepper.d.ts.map +0 -1
- package/dist/components/switch.d.ts.map +0 -1
- package/dist/components/table.d.ts.map +0 -1
- package/dist/components/tabs.d.ts.map +0 -1
- package/dist/components/tag.d.ts.map +0 -1
- package/dist/components/tags-input.d.ts.map +0 -1
- package/dist/components/textarea.d.ts.map +0 -1
- package/dist/components/toast.d.ts.map +0 -1
- package/dist/components/toggle-group.d.ts.map +0 -1
- package/dist/components/toggle.d.ts.map +0 -1
- package/dist/components/tooltip.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
// Generated from custom-elements.json by packages/ui/cem/generate.js. Do not edit.
|
|
2
|
+
import type { VoidAccordion, VoidAccordionItem } from '../components/accordion.js';
|
|
3
|
+
import type { VoidActionInput } from '../components/action-input.js';
|
|
4
|
+
import type { VoidAlert } from '../components/alert.js';
|
|
5
|
+
import type { VoidAvatar } from '../components/avatar.js';
|
|
6
|
+
import type { VoidBadge } from '../components/badge.js';
|
|
7
|
+
import type { VoidBanner } from '../components/banner.js';
|
|
8
|
+
import type { VoidBarChart } from '../components/bar-chart.js';
|
|
9
|
+
import type { VoidBreadcrumbs } from '../components/breadcrumbs.js';
|
|
10
|
+
import type { VoidButton } from '../components/button.js';
|
|
11
|
+
import type { VoidCalendar, VoidDatePicker } from '../components/calendar.js';
|
|
12
|
+
import type { VoidCard } from '../components/card.js';
|
|
13
|
+
import type { VoidCarousel, VoidCarouselNext, VoidCarouselPrevious } from '../components/carousel.js';
|
|
14
|
+
import type { VoidCheckboxGroup } from '../components/checkbox-group.js';
|
|
15
|
+
import type { VoidCheckbox } from '../components/checkbox.js';
|
|
16
|
+
import type { VoidCollapsible } from '../components/collapsible.js';
|
|
17
|
+
import type { VoidColorPicker } from '../components/color-picker.js';
|
|
18
|
+
import type { VoidCombobox } from '../components/combobox.js';
|
|
19
|
+
import type { VoidComposeInput } from '../components/compose-input.js';
|
|
20
|
+
import type { VoidDialog } from '../components/dialog.js';
|
|
21
|
+
import type { VoidDivider } from '../components/divider.js';
|
|
22
|
+
import type { VoidDonutChart } from '../components/donut-chart.js';
|
|
23
|
+
import type { VoidDrawer } from '../components/drawer.js';
|
|
24
|
+
import type { VoidDropdownMenu, VoidDropdownMenuItem } from '../components/dropdown-menu.js';
|
|
25
|
+
import type { VoidEditable } from '../components/editable.js';
|
|
26
|
+
import type { VoidErrorFallback } from '../components/error-fallback.js';
|
|
27
|
+
import type { VoidField } from '../components/field.js';
|
|
28
|
+
import type { VoidFileUpload } from '../components/file-upload.js';
|
|
29
|
+
import type { VoidGauge } from '../components/gauge.js';
|
|
30
|
+
import type { VoidHamburger } from '../components/hamburger.js';
|
|
31
|
+
import type { VoidHoverCard } from '../components/hover-card.js';
|
|
32
|
+
import type { VoidIndicator } from '../components/indicator.js';
|
|
33
|
+
import type { VoidInput } from '../components/input.js';
|
|
34
|
+
import type { VoidLineChart } from '../components/line-chart.js';
|
|
35
|
+
import type { VoidList, VoidListItem } from '../components/list.js';
|
|
36
|
+
import type { VoidMenu, VoidMenuGroup, VoidMenuItem } from '../components/menu.js';
|
|
37
|
+
import type { VoidMultiselect, VoidOption } from '../components/multiselect.js';
|
|
38
|
+
import type { VoidNavBar } from '../components/nav-bar.js';
|
|
39
|
+
import type { VoidNavMenu, VoidNavMenuItem } from '../components/nav-menu.js';
|
|
40
|
+
import type { VoidNumberInput } from '../components/number-input.js';
|
|
41
|
+
import type { VoidPagination } from '../components/pagination.js';
|
|
42
|
+
import type { VoidPanel } from '../components/panel.js';
|
|
43
|
+
import type { VoidPinInput } from '../components/pin-input.js';
|
|
44
|
+
import type { VoidPopover } from '../components/popover.js';
|
|
45
|
+
import type { VoidProgress } from '../components/progress.js';
|
|
46
|
+
import type { VoidRadioGroup } from '../components/radio-group.js';
|
|
47
|
+
import type { VoidRadio } from '../components/radio.js';
|
|
48
|
+
import type { VoidScrollArea } from '../components/scroll-area.js';
|
|
49
|
+
import type { VoidSegmentedControl, VoidSegmentedControlItem } from '../components/segmented-control.js';
|
|
50
|
+
import type { VoidSelect } from '../components/select.js';
|
|
51
|
+
import type { VoidSidebar } from '../components/sidebar.js';
|
|
52
|
+
import type { VoidSkeleton } from '../components/skeleton.js';
|
|
53
|
+
import type { VoidSlider } from '../components/slider.js';
|
|
54
|
+
import type { VoidSpinner } from '../components/spinner.js';
|
|
55
|
+
import type { VoidStat } from '../components/stat.js';
|
|
56
|
+
import type { VoidStatusDot } from '../components/status-dot.js';
|
|
57
|
+
import type { VoidStepper } from '../components/stepper.js';
|
|
58
|
+
import type { VoidSwitch } from '../components/switch.js';
|
|
59
|
+
import type { VoidTable } from '../components/table.js';
|
|
60
|
+
import type { VoidTabs } from '../components/tabs.js';
|
|
61
|
+
import type { VoidTag } from '../components/tag.js';
|
|
62
|
+
import type { TagValue, VoidTagsInput } from '../components/tags-input.js';
|
|
63
|
+
import type { VoidTextarea } from '../components/textarea.js';
|
|
64
|
+
import type { VoidToast, VoidToastContainer } from '../components/toast.js';
|
|
65
|
+
import type { VoidToggleGroup } from '../components/toggle-group.js';
|
|
66
|
+
import type { VoidToggle } from '../components/toggle.js';
|
|
67
|
+
import type { VoidTooltip } from '../components/tooltip.js';
|
|
68
|
+
|
|
69
|
+
/** Every custom element registered by @voidable/ui and every CSS-only part (HTMLElement), keyed by tag name. */
|
|
70
|
+
export interface VoidElementTagNameMap {
|
|
71
|
+
'void-accordion': VoidAccordion;
|
|
72
|
+
'void-accordion-content': HTMLElement;
|
|
73
|
+
'void-accordion-item': VoidAccordionItem;
|
|
74
|
+
'void-accordion-trigger': HTMLElement;
|
|
75
|
+
'void-action-input': VoidActionInput;
|
|
76
|
+
'void-alert': VoidAlert;
|
|
77
|
+
'void-alert-close': HTMLElement;
|
|
78
|
+
'void-alert-description': HTMLElement;
|
|
79
|
+
'void-alert-title': HTMLElement;
|
|
80
|
+
'void-avatar': VoidAvatar;
|
|
81
|
+
'void-badge': VoidBadge;
|
|
82
|
+
'void-banner': VoidBanner;
|
|
83
|
+
'void-banner-actions': HTMLElement;
|
|
84
|
+
'void-banner-close': HTMLElement;
|
|
85
|
+
'void-banner-description': HTMLElement;
|
|
86
|
+
'void-banner-title': HTMLElement;
|
|
87
|
+
'void-bar-chart': VoidBarChart;
|
|
88
|
+
'void-breadcrumbs': VoidBreadcrumbs;
|
|
89
|
+
'void-breadcrumbs-item': HTMLElement;
|
|
90
|
+
'void-breadcrumbs-list': HTMLElement;
|
|
91
|
+
'void-button': VoidButton;
|
|
92
|
+
'void-calendar': VoidCalendar;
|
|
93
|
+
'void-card': VoidCard;
|
|
94
|
+
'void-card-body': HTMLElement;
|
|
95
|
+
'void-card-description': HTMLElement;
|
|
96
|
+
'void-card-footer': HTMLElement;
|
|
97
|
+
'void-card-header': HTMLElement;
|
|
98
|
+
'void-card-title': HTMLElement;
|
|
99
|
+
'void-carousel': VoidCarousel;
|
|
100
|
+
'void-carousel-content': HTMLElement;
|
|
101
|
+
'void-carousel-indicators': HTMLElement;
|
|
102
|
+
'void-carousel-item': HTMLElement;
|
|
103
|
+
'void-carousel-next': VoidCarouselNext;
|
|
104
|
+
'void-carousel-previous': VoidCarouselPrevious;
|
|
105
|
+
'void-checkbox': VoidCheckbox;
|
|
106
|
+
'void-checkbox-group': VoidCheckboxGroup;
|
|
107
|
+
'void-collapsible': VoidCollapsible;
|
|
108
|
+
'void-collapsible-content': HTMLElement;
|
|
109
|
+
'void-collapsible-trigger': HTMLElement;
|
|
110
|
+
'void-color-picker': VoidColorPicker;
|
|
111
|
+
'void-combobox': VoidCombobox;
|
|
112
|
+
'void-combobox-content': HTMLElement;
|
|
113
|
+
'void-compose-input': VoidComposeInput;
|
|
114
|
+
'void-date-picker': VoidDatePicker;
|
|
115
|
+
'void-dialog': VoidDialog;
|
|
116
|
+
'void-dialog-actions': HTMLElement;
|
|
117
|
+
'void-dialog-body': HTMLElement;
|
|
118
|
+
'void-dialog-description': HTMLElement;
|
|
119
|
+
'void-dialog-title': HTMLElement;
|
|
120
|
+
'void-divider': VoidDivider;
|
|
121
|
+
'void-donut-chart': VoidDonutChart;
|
|
122
|
+
'void-drawer': VoidDrawer;
|
|
123
|
+
'void-drawer-actions': HTMLElement;
|
|
124
|
+
'void-drawer-body': HTMLElement;
|
|
125
|
+
'void-drawer-description': HTMLElement;
|
|
126
|
+
'void-drawer-title': HTMLElement;
|
|
127
|
+
'void-dropdown-menu': VoidDropdownMenu;
|
|
128
|
+
'void-dropdown-menu-content': HTMLElement;
|
|
129
|
+
'void-dropdown-menu-item': VoidDropdownMenuItem;
|
|
130
|
+
'void-dropdown-menu-separator': HTMLElement;
|
|
131
|
+
'void-dropdown-menu-trigger': HTMLElement;
|
|
132
|
+
'void-editable': VoidEditable;
|
|
133
|
+
'void-error-fallback': VoidErrorFallback;
|
|
134
|
+
'void-error-fallback-actions': HTMLElement;
|
|
135
|
+
'void-error-fallback-description': HTMLElement;
|
|
136
|
+
'void-error-fallback-title': HTMLElement;
|
|
137
|
+
'void-field': VoidField;
|
|
138
|
+
'void-file-upload': VoidFileUpload;
|
|
139
|
+
'void-gauge': VoidGauge;
|
|
140
|
+
'void-hamburger': VoidHamburger;
|
|
141
|
+
'void-hover-card': VoidHoverCard;
|
|
142
|
+
'void-hover-card-content': HTMLElement;
|
|
143
|
+
'void-hover-card-trigger': HTMLElement;
|
|
144
|
+
'void-indicator': VoidIndicator;
|
|
145
|
+
'void-input': VoidInput;
|
|
146
|
+
'void-line-chart': VoidLineChart;
|
|
147
|
+
'void-list': VoidList;
|
|
148
|
+
'void-list-item': VoidListItem;
|
|
149
|
+
'void-menu': VoidMenu;
|
|
150
|
+
'void-menu-content': HTMLElement;
|
|
151
|
+
'void-menu-empty': HTMLElement;
|
|
152
|
+
'void-menu-group': VoidMenuGroup;
|
|
153
|
+
'void-menu-group-label': HTMLElement;
|
|
154
|
+
'void-menu-item': VoidMenuItem;
|
|
155
|
+
'void-menu-item-icon': HTMLElement;
|
|
156
|
+
'void-menu-item-shortcut': HTMLElement;
|
|
157
|
+
'void-menu-search': HTMLElement;
|
|
158
|
+
'void-multiselect': VoidMultiselect;
|
|
159
|
+
'void-multiselect-content': HTMLElement;
|
|
160
|
+
'void-nav-bar': VoidNavBar;
|
|
161
|
+
'void-nav-menu': VoidNavMenu;
|
|
162
|
+
'void-nav-menu-content': HTMLElement;
|
|
163
|
+
'void-nav-menu-item': VoidNavMenuItem;
|
|
164
|
+
'void-nav-menu-trigger': HTMLElement;
|
|
165
|
+
'void-number-input': VoidNumberInput;
|
|
166
|
+
'void-option': VoidOption;
|
|
167
|
+
'void-pagination': VoidPagination;
|
|
168
|
+
'void-panel': VoidPanel;
|
|
169
|
+
'void-panel-body': HTMLElement;
|
|
170
|
+
'void-panel-description': HTMLElement;
|
|
171
|
+
'void-panel-header': HTMLElement;
|
|
172
|
+
'void-panel-title': HTMLElement;
|
|
173
|
+
'void-pin-input': VoidPinInput;
|
|
174
|
+
'void-popover': VoidPopover;
|
|
175
|
+
'void-popover-content': HTMLElement;
|
|
176
|
+
'void-popover-trigger': HTMLElement;
|
|
177
|
+
'void-progress': VoidProgress;
|
|
178
|
+
'void-radio': VoidRadio;
|
|
179
|
+
'void-radio-group': VoidRadioGroup;
|
|
180
|
+
'void-scroll-area': VoidScrollArea;
|
|
181
|
+
'void-segmented-control': VoidSegmentedControl;
|
|
182
|
+
'void-segmented-control-item': VoidSegmentedControlItem;
|
|
183
|
+
'void-select': VoidSelect;
|
|
184
|
+
'void-sidebar': VoidSidebar;
|
|
185
|
+
'void-skeleton': VoidSkeleton;
|
|
186
|
+
'void-slider': VoidSlider;
|
|
187
|
+
'void-spinner': VoidSpinner;
|
|
188
|
+
'void-stat': VoidStat;
|
|
189
|
+
'void-status-dot': VoidStatusDot;
|
|
190
|
+
'void-stepper': VoidStepper;
|
|
191
|
+
'void-switch': VoidSwitch;
|
|
192
|
+
'void-table': VoidTable;
|
|
193
|
+
'void-tabs': VoidTabs;
|
|
194
|
+
'void-tabs-content': HTMLElement;
|
|
195
|
+
'void-tabs-list': HTMLElement;
|
|
196
|
+
'void-tabs-trigger': HTMLElement;
|
|
197
|
+
'void-tag': VoidTag;
|
|
198
|
+
'void-tags-input': VoidTagsInput;
|
|
199
|
+
'void-textarea': VoidTextarea;
|
|
200
|
+
'void-toast': VoidToast;
|
|
201
|
+
'void-toast-actions': HTMLElement;
|
|
202
|
+
'void-toast-close': HTMLElement;
|
|
203
|
+
'void-toast-container': VoidToastContainer;
|
|
204
|
+
'void-toast-description': HTMLElement;
|
|
205
|
+
'void-toast-title': HTMLElement;
|
|
206
|
+
'void-toggle': VoidToggle;
|
|
207
|
+
'void-toggle-group': VoidToggleGroup;
|
|
208
|
+
'void-tooltip': VoidTooltip;
|
|
209
|
+
'void-tooltip-content': HTMLElement;
|
|
210
|
+
'void-tooltip-trigger': HTMLElement;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Public, writable properties of each element (all optional, as set from
|
|
215
|
+
* markup), plus attributes that have no backing property.
|
|
216
|
+
*/
|
|
217
|
+
export interface VoidElementProperties {
|
|
218
|
+
'void-accordion': Partial<Pick<VoidAccordion, 'multiple'>>;
|
|
219
|
+
'void-accordion-content': {};
|
|
220
|
+
'void-accordion-item': Partial<Pick<VoidAccordionItem, 'open'>>;
|
|
221
|
+
'void-accordion-trigger': {};
|
|
222
|
+
'void-action-input': Partial<Pick<VoidActionInput, 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputMode' | 'enterKeyHint' | 'autocapitalize' | 'size' | 'color' | 'type' | 'icon' | 'actionLabel' | 'iconSide' | 'tooltipSide'>> & { 'spellcheck'?: string | null; 'form'?: string | null };
|
|
223
|
+
'void-alert': Partial<Pick<VoidAlert, 'color' | 'variant'>>;
|
|
224
|
+
'void-alert-close': {};
|
|
225
|
+
'void-alert-description': {};
|
|
226
|
+
'void-alert-title': {};
|
|
227
|
+
'void-avatar': Partial<Pick<VoidAvatar, 'src' | 'alt' | 'initials' | 'size'>>;
|
|
228
|
+
'void-badge': Partial<Pick<VoidBadge, 'color' | 'variant' | 'size'>>;
|
|
229
|
+
'void-banner': Partial<Pick<VoidBanner, 'color' | 'variant'>>;
|
|
230
|
+
'void-banner-actions': {};
|
|
231
|
+
'void-banner-close': {};
|
|
232
|
+
'void-banner-description': {};
|
|
233
|
+
'void-banner-title': {};
|
|
234
|
+
'void-bar-chart': Partial<Pick<VoidBarChart, 'height' | 'showValue' | 'variant' | 'ariaLabel' | 'stagger' | 'data'>>;
|
|
235
|
+
'void-breadcrumbs': Partial<Pick<VoidBreadcrumbs, 'separator'>>;
|
|
236
|
+
'void-breadcrumbs-item': {};
|
|
237
|
+
'void-breadcrumbs-list': {};
|
|
238
|
+
'void-button': Partial<Pick<VoidButton, 'variant' | 'color' | 'disabled' | 'type' | 'size'>>;
|
|
239
|
+
'void-calendar': Partial<Pick<VoidCalendar, 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'required' | 'name'>>;
|
|
240
|
+
'void-card': Partial<Pick<VoidCard, 'variant' | 'padding'>> & { 'scrollable'?: boolean };
|
|
241
|
+
'void-card-body': {};
|
|
242
|
+
'void-card-description': {};
|
|
243
|
+
'void-card-footer': {};
|
|
244
|
+
'void-card-header': {};
|
|
245
|
+
'void-card-title': {};
|
|
246
|
+
'void-carousel': Partial<Pick<VoidCarousel, 'index' | 'loop' | 'autoplay' | 'interval' | 'size' | 'orientation'>>;
|
|
247
|
+
'void-carousel-content': {};
|
|
248
|
+
'void-carousel-indicators': {};
|
|
249
|
+
'void-carousel-item': {} & { 'active'?: boolean };
|
|
250
|
+
'void-carousel-next': {};
|
|
251
|
+
'void-carousel-previous': {};
|
|
252
|
+
'void-checkbox': Partial<Pick<VoidCheckbox, 'checked' | 'disabled' | 'indeterminate' | 'name' | 'value' | 'required' | 'color' | 'size'>> & { 'form'?: string | null };
|
|
253
|
+
'void-checkbox-group': Partial<Pick<VoidCheckboxGroup, 'label' | 'orientation' | 'name' | 'required' | 'disabled' | 'value'>> & { 'form'?: string | null };
|
|
254
|
+
'void-collapsible': Partial<Pick<VoidCollapsible, 'open' | 'disabled'>>;
|
|
255
|
+
'void-collapsible-content': {};
|
|
256
|
+
'void-collapsible-trigger': {};
|
|
257
|
+
'void-color-picker': Partial<Pick<VoidColorPicker, 'value' | 'disabled' | 'size' | 'swatches' | 'hideInput' | 'compact' | 'open' | 'required' | 'name'>>;
|
|
258
|
+
'void-combobox': Partial<Pick<VoidCombobox, 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required'>>;
|
|
259
|
+
'void-combobox-content': {} & { 'empty'?: boolean };
|
|
260
|
+
'void-compose-input': Partial<Pick<VoidComposeInput, 'value' | 'placeholder' | 'disabled' | 'maxlength'>>;
|
|
261
|
+
'void-date-picker': Partial<Pick<VoidDatePicker, 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'firstDay' | 'open' | 'placeholder' | 'format' | 'color' | 'required' | 'name'>>;
|
|
262
|
+
'void-dialog': Partial<Pick<VoidDialog, 'size' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
|
|
263
|
+
'void-dialog-actions': {};
|
|
264
|
+
'void-dialog-body': {};
|
|
265
|
+
'void-dialog-description': {};
|
|
266
|
+
'void-dialog-title': {};
|
|
267
|
+
'void-divider': Partial<Pick<VoidDivider, 'label' | 'orientation'>>;
|
|
268
|
+
'void-donut-chart': Partial<Pick<VoidDonutChart, 'size' | 'inner' | 'gaps' | 'variant' | 'showValue' | 'showTotal' | 'ariaLabel' | 'data'>>;
|
|
269
|
+
'void-drawer': Partial<Pick<VoidDrawer, 'side' | 'size' | 'open' | 'hideClose'>> & { 'aria-label'?: string };
|
|
270
|
+
'void-drawer-actions': {};
|
|
271
|
+
'void-drawer-body': {};
|
|
272
|
+
'void-drawer-description': {};
|
|
273
|
+
'void-drawer-title': {};
|
|
274
|
+
'void-dropdown-menu': Partial<Pick<VoidDropdownMenu, 'open' | 'side' | 'align'>>;
|
|
275
|
+
'void-dropdown-menu-content': {};
|
|
276
|
+
'void-dropdown-menu-item': Partial<Pick<VoidDropdownMenuItem, 'value' | 'disabled' | 'destructive' | 'keepOpen'>>;
|
|
277
|
+
'void-dropdown-menu-separator': {};
|
|
278
|
+
'void-dropdown-menu-trigger': {};
|
|
279
|
+
'void-editable': Partial<Pick<VoidEditable, 'value' | 'editing' | 'disabled' | 'placeholder' | 'submitMode' | 'size' | 'required' | 'name'>>;
|
|
280
|
+
'void-error-fallback': Partial<Pick<VoidErrorFallback, 'heading' | 'message' | 'retryable' | 'retryLabel' | 'hideIcon'>>;
|
|
281
|
+
'void-error-fallback-actions': {};
|
|
282
|
+
'void-error-fallback-description': {};
|
|
283
|
+
'void-error-fallback-title': {};
|
|
284
|
+
'void-field': Partial<Pick<VoidField, 'label' | 'error' | 'helper' | 'required'>>;
|
|
285
|
+
'void-file-upload': Partial<Pick<VoidFileUpload, 'accept' | 'multiple' | 'disabled' | 'maxSize' | 'error' | 'required' | 'name'>>;
|
|
286
|
+
'void-gauge': Partial<Pick<VoidGauge, 'unit' | 'value' | 'min' | 'max' | 'size' | 'thickness' | 'circular' | 'variant' | 'hideValue' | 'unitInline' | 'tickMajor' | 'tickMinor' | 'hideTickMin' | 'hideTickMax' | 'segmentsSort' | 'gaps' | 'ariaLabel' | 'zones' | 'data'>>;
|
|
287
|
+
'void-hamburger': Partial<Pick<VoidHamburger, 'open' | 'size'>>;
|
|
288
|
+
'void-hover-card': Partial<Pick<VoidHoverCard, 'open' | 'side' | 'align' | 'openDelay' | 'closeDelay'>>;
|
|
289
|
+
'void-hover-card-content': {};
|
|
290
|
+
'void-hover-card-trigger': {};
|
|
291
|
+
'void-indicator': Partial<Pick<VoidIndicator, 'color' | 'placement' | 'count' | 'ping' | 'size'>>;
|
|
292
|
+
'void-input': Partial<Pick<VoidInput, 'type' | 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputMode' | 'enterKeyHint' | 'autocapitalize'>> & { 'spellcheck'?: string | null; 'form'?: string | null };
|
|
293
|
+
'void-line-chart': Partial<Pick<VoidLineChart, 'height' | 'showValue' | 'variant' | 'interpolation' | 'ariaLabel' | 'data'>>;
|
|
294
|
+
'void-list': Partial<Pick<VoidList, 'dividers'>>;
|
|
295
|
+
'void-list-item': Partial<Pick<VoidListItem, 'selected' | 'disabled' | 'interactive'>>;
|
|
296
|
+
'void-menu': Partial<Pick<VoidMenu, 'open' | 'size'>>;
|
|
297
|
+
'void-menu-content': {};
|
|
298
|
+
'void-menu-empty': {};
|
|
299
|
+
'void-menu-group': {};
|
|
300
|
+
'void-menu-group-label': {};
|
|
301
|
+
'void-menu-item': Partial<Pick<VoidMenuItem, 'value' | 'disabled'>>;
|
|
302
|
+
'void-menu-item-icon': {};
|
|
303
|
+
'void-menu-item-shortcut': {};
|
|
304
|
+
'void-menu-search': {};
|
|
305
|
+
'void-multiselect': Partial<Pick<VoidMultiselect, 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'value' | 'required'>>;
|
|
306
|
+
'void-multiselect-content': {};
|
|
307
|
+
'void-nav-bar': Partial<Pick<VoidNavBar, 'sticky' | 'hideBorder' | 'variant'>>;
|
|
308
|
+
'void-nav-menu': Partial<Pick<VoidNavMenu, 'orientation' | 'width'>>;
|
|
309
|
+
'void-nav-menu-content': {};
|
|
310
|
+
'void-nav-menu-item': Partial<Pick<VoidNavMenuItem, 'open' | 'disabled' | 'current'>>;
|
|
311
|
+
'void-nav-menu-trigger': {};
|
|
312
|
+
'void-number-input': Partial<Pick<VoidNumberInput, 'value' | 'min' | 'max' | 'step' | 'precision' | 'disabled' | 'readonly' | 'size' | 'color' | 'placeholder' | 'controls' | 'label' | 'prefix' | 'unit' | 'required' | 'name'>>;
|
|
313
|
+
'void-option': Partial<Pick<VoidOption, 'value' | 'selected' | 'disabled' | 'label'>>;
|
|
314
|
+
'void-pagination': Partial<Pick<VoidPagination, 'total' | 'value' | 'siblings' | 'size' | 'hrefTemplate' | 'param'>>;
|
|
315
|
+
'void-panel': Partial<Pick<VoidPanel, 'variant'>>;
|
|
316
|
+
'void-panel-body': {};
|
|
317
|
+
'void-panel-description': {};
|
|
318
|
+
'void-panel-header': {};
|
|
319
|
+
'void-panel-title': {};
|
|
320
|
+
'void-pin-input': Partial<Pick<VoidPinInput, 'length' | 'groups' | 'value' | 'disabled' | 'mask' | 'type' | 'size' | 'color' | 'placeholder' | 'required' | 'name'>>;
|
|
321
|
+
'void-popover': Partial<Pick<VoidPopover, 'open' | 'side' | 'align' | 'trigger'>>;
|
|
322
|
+
'void-popover-content': {};
|
|
323
|
+
'void-popover-trigger': {};
|
|
324
|
+
'void-progress': Partial<Pick<VoidProgress, 'value' | 'max' | 'color' | 'size' | 'indeterminate'>>;
|
|
325
|
+
'void-radio': Partial<Pick<VoidRadio, 'checked' | 'disabled' | 'name' | 'value' | 'required' | 'color' | 'size'>> & { 'form'?: string | null };
|
|
326
|
+
'void-radio-group': Partial<Pick<VoidRadioGroup, 'label' | 'value' | 'name' | 'required' | 'disabled' | 'orientation'>> & { 'form'?: string | null };
|
|
327
|
+
'void-scroll-area': Partial<Pick<VoidScrollArea, 'maxHeight' | 'orientation'>>;
|
|
328
|
+
'void-segmented-control': Partial<Pick<VoidSegmentedControl, 'value' | 'disabled' | 'size' | 'color' | 'required' | 'name'>>;
|
|
329
|
+
'void-segmented-control-item': Partial<Pick<VoidSegmentedControlItem, 'value' | 'disabled'>>;
|
|
330
|
+
'void-select': Partial<Pick<VoidSelect, 'size' | 'error' | 'value'>>;
|
|
331
|
+
'void-sidebar': Partial<Pick<VoidSidebar, 'collapsed' | 'width' | 'collapsedWidth' | 'side'>>;
|
|
332
|
+
'void-skeleton': Partial<Pick<VoidSkeleton, 'shape'>>;
|
|
333
|
+
'void-slider': Partial<Pick<VoidSlider, 'value' | 'min' | 'max' | 'step' | 'disabled' | 'name' | 'showValue' | 'size'>> & { 'form'?: string | null };
|
|
334
|
+
'void-spinner': Partial<Pick<VoidSpinner, 'size' | 'label'>>;
|
|
335
|
+
'void-stat': Partial<Pick<VoidStat, 'label' | 'value' | 'delta' | 'description' | 'trend' | 'color' | 'size'>>;
|
|
336
|
+
'void-status-dot': Partial<Pick<VoidStatusDot, 'status'>>;
|
|
337
|
+
'void-stepper': Partial<Pick<VoidStepper, 'value' | 'steps'>>;
|
|
338
|
+
'void-switch': Partial<Pick<VoidSwitch, 'checked' | 'disabled' | 'value' | 'color' | 'size' | 'required' | 'name'>>;
|
|
339
|
+
'void-table': Partial<Pick<VoidTable, 'striped' | 'hoverable' | 'compact' | 'bordered' | 'inset' | 'stack' | 'scrollable' | 'stickyHeader' | 'stickyColumn' | 'maxHeight' | 'label'>>;
|
|
340
|
+
'void-tabs': Partial<Pick<VoidTabs, 'value' | 'size' | 'activation'>>;
|
|
341
|
+
'void-tabs-content': {} & { 'value'?: string; 'active'?: boolean };
|
|
342
|
+
'void-tabs-list': {};
|
|
343
|
+
'void-tabs-trigger': {} & { 'value'?: string; 'disabled'?: boolean; 'active'?: boolean };
|
|
344
|
+
'void-tag': Partial<Pick<VoidTag, 'color' | 'removable' | 'size'>>;
|
|
345
|
+
'void-tags-input': Partial<Pick<VoidTagsInput, 'value' | 'disabled' | 'readonly' | 'max' | 'placeholder' | 'size' | 'color' | 'variant' | 'allowDuplicates' | 'required' | 'name'>>;
|
|
346
|
+
'void-textarea': Partial<Pick<VoidTextarea, 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'rows' | 'resize' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'inputMode' | 'enterKeyHint' | 'autocapitalize'>> & { 'spellcheck'?: string | null; 'form'?: string | null };
|
|
347
|
+
'void-toast': Partial<Pick<VoidToast, 'color' | 'duration'>>;
|
|
348
|
+
'void-toast-actions': {};
|
|
349
|
+
'void-toast-close': {};
|
|
350
|
+
'void-toast-container': Partial<Pick<VoidToastContainer, 'placement'>>;
|
|
351
|
+
'void-toast-description': {};
|
|
352
|
+
'void-toast-title': {};
|
|
353
|
+
'void-toggle': Partial<Pick<VoidToggle, 'pressed' | 'value' | 'disabled' | 'color' | 'size' | 'variant'>>;
|
|
354
|
+
'void-toggle-group': Partial<Pick<VoidToggleGroup, 'value' | 'multiple' | 'disabled' | 'size' | 'color' | 'orientation' | 'required' | 'name'>>;
|
|
355
|
+
'void-tooltip': Partial<Pick<VoidTooltip, 'side' | 'align' | 'delay' | 'open'>>;
|
|
356
|
+
'void-tooltip-content': {};
|
|
357
|
+
'void-tooltip-trigger': {};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** HTML attribute names of each element. */
|
|
361
|
+
export interface VoidElementAttributeNames {
|
|
362
|
+
'void-accordion': 'multiple';
|
|
363
|
+
'void-accordion-content': never;
|
|
364
|
+
'void-accordion-item': 'open';
|
|
365
|
+
'void-accordion-trigger': never;
|
|
366
|
+
'void-action-input': 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputmode' | 'enterkeyhint' | 'autocapitalize' | 'spellcheck' | 'size' | 'color' | 'type' | 'icon' | 'action-label' | 'icon-side' | 'tooltip-side' | 'form';
|
|
367
|
+
'void-alert': 'color' | 'variant';
|
|
368
|
+
'void-alert-close': never;
|
|
369
|
+
'void-alert-description': never;
|
|
370
|
+
'void-alert-title': never;
|
|
371
|
+
'void-avatar': 'src' | 'alt' | 'initials' | 'size';
|
|
372
|
+
'void-badge': 'color' | 'variant' | 'size';
|
|
373
|
+
'void-banner': 'color' | 'variant';
|
|
374
|
+
'void-banner-actions': never;
|
|
375
|
+
'void-banner-close': never;
|
|
376
|
+
'void-banner-description': never;
|
|
377
|
+
'void-banner-title': never;
|
|
378
|
+
'void-bar-chart': 'height' | 'show-value' | 'variant' | 'aria-label' | 'stagger';
|
|
379
|
+
'void-breadcrumbs': 'separator';
|
|
380
|
+
'void-breadcrumbs-item': never;
|
|
381
|
+
'void-breadcrumbs-list': never;
|
|
382
|
+
'void-button': 'variant' | 'color' | 'disabled' | 'type' | 'size';
|
|
383
|
+
'void-calendar': 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'required' | 'name';
|
|
384
|
+
'void-card': 'variant' | 'padding' | 'scrollable';
|
|
385
|
+
'void-card-body': never;
|
|
386
|
+
'void-card-description': never;
|
|
387
|
+
'void-card-footer': never;
|
|
388
|
+
'void-card-header': never;
|
|
389
|
+
'void-card-title': never;
|
|
390
|
+
'void-carousel': 'index' | 'loop' | 'autoplay' | 'interval' | 'size' | 'orientation';
|
|
391
|
+
'void-carousel-content': never;
|
|
392
|
+
'void-carousel-indicators': never;
|
|
393
|
+
'void-carousel-item': 'active';
|
|
394
|
+
'void-carousel-next': never;
|
|
395
|
+
'void-carousel-previous': never;
|
|
396
|
+
'void-checkbox': 'checked' | 'disabled' | 'indeterminate' | 'name' | 'value' | 'required' | 'color' | 'size' | 'form';
|
|
397
|
+
'void-checkbox-group': 'label' | 'orientation' | 'name' | 'required' | 'disabled' | 'form';
|
|
398
|
+
'void-collapsible': 'open' | 'disabled';
|
|
399
|
+
'void-collapsible-content': never;
|
|
400
|
+
'void-collapsible-trigger': never;
|
|
401
|
+
'void-color-picker': 'value' | 'disabled' | 'size' | 'swatches' | 'hide-input' | 'compact' | 'open' | 'required' | 'name';
|
|
402
|
+
'void-combobox': 'value' | 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required';
|
|
403
|
+
'void-combobox-content': 'empty';
|
|
404
|
+
'void-compose-input': 'value' | 'placeholder' | 'disabled' | 'maxlength';
|
|
405
|
+
'void-date-picker': 'value' | 'min' | 'max' | 'disabled' | 'size' | 'locale' | 'first-day' | 'open' | 'placeholder' | 'format' | 'color' | 'required' | 'name';
|
|
406
|
+
'void-dialog': 'aria-label' | 'size' | 'open' | 'hide-close';
|
|
407
|
+
'void-dialog-actions': never;
|
|
408
|
+
'void-dialog-body': never;
|
|
409
|
+
'void-dialog-description': never;
|
|
410
|
+
'void-dialog-title': never;
|
|
411
|
+
'void-divider': 'label' | 'orientation';
|
|
412
|
+
'void-donut-chart': 'size' | 'inner' | 'gaps' | 'variant' | 'show-value' | 'show-total' | 'aria-label';
|
|
413
|
+
'void-drawer': 'aria-label' | 'side' | 'size' | 'open' | 'hide-close';
|
|
414
|
+
'void-drawer-actions': never;
|
|
415
|
+
'void-drawer-body': never;
|
|
416
|
+
'void-drawer-description': never;
|
|
417
|
+
'void-drawer-title': never;
|
|
418
|
+
'void-dropdown-menu': 'open' | 'side' | 'align';
|
|
419
|
+
'void-dropdown-menu-content': never;
|
|
420
|
+
'void-dropdown-menu-item': 'value' | 'disabled' | 'destructive' | 'keep-open';
|
|
421
|
+
'void-dropdown-menu-separator': never;
|
|
422
|
+
'void-dropdown-menu-trigger': never;
|
|
423
|
+
'void-editable': 'value' | 'editing' | 'disabled' | 'placeholder' | 'submit-mode' | 'size' | 'required' | 'name';
|
|
424
|
+
'void-error-fallback': 'heading' | 'message' | 'retryable' | 'retry-label' | 'hide-icon';
|
|
425
|
+
'void-error-fallback-actions': never;
|
|
426
|
+
'void-error-fallback-description': never;
|
|
427
|
+
'void-error-fallback-title': never;
|
|
428
|
+
'void-field': 'label' | 'error' | 'helper' | 'required';
|
|
429
|
+
'void-file-upload': 'accept' | 'multiple' | 'disabled' | 'max-size' | 'error' | 'required' | 'name';
|
|
430
|
+
'void-gauge': 'unit' | 'value' | 'min' | 'max' | 'size' | 'thickness' | 'circular' | 'variant' | 'hide-value' | 'unit-inline' | 'tick-major' | 'tick-minor' | 'hide-tick-min' | 'hide-tick-max' | 'segments-sort' | 'gaps' | 'aria-label';
|
|
431
|
+
'void-hamburger': 'open' | 'size';
|
|
432
|
+
'void-hover-card': 'open' | 'side' | 'align' | 'open-delay' | 'close-delay';
|
|
433
|
+
'void-hover-card-content': never;
|
|
434
|
+
'void-hover-card-trigger': never;
|
|
435
|
+
'void-indicator': 'color' | 'placement' | 'count' | 'ping' | 'size';
|
|
436
|
+
'void-input': 'type' | 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'pattern' | 'inputmode' | 'enterkeyhint' | 'autocapitalize' | 'spellcheck' | 'form';
|
|
437
|
+
'void-line-chart': 'height' | 'show-value' | 'variant' | 'interpolation' | 'aria-label';
|
|
438
|
+
'void-list': 'dividers';
|
|
439
|
+
'void-list-item': 'selected' | 'disabled' | 'interactive';
|
|
440
|
+
'void-menu': 'open' | 'size';
|
|
441
|
+
'void-menu-content': never;
|
|
442
|
+
'void-menu-empty': never;
|
|
443
|
+
'void-menu-group': never;
|
|
444
|
+
'void-menu-group-label': never;
|
|
445
|
+
'void-menu-item': 'value' | 'disabled';
|
|
446
|
+
'void-menu-item-icon': never;
|
|
447
|
+
'void-menu-item-shortcut': never;
|
|
448
|
+
'void-menu-search': never;
|
|
449
|
+
'void-multiselect': 'placeholder' | 'disabled' | 'size' | 'error' | 'name' | 'open' | 'required';
|
|
450
|
+
'void-multiselect-content': never;
|
|
451
|
+
'void-nav-bar': 'sticky' | 'hide-border' | 'variant';
|
|
452
|
+
'void-nav-menu': 'orientation' | 'width';
|
|
453
|
+
'void-nav-menu-content': never;
|
|
454
|
+
'void-nav-menu-item': 'open' | 'disabled' | 'current';
|
|
455
|
+
'void-nav-menu-trigger': never;
|
|
456
|
+
'void-number-input': 'value' | 'min' | 'max' | 'step' | 'precision' | 'disabled' | 'readonly' | 'size' | 'color' | 'placeholder' | 'controls' | 'label' | 'prefix' | 'unit' | 'required' | 'name';
|
|
457
|
+
'void-option': 'value' | 'selected' | 'disabled' | 'label';
|
|
458
|
+
'void-pagination': 'total' | 'value' | 'siblings' | 'size' | 'href-template' | 'param';
|
|
459
|
+
'void-panel': 'variant';
|
|
460
|
+
'void-panel-body': never;
|
|
461
|
+
'void-panel-description': never;
|
|
462
|
+
'void-panel-header': never;
|
|
463
|
+
'void-panel-title': never;
|
|
464
|
+
'void-pin-input': 'length' | 'groups' | 'value' | 'disabled' | 'mask' | 'type' | 'size' | 'color' | 'placeholder' | 'required' | 'name';
|
|
465
|
+
'void-popover': 'open' | 'side' | 'align' | 'trigger';
|
|
466
|
+
'void-popover-content': never;
|
|
467
|
+
'void-popover-trigger': never;
|
|
468
|
+
'void-progress': 'value' | 'max' | 'color' | 'size' | 'indeterminate';
|
|
469
|
+
'void-radio': 'checked' | 'disabled' | 'name' | 'value' | 'required' | 'color' | 'size' | 'form';
|
|
470
|
+
'void-radio-group': 'label' | 'value' | 'name' | 'required' | 'disabled' | 'orientation' | 'form';
|
|
471
|
+
'void-scroll-area': 'max-height' | 'orientation';
|
|
472
|
+
'void-segmented-control': 'value' | 'disabled' | 'size' | 'color' | 'required' | 'name';
|
|
473
|
+
'void-segmented-control-item': 'value' | 'disabled';
|
|
474
|
+
'void-select': 'size' | 'error' | 'value';
|
|
475
|
+
'void-sidebar': 'collapsed' | 'width' | 'collapsed-width' | 'side';
|
|
476
|
+
'void-skeleton': 'shape';
|
|
477
|
+
'void-slider': 'value' | 'min' | 'max' | 'step' | 'disabled' | 'name' | 'show-value' | 'size' | 'form';
|
|
478
|
+
'void-spinner': 'size' | 'label';
|
|
479
|
+
'void-stat': 'label' | 'value' | 'delta' | 'description' | 'trend' | 'color' | 'size';
|
|
480
|
+
'void-status-dot': 'status';
|
|
481
|
+
'void-stepper': 'value' | 'steps';
|
|
482
|
+
'void-switch': 'checked' | 'disabled' | 'value' | 'color' | 'size' | 'required' | 'name';
|
|
483
|
+
'void-table': 'striped' | 'hoverable' | 'compact' | 'bordered' | 'inset' | 'stack' | 'scrollable' | 'sticky-header' | 'sticky-column' | 'max-height' | 'label';
|
|
484
|
+
'void-tabs': 'value' | 'size' | 'activation';
|
|
485
|
+
'void-tabs-content': 'value' | 'active';
|
|
486
|
+
'void-tabs-list': never;
|
|
487
|
+
'void-tabs-trigger': 'value' | 'disabled' | 'active';
|
|
488
|
+
'void-tag': 'color' | 'removable' | 'size';
|
|
489
|
+
'void-tags-input': 'value' | 'disabled' | 'readonly' | 'max' | 'placeholder' | 'size' | 'color' | 'variant' | 'allow-duplicates' | 'required' | 'name';
|
|
490
|
+
'void-textarea': 'value' | 'placeholder' | 'disabled' | 'readonly' | 'required' | 'name' | 'rows' | 'resize' | 'size' | 'error' | 'autocomplete' | 'minlength' | 'maxlength' | 'inputmode' | 'enterkeyhint' | 'autocapitalize' | 'spellcheck' | 'form';
|
|
491
|
+
'void-toast': 'color' | 'duration';
|
|
492
|
+
'void-toast-actions': never;
|
|
493
|
+
'void-toast-close': never;
|
|
494
|
+
'void-toast-container': 'placement';
|
|
495
|
+
'void-toast-description': never;
|
|
496
|
+
'void-toast-title': never;
|
|
497
|
+
'void-toggle': 'pressed' | 'value' | 'disabled' | 'color' | 'size' | 'variant';
|
|
498
|
+
'void-toggle-group': 'value' | 'multiple' | 'disabled' | 'size' | 'color' | 'orientation' | 'required' | 'name';
|
|
499
|
+
'void-tooltip': 'side' | 'align' | 'delay' | 'open';
|
|
500
|
+
'void-tooltip-content': never;
|
|
501
|
+
'void-tooltip-trigger': never;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** `void-*` events dispatched by (or bubbling through) each element, keyed by event name. */
|
|
505
|
+
export interface VoidElementEvents {
|
|
506
|
+
'void-accordion': {};
|
|
507
|
+
'void-accordion-content': {};
|
|
508
|
+
'void-accordion-item': { 'void-close': CustomEvent<{ reason: 'trigger' | 'keyboard' | 'outside' }>; 'void-open': CustomEvent<{ reason: 'trigger' | 'keyboard' | 'find' }> };
|
|
509
|
+
'void-accordion-trigger': {};
|
|
510
|
+
'void-action-input': { 'void-input': CustomEvent<{ value: string }>; 'void-change': CustomEvent<{ value: string }>; 'void-action': CustomEvent<{ value: string }> };
|
|
511
|
+
'void-alert': { 'void-close': CustomEvent<{ reason: 'close-button' }> };
|
|
512
|
+
'void-alert-close': {};
|
|
513
|
+
'void-alert-description': {};
|
|
514
|
+
'void-alert-title': {};
|
|
515
|
+
'void-avatar': {};
|
|
516
|
+
'void-badge': {};
|
|
517
|
+
'void-banner': { 'void-close': CustomEvent<{ reason: 'close-button' }> };
|
|
518
|
+
'void-banner-actions': {};
|
|
519
|
+
'void-banner-close': {};
|
|
520
|
+
'void-banner-description': {};
|
|
521
|
+
'void-banner-title': {};
|
|
522
|
+
'void-bar-chart': {};
|
|
523
|
+
'void-breadcrumbs': {};
|
|
524
|
+
'void-breadcrumbs-item': {};
|
|
525
|
+
'void-breadcrumbs-list': {};
|
|
526
|
+
'void-button': { 'void-click': CustomEvent };
|
|
527
|
+
'void-calendar': { 'void-change': CustomEvent<{ value: string; date: Date }> };
|
|
528
|
+
'void-card': {};
|
|
529
|
+
'void-card-body': {};
|
|
530
|
+
'void-card-description': {};
|
|
531
|
+
'void-card-footer': {};
|
|
532
|
+
'void-card-header': {};
|
|
533
|
+
'void-card-title': {};
|
|
534
|
+
'void-carousel': { 'void-change': CustomEvent<{ value: number; index: number; previous: number }> };
|
|
535
|
+
'void-carousel-content': {};
|
|
536
|
+
'void-carousel-indicators': {};
|
|
537
|
+
'void-carousel-item': {};
|
|
538
|
+
'void-carousel-next': {};
|
|
539
|
+
'void-carousel-previous': {};
|
|
540
|
+
'void-checkbox': { 'void-change': CustomEvent<{ value: string; checked: boolean }> };
|
|
541
|
+
'void-checkbox-group': { 'void-change': CustomEvent<{ value: string[] }> };
|
|
542
|
+
'void-collapsible': { 'void-close': CustomEvent<{ reason: 'trigger' | 'keyboard' }>; 'void-open': CustomEvent<{ reason: 'trigger' | 'keyboard' | 'find' }> };
|
|
543
|
+
'void-collapsible-content': {};
|
|
544
|
+
'void-collapsible-trigger': {};
|
|
545
|
+
'void-color-picker': { 'void-change': CustomEvent<{ value: string }> };
|
|
546
|
+
'void-combobox': { 'void-change': CustomEvent<{ value: string }>; 'void-open': CustomEvent<{ reason: 'keyboard' | 'focus' | 'api' }>; 'void-close': CustomEvent<{ reason: 'escape' | 'outside' | 'blur' | 'select' | 'parent' | 'api' }> };
|
|
547
|
+
'void-combobox-content': {};
|
|
548
|
+
'void-compose-input': { 'void-input': CustomEvent<{ value: string }>; 'void-submit': CustomEvent<{ value: string }> };
|
|
549
|
+
'void-date-picker': { 'void-open': CustomEvent<{ reason: 'trigger' | 'focus' | 'keyboard' | 'api' }>; 'void-close': CustomEvent<{ reason: 'trigger' | 'select' | 'escape' | 'outside' | 'blur' | 'parent' | 'api' }>; 'void-change': CustomEvent<{ value: string; date: Date }> };
|
|
550
|
+
'void-dialog': { 'void-open': CustomEvent<{ reason: 'api' }>; 'void-close': CustomEvent<{ reason: 'escape' | 'outside' | 'close-button' | 'form' | 'parent' | 'api' }> };
|
|
551
|
+
'void-dialog-actions': {};
|
|
552
|
+
'void-dialog-body': {};
|
|
553
|
+
'void-dialog-description': {};
|
|
554
|
+
'void-dialog-title': {};
|
|
555
|
+
'void-divider': {};
|
|
556
|
+
'void-donut-chart': {};
|
|
557
|
+
'void-drawer': { 'void-open': CustomEvent<{ reason: 'api' }>; 'void-close': CustomEvent<{ reason: 'escape' | 'outside' | 'close-button' | 'form' | 'parent' | 'api' }> };
|
|
558
|
+
'void-drawer-actions': {};
|
|
559
|
+
'void-drawer-body': {};
|
|
560
|
+
'void-drawer-description': {};
|
|
561
|
+
'void-drawer-title': {};
|
|
562
|
+
'void-dropdown-menu': { 'void-open': CustomEvent<{ reason: 'trigger' | 'keyboard' | 'api' }>; 'void-close': CustomEvent<{ reason: 'trigger' | 'select' | 'escape' | 'outside' | 'blur' | 'parent' | 'api' }>; 'void-select': CustomEvent<{ item: VoidDropdownMenuItem; value: string }> };
|
|
563
|
+
'void-dropdown-menu-content': {};
|
|
564
|
+
'void-dropdown-menu-item': { 'void-select': CustomEvent<{ item: VoidDropdownMenuItem; value: string }> };
|
|
565
|
+
'void-dropdown-menu-separator': {};
|
|
566
|
+
'void-dropdown-menu-trigger': {};
|
|
567
|
+
'void-editable': { 'void-change': CustomEvent<{ value: string }>; 'void-cancel': CustomEvent; 'void-input': CustomEvent<{ value: unknown }> };
|
|
568
|
+
'void-error-fallback': { 'void-retry': CustomEvent };
|
|
569
|
+
'void-error-fallback-actions': {};
|
|
570
|
+
'void-error-fallback-description': {};
|
|
571
|
+
'void-error-fallback-title': {};
|
|
572
|
+
'void-field': {};
|
|
573
|
+
'void-file-upload': { 'void-change': CustomEvent<{ value: File[]; files: File[] }> };
|
|
574
|
+
'void-gauge': {};
|
|
575
|
+
'void-hamburger': { 'void-open': CustomEvent<{ reason: 'trigger' }>; 'void-close': CustomEvent<{ reason: 'trigger' }> };
|
|
576
|
+
'void-hover-card': { 'void-open': CustomEvent<{ reason: 'hover' | 'focus' | 'api' }>; 'void-close': CustomEvent<{ reason: 'hover' | 'blur' | 'escape' | 'parent' | 'api' }> };
|
|
577
|
+
'void-hover-card-content': {};
|
|
578
|
+
'void-hover-card-trigger': {};
|
|
579
|
+
'void-indicator': {};
|
|
580
|
+
'void-input': { 'void-input': CustomEvent<{ value: string }>; 'void-change': CustomEvent<{ value: string }> };
|
|
581
|
+
'void-line-chart': {};
|
|
582
|
+
'void-list': { 'void-click': CustomEvent<Record<string, never>> };
|
|
583
|
+
'void-list-item': { 'void-click': CustomEvent<Record<string, never>> };
|
|
584
|
+
'void-menu': { 'void-select': CustomEvent<{ item: VoidMenuItem; value: string }> };
|
|
585
|
+
'void-menu-content': {};
|
|
586
|
+
'void-menu-empty': {};
|
|
587
|
+
'void-menu-group': { 'void-select': CustomEvent<{ item: VoidMenuItem; value: string }> };
|
|
588
|
+
'void-menu-group-label': {};
|
|
589
|
+
'void-menu-item': { 'void-select': CustomEvent<{ item: VoidMenuItem; value: string }> };
|
|
590
|
+
'void-menu-item-icon': {};
|
|
591
|
+
'void-menu-item-shortcut': {};
|
|
592
|
+
'void-menu-search': {};
|
|
593
|
+
'void-multiselect': { 'void-change': CustomEvent<{ value: string[] }>; 'void-open': CustomEvent<{ reason: 'trigger' | 'keyboard' | 'api' }>; 'void-close': CustomEvent<{ reason: 'trigger' | 'escape' | 'outside' | 'blur' | 'parent' | 'api' }> };
|
|
594
|
+
'void-multiselect-content': {};
|
|
595
|
+
'void-nav-bar': {};
|
|
596
|
+
'void-nav-menu': {};
|
|
597
|
+
'void-nav-menu-content': {};
|
|
598
|
+
'void-nav-menu-item': { 'void-open': CustomEvent<{ reason: 'hover' | 'trigger' }>; 'void-close': CustomEvent<{ reason: 'hover' | 'trigger' | 'escape' | 'outside' | 'blur' }> };
|
|
599
|
+
'void-nav-menu-trigger': {};
|
|
600
|
+
'void-number-input': { 'void-change': CustomEvent<{ value: null | number; previous: number | null }>; 'void-input': CustomEvent<{ value: number | null }> };
|
|
601
|
+
'void-option': {};
|
|
602
|
+
'void-pagination': { 'void-change': CustomEvent<{ value: number }> };
|
|
603
|
+
'void-panel': {};
|
|
604
|
+
'void-panel-body': {};
|
|
605
|
+
'void-panel-description': {};
|
|
606
|
+
'void-panel-header': {};
|
|
607
|
+
'void-panel-title': {};
|
|
608
|
+
'void-pin-input': { 'void-input': CustomEvent<{ value: string }>; 'void-complete': CustomEvent<{ value: string }>; 'void-change': CustomEvent<{ value: string }> };
|
|
609
|
+
'void-popover': { 'void-open': CustomEvent<{ reason: 'trigger' | 'api' }>; 'void-close': CustomEvent<{ reason: 'trigger' | 'escape' | 'outside' | 'blur' | 'parent' | 'api' }> };
|
|
610
|
+
'void-popover-content': {};
|
|
611
|
+
'void-popover-trigger': {};
|
|
612
|
+
'void-progress': {};
|
|
613
|
+
'void-radio': { 'void-change': CustomEvent<{ value: string; checked: boolean }> };
|
|
614
|
+
'void-radio-group': { 'void-change': CustomEvent<{ value: string }> };
|
|
615
|
+
'void-scroll-area': {};
|
|
616
|
+
'void-segmented-control': { 'void-change': CustomEvent<{ value: string }> };
|
|
617
|
+
'void-segmented-control-item': {};
|
|
618
|
+
'void-select': { 'void-change': CustomEvent<{ value: string }> };
|
|
619
|
+
'void-sidebar': { 'void-collapse': CustomEvent<{ reason: 'api' }>; 'void-expand': CustomEvent<{ reason: 'api' }> };
|
|
620
|
+
'void-skeleton': {};
|
|
621
|
+
'void-slider': { 'void-input': CustomEvent<{ value: number }>; 'void-change': CustomEvent<{ value: number }> };
|
|
622
|
+
'void-spinner': {};
|
|
623
|
+
'void-stat': {};
|
|
624
|
+
'void-status-dot': {};
|
|
625
|
+
'void-stepper': {};
|
|
626
|
+
'void-switch': { 'void-change': CustomEvent<{ value: string; checked: boolean }> };
|
|
627
|
+
'void-table': {};
|
|
628
|
+
'void-tabs': { 'void-change': CustomEvent<{ value: string }> };
|
|
629
|
+
'void-tabs-content': {};
|
|
630
|
+
'void-tabs-list': {};
|
|
631
|
+
'void-tabs-trigger': {};
|
|
632
|
+
'void-tag': { 'void-remove': CustomEvent };
|
|
633
|
+
'void-tags-input': { 'void-change': CustomEvent<{ value: TagValue[] }> };
|
|
634
|
+
'void-textarea': { 'void-input': CustomEvent<{ value: string }>; 'void-change': CustomEvent<{ value: string }> };
|
|
635
|
+
'void-toast': { 'void-close': CustomEvent<{ reason: 'close-button' | 'timeout' | 'api' }> };
|
|
636
|
+
'void-toast-actions': {};
|
|
637
|
+
'void-toast-close': {};
|
|
638
|
+
'void-toast-container': {};
|
|
639
|
+
'void-toast-description': {};
|
|
640
|
+
'void-toast-title': {};
|
|
641
|
+
'void-toggle': { 'void-change': CustomEvent<{ value: string; pressed: boolean }> };
|
|
642
|
+
'void-toggle-group': { 'void-change': CustomEvent<{ value: string[] } | { value: string }> };
|
|
643
|
+
'void-tooltip': { 'void-open': CustomEvent<{ reason: 'hover' | 'focus' | 'api' }>; 'void-close': CustomEvent<{ reason: 'hover' | 'blur' | 'escape' | 'parent' | 'api' }> };
|
|
644
|
+
'void-tooltip-content': {};
|
|
645
|
+
'void-tooltip-trigger': {};
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export type VoidTagName = keyof VoidElementTagNameMap;
|