Commit Graph

16 Commits

Author SHA1 Message Date
Forbes Lindesay
8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Andy
2a9d2f8d59
Convert more "import *" to "import =" (#23446) 2018-02-05 18:27:31 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Ritorna
d94485393e
[react-grid-layout] Add null type to compactType
When using undefined on the compactType the Component uses the compactType "vertical" instead of null. By excplicitely using null the grid works fine.
2017-12-18 12:21:36 +01:00
ZheyangSong
b3926ce5d6 React-Grid-Layout: Add preventCollision
+ Add missing `preventCollision` to `coreProps`
2017-11-20 11:29:49 -08:00
ZheyangSong
b4d173f77e react-grid-layout Layout Interface Update
+ Adjust `Layout` to match the source code's defintion
2017-11-06 16:19:58 -08:00
Andrew Hathaway
91bbcaf395 Add compactType prop to react-grid-layout (#20406)
* React-grid-layout typings to support compactType prop

* Bump version of typings

* Add in author details

* Fix trailing whitespace
2017-10-09 14:38:44 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
ZheyangSong
41e137c8e9 Fix react-grid-layout Type Definition (#18433)
+ each property of `Layouts` should be in shape of `Layout[]`
+ Refs:
    + https://github.com/STRML/react-grid-layout/blob/master/test/examples/0-showcase.jsx#L55
    + https://github.com/STRML/react-grid-layout/blob/master/test/examples/0-showcase.jsx#L84
    + https://github.com/STRML/react-grid-layout/blob/master/lib/responsiveUtils.js#L71
    + https://github.com/STRML/react-grid-layout/blob/master/lib/utils.js#L39
2017-07-27 08:03:46 -07:00
Tanguy Krotoff
573083a518 Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
2017-06-21 09:48:37 +02:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff
eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
Ali Taheri Moghaddar
c69aadeeb5 [react-grid-layout] Improve typings (#16071)
* Improve react-grid-layout typings

* Fix lint errors
2017-05-02 10:12:27 -07:00
Andy
dae4a527d7 Fix "../tslint.json" to "dtslint.json" (#15957)
* Fix "../tslint.json" to "dtslint.json"

* Fix errors
2017-04-18 10:35:52 -07:00
abirkholz
87e6758d43 Add type for react-grid-layout 2017-04-07 00:19:55 -05:00