@@ -84,7 +84,14 @@ export interface AriaAttributes {
84
84
*/
85
85
'aria-controls' ?: string | undefined
86
86
/** Indicates the element that represents the current item within a container or set of related elements. */
87
- 'aria-current' ?: Booleanish | 'page' | 'step' | 'location' | 'date' | 'time' | undefined
87
+ 'aria-current' ?:
88
+ | Booleanish
89
+ | 'page'
90
+ | 'step'
91
+ | 'location'
92
+ | 'date'
93
+ | 'time'
94
+ | undefined
88
95
/**
89
96
* Identifies the element (or elements) that describes the object.
90
97
* @see aria-labelledby
@@ -104,7 +111,14 @@ export interface AriaAttributes {
104
111
* Indicates what functions can be performed when a dragged object is released on the drop target.
105
112
* @deprecated in ARIA 1.1
106
113
*/
107
- 'aria-dropeffect' ?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined
114
+ 'aria-dropeffect' ?:
115
+ | 'none'
116
+ | 'copy'
117
+ | 'execute'
118
+ | 'link'
119
+ | 'move'
120
+ | 'popup'
121
+ | undefined
108
122
/**
109
123
* Identifies the element that provides an error message for the object.
110
124
* @see aria-invalid @see aria-describedby.
@@ -123,7 +137,14 @@ export interface AriaAttributes {
123
137
*/
124
138
'aria-grabbed' ?: Booleanish | undefined
125
139
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
126
- 'aria-haspopup' ?: Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined
140
+ 'aria-haspopup' ?:
141
+ | Booleanish
142
+ | 'menu'
143
+ | 'listbox'
144
+ | 'tree'
145
+ | 'grid'
146
+ | 'dialog'
147
+ | undefined
127
148
/**
128
149
* Indicates whether the element is exposed to an accessibility API.
129
150
* @see aria-disabled.
@@ -188,7 +209,18 @@ export interface AriaAttributes {
188
209
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
189
210
* @see aria-atomic.
190
211
*/
191
- 'aria-relevant' ?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined
212
+ 'aria-relevant' ?:
213
+ | 'additions'
214
+ | 'additions removals'
215
+ | 'additions text'
216
+ | 'all'
217
+ | 'removals'
218
+ | 'removals additions'
219
+ | 'removals text'
220
+ | 'text'
221
+ | 'text additions'
222
+ | 'text removals'
223
+ | undefined
192
224
/** Indicates that user input is required on the element before a form may be submitted. */
193
225
'aria-required' ?: Booleanish | undefined
194
226
/** Defines a human-readable, author-localized description for the role of an element. */
@@ -299,7 +331,16 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
299
331
* Hints at the type of data that might be entered by the user while editing the element or its contents
300
332
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
301
333
*/
302
- inputmode ?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined
334
+ inputmode ?:
335
+ | 'none'
336
+ | 'text'
337
+ | 'tel'
338
+ | 'url'
339
+ | 'email'
340
+ | 'numeric'
341
+ | 'decimal'
342
+ | 'search'
343
+ | undefined
303
344
/**
304
345
* Specify that a standard HTML element should behave like a defined custom built-in element
305
346
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
@@ -506,7 +547,15 @@ export interface InputHTMLAttributes extends HTMLAttributes {
506
547
checked ?: Booleanish | any [ ] | Set < any > | undefined // for IDE v-model multi-checkbox support
507
548
crossorigin ?: string | undefined
508
549
disabled ?: Booleanish | undefined
509
- enterKeyHint ?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined
550
+ enterKeyHint ?:
551
+ | 'enter'
552
+ | 'done'
553
+ | 'go'
554
+ | 'next'
555
+ | 'previous'
556
+ | 'search'
557
+ | 'send'
558
+ | undefined
510
559
form ?: string | undefined
511
560
formaction ?: string | undefined
512
561
formenctype ?: string | undefined
@@ -815,7 +864,21 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
815
864
'accent-height' ?: Numberish | undefined
816
865
accumulate ?: 'none' | 'sum' | undefined
817
866
additive ?: 'replace' | 'sum' | undefined
818
- 'alignment-baseline' ?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined
867
+ 'alignment-baseline' ?:
868
+ | 'auto'
869
+ | 'baseline'
870
+ | 'before-edge'
871
+ | 'text-before-edge'
872
+ | 'middle'
873
+ | 'central'
874
+ | 'after-edge'
875
+ | 'text-after-edge'
876
+ | 'ideographic'
877
+ | 'alphabetic'
878
+ | 'hanging'
879
+ | 'mathematical'
880
+ | 'inherit'
881
+ | undefined
819
882
allowReorder ?: 'no' | 'yes' | undefined
820
883
alphabetic ?: Numberish | undefined
821
884
amplitude ?: Numberish | undefined
@@ -839,7 +902,12 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
839
902
clipPathUnits ?: Numberish | undefined
840
903
'clip-rule' ?: Numberish | undefined
841
904
'color-interpolation' ?: Numberish | undefined
842
- 'color-interpolation-filters' ?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined
905
+ 'color-interpolation-filters' ?:
906
+ | 'auto'
907
+ | 'sRGB'
908
+ | 'linearRGB'
909
+ | 'inherit'
910
+ | undefined
843
911
'color-profile' ?: Numberish | undefined
844
912
'color-rendering' ?: Numberish | undefined
845
913
contentScriptType ?: Numberish | undefined
0 commit comments