Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from JedWatson/master
Merging in React-Select v5.1
- Loading branch information
Showing
94 changed files
with
4,296 additions
and
3,340 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,5 @@ | ||
--- | ||
'react-select': patch | ||
--- | ||
|
||
Remove src directory from published package |
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,5 @@ | ||
--- | ||
'react-select': patch | ||
--- | ||
|
||
Add missing index to MultiValue props type |
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,27 @@ | ||
--- | ||
name: Bug report | ||
about: File a bug report | ||
title: '<title>' | ||
labels: [issue/bug-unconfirmed] | ||
assignees: '' | ||
--- | ||
|
||
**Thanks for using react-select!** | ||
|
||
If you are going to ask a question or want to propose a change or a new feature, then please don't file an issue for this. | ||
Questions and feature requests have their own place in our discussions section. | ||
|
||
## 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. | ||
|
||
Please note we are currently only directing our efforts towards the current major (v5) version and beyond. | ||
|
||
We understand this might be inconvenient but it is in the best interest of supporting the broader community and to sustain the `react-select` project going forward. | ||
|
||
To report bugs against react-select v5 please fork the following code-sandbox: | ||
https://codesandbox.io/s/react-select-v5-sandbox-y5jtm | ||
|
||
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. |
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,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Feature request | ||
url: https://github.com/JedWatson/react-select/discussions/categories/ideas | ||
about: Got an idea for a feature or want to propose a change? Then this is the place for you. | ||
- name: Question on usage | ||
url: https://github.com/JedWatson/react-select/discussions/categories/q-a | ||
about: If you have a question regarding the usage of the library. | ||
- name: StackOverflow | ||
url: https://stackoverflow.com/questions/tagged/react-select | ||
about: Alternatively you can visit StackOverflow with the `[react-select]` tag |
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ cypress/support/* | |
lib/* | ||
node_modules/* | ||
**/node_modules/* | ||
**/magical-types/* |
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,4 +1,10 @@ | ||
module.exports = { | ||
singleQuote: true, | ||
trailingComma: 'es5', | ||
overrides: [ | ||
{ | ||
files: '.changeset/pre.json', | ||
options: { parser: 'json-stringify' }, | ||
}, | ||
], | ||
}; |
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
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
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,10 +1,10 @@ | ||
import { Component } from 'react'; | ||
|
||
import { Props, defaultProps } from 'react-select/src/Select'; | ||
import { GroupBase, OptionBase } from 'react-select'; | ||
import { GroupBase } from 'react-select'; | ||
|
||
export default class Select extends Component< | ||
Props<OptionBase, boolean, GroupBase<OptionBase>> | ||
Props<unknown, boolean, GroupBase<unknown>> | ||
> { | ||
defaultProps = defaultProps; | ||
} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, ClearIndicatorProps, OptionBase } from 'react-select'; | ||
import { GroupBase, ClearIndicatorProps } from 'react-select'; | ||
|
||
export default class ClearIndicator< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<ClearIndicatorProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { ControlProps, GroupBase, OptionBase } from 'react-select'; | ||
import { ControlProps, GroupBase } from 'react-select'; | ||
|
||
export default class Control< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<ControlProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, DropdownIndicatorProps, OptionBase } from 'react-select'; | ||
import { GroupBase, DropdownIndicatorProps } from 'react-select'; | ||
|
||
export default class DropdownIndicator< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<DropdownIndicatorProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, GroupProps, OptionBase } from 'react-select'; | ||
import { GroupBase, GroupProps } from 'react-select'; | ||
|
||
export default class Group< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<GroupProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, IndicatorsContainerProps, OptionBase } from 'react-select'; | ||
import { GroupBase, IndicatorsContainerProps } from 'react-select'; | ||
|
||
export default class IndicatorsContainer< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<IndicatorsContainerProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { DropdownIndicatorProps, GroupBase, OptionBase } from 'react-select'; | ||
import { DropdownIndicatorProps, GroupBase } from 'react-select'; | ||
|
||
export default class DropdownIndicator< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<DropdownIndicatorProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, InputProps, OptionBase } from 'react-select'; | ||
import { GroupBase, InputProps } from 'react-select'; | ||
|
||
export default class Input< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<InputProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, LoadingIndicatorProps, OptionBase } from 'react-select'; | ||
import { GroupBase, LoadingIndicatorProps } from 'react-select'; | ||
|
||
export default class LoadingIndicator< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<LoadingIndicatorProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, NoticeProps, OptionBase } from 'react-select'; | ||
import { GroupBase, NoticeProps } from 'react-select'; | ||
|
||
export default class LoadingMessage< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<NoticeProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, MenuProps, OptionBase } from 'react-select'; | ||
import { GroupBase, MenuProps } from 'react-select'; | ||
|
||
export default class Menu< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<MenuProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, MenuListProps, OptionBase } from 'react-select'; | ||
import { GroupBase, MenuListProps } from 'react-select'; | ||
|
||
export default class MenuList< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<MenuListProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, MultiValueProps, OptionBase } from 'react-select'; | ||
import { GroupBase, MultiValueProps } from 'react-select'; | ||
|
||
export default class MultiValue< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<MultiValueProps<Option, IsMulti, Group>> {} |
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,8 +1,8 @@ | ||
import { Component } from 'react'; | ||
import { GroupBase, MultiValueGenericProps, OptionBase } from 'react-select'; | ||
import { GroupBase, MultiValueGenericProps } from 'react-select'; | ||
|
||
export default class MultiValueContainer< | ||
Option extends OptionBase, | ||
Option, | ||
IsMulti extends boolean, | ||
Group extends GroupBase<Option> | ||
> extends Component<MultiValueGenericProps<Option, IsMulti, Group>> {} |
Oops, something went wrong.