Vincent Siao
a3d2b67d36
[react] improve React.cloneElement with F-bounded polymorphism
2016-02-26 18:33:14 -08:00
Vincent Siao
60ea35043d
[react] Add React.Key; React.Ref<T> types
2016-02-26 14:00:12 -08:00
Tom Duncalf
f407264835
Add missing hgroup element to react.d.ts
2016-02-09 11:08:09 +00:00
sjef
83b88a031c
Added missing bottom property in React.CSSProperties
2016-02-05 13:14:37 +01:00
Alex Thompson
e3a7583dc3
CSSProperties missing backgroundColor
2016-01-29 10:33:36 -08:00
Masahiro Wakame
69b3c5934b
Merge pull request #7123 from Asana/react-14-fix
...
[React] Add SFC displayName and fix onlyChild type
2016-01-29 12:38:35 +09:00
Bernie Sumption
69154f67ee
Added the clipPath SVG element
...
Not sure when it was added, but the current version of react supports the clipPath element: http://facebook.github.io/react/docs/tags-and-attributes.html
2016-01-25 17:38:46 +00:00
Jason Jarrett
2cad4a3cff
small change to force an update (testing NugetAutomation)
2016-01-21 09:27:28 -08:00
Jasper Patterson
8b2be7dbb2
Changed autoCapitalize attribute from boolean to string
2015-12-27 20:46:15 -07:00
Anton Ulyanov
fd5229673a
Added min-height css property to react definitions
2015-12-24 10:12:30 +02:00
Vincent Siao
d76bfa3394
[React] Add SFC displayName and fix onlyChild type
...
- `StatelessComponent` is missing an optional `displayName` property
- `ReactChildren.only` always returns a `ReactElement`
- add tests for the above and `ReactTestUtils.renderIntoDocument`
2015-12-09 12:07:28 -08:00
Dave Keen
7f14ac023a
strokeMiterlimit was left out of the React 0.14 typings
2015-12-07 12:28:15 +01:00
Ryan Cavanaugh
d7465b3fbe
Merge branch 'master' into reactSFC
2015-12-01 14:26:53 -08:00
John Reilly
36c6ce86fb
Merge pull request #6799 from adidahiya/react-css-transition-group
...
[React] Fix linting errors and add support for transition timeout props on CSSTransitionGroup
2015-11-25 12:01:29 +00:00
Adi Dahiya
ca5bfe76d2
Fix linting errors in react typings
2015-11-18 14:37:45 -05:00
masonicboom
1dc2fdacad
Add remaining React CSS properties
...
These properties automatically extracted from
http://docs.webplatform.org/w/index.php?title=Special:Ask&offset=0&limit=500&q=%5B%5BCategory%3ACSS+Properties%5D%5D&p=format%3Dtemplate%2Flink%3Dnone%2Fsearchlabel%3DSee-20more-20pages...%2Ftemplate%3DSummary_Table_Body%2Fintrotemplate%3DSummary_Table_Header%2Foutrotemplate%3DSummary_Table_Footer&po=%3FPage+Title%0A%3FSummary%0A# .
See https://github.com/masonicboom/react-css-properties for extraction
methodology.
NOTE: these properties have not been individually tested.
Vendor-prefixed properties not included.
Content used under license
http://docs.webplatform.org/wiki/Template:CC-by-3.0 .
2015-11-15 13:16:40 -08:00
Ryan Cavanaugh
ac7e775d98
Make HTMLProps generic; add Intrinsic Attribute types
2015-11-12 13:18:53 -08:00
Vincent Siao
813f3b03db
[React.14] Add checkedLink/valueLink to HTMLAttributes for LinkedStateMixin
2015-11-10 23:43:36 -08:00
Vincent Siao
45d85934f1
Merge remote-tracking branch 'dt/master' into react-v14
2015-11-09 17:48:30 -08:00
Vincent Siao
8345d38855
[React.14] Add StatelessComponent<P> and tests
...
- Also add image to JSX.IntrinsicElements
- Add tests for callback and string refs
- Fix bug where Component<P, S> subclasses are required to have defaultProps
2015-11-09 17:39:55 -08:00
Vincent Siao
2ccdb76c47
[React.14] Add Composition/MediaEvents and <image> SVGFactory
2015-11-05 17:31:34 -08:00
Vincent Siao
0a6e0c30da
[React.14] Update HTMLAttributes/SVGAttributes for 0.14.2
2015-11-05 16:50:52 -08:00
Vincent Siao
a43c2843cd
[React.14] Add ReactInstance type (Component<any, any> | Element)
2015-11-05 11:25:16 -08:00
Vincent Siao
15eff541e0
[React.14] Update refs for DOM elements
2015-11-05 10:41:07 -08:00
Tom Hasner
bf061642b0
Write typings for React.Children.toArray and React.Children.map
2015-11-02 22:59:15 -05:00
floriantopf
a809e347c9
react-onLoad-event
2015-11-01 01:22:54 +01:00
James Brantly
77b2f7e8d4
Initial React v0.14 definitions
2015-10-14 19:21:31 -04:00
Roger Chen
2ae4b96283
Change autoComplete to a string typing in React
2015-10-12 15:27:34 -07:00
ampext
49bb032dd0
fixed lost colon after onContextMenu?
2015-10-10 22:13:44 +03:00
ampext
61105c5c30
added onContextMenu attribute to react DOMAttributesBase
2015-10-10 21:40:56 +03:00
vvakame
e1171adaff
remove trailing white space
2015-10-07 02:00:27 +09:00
vvakame
f44dbb58fe
Merge branch 'react-update-for-1.6' of https://github.com/ccapndave/DefinitelyTyped into ccapndave-react-update-for-1.6
2015-10-07 01:59:41 +09:00
Masahiro Wakame
8ea82f65e3
Merge pull request #5869 from use-strict/patch-1
...
Update react.d.ts - Validate static members of React.Component
2015-10-05 22:44:28 +09:00
Ryan Cavanaugh
3b7f250dcf
Merge pull request #5893 from ccapndave/react-svg-classname
...
Added className to SVG attributes
2015-09-28 10:27:48 -07: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
Dave Keen
e593119aeb
Added className and id to DOMAttributes
2015-09-28 16:34:40 +02:00
Masahiro Wakame
a71dd233fe
Merge pull request #5896 from ccapndave/react-svg-strokemiterlimit
...
Added missing strokeMiterLimit to SVG attributes
2015-09-27 11:41:58 +09:00
Nathan Brown
7d0beb4825
Make a generic base version of HTMLAttributes and DOMAttributes to allow for components that pass all remaining properties to an underlying HTML element.
2015-09-19 17:28:49 -07:00
Dave Keen
16dc2cea12
Added missing strokeMiterLimit to SVG attributes
2015-09-18 12:46:18 +02:00
use-strict
fb94b1ef37
Update react.d.ts
...
Make React.Component (static side) compatible with React.ComponentClass. This ensures validation when we use ES6-style classes to extend from React.Component, as opposed to using React.createClass.
2015-09-17 19:37:31 +03:00
Stepan Mikhaylyuk
ed8c24df07
force update fix
...
in react we cann pass callback to forceUpdate
2015-09-11 18:11:31 +03:00
James Brantly
b4fdbace3d
Fix CSSProperties indexer issue (sort of)
2015-08-29 09:48:26 -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