Commit Graph

45 Commits

Author SHA1 Message Date
Mine Yalcinalp Starks
8252b2118a Merge remote-tracking branch 'upstream/master' into minestarks-types2.0 2016-08-03 15:19:03 -07:00
Vicky Lai
39d97a1817 Fix value type for react-select 2016-08-02 20:21:32 -07:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
a4f5ae3098 Merge commit 'upstream/master~250' into merge_7_25 2016-07-26 18:03:56 -07:00
Ryan Cavanaugh
639b88af6a Get more tests passing 2016-07-26 15:03:04 -07:00
Ryan Cavanaugh
ede3f0a99c Merge commit 'upstream/master~550' into merge_7_25 2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -07:00
Ryan Cavanaugh
35075752ec Merge commit 'upstream/master~750' into merge_7_25 2016-07-25 14:51:03 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -07:00
Vicky Lai
12bd742144 Fix react-select definition for valueRenderer 2016-07-20 19:12:07 -07:00
Vicky Lai
23be9194eb Clean up react-select tests
Address comments from
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/10109
2016-07-19 21:26:47 -07:00
velveret
2f16c8ae7e Fix react-select definition for filterOptions (#10109) 2016-07-19 17:16:17 -07:00
Mohamed Hegazy
c60e17576e Fix use of generic React attributes and event handlers 2016-07-13 22:30:45 -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
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Charles Arnold
1defb4cf40 react-select: fix issue with props ref not set to correct type, and update tests to test additional React.Props types 2016-06-28 09:54:10 -07:00
Charles Arnold
5c8b964686 react-select: exporting ReactAsyncSelectProps 2016-06-28 09:49:56 -07:00
Charles Arnold
490fa83686 react-select: exporting ReactSelectProps 2016-06-28 09:49:30 -07:00
Moritz
8d7c3081e7 react-select: Fix definition of loadOptions-cb (#9549)
Adding the second parameter:
--
LoadOptions is called here with the value of the responseHandler-Variable:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L138

The implementation of that function is here:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L102

It's very obvious that this function needs two parameters.

The data-parameter:
--
See their readme.md file:
74e0f0867f (async-options)

The also matches the expected variables in the code.
2016-06-08 19:17:07 +09:00
vickyl1
a50c292dc1 Fix definition for custom components in react-select (#9516) 2016-06-03 00:39:45 +09:00
Charlie Arnold
398bd74211 react-select: change from ES6 export default to 'export =' to match javascript module (#9274) 2016-05-15 02:52:52 +09:00
Jason Killian
2c530936fe Add openOnFocus prop to typings (#9319)
See https://github.com/JedWatson/react-select#further-options for prop
details
2016-05-15 02:21:02 +09:00
Ryan Cavanaugh
d5a3cca3ab Fix react-select 2016-05-12 15:19:56 -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
Derrick Liu
cc14a78043 react-select: update props to match Select and Async source files (#9127)
* Add an export for Option so we can use it directly

* Update tests to import the newly exported Option

* Add missing props from latest `react-select` 1.0.0-beta12

* Add menuRenderer function and interface for its named props

* This argument should be optional.

* `tabSelectsValue` should be a boolean, not a string

* Update tests with new props

* Export menu renderer props so devs can write typesafe `menuRenderer` functions

* Make sure to check exports in tests, since it's likely users won't be using <reference... >
2016-05-06 03:17:45 +09:00
Ryan Cavanaugh
290d5dfb4d More fixes 2016-05-04 18:42:46 -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
Derrick Liu
0c33358b1e react-select: Export the Option interface (#9110)
* Add an export for Option so we can use it directly

* Update tests to import the newly exported Option
2016-05-01 21:55:08 +09: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
Derrick Liu
1f17720f56 react-select: use export default to match library (#9100)
* Update react-select to export Select by default

* Update react-select tests to match
2016-04-26 00:40:19 +09:00
Greg O'Connor
ed728ac598 react-select: Allow placeholder to be an Element (#9061) 2016-04-23 23:35:52 +09:00
Roger Chen
2543e90c09 Fix definition for optionRenderer in react-select (#8957) 2016-04-17 23:48:38 +09:00
M Clark
1239b5a12b Bugfix in ReactSelect.Async definitions (#8898)
* Bugfix in ReactSelect.Async definitions

* Extended defined props
2016-04-14 21:48:40 +09:00
Andrzej Skrodzki
8d0cdb374d Update avaiable hooks. (#8909)
Apply comments.

Minor changes.
2016-04-13 00:35:06 +09:00
Gilad Gray
3716056736 update typings for React Select 1.0.0
- use `export = var` syntax so it works as a global library
- put interfaces in ghost module so they don't pollute global namespace
- add JSDoc comments for each prop
- move old version to -0.9.10
2016-03-14 19:21:05 -07:00
Jim McCarthy
0074be4cf5 Updated type file to include support for Async dropdowns. Added tests. 2016-01-13 11:26:37 -05:00
Hugo ESQUIBET
cb795efdf7 removing implicit any 2015-12-19 18:55:42 +01:00
Hugo ESQUIBET
9c75894f26 changing the any types to fix build 2015-12-19 18:43:58 +01:00
Hugo ESQUIBET
fae4ebf981 Adding contribution guidlines 2015-12-19 18:30:23 +01:00
Hugo ESQUIBET
86897d7a5c adding react-select typings support from https://github.com/JedWatson/react-select 2015-12-19 16:47:34 +01:00