Colour-Contrast-Checker
Colour-Contrast-Checker copied to clipboard
⬆️ Bump styled-components from 5.3.9 to 6.0.3
Bumps styled-components from 5.3.9 to 6.0.3.
Release notes
Sourced from styled-components's releases.
v6.0.3
What's Changed
- fix: StyleSheetManager missing Stylis types by
@MattIPv4in styled-components/styled-components#4078New Contributors
@MattIPv4made their first contribution in styled-components/styled-components#4078Full Changelog: https://github.com/styled-components/styled-components/compare/v6.0.2...v6.0.3
v6.0.2
What's Changed
- fix: StyleSheetManager must accept undefined props by
@gineikain styled-components/styled-components#4069- fix: replace slow Omit type by
@gineikain styled-components/styled-components#4068- drop
displayNamein production to save bytes, it's already present in the static className if you're using the babel plugin or equivalent- refactor use of
flatMapandatwith ES5-compliant variantsNew Contributors
@gineikamade their first contribution in styled-components/styled-components#4069Full Changelog: https://github.com/styled-components/styled-components/compare/v6.0.1...v6.0.2
v6.0.1
Fixed an issue where a dev-time warning was being triggered too eagerly.
Full Changelog: https://github.com/styled-components/styled-components/compare/v6.0.0...v6.0.1
v6.0.0
yarn add styled-componentsChanged in this version
- fix(types): prevent prop bleed on styling properties (fixes #4053, c0f8015af64367938ff9d9debf90fb8005459c6c)
- feat(types): ship csstype via "CSS" namespace (e6c4f0a6b1a1c483cf0c433f0d0434bbda124d2c)
- chore: bump stylis to 4.3 (fixes #4007, fa58875dcbdbff43532c3b9519eb5fc7d009830d)
- reduced some sources of unnecessary branching logic
Breaking changes in v6
Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6
- now using
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version)- styled-components now provides its own types; if you installed
@types/styled-componentsin the past, you'll want to remove it- dropped
$asand$forwardedAsprops (useasorforwardedAs)- dropped automatic prop filtering; use transient props (
$prefix) for stuff you don't want to be passed to child component / HTMLStyleSheetManager
- replaced
disableVendorPrefixeswithenableVendorPrefixesprop- dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
<StyleSheetManager enableVendorPrefixes>
... (truncated)
Commits
0c63d7cchore: v6.0.3 [skip ci]36f5793fix: StyleSheetManager missing Stylis types (#4078)b1ae011v6.0.29ae5e47refactor: omit displayName for productionc5f9f92chore: bump lockfile9e41fe1refactor: es5-ify flatMapfc37542refactor: fix remaining type issuef0762b3refactor: remove use of at() APIe28161crefactor: simplify code slightly3ddd2a6fix: replace slow Omit type- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)