Commit Graph

17 Commits

Author SHA1 Message Date
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
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
benishouga
62bb9fd807 SVGAttributes inherit HTMLAttributes. fixed react-addons.d.ts and react-global.d.ts. 2015-08-04 00:01:32 +09: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
Vincent Siao
bb793321c6 [React] change ShallowRenderer output to ReactElement 2015-05-28 14:18:58 -07:00
Vincent Siao
3ca8ceb795 [react] Make var addons into a module
This lets you do import aliasing (eg. `import TestUtils = React.addons.TestUtils;`)
2015-05-27 18:43:23 -07:00
Mads
2dabe041c4 whoops, syntax error 2015-05-14 18:57:45 +02:00
Mads
9a53f5ee84 UpdateSpec properties should be optional 2015-05-07 07:57:08 +02:00
Igor Ovsiannikov
39d3517c6f feat(react): add DragEvent to react-addons.d.ts 2015-04-22 21:38:28 +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
d3584fa716 Add ReactShallowRenderer types
See http://facebook.github.io/react/docs/test-utils.html#shallow-rendering
2015-03-14 15:29:40 -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