Artem Borisov
647ecd7255
Update index.d.ts ( #14804 )
2017-03-10 15:51:02 -08:00
Mine Starks
981705aa8e
Merge pull request #14731 from homburg/fix-react-modal-on-request-close-event-parameter
...
react-modal: Add event parameter for onRequestClose function prop
2017-03-08 14:47:19 -08:00
Andy
555ea54770
Lint test files too ( #14791 )
2017-02-23 07:15:16 -08:00
Thomas Bondo Homburg
43cc325188
react-modal: Add event parameter for onRequestClose function prop
2017-02-20 11:42:16 +01:00
Drew Noakes
70520cc923
Declare as class and namespace.
2017-02-01 22:03:12 +00:00
Drew Noakes
c834c31b81
Add tslint file.
2017-02-01 21:45:05 +00:00
Drew Noakes
6c1d88d6a9
Use 'import' over '<reference'.
2017-02-01 21:45:04 +00:00
Drew Noakes
34c28a11da
Fix tslint error 'no-single-declare-module '
...
File has only 1 module declaration — write it as an external module.
2017-02-01 21:45:04 +00:00
Drew Noakes
fb1f121c40
Fix tslint errors 'dt-header'
...
Expected: one of
/(, )|(,?\r?\n\/\/\s\s+)/
/\r?\n\/\/ Definitions by: /
2017-02-01 21:40:18 +00:00
Drew Noakes
ff38bd198b
Fix tslint errors 'dt-header'
...
- Expected: foo MAJOR.MINOR (patch version not allowed)
- Expected: foo MAJOR.MINOR ('v' not allowed)
2017-02-01 21:39:47 +00:00
Drew Noakes
e4bf166872
Bump react-modal version to 1.6.5.
2017-01-31 22:52:59 +00:00
Drew Noakes
c6e9076a94
Add missing members.
2017-01-31 22:52:58 +00:00
Drew Noakes
ae31538dc2
Add static members.
2017-01-31 22:52:58 +00:00
Drew Noakes
e20443bdf7
Add documentation.
2017-01-31 22:52:58 +00:00
Drew Noakes
d998af2ff3
Specify function type.
2017-01-31 22:52:57 +00:00
Drew Noakes
c1d3c066bf
Consistent delimiters.
2017-01-31 22:52:57 +00:00
Eric Anderson
9b53298395
Support Pick<> on setState now that TS 2.1 is out ( #13155 )
...
* Support Partial<> on setState now that TS 2.1 is out
* Update readme to reflect setState being typed correctly
* Switch setState to Pick
* Restore cloneELement portion of readme
* Use Pick<> | S for setState due to cast issue
* state and props should be readonly
* Fix nit + document why we
* Add typescript compiler header
* Update to properly order headers
* Update readme to reflect 2.1.5 fixing stPick
* Update readme now that 2.1.5 is out
* All that depend on react now require 2.1
* Fix definition that fails due to readonly state
2017-01-23 12:36:53 -08:00
Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy Hanson
2e869dbdc0
Merge branch 'types-2.0' into merge_28dec
2016-12-28 12:38:06 -08:00
Nicolas Goy
695104c848
Add contentLabel property ( #13249 )
...
As per 3d8e5a0746
2016-12-25 05:34:45 +09:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Andy
8841dfc744
Use index.d.ts only (not foo/foo.d.ts) ( #12834 )
...
* Use index.d.ts only (not foo/foo.d.ts)
* Convert more packages
* Remove unnecessary references
2016-11-21 12:58:06 -08:00
zhengbli
5a5ababe92
Merge remote-tracking branch 'origin/master' into zhengbli_merge
2016-10-24 22:48:38 -07:00
zhengbli
62e37b17e1
Merge commit 'origin/master~100' into zhengbli_merge
2016-10-24 20:34:59 -07:00
Jed Borovik
22278302bd
Update react-modal.d.ts ( #12043 )
2016-10-19 21:47:16 +09:00
Luke
a11d013885
Add css properties to react-modal ( #11845 )
...
* Add css properties to react-modal
* fix whitespace
2016-10-10 19:59:06 +09:00
Andy Hanson
28ef3d201b
Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/>
2016-09-16 08:59:57 -07:00
Jed Borovik
09a869c9af
Change react-modal from export default to export =
2016-08-10 19:22:56 -04:00
Rajab Shakirov
b13eab309f
init commit react-modal ( #9457 )
2016-06-02 22:34:54 +09:00