@@ -79,7 +79,15 @@ interface AriaAttributes {
79
79
*/
80
80
'aria-controls' ?: string
81
81
/** Indicates the element that represents the current item within a container or set of related elements. */
82
- 'aria-current' ?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time'
82
+ 'aria-current' ?:
83
+ | boolean
84
+ | 'false'
85
+ | 'true'
86
+ | 'page'
87
+ | 'step'
88
+ | 'location'
89
+ | 'date'
90
+ | 'time'
83
91
/**
84
92
* Identifies the element (or elements) that describes the object.
85
93
* @see aria-labelledby
@@ -118,7 +126,15 @@ interface AriaAttributes {
118
126
*/
119
127
'aria-grabbed' ?: boolean | 'false' | 'true'
120
128
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
121
- 'aria-haspopup' ?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'
129
+ 'aria-haspopup' ?:
130
+ | boolean
131
+ | 'false'
132
+ | 'true'
133
+ | 'menu'
134
+ | 'listbox'
135
+ | 'tree'
136
+ | 'grid'
137
+ | 'dialog'
122
138
/**
123
139
* Indicates whether the element is exposed to an accessibility API.
124
140
* @see aria-disabled.
@@ -228,16 +244,15 @@ interface AriaAttributes {
228
244
'aria-valuetext' ?: string
229
245
}
230
246
231
- export interface HTMLAttributes extends AriaAttributes {
232
-
233
- domPropsInnerHTML ?: string ;
247
+ export interface HTMLAttributes extends AriaAttributes {
248
+ domPropsInnerHTML ?: string
234
249
235
250
class ?: any
236
251
style ?: string | CSSProperties
237
252
238
253
// Standard HTML Attributes
239
254
accesskey ?: string
240
- contenteditable ?: Booleanish | " inherit"
255
+ contenteditable ?: Booleanish | ' inherit'
241
256
contextmenu ?: string
242
257
dir ?: string
243
258
draggable ?: Booleanish
@@ -285,7 +300,15 @@ export interface HTMLAttributes extends AriaAttributes{
285
300
* Hints at the type of data that might be entered by the user while editing the element or its contents
286
301
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
287
302
*/
288
- inputmode ?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'
303
+ inputmode ?:
304
+ | 'none'
305
+ | 'text'
306
+ | 'tel'
307
+ | 'url'
308
+ | 'email'
309
+ | 'numeric'
310
+ | 'decimal'
311
+ | 'search'
289
312
/**
290
313
* Specify that a standard HTML element should behave like a defined custom built-in element
291
314
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
@@ -317,8 +340,7 @@ export interface AreaHTMLAttributes extends HTMLAttributes {
317
340
target ?: string
318
341
}
319
342
320
- export interface AudioHTMLAttributes extends MediaHTMLAttributes {
321
- }
343
+ export interface AudioHTMLAttributes extends MediaHTMLAttributes { }
322
344
323
345
export interface BaseHTMLAttributes extends HTMLAttributes {
324
346
href ?: string
@@ -712,8 +734,7 @@ export interface WebViewHTMLAttributes extends HTMLAttributes {
712
734
}
713
735
714
736
export interface SVGAttributes extends AriaAttributes {
715
-
716
- domPropsInnerHTML ?: string ;
737
+ domPropsInnerHTML ?: string
717
738
718
739
color ?: string
719
740
height ?: number | string
@@ -736,7 +757,20 @@ export interface SVGAttributes extends AriaAttributes {
736
757
'accent-height' ?: number | string
737
758
accumulate ?: 'none' | 'sum'
738
759
additive ?: 'replace' | 'sum'
739
- 'alignment-baseline' ?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'
760
+ 'alignment-baseline' ?:
761
+ | 'auto'
762
+ | 'baseline'
763
+ | 'before-edge'
764
+ | 'text-before-edge'
765
+ | 'middle'
766
+ | 'central'
767
+ | 'after-edge'
768
+ | 'text-after-edge'
769
+ | 'ideographic'
770
+ | 'alphabetic'
771
+ | 'hanging'
772
+ | 'mathematical'
773
+ | 'inherit'
740
774
allowReorder ?: 'no' | 'yes'
741
775
alphabetic ?: number | string
742
776
amplitude ?: number | string
@@ -955,13 +989,13 @@ export interface SVGAttributes extends AriaAttributes {
955
989
x ?: number | string
956
990
xChannelSelector ?: string
957
991
'x-height' ?: number | string
958
- ' xlinkActuate' ?: string
959
- ' xlinkArcrole' ?: string
960
- ' xlinkHref' ?: string
961
- ' xlinkRole' ?: string
962
- ' xlinkShow' ?: string
963
- ' xlinkTitle' ?: string
964
- ' xlinkType' ?: string
992
+ xlinkActuate ?: string
993
+ xlinkArcrole ?: string
994
+ xlinkHref ?: string
995
+ xlinkRole ?: string
996
+ xlinkShow ?: string
997
+ xlinkTitle ?: string
998
+ xlinkType ?: string
965
999
y1 ?: number | string
966
1000
y2 ?: number | string
967
1001
y ?: number | string
0 commit comments