-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsx-runtime.ts
4726 lines (4490 loc) · 245 KB
/
jsx-runtime.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import * as util from 'skruv/utilityTypes'
import { Element, HTMLElement, MathMLElement, HTMLInputElement, HTMLOptionElement } from 'skruv/utils/minidom'
/* React Compatability */
interface ReactHTMLGlobalAttributes {
'className'?: string | undefined
'id'?: string | undefined
'slot'?: string | undefined
'accessKey'?: string | undefined
'autoCapitalize'?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
'autoFocus'?: boolean | undefined
'contentEditable'?: '' | 'true' | 'plaintext-only' | 'false'
'dir'?: 'ltr' | 'rtl' | 'auto' | undefined
'draggable'?: 'true' | 'false' | 'auto' | undefined
'enterKeyHint'?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined
'hidden'?: 'until-found' | 'hidden' | '' | undefined
'inert'?: boolean | undefined
'inputMode'?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined
// "is" is special, see the spec
// 'is'?: string
'itemID'?: URL | undefined
'itemProp'?: string | undefined
'itemRef'?: string | undefined // this needs to be a space separated list of valid ID's in the document
'itemScope'?: boolean | undefined
'itemType'?: string | undefined // this needs to be a space separated list of valid URL's
'lang'?: string | undefined
'nonce'?: string | undefined
'popover'?: 'auto' | '' | 'manual' | undefined
'spellCheck'?: boolean | undefined
'style'?: string | undefined
'tabIndex'?: number | undefined
'title'?: string | undefined
'translate'?: 'yes' | '' | 'no' | undefined
}
interface ReactSVGGlobalAttributes {
'className'?: string | undefined
'style'?: string | undefined
'id'?: string | undefined
'lang'?: string | undefined
'tabIndex'?: number | undefined
'xmlBase'?: string | undefined
'xmlLang'?: string | undefined
'xmlSpace'?: 'default' | 'preserve' | undefined
'requiredExtensions'?: string | undefined
'requiredFeatures'?: string | undefined
'systemLanguage'?: string | undefined
}
interface ReactSVGPresentationAttributes {
'alignmentBaseline'?: string | number | undefined;
'baselineShift'?: string | number | undefined;
'clip'?: string | number | undefined;
'clipPath'?: string | number | undefined;
'clipRule'?: string | number | undefined;
'color'?: string | number | undefined;
'colorInterpolation'?: string | number | undefined;
'colorInterpolationFilters'?: string | number | undefined;
'colorProfile'?: string | number | undefined;
'colorRendering'?: string | number | undefined;
'cursor'?: string | number | undefined;
'direction'?: string | number | undefined;
'display'?: string | number | undefined;
'dominantBaseline'?: string | number | undefined;
'enableBackground'?: string | number | undefined;
'fill'?: string | number | undefined;
'fillOpacity'?: string | number | undefined;
'fillRule'?: string | number | undefined;
'filter'?: string | number | undefined;
'floodColor'?: string | number | undefined;
'floodOpacity'?: string | number | undefined;
'fontFamily'?: string | number | undefined;
'fontSize'?: string | number | undefined;
'fontSizeAdjust'?: string | number | undefined;
'fontStretch'?: string | number | undefined;
'fontStyle'?: string | number | undefined;
'fontVariant'?: string | number | undefined;
'fontWeight'?: string | number | undefined;
'glyphOrientationHorizontal'?: string | number | undefined;
'glyphOrientationVertical'?: string | number | undefined;
'imageRendering'?: string | number | undefined;
'kerning'?: string | number | undefined;
'letterSpacing'?: string | number | undefined;
'lightingColor'?: string | number | undefined;
'markerEnd'?: string | number | undefined;
'markerMid'?: string | number | undefined;
'markerStart'?: string | number | undefined;
'mask'?: string | number | undefined;
'opacity'?: string | number | undefined;
'overflow'?: string | number | undefined;
'pointerEvents'?: string | number | undefined;
'shapeRendering'?: string | number | undefined;
'stopColor'?: string | number | undefined;
'stopOpacity'?: string | number | undefined;
'stroke'?: string | number | undefined;
'strokeDasharray'?: string | number | undefined;
'strokeDashoffset'?: string | number | undefined;
'strokeLinecap'?: string | number | undefined;
'strokeLinejoin'?: string | number | undefined;
'strokeMiterlimit'?: string | number | undefined;
'strokeOpacity'?: string | number | undefined;
'strokeWidth'?: string | number | undefined;
'textAnchor'?: string | number | undefined;
'textDecoration'?: string | number | undefined;
'textRendering'?: string | number | undefined;
'transform'?: string | number | undefined;
'transformOrigin'?: string | number | undefined;
'unicodeBidi'?: string | number | undefined;
'vectorEffect'?: string | number | undefined;
'visibility'?: string | number | undefined;
'wordSpacing'?: string | number | undefined;
'writingMode'?: string | number | undefined;
}
interface ReactSVGFilterAttributes {
'height'?: string | number | undefined;
'result'?: string | number | undefined;
'width'?: string | number | undefined;
'x'?: string | number | undefined;
'y'?: string | number | undefined;
'type'?: string | number | undefined;
'tableValues'?: string | number | undefined;
'slope'?: string | number | undefined;
'intercept'?: string | number | undefined;
'amplitude'?: string | number | undefined;
'exponent'?: string | number | undefined;
'offset'?: string | number | undefined;
}
interface ReactSVGAnimationAttributes {
'href'?: string | number | undefined;
'attributeType'?: string | number | undefined;
'attributeName'?: string | number | undefined;
'begin'?: string | number | undefined;
'dur'?: string | number | undefined;
'end'?: string | number | undefined;
'min'?: string | number | undefined;
'max'?: string | number | undefined;
'restart'?: string | number | undefined;
'repeatCount'?: string | number | undefined;
'repeatDur'?: string | number | undefined;
'fill'?: string | number | undefined;
'calcMode'?: string | number | undefined;
'values'?: string | number | undefined;
'keyTimes'?: string | number | undefined;
'keySplines'?: string | number | undefined;
'from'?: string | number | undefined;
'to'?: string | number | undefined;
'by'?: string | number | undefined;
'autoReverse'?: string | number | undefined;
'accelerate'?: string | number | undefined;
'decelerate'?: string | number | undefined;
'additive'?: string | number | undefined;
'accumulate'?: string | number | undefined;
}
// React does not have built in support for MathML so these are unchanged
interface ReactMathMLGlobalAttributes {
'class'?: string | number | undefined;
'dir'?: string | number | undefined;
'id'?: string | number | undefined;
'mathbackground'?: string | number | undefined;
'mathcolor'?: string | number | undefined;
'mathsize'?: string | number | undefined;
'mathvariant'?: string | number | undefined;
'nonce'?: string | number | undefined;
'scriptlevel'?: string | number | undefined;
'style'?: string | number | undefined;
'tabindex'?: string | number | undefined;
}
interface ReactAtomGlobalAttributes { }
interface ReactSitemapGlobalAttributes { }
type ReactHTMLEvents<T> = { [key in keyof HTMLElementEventMap as `on${Capitalize<key>}`]?: ((e: (HTMLElementEventMap[key] & { currentTarget: T })) => void) }
type ReactSVGEvents<T> = { [key in keyof SVGElementEventMap as `on${Capitalize<key>}`]?: ((e: (SVGElementEventMap[key] & { currentTarget: T })) => void) }
type ReactMathMlEvents<T> = { [key in keyof MathMLElementEventMap as `on${Capitalize<key>}`]?: ((e: (MathMLElementEventMap[key] & { currentTarget: T })) => void) }
type ReactHTMLAttributes<T, A> = A & util.CustomEvents<T> & ReactHTMLEvents<T> & util.DataAttributes & util.SkruvAdditionalAttributes<T> & ReactHTMLGlobalAttributes & { isSkruvDom?: false }
type ReactSVGAttributes<T, A> = A & util.CustomEvents<T> & ReactSVGEvents<T> & util.DataAttributes & util.SkruvAdditionalAttributes<T> & ReactSVGGlobalAttributes & { isSkruvDom?: false }
type ReactMathMLAttributes<T, A> = A & util.CustomEvents<T> & ReactMathMlEvents<T> & util.DataAttributes & util.SkruvAdditionalAttributes<T> & ReactMathMLGlobalAttributes & { isSkruvDom?: false }
type ReactAtomAttributes<T, A> = A & { isSkruvDom?: false }
type ReactSitemapAttributes<T, A> = A & { isSkruvDom?: false }
/** The <html> HTML element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element. */
export type ReactSkruvHtmlHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHtmlElement, {
/**
* Specifies the URI of a resource manifest indicating resources that should be cached locally.
*/
'manifest'?: string | number | boolean | false
/**
* Specifies the version of the HTML Document Type Definition that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.
*/
'version'?: string | false
/**
* Specifies the XML Namespace of the document. Default value is "http://www.w3.org/1999/xhtml". This is required in documents parsed with XML parsers, and optional in text/html documents.
*/
'xmlns'?: string | number | boolean | false
}>>
/** The <base> HTML element specifies the base URL to use for all relative URLs in a document. There can be only one <base> element in a document. */
export type ReactSkruvBaseHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLBaseElement, {
/**
* The base URL to be used throughout the document for relative URLs. Absolute and relative URLs are allowed.
*/
'href'?: string | false
/**
* A keyword or author-defined name of the default browsing context to show the results of navigation from <a>, <area>, or <form> elements without explicit target attributes. The following keywords have special meanings:
*
* _self (default): Show the result in the current browsing context.
*
* _blank: Show the result in a new, unnamed browsing context.
*
* _parent: Show the result in the parent browsing context of the current one, if the current page is inside a frame. If there is no parent, acts the same as _self.
*
* _top: Show the result in the topmost browsing context (the browsing context that is an ancestor of the current one and has no parent). If there is no parent, acts the same as _self.
*/
'target'?: string | false
}>>
/** The <head> HTML element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets. */
export type ReactSkruvHeadHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadElement, {
/**
* The URIs of one or more metadata profiles, separated by white space.
*/
'profile'?: string | number | boolean | false
}>>
/** The <title> HTML element defines the document's title that is shown in a browser's title bar or a page's tab. It only contains text; tags within the element are ignored. */
export type ReactSkruvTitleHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLTitleElement, {}>>
/** The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as WebGL's GLSL shader programming language and JSON. */
export type ReactSkruvScriptHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLScriptElement, {
/**
* For classic scripts, if the async attribute is present, then the classic script will be fetched in parallel to parsing and evaluated as soon as it is available.
*
* For module scripts, if the async attribute is present then the scripts and all their dependencies will be executed in the defer queue, therefore they will get fetched in parallel to parsing and evaluated as soon as they are available.
*
* This attribute allows the elimination of parser-blocking JavaScript where the browser would have to load and evaluate scripts before continuing to parse. defer has a similar effect in this case.
*
* This is a boolean attribute: the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.
*
* See Browser compatibility for notes on browser support. See also Async scripts for asm.js.
*/
'async'?: boolean | false
/**
* Normal script elements pass minimal information to the window.onerror for scripts which do not pass the standard CORS checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See CORS settings attributes for a more descriptive explanation of its valid arguments.
*/
'crossOrigin'?: string | false
/**
* This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing DOMContentLoaded.
*
* Scripts with the defer attribute will prevent the DOMContentLoaded event from firing until the script has loaded and finished evaluating.
*
* Warning: This attribute must not be used if the src attribute is absent (i.e. for inline scripts), in this case it would have no effect.
*
* The defer attribute has no effect on module scripts — they defer by default.
*
* Scripts with the defer attribute will execute in the order in which they appear in the document.
*
* This attribute allows the elimination of parser-blocking JavaScript where the browser would have to load and evaluate scripts before continuing to parse. async has a similar effect in this case.
*/
'defer'?: boolean | false
/**
* Provides a hint of the relative priority to use when fetching an external script. Allowed values:
*
* high
*
* Signals a high-priority fetch relative to other external scripts.
*
* low
*
* Signals a low-priority fetch relative to other external scripts.
*
* auto
*
* Default: Signals automatic determination of fetch priority relative to other external scripts.
*/
'fetchPriority'?: string | false
/**
* This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See Subresource Integrity.
*/
'integrity'?: string | false
/**
* This Boolean attribute is set to indicate that the script should not be executed in browsers that support ES modules — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code.
*/
'noModule'?: boolean | false
/**
* A cryptographic nonce (number used once) to allow scripts in a script-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial.
*/
'nonce'?: string | number | boolean | false
/**
* Indicates which referrer to send when fetching the script, or resources fetched by the script:
*
* no-referrer: The Referer header will not be sent.
*
* no-referrer-when-downgrade: The Referer header will not be sent to origins without TLS (HTTPS).
*
* origin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port.
*
* origin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.
*
* same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.
*
* strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP).
*
* strict-origin-when-cross-origin (default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).
*
* unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
*
* Note: An empty string value ("") is both the default value, and a fallback value if referrerpolicy is not supported. If referrerpolicy is not explicitly specified on the <script> element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to strict-origin-when-cross-origin.
*/
'referrerPolicy'?: string | false
/**
* This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.
*/
'src'?: string | false
/**
* This attribute indicates the type of script represented.
*
* The value of this attribute will be one of the following:
*
* Attribute is not set (default), an empty string, or a JavaScript MIME type
*
* Indicates that the script is a "classic script", containing JavaScript code.
*
* Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type.
*
* JavaScript MIME types are listed in the IANA media types specification.
*
* module
*
* This value causes the code to be treated as a JavaScript module.
*
* The processing of the script contents is deferred.
*
* The charset and defer attributes have no effect.
*
* For information on using module, see our JavaScript modules guide.
*
* Unlike classic scripts, module scripts require the use of the CORS protocol for cross-origin fetching.
*
* importmap
*
* This value indicates that the body of the element contains an import map.
*
* The import map is a JSON object that developers can use to control how the browser resolves module specifiers when importing JavaScript modules.
*
* Any other value
*
* The embedded content is treated as a data block, and won't be processed by the browser.
*
* Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks.
*
* All of the other attributes will be ignored, including the src attribute.
*/
'type'?: string | false
/**
* This attribute explicitly indicates that certain operations should be blocked on the fetching of the script. The operations that are to be blocked must be a space-separated list of blocking attributes listed below.
*
* render: The rendering of content on the screen is blocked.
*/
'blocking'?: 'render' | false
}>>
/** The <style> HTML element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <style> element. */
export type ReactSkruvStyleHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLStyleElement, {
/**
* This attribute defines which media the style should be applied to. Its value is a media query, which defaults to all if the attribute is missing.
*/
'media'?: string | false
/**
* A cryptographic nonce (number used once) used to allow inline styles in a style-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial.
*/
'nonce'?: string | number | boolean | false
/**
* This attribute specifies alternative style sheet sets.
*/
'title'?: string | false
/**
* This attribute explicitly indicates that certain operations should be blocked on the fetching of critical subresources. @import-ed stylesheets are generally considered as critical subresources, whereas background-image and fonts are not.
*
* render: The rendering of content on the screen is blocked.
*/
'blocking'?: 'render' | false
}>>
/** The <link> HTML element specifies relationships between the current document and an external resource.
*
* This element is most commonly used to link to stylesheets, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things. */
export type ReactSkruvLinkHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLLinkElement, {
/**
* This attribute is required when rel="preload" has been set on the <link> element, optional when rel="modulepreload" has been set, and otherwise should not be used.
*
* It specifies the type of content being loaded by the <link>, which is necessary for request matching, application of correct content security policy, and setting of correct Accept request header.
*
* Furthermore, rel="preload" uses this as a signal for request prioritization.
*
* The table below lists the valid values for this attribute and the elements or resources they apply to.
*
* Value
*
* Applies To
*
* audio
*
* <audio> elements
*
* document
*
* <iframe> and <frame> elements
*
* embed
*
* <embed> elements
*
* fetch
*
* fetch, XHR
*
* Note: This value also requires
*
* <link> to contain the crossorigin attribute.
*
* font
*
* CSS @font-face
*
* image
*
* <img> and <picture> elements with
*
* srcset or imageset attributes, SVG <image> elements,
*
* CSS *-image rules
*
* object
*
* <object> elements
*
* script
*
* <script> elements, Worker importScripts
*
* style
*
* <link rel=stylesheet> elements, CSS
*
* @import
*
* track
*
* <track> elements
*
* video
*
* <video> elements
*
* worker
*
* Worker, SharedWorker
*/
'as'?: string | false
/**
* This enumerated attribute indicates whether CORS must be used when fetching the resource.
*
* CORS-enabled images can be reused in the <canvas> element without being tainted.
*
* The allowed values are:
*
* anonymous
*
* A cross-origin request (i.e. with an Origin HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication).
*
* If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin HTTP header) the resource will be tainted and its usage restricted.
*
* use-credentials
*
* A cross-origin request (i.e. with an Origin HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed).
*
* If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials HTTP header), the resource will be tainted and its usage restricted.
*
* If the attribute is not present, the resource is fetched without a CORS request (i.e. without sending the Origin HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword anonymous was used.
*
* See CORS settings attributes for additional information.
*/
'crossOrigin'?: string | false
/**
* For rel="stylesheet" only, the disabled Boolean attribute indicates whether the described stylesheet should be loaded and applied to the document.
*
* If disabled is specified in the HTML when it is loaded, the stylesheet will not be loaded during page load.
*
* Instead, the stylesheet will be loaded on-demand, if and when the disabled attribute is changed to false or removed.
*
* Setting the disabled property in the DOM causes the stylesheet to be removed from the document's Document.styleSheets list.
*/
'disabled'?: boolean | false
/**
* Provides a hint of the relative priority to use when fetching a preloaded resource. Allowed values:
*
* high
*
* Signals a high-priority fetch relative to other resources of the same type.
*
* low
*
* Signals a low-priority fetch relative to other resources of the same type.
*
* auto
*
* Default: Signals automatic determination of fetch priority relative to other resources of the same type.
*/
'fetchPriority'?: string | false
/**
* This attribute specifies the URL of the linked resource. A URL can be absolute or relative.
*/
'href'?: string | false
/**
* This attribute indicates the language of the linked resource.
*
* It is purely advisory.
*
* Allowed values are specified by RFC 5646: Tags for Identifying Languages (also known as BCP 47).
*
* Use this attribute only if the href attribute is present.
*/
'hrefLang'?: string | false
/**
* For rel="preload" and as="image" only, the imagesizes attribute is a sizes attribute that indicates to preload the appropriate resource used by an img element with corresponding values for its srcset and sizes attributes.
*/
'imageSizes'?: string | false
/**
* For rel="preload" and as="image" only, the imagesrcset attribute is a sourceset attribute that indicates to preload the appropriate resource used by an img element with corresponding values for its srcset and sizes attributes.
*/
'imageSrcSet'?: string | false
/**
* Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you're telling the browser to fetch.
*
* The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation.
*
* See Subresource Integrity.
*/
'integrity'?: string | false
/**
* This attribute specifies the media that the linked resource applies to. Its value must be a media type / media query.
*
* This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.
*
* Note:
*
* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., media types and groups, where defined and allowed as values for this attribute, such as print, screen, aural, braille.
*
* HTML5 extended this to any kind of media queries, which are a superset of the allowed values of HTML 4.
*
* Browsers not supporting CSS Media Queries won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4.
*/
'media'?: string | false
/**
* Identifies a resource that might be required by the next navigation and that the user agent should retrieve it.
*
* This allows the user agent to respond faster when the resource is requested in the future.
*/
'prefetch'?: string | number | boolean | false
/**
* A string indicating which referrer to use when fetching the resource:
*
* no-referrer means that the Referer header will not be sent.
*
* no-referrer-when-downgrade means that no Referer header will be sent when navigating to an origin without TLS (HTTPS).
*
* This is a user agent's default behavior, if no policy is otherwise specified.
*
* origin means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.
*
* origin-when-cross-origin means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer's path.
*
* unsafe-url means that the referrer will include the origin and the path (but not the fragment, password, or username).
*
* This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.
*/
'referrerPolicy'?: string | false
/**
* This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of link type values.
*/
'rel'?: string | false
/**
* This attribute defines the sizes of the icons for visual media contained in the resource.
*
* It must be present only if the rel contains a value of icon or a non-standard type such as Apple's apple-touch-icon.
*
* It may have the following values:
*
* any, meaning that the icon can be scaled to any size as it is in a vector format, like image/svg+xml.
*
* a white-space separated list of sizes, each in the format <width in pixels>x<height in pixels> or <width in pixels>X<height in pixels>. Each of these sizes must be contained in the resource.
*
* Note: Most icon formats are only able to store one single icon; therefore, most of the time, the sizes attribute contains only one entry.
*
* MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous, so you should use this format if cross-browser support is a concern (especially for old IE versions).
*/
'sizes'?: string | false
/**
* The title attribute has special semantics on the <link> element.
*
* When used on a <link rel="stylesheet"> it defines a default or an alternate stylesheet.
*/
'title'?: string | false
/**
* This attribute is used to define the type of the content linked to.
*
* The value of the attribute should be a MIME type such as text/html, text/css, and so on.
*
* The common use of this attribute is to define the type of stylesheet being referenced (such as text/css), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the type attribute, but is actually now recommended practice.
*
* It is also used on rel="preload" link types, to make sure the browser only downloads file types that it supports.
*/
'type'?: string | false
/**
* This attribute explicitly indicates that certain operations should be blocked on the fetching of an external resource. The operations that are to be blocked must be a space-separated list of blocking attributes listed below.
*
* render: The rendering of content on the screen is blocked.
*/
'blocking'?: 'render' | false
}>>
/** The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>. */
export type ReactSkruvMetaHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLMetaElement, {
/**
* This attribute declares the document's character encoding. If the attribute is present, its value must be an ASCII case-insensitive match for the string "utf-8", because UTF-8 is the only valid encoding for HTML5 documents. <meta> elements which declare a character encoding must be located entirely within the first 1024 bytes of the document.
*/
'charSet'?: string | false
/**
* This attribute contains the value for the http-equiv or name attribute, depending on which is used.
*/
'content'?: string | false
/**
* Defines a pragma directive. The attribute is named http-equiv(alent) because all the allowed values are names of particular HTTP headers:
*
* content-security-policy
*
* Allows page authors to define a content policy for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.
*
* content-type
*
* Declares the MIME type and the document's character encoding. The content attribute must have the value "text/html; charset=utf-8" if specified. This is equivalent to a <meta> element with the charset attribute specified and carries the same restriction on placement within the document. Note: Can only be used in documents served with a text/html — not in documents served with an XML MIME type.
*
* default-style
*
* Sets the name of the default CSS style sheet set.
*
* x-ua-compatible
*
* If specified, the content attribute must have the value "IE=edge". User agents are required to ignore this pragma.
*
* refresh This instruction specifies:
*
* The number of seconds until the page should be reloaded - only if the content attribute contains a non-negative integer.
*
* The number of seconds until the page should redirect to another - only if the content attribute contains a non-negative integer followed by the string ';url=', and a valid URL.
*
* Warning:
*
* Pages set with a refresh value run the risk of having the time interval being too short. People navigating with the aid of assistive technology such as a screen reader may be unable to read through and understand the page's content before being automatically redirected. The abrupt, unannounced updating of the page content may also be disorienting for people experiencing low vision conditions.
*
* MDN Understanding WCAG, Guideline 2.2 explanations
*
* MDN Understanding WCAG, Guideline 3.2 explanations
*
* Understanding Success Criterion 2.2.1 | W3C Understanding WCAG 2.0
*
* Understanding Success Criterion 2.2.4 | W3C Understanding WCAG 2.0
*
* Understanding Success Criterion 3.2.5 | W3C Understanding WCAG 2.0
*/
'httpequiv'?: string | false
/**
* The name and content attributes can be used together to provide document metadata in terms of name-value pairs, with the name attribute giving the metadata name, and the content attribute giving the value.
*
* See standard metadata names for details about the set of standard metadata names defined in the HTML specification.
*/
'name'?: string | false
}>>
/** The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document. */
export type ReactSkruvBodyHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLBodyElement, {}>>
/** The <address> HTML element indicates that the enclosed HTML provides contact information for a person or people, or for an organization. */
export type ReactSkruvAddressHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <article> HTML element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry, a product card, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. */
export type ReactSkruvArticleHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <aside> HTML element represents a portion of a document whose content is only indirectly related to the document's main content. Asides are frequently presented as sidebars or call-out boxes. */
export type ReactSkruvAsideHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <footer> HTML element represents a footer for its nearest ancestor sectioning content or sectioning root element. A <footer> typically contains information about the author of the section, copyright data or links to related documents. */
export type ReactSkruvFooterHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. */
export type ReactSkruvH1HTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadingElement, {}>>
/** The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. */
export type ReactSkruvH2HTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadingElement, {}>>
/** The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. */
export type ReactSkruvH3HTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadingElement, {}>>
/** The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. */
export type ReactSkruvH4HTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadingElement, {}>>
/** The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. */
export type ReactSkruvH5HTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadingElement, {}>>
/** The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. */
export type ReactSkruvH6HTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHeadingElement, {}>>
/** The <header> HTML element represents introductory content, typically a group of introductory or navigational aids. It may contain some heading elements but also a logo, a search form, an author name, and other elements. */
export type ReactSkruvHeaderHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <hgroup> HTML element represents a heading and related content. It groups a single <h1>–<h6> element with one or more <p>. */
export type ReactSkruvHgroupHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <main> HTML element represents the dominant content of the <body> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application. */
export type ReactSkruvMainHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes. */
export type ReactSkruvNavHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <section> HTML element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it. Sections should always have a heading, with very few exceptions. */
export type ReactSkruvSectionHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <search> HTML element is a container representing the parts of the document or application with form controls or other content related to performing a search or filtering operation. The <search> element semantically identifies the purpose of the element's contents as having search or filtering capabilities. The search or filtering functionality can be for the website or application, the current web page or document, or the entire Internet or subsection thereof. */
export type ReactSkruvSearchHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLUnknownElement, {}>>
/** The <blockquote> HTML element indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element. */
export type ReactSkruvBlockquoteHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLQuoteElement, {
/**
* A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
*/
'cite'?: string | false
}>>
/** The <cite> HTML element is used to mark up the title of a cited creative work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata. */
export type ReactSkruvCiteHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>). */
export type ReactSkruvDdHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {
/**
* If the value of this attribute is set to yes, the definition text will not wrap. The default value is no.
*/
'nowrap'?: string | number | boolean | false
}>>
/** The <dt> HTML element specifies a term in a description or definition list, and as such must be used inside a <dl> element. It is usually followed by a <dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next <dd> element. */
export type ReactSkruvDtHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <dl> HTML element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs). */
export type ReactSkruvDlHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLDListElement, {}>>
/** The <div> HTML element is the generic container for flow content. It has no effect on the content or layout until styled in some way using CSS (e.g. styling is directly applied to it, or some kind of layout model like Flexbox is applied to its parent element). */
export type ReactSkruvDivHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLDivElement, {}>>
/** The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element. */
export type ReactSkruvFigcaptionHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <figure> HTML element represents self-contained content, potentially with an optional caption, which is specified using the <figcaption> element. The figure, its caption, and its contents are referenced as a single unit. */
export type ReactSkruvFigureHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <hr> HTML element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section. */
export type ReactSkruvHrHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLHRElement, {
/**
* Sets the alignment of the rule on the page. If no value is specified, the default value is left.
*/
'align'?: string | false
/**
* Sets the color of the rule through color name or hexadecimal value.
*/
'color'?: string | false
/**
* Sets the rule to have no shading.
*/
'noshade'?: string | number | boolean | false
/**
* Sets the height, in pixels, of the rule.
*/
'size'?: string | false
/**
* Sets the length of the rule on the page through a pixel or percentage value.
*/
'width'?: number | string | false
}>>
/** The <li> HTML element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter. */
export type ReactSkruvLiHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLLIElement, {
/**
* This integer attribute indicates the current ordinal value of the list item as defined by the <ol> element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The value attribute has no meaning for unordered lists (<ul>) or for menus (<menu>).
*/
'value'?: number | string | false
}>>
/** The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list. */
export type ReactSkruvOlHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLOListElement, {
/**
* This Boolean attribute specifies that the list's items are in reverse order. Items will be numbered from high to low.
*/
'reversed'?: boolean | false
/**
* An integer to start counting from for the list items. Always an Arabic numeral (1, 2, 3, etc.), even when the numbering type is letters or Roman numerals. For example, to start numbering elements from the letter "d" or the Roman numeral "iv," use start="4".
*/
'start'?: number | false
}>>
/** The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list. */
export type ReactSkruvUlHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLUListElement, {}>>
/** The <menu> HTML element is described in the HTML specification as a semantic alternative to <ul>, but treated by browsers (and exposed through the accessibility tree) as no different than <ul>. It represents an unordered list of items (which are represented by <li> elements). */
export type ReactSkruvMenuHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLMenuElement, {}>>
/** The <p> HTML element represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines and/or first-line indentation, but HTML paragraphs can be any structural grouping of related content, such as images or form fields. */
export type ReactSkruvPHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLParagraphElement, {}>>
/** The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or monospaced, font. Whitespace inside this element is displayed as written. */
export type ReactSkruvPreHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLPreElement, {}>>
/** The <a> HTML element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address. */
export type ReactSkruvAHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLAnchorElement, {
/**
* Causes the browser to treat the linked URL as a download. Can be used with or without a filename value:
*
* Without a value, the browser will suggest a filename/extension, generated from various sources:
*
* The Content-Disposition HTTP header
*
* The final segment in the URL path
*
* The media type (from the Content-Type header, the start of a data: URL, or Blob.type for a blob: URL)
*
* filename: defining a value suggests it as the filename. / and \ characters are converted to underscores (_). Filesystems may forbid other characters in filenames, so browsers will adjust the suggested name if necessary.
*
* Note:
*
* download only works for same-origin URLs, or the blob: and data: schemes.
*
* How browsers treat downloads varies by browser, user settings, and other factors. The user may be prompted before a download starts, or the file may be saved automatically, or it may open automatically, either in an external application or in the browser itself.
*
* If the Content-Disposition header has different information from the download attribute, resulting behavior may differ:
*
* If the header specifies a filename, it takes priority over a filename specified in the download attribute.
*
* If the header specifies a disposition of inline, Chrome and Firefox prioritize the attribute and treat it as a download. Old Firefox versions (before 82) prioritize the header and will display the content inline.
*/
'download'?: string | false
/**
* The URL that the hyperlink points to. Links are not restricted to HTTP-based URLs — they can use any URL scheme supported by browsers:
*
* Sections of a page with document fragments
*
* Specific text portions with text fragments
*
* Pieces of media files with media fragments
*
* Telephone numbers with tel: URLs
*
* Email addresses with mailto: URLs
*
* While web browsers may not support other URL schemes, websites can with registerProtocolHandler()
*/
'href'?: string | false
/**
* Hints at the human language of the linked URL. No built-in functionality. Allowed values are the same as the global lang attribute.
*/
'hrefLang'?: string | false
/**
* A space-separated list of URLs. When the link is followed, the browser will send POST requests with the body PING to the URLs. Typically for tracking.
*/
'ping'?: string | false
/**
* How much of the referrer to send when following the link.
*
* no-referrer: The Referer header will not be sent.
*
* no-referrer-when-downgrade: The Referer header will not be sent to origins without TLS (HTTPS).
*
* origin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port.
*
* origin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.
*
* same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.
*
* strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP).
*
* strict-origin-when-cross-origin (default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).
*
* unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
*/
'referrerPolicy'?: string | false
/**
* The relationship of the linked URL as space-separated link types.
*/
'rel'?: string | false
/**
* Where to display the linked URL, as the name for a browsing context (a tab, window, or <iframe>). The following keywords have special meanings for where to load the URL:
*
* _self: the current browsing context. (Default)
*
* _blank: usually a new tab, but users can configure browsers to open a new window instead.
*
* _parent: the parent browsing context of the current one. If no parent, behaves as _self.
*
* _top: the topmost browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as _self.
*
* Note: Setting target="_blank" on <a> elements implicitly provides the same rel behavior as setting rel="noopener" which does not set window.opener.
*/
'target'?: string | false
/**
* Hints at the linked URL's format with a MIME type. No built-in functionality.
*/
'type'?: string | false
}>>
/** The <abbr> HTML element represents an abbreviation or acronym. */
export type ReactSkruvAbbrHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <b> HTML element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b> for styling text or granting importance. If you wish to create boldface text, you should use the CSS font-weight property. If you wish to indicate an element is of special importance, you should use the <strong> element. */
export type ReactSkruvBHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <bdi> HTML element tells the browser's bidirectional algorithm to treat the text it contains in isolation from its surrounding text. It's particularly useful when a website dynamically inserts some text and doesn't know the directionality of the text being inserted. */
export type ReactSkruvBdiHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <bdo> HTML element overrides the current directionality of text, so that the text within is rendered in a different direction. */
export type ReactSkruvBdoHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {
/**
* The direction in which text should be rendered in this element's contents. Possible values are:
*
* ltr: Indicates that the text should go in a left-to-right direction.
*
* rtl: Indicates that the text should go in a right-to-left direction.
*/
'dir'?: string | false
}>>
/** The <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant. */
export type ReactSkruvBrHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLBRElement, {}>>
/** The <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent's default monospace font. */
export type ReactSkruvCodeHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <data> HTML element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the <time> element must be used. */
export type ReactSkruvDataHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLDataElement, {
/**
* This attribute specifies the machine-readable translation of the content of the element.
*/
'value'?: number | string | false
}>>
/** The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence. The ancestor <p> element, the <dt>/<dd> pairing, or the nearest <section> ancestor of the <dfn> element, is considered to be the definition of the term. */
export type ReactSkruvDfnHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <em> HTML element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis. */
export type ReactSkruvEmHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <i> HTML element represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others. Historically, these have been presented using italicized type, which is the original source of the <i> naming of this element. */
export type ReactSkruvIHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <kbd> HTML element represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device. By convention, the user agent defaults to rendering the contents of a <kbd> element using its default monospace font, although this is not mandated by the HTML standard. */
export type ReactSkruvKbdHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes due to the marked passage's relevance in the enclosing context. */
export type ReactSkruvMarkHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <q> HTML element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <blockquote> element. */
export type ReactSkruvQHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLQuoteElement, {
/**
* The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
*/
'cite'?: string | false
}>>
/** The <rp> HTML element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element. One <rp> element should enclose each of the opening and closing parentheses that wrap the <rt> element that contains the annotation's text. */
export type ReactSkruvRpHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <ruby> HTML element represents small annotations that are rendered above, below, or next to base text, usually used for showing the pronunciation of East Asian characters. It can also be used for annotating other kinds of text, but this usage is less common. */
export type ReactSkruvRubyHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <rt> HTML element specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography. The <rt> element must always be contained within a <ruby> element. */
export type ReactSkruvRtHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate. */
export type ReactSkruvSHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <samp> HTML element is used to enclose inline text which represents sample (or quoted) output from a computer program. Its contents are typically rendered using the browser's default monospaced font (such as Courier or Lucida Console). */
export type ReactSkruvSampHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <small> HTML element represents side-comments and small print, like copyright and legal text, independent of its styled presentation. By default, it renders text within it one font-size smaller, such as from small to x-small. */
export type ReactSkruvSmallHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <span> HTML element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a <div> element, but <div> is a block-level element whereas a <span> is an inline-level element. */
export type ReactSkruvSpanHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLSpanElement, {}>>
/** The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type. */
export type ReactSkruvStrongHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <sub> HTML element specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text. */
export type ReactSkruvSubHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>
/** The <sup> HTML element specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller text. */
export type ReactSkruvSupHTMLAttributes = util.AsyncContent<ReactHTMLAttributes<HTMLElement, {}>>