dependabot[bot] opened a new pull request #17054: URL: https://github.com/apache/superset/pull/17054
Bumps [react-select](https://github.com/JedWatson/react-select) from 3.1.0 to 5.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JedWatson/react-select/releases">react-select's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://github.com/JedWatson/react-select/commit/8b38d49b4a779c653f70b502a61f7c64220fa44d">8b38d49b</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4807">#4807</a> Thanks <a href="https://github.com/hcharley"><code>@hcharley</code></a>! - Export AsyncCreatableProps from creatable entrypoint</p> </li> <li> <p><a href="https://github.com/JedWatson/react-select/commit/46eeda1a6829af168ae24b49a251d12e410706ab">46eeda1a</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4801">#4801</a> Thanks <a href="https://github.com/Methuselah96"><code>@Methuselah96</code></a>! - Export more types from main entry point</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/JedWatson/react-select/commit/fdd01e664400b684b83c2b1c629bd3c76b152236">fdd01e66</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4833">#4833</a> Thanks <a href="https://github.com/ebonow"><code>@ebonow</code></a>! - Value container display property should be grid when isMulti and has no value so the Placeholder component is positioned correctly with the Input</p> </li> <li> <p><a href="https://github.com/JedWatson/react-select/commit/0937604ffcec5d56dd4918ae728feee345e1c78c">0937604f</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4823">#4823</a> Thanks <a href="https://github.com/mikunpham"><code>@mikunpham</code></a>! - Fix the issue where input contents are moved to the left due to multiple space characters.</p> </li> <li> <p><a href="https://github.com/JedWatson/react-select/commit/ec80b577665f2bd9b2cff9d7ca34723b6b65e5b8">ec80b577</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4803">#4803</a> Thanks <a href="https://github.com/Methuselah96"><code>@Methuselah96</code></a>! - Import CSSObject from <code>@emotion/react</code> instead of <code>@emotion/serialize</code></p> </li> </ul> <h2>[email protected]</h2> <h1>Upgrade Guide</h1> <h2>Summary</h2> <ul> <li>Convert to TypeScript (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4489">#4489</a>) - TypeScript types now come packaged with <code>react-select</code> so you no longer need to have <code>@types/react-select</code> installed; we no longer include Flow types</li> <li>Drop IE11 support (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4625">#4625</a>, <a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4720">#4720</a>, <a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4634">#4634</a>) - this allows us to make changes to our CSS that we've wanted to make for a long time as well as remove unnecessary JS solutions (those changes are noted below)</li> <li>Use <code>forwardRef</code> for all wrapped components (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4489">#4489</a>) - this means that if you were accessing anything on the <code>Select</code> instance using a <code>ref</code>, the <code>ref</code> will now reference the internal <code>Select</code> directly (see below for how to upgrade)</li> <li>Replace HOCs with hooks (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4489">#4489</a>) - if you were using our HOCs to create custom <code>Select</code>s (i.e., <code>makeCreatableSelect</code>, <code>mangeState</code>, <code>makeAsyncSelect</code>) these have now been replaced by hooks (i.e., <code>useCreatable</code>, <code>useStateManager</code>, <code>useAsync</code>)</li> <li>Remove dependency on <a href="https://github.com/JedWatson/react-input-autosize">AutosizeInput</a> (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4625">#4625</a>) - our new solution uses CSS grid which IE11 does not fully support; also <code>.prefix__input</code> now targets the input and NOT the container</li> <li>Improve screen reader experience (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4676">#4676</a>) - this isn't a breaking change in the API but it does change the screen reader announcements</li> <li>Use CSS grid for single value layout (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4720">#4720</a>) - this also isn't a breaking change in the API but is it a change in the styles since it switches to using CSS grid (not fully supported by IE11) for single-value <code>Select</code>s</li> <li>Remove <code>readonly</code> attribute on our <code>DummyInput</code> (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4634">#4634</a>) - this results in better accessibility but uses <code>caret-color</code> which is not available on IE11</li> </ul> <h2>Details</h2> <h3>Convert to TypeScript</h3> <p>We've rewritten <code>react-select</code> in TypeScript which means you can remove any dependencies on <code>@types/react-select</code>. If you were using the Flow types than look into contributing types for v5 to <code>flow-typed</code>.</p> <p>Here are the most notable changes when replacing <code>@types/react-select</code> with our packaged types:</p> <table> <thead> <tr> <th><code>@types/react-select</code></th> <th>react-select</th> <th>Notes</th> </tr> </thead> <tbody> <tr> <td><code>OptinTypeBase</code></td> <td>no replacement</td> <td>Options can be any type (if using <code>getOptionValue</code> and <code>getOptionLabel</code>) so there's no longer a base type for options</td> </tr> <tr> <td><code>OptionsType</code></td> <td><code>Options</code></td> <td></td> </tr> <tr> <td><code>GroupTypeBase</code></td> <td><code>GroupBase</code></td> <td></td> </tr> <tr> <td><code>GroupedOptionsType</code></td> <td>no replacement</td> <td>This is equivalent to <code>ReadonlyArray<Group></code></td> </tr> <tr> <td><code>ValueType</code></td> <td><code>OnChangeValue</code></td> <td></td> </tr> <tr> <td><code>InputActionTypes</code></td> <td><code>InputAction</code></td> <td></td> </tr> <tr> <td><code>NamedProps</code></td> <td><code>Props</code></td> <td></td> </tr> <tr> <td><code>Select</code> (the <code>ref</code> type)</td> <td><code>SelectInstance</code></td> <td>See "Use <code>forwardRef</code> for all wrapped components" for more details</td> </tr> <tr> <td><code>AsyncSelect</code> (the <code>ref</code> type)</td> <td><code>SelectInstance</code></td> <td>See "Use <code>forwardRef</code> for all wrapped components" for more details</td> </tr> <tr> <td><code>CreatableSelect</code> (the <code>ref</code> type)</td> <td><code>SelectInstance</code></td> <td>See "Use <code>forwardRef</code> for all wrapped components" for more details</td> </tr> <tr> <td><code>AsyncCreatableSelect</code> (the <code>ref</code> type)</td> <td><code>SelectInstance</code></td> <td>See "Use <code>forwardRef</code> for all wrapped components" for more details</td> </tr> </tbody> </table> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md">react-select's changelog</a>.</em></p> <blockquote> <h1><code>@react-select/docs</code></h1> <h2>3.1.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/JedWatson/react-select/commit/638f545517d320fe70ca954511a71e96956abae3">638f5455</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4702">#4702</a> Thanks <a href="https://github.com/Methuselah96"><code>@Methuselah96</code></a>! - The Option generic is no longer required to extend the OptionBase type</p> </li> <li> <p>Updated dependencies [10225290]:</p> </li> <li> <p>Updated dependencies [53f1972b]:</p> </li> <li> <p>Updated dependencies [b41f4ceb]:</p> </li> <li> <p>Updated dependencies [4b028829]:</p> </li> <li> <p>Updated dependencies [7fcec537]:</p> </li> <li> <p>Updated dependencies [ca2c0e5b]:</p> </li> <li> <p>Updated dependencies [9e82aadc]:</p> </li> <li> <p>Updated dependencies [638f5455]:</p> </li> <li> <p>Updated dependencies [23cea0b5]:</p> </li> <li> <p>Updated dependencies [ef87c3ac]:</p> <ul> <li>react-select@undefined</li> </ul> </li> </ul> <h2>3.1.1-beta.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/JedWatson/react-select/commit/638f545517d320fe70ca954511a71e96956abae3">638f5455</a> <a href="https://github-redirect.dependabot.com/JedWatson/react-select/pull/4702">#4702</a> Thanks <a href="https://github.com/Methuselah96"><code>@Methuselah96</code></a>! - The Option generic is no longer required to extend the OptionBase type</p> </li> <li> <p>Updated dependencies [10225290]:</p> </li> <li> <p>Updated dependencies [53f1972b]:</p> </li> <li> <p>Updated dependencies [b41f4ceb]:</p> </li> <li> <p>Updated dependencies [7fcec537]:</p> </li> <li> <p>Updated dependencies [9e82aadc]:</p> </li> <li> <p>Updated dependencies [638f5455]:</p> <ul> <li>react-select@undefined</li> </ul> </li> </ul> <h2>3.1.1-beta.0</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [4b028829]:</li> <li>Updated dependencies [ef87c3ac]: <ul> <li>react-select@undefined</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/JedWatson/react-select/commit/c1ffcd61224b2db8b5582f24394b901f19271877"><code>c1ffcd6</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4838">#4838</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/fdd01e664400b684b83c2b1c629bd3c76b152236"><code>fdd01e6</code></a> Set ValueContainer display grid if isMulti and has no value (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4833">#4833</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/0937604ffcec5d56dd4918ae728feee345e1c78c"><code>0937604</code></a> fix: input contents are moved to the left due to space char (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4823">#4823</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/8b38d49b4a779c653f70b502a61f7c64220fa44d"><code>8b38d49</code></a> feat(<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4806">#4806</a>): export AsyncCreatableProps from AsyncCreatable.tsx (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4807">#4807</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/ec80b577665f2bd9b2cff9d7ca34723b6b65e5b8"><code>ec80b57</code></a> Import CSSObject from <code>@emotion/react</code> instead of <code>@emotion/serialize</code> (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4803">#4803</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/18454604836511a3f6ca8a67c2d8b5c497fdbc59"><code>1845460</code></a> Add note about importing from the src directory to the upgrade guide (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4802">#4802</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/46eeda1a6829af168ae24b49a251d12e410706ab"><code>46eeda1</code></a> Export more types from main entry point (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4801">#4801</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/39cfae131efd726820d5da81875af6cfd45b3542"><code>39cfae1</code></a> Add template chooser configuration (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4709">#4709</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/23517d1e62f9371d795dd3ccd6746c7f1e4b55ee"><code>23517d1</code></a> Fix "Props" documentation page not loading types (<a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4810">#4810</a>)</li> <li><a href="https://github.com/JedWatson/react-select/commit/a4de91cd73132354afeb86041020caf8200b437a"><code>a4de91c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/JedWatson/react-select/issues/4783">#4783</a> from JedWatson/changeset-release/master</li> <li>Additional commits viewable in <a href="https://github.com/JedWatson/react-select/compare/[email protected]@5.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
