forked from JedWatson/react-select
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tab-focus-bug
- Loading branch information
Showing
81 changed files
with
33,167 additions
and
28,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ignore": ["node-modules/**", "src/index.umd.js"], | ||
"presets": [ "es2015", "stage-0", "react"], | ||
"env": { | ||
"test": { | ||
"plugins": ["istanbul"], | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
lib/* | ||
dist/* | ||
coverage/* | ||
examples/dist/* | ||
node_modules/* | ||
bower_components/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
module.exports = { | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'module', | ||
ecmaFeatures: { | ||
experimentalObjectRestSpread: true, | ||
jsx: true, | ||
}, | ||
}, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
}, | ||
plugins: ['react'], | ||
rules: { | ||
'curly': [2, 'multi-line'], | ||
'jsx-quotes': 1, | ||
'no-shadow': 0, | ||
'no-trailing-spaces': 0, | ||
'no-underscore-dangle': 0, | ||
'no-unused-expressions': 0, | ||
'object-curly-spacing': [1, 'always'], | ||
'quotes': [2, 'single', 'avoid-escape'], | ||
'react/jsx-boolean-value': 1, | ||
'react/jsx-no-undef': 1, | ||
'react/jsx-uses-react': 1, | ||
'react/jsx-uses-vars': 1, | ||
'react/jsx-wrap-multilines': 1, | ||
'react/no-did-mount-set-state': 1, | ||
'react/no-did-update-set-state': 1, | ||
'react/no-unknown-property': 1, | ||
'react/prop-types': 1, | ||
'react/react-in-jsx-scope': 1, | ||
'react/self-closing-comp': 1, | ||
'react/sort-comp': 1, | ||
'react/sort-prop-types': 1, | ||
'semi': 2, | ||
'strict': 0, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ pids | |
# Coverage tools | ||
lib-cov | ||
coverage | ||
.nyc_output | ||
|
||
# Dependency directory | ||
node_modules | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"reporter": [ | ||
"lcov", | ||
"text-summary" | ||
], | ||
"require": [ | ||
"babel-register" | ||
], | ||
"sourceMap": false, | ||
"instrument": false, | ||
"report-dir": "./coverage" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "v4" | ||
- "v4" | ||
script: | ||
- npm run coveralls | ||
- npm run lint | ||
- npm run test | ||
- npm run coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,56 @@ | ||
# React-Select | ||
|
||
## Next | ||
|
||
## v1.0.0-rc.10 / 2017-09-13 | ||
|
||
* changed; `openAfterFocus` prop has been renamed to `openOnClick`, and now defaults to `true` | ||
* fixed; React.PropTypes deprecation warning, thanks [Jeremy Liberman](https://github.com/MrLeebo) | ||
* improved; scrolling behaviour when navigating the menu with the keyboard, thanks [boatkorachal](https://github.com/boatkorachal) | ||
* fixed; error with the `Async` cache when you type `"hasOwnProperty"`, thanks [SuhushinAS](https://github.com/SuhushinAS) | ||
|
||
## v1.0.0-rc.9 / 2017-09-13 | ||
|
||
* fixed; clearable padding style, thanks [Minori Miyauchi](https://github.com/mmiyauchi) | ||
* fixed; removed use of `Object.assign`, fixes IE compatibility | ||
* added; new `closeOnSelect` prop (defaults to `true`) that controls whether the menu is closed when an option is selected, thanks to [Michael Elgar](https://github.com/melgar) for the original idea | ||
* changed; by default, the menu for multi-selects now closes when an option is selected | ||
* changed; `Async` component no longer always clears options when one is selected (although the menu is now closed by default). Use `closeOnSelect={false} onSelectResetsInput={false}` to leave the menu open. | ||
* fixed; `Async` component always called `onChange` even when it wasn't provided | ||
* fixed; input lag for the `Async` component when results are returned from cache | ||
* fixed; required was not being updated without an onChange handler | ||
* fixed; peer dependencies for `prop-types`, thanks [Michaël De Boey](https://github.com/MichaelDeBoey) | ||
* fixed; internal optimisations, thanks [Kieran Boyle](https://github.com/dysfunc) | ||
* added; `Value` component is now exported, thanks [Prof Gra](https://github.com/Grahack) | ||
* fixed; callback fired after `Async` component unmounts, thanks [Andrew Russell](https://github.com/DeadHeadRussell) | ||
* fixed; wrapping on Firefox in SCSS files, thanks [Michael Williamson](https://github.com/mwilliamson) | ||
|
||
## v1.0.0-rc.8 / 2017-09-12 | ||
|
||
* fixed; `onMenuScrollToBottom` does not work in chrome 58.0, thanks [Simon Hartcher](https://github.com/deevus) | ||
* fixed; missing es6 module build for `js:next` entrypoint | ||
* updated; `[email protected]` including several fixes for react-select (see [changes](https://github.com/JedWatson/react-input-autosize/blob/master/HISTORY.md)) | ||
|
||
## v1.0.0-rc.7 / 2017-09-11 | ||
|
||
* fixed; issue with `lib` build preventing use in ES2015 environments | ||
|
||
## v1.0.0-rc.6 / 2017-09-10 | ||
|
||
* fixed; changing `required` prop from `true` to `false` now works as expected, thanks [George Karagkiaouris](https://github.com/karaggeorge) | ||
* added; new prop `onSelectResetsInput` controls whether the input value is cleared when options are selected, thanks [David Roeca](https://github.com/davidroeca) and [Alexander Nosov](https://github.com/nosovsh) | ||
* fixed; tabindex parent bug fix for Edge, thanks [George Payne](https://github.com/George-A-Payne) | ||
* fixed; update selectize link in README.md, thanks [kerumen](https://github.com/kerumen) | ||
* added; standard issue template, thanks [agirton](https://github.com/agirton) | ||
* added; new build process using rollup and webpack. Removed grunt. thanks [gwyneplaine](https://github.com/gwyneplaine) | ||
* fixed; updated contributor docs with the correct node version reference [gwyneplaine](https://github.com/gwyneplaine) | ||
* fixed; missing method binds in Option, thanks [agirton](https://github.com/agirton) | ||
* fixed; converted components to use es6 classes, thanks [jochenberger](https://github.com/jochenberger) | ||
* fixed; console.log example in usage docs, thanks [rohmanhm](https://github.com/rohmanhm) | ||
* fixed; hide create option after closing menu, thanks [andreme](https://github.com/andreme) | ||
* fixed; remove circular reference, thanks [agirton](https://github.com/agirton) | ||
* fixed; readme typo, thanks [ieldanr](https:/github.com/ieldanr) | ||
* fixed; add missing function binds in Option component, thanks [agirton](https://github.com/agirton) and [blacktemplar](https://github.com/blacktemplar) | ||
* fixed; re-added fix to [#1580](https://github.com/JedWatson/react-select/issues/1580), thanks [agirton](https://github.com/agirton) | ||
* fixed; avoid mutating user inputs when ignoring case/accents, thanks [not-an-aardvark](https://github.com/not-an-aardvark) | ||
* fixed; issues synchronising options props in `Async`, thanks [cbergmiller](https://github.com/cbergmiller) | ||
* fixed; backspace handling for non-multi select controls, thanks [Jeremy Liberman](https://github.com/MrLeebo) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
### Thanks for using react-select! | ||
|
||
If you are reporting an error please include a test case that demonstrates the issue you're reporting! | ||
Before creating an issue... | ||
|
||
# Are you asking a question? | ||
Please don't file GitHub issues to ask questions. Use Stack Overflow with a [#react-select](http://stackoverflow.com/questions/tagged/react-select) tag | ||
|
||
|
||
# Are you reporting a bug or runtime error? | ||
Please include a test case that demonstrates the issue you're reporting! | ||
This is very helpful to maintainers in order to help us see the issue you're seeing. | ||
|
||
Here is a Plunker you can fork that has react-select loaded and supports JSX syntax: | ||
https://plnkr.co/edit/HTmtER9AMNcPoWhXV707?p=preview | ||
https://plnkr.co/edit/dHygFMWWqVwaRAfpEmbn?p=preview | ||
|
||
You may also find the [online Babel tool](https://babeljs.io/repl/) quite helpful if you wish to use ES6/ES7 syntax not yet supported by the browser you are using. | ||
|
||
|
||
# Are you making a feature request? | ||
Provide as much information as possible about your requested feature. Here are a few questions you may consider answering: | ||
|
||
* What's your use case? (Tell us about your application and what problem you're trying to solve.) | ||
* What interface do you have in mind? (What new properties or methods do you think might be helpful?) | ||
* Can you point to similar functionality with any existing libraries or components? (Working demos can be helpful.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.