microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
db80cd4e10b83524bc77c15018effab72cbabeb8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

ReactTypings/react/react.d.ts

2274lines · modeblame

d24fea86Joshua Skelton10 years ago1// Type definitions for React v0.14
2// Project: http://facebook.github.io/react/
3// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
4// Definitions: https://github.com/borisyankov/DefinitelyTyped
5
6declare namespace __React {
7
8//
9// React Elements
10// ----------------------------------------------------------------------
11
12type ReactType = string | ComponentClass<any> | StatelessComponent<any>;
13
14interface ReactElement<P extends Props<any>> {
15type: string | ComponentClass<P> | StatelessComponent<P>;
16props: P;
17key: string | number;
18ref: string | ((component: Component<P, any> | Element) => any);
19}
20
21interface ClassicElement<P> extends ReactElement<P> {
22type: ClassicComponentClass<P>;
23ref: string | ((component: ClassicComponent<P, any>) => any);
24}
25
26interface DOMElement<P extends Props<Element>> extends ReactElement<P> {
27type: string;
28ref: string | ((element: Element) => any);
29}
30
31interface ReactHTMLElement extends DOMElement<HTMLProps<HTMLElement>> {
32ref: string | ((element: HTMLElement) => any);
33}
34
35interface ReactSVGElement extends DOMElement<SVGProps> {
36ref: string | ((element: SVGElement) => any);
37}
38
39//
40// Factories
41// ----------------------------------------------------------------------
42
43interface Factory<P> {
44(props?: P, ...children: ReactNode[]): ReactElement<P>;
45}
46
47interface ClassicFactory<P> extends Factory<P> {
48(props?: P, ...children: ReactNode[]): ClassicElement<P>;
49}
50
51interface DOMFactory<P extends Props<Element>> extends Factory<P> {
52(props?: P, ...children: ReactNode[]): DOMElement<P>;
53}
54
55type HTMLFactory = DOMFactory<HTMLProps<HTMLElement>>;
56type SVGFactory = DOMFactory<SVGProps>;
57
58//
59// React Nodes
60// http://facebook.github.io/react/docs/glossary.html
61// ----------------------------------------------------------------------
62
63type ReactText = string | number;
64type ReactChild = ReactElement<any> | ReactText;
65
66// Should be Array<ReactNode> but type aliases cannot be recursive
67type ReactFragment = {} | Array<ReactChild | any[] | boolean>;
68type ReactNode = ReactChild | ReactFragment | boolean;
69
70//
71// Top Level API
72// ----------------------------------------------------------------------
73
74function createClass<P, S>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>;
75
76function createFactory<P>(type: string): DOMFactory<P>;
77function createFactory<P>(type: ClassicComponentClass<P>): ClassicFactory<P>;
78function createFactory<P>(type: ComponentClass<P> | StatelessComponent<P>): Factory<P>;
79
80function createElement<P>(
81type: string,
82props?: P,
83...children: ReactNode[]): DOMElement<P>;
84function createElement<P>(
85type: ClassicComponentClass<P>,
86props?: P,
87...children: ReactNode[]): ClassicElement<P>;
88function createElement<P>(
89type: ComponentClass<P> | StatelessComponent<P>,
90props?: P,
91...children: ReactNode[]): ReactElement<P>;
92
93function cloneElement<P>(
94element: DOMElement<P>,
95props?: P,
96...children: ReactNode[]): DOMElement<P>;
97function cloneElement<P>(
98element: ClassicElement<P>,
99props?: P,
100...children: ReactNode[]): ClassicElement<P>;
101function cloneElement<P>(
102element: ReactElement<P>,
103props?: P,
104...children: ReactNode[]): ReactElement<P>;
105
106function isValidElement(object: {}): boolean;
107
108var DOM: ReactDOM;
109var PropTypes: ReactPropTypes;
110var Children: ReactChildren;
111
112//
113// Component API
114// ----------------------------------------------------------------------
115
116type ReactInstance = Component<any, any> | Element;
117
118// Base component for plain JS classes
119class Component<P, S> implements ComponentLifecycle<P, S> {
120constructor(props?: P, context?: any);
121setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
122setState(state: S, callback?: () => any): void;
123forceUpdate(callBack?: () => any): void;
124render(): JSX.Element;
125props: P;
126state: S;
127context: {};
128refs: {
129[key: string]: ReactInstance
130};
131}
132
133interface ClassicComponent<P, S> extends Component<P, S> {
134replaceState(nextState: S, callback?: () => any): void;
135isMounted(): boolean;
136getInitialState?(): S;
137}
138
139interface ChildContextProvider<CC> {
140getChildContext(): CC;
141}
142
143//
144// Class Interfaces
145// ----------------------------------------------------------------------
146
147interface StatelessComponent<P> {
148(props?: P, context?: any): ReactElement<any>;
149propTypes?: ValidationMap<P>;
150contextTypes?: ValidationMap<any>;
151defaultProps?: P;
152displayName?: string;
153}
154
155interface ComponentClass<P> {
156new(props?: P, context?: any): Component<P, any>;
157propTypes?: ValidationMap<P>;
158contextTypes?: ValidationMap<any>;
159childContextTypes?: ValidationMap<any>;
160defaultProps?: P;
161}
162
163interface ClassicComponentClass<P> extends ComponentClass<P> {
164new(props?: P, context?: any): ClassicComponent<P, any>;
165getDefaultProps?(): P;
166displayName?: string;
167}
168
169//
170// Component Specs and Lifecycle
171// ----------------------------------------------------------------------
172
173interface ComponentLifecycle<P, S> {
174componentWillMount?(): void;
175componentDidMount?(): void;
176componentWillReceiveProps?(nextProps: P, nextContext: any): void;
177shouldComponentUpdate?(nextProps: P, nextState: S, nextContext: any): boolean;
178componentWillUpdate?(nextProps: P, nextState: S, nextContext: any): void;
179componentDidUpdate?(prevProps: P, prevState: S, prevContext: any): void;
180componentWillUnmount?(): void;
181}
182
183interface Mixin<P, S> extends ComponentLifecycle<P, S> {
184mixins?: Mixin<P, S>;
185statics?: {
186[key: string]: any;
187};
188
189displayName?: string;
190propTypes?: ValidationMap<any>;
191contextTypes?: ValidationMap<any>;
192childContextTypes?: ValidationMap<any>;
193
194getDefaultProps?(): P;
195getInitialState?(): S;
196}
197
198interface ComponentSpec<P, S> extends Mixin<P, S> {
199render(): ReactElement<any>;
200
201[propertyName: string]: any;
202}
203
204//
205// Event System
206// ----------------------------------------------------------------------
207
208interface SyntheticEvent {
209bubbles: boolean;
210cancelable: boolean;
211currentTarget: EventTarget;
212defaultPrevented: boolean;
213eventPhase: number;
214isTrusted: boolean;
215nativeEvent: Event;
216preventDefault(): void;
217stopPropagation(): void;
218target: EventTarget;
219timeStamp: Date;
220type: string;
221}
222
223interface ClipboardEvent extends SyntheticEvent {
224clipboardData: DataTransfer;
225}
226
227interface CompositionEvent extends SyntheticEvent {
228data: string;
229}
230
231interface DragEvent extends SyntheticEvent {
232dataTransfer: DataTransfer;
233}
234
235interface FocusEvent extends SyntheticEvent {
236relatedTarget: EventTarget;
237}
238
239interface FormEvent extends SyntheticEvent {
240}
241
242interface KeyboardEvent extends SyntheticEvent {
243altKey: boolean;
244charCode: number;
245ctrlKey: boolean;
246getModifierState(key: string): boolean;
247key: string;
248keyCode: number;
249locale: string;
250location: number;
251metaKey: boolean;
252repeat: boolean;
253shiftKey: boolean;
254which: number;
255}
256
257interface MouseEvent extends SyntheticEvent {
258altKey: boolean;
259button: number;
260buttons: number;
261clientX: number;
262clientY: number;
263ctrlKey: boolean;
264getModifierState(key: string): boolean;
265metaKey: boolean;
266pageX: number;
267pageY: number;
268relatedTarget: EventTarget;
269screenX: number;
270screenY: number;
271shiftKey: boolean;
272}
273
274interface TouchEvent extends SyntheticEvent {
275altKey: boolean;
276changedTouches: TouchList;
277ctrlKey: boolean;
278getModifierState(key: string): boolean;
279metaKey: boolean;
280shiftKey: boolean;
281targetTouches: TouchList;
282touches: TouchList;
283}
284
285interface UIEvent extends SyntheticEvent {
286detail: number;
287view: AbstractView;
288}
289
290interface WheelEvent extends SyntheticEvent {
291deltaMode: number;
292deltaX: number;
293deltaY: number;
294deltaZ: number;
295}
296
297//
298// Event Handler Types
299// ----------------------------------------------------------------------
300
301interface EventHandler<E extends SyntheticEvent> {
302(event: E): void;
303}
304
305type ReactEventHandler = EventHandler<SyntheticEvent>;
306
307type ClipboardEventHandler = EventHandler<ClipboardEvent>;
308type CompositionEventHandler = EventHandler<CompositionEvent>;
309type DragEventHandler = EventHandler<DragEvent>;
310type FocusEventHandler = EventHandler<FocusEvent>;
311type FormEventHandler = EventHandler<FormEvent>;
312type KeyboardEventHandler = EventHandler<KeyboardEvent>;
313type MouseEventHandler = EventHandler<MouseEvent>;
314type TouchEventHandler = EventHandler<TouchEvent>;
315type UIEventHandler = EventHandler<UIEvent>;
316type WheelEventHandler = EventHandler<WheelEvent>;
317
318//
319// Props / DOM Attributes
320// ----------------------------------------------------------------------
321
322interface Props<T> {
323children?: ReactNode;
324key?: string | number;
325ref?: string | ((component: T) => any);
326}
327
328interface HTMLProps<T> extends HTMLAttributes, Props<T> {
329}
330
331interface SVGProps extends SVGAttributes, Props<SVGElement> {
332}
333
334interface DOMAttributes {
335dangerouslySetInnerHTML?: {
336__html: string;
337};
338
339// Clipboard Events
340onCopy?: ClipboardEventHandler;
341onCut?: ClipboardEventHandler;
342onPaste?: ClipboardEventHandler;
343
344// Composition Events
345onCompositionEnd?: CompositionEventHandler;
346onCompositionStart?: CompositionEventHandler;
347onCompositionUpdate?: CompositionEventHandler;
348
349// Focus Events
350onFocus?: FocusEventHandler;
351onBlur?: FocusEventHandler;
352
353// Form Events
354onChange?: FormEventHandler;
355onInput?: FormEventHandler;
356onSubmit?: FormEventHandler;
357
358// Image Events
359onLoad?: ReactEventHandler;
360onError?: ReactEventHandler; // also a Media Event
361
362// Keyboard Events
363onKeyDown?: KeyboardEventHandler;
364onKeyPress?: KeyboardEventHandler;
365onKeyUp?: KeyboardEventHandler;
366
367// Media Events
368onAbort?: ReactEventHandler;
369onCanPlay?: ReactEventHandler;
370onCanPlayThrough?: ReactEventHandler;
371onDurationChange?: ReactEventHandler;
372onEmptied?: ReactEventHandler;
373onEncrypted?: ReactEventHandler;
374onEnded?: ReactEventHandler;
375onLoadedData?: ReactEventHandler;
376onLoadedMetadata?: ReactEventHandler;
377onLoadStart?: ReactEventHandler;
378onPause?: ReactEventHandler;
379onPlay?: ReactEventHandler;
380onPlaying?: ReactEventHandler;
381onProgress?: ReactEventHandler;
382onRateChange?: ReactEventHandler;
383onSeeked?: ReactEventHandler;
384onSeeking?: ReactEventHandler;
385onStalled?: ReactEventHandler;
386onSuspend?: ReactEventHandler;
387onTimeUpdate?: ReactEventHandler;
388onVolumeChange?: ReactEventHandler;
389onWaiting?: ReactEventHandler;
390
391// MouseEvents
392onClick?: MouseEventHandler;
393onContextMenu?: MouseEventHandler;
394onDoubleClick?: MouseEventHandler;
395onDrag?: DragEventHandler;
396onDragEnd?: DragEventHandler;
397onDragEnter?: DragEventHandler;
398onDragExit?: DragEventHandler;
399onDragLeave?: DragEventHandler;
400onDragOver?: DragEventHandler;
401onDragStart?: DragEventHandler;
402onDrop?: DragEventHandler;
403onMouseDown?: MouseEventHandler;
404onMouseEnter?: MouseEventHandler;
405onMouseLeave?: MouseEventHandler;
406onMouseMove?: MouseEventHandler;
407onMouseOut?: MouseEventHandler;
408onMouseOver?: MouseEventHandler;
409onMouseUp?: MouseEventHandler;
410
411// Selection Events
412onSelect?: ReactEventHandler;
413
414// Touch Events
415onTouchCancel?: TouchEventHandler;
416onTouchEnd?: TouchEventHandler;
417onTouchMove?: TouchEventHandler;
418onTouchStart?: TouchEventHandler;
419
420// UI Events
421onScroll?: UIEventHandler;
422
423// Wheel Events
424onWheel?: WheelEventHandler;
425}
426
427// This interface is not complete. Only properties accepting
428// unitless numbers are listed here (see CSSProperty.js in React)
429interface CSSProperties {
430boxFlex?: number;
431boxFlexGroup?: number;
432columnCount?: number;
433flex?: number | string;
434flexGrow?: number;
435flexShrink?: number;
436fontWeight?: number | string;
437lineClamp?: number;
438lineHeight?: number | string;
439opacity?: number;
440order?: number;
441orphans?: number;
442widows?: number;
443zIndex?: number;
444zoom?: number;
445
446fontSize?: number | string;
447
448// SVG-related properties
449fillOpacity?: number;
450strokeOpacity?: number;
451strokeWidth?: number;
452
453// Remaining properties auto-extracted from http://docs.webplatform.org.
454// License: http://docs.webplatform.org/wiki/Template:CC-by-3.0
455/**
456* Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.
457*/
458alignContent?: any;
459
460/**
461* Sets the default alignment in the cross axis for all of the flex container's items, including anonymous flex items, similarly to how justify-content aligns items along the main axis.
462*/
463alignItems?: any;
464
465/**
466* Allows the default alignment to be overridden for individual flex items.
467*/
468alignSelf?: any;
469
470/**
471* This property allows precise alignment of elements, such as graphics, that do not have a baseline-table or lack the desired baseline in their baseline-table. With the alignment-adjust property, the position of the baseline identified by the alignment-baseline can be explicitly determined. It also determines precisely the alignment point for each glyph within a textual element.
472*/
473alignmentAdjust?: any;
474
475alignmentBaseline?: any;
476
477/**
478* Defines a length of time to elapse before an animation starts, allowing an animation to begin execution some time after it is applied.
479*/
480animationDelay?: any;
481
482/**
483* Defines whether an animation should run in reverse on some or all cycles.
484*/
485animationDirection?: any;
486
487/**
488* Specifies how many times an animation cycle should play.
489*/
490animationIterationCount?: any;
491
492/**
493* Defines the list of animations that apply to the element.
494*/
495animationName?: any;
496
497/**
498* Defines whether an animation is running or paused.
499*/
500animationPlayState?: any;
501
502/**
503* Allows changing the style of any element to platform-based interface elements or vice versa.
504*/
505appearance?: any;
506
507/**
508* Determines whether or not the “back” side of a transformed element is visible when facing the viewer.
509*/
510backfaceVisibility?: any;
511
512/**
513* This property describes how the element's background images should blend with each other and the element's background color.
514* The value is a list of blend modes that corresponds to each background image. Each element in the list will apply to the corresponding element of background-image. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough.
515*/
516backgroundBlendMode?: any;
517
518backgroundColor?: any;
519
520backgroundComposite?: any;
521
522/**
523* Applies one or more background images to an element. These can be any valid CSS image, including url() paths to image files or CSS gradients.
524*/
525backgroundImage?: any;
526
527/**
528* Specifies what the background-position property is relative to.
529*/
530backgroundOrigin?: any;
531
532/**
533* Sets the horizontal position of a background image.
534*/
535backgroundPositionX?: any;
536
537/**
538* Background-repeat defines if and how background images will be repeated after they have been sized and positioned
539*/
540backgroundRepeat?: any;
541
542/**
543* Obsolete - spec retired, not implemented.
544*/
545baselineShift?: any;
546
547/**
548* Non standard. Sets or retrieves the location of the Dynamic HTML (DHTML) behavior.
549*/
550behavior?: any;
551
552/**
553* Shorthand property that defines the different properties of all four sides of an element's border in a single declaration. It can be used to set border-width, border-style and border-color, or a subset of these.
554*/
555border?: any;
556
557/**
558* Defines the shape of the border of the bottom-left corner.
559*/
560borderBottomLeftRadius?: any;
561
562/**
563* Defines the shape of the border of the bottom-right corner.
564*/
565borderBottomRightRadius?: any;
566
567/**
568* Sets the width of an element's bottom border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
569*/
570borderBottomWidth?: any;
571
572/**
573* Border-collapse can be used for collapsing the borders between table cells
574*/
575borderCollapse?: any;
576
577/**
578* The CSS border-color property sets the color of an element's four borders. This property can have from one to four values, made up of the elementary properties: • border-top-color
579* • border-right-color
580* • border-bottom-color
581* • border-left-color The default color is the currentColor of each of these values.
582* If you provide one value, it sets the color for the element. Two values set the horizontal and vertical values, respectively. Providing three values sets the top, vertical, and bottom values, in that order. Four values set all for sides: top, right, bottom, and left, in that order.
583*/
584borderColor?: any;
585
586/**
587* Specifies different corner clipping effects, such as scoop (inner curves), bevel (straight cuts) or notch (cut-off rectangles). Works along with border-radius to specify the size of each corner effect.
588*/
589borderCornerShape?: any;
590
591/**
592* The property border-image-source is used to set the image to be used instead of the border style. If this is set to none the border-style is used instead.
593*/
594borderImageSource?: any;
595
596/**
597* The border-image-width CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge. They represent inward distance from the top, right, bottom, and left edges.
598*/
599borderImageWidth?: any;
600
601/**
602* Shorthand property that defines the border-width, border-style and border-color of an element's left border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the left border — border-left-width, border-left-style and border-left-color.
603*/
604borderLeft?: any;
605
606/**
607* The CSS border-left-color property sets the color of an element's left border. This page explains the border-left-color value, but often you will find it more convenient to fix the border's left color as part of a shorthand set, either border-left or border-color.
608* Colors can be defined several ways. For more information, see Usage.
609*/
610borderLeftColor?: any;
611
612/**
613* Sets the style of an element's left border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
614*/
615borderLeftStyle?: any;
616
617/**
618* Sets the width of an element's left border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
619*/
620borderLeftWidth?: any;
621
622/**
623* Shorthand property that defines the border-width, border-style and border-color of an element's right border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the right border — border-right-width, border-right-style and border-right-color.
624*/
625borderRight?: any;
626
627/**
628* Sets the color of an element's right border. This page explains the border-right-color value, but often you will find it more convenient to fix the border's right color as part of a shorthand set, either border-right or border-color.
629* Colors can be defined several ways. For more information, see Usage.
630*/
631borderRightColor?: any;
632
633/**
634* Sets the style of an element's right border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
635*/
636borderRightStyle?: any;
637
638/**
639* Sets the width of an element's right border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
640*/
641borderRightWidth?: any;
642
643/**
644* Specifies the distance between the borders of adjacent cells.
645*/
646borderSpacing?: any;
647
648/**
649* Sets the style of an element's four borders. This property can have from one to four values. With only one value, the value will be applied to all four borders; otherwise, this works as a shorthand property for each of border-top-style, border-right-style, border-bottom-style, border-left-style, where each border style may be assigned a separate value.
650*/
651borderStyle?: any;
652
653/**
654* Shorthand property that defines the border-width, border-style and border-color of an element's top border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the top border — border-top-width, border-top-style and border-top-color.
655*/
656borderTop?: any;
657
658/**
659* Sets the color of an element's top border. This page explains the border-top-color value, but often you will find it more convenient to fix the border's top color as part of a shorthand set, either border-top or border-color.
660* Colors can be defined several ways. For more information, see Usage.
661*/
662borderTopColor?: any;
663
664/**
665* Sets the rounding of the top-left corner of the element.
666*/
667borderTopLeftRadius?: any;
668
669/**
670* Sets the rounding of the top-right corner of the element.
671*/
672borderTopRightRadius?: any;
673
674/**
675* Sets the style of an element's top border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
676*/
677borderTopStyle?: any;
678
679/**
680* Sets the width of an element's top border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
681*/
682borderTopWidth?: any;
683
684/**
685* Sets the width of an element's four borders. This property can have from one to four values. This is a shorthand property for setting values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
686*/
687borderWidth?: any;
688
689/**
690* Obsolete.
691*/
692boxAlign?: any;
693
694/**
695* Breaks a box into fragments creating new borders, padding and repeating backgrounds or lets it stay as a continuous box on a page break, column break, or, for inline elements, at a line break.
696*/
697boxDecorationBreak?: any;
698
699/**
700* Deprecated
701*/
702boxDirection?: any;
703
704/**
705* Do not use. This property has been replaced by the flex-wrap property.
706* Gets or sets a value that specifies the direction to add successive rows or columns when the value of box-lines is set to multiple.
707*/
708boxLineProgression?: any;
709
710/**
711* Do not use. This property has been replaced by the flex-wrap property.
712* Gets or sets a value that specifies whether child elements wrap onto multiple lines or columns based on the space available in the object.
713*/
714boxLines?: any;
715
716/**
717* Do not use. This property has been replaced by flex-order.
718* Specifies the ordinal group that a child element of the object belongs to. This ordinal value identifies the display order (along the axis defined by the box-orient property) for the group.
719*/
720boxOrdinalGroup?: any;
721
722/**
723* The CSS break-after property allows you to force a break on multi-column layouts. More specifically, it allows you to force a break after an element. It allows you to determine if a break should occur, and what type of break it should be. The break-after CSS property describes how the page, column or region break behaves after the generated box. If there is no generated box, the property is ignored.
724*/
725breakAfter?: any;
726
727/**
728* Control page/column/region breaks that fall above a block of content
729*/
730breakBefore?: any;
731
732/**
733* Control page/column/region breaks that fall within a block of content
734*/
735breakInside?: any;
736
737/**
738* The clear CSS property specifies if an element can be positioned next to or must be positioned below the floating elements that precede it in the markup.
739*/
740clear?: any;
741
742/**
743* Deprecated; see clip-path.
744* Lets you specify the dimensions of an absolutely positioned element that should be visible, and the element is clipped into this shape, and displayed.
745*/
746clip?: any;
747
748/**
749* Clipping crops an graphic, so that only a portion of the graphic is rendered, or filled. This clip-rule property, when used with the clip-path property, defines which clip rule, or algorithm, to use when filling the different parts of a graphics.
750*/
751clipRule?: any;
752
753/**
754* The color property sets the color of an element's foreground content (usually text), accepting any standard CSS color from keywords and hex values to RGB(a) and HSL(a).
755*/
756color?: any;
757
758/**
759* Specifies how to fill columns (balanced or sequential).
760*/
761columnFill?: any;
762
763/**
764* The column-gap property controls the width of the gap between columns in multi-column elements.
765*/
766columnGap?: any;
767
768/**
769* Sets the width, style, and color of the rule between columns.
770*/
771columnRule?: any;
772
773/**
774* Specifies the color of the rule between columns.
775*/
776columnRuleColor?: any;
777
778/**
779* Specifies the width of the rule between columns.
780*/
781columnRuleWidth?: any;
782
783/**
784* The column-span CSS property makes it possible for an element to span across all columns when its value is set to all. An element that spans more than one column is called a spanning element.
785*/
786columnSpan?: any;
787
788/**
789* Specifies the width of columns in multi-column elements.
790*/
791columnWidth?: any;
792
793/**
794* This property is a shorthand property for setting column-width and/or column-count.
795*/
796columns?: any;
797
798/**
799* The counter-increment property accepts one or more names of counters (identifiers), each one optionally followed by an integer which specifies the value by which the counter should be incremented (e.g. if the value is 2, the counter increases by 2 each time it is invoked).
800*/
801counterIncrement?: any;
802
803/**
804* The counter-reset property contains a list of one or more names of counters, each one optionally followed by an integer (otherwise, the integer defaults to 0.) Each time the given element is invoked, the counters specified by the property are set to the given integer.
805*/
806counterReset?: any;
807
808/**
809* The cue property specifies sound files (known as an "auditory icon") to be played by speech media agents before and after presenting an element's content; if only one file is specified, it is played both before and after. The volume at which the file(s) should be played, relative to the volume of the main element, may also be specified. The icon files may also be set separately with the cue-before and cue-after properties.
810*/
811cue?: any;
812
813/**
814* The cue-after property specifies a sound file (known as an "auditory icon") to be played by speech media agents after presenting an element's content; the volume at which the file should be played may also be specified. The shorthand property cue sets cue sounds for both before and after the element is presented.
815*/
816cueAfter?: any;
817
818/**
819* The direction CSS property specifies the text direction/writing direction. The rtl is used for Hebrew or Arabic text, the ltr is for other languages.
820*/
821direction?: any;
822
823/**
824* This property specifies the type of rendering box used for an element. It is a shorthand property for many other display properties.
825*/
826display?: any;
827
828/**
829* The ‘fill’ property paints the interior of the given graphical element. The area to be painted consists of any areas inside the outline of the shape. To determine the inside of the shape, all subpaths are considered, and the interior is determined according to the rules associated with the current value of the ‘fill-rule’ property. The zero-width geometric outline of a shape is included in the area to be painted.
830*/
831fill?: any;
832
833/**
834* The ‘fill-rule’ property indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape. For a simple, non-intersecting path, it is intuitively clear what region lies "inside"; however, for a more complex path, such as a path that intersects itself or where one subpath encloses another, the interpretation of "inside" is not so obvious.
835* The ‘fill-rule’ property provides two options for how the inside of a shape is determined:
836*/
837fillRule?: any;
838
839/**
840* Applies various image processing effects. This property is largely unsupported. See Compatibility section for more information.
841*/
842filter?: any;
843
844/**
845* Obsolete, do not use. This property has been renamed to align-items.
846* Specifies the alignment (perpendicular to the layout axis defined by the flex-direction property) of child elements of the object.
847*/
848flexAlign?: any;
849
850/**
851* The flex-basis CSS property describes the initial main size of the flex item before any free space is distributed according to the flex factors described in the flex property (flex-grow and flex-shrink).
852*/
853flexBasis?: any;
854
855/**
856* The flex-direction CSS property describes how flex items are placed in the flex container, by setting the direction of the flex container's main axis.
857*/
858flexDirection?: any;
859
860/**
861* The flex-flow CSS property defines the flex container's main and cross axis. It is a shorthand property for the flex-direction and flex-wrap properties.
862*/
863flexFlow?: any;
864
865/**
866* Do not use. This property has been renamed to align-self
867* Specifies the alignment (perpendicular to the layout axis defined by flex-direction) of child elements of the object.
868*/
869flexItemAlign?: any;
870
871/**
872* Do not use. This property has been renamed to align-content.
873* Specifies how a flexbox's lines align within the flexbox when there is extra space along the axis that is perpendicular to the axis defined by the flex-direction property.
874*/
875flexLinePack?: any;
876
877/**
878* Gets or sets a value that specifies the ordinal group that a flexbox element belongs to. This ordinal value identifies the display order for the group.
879*/
880flexOrder?: any;
881
882/**
883* Elements which have the style float are floated horizontally. These elements can move as far to the left or right of the containing element. All elements after the floating element will flow around it, but elements before the floating element are not impacted. If several floating elements are placed after each other, they will float next to each other as long as there is room.
884*/
885float?: any;
886
887/**
888* Flows content from a named flow (specified by a corresponding flow-into) through selected elements to form a dynamic chain of layout regions.
889*/
890flowFrom?: any;
891
892/**
893* The font property is shorthand that allows you to do one of two things: you can either set up six of the most mature font properties in one line, or you can set one of a choice of keywords to adopt a system font setting.
894*/
895font?: any;
896
897/**
898* The font-family property allows one or more font family names and/or generic family names to be specified for usage on the selected element(s)' text. The browser then goes through the list; for each character in the selection it applies the first font family that has an available glyph for that character.
899*/
900fontFamily?: any;
901
902/**
903* The font-kerning property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text. This property controls <bold>metric kerning</bold> - that utilizes adjustment data contained in the font. Optical Kerning is not supported as yet.
904*/
905fontKerning?: any;
906
907/**
908* The font-size-adjust property adjusts the font-size of the fallback fonts defined with font-family, so that the x-height is the same no matter what font is used. This preserves the readability of the text when fallback happens.
909*/
910fontSizeAdjust?: any;
911
912/**
913* Allows you to expand or condense the widths for a normal, condensed, or expanded font face.
914*/
915fontStretch?: any;
916
917/**
918* The font-style property allows normal, italic, or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face. Oblique faces can be simulated by artificially sloping the glyphs of the regular face.
919*/
920fontStyle?: any;
921
922/**
923* This value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.
924*/
925fontSynthesis?: any;
926
927/**
928* The font-variant property enables you to select the small-caps font within a font family.
929*/
930fontVariant?: any;
931
932/**
933* Fonts can provide alternate glyphs in addition to default glyph for a character. This property provides control over the selection of these alternate glyphs.
934*/
935fontVariantAlternates?: any;
936
937/**
938* Lays out one or more grid items bound by 4 grid lines. Shorthand for setting grid-column-start, grid-column-end, grid-row-start, and grid-row-end in a single declaration.
939*/
940gridArea?: any;
941
942/**
943* Controls a grid item's placement in a grid area, particularly grid position and a grid span. Shorthand for setting grid-column-start and grid-column-end in a single declaration.
944*/
945gridColumn?: any;
946
947/**
948* Controls a grid item's placement in a grid area as well as grid position and a grid span. The grid-column-end property (with grid-row-start, grid-row-end, and grid-column-start) determines a grid item's placement by specifying the grid lines of a grid item's grid area.
949*/
950gridColumnEnd?: any;
951
952/**
953* Determines a grid item's placement by specifying the starting grid lines of a grid item's grid area . A grid item's placement in a grid area consists of a grid position and a grid span. See also ( grid-row-start, grid-row-end, and grid-column-end)
954*/
955gridColumnStart?: any;
956
957/**
958* Gets or sets a value that indicates which row an element within a Grid should appear in. Shorthand for setting grid-row-start and grid-row-end in a single declaration.
959*/
960gridRow?: any;
961
962/**
963* Determines a grid item’s placement by specifying the block-end. A grid item's placement in a grid area consists of a grid position and a grid span. The grid-row-end property (with grid-row-start, grid-column-start, and grid-column-end) determines a grid item's placement by specifying the grid lines of a grid item's grid area.
964*/
965gridRowEnd?: any;
966
967/**
968* Specifies a row position based upon an integer location, string value, or desired row size.
969* css/properties/grid-row is used as short-hand for grid-row-position and grid-row-position
970*/
971gridRowPosition?: any;
972
973gridRowSpan?: any;
974
975/**
976* Specifies named grid areas which are not associated with any particular grid item, but can be referenced from the grid-placement properties. The syntax of the grid-template-areas property also provides a visualization of the structure of the grid, making the overall layout of the grid container easier to understand.
977*/
978gridTemplateAreas?: any;
979
980/**
981* Specifies (with grid-template-rows) the line names and track sizing functions of the grid. Each sizing function can be specified as a length, a percentage of the grid container’s size, a measurement of the contents occupying the column or row, or a fraction of the free space in the grid.
982*/
983gridTemplateColumns?: any;
984
985/**
986* Specifies (with grid-template-columns) the line names and track sizing functions of the grid. Each sizing function can be specified as a length, a percentage of the grid container’s size, a measurement of the contents occupying the column or row, or a fraction of the free space in the grid.
987*/
988gridTemplateRows?: any;
989
990/**
991* Sets the height of an element. The content area of the element height does not include the padding, border, and margin of the element.
992*/
993height?: any;
994
995/**
996* Specifies the minimum number of characters in a hyphenated word
997*/
998hyphenateLimitChars?: any;
999
1000/**
1001* Indicates the maximum number of successive hyphenated lines in an element. The ‘no-limit’ value means that there is no limit.
1002*/
1003hyphenateLimitLines?: any;
1004
1005/**
1006* Specifies the maximum amount of trailing whitespace (before justification) that may be left in a line before hyphenation is triggered to pull part of a word from the next line back up into the current one.
1007*/
1008hyphenateLimitZone?: any;
1009
1010/**
1011* Specifies whether or not words in a sentence can be split by the use of a manual or automatic hyphenation mechanism.
1012*/
1013hyphens?: any;
1014
1015imeMode?: any;
1016
1017layoutGrid?: any;
1018
1019layoutGridChar?: any;
1020
1021layoutGridLine?: any;
1022
1023layoutGridMode?: any;
1024
1025layoutGridType?: any;
1026
1027/**
1028* Sets the left edge of an element
1029*/
1030left?: any;
1031
1032/**
1033* The letter-spacing CSS property specifies the spacing behavior between text characters.
1034*/
1035letterSpacing?: any;
1036
1037/**
1038* Deprecated. Gets or sets line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean.
1039*/
1040lineBreak?: any;
1041
1042/**
1043* Shorthand property that sets the list-style-type, list-style-position and list-style-image properties in one declaration.
1044*/
1045listStyle?: any;
1046
1047/**
1048* This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker. That also means that if the image is not available, it will show the style specified by list-style-property
1049*/
1050listStyleImage?: any;
1051
1052/**
1053* Specifies if the list-item markers should appear inside or outside the content flow.
1054*/
1055listStylePosition?: any;
1056
1057/**
1058* Specifies the type of list-item marker in a list.
1059*/
1060listStyleType?: any;
1061
1062/**
1063* The margin property is shorthand to allow you to set all four margins of an element at once. Its equivalent longhand properties are margin-top, margin-right, margin-bottom and margin-left. Negative values are also allowed.
1064*/
1065margin?: any;
1066
1067/**
1068* margin-bottom sets the bottom margin of an element.
1069*/
1070marginBottom?: any;
1071
1072/**
1073* margin-left sets the left margin of an element.
1074*/
1075marginLeft?: any;
1076
1077/**
1078* margin-right sets the right margin of an element.
1079*/
1080marginRight?: any;
1081
1082/**
1083* margin-top sets the top margin of an element.
1084*/
1085marginTop?: any;
1086
1087/**
1088* The marquee-direction determines the initial direction in which the marquee content moves.
1089*/
1090marqueeDirection?: any;
1091
1092/**
1093* The 'marquee-style' property determines a marquee's scrolling behavior.
1094*/
1095marqueeStyle?: any;
1096
1097/**
1098* This property is shorthand for setting mask-image, mask-mode, mask-repeat, mask-position, mask-clip, mask-origin, mask-composite and mask-size. Omitted values are set to their original properties' initial values.
1099*/
1100mask?: any;
1101
1102/**
1103* This property is shorthand for setting mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, and mask-border-repeat. Omitted values are set to their original properties' initial values.
1104*/
1105maskBorder?: any;
1106
1107/**
1108* This property specifies how the images for the sides and the middle part of the mask image are scaled and tiled. The first keyword applies to the horizontal sides, the second one applies to the vertical ones. If the second keyword is absent, it is assumed to be the same as the first, similar to the CSS border-image-repeat property.
1109*/
1110maskBorderRepeat?: any;
1111
1112/**
1113* This property specifies inward offsets from the top, right, bottom, and left edges of the mask image, dividing it into nine regions: four corners, four edges, and a middle. The middle image part is discarded and treated as fully transparent black unless the fill keyword is present. The four values set the top, right, bottom and left offsets in that order, similar to the CSS border-image-slice property.
1114*/
1115maskBorderSlice?: any;
1116
1117/**
1118* Specifies an image to be used as a mask. An image that is empty, fails to download, is non-existent, or cannot be displayed is ignored and does not mask the element.
1119*/
1120maskBorderSource?: any;
1121
1122/**
1123* This property sets the width of the mask box image, similar to the CSS border-image-width property.
1124*/
1125maskBorderWidth?: any;
1126
1127/**
1128* Determines the mask painting area, which defines the area that is affected by the mask. The painted content of an element may be restricted to this area.
1129*/
1130maskClip?: any;
1131
1132/**
1133* For elements rendered as a single box, specifies the mask positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes box-decoration-break operates on to determine the mask positioning area(s).
1134*/
1135maskOrigin?: any;
1136
1137/**
1138* This property must not be used. It is no longer included in any standard or standard track specification, nor is it implemented in any browser. It is only used when the text-align-last property is set to size. It controls allowed adjustments of font-size to fit line content.
1139*/
1140maxFontSize?: any;
1141
1142/**
1143* Sets the maximum height for an element. It prevents the height of the element to exceed the specified value. If min-height is specified and is greater than max-height, max-height is overridden.
1144*/
1145maxHeight?: any;
1146
1147/**
1148* Sets the maximum width for an element. It limits the width property to be larger than the value specified in max-width.
1149*/
1150maxWidth?: any;
1151
1152/**
1153* Sets the minimum height for an element. It prevents the height of the element to be smaller than the specified value. The value of min-height overrides both max-height and height.
1154*/
1155minHeight?: any;
1156
1157/**
1158* Sets the minimum width of an element. It limits the width property to be not smaller than the value specified in min-width.
1159*/
1160minWidth?: any;
1161
1162/**
1163* The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.
1164* Outlines differ from borders in the following ways: • Outlines do not take up space, they are drawn above the content.
1165* • Outlines may be non-rectangular. They are rectangular in Gecko/Firefox. Internet Explorer attempts to place the smallest contiguous outline around all elements or shapes that are indicated to have an outline. Opera draws a non-rectangular shape around a construct.
1166*/
1167outline?: any;
1168
1169/**
1170* The outline-color property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.
1171*/
1172outlineColor?: any;
1173
1174/**
1175* The outline-offset property offsets the outline and draw it beyond the border edge.
1176*/
1177outlineOffset?: any;
1178
1179/**
1180* The overflow property controls how extra content exceeding the bounding box of an element is rendered. It can be used in conjunction with an element that has a fixed width and height, to eliminate text-induced page distortion.
1181*/
1182overflow?: any;
1183
1184/**
1185* Specifies the preferred scrolling methods for elements that overflow.
1186*/
1187overflowStyle?: any;
1188
1189/**
1190* The overflow-x property is a specific case of the generic overflow property. It controls how extra content exceeding the x-axis of the bounding box of an element is rendered.
1191*/
1192overflowX?: any;
1193
1194/**
1195* The padding optional CSS property sets the required padding space on one to four sides of an element. The padding area is the space between an element and its border. Negative values are not allowed but decimal values are permitted. The element size is treated as fixed, and the content of the element shifts toward the center as padding is increased.
1196* The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left).
1197*/
1198padding?: any;
1199
1200/**
1201* The padding-bottom CSS property of an element sets the padding space required on the bottom of an element. The padding area is the space between the content of the element and its border. Contrary to margin-bottom values, negative values of padding-bottom are invalid.
1202*/
1203paddingBottom?: any;
1204
1205/**
1206* The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and its border. Contrary to margin-left values, negative values of padding-left are invalid.
1207*/
1208paddingLeft?: any;
1209
1210/**
1211* The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Contrary to margin-right values, negative values of padding-right are invalid.
1212*/
1213paddingRight?: any;
1214
1215/**
1216* The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid.
1217*/
1218paddingTop?: any;
1219
1220/**
1221* The page-break-after property is supported in all major browsers. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
1222*/
1223pageBreakAfter?: any;
1224
1225/**
1226* The page-break-before property sets the page-breaking behavior before an element. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
1227*/
1228pageBreakBefore?: any;
1229
1230/**
1231* Sets the page-breaking behavior inside an element. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
1232*/
1233pageBreakInside?: any;
1234
1235/**
1236* The pause property determines how long a speech media agent should pause before and after presenting an element. It is a shorthand for the pause-before and pause-after properties.
1237*/
1238pause?: any;
1239
1240/**
1241* The pause-after property determines how long a speech media agent should pause after presenting an element. It may be replaced by the shorthand property pause, which sets pause time before and after.
1242*/
1243pauseAfter?: any;
1244
1245/**
1246* The pause-before property determines how long a speech media agent should pause before presenting an element. It may be replaced by the shorthand property pause, which sets pause time before and after.
1247*/
1248pauseBefore?: any;
1249
1250/**
1251* The perspective property defines how far an element is placed from the view on the z-axis, from the screen to the viewer.
1252* Perspective defines how an object is viewed. In graphic arts, perspective is the representation on a flat surface of what the viewer's eye would see in a 3D space. (See Wikipedia for more information about graphical perspective and for related illustrations.)
1253* The illusion of perspective on a flat surface, such as a computer screen, is created by projecting points on the flat surface as they would appear if the flat surface were a window through which the viewer was looking at the object. In discussion of virtual environments, this flat surface is called a projection plane.
1254*/
1255perspective?: any;
1256
1257/**
1258* The perspective-origin property establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.
1259* When used with perspective, perspective-origin changes the appearance of an object, as if a viewer were looking at it from a different origin. An object appears differently if a viewer is looking directly at it versus looking at it from below, above, or from the side. Thus, the perspective-origin is like a vanishing point.
1260* The default value of perspective-origin is 50% 50%. This displays an object as if the viewer's eye were positioned directly at the center of the screen, both top-to-bottom and left-to-right. A value of 0% 0% changes the object as if the viewer was looking toward the top left angle. A value of 100% 100% changes the appearance as if viewed toward the bottom right angle.
1261*/
1262perspectiveOrigin?: any;
1263
1264/**
1265* The pointer-events property allows you to control whether an element can be the target for the pointing device (e.g, mouse, pen) events.
1266*/
1267pointerEvents?: any;
1268
1269/**
1270* The position property controls the type of positioning used by an element within its parent elements. The effect of the position property depends on a lot of factors, for example the position property of parent elements.
1271*/
1272position?: any;
1273
1274/**
1275* Obsolete: unsupported.
1276* This property determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its "ink" lines up with the first glyph in the line above and below.
1277*/
1278punctuationTrim?: any;
1279
1280/**
1281* Sets the type of quotation marks for embedded quotations.
1282*/
1283quotes?: any;
1284
1285/**
1286* Controls whether the last region in a chain displays additional 'overset' content according its default overflow property, or if it displays a fragment of content as if it were flowing into a subsequent region.
1287*/
1288regionFragment?: any;
1289
1290/**
1291* The rest-after property determines how long a speech media agent should pause after presenting an element's main content, before presenting that element's exit cue sound. It may be replaced by the shorthand property rest, which sets rest time before and after.
1292*/
1293restAfter?: any;
1294
1295/**
1296* The rest-before property determines how long a speech media agent should pause after presenting an intro cue sound for an element, before presenting that element's main content. It may be replaced by the shorthand property rest, which sets rest time before and after.
1297*/
1298restBefore?: any;
1299
1300/**
1301* Specifies the position an element in relation to the right side of the containing element.
1302*/
1303right?: any;
1304
1305rubyAlign?: any;
1306
1307rubyPosition?: any;
1308
1309/**
1310* Defines the alpha channel threshold used to extract a shape from an image. Can be thought of as a "minimum opacity" threshold; that is, a value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.
1311*/
1312shapeImageThreshold?: any;
1313
1314/**
1315* A future level of CSS Shapes will define a shape-inside property, which will define a shape to wrap content within the element. See Editor's Draft <http://dev.w3.org/csswg/css-shapes/> and CSSWG wiki page on next-level plans <http://wiki.csswg.org/spec/css-shapes>
1316*/
1317shapeInside?: any;
1318
1319/**
1320* Adds a margin to a shape-outside. In effect, defines a new shape that is the smallest contour around all the points that are the shape-margin distance outward perpendicular to each point on the underlying shape. For points where a perpendicular direction is not defined (e.g., a triangle corner), takes all points on a circle centered at the point and with a radius of the shape-margin distance. This property accepts only non-negative values.
1321*/
1322shapeMargin?: any;
1323
1324/**
1325* Declares a shape around which text should be wrapped, with possible modifications from the shape-margin property. The shape defined by shape-outside and shape-margin changes the geometry of a float element's float area.
1326*/
1327shapeOutside?: any;
1328
1329/**
1330* The speak property determines whether or not a speech synthesizer will read aloud the contents of an element.
1331*/
1332speak?: any;
1333
1334/**
1335* The speak-as property determines how the speech synthesizer interprets the content: words as whole words or as a sequence of letters, numbers as a numerical value or a sequence of digits, punctuation as pauses in speech or named punctuation characters.
1336*/
1337speakAs?: any;
1338
1339/**
1340* The tab-size CSS property is used to customise the width of a tab (U+0009) character.
1341*/
1342tabSize?: any;
1343
1344/**
1345* The 'table-layout' property controls the algorithm used to lay out the table cells, rows, and columns.
1346*/
1347tableLayout?: any;
1348
1349/**
1350* The text-align CSS property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements itself, only their inline content.
1351*/
1352textAlign?: any;
1353
1354/**
1355* The text-align-last CSS property describes how the last line of a block element or a line before line break is aligned in its parent block element.
1356*/
1357textAlignLast?: any;
1358
1359/**
1360* The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink.
1361* underline and overline decorations are positioned under the text, line-through over it.
1362*/
1363textDecoration?: any;
1364
1365/**
1366* Sets the color of any text decoration, such as underlines, overlines, and strike throughs.
1367*/
1368textDecorationColor?: any;
1369
1370/**
1371* Sets what kind of line decorations are added to an element, such as underlines, overlines, etc.
1372*/
1373textDecorationLine?: any;
1374
1375textDecorationLineThrough?: any;
1376
1377textDecorationNone?: any;
1378
1379textDecorationOverline?: any;
1380
1381/**
1382* Specifies what parts of an element’s content are skipped over when applying any text decoration.
1383*/
1384textDecorationSkip?: any;
1385
1386/**
1387* This property specifies the style of the text decoration line drawn on the specified element. The intended meaning for the values are the same as those of the border-style-properties.
1388*/
1389textDecorationStyle?: any;
1390
1391textDecorationUnderline?: any;
1392
1393/**
1394* The text-emphasis property will apply special emphasis marks to the elements text. Slightly similar to the text-decoration property only that this property can have affect on the line-height. It also is noted that this is shorthand for text-emphasis-style and for text-emphasis-color.
1395*/
1396textEmphasis?: any;
1397
1398/**
1399* The text-emphasis-color property specifies the foreground color of the emphasis marks.
1400*/
1401textEmphasisColor?: any;
1402
1403/**
1404* The text-emphasis-style property applies special emphasis marks to an element's text.
1405*/
1406textEmphasisStyle?: any;
1407
1408/**
1409* This property helps determine an inline box's block-progression dimension, derived from the text-height and font-size properties for non-replaced elements, the height or the width for replaced elements, and the stacked block-progression dimension for inline-block elements. The block-progression dimension determines the position of the padding, border and margin for the element.
1410*/
1411textHeight?: any;
1412
1413/**
1414* Specifies the amount of space horizontally that should be left on the first line of the text of an element. This horizontal spacing is at the beginning of the first line and is in respect to the left edge of the containing block box.
1415*/
1416textIndent?: any;
1417
1418textJustifyTrim?: any;
1419
1420textKashidaSpace?: any;
1421
1422/**
1423* The text-line-through property is a shorthand property for text-line-through-style, text-line-through-color and text-line-through-mode. (Considered obsolete; use text-decoration instead.)
1424*/
1425textLineThrough?: any;
1426
1427/**
1428* Specifies the line colors for the line-through text decoration.
1429* (Considered obsolete; use text-decoration-color instead.)
1430*/
1431textLineThroughColor?: any;
1432
1433/**
1434* Sets the mode for the line-through text decoration, determining whether the text decoration affects the space characters or not.
1435* (Considered obsolete; use text-decoration-skip instead.)
1436*/
1437textLineThroughMode?: any;
1438
1439/**
1440* Specifies the line style for line-through text decoration.
1441* (Considered obsolete; use text-decoration-style instead.)
1442*/
1443textLineThroughStyle?: any;
1444
1445/**
1446* Specifies the line width for the line-through text decoration.
1447*/
1448textLineThroughWidth?: any;
1449
1450/**
1451* The text-overflow shorthand CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string. It covers the two long-hand properties text-overflow-mode and text-overflow-ellipsis
1452*/
1453textOverflow?: any;
1454
1455/**
1456* The text-overline property is the shorthand for the text-overline-style, text-overline-width, text-overline-color, and text-overline-mode properties.
1457*/
1458textOverline?: any;
1459
1460/**
1461* Specifies the line color for the overline text decoration.
1462*/
1463textOverlineColor?: any;
1464
1465/**
1466* Sets the mode for the overline text decoration, determining whether the text decoration affects the space characters or not.
1467*/
1468textOverlineMode?: any;
1469
1470/**
1471* Specifies the line style for overline text decoration.
1472*/
1473textOverlineStyle?: any;
1474
1475/**
1476* Specifies the line width for the overline text decoration.
1477*/
1478textOverlineWidth?: any;
1479
1480/**
1481* The text-rendering CSS property provides information to the browser about how to optimize when rendering text. Options are: legibility, speed or geometric precision.
1482*/
1483textRendering?: any;
1484
1485/**
1486* Obsolete: unsupported.
1487*/
1488textScript?: any;
1489
1490/**
1491* The CSS text-shadow property applies one or more drop shadows to the text and <text-decorations> of an element. Each shadow is specified as an offset from the text, along with optional color and blur radius values.
1492*/
1493textShadow?: any;
1494
1495/**
1496* This property transforms text for styling purposes. (It has no effect on the underlying content.)
1497*/
1498textTransform?: any;
1499
1500/**
1501* Unsupported.
1502* This property will add a underline position value to the element that has an underline defined.
1503*/
1504textUnderlinePosition?: any;
1505
1506/**
1507* After review this should be replaced by text-decoration should it not?
1508* This property will set the underline style for text with a line value for underline, overline, and line-through.
1509*/
1510textUnderlineStyle?: any;
1511
1512/**
1513* This property specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the top edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties).
1514*/
1515top?: any;
1516
1517/**
1518* Determines whether touch input may trigger default behavior supplied by the user agent, such as panning or zooming.
1519*/
1520touchAction?: any;
1521
1522/**
1523* CSS transforms allow elements styled with CSS to be transformed in two-dimensional or three-dimensional space. Using this property, elements can be translated, rotated, scaled, and skewed. The value list may consist of 2D and/or 3D transform values.
1524*/
1525transform?: any;
1526
1527/**
1528* This property defines the origin of the transformation axes relative to the element to which the transformation is applied.
1529*/
1530transformOrigin?: any;
1531
1532/**
1533* This property allows you to define the relative position of the origin of the transformation grid along the z-axis.
1534*/
1535transformOriginZ?: any;
1536
1537/**
1538* This property specifies how nested elements are rendered in 3D space relative to their parent.
1539*/
1540transformStyle?: any;
1541
1542/**
1543* The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay. It allows to define the transition between two states of an element.
1544*/
1545transition?: any;
1546
1547/**
1548* Defines when the transition will start. A value of ‘0s’ means the transition will execute as soon as the property is changed. Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset.
1549*/
1550transitionDelay?: any;
1551
1552/**
1553* The 'transition-duration' property specifies the length of time a transition animation takes to complete.
1554*/
1555transitionDuration?: any;
1556
1557/**
1558* The 'transition-property' property specifies the name of the CSS property to which the transition is applied.
1559*/
1560transitionProperty?: any;
1561
1562/**
1563* Sets the pace of action within a transition
1564*/
1565transitionTimingFunction?: any;
1566
1567/**
1568* The unicode-bidi CSS property specifies the level of embedding with respect to the bidirectional algorithm.
1569*/
1570unicodeBidi?: any;
1571
1572/**
1573* unicode-range allows you to set a specific range of characters to be downloaded from a font (embedded using @font-face) and made available for use on the current page.
1574*/
1575unicodeRange?: any;
1576
1577/**
1578* This is for all the high level UX stuff.
1579*/
1580userFocus?: any;
1581
1582/**
1583* For inputing user content
1584*/
1585userInput?: any;
1586
1587/**
1588* The vertical-align property controls how inline elements or text are vertically aligned compared to the baseline. If this property is used on table-cells it controls the vertical alignment of content of the table cell.
1589*/
1590verticalAlign?: any;
1591
1592/**
1593* The visibility property specifies whether the boxes generated by an element are rendered.
1594*/
1595visibility?: any;
1596
1597/**
1598* The voice-balance property sets the apparent position (in stereo sound) of the synthesized voice for spoken media.
1599*/
1600voiceBalance?: any;
1601
1602/**
1603* The voice-duration property allows the author to explicitly set the amount of time it should take a speech synthesizer to read an element's content, for example to allow the speech to be synchronized with other media. With a value of auto (the default) the length of time it takes to read the content is determined by the content itself and the voice-rate property.
1604*/
1605voiceDuration?: any;
1606
1607/**
1608* The voice-family property sets the speaker's voice used by a speech media agent to read an element. The speaker may be specified as a named character (to match a voice option in the speech reading software) or as a generic description of the age and gender of the voice. Similar to the font-family property for visual media, a comma-separated list of fallback options may be given in case the speech reader does not recognize the character name or cannot synthesize the requested combination of generic properties.
1609*/
1610voiceFamily?: any;
1611
1612/**
1613* The voice-pitch property sets pitch or tone (high or low) for the synthesized speech when reading an element; the pitch may be specified absolutely or relative to the normal pitch for the voice-family used to read the text.
1614*/
1615voicePitch?: any;
1616
1617/**
1618* The voice-range property determines how much variation in pitch or tone will be created by the speech synthesize when reading an element. Emphasized text, grammatical structures and punctuation may all be rendered as changes in pitch, this property determines how strong or obvious those changes are; large ranges are associated with enthusiastic or emotional speech, while small ranges are associated with flat or mechanical speech.
1619*/
1620voiceRange?: any;
1621
1622/**
1623* The voice-rate property sets the speed at which the voice synthesized by a speech media agent will read content.
1624*/
1625voiceRate?: any;
1626
1627/**
1628* The voice-stress property sets the level of vocal emphasis to be used for synthesized speech reading the element.
1629*/
1630voiceStress?: any;
1631
1632/**
1633* The voice-volume property sets the volume for spoken content in speech media. It replaces the deprecated volume property.
1634*/
1635voiceVolume?: any;
1636
1637/**
1638* The white-space property controls whether and how white space inside the element is collapsed, and whether lines may wrap at unforced "soft wrap" opportunities.
1639*/
1640whiteSpace?: any;
1641
1642/**
1643* Obsolete: unsupported.
1644*/
1645whiteSpaceTreatment?: any;
1646
1647/**
1648* Specifies the width of the content area of an element. The content area of the element width does not include the padding, border, and margin of the element.
1649*/
1650width?: any;
1651
1652/**
1653* The word-break property is often used when there is long generated content that is strung together without and spaces or hyphens to beak apart. A common case of this is when there is a long URL that does not have any hyphens. This case could potentially cause the breaking of the layout as it could extend past the parent element.
1654*/
1655wordBreak?: any;
1656
1657/**
1658* The word-spacing CSS property specifies the spacing behavior between "words".
1659*/
1660wordSpacing?: any;
1661
1662/**
1663* An alias of css/properties/overflow-wrap, word-wrap defines whether to break words when the content exceeds the boundaries of its container.
1664*/
1665wordWrap?: any;
1666
1667/**
1668* Specifies how exclusions affect inline content within block-level elements. Elements lay out their inline content in their content area but wrap around exclusion areas.
1669*/
1670wrapFlow?: any;
1671
1672/**
1673* Set the value that is used to offset the inner wrap shape from other shapes. Inline content that intersects a shape with this property will be pushed by this shape's margin.
1674*/
1675wrapMargin?: any;
1676
1677/**
1678* Obsolete and unsupported. Do not use.
1679* This CSS property controls the text when it reaches the end of the block in which it is enclosed.
1680*/
1681wrapOption?: any;
1682
1683/**
1684* writing-mode specifies if lines of text are laid out horizontally or vertically, and the direction which lines of text and blocks progress.
1685*/
1686writingMode?: any;
1687
1688
1689[propertyName: string]: any;
1690}
1691
1692interface HTMLAttributes extends DOMAttributes {
1693// React-specific Attributes
1694defaultChecked?: boolean;
1695defaultValue?: string | string[];
1696
1697// Standard HTML Attributes
1698accept?: string;
1699acceptCharset?: string;
1700accessKey?: string;
1701action?: string;
1702allowFullScreen?: boolean;
1703allowTransparency?: boolean;
1704alt?: string;
1705async?: boolean;
1706autoComplete?: string;
1707autoFocus?: boolean;
1708autoPlay?: boolean;
1709capture?: boolean;
1710cellPadding?: number | string;
1711cellSpacing?: number | string;
1712charSet?: string;
1713challenge?: string;
1714checked?: boolean;
1715classID?: string;
1716className?: string;
1717cols?: number;
1718colSpan?: number;
1719content?: string;
1720contentEditable?: boolean;
1721contextMenu?: string;
1722controls?: boolean;
1723coords?: string;
1724crossOrigin?: string;
1725data?: string;
1726dateTime?: string;
1727default?: boolean;
1728defer?: boolean;
1729dir?: string;
1730disabled?: boolean;
1731download?: any;
1732draggable?: boolean;
1733encType?: string;
1734form?: string;
1735formAction?: string;
1736formEncType?: string;
1737formMethod?: string;
1738formNoValidate?: boolean;
1739formTarget?: string;
1740frameBorder?: number | string;
1741headers?: string;
1742height?: number | string;
1743hidden?: boolean;
1744high?: number;
1745href?: string;
1746hrefLang?: string;
1747htmlFor?: string;
1748httpEquiv?: string;
1749icon?: string;
1750id?: string;
1751inputMode?: string;
1752integrity?: string;
1753is?: string;
1754keyParams?: string;
1755keyType?: string;
1756kind?: string;
1757label?: string;
1758lang?: string;
1759list?: string;
1760loop?: boolean;
1761low?: number;
1762manifest?: string;
1763marginHeight?: number;
1764marginWidth?: number;
1765max?: number | string;
1766maxLength?: number;
1767media?: string;
1768mediaGroup?: string;
1769method?: string;
1770min?: number | string;
1771minLength?: number;
1772multiple?: boolean;
1773muted?: boolean;
1774name?: string;
1775noValidate?: boolean;
1776open?: boolean;
1777optimum?: number;
1778pattern?: string;
1779placeholder?: string;
1780poster?: string;
1781preload?: string;
1782radioGroup?: string;
1783readOnly?: boolean;
1784rel?: string;
1785required?: boolean;
1786role?: string;
1787rows?: number;
1788rowSpan?: number;
1789sandbox?: string;
1790scope?: string;
1791scoped?: boolean;
1792scrolling?: string;
1793seamless?: boolean;
1794selected?: boolean;
1795shape?: string;
1796size?: number;
1797sizes?: string;
1798span?: number;
1799spellCheck?: boolean;
1800src?: string;
1801srcDoc?: string;
1802srcLang?: string;
1803srcSet?: string;
1804start?: number;
1805step?: number | string;
1806style?: CSSProperties;
1807summary?: string;
1808tabIndex?: number;
1809target?: string;
1810title?: string;
1811type?: string;
1812useMap?: string;
1813value?: string | string[];
1814width?: number | string;
1815wmode?: string;
1816wrap?: string;
1817
1818// RDFa Attributes
1819about?: string;
1820datatype?: string;
1821inlist?: any;
1822prefix?: string;
1823property?: string;
1824resource?: string;
1825typeof?: string;
1826vocab?: string;
1827
1828// Non-standard Attributes
1829autoCapitalize?: string;
1830autoCorrect?: string;
1831autoSave?: string;
1832color?: string;
1833itemProp?: string;
1834itemScope?: boolean;
1835itemType?: string;
1836itemID?: string;
1837itemRef?: string;
1838results?: number;
1839security?: string;
1840unselectable?: boolean;
1841}
1842
1843interface SVGAttributes extends HTMLAttributes {
1844clipPath?: string;
1845cx?: number | string;
1846cy?: number | string;
1847d?: string;
1848dx?: number | string;
1849dy?: number | string;
1850fill?: string;
1851fillOpacity?: number | string;
1852fontFamily?: string;
1853fontSize?: number | string;
1854fx?: number | string;
1855fy?: number | string;
1856gradientTransform?: string;
1857gradientUnits?: string;
1858markerEnd?: string;
1859markerMid?: string;
1860markerStart?: string;
1861offset?: number | string;
1862opacity?: number | string;
1863patternContentUnits?: string;
1864patternUnits?: string;
1865points?: string;
1866preserveAspectRatio?: string;
1867r?: number | string;
1868rx?: number | string;
1869ry?: number | string;
1870spreadMethod?: string;
1871stopColor?: string;
1872stopOpacity?: number | string;
1873stroke?: string;
1874strokeDasharray?: string;
1875strokeLinecap?: string;
1876strokeMiterlimit?: string;
1877strokeOpacity?: number | string;
1878strokeWidth?: number | string;
1879textAnchor?: string;
1880transform?: string;
1881version?: string;
1882viewBox?: string;
1883x1?: number | string;
1884x2?: number | string;
1885x?: number | string;
1886xlinkActuate?: string;
1887xlinkArcrole?: string;
1888xlinkHref?: string;
1889xlinkRole?: string;
1890xlinkShow?: string;
1891xlinkTitle?: string;
1892xlinkType?: string;
1893xmlBase?: string;
1894xmlLang?: string;
1895xmlSpace?: string;
1896y1?: number | string;
1897y2?: number | string;
1898y?: number | string;
1899}
1900
1901//
1902// React.DOM
1903// ----------------------------------------------------------------------
1904
1905interface ReactDOM {
1906// HTML
1907a: HTMLFactory;
1908abbr: HTMLFactory;
1909address: HTMLFactory;
1910area: HTMLFactory;
1911article: HTMLFactory;
1912aside: HTMLFactory;
1913audio: HTMLFactory;
1914b: HTMLFactory;
1915base: HTMLFactory;
1916bdi: HTMLFactory;
1917bdo: HTMLFactory;
1918big: HTMLFactory;
1919blockquote: HTMLFactory;
1920body: HTMLFactory;
1921br: HTMLFactory;
1922button: HTMLFactory;
1923canvas: HTMLFactory;
1924caption: HTMLFactory;
1925cite: HTMLFactory;
1926code: HTMLFactory;
1927col: HTMLFactory;
1928colgroup: HTMLFactory;
1929data: HTMLFactory;
1930datalist: HTMLFactory;
1931dd: HTMLFactory;
1932del: HTMLFactory;
1933details: HTMLFactory;
1934dfn: HTMLFactory;
1935dialog: HTMLFactory;
1936div: HTMLFactory;
1937dl: HTMLFactory;
1938dt: HTMLFactory;
1939em: HTMLFactory;
1940embed: HTMLFactory;
1941fieldset: HTMLFactory;
1942figcaption: HTMLFactory;
1943figure: HTMLFactory;
1944footer: HTMLFactory;
1945form: HTMLFactory;
1946h1: HTMLFactory;
1947h2: HTMLFactory;
1948h3: HTMLFactory;
1949h4: HTMLFactory;
1950h5: HTMLFactory;
1951h6: HTMLFactory;
1952head: HTMLFactory;
1953header: HTMLFactory;
1954hr: HTMLFactory;
1955html: HTMLFactory;
1956i: HTMLFactory;
1957iframe: HTMLFactory;
1958img: HTMLFactory;
1959input: HTMLFactory;
1960ins: HTMLFactory;
1961kbd: HTMLFactory;
1962keygen: HTMLFactory;
1963label: HTMLFactory;
1964legend: HTMLFactory;
1965li: HTMLFactory;
1966link: HTMLFactory;
1967main: HTMLFactory;
1968map: HTMLFactory;
1969mark: HTMLFactory;
1970menu: HTMLFactory;
1971menuitem: HTMLFactory;
1972meta: HTMLFactory;
1973meter: HTMLFactory;
1974nav: HTMLFactory;
1975noscript: HTMLFactory;
1976object: HTMLFactory;
1977ol: HTMLFactory;
1978optgroup: HTMLFactory;
1979option: HTMLFactory;
1980output: HTMLFactory;
1981p: HTMLFactory;
1982param: HTMLFactory;
1983picture: HTMLFactory;
1984pre: HTMLFactory;
1985progress: HTMLFactory;
1986q: HTMLFactory;
1987rp: HTMLFactory;
1988rt: HTMLFactory;
1989ruby: HTMLFactory;
1990s: HTMLFactory;
1991samp: HTMLFactory;
1992script: HTMLFactory;
1993section: HTMLFactory;
1994select: HTMLFactory;
1995small: HTMLFactory;
1996source: HTMLFactory;
1997span: HTMLFactory;
1998strong: HTMLFactory;
1999style: HTMLFactory;
2000sub: HTMLFactory;
2001summary: HTMLFactory;
2002sup: HTMLFactory;
2003table: HTMLFactory;
2004tbody: HTMLFactory;
2005td: HTMLFactory;
2006textarea: HTMLFactory;
2007tfoot: HTMLFactory;
2008th: HTMLFactory;
2009thead: HTMLFactory;
2010time: HTMLFactory;
2011title: HTMLFactory;
2012tr: HTMLFactory;
2013track: HTMLFactory;
2014u: HTMLFactory;
2015ul: HTMLFactory;
2016"var": HTMLFactory;
2017video: HTMLFactory;
2018wbr: HTMLFactory;
2019
2020// SVG
2021svg: SVGFactory;
2022circle: SVGFactory;
2023defs: SVGFactory;
2024ellipse: SVGFactory;
2025g: SVGFactory;
2026image: SVGFactory;
2027line: SVGFactory;
2028linearGradient: SVGFactory;
2029mask: SVGFactory;
2030path: SVGFactory;
2031pattern: SVGFactory;
2032polygon: SVGFactory;
2033polyline: SVGFactory;
2034radialGradient: SVGFactory;
2035rect: SVGFactory;
2036stop: SVGFactory;
2037text: SVGFactory;
2038tspan: SVGFactory;
2039}
2040
2041//
2042// React.PropTypes
2043// ----------------------------------------------------------------------
2044
2045interface Validator<T> {
2046(object: T, key: string, componentName: string): Error;
2047}
2048
2049interface Requireable<T> extends Validator<T> {
2050isRequired: Validator<T>;
2051}
2052
2053interface ValidationMap<T> {
2054[key: string]: Validator<T>;
2055}
2056
2057interface ReactPropTypes {
2058any: Requireable<any>;
2059array: Requireable<any>;
2060bool: Requireable<any>;
2061func: Requireable<any>;
2062number: Requireable<any>;
2063object: Requireable<any>;
2064string: Requireable<any>;
2065node: Requireable<any>;
2066element: Requireable<any>;
2067instanceOf(expectedClass: {}): Requireable<any>;
2068oneOf(types: any[]): Requireable<any>;
2069oneOfType(types: Validator<any>[]): Requireable<any>;
2070arrayOf(type: Validator<any>): Requireable<any>;
2071objectOf(type: Validator<any>): Requireable<any>;
2072shape(type: ValidationMap<any>): Requireable<any>;
2073}
2074
2075//
2076// React.Children
2077// ----------------------------------------------------------------------
2078
2079interface ReactChildren {
2080map<T>(children: ReactNode, fn: (child: ReactChild, index: number) => T): T[];
2081forEach(children: ReactNode, fn: (child: ReactChild, index: number) => any): void;
2082count(children: ReactNode): number;
2083only(children: ReactNode): ReactElement<any>;
2084toArray(children: ReactNode): ReactChild[];
2085}
2086
2087//
2088// Browser Interfaces
2089// https://github.com/nikeee/2048-typescript/blob/master/2048/js/touch.d.ts
2090// ----------------------------------------------------------------------
2091
2092interface AbstractView {
2093styleMedia: StyleMedia;
2094document: Document;
2095}
2096
2097interface Touch {
2098identifier: number;
2099target: EventTarget;
2100screenX: number;
2101screenY: number;
2102clientX: number;
2103clientY: number;
2104pageX: number;
2105pageY: number;
2106}
2107
2108interface TouchList {
2109[index: number]: Touch;
2110length: number;
2111item(index: number): Touch;
2112identifiedTouch(identifier: number): Touch;
2113}
2114}
2115
2116declare module "react" {
2117export = __React;
2118}
2119
2120declare namespace JSX {
2121import React = __React;
2122
2123interface Element extends React.ReactElement<any> { }
2124interface ElementClass extends React.Component<any, any> {
2125render(): JSX.Element;
2126}
2127interface ElementAttributesProperty { props: {}; }
2128
2129interface IntrinsicAttributes {
2130key?: string | number;
2131}
2132
2133interface IntrinsicClassAttributes<T> {
2134ref?: string | ((classInstance: T) => void);
2135}
2136
2137interface IntrinsicElements {
2138// HTML
2139a: React.HTMLProps<HTMLAnchorElement>;
2140abbr: React.HTMLProps<HTMLElement>;
2141address: React.HTMLProps<HTMLElement>;
2142area: React.HTMLProps<HTMLAreaElement>;
2143article: React.HTMLProps<HTMLElement>;
2144aside: React.HTMLProps<HTMLElement>;
2145audio: React.HTMLProps<HTMLAudioElement>;
2146b: React.HTMLProps<HTMLElement>;
2147base: React.HTMLProps<HTMLBaseElement>;
2148bdi: React.HTMLProps<HTMLElement>;
2149bdo: React.HTMLProps<HTMLElement>;
2150big: React.HTMLProps<HTMLElement>;
2151blockquote: React.HTMLProps<HTMLElement>;
2152body: React.HTMLProps<HTMLBodyElement>;
2153br: React.HTMLProps<HTMLBRElement>;
2154button: React.HTMLProps<HTMLButtonElement>;
2155canvas: React.HTMLProps<HTMLCanvasElement>;
2156caption: React.HTMLProps<HTMLElement>;
2157cite: React.HTMLProps<HTMLElement>;
2158code: React.HTMLProps<HTMLElement>;
2159col: React.HTMLProps<HTMLTableColElement>;
2160colgroup: React.HTMLProps<HTMLTableColElement>;
2161data: React.HTMLProps<HTMLElement>;
2162datalist: React.HTMLProps<HTMLDataListElement>;
2163dd: React.HTMLProps<HTMLElement>;
2164del: React.HTMLProps<HTMLElement>;
2165details: React.HTMLProps<HTMLElement>;
2166dfn: React.HTMLProps<HTMLElement>;
2167dialog: React.HTMLProps<HTMLElement>;
2168div: React.HTMLProps<HTMLDivElement>;
2169dl: React.HTMLProps<HTMLDListElement>;
2170dt: React.HTMLProps<HTMLElement>;
2171em: React.HTMLProps<HTMLElement>;
2172embed: React.HTMLProps<HTMLEmbedElement>;
2173fieldset: React.HTMLProps<HTMLFieldSetElement>;
2174figcaption: React.HTMLProps<HTMLElement>;
2175figure: React.HTMLProps<HTMLElement>;
2176footer: React.HTMLProps<HTMLElement>;
2177form: React.HTMLProps<HTMLFormElement>;
2178h1: React.HTMLProps<HTMLHeadingElement>;
2179h2: React.HTMLProps<HTMLHeadingElement>;
2180h3: React.HTMLProps<HTMLHeadingElement>;
2181h4: React.HTMLProps<HTMLHeadingElement>;
2182h5: React.HTMLProps<HTMLHeadingElement>;
2183h6: React.HTMLProps<HTMLHeadingElement>;
2184head: React.HTMLProps<HTMLHeadElement>;
2185header: React.HTMLProps<HTMLElement>;
2186hr: React.HTMLProps<HTMLHRElement>;
2187html: React.HTMLProps<HTMLHtmlElement>;
2188i: React.HTMLProps<HTMLElement>;
2189iframe: React.HTMLProps<HTMLIFrameElement>;
2190img: React.HTMLProps<HTMLImageElement>;
2191input: React.HTMLProps<HTMLInputElement>;
2192ins: React.HTMLProps<HTMLModElement>;
2193kbd: React.HTMLProps<HTMLElement>;
2194keygen: React.HTMLProps<HTMLElement>;
2195label: React.HTMLProps<HTMLLabelElement>;
2196legend: React.HTMLProps<HTMLLegendElement>;
2197li: React.HTMLProps<HTMLLIElement>;
2198link: React.HTMLProps<HTMLLinkElement>;
2199main: React.HTMLProps<HTMLElement>;
2200map: React.HTMLProps<HTMLMapElement>;
2201mark: React.HTMLProps<HTMLElement>;
2202menu: React.HTMLProps<HTMLElement>;
2203menuitem: React.HTMLProps<HTMLElement>;
2204meta: React.HTMLProps<HTMLMetaElement>;
2205meter: React.HTMLProps<HTMLElement>;
2206nav: React.HTMLProps<HTMLElement>;
2207noscript: React.HTMLProps<HTMLElement>;
2208object: React.HTMLProps<HTMLObjectElement>;
2209ol: React.HTMLProps<HTMLOListElement>;
2210optgroup: React.HTMLProps<HTMLOptGroupElement>;
2211option: React.HTMLProps<HTMLOptionElement>;
2212output: React.HTMLProps<HTMLElement>;
2213p: React.HTMLProps<HTMLParagraphElement>;
2214param: React.HTMLProps<HTMLParamElement>;
2215picture: React.HTMLProps<HTMLElement>;
2216pre: React.HTMLProps<HTMLPreElement>;
2217progress: React.HTMLProps<HTMLProgressElement>;
2218q: React.HTMLProps<HTMLQuoteElement>;
2219rp: React.HTMLProps<HTMLElement>;
2220rt: React.HTMLProps<HTMLElement>;
2221ruby: React.HTMLProps<HTMLElement>;
2222s: React.HTMLProps<HTMLElement>;
2223samp: React.HTMLProps<HTMLElement>;
2224script: React.HTMLProps<HTMLElement>;
2225section: React.HTMLProps<HTMLElement>;
2226select: React.HTMLProps<HTMLSelectElement>;
2227small: React.HTMLProps<HTMLElement>;
2228source: React.HTMLProps<HTMLSourceElement>;
2229span: React.HTMLProps<HTMLSpanElement>;
2230strong: React.HTMLProps<HTMLElement>;
2231style: React.HTMLProps<HTMLStyleElement>;
2232sub: React.HTMLProps<HTMLElement>;
2233summary: React.HTMLProps<HTMLElement>;
2234sup: React.HTMLProps<HTMLElement>;
2235table: React.HTMLProps<HTMLTableElement>;
2236tbody: React.HTMLProps<HTMLTableSectionElement>;
2237td: React.HTMLProps<HTMLTableDataCellElement>;
2238textarea: React.HTMLProps<HTMLTextAreaElement>;
2239tfoot: React.HTMLProps<HTMLTableSectionElement>;
2240th: React.HTMLProps<HTMLTableHeaderCellElement>;
2241thead: React.HTMLProps<HTMLTableSectionElement>;
2242time: React.HTMLProps<HTMLElement>;
2243title: React.HTMLProps<HTMLTitleElement>;
2244tr: React.HTMLProps<HTMLTableRowElement>;
2245track: React.HTMLProps<HTMLTrackElement>;
2246u: React.HTMLProps<HTMLElement>;
2247ul: React.HTMLProps<HTMLUListElement>;
2248"var": React.HTMLProps<HTMLElement>;
2249video: React.HTMLProps<HTMLVideoElement>;
2250wbr: React.HTMLProps<HTMLElement>;
2251
2252// SVG
2253svg: React.SVGProps;
2254
2255circle: React.SVGProps;
2256clipPath: React.SVGProps;
2257defs: React.SVGProps;
2258ellipse: React.SVGProps;
2259g: React.SVGProps;
2260image: React.SVGProps;
2261line: React.SVGProps;
2262linearGradient: React.SVGProps;
2263mask: React.SVGProps;
2264path: React.SVGProps;
2265pattern: React.SVGProps;
2266polygon: React.SVGProps;
2267polyline: React.SVGProps;
2268radialGradient: React.SVGProps;
2269rect: React.SVGProps;
2270stop: React.SVGProps;
2271text: React.SVGProps;
2272tspan: React.SVGProps;
2273}
2274}