Ryan Cavanaugh
b488f3cb5f
Merge remote-tracking branch 'upstream/master' into merge_7_25
2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
c33a46c3d5
Merge commit 'upstream/master~200' into merge_7_25
2016-07-26 18:25:24 -07:00
Ryan Cavanaugh
b9245fba39
Merge commit 'upstream/master~350' into merge_7_25
2016-07-26 17:24:39 -07:00
Ryan Cavanaugh
c73630c9a3
Merge commit 'upstream/master~400' into merge_7_25
...
# Conflicts:
# angular-translate/angular-translate.d.ts
# knex/knex.d.ts
# redux-logger/index.d.ts
# simplestorage.js/index.d.ts
# underscore/underscore.d.ts
# yargs/yargs.d.ts
2016-07-26 13:53:00 -07:00
Ryan Cavanaugh
e94e9a8630
Merge commit 'upstream/master~450' into merge_7_25
2016-07-26 13:40:56 -07:00
Ryan Cavanaugh
ede3f0a99c
Merge commit 'upstream/master~550' into merge_7_25
2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
5d004be8ba
Merge commit 'upstream/master~600' into merge_7_25
2016-07-26 00:22:12 -07:00
Stevi Deter
c34251f96b
Types 2.0 ReactDom.render ( #10206 )
...
* For ReactDOM.render, make element parameter nullable to match React API and match Typescript 2.0 definition for Document.getElementById
* one more test
2016-07-23 23:38:28 -07:00
rdeline
03cd162da0
Add marker to IntrinsicElements ( #10173 )
2016-07-19 23:04:42 -07:00
Ryan Cavanaugh
9d7d5a209a
Getting types-2.0 passing CI
2016-07-14 18:13:43 -07:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Alexey Svetliakov
6a36f6d5b6
Allow es6 import for addons-create-fragment/addons-shallow-compare
2016-07-09 06:46:14 +02:00
phiresky
084926e23a
react: Add target type to events
...
this allows getting the actual html element type from events.
Example:
```ts
render() {
return <input onChange={e => console.log(e.target.value)}/>
}
```
Previously you would have to cast the target manually:
```ts
render() {
return <input onChange={e => console.log((e.target as
HTMLInputElement).value)}/>
}
```
2016-07-03 20:23:20 +02:00
Ryan Cavanaugh
925dbd5230
Merge pull request #8753 from jwbay/react-transition-group-props
...
TransitionGroup spreads HTMLAttribute props onto its component
2016-06-30 17:13:52 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
3fa452ae11
Merge pull request #9895 from wingyplus/rename-argument-and-remove-whitespace
...
react: rename argument and remove trailing whitespace
2016-06-30 11:36:51 -07:00
Thanabodee Charoenpiriyakij
9a062b06b6
react: fix duplicate statelessElement in react-tests.ts
2016-06-30 17:31:54 +07:00
Thanabodee Charoenpiriyakij
4020976848
react: rename argument and remove trailing whitespace
...
`callBack` name not match the convention it should change
to `callback`
2016-06-30 17:07:02 +07:00
Mohamed Hegazy
59260ed058
Merge pull request #9258 from lijunle/patch-1
...
The DragEvent should inherit from MouseEvent.
2016-06-21 15:56:15 -07:00
Alex Pyzhianov
f526787747
React: add SVG flters to JSX Elements
2016-06-21 14:41:44 +03:00
Linda_pp
50b9b6c6d5
react-addons-perf: Update APIs to version 15.1.0 ( #9662 )
...
* react-addons-perf: Update APIs to version 15.1.0
https://facebook.github.io/react/docs/perf.html
* Add deprecation comment to printDOM()
* Add more exported APIs
d101f68bce/src/renderers/shared/ReactPerf.js (L432)
2016-06-19 12:19:33 +09:00
Alex Pyzhianov
e3df7a21b9
react.d.ts: add <foreignObject/> to JSX ( #9523 )
2016-06-03 00:15:22 +09:00
Rand Scullard
e76f4c9798
react: Add animation and transition events from React 15. ( #9443 )
2016-06-02 23:03:09 +09:00
Roman Würsch
d4ab7731d3
WheelEvent extends MouseEvent not SyntheticEvent ( #9437 )
2016-06-02 21:51:06 +09:00
Jan-Pieter Zoutewelle
dc619d01b2
Added the version of React to the typing. ( #9429 )
...
* Added version to React typings
* Update react.d.ts
2016-05-26 22:46:01 +09:00
Ryan Cavanaugh
cdf9aa4e1d
Convert react-router
2016-05-11 16:33:19 -07:00
Ryan Cavanaugh
72a319137e
Split out react addons
2016-05-11 16:32:53 -07:00
Ryan Cavanaugh
185c8f30b6
Fix more reference paths
2016-05-11 16:31:46 -07:00
Ryan Cavanaugh
e105eabd48
Remove invalid references
2016-05-10 16:27:59 -07:00
Ryan Cavanaugh
612c172c52
Use correct test list
2016-05-10 12:28:03 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062
Remove unneeded references
2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Junle Li
cc0afa7289
The DragEvent should inherit from MouseEvent.
...
Reference: https://developer.mozilla.org/en-US/docs/Web/API/DragEvent
2016-05-09 21:36:11 +08:00
Ryan Cavanaugh
33686b47c5
Lots of fixes
2016-05-04 16:30:29 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Nicholas Lydon
08ed4e9f18
React TestUtils SyntheticEventData extends browser Event ( #9000 )
...
* SyntheticEventData extends browser Event
From https://facebook.github.io/react/docs/events.html
Your event handlers will be passed instances of SyntheticEvent, a
cross-browser wrapper around the browser's native event. It has the same
interface as the browser's native event, including stopPropagation() and
preventDefault(), except the events work identically across all
browsers.
* make react synthetic event properties optional
2016-04-27 12:56:38 +09:00
Long Lazuli
3a44f976ba
Update React - Adds SVG <use> & <symbol> to the JSX IntrinsicElements ( #9012 )
...
* Adds SVG USE & SYMBOL to the JSX IntrinsicElements
* Reverse ReactDom changes
2016-04-23 15:59:14 +09:00
Yiting Zhi 支一婷
a3640e13de
[React] exported copy event simulator for testing ( #8992 )
2016-04-17 23:49:49 +09:00
François Guillot
f9b6faf87c
Add missing property className. ( #8965 )
2016-04-17 22:41:18 +09:00
Sean Kelley
b9642fb8ac
Allow specifying void for component state type parameter. ( #8673 )
...
* Allow specifying `void` for component state type parameter.
Per comments on https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8543 ,
the type parameter for component state was changed to `{}` from `any` for
increased type safety, but prevents specifying (non-functional) stateless
components without having empty state parameters, which seems messy. This
changes the type to `{} | void` to allow this while staying stricter than
`any`.
* Make react tests a bit more strict.
* Rename State -> ComponentState to make it a bit more explicit.
2016-04-13 00:40:40 +09:00
Justin Bay
7c5dbff213
TransitionGroup spreads HTMLAttribute props onto its component
2016-03-28 13:55:13 -04:00
Masahiro Wakame
ecaf8c1c3f
Merge pull request #8607 from waywardmonkeys/fix-typos
...
react: Fix typo in comment.
2016-03-19 14:34:54 +09:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
Bruce Mitchener
1226b59d6e
react: Fix typo in comment.
2016-03-17 18:12:35 +07:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00