Commit Graph

30 Commits

Author SHA1 Message Date
Mark Vujevits
c2a28d182e add AsyncCreatable to supported components (#13492) 2016-12-31 23:57:32 +09:00
Mark Vujevits
bec25785d7 [react-select] fix field name in AutocompleteResult (#13439)
* fix field name in AutocompleteResult, test was not testing it properly

* add myself to contributors
2016-12-27 19:34:51 -05:00
zhengbli
c2a54db3e9 Merge branch 'master' into types-2.0
# Conflicts:
#	amcharts/AmCharts.d.ts
#	angular-gettext/angular-gettext.d.ts
#	angular-jwt/angular-jwt.d.ts
#	angular-material/angular-material.d.ts
#	angularjs/angular.d.ts
#	auth0-js/auth0-js.d.ts
#	aws-lambda/aws-lambda.d.ts
#	aws-sdk/aws-sdk.d.ts
#	azure-mobile-apps/azure-mobile-apps.d.ts
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	blessed/blessed-tests.ts
#	blessed/blessed.d.ts
#	bootbox/bootbox.d.ts
#	bowser/bowser.d.ts
#	cache-manager/cache-manager.d.ts
#	chai-things/chai-things.d.ts
#	colors/colors.d.ts
#	cordova/cordova-tests.ts
#	cordova/plugins/Contacts.d.ts
#	cordova/plugins/FileSystem.d.ts
#	couchbase/couchbase.d.ts
#	cucumber/cucumber-tests.ts
#	cucumber/cucumber.d.ts
#	d3/d3.d.ts
#	dojo/dojo.d.ts
#	dustjs-linkedin/dustjs-linkedin.d.ts
#	esprima/esprima.d.ts
#	express-serve-static-core/express-serve-static-core.d.ts
#	express-session/express-session.d.ts
#	fetch-mock/fetch-mock.d.ts
#	fs-extra/fs-extra.d.ts
#	fullCalendar/fullCalendar.d.ts
#	github-electron/github-electron.d.ts
#	gulp-uglify/gulp-uglify.d.ts
#	gulp/gulp.d.ts
#	highcharts/highcharts.d.ts
#	imap/imap.d.ts
#	incremental-dom/incremental-dom.d.ts
#	inversify/inversify.d.ts
#	ionic/ionic.d.ts
#	ioredis/ioredis.d.ts
#	isomorphic-fetch/isomorphic-fetch-tests.ts
#	jake/jake.d.ts
#	joi/joi.d.ts
#	jquery-mockjax/jquery-mockjax.d.ts
#	jquery/jquery.d.ts
#	js-data-http/js-data-http-tests.ts
#	js-data-http/js-data-http.d.ts
#	js-data/js-data.d.ts
#	jsdom/jsdom.d.ts
#	jsts/jsts-tests.ts
#	knex/knex.d.ts
#	koa-favicon/koa-favicon.d.ts
#	koa-router/koa-router-tests.ts
#	koa-router/koa-router.d.ts
#	lodash/lodash.d.ts
#	mailparser/mailparser.d.ts
#	maquette/maquette.d.ts
#	material-ui/material-ui.d.ts
#	matter-js/matter-js.d.ts
#	moment/moment.d.ts
#	mongoose-promise/mongoose-promise-tests.ts
#	mongoose/mongoose-tests.ts
#	mongoose/mongoose.d.ts
#	multer/multer.d.ts
#	ncp/ncp.d.ts
#	nock/nock.d.ts
#	node/node-tests.ts
#	node/node.d.ts
#	nvd3/nvd3.d.ts
#	object-assign/object-assign.d.ts
#	openlayers/openlayers.d.ts
#	parse/parse.d.ts
#	pdf/pdf.d.ts
#	pdfkit/pdfkit.d.ts
#	pg/pg.d.ts
#	pixi.js/pixi.js.d.ts
#	progress/progress.d.ts
#	pusher-js/pusher-js.d.ts
#	quill/quill-tests.ts
#	quill/quill.d.ts
#	radium/radium.d.ts
#	ravenjs/ravenjs-tests.ts
#	react-dropzone/react-dropzone.d.ts
#	react-mdl/react-mdl.d.ts
#	react-native/react-native.d.ts
#	react-notification-system/react-notification-system.d.ts
#	react-router/history-tests.ts
#	react-router/react-router-tests.tsx
#	react-router/react-router.d.ts
#	react-select/react-select-tests.tsx
#	react-select/react-select.d.ts
#	react/react.d.ts
#	redux-form/redux-form.d.ts
#	request-promise/request-promise.d.ts
#	resolve-from/resolve-from.d.ts
#	riot-api-nodejs/riot-api-nodejs.d.ts
#	sanitize-html/sanitize-html.d.ts
#	segment-analytics/segment-analytics.d.ts
#	simple-assign/simple-assign-tests.ts
#	simple-assign/simple-assign.d.ts
#	slate-irc/slate-irc.d.ts
#	soap/soap.d.ts
#	socket.io/socket.io.d.ts
#	sql.js/sql.js-tests.ts
#	sql.js/sql.js.d.ts
#	steam/steam.d.ts
#	stylus/stylus.d.ts
#	swiper/swiper.d.ts
#	tedious/tedious.d.ts
#	threejs/three.d.ts
#	twilio/twilio.d.ts
#	underscore/underscore.d.ts
#	ws/ws.d.ts
#	yeoman-generator/yeoman-generator.d.ts
2016-09-14 18:44:24 -07:00
Izaak Baker
86b7c1a268 Add typings for Creatable class in react-select 2016-09-07 14:51:41 -07:00
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
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
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
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
Ryan Cavanaugh
d5a3cca3ab Fix react-select 2016-05-12 15:19:56 -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
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
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
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
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