Commit Graph

28 Commits

Author SHA1 Message Date
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
James Brantly
619033254c Update tests for v0.14 and refactor how addons expose interfaces. 2015-11-05 07:01:14 -05:00
James Brantly
f2ff7464b5 Remove cloneWithProps since it's deprecated 2015-10-14 19:41:57 -04:00
James Brantly
77b2f7e8d4 Initial React v0.14 definitions 2015-10-14 19:21:31 -04:00
vvakame
e1171adaff remove trailing white space 2015-10-07 02:00:27 +09:00
Dave Keen
f03129f8fa Fixed the React.addons.update typing to work with TS1.6's new stricter types. 2015-09-28 16:38:38 +02:00
James Brantly
e79e14a7b8 Fixup the global definitions.
Originally had renamed react-global.d.ts to react-namespace.d.ts. After thinking about it further I don't think a rename really benefits anyone and would just cause confusion with people trying to upgrade. Also I had missed the `.d` in the original rename. Additionally adding some tests for the global version since there were none.
2015-09-03 23:07:28 -04:00
James Brantly
07c4e447f1 Reorganize React definitions 2015-08-27 22:09:55 -04:00
Daniel Rosenwasser
96281f1a1c Merge branch 'master' into handleExtraObjectLiteralProperties
Conflicts:
	parse/parse.d.ts
2015-08-25 10:31:49 -07:00
Basarat Syed
55465434fd reactChidlren callbacks accept index
ref 10c8166043/src/isomorphic/children/ReactChildren.js (L52)
2015-08-24 17:43:21 +10:00
Daniel Rosenwasser
fb0b124b2a Added indexer to CSS properties in 'react'. 2015-08-20 14:36:58 -07:00
Daniel Rosenwasser
d2f69d40ab Add index signature to 'ComponentSpec' in 'react'. 2015-08-20 14:32:32 -07:00
Masahiro Wakame
7ccb1759f9 Merge pull request #5131 from benishouga/add-react-svg
React: Added attributes 'width' and 'height' to SVGAttributes for Rect.
2015-08-08 14:33:35 +09:00
Masahiro Wakame
c7253f4a93 Merge pull request #5133 from maglar0/master
React: Support for defaultValue in HTMLAttributes
2015-08-08 13:54:45 +09:00
Masahiro Wakame
c1ea194664 Merge pull request #5201 from use-strict/react-context-any
react - Replaced context any with {} for type safety.
2015-08-08 13:53:54 +09:00
benishouga
a117cbd73e add svg attribute width and height for rect element. SVGAttribute inherit DOMAttributes. 2015-08-06 03:22:04 +09:00
Lars Magnusson
6d59069216 Support for defaultValue and defaultChecked in HTMLAttributes (used on input and textarea and others) 2015-08-04 20:19:03 +02:00
Ciuca, Alexandru
1a9ee560ef react - Replaced any with {} for context
See https://github.com/Microsoft/TypeScript/issues/4126
2015-08-04 11:10:07 +03:00
Nathan Brown
207710d2a0 React: Include required render() function in base Component class.
The new TSX mode in the TypeScript compiler has the requirements that
the element class constructor produces an element instance type that is
assignable to the type JSX.ElementClass.  To meet this Component<P, S>
must declare `render(): JSX.Element`.  Derived classes can be more
specific.

This should resolve Microsoft/TypeScript#3928.
2015-08-03 17:08:03 -07:00
benishouga
62bb9fd807 SVGAttributes inherit HTMLAttributes. fixed react-addons.d.ts and react-global.d.ts. 2015-08-04 00:01:32 +09:00
Ryan Cavanaugh
bfcf082b40 Go back to old style of React typings and merge in JSX to both 2015-07-06 15:58:01 -07:00
Ryan Cavanaugh
8833ceece1 Combine internal/external React .d.ts files and prepare for TS JSX support 2015-06-23 09:42:37 -07:00
Vincent Siao
1cc5ea01d8 [React] Update HTMLAttributes interface
removes `scrollLeft`, `scrollTop` (0.12.0)
adds `formAction`, `formEncType`, `formMethod`, `formTarget`, `marginHeight`, `marginWidth` (0.12.2)
adds `scoped`, `high`, `low`, `optimum`, `unselectable` (0.13.2)
2015-05-28 15:30:16 -07:00
Igor Ovsiannikov
41a0837326 feat(react): add DragEvent 2015-04-20 20:58:25 +03:00
Vincent Siao
b35ac04569 React 0.13.0->0.13.1 and make arguments to Component constructor optional 2015-03-18 09:46:36 -07:00
Vincent Siao
424bb99eac Don't use DOM API interfaces for React.SVGAttributes 2015-03-14 16:15:59 -07:00
Vincent Siao
ffedf917df Remove beta and RC2 references from React defs 2015-03-14 15:27:46 -07:00
Phips Peter
57340eca1e Moving React 0.13 to be the default
React 0.13 is now released so it should be the default type definition.
http://facebook.github.io/react/blog/2015/03/10/react-v0.13.html
2015-03-10 19:03:37 -07:00