@types/react 15.0.34 → 15.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. react/README.md +2 -2
  2. react/index.d.ts +371 -148
  3. react/package.json +6 -2
react/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for React v15.0
1
+ // Type definitions for React 15.0
2
2
  // Project: http://facebook.github.io/react/
3
3
  // Definitions by: Asana <https://asana.com>
4
4
  // AssureSign <http://www.assuresign.com>
@@ -10,6 +10,7 @@
10
10
  // Eric Anderson <https://github.com/ericanderson>
11
11
  // Albert Kurniawan <https://github.com/morcerf>
12
12
  // Tanguy Krotoff <https://github.com/tkrotoff>
13
+ // Dovydas Navickas <https://github.com/DovydasNavickas>
13
14
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
14
15
  // TypeScript Version: 2.3
15
16
 
@@ -25,11 +26,11 @@ type NativeTransitionEvent = TransitionEvent;
25
26
  type NativeUIEvent = UIEvent;
26
27
  type NativeWheelEvent = WheelEvent;
27
28
 
29
+ // tslint:disable-next-line:export-just-namespace
28
30
  export = React;
29
31
  export as namespace React;
30
32
 
31
33
  declare namespace React {
32
-
33
34
  //
34
35
  // React Elements
35
36
  // ----------------------------------------------------------------------
@@ -39,6 +40,8 @@ declare namespace React {
39
40
 
40
41
  type Key = string | number;
41
42
  type Ref<T> = string | ((instance: T | null) => any);
43
+
44
+ // tslint:disable-next-line:interface-over-type-literal
42
45
  type ComponentState = {};
43
46
 
44
47
  interface Attributes {
@@ -66,47 +69,49 @@ declare namespace React {
66
69
 
67
70
  type ClassicElement<P> = CElement<P, ClassicComponent<P, ComponentState>>;
68
71
 
69
- interface DOMElement<P extends DOMAttributes<T>, T extends Element> extends ReactElement<P> {
72
+ // string fallback for custom web-components
73
+ interface DOMElement<P extends HTMLAttributes<T> | SVGAttributes<T>, T extends Element> extends ReactElement<P> {
70
74
  type: string;
71
75
  ref: Ref<T>;
72
76
  }
73
77
 
78
+ // ReactHTML for ReactHTMLElement
74
79
  interface ReactHTMLElement<T extends HTMLElement> extends DOMElement<HTMLAttributes<T>, T> {
80
+ type: keyof ReactHTML;
75
81
  }
76
82
 
83
+ // ReactSVG for ReactSVGElement
77
84
  interface ReactSVGElement extends DOMElement<SVGAttributes<SVGElement>, SVGElement> {
85
+ type: keyof ReactSVG;
78
86
  }
79
87
 
80
88
  //
81
89
  // Factories
82
90
  // ----------------------------------------------------------------------
83
91
 
84
- interface Factory<P> {
85
- (props?: Attributes & P, ...children: ReactNode[]): ReactElement<P>;
86
- }
92
+ type Factory<P> = (props?: Attributes & P, ...children: ReactNode[]) => ReactElement<P>;
87
93
 
88
- interface SFCFactory<P> {
89
- (props?: Attributes & P, ...children: ReactNode[]): SFCElement<P>;
90
- }
94
+ type SFCFactory<P> = (props?: Attributes & P, ...children: ReactNode[]) => SFCElement<P>;
91
95
 
92
- interface ComponentFactory<P, T extends Component<P, ComponentState>> {
93
- (props?: ClassAttributes<T> & P, ...children: ReactNode[]): CElement<P, T>;
94
- }
96
+ type ComponentFactory<P, T extends Component<P, ComponentState>> =
97
+ (props?: ClassAttributes<T> & P, ...children: ReactNode[]) => CElement<P, T>;
95
98
 
96
99
  type CFactory<P, T extends Component<P, ComponentState>> = ComponentFactory<P, T>;
97
100
  type ClassicFactory<P> = CFactory<P, ClassicComponent<P, ComponentState>>;
98
101
 
99
- interface DOMFactory<P extends DOMAttributes<T>, T extends Element> {
100
- (props?: ClassAttributes<T> & P | null, ...children: ReactNode[]): DOMElement<P, T>;
101
- }
102
+ type DOMFactory<P extends DOMAttributes<T>, T extends Element> =
103
+ (props?: ClassAttributes<T> & P | null, ...children: ReactNode[]) => DOMElement<P, T>;
102
104
 
103
105
  interface HTMLFactory<T extends HTMLElement> extends DOMFactory<HTMLAttributes<T>, T> {
106
+ (props?: ClassAttributes<T> & HTMLAttributes<T> | null, ...children: ReactNode[]): ReactHTMLElement<T>;
104
107
  }
105
108
 
106
109
  interface ChangeTargetHTMLFactory<T extends HTMLElement> extends DOMFactory<ChangeTargetHTMLAttributes<T>, T> {
110
+ (props?: ClassAttributes<T> & ChangeTargetHTMLAttributes<T> | null, ...children: ReactNode[]): ReactHTMLElement<T>;
107
111
  }
108
112
 
109
113
  interface SVGFactory extends DOMFactory<SVGAttributes<SVGElement>, SVGElement> {
114
+ (props?: ClassAttributes<SVGElement> & SVGAttributes<SVGElement> | null, ...children: ReactNode[]): ReactSVGElement;
110
115
  }
111
116
 
112
117
  //
@@ -127,8 +132,15 @@ declare namespace React {
127
132
 
128
133
  function createClass<P, S>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>;
129
134
 
135
+ // DOM Elements
136
+ function createFactory<T extends HTMLElement>(
137
+ type: keyof ReactHTML): HTMLFactory<T>;
138
+ function createFactory(
139
+ type: keyof ReactSVG): SVGFactory;
130
140
  function createFactory<P extends DOMAttributes<T>, T extends Element>(
131
141
  type: string): DOMFactory<P, T>;
142
+
143
+ // Custom components
132
144
  function createFactory<P>(type: SFC<P>): SFCFactory<P>;
133
145
  function createFactory<P>(
134
146
  type: ClassType<P, ClassicComponent<P, ComponentState>, ClassicComponentClass<P>>): CFactory<P, ClassicComponent<P, ComponentState>>;
@@ -136,6 +148,7 @@ declare namespace React {
136
148
  type: ClassType<P, T, C>): CFactory<P, T>;
137
149
  function createFactory<P>(type: ComponentClass<P>): Factory<P>;
138
150
 
151
+ // DOM Elements
139
152
  function createElement<P extends HTMLAttributes<T>, T extends HTMLElement>(
140
153
  type: keyof ReactHTML,
141
154
  props?: ClassAttributes<T> & P,
@@ -148,6 +161,8 @@ declare namespace React {
148
161
  type: string,
149
162
  props?: ClassAttributes<T> & P,
150
163
  ...children: ReactNode[]): DOMElement<P, T>;
164
+
165
+ // Custom components
151
166
  function createElement<P>(
152
167
  type: SFC<P>,
153
168
  props?: Attributes & P,
@@ -165,10 +180,24 @@ declare namespace React {
165
180
  props?: Attributes & P,
166
181
  ...children: ReactNode[]): ReactElement<P>;
167
182
 
183
+ // DOM Elements
184
+ // ReactHTMLElement
185
+ function cloneElement<P extends HTMLAttributes<T>, T extends HTMLElement>(
186
+ element: ReactHTMLElement<T>,
187
+ props?: P,
188
+ ...children: ReactNode[]): ReactHTMLElement<T>;
189
+ // SVGElement
190
+ function cloneElement<P extends SVGAttributes<T>, T extends SVGElement>(
191
+ element: ReactSVGElement,
192
+ props?: P,
193
+ ...children: ReactNode[]): ReactSVGElement;
194
+ // DOM Element (has to be the last, because type checking stops at first overload that fits)
168
195
  function cloneElement<P extends DOMAttributes<T>, T extends Element>(
169
196
  element: DOMElement<P, T>,
170
- props?: ClassAttributes<T> & P,
197
+ props?: DOMAttributes<T> & P,
171
198
  ...children: ReactNode[]): DOMElement<P, T>;
199
+
200
+ // Custom components
172
201
  function cloneElement<P extends Q, Q>(
173
202
  element: SFCElement<P>,
174
203
  props?: Q, // should be Q & Attributes, but then Q is inferred as {}
@@ -184,10 +213,10 @@ declare namespace React {
184
213
 
185
214
  function isValidElement<P>(object: {}): object is ReactElement<P>;
186
215
 
187
- var DOM: ReactDOM;
188
- var PropTypes: ReactPropTypes;
189
- var Children: ReactChildren;
190
- var version: string;
216
+ const DOM: ReactDOM;
217
+ const PropTypes: ReactPropTypes;
218
+ const Children: ReactChildren;
219
+ const version: string;
191
220
 
192
221
  //
193
222
  // Component API
@@ -196,11 +225,17 @@ declare namespace React {
196
225
  type ReactInstance = Component<any> | Element;
197
226
 
198
227
  // Base component for plain JS classes
228
+ // tslint:disable-next-line:no-empty-interface
199
229
  interface Component<P = {}, S = {}> extends ComponentLifecycle<P, S> { }
200
230
  class Component<P, S> {
201
231
  constructor(props?: P, context?: any);
232
+
233
+ // Disabling unified-signatures to have separate overloads. It's easier to understand this way.
234
+ // tslint:disable:unified-signatures
202
235
  setState<K extends keyof S>(f: (prevState: S, props: P) => Pick<S, K>, callback?: () => any): void;
203
236
  setState<K extends keyof S>(state: Pick<S, K>, callback?: () => any): void;
237
+ // tslint:enable:unified-signatures
238
+
204
239
  forceUpdate(callBack?: () => any): void;
205
240
  render(): JSX.Element | null | false;
206
241
 
@@ -281,7 +316,7 @@ declare namespace React {
281
316
  }
282
317
 
283
318
  interface Mixin<P, S> extends ComponentLifecycle<P, S> {
284
- mixins?: Mixin<P, S>[];
319
+ mixins?: Array<Mixin<P, S>>;
285
320
  statics?: {
286
321
  [key: string]: any;
287
322
  };
@@ -344,6 +379,7 @@ declare namespace React {
344
379
  relatedTarget: EventTarget;
345
380
  }
346
381
 
382
+ // tslint:disable-next-line:no-empty-interface
347
383
  interface FormEvent<T> extends SyntheticEvent<T> {
348
384
  }
349
385
 
@@ -433,9 +469,7 @@ declare namespace React {
433
469
  // Event Handler Types
434
470
  // ----------------------------------------------------------------------
435
471
 
436
- interface EventHandler<E extends SyntheticEvent<any>> {
437
- (event: E): void;
438
- }
472
+ type EventHandler<E extends SyntheticEvent<any>> = (event: E) => void;
439
473
 
440
474
  type ReactEventHandler<T> = EventHandler<SyntheticEvent<T>>;
441
475
 
@@ -671,7 +705,6 @@ declare namespace React {
671
705
  // This interface is not complete. Only properties accepting
672
706
  // unitless numbers are listed here (see CSSProperty.js in React)
673
707
  interface CSSProperties {
674
-
675
708
  /**
676
709
  * 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.
677
710
  */
@@ -688,7 +721,10 @@ declare namespace React {
688
721
  alignSelf?: CSSWideKeyword | "auto" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
689
722
 
690
723
  /**
691
- * 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.
724
+ * This property allows precise alignment of elements, such as graphics,
725
+ * that do not have a baseline-table or lack the desired baseline in their baseline-table.
726
+ * With the alignment-adjust property, the position of the baseline identified by the alignment-baseline
727
+ * can be explicitly determined. It also determines precisely the alignment point for each glyph within a textual element.
692
728
  */
693
729
  alignmentAdjust?: CSSWideKeyword | any;
694
730
 
@@ -747,7 +783,9 @@ declare namespace React {
747
783
 
748
784
  /**
749
785
  * This property describes how the element's background images should blend with each other and the element's background color.
750
- * 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.
786
+ * The value is a list of blend modes that corresponds to each background image. Each element in the list will apply to the
787
+ * corresponding element of background-image. If a property doesn’t have enough comma-separated values to match the number of layers,
788
+ * the UA must calculate its used value by repeating the list of values until there are enough.
751
789
  */
752
790
  backgroundBlendMode?: CSSWideKeyword | any;
753
791
 
@@ -789,7 +827,8 @@ declare namespace React {
789
827
  behavior?: CSSWideKeyword | any;
790
828
 
791
829
  /**
792
- * 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.
830
+ * Shorthand property that defines the different properties of all four sides of an element's border in a single declaration.
831
+ * It can be used to set border-width, border-style and border-color, or a subset of these.
793
832
  */
794
833
  border?: CSSWideKeyword | any;
795
834
 
@@ -820,7 +859,9 @@ declare namespace React {
820
859
  borderBottomStyle?: CSSWideKeyword | any;
821
860
 
822
861
  /**
823
- * 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.
862
+ * Sets the width of an element's bottom border. To set all four borders,
863
+ * use the border-width shorthand property which sets the values simultaneously for border-top-width,
864
+ * border-right-width, border-bottom-width, and border-left-width.
824
865
  */
825
866
  borderBottomWidth?: CSSWideKeyword | any;
826
867
 
@@ -830,69 +871,90 @@ declare namespace React {
830
871
  borderCollapse?: CSSWideKeyword | any;
831
872
 
832
873
  /**
833
- * 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:
874
+ * The CSS border-color property sets the color of an element's four borders.
875
+ * This property can have from one to four values, made up of the elementary properties:
834
876
  * • border-top-color
835
877
  * • border-right-color
836
878
  * • border-bottom-color
837
879
  * • border-left-color The default color is the currentColor of each of these values.
838
- * 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.
880
+ * If you provide one value, it sets the color for the element. Two values set the horizontal and vertical values,
881
+ * respectively. Providing three values sets the top, vertical, and bottom values, in that order.
882
+ * Four values set all for sides: top, right, bottom, and left, in that order.
839
883
  */
840
884
  borderColor?: CSSWideKeyword | any;
841
885
 
842
886
  /**
843
- * 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.
887
+ * Specifies different corner clipping effects, such as scoop (inner curves), bevel (straight cuts) or notch (cut-off rectangles).
888
+ * Works along with border-radius to specify the size of each corner effect.
844
889
  */
845
890
  borderCornerShape?: CSSWideKeyword | any;
846
891
 
847
892
  /**
848
- * 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.
893
+ * The property border-image-source is used to set the image to be used instead of the border style.
894
+ * If this is set to none the border-style is used instead.
849
895
  */
850
896
  borderImageSource?: CSSWideKeyword | any;
851
897
 
852
898
  /**
853
- * 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.
899
+ * The border-image-width CSS property defines the offset to use for dividing the border image in nine parts,
900
+ * the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge,
901
+ * bottom-left corner, and central right edge. They represent inward distance from the top, right, bottom, and left edges.
854
902
  */
855
903
  borderImageWidth?: CSSWideKeyword | any;
856
904
 
857
905
  /**
858
- * 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.
906
+ * Shorthand property that defines the border-width, border-style and border-color of an element's left border in a single declaration.
907
+ * Note that you can use the corresponding longhand properties to set specific individual properties of the left border — border-left-width,
908
+ * border-left-style and border-left-color.
859
909
  */
860
910
  borderLeft?: CSSWideKeyword | any;
861
911
 
862
912
  /**
863
- * 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.
913
+ * The CSS border-left-color property sets the color of an element's left border. This page explains the border-left-color value,
914
+ * 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.
864
915
  * Colors can be defined several ways. For more information, see Usage.
865
916
  */
866
917
  borderLeftColor?: CSSWideKeyword | any;
867
918
 
868
919
  /**
869
- * 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.
920
+ * Sets the style of an element's left border. To set all four borders, use the shorthand property, border-style.
921
+ * Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
870
922
  */
871
923
  borderLeftStyle?: CSSWideKeyword | any;
872
924
 
873
925
  /**
874
- * 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.
926
+ * Sets the width of an element's left border. To set all four borders,
927
+ * use the border-width shorthand property which sets the values simultaneously for border-top-width,
928
+ * border-right-width, border-bottom-width, and border-left-width.
875
929
  */
876
930
  borderLeftWidth?: CSSWideKeyword | any;
877
931
 
878
932
  /**
879
- * 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.
933
+ * Shorthand property that defines the border-width, border-style and border-color of an element's right border
934
+ * in a single declaration. Note that you can use the corresponding longhand properties to set specific
935
+ * individual properties of the right border — border-right-width, border-right-style and border-right-color.
880
936
  */
881
937
  borderRight?: CSSWideKeyword | any;
882
938
 
883
939
  /**
884
- * 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.
940
+ * Sets the color of an element's right border. This page explains the border-right-color value,
941
+ * but often you will find it more convenient to fix the border's right color as part of a shorthand set,
942
+ * either border-right or border-color.
885
943
  * Colors can be defined several ways. For more information, see Usage.
886
944
  */
887
945
  borderRightColor?: CSSWideKeyword | any;
888
946
 
889
947
  /**
890
- * 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.
948
+ * Sets the style of an element's right border. To set all four borders, use the shorthand property,
949
+ * border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style,
950
+ * border-bottom-style, border-left-style.
891
951
  */
892
952
  borderRightStyle?: CSSWideKeyword | any;
893
953
 
894
954
  /**
895
- * 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.
955
+ * Sets the width of an element's right border. To set all four borders,
956
+ * use the border-width shorthand property which sets the values simultaneously for border-top-width,
957
+ * border-right-width, border-bottom-width, and border-left-width.
896
958
  */
897
959
  borderRightWidth?: CSSWideKeyword | any;
898
960
 
@@ -902,17 +964,24 @@ declare namespace React {
902
964
  borderSpacing?: CSSWideKeyword | any;
903
965
 
904
966
  /**
905
- * 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.
967
+ * Sets the style of an element's four borders. This property can have from one to four values.
968
+ * With only one value, the value will be applied to all four borders;
969
+ * otherwise, this works as a shorthand property for each of border-top-style, border-right-style,
970
+ * border-bottom-style, border-left-style, where each border style may be assigned a separate value.
906
971
  */
907
972
  borderStyle?: CSSWideKeyword | any;
908
973
 
909
974
  /**
910
- * 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.
975
+ * Shorthand property that defines the border-width, border-style and border-color of an element's top border
976
+ * in a single declaration. Note that you can use the corresponding longhand properties to set specific
977
+ * individual properties of the top border — border-top-width, border-top-style and border-top-color.
911
978
  */
912
979
  borderTop?: CSSWideKeyword | any;
913
980
 
914
981
  /**
915
- * 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.
982
+ * Sets the color of an element's top border. This page explains the border-top-color value,
983
+ * but often you will find it more convenient to fix the border's top color as part of a shorthand set,
984
+ * either border-top or border-color.
916
985
  * Colors can be defined several ways. For more information, see Usage.
917
986
  */
918
987
  borderTopColor?: CSSWideKeyword | any;
@@ -928,22 +997,30 @@ declare namespace React {
928
997
  borderTopRightRadius?: CSSWideKeyword | any;
929
998
 
930
999
  /**
931
- * 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.
1000
+ * Sets the style of an element's top border. To set all four borders, use the shorthand property, border-style.
1001
+ * Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
932
1002
  */
933
1003
  borderTopStyle?: CSSWideKeyword | any;
934
1004
 
935
1005
  /**
936
- * 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.
1006
+ * Sets the width of an element's top border. To set all four borders,
1007
+ * use the border-width shorthand property which sets the values simultaneously for border-top-width,
1008
+ * border-right-width, border-bottom-width, and border-left-width.
937
1009
  */
938
1010
  borderTopWidth?: CSSWideKeyword | any;
939
1011
 
940
1012
  /**
941
- * 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.
1013
+ * Sets the width of an element's four borders. This property can have from one to four values.
1014
+ * This is a shorthand property for setting values simultaneously for border-top-width,
1015
+ * border-right-width, border-bottom-width, and border-left-width.
942
1016
  */
943
1017
  borderWidth?: CSSWideKeyword | any;
944
1018
 
945
1019
  /**
946
- * This property specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the bottom 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).
1020
+ * This property specifies how far an absolutely positioned box's bottom margin edge
1021
+ * is offset above the bottom edge of the box's containing block. For relatively positioned boxes,
1022
+ * the offset is with respect to the bottom edges of the box itself
1023
+ * (i.e., the box is given a position in the normal flow, then offset from that position according to these properties).
947
1024
  */
948
1025
  bottom?: CSSWideKeyword | any;
949
1026
 
@@ -953,7 +1030,9 @@ declare namespace React {
953
1030
  boxAlign?: CSSWideKeyword | any;
954
1031
 
955
1032
  /**
956
- * 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.
1033
+ * Breaks a box into fragments creating new borders,
1034
+ * padding and repeating backgrounds or lets it stay as a continuous box on a page break,
1035
+ * column break, or, for inline elements, at a line break.
957
1036
  */
958
1037
  boxDecorationBreak?: CSSWideKeyword | any;
959
1038
 
@@ -976,7 +1055,8 @@ declare namespace React {
976
1055
 
977
1056
  /**
978
1057
  * Do not use. This property has been replaced by flex-order.
979
- * 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.
1058
+ * Specifies the ordinal group that a child element of the object belongs to.
1059
+ * This ordinal value identifies the display order (along the axis defined by the box-orient property) for the group.
980
1060
  */
981
1061
  boxOrdinalGroup?: CSSWideKeyword | any;
982
1062
 
@@ -997,7 +1077,11 @@ declare namespace React {
997
1077
  boxShadow?: CSSWideKeyword | any;
998
1078
 
999
1079
  /**
1000
- * 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.
1080
+ * The CSS break-after property allows you to force a break on multi-column layouts.
1081
+ * More specifically, it allows you to force a break after an element.
1082
+ * It allows you to determine if a break should occur, and what type of break it should be.
1083
+ * The break-after CSS property describes how the page, column or region break behaves after the generated box.
1084
+ * If there is no generated box, the property is ignored.
1001
1085
  */
1002
1086
  breakAfter?: CSSWideKeyword | any;
1003
1087
 
@@ -1012,23 +1096,28 @@ declare namespace React {
1012
1096
  breakInside?: CSSWideKeyword | any;
1013
1097
 
1014
1098
  /**
1015
- * 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.
1099
+ * The clear CSS property specifies if an element can be positioned next to
1100
+ * or must be positioned below the floating elements that precede it in the markup.
1016
1101
  */
1017
1102
  clear?: CSSWideKeyword | any;
1018
1103
 
1019
1104
  /**
1020
1105
  * Deprecated; see clip-path.
1021
- * Lets you specify the dimensions of an absolutely positioned element that should be visible, and the element is clipped into this shape, and displayed.
1106
+ * Lets you specify the dimensions of an absolutely positioned element that should be visible,
1107
+ * and the element is clipped into this shape, and displayed.
1022
1108
  */
1023
1109
  clip?: CSSWideKeyword | any;
1024
1110
 
1025
1111
  /**
1026
- * 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.
1112
+ * Clipping crops an graphic, so that only a portion of the graphic is rendered, or filled.
1113
+ * This clip-rule property, when used with the clip-path property, defines which clip rule, or algorithm,
1114
+ * to use when filling the different parts of a graphics.
1027
1115
  */
1028
1116
  clipRule?: CSSWideKeyword | any;
1029
1117
 
1030
1118
  /**
1031
- * 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).
1119
+ * The color property sets the color of an element's foreground content (usually text),
1120
+ * accepting any standard CSS color from keywords and hex values to RGB(a) and HSL(a).
1032
1121
  */
1033
1122
  color?: CSSWideKeyword | any;
1034
1123
 
@@ -1064,7 +1153,8 @@ declare namespace React {
1064
1153
  columnRuleWidth?: CSSWideKeyword | any;
1065
1154
 
1066
1155
  /**
1067
- * 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.
1156
+ * The column-span CSS property makes it possible for an element to span across all columns when its value is set to all.
1157
+ * An element that spans more than one column is called a spanning element.
1068
1158
  */
1069
1159
  columnSpan?: CSSWideKeyword | any;
1070
1160
 
@@ -1079,22 +1169,31 @@ declare namespace React {
1079
1169
  columns?: CSSWideKeyword | any;
1080
1170
 
1081
1171
  /**
1082
- * 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).
1172
+ * The counter-increment property accepts one or more names of counters (identifiers),
1173
+ * each one optionally followed by an integer which specifies the value by which the counter should be incremented
1174
+ * (e.g. if the value is 2, the counter increases by 2 each time it is invoked).
1083
1175
  */
1084
1176
  counterIncrement?: CSSWideKeyword | any;
1085
1177
 
1086
1178
  /**
1087
- * 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.
1179
+ * The counter-reset property contains a list of one or more names of counters,
1180
+ * each one optionally followed by an integer (otherwise, the integer defaults to 0.).
1181
+ * Each time the given element is invoked, the counters specified by the property are set to the given integer.
1088
1182
  */
1089
1183
  counterReset?: CSSWideKeyword | any;
1090
1184
 
1091
1185
  /**
1092
- * 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.
1186
+ * The cue property specifies sound files (known as an "auditory icon") to be played by speech media agents
1187
+ * before and after presenting an element's content; if only one file is specified, it is played both before and after.
1188
+ * The volume at which the file(s) should be played, relative to the volume of the main element, may also be specified.
1189
+ * The icon files may also be set separately with the cue-before and cue-after properties.
1093
1190
  */
1094
1191
  cue?: CSSWideKeyword | any;
1095
1192
 
1096
1193
  /**
1097
- * 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.
1194
+ * The cue-after property specifies a sound file (known as an "auditory icon") to be played by speech media agents
1195
+ * after presenting an element's content; the volume at which the file should be played may also be specified.
1196
+ * The shorthand property cue sets cue sounds for both before and after the element is presented.
1098
1197
  */
1099
1198
  cueAfter?: CSSWideKeyword | any;
1100
1199
 
@@ -1114,7 +1213,11 @@ declare namespace React {
1114
1213
  display?: CSSWideKeyword | any;
1115
1214
 
1116
1215
  /**
1117
- * 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.
1216
+ * The ‘fill’ property paints the interior of the given graphical element.
1217
+ * The area to be painted consists of any areas inside the outline of the shape.
1218
+ * To determine the inside of the shape, all subpaths are considered,
1219
+ * and the interior is determined according to the rules associated with the current value of the ‘fill-rule’ property.
1220
+ * The zero-width geometric outline of a shape is included in the area to be painted.
1118
1221
  */
1119
1222
  fill?: CSSWideKeyword | any;
1120
1223
 
@@ -1125,7 +1228,10 @@ declare namespace React {
1125
1228
  fillOpacity?: CSSWideKeyword | number;
1126
1229
 
1127
1230
  /**
1128
- * 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.
1231
+ * The ‘fill-rule’ property indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.
1232
+ * For a simple, non-intersecting path, it is intuitively clear what region lies "inside";
1233
+ * however, for a more complex path, such as a path that intersects itself or where one subpath encloses another,
1234
+ * the interpretation of "inside" is not so obvious.
1129
1235
  * The ‘fill-rule’ property provides two options for how the inside of a shape is determined:
1130
1236
  */
1131
1237
  fillRule?: CSSWideKeyword | any;
@@ -1147,7 +1253,8 @@ declare namespace React {
1147
1253
  flexAlign?: CSSWideKeyword | any;
1148
1254
 
1149
1255
  /**
1150
- * 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).
1256
+ * The flex-basis CSS property describes the initial main size of the flex item
1257
+ * before any free space is distributed according to the flex factors described in the flex property (flex-grow and flex-shrink).
1151
1258
  */
1152
1259
  flexBasis?: CSSWideKeyword | any;
1153
1260
 
@@ -1191,13 +1298,17 @@ declare namespace React {
1191
1298
  flexShrink?: CSSWideKeyword | number;
1192
1299
 
1193
1300
  /**
1194
- * Specifies whether flex items are forced into a single line or can be wrapped onto multiple lines. If wrapping is allowed, this property also enables you to control the direction in which lines are stacked.
1301
+ * Specifies whether flex items are forced into a single line or can be wrapped onto multiple lines.
1302
+ * If wrapping is allowed, this property also enables you to control the direction in which lines are stacked.
1195
1303
  * See CSS flex-wrap property https://drafts.csswg.org/css-flexbox-1/#flex-wrap-property
1196
1304
  */
1197
1305
  flexWrap?: CSSWideKeyword | "nowrap" | "wrap" | "wrap-reverse";
1198
1306
 
1199
1307
  /**
1200
- * 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.
1308
+ * Elements which have the style float are floated horizontally.
1309
+ * These elements can move as far to the left or right of the containing element.
1310
+ * All elements after the floating element will flow around it, but elements before the floating element are not impacted.
1311
+ * If several floating elements are placed after each other, they will float next to each other as long as there is room.
1201
1312
  */
1202
1313
  float?: CSSWideKeyword | any;
1203
1314
 
@@ -1207,17 +1318,20 @@ declare namespace React {
1207
1318
  flowFrom?: CSSWideKeyword | any;
1208
1319
 
1209
1320
  /**
1210
- * 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.
1321
+ * 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,
1322
+ * or you can set one of a choice of keywords to adopt a system font setting.
1211
1323
  */
1212
1324
  font?: CSSWideKeyword | any;
1213
1325
 
1214
1326
  /**
1215
- * 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.
1327
+ * 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.
1328
+ * 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.
1216
1329
  */
1217
1330
  fontFamily?: CSSWideKeyword | any;
1218
1331
 
1219
1332
  /**
1220
- * 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.
1333
+ * The font-kerning property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text.
1334
+ * This property controls <bold>metric kerning</bold> - that utilizes adjustment data contained in the font. Optical Kerning is not supported as yet.
1221
1335
  */
1222
1336
  fontKerning?: CSSWideKeyword | any;
1223
1337
 
@@ -1226,12 +1340,14 @@ declare namespace React {
1226
1340
  * See CSS 3 font-size property https://www.w3.org/TR/css-fonts-3/#propdef-font-size
1227
1341
  */
1228
1342
  fontSize?: CSSWideKeyword |
1229
- "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" |
1230
- "larger" | "smaller" |
1231
- CSSLength | CSSPercentage;
1343
+ "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" |
1344
+ "larger" | "smaller" |
1345
+ CSSLength | CSSPercentage;
1232
1346
 
1233
1347
  /**
1234
- * 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.
1348
+ * The font-size-adjust property adjusts the font-size of the fallback fonts defined with font-family,
1349
+ * so that the x-height is the same no matter what font is used.
1350
+ * This preserves the readability of the text when fallback happens.
1235
1351
  * See CSS 3 font-size-adjust property https://www.w3.org/TR/css-fonts-3/#propdef-font-size-adjust
1236
1352
  */
1237
1353
  fontSizeAdjust?: CSSWideKeyword | "none" | number;
@@ -1241,11 +1357,13 @@ declare namespace React {
1241
1357
  * See CSS 3 font-stretch property https://drafts.csswg.org/css-fonts-3/#propdef-font-stretch
1242
1358
  */
1243
1359
  fontStretch?: CSSWideKeyword |
1244
- "normal" | "ultra-condensed" | "extra-condensed" | "condensed" | "semi-condensed" |
1245
- "semi-expanded" | "expanded" | "extra-expanded" | "ultra-expanded";
1360
+ "normal" | "ultra-condensed" | "extra-condensed" | "condensed" | "semi-condensed" |
1361
+ "semi-expanded" | "expanded" | "extra-expanded" | "ultra-expanded";
1246
1362
 
1247
1363
  /**
1248
- * 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.
1364
+ * The font-style property allows normal, italic, or oblique faces to be selected.
1365
+ * Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.
1366
+ * Oblique faces can be simulated by artificially sloping the glyphs of the regular face.
1249
1367
  * See CSS 3 font-style property https://www.w3.org/TR/css-fonts-3/#propdef-font-style
1250
1368
  */
1251
1369
  fontStyle?: CSSWideKeyword | "normal" | "italic" | "oblique";
@@ -1282,12 +1400,15 @@ declare namespace React {
1282
1400
  gridColumn?: CSSWideKeyword | any;
1283
1401
 
1284
1402
  /**
1285
- * 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.
1403
+ * Controls a grid item's placement in a grid area as well as grid position and a grid span.
1404
+ * 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.
1286
1405
  */
1287
1406
  gridColumnEnd?: CSSWideKeyword | any;
1288
1407
 
1289
1408
  /**
1290
- * 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)
1409
+ * Determines a grid item's placement by specifying the starting grid lines of a grid item's grid area.
1410
+ * A grid item's placement in a grid area consists of a grid position and a grid span.
1411
+ * See also ( grid-row-start, grid-row-end, and grid-column-end)
1291
1412
  */
1292
1413
  gridColumnStart?: CSSWideKeyword | any;
1293
1414
 
@@ -1297,7 +1418,8 @@ declare namespace React {
1297
1418
  gridRow?: CSSWideKeyword | any;
1298
1419
 
1299
1420
  /**
1300
- * 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.
1421
+ * 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.
1422
+ * 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.
1301
1423
  */
1302
1424
  gridRowEnd?: CSSWideKeyword | any;
1303
1425
 
@@ -1310,17 +1432,22 @@ declare namespace React {
1310
1432
  gridRowSpan?: CSSWideKeyword | any;
1311
1433
 
1312
1434
  /**
1313
- * 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.
1435
+ * Specifies named grid areas which are not associated with any particular grid item, but can be referenced from the grid-placement properties.
1436
+ * 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.
1314
1437
  */
1315
1438
  gridTemplateAreas?: CSSWideKeyword | any;
1316
1439
 
1317
1440
  /**
1318
- * 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.
1441
+ * Specifies (with grid-template-rows) the line names and track sizing functions of the grid.
1442
+ * Each sizing function can be specified as a length, a percentage of the grid container’s size,
1443
+ * a measurement of the contents occupying the column or row, or a fraction of the free space in the grid.
1319
1444
  */
1320
1445
  gridTemplateColumns?: CSSWideKeyword | any;
1321
1446
 
1322
1447
  /**
1323
- * 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.
1448
+ * Specifies (with grid-template-columns) the line names and track sizing functions of the grid.
1449
+ * Each sizing function can be specified as a length, a percentage of the grid container’s size,
1450
+ * a measurement of the contents occupying the column or row, or a fraction of the free space in the grid.
1324
1451
  */
1325
1452
  gridTemplateRows?: CSSWideKeyword | any;
1326
1453
 
@@ -1340,7 +1467,8 @@ declare namespace React {
1340
1467
  hyphenateLimitLines?: CSSWideKeyword | any;
1341
1468
 
1342
1469
  /**
1343
- * 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.
1470
+ * Specifies the maximum amount of trailing whitespace (before justification) that may be left in a line before hyphenation is triggered
1471
+ * to pull part of a word from the next line back up into the current one.
1344
1472
  */
1345
1473
  hyphenateLimitZone?: CSSWideKeyword | any;
1346
1474
 
@@ -1397,7 +1525,9 @@ declare namespace React {
1397
1525
  listStyle?: CSSWideKeyword | any;
1398
1526
 
1399
1527
  /**
1400
- * 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
1528
+ * This property sets the image that will be used as the list item marker. When the image is available,
1529
+ * it will replace the marker set with the 'list-style-type' marker. That also means that if the image is not available,
1530
+ * it will show the style specified by list-style-property
1401
1531
  */
1402
1532
  listStyleImage?: CSSWideKeyword | any;
1403
1533
 
@@ -1412,7 +1542,9 @@ declare namespace React {
1412
1542
  listStyleType?: CSSWideKeyword | any;
1413
1543
 
1414
1544
  /**
1415
- * 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.
1545
+ * The margin property is shorthand to allow you to set all four margins of an element at once.
1546
+ * Its equivalent longhand properties are margin-top, margin-right, margin-bottom and margin-left.
1547
+ * Negative values are also allowed.
1416
1548
  */
1417
1549
  margin?: CSSWideKeyword | any;
1418
1550
 
@@ -1447,22 +1579,29 @@ declare namespace React {
1447
1579
  marqueeStyle?: CSSWideKeyword | any;
1448
1580
 
1449
1581
  /**
1450
- * 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.
1582
+ * This property is shorthand for setting mask-image, mask-mode, mask-repeat, mask-position, mask-clip, mask-origin, mask-composite and mask-size.
1583
+ * Omitted values are set to their original properties' initial values.
1451
1584
  */
1452
1585
  mask?: CSSWideKeyword | any;
1453
1586
 
1454
1587
  /**
1455
- * 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.
1588
+ * This property is shorthand for setting mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, and mask-border-repeat.
1589
+ * Omitted values are set to their original properties' initial values.
1456
1590
  */
1457
1591
  maskBorder?: CSSWideKeyword | any;
1458
1592
 
1459
1593
  /**
1460
- * 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.
1594
+ * This property specifies how the images for the sides and the middle part of the mask image are scaled and tiled.
1595
+ * The first keyword applies to the horizontal sides, the second one applies to the vertical ones.
1596
+ * If the second keyword is absent, it is assumed to be the same as the first, similar to the CSS border-image-repeat property.
1461
1597
  */
1462
1598
  maskBorderRepeat?: CSSWideKeyword | any;
1463
1599
 
1464
1600
  /**
1465
- * 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.
1601
+ * This property specifies inward offsets from the top, right, bottom, and left edges of the mask image,
1602
+ * dividing it into nine regions: four corners, four edges, and a middle.
1603
+ * The middle image part is discarded and treated as fully transparent black unless the fill keyword is present.
1604
+ * The four values set the top, right, bottom and left offsets in that order, similar to the CSS border-image-slice property.
1466
1605
  */
1467
1606
  maskBorderSlice?: CSSWideKeyword | any;
1468
1607
 
@@ -1477,22 +1616,28 @@ declare namespace React {
1477
1616
  maskBorderWidth?: CSSWideKeyword | any;
1478
1617
 
1479
1618
  /**
1480
- * 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.
1619
+ * Determines the mask painting area, which defines the area that is affected by the mask.
1620
+ * The painted content of an element may be restricted to this area.
1481
1621
  */
1482
1622
  maskClip?: CSSWideKeyword | any;
1483
1623
 
1484
1624
  /**
1485
- * 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).
1625
+ * For elements rendered as a single box, specifies the mask positioning area.
1626
+ * For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages)
1627
+ * specifies which boxes box-decoration-break operates on to determine the mask positioning area(s).
1486
1628
  */
1487
1629
  maskOrigin?: CSSWideKeyword | any;
1488
1630
 
1489
1631
  /**
1490
- * 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.
1632
+ * This property must not be used. It is no longer included in any standard or standard track specification,
1633
+ * nor is it implemented in any browser. It is only used when the text-align-last property is set to size.
1634
+ * It controls allowed adjustments of font-size to fit line content.
1491
1635
  */
1492
1636
  maxFontSize?: CSSWideKeyword | any;
1493
1637
 
1494
1638
  /**
1495
- * 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.
1639
+ * Sets the maximum height for an element. It prevents the height of the element to exceed the specified value.
1640
+ * If min-height is specified and is greater than max-height, max-height is overridden.
1496
1641
  */
1497
1642
  maxHeight?: CSSWideKeyword | any;
1498
1643
 
@@ -1502,7 +1647,8 @@ declare namespace React {
1502
1647
  maxWidth?: CSSWideKeyword | any;
1503
1648
 
1504
1649
  /**
1505
- * 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.
1650
+ * Sets the minimum height for an element. It prevents the height of the element to be smaller than the specified value.
1651
+ * The value of min-height overrides both max-height and height.
1506
1652
  */
1507
1653
  minHeight?: CSSWideKeyword | any;
1508
1654
 
@@ -1532,10 +1678,13 @@ declare namespace React {
1532
1678
  orphans?: CSSWideKeyword | number;
1533
1679
 
1534
1680
  /**
1535
- * 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.
1681
+ * The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style,
1682
+ * outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.
1536
1683
  * Outlines differ from borders in the following ways:
1537
1684
  * • Outlines do not take up space, they are drawn above the content.
1538
- * • 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.
1685
+ * • Outlines may be non-rectangular. They are rectangular in Gecko/Firefox.
1686
+ * Internet Explorer attempts to place the smallest contiguous outline around all elements or shapes that are indicated to have an outline.
1687
+ * Opera draws a non-rectangular shape around a construct.
1539
1688
  */
1540
1689
  outline?: CSSWideKeyword | any;
1541
1690
 
@@ -1550,7 +1699,8 @@ declare namespace React {
1550
1699
  outlineOffset?: CSSWideKeyword | any;
1551
1700
 
1552
1701
  /**
1553
- * 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.
1702
+ * The overflow property controls how extra content exceeding the bounding box of an element is rendered.
1703
+ * It can be used in conjunction with an element that has a fixed width and height, to eliminate text-induced page distortion.
1554
1704
  */
1555
1705
  overflow?: CSSWideKeyword | "auto" | "hidden" | "scroll" | "visible";
1556
1706
 
@@ -1570,72 +1720,99 @@ declare namespace React {
1570
1720
  overflowY?: CSSWideKeyword | "auto" | "hidden" | "scroll" | "visible";
1571
1721
 
1572
1722
  /**
1573
- * 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.
1723
+ * The padding optional CSS property sets the required padding space on one to four sides of an element.
1724
+ * The padding area is the space between an element and its border. Negative values are not allowed but decimal values are permitted.
1725
+ * The element size is treated as fixed, and the content of the element shifts toward the center as padding is increased.
1574
1726
  * The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left).
1575
1727
  */
1576
1728
  padding?: CSSWideKeyword | any;
1577
1729
 
1578
1730
  /**
1579
- * 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.
1731
+ * The padding-bottom CSS property of an element sets the padding space required on the bottom of an element.
1732
+ * The padding area is the space between the content of the element and its border.
1733
+ * Contrary to margin-bottom values, negative values of padding-bottom are invalid.
1580
1734
  */
1581
1735
  paddingBottom?: CSSWideKeyword | any;
1582
1736
 
1583
1737
  /**
1584
- * 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.
1738
+ * The padding-left CSS property of an element sets the padding space required on the left side of an element.
1739
+ * The padding area is the space between the content of the element and its border.
1740
+ * Contrary to margin-left values, negative values of padding-left are invalid.
1585
1741
  */
1586
1742
  paddingLeft?: CSSWideKeyword | any;
1587
1743
 
1588
1744
  /**
1589
- * 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.
1745
+ * The padding-right CSS property of an element sets the padding space required on the right side of an element.
1746
+ * The padding area is the space between the content of the element and its border.
1747
+ * Contrary to margin-right values, negative values of padding-right are invalid.
1590
1748
  */
1591
1749
  paddingRight?: CSSWideKeyword | any;
1592
1750
 
1593
1751
  /**
1594
- * 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.
1752
+ * The padding-top CSS property of an element sets the padding space required on the top of an element.
1753
+ * The padding area is the space between the content of the element and its border.
1754
+ * Contrary to margin-top values, negative values of padding-top are invalid.
1595
1755
  */
1596
1756
  paddingTop?: CSSWideKeyword | any;
1597
1757
 
1598
1758
  /**
1599
- * 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.
1759
+ * The page-break-after property is supported in all major browsers. With CSS3, page-break-* properties are only aliases of the break-* properties.
1760
+ * The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
1600
1761
  */
1601
1762
  pageBreakAfter?: CSSWideKeyword | any;
1602
1763
 
1603
1764
  /**
1604
- * 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.
1765
+ * The page-break-before property sets the page-breaking behavior before an element.
1766
+ * With CSS3, page-break-* properties are only aliases of the break-* properties.
1767
+ * The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
1605
1768
  */
1606
1769
  pageBreakBefore?: CSSWideKeyword | any;
1607
1770
 
1608
1771
  /**
1609
- * 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.
1772
+ * Sets the page-breaking behavior inside an element. With CSS3, page-break-* properties are only aliases of the break-* properties.
1773
+ * The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation.
1610
1774
  */
1611
1775
  pageBreakInside?: CSSWideKeyword | any;
1612
1776
 
1613
1777
  /**
1614
- * 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.
1778
+ * The pause property determines how long a speech media agent should pause before and after presenting an element.
1779
+ * It is a shorthand for the pause-before and pause-after properties.
1615
1780
  */
1616
1781
  pause?: CSSWideKeyword | any;
1617
1782
 
1618
1783
  /**
1619
- * 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.
1784
+ * The pause-after property determines how long a speech media agent should pause after presenting an element.
1785
+ * It may be replaced by the shorthand property pause, which sets pause time before and after.
1620
1786
  */
1621
1787
  pauseAfter?: CSSWideKeyword | any;
1622
1788
 
1623
1789
  /**
1624
- * 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.
1790
+ * The pause-before property determines how long a speech media agent should pause before presenting an element.
1791
+ * It may be replaced by the shorthand property pause, which sets pause time before and after.
1625
1792
  */
1626
1793
  pauseBefore?: CSSWideKeyword | any;
1627
1794
 
1628
1795
  /**
1629
1796
  * The perspective property defines how far an element is placed from the view on the z-axis, from the screen to the viewer.
1630
- * 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.)
1631
- * 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.
1797
+ * 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.
1798
+ * (See Wikipedia for more information about graphical perspective and for related illustrations.)
1799
+ * The illusion of perspective on a flat surface, such as a computer screen,
1800
+ * is created by projecting points on the flat surface as they would appear if the flat surface were a window
1801
+ * through which the viewer was looking at the object. In discussion of virtual environments, this flat surface is called a projection plane.
1632
1802
  */
1633
1803
  perspective?: CSSWideKeyword | any;
1634
1804
 
1635
1805
  /**
1636
- * 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.
1637
- * 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.
1638
- * 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.
1806
+ * The perspective-origin property establishes the origin for the perspective property.
1807
+ * It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.
1808
+ * When used with perspective, perspective-origin changes the appearance of an object,
1809
+ * as if a viewer were looking at it from a different origin.
1810
+ * An object appears differently if a viewer is looking directly at it versus looking at it from below, above, or from the side.
1811
+ * Thus, the perspective-origin is like a vanishing point.
1812
+ * The default value of perspective-origin is 50% 50%.
1813
+ * 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.
1814
+ * A value of 0% 0% changes the object as if the viewer was looking toward the top left angle.
1815
+ * A value of 100% 100% changes the appearance as if viewed toward the bottom right angle.
1639
1816
  */
1640
1817
  perspectiveOrigin?: CSSWideKeyword | any;
1641
1818
 
@@ -1645,13 +1822,15 @@ declare namespace React {
1645
1822
  pointerEvents?: CSSWideKeyword | any;
1646
1823
 
1647
1824
  /**
1648
- * 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.
1825
+ * The position property controls the type of positioning used by an element within its parent elements.
1826
+ * The effect of the position property depends on a lot of factors, for example the position property of parent elements.
1649
1827
  */
1650
1828
  position?: CSSWideKeyword | "static" | "relative" | "absolute" | "fixed" | "sticky";
1651
1829
 
1652
1830
  /**
1653
1831
  * Obsolete: unsupported.
1654
- * 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.
1832
+ * This property determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line,
1833
+ * so that its "ink" lines up with the first glyph in the line above and below.
1655
1834
  */
1656
1835
  punctuationTrim?: CSSWideKeyword | any;
1657
1836
 
@@ -1661,17 +1840,20 @@ declare namespace React {
1661
1840
  quotes?: CSSWideKeyword | any;
1662
1841
 
1663
1842
  /**
1664
- * 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.
1843
+ * Controls whether the last region in a chain displays additional 'overset' content according its default overflow property,
1844
+ * or if it displays a fragment of content as if it were flowing into a subsequent region.
1665
1845
  */
1666
1846
  regionFragment?: CSSWideKeyword | any;
1667
1847
 
1668
1848
  /**
1669
- * 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.
1849
+ * The rest-after property determines how long a speech media agent should pause after presenting an element's main content,
1850
+ * before presenting that element's exit cue sound. It may be replaced by the shorthand property rest, which sets rest time before and after.
1670
1851
  */
1671
1852
  restAfter?: CSSWideKeyword | any;
1672
1853
 
1673
1854
  /**
1674
- * 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.
1855
+ * The rest-before property determines how long a speech media agent should pause after presenting an intro cue sound for an element,
1856
+ * before presenting that element's main content. It may be replaced by the shorthand property rest, which sets rest time before and after.
1675
1857
  */
1676
1858
  restBefore?: CSSWideKeyword | any;
1677
1859
 
@@ -1685,22 +1867,29 @@ declare namespace React {
1685
1867
  rubyPosition?: CSSWideKeyword | any;
1686
1868
 
1687
1869
  /**
1688
- * 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.
1870
+ * Defines the alpha channel threshold used to extract a shape from an image. Can be thought of as a "minimum opacity" threshold;
1871
+ * that is, a value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.
1689
1872
  */
1690
1873
  shapeImageThreshold?: CSSWideKeyword | any;
1691
1874
 
1692
1875
  /**
1693
- * 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>
1876
+ * A future level of CSS Shapes will define a shape-inside property, which will define a shape to wrap content within the element.
1877
+ * 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>
1694
1878
  */
1695
1879
  shapeInside?: CSSWideKeyword | any;
1696
1880
 
1697
1881
  /**
1698
- * 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.
1882
+ * Adds a margin to a shape-outside. In effect, defines a new shape that is the smallest contour around all the points
1883
+ * that are the shape-margin distance outward perpendicular to each point on the underlying shape.
1884
+ * For points where a perpendicular direction is not defined (e.g., a triangle corner),
1885
+ * takes all points on a circle centered at the point and with a radius of the shape-margin distance.
1886
+ * This property accepts only non-negative values.
1699
1887
  */
1700
1888
  shapeMargin?: CSSWideKeyword | any;
1701
1889
 
1702
1890
  /**
1703
- * 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.
1891
+ * Declares a shape around which text should be wrapped, with possible modifications from the shape-margin property.
1892
+ * The shape defined by shape-outside and shape-margin changes the geometry of a float element's float area.
1704
1893
  */
1705
1894
  shapeOutside?: CSSWideKeyword | any;
1706
1895
 
@@ -1710,7 +1899,8 @@ declare namespace React {
1710
1899
  speak?: CSSWideKeyword | any;
1711
1900
 
1712
1901
  /**
1713
- * 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.
1902
+ * The speak-as property determines how the speech synthesizer interprets the content: words as whole words or as a sequence of letters,
1903
+ * numbers as a numerical value or a sequence of digits, punctuation as pauses in speech or named punctuation characters.
1714
1904
  */
1715
1905
  speakAs?: CSSWideKeyword | any;
1716
1906
 
@@ -1737,7 +1927,8 @@ declare namespace React {
1737
1927
  tableLayout?: CSSWideKeyword | any;
1738
1928
 
1739
1929
  /**
1740
- * 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.
1930
+ * The text-align CSS property describes how inline content like text is aligned in its parent block element.
1931
+ * text-align does not control the alignment of block elements itself, only their inline content.
1741
1932
  */
1742
1933
  textAlign?: CSSWideKeyword | any;
1743
1934
 
@@ -1774,14 +1965,17 @@ declare namespace React {
1774
1965
  textDecorationSkip?: CSSWideKeyword | any;
1775
1966
 
1776
1967
  /**
1777
- * 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.
1968
+ * This property specifies the style of the text decoration line drawn on the specified element.
1969
+ * The intended meaning for the values are the same as those of the border-style-properties.
1778
1970
  */
1779
1971
  textDecorationStyle?: CSSWideKeyword | any;
1780
1972
 
1781
1973
  textDecorationUnderline?: CSSWideKeyword | any;
1782
1974
 
1783
1975
  /**
1784
- * 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.
1976
+ * The text-emphasis property will apply special emphasis marks to the elements text.
1977
+ * Slightly similar to the text-decoration property only that this property can have affect on the line-height.
1978
+ * It also is noted that this is shorthand for text-emphasis-style and for text-emphasis-color.
1785
1979
  */
1786
1980
  textEmphasis?: CSSWideKeyword | any;
1787
1981
 
@@ -1796,12 +1990,16 @@ declare namespace React {
1796
1990
  textEmphasisStyle?: CSSWideKeyword | any;
1797
1991
 
1798
1992
  /**
1799
- * 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.
1993
+ * This property helps determine an inline box's block-progression dimension,
1994
+ * derived from the text-height and font-size properties for non-replaced elements,
1995
+ * the height or the width for replaced elements, and the stacked block-progression dimension for inline-block elements.
1996
+ * The block-progression dimension determines the position of the padding, border and margin for the element.
1800
1997
  */
1801
1998
  textHeight?: CSSWideKeyword | any;
1802
1999
 
1803
2000
  /**
1804
- * 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.
2001
+ * Specifies the amount of space horizontally that should be left on the first line of the text of an element.
2002
+ * This horizontal spacing is at the beginning of the first line and is in respect to the left edge of the containing block box.
1805
2003
  */
1806
2004
  textIndent?: CSSWideKeyword | any;
1807
2005
 
@@ -1810,7 +2008,8 @@ declare namespace React {
1810
2008
  textKashidaSpace?: CSSWideKeyword | any;
1811
2009
 
1812
2010
  /**
1813
- * 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.)
2011
+ * The text-line-through property is a shorthand property for text-line-through-style, text-line-through-color and text-line-through-mode.
2012
+ * (Considered obsolete; use text-decoration instead.)
1814
2013
  */
1815
2014
  textLineThrough?: CSSWideKeyword | any;
1816
2015
 
@@ -1838,7 +2037,9 @@ declare namespace React {
1838
2037
  textLineThroughWidth?: CSSWideKeyword | any;
1839
2038
 
1840
2039
  /**
1841
- * 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
2040
+ * The text-overflow shorthand CSS property determines how overflowed content that is not displayed is signaled to the users.
2041
+ * It can be clipped, display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string.
2042
+ * It covers the two long-hand properties text-overflow-mode and text-overflow-ellipsis
1842
2043
  */
1843
2044
  textOverflow?: CSSWideKeyword | any;
1844
2045
 
@@ -1868,7 +2069,8 @@ declare namespace React {
1868
2069
  textOverlineWidth?: CSSWideKeyword | any;
1869
2070
 
1870
2071
  /**
1871
- * The text-rendering CSS property provides information to the browser about how to optimize when rendering text. Options are: legibility, speed or geometric precision.
2072
+ * The text-rendering CSS property provides information to the browser about how to optimize when rendering text.
2073
+ * Options are: legibility, speed or geometric precision.
1872
2074
  */
1873
2075
  textRendering?: CSSWideKeyword | any;
1874
2076
 
@@ -1878,7 +2080,8 @@ declare namespace React {
1878
2080
  textScript?: CSSWideKeyword | any;
1879
2081
 
1880
2082
  /**
1881
- * 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.
2083
+ * The CSS text-shadow property applies one or more drop shadows to the text and <text-decorations> of an element.
2084
+ * Each shadow is specified as an offset from the text, along with optional color and blur radius values.
1882
2085
  */
1883
2086
  textShadow?: CSSWideKeyword | any;
1884
2087
 
@@ -1900,7 +2103,9 @@ declare namespace React {
1900
2103
  textUnderlineStyle?: CSSWideKeyword | any;
1901
2104
 
1902
2105
  /**
1903
- * 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).
2106
+ * 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.
2107
+ * 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,
2108
+ * then offset from that position according to these properties).
1904
2109
  */
1905
2110
  top?: CSSWideKeyword | any;
1906
2111
 
@@ -1910,7 +2115,8 @@ declare namespace React {
1910
2115
  touchAction?: CSSWideKeyword | any;
1911
2116
 
1912
2117
  /**
1913
- * 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.
2118
+ * CSS transforms allow elements styled with CSS to be transformed in two-dimensional or three-dimensional space.
2119
+ * Using this property, elements can be translated, rotated, scaled, and skewed. The value list may consist of 2D and/or 3D transform values.
1914
2120
  */
1915
2121
  transform?: CSSWideKeyword | any;
1916
2122
 
@@ -1930,12 +2136,14 @@ declare namespace React {
1930
2136
  transformStyle?: CSSWideKeyword | any;
1931
2137
 
1932
2138
  /**
1933
- * 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.
2139
+ * The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function,
2140
+ * and transition-delay. It allows to define the transition between two states of an element.
1934
2141
  */
1935
2142
  transition?: CSSWideKeyword | any;
1936
2143
 
1937
2144
  /**
1938
- * 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.
2145
+ * Defines when the transition will start. A value of ‘0s’ means the transition will execute as soon as the property is changed.
2146
+ * Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset.
1939
2147
  */
1940
2148
  transitionDelay?: CSSWideKeyword | any;
1941
2149
 
@@ -1975,7 +2183,8 @@ declare namespace React {
1975
2183
  userInput?: CSSWideKeyword | any;
1976
2184
 
1977
2185
  /**
1978
- * 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.
2186
+ * The vertical-align property controls how inline elements or text are vertically aligned compared to the baseline.
2187
+ * If this property is used on table-cells it controls the vertical alignment of content of the table cell.
1979
2188
  */
1980
2189
  verticalAlign?: CSSWideKeyword | any;
1981
2190
 
@@ -1990,22 +2199,34 @@ declare namespace React {
1990
2199
  voiceBalance?: CSSWideKeyword | any;
1991
2200
 
1992
2201
  /**
1993
- * 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.
2202
+ * 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,
2203
+ * for example to allow the speech to be synchronized with other media.
2204
+ * 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.
1994
2205
  */
1995
2206
  voiceDuration?: CSSWideKeyword | any;
1996
2207
 
1997
2208
  /**
1998
- * 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.
2209
+ * The voice-family property sets the speaker's voice used by a speech media agent to read an element.
2210
+ * The speaker may be specified as a named character (to match a voice option in the speech reading software)
2211
+ * or as a generic description of the age and gender of the voice.
2212
+ * Similar to the font-family property for visual media,
2213
+ * a comma-separated list of fallback options may be given in case the speech reader does not recognize the character name
2214
+ * or cannot synthesize the requested combination of generic properties.
1999
2215
  */
2000
2216
  voiceFamily?: CSSWideKeyword | any;
2001
2217
 
2002
2218
  /**
2003
- * 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.
2219
+ * The voice-pitch property sets pitch or tone (high or low) for the synthesized speech when reading an element;
2220
+ * the pitch may be specified absolutely or relative to the normal pitch for the voice-family used to read the text.
2004
2221
  */
2005
2222
  voicePitch?: CSSWideKeyword | any;
2006
2223
 
2007
2224
  /**
2008
- * 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.
2225
+ * The voice-range property determines how much variation in pitch or tone will be created by the speech synthesize when reading an element.
2226
+ * Emphasized text, grammatical structures and punctuation may all be rendered as changes in pitch,
2227
+ * this property determines how strong or obvious those changes are;
2228
+ * large ranges are associated with enthusiastic or emotional speech,
2229
+ * while small ranges are associated with flat or mechanical speech.
2009
2230
  */
2010
2231
  voiceRange?: CSSWideKeyword | any;
2011
2232
 
@@ -2047,7 +2268,8 @@ declare namespace React {
2047
2268
  width?: CSSWideKeyword | any;
2048
2269
 
2049
2270
  /**
2050
- * 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.
2271
+ * 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.
2272
+ * 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.
2051
2273
  */
2052
2274
  wordBreak?: CSSWideKeyword | any;
2053
2275
 
@@ -2292,7 +2514,8 @@ declare namespace React {
2292
2514
  accentHeight?: number | string;
2293
2515
  accumulate?: "none" | "sum";
2294
2516
  additive?: "replace" | "sum";
2295
- alignmentBaseline?: "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit";
2517
+ alignmentBaseline?: "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" |
2518
+ "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit";
2296
2519
  allowReorder?: "no" | "yes";
2297
2520
  alphabetic?: number | string;
2298
2521
  amplitude?: number | string;
@@ -2680,15 +2903,13 @@ declare namespace React {
2680
2903
  // React.PropTypes
2681
2904
  // ----------------------------------------------------------------------
2682
2905
 
2683
- interface Validator<T> {
2684
- (object: T, key: string, componentName: string, ...rest: any[]): Error | null;
2685
- }
2906
+ type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null;
2686
2907
 
2687
2908
  interface Requireable<T> extends Validator<T> {
2688
2909
  isRequired: Validator<T>;
2689
2910
  }
2690
2911
 
2691
- type ValidationMap<T> = { [K in keyof T]?: Validator<T> };
2912
+ type ValidationMap<T> = {[K in keyof T]?: Validator<T> };
2692
2913
 
2693
2914
  interface ReactPropTypes {
2694
2915
  any: Requireable<any>;
@@ -2702,7 +2923,7 @@ declare namespace React {
2702
2923
  element: Requireable<any>;
2703
2924
  instanceOf(expectedClass: {}): Requireable<any>;
2704
2925
  oneOf(types: any[]): Requireable<any>;
2705
- oneOfType(types: Validator<any>[]): Requireable<any>;
2926
+ oneOfType(types: Array<Validator<any>>): Requireable<any>;
2706
2927
  arrayOf(type: Validator<any>): Requireable<any>;
2707
2928
  objectOf(type: Validator<any>): Requireable<any>;
2708
2929
  shape(type: ValidationMap<any>): Requireable<any>;
@@ -2751,6 +2972,7 @@ declare namespace React {
2751
2972
 
2752
2973
  declare global {
2753
2974
  namespace JSX {
2975
+ // tslint:disable:no-empty-interface
2754
2976
  interface Element extends React.ReactElement<any> { }
2755
2977
  interface ElementClass extends React.Component<any> {
2756
2978
  render(): JSX.Element | null | false;
@@ -2760,6 +2982,7 @@ declare global {
2760
2982
 
2761
2983
  interface IntrinsicAttributes extends React.Attributes { }
2762
2984
  interface IntrinsicClassAttributes<T> extends React.ClassAttributes<T> { }
2985
+ // tslint:enable:no-empty-interface
2763
2986
 
2764
2987
  interface IntrinsicElements {
2765
2988
  // HTML