This repository was archived by the owner on Apr 4, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump styled-components from 5.2.3 to 5.3.0 (#474)
Bumps [styled-components](https://github.com/styled-components/styled-components) from 5.2.3 to 5.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/styled-components/styled-components/releases">styled-components's releases</a>.</em></p> <blockquote> <h2>v5.3.0</h2> <ul> <li> <p>Pass <code>elementToBeCreated</code> as a third parameter to <code>shouldForwardProp</code> so that the user-specified function can decide whether to pass through props based on whether the created element will be a tag or another component. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3436">#3436</a>)</p> </li> <li> <p>Fix React Native components accepts function as style prop. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3389">#3389</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/styled-components/styled-components/blob/main/CHANGELOG.md">styled-components's changelog</a>.</em></p> <blockquote> <h2>[v5.3.0] - 2021-05-04</h2> <ul> <li> <p>Pass <code>elementToBeCreated</code> as a third parameter to <code>shouldForwardProp</code> so that the user-specified function can decide whether to pass through props based on whether the created element will be a tag or another component. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3436">#3436</a>)</p> </li> <li> <p>Fix React Native components accepts function as style prop. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3389">#3389</a>)</p> </li> </ul> <h2>[v5.2.2] - 2021-03-30</h2> <ul> <li> <p>For React Native based components, pass <code>testID</code> down to the native component if specified for an easier time testing. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3365">#3365</a>)</p> </li> <li> <p>Enable users of the babel macro to customize the styled-components import with <code>importModuleName</code> (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3422">#3422</a>)</p> </li> <li> <p>[fix] COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3397">#3397</a>)</p> </li> </ul> <h2>[v5.2.1] - 2020-10-30</h2> <ul> <li>Tweak server-side build settings to resolve an issue with jest-dom not being able to pick up generated styles (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3308">#3308</a>) thanks <a href="https://github.com/Lazyuki"><code>@Lazyuki</code></a></li> </ul> <h2>[v5.2.0] - 2020-09-04</h2> <ul> <li> <p>Make sure <code>StyleSheetManager</code> renders all styles in iframe / child windows (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3159">#3159</a>) thanks <a href="https://github.com/eramdam"><code>@eramdam</code></a>!</p> </li> <li> <p>Rework how components self-reference in extension scenarios (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3236">#3236</a>); should fix a bunch of subtle bugs around patterns like <code>& + &</code></p> </li> <li> <p>Fix <code>keyframes</code> not receiving a modified stylis instance when using something like <code>stylis-plugin-rtl</code> (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3239">#3239</a>)</p> </li> <li> <p>Big performance gain for components using <a href="https://styled-components.com/docs/advanced#style-objects">style objects</a> (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3239">#3239</a>)</p> </li> <li> <p>We no longer emit dynamic classNames for empty rulesets, so some className churn may occur in snapshots</p> </li> <li> <p>Preallocate global style placement to ensure cGS is consistently inserted at the top of the stylesheet; note that this is done in <em>runtime order</em> so, if you have multiple cGS that have overlapping styles, ensure they're defined in code in the sequence you would want them injected (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3239">#3239</a>)</p> </li> <li> <p>Add "engines" to package.json (currently set to Node 10, the oldest supported LTS distribution) (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3201">#3201</a>) thanks <a href="https://github.com/MichaelDeBoey"><code>@MichaelDeBoey</code></a>!</p> </li> <li> <p>Allow <code>DISABLE_SPEEDY</code> to be set to <code>false</code> to enable speedy mode in non-production environments (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3289">#3289</a>) thanks <a href="https://github.com/FastFedora"><code>@FastFedora</code></a>!</p> </li> <li> <p>Enable new style rules can be inserted in the middle of existing sheet when rendering on client after rehydrate. <code>GroupIDAllocator</code> is now changed to find <code>nextFreeGroup</code> by checking <code>reverseRegister</code>, instead of setting it to the end of existing groups. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3233">#3233</a>) thanks <a href="https://github.com/mu29"><code>@mu29</code></a>!</p> </li> </ul> <h2>[v5.1.1] - 2020-04-07</h2> <h3>New Functionality</h3> <ul> <li>Implement <code>shouldForwardProp</code> API for native and primitive platforms, which was previously missing in [v5.1.0] (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3107">#3093</a>) This has been released under a patch bump instead of a minor, since it's only been missing from Native-support.</li> </ul> <h3>Bugfixes</h3> <ul> <li>Added <code>useTheme</code> hook to named exports for react-primitives entrypoint (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/2982">#2982</a>) thanks <a href="https://github.com/jladuval"><code>@jladuval</code></a>!</li> <li>Escape every CSS ident character necessary when converting component display names to class names (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3102">#3102</a>) thanks <a href="https://github.com/kripod"><code>@kripod</code></a>!</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/styled-components/styled-components/commit/14e215811b6f14972d57301717670ef330cadcbe"><code>14e2158</code></a> v5.3.0</li> <li><a href="https://github.com/styled-components/styled-components/commit/02ec0d56489aa7341bb3b79820670041cff26c53"><code>02ec0d5</code></a> Fix - add textpath element v5 (<a href="https://github-redirect.dependabot.com/styled-components/styled-components/issues/3461">#3461</a>)</li> <li><a href="https://github.com/styled-components/styled-components/commit/b0a80410aaaae6553e885e022418b45a92ca61ad"><code>b0a8041</code></a> Fix style prop accepts function in native components for v5 (<a href="https://github-redirect.dependabot.com/styled-components/styled-components/issues/3389">#3389</a>)</li> <li><a href="https://github.com/styled-components/styled-components/commit/010f1d79aec9ad662aed5702452fe3bbb2303957"><code>010f1d7</code></a> feat: pass elementToBeCreated to shouldForwardProp (<a href="https://github-redirect.dependabot.com/styled-components/styled-components/issues/3451">#3451</a>)</li> <li>See full diff in <a href="https://github.com/styled-components/styled-components/compare/v5.2.3...v5.3.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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>
- Loading branch information