Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging in React-Select v5.1 #1

Merged
merged 141 commits into from Oct 13, 2021
Merged

Merging in React-Select v5.1 #1

merged 141 commits into from Oct 13, 2021

Conversation

ebonow
Copy link
Owner

@ebonow ebonow commented Oct 13, 2021

No description provided.

sepehrity and others added 30 commits May 20, 2021 12:52
Confusion about Typescript arises because the HEAD of the current master branch, although still numbered v4.x for the npm-published module, still shoes the Typescript code to be releases as v5.

Unfamiliar users might assume that, variously, v4.x is written in Typescript (in fact, it's in JavaScript) or that the typings in this code work for v4.x (they don't, as they're not compatible with the required `@types` version.

These 2 statements should clear up confusion.
For the uninitiated, some possible points of confusion about Typescript and React Select are solved with these 2 short sentences.   There will be no need to edit them in the future... or, at least until there is no demand for v4.

BACKGROUND:
For the current HEAD of master, the version number in the `package.json` is v4.x  and all code is written in Typescript, although Typescript code will not be published until v5. 

A reasonable inference, if not the only one possible, is that v4 ships with the `.d.ts` files that reflect this Typescript code,  especially since the `package.json` for v4.2.3 indicates that they do.  

Additionally, absent clarification, a user might assume that the typings on the current master apply to v4.  In fact, they are incompatible with the @types version.
'#'=0
'$'=96145
'*'=(  )
-=569Xils
'?'=0
@=(  )
ARGC=0
HISTCMD=1033
LINENO=33
PPID=96144
TTYIDLE=1
ZSH_EVAL_CONTEXT=toplevel:cmdsubst
ZSH_SUBSHELL=1
builtins
funcstack
status=0
terminfo
zsh_eval_context=( toplevel cmdsubst ) attribute when  as it causes problems with screen readers.
Refactor how the DummyInput works when isSearchable={false}
Update README to clarify need for @types for v4 and not for v5
JedWatson and others added 29 commits September 17, 2021 09:41
Allow loadingMessage prop to return any ReactNode
Add type for CreateOptionActionMeta `option` field
…arse-1.5.3

Bump url-parse from 1.5.1 to 1.5.3
* Fix "Props" documentation page not loading types

* Downgrade `clean-webpack-plugin` to `3.0.0`
* Add template chooser configuration

* Update issue template

* Prettier

* Add v5 Sandbox
* Export more types from main entry point

* Create nice-hounds-buy.md

* Update nice-hounds-buy.md

* Format

* Export just as type

* Update types.ts

* Update nice-hounds-buy.md
…4803)

* Import CSSObject from @emotion/react instead of @emotion/serialize

* Create honest-crabs-judge.md

* Format

* Add csstype resolution
* feat(#4806): export AsyncCreatableProps from AsyncCreatable.tsx

* Create cyan-birds-juggle.md

Co-authored-by: Nathan Bierema <nbierema@gmail.com>
* fix: input was moved to the left due to space char

* chore: add changeset file

* fix: input display on a new line when using multi select

* fix: change whitespace from `nowrap` to `pre` to preserve whitespace
* Set ValueContainer display grid if isMulti and has no value

* Prettified
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Remove src directory from published package
* Add missing index prop on MultiValue

* Create small-bobcats-push.md
@ebonow ebonow merged commit caeef29 into ebonow:master Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet