chore(deps): bump babel-plugin-styled-components to 2.3.0#103
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): bump babel-plugin-styled-components to 2.3.0#103renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
e066c29 to
88de2f5
Compare
88de2f5 to
4125cd0
Compare
4125cd0 to
30caf22
Compare
30caf22 to
cdfb7d6
Compare
cdfb7d6 to
5a62ade
Compare
5a62ade to
b832760
Compare
b832760 to
b240c65
Compare
b240c65 to
d9f2044
Compare
ec892e5 to
040b70f
Compare
040b70f to
ba278fb
Compare
ba278fb to
263036f
Compare
263036f to
8dbd53a
Compare
8dbd53a to
45005f4
Compare
45005f4 to
c794b01
Compare
c794b01 to
1b753b5
Compare
1b753b5 to
5f9bb95
Compare
5f9bb95 to
0472b6f
Compare
c4f0717 to
f4473ad
Compare
f4473ad to
3374bf5
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.13.3→2.3.0Release Notes
styled-components/babel-plugin-styled-components (babel-plugin-styled-components)
v2.3.0Compare Source
Minor Changes
0c5f21d: Add acssPropImportPathoption to control which package the css-prop transform auto-importsstyledfrom when the file has no existing styled import. Defaults to'styled-components'(existing behavior). React Native targets can set it to'styled-components/native'so the auto-injected import resolves to the right runtime.0c5f21d: Detect styled declarations that go through a local alias of the import, including the TypeScript theme-typing patternconst styled = baseStyled as ThemedStyledInterface<MyTheme>. After type-stripping Babel sees a plainconst styled = baseStyled, and the detector now follows single-identifier alias chains sostyled.divresolves back to the original import.Patch Changes
0c5f21d: Fix invalid output when acss={{ ... }}object key matches a local binding name (e.g.({ position }) => <div css={{ position: 'absolute' }} />). The reducer no longer mis-treats non-computed property names as scope references, so plain keys stay literal while only computed[expr]keys are extracted as prop interpolations.0c5f21d: Recognize TypeScript's__importDefaultinterop helper alongside Babel's_interopRequireDefault. Files compiled throughtsc/ts-jest(which emitvar sc_1 = __importDefault(require('styled-components'))) now flow into the same detection path as Babel-compiled output, so styled declarations downstream pick updisplayNameandcomponentIdas expected.v2.2.0Compare Source
Minor Changes
a40e3f7: Refresh the toolchain and fix a handful of css-prop transform bugs that had crept in under recent Babel versions.styledand also uses one or morecss={…}props, every styled component now keeps its display name and stable component id. Previously the cache that tracks the local default import could be overwritten on each css-prop usage, which silently dropped the display name and id for the surroundingstyled.divdeclarations.css={{ [foo]: bar }}with a non-primitive value no longer fails Babel's validator. Computed keys are preserved through the css-prop object rewrite.ReferenceError.lodashdependency. The plugin now ships with@babel/coreas a declared peer.v2.1.4Compare Source
Full Changelog: styled-components/babel-plugin-styled-components@v2.1.3...v2.1.4
v2.1.3Compare Source
What's Changed
911fc09)New Contributors
Full Changelog: styled-components/babel-plugin-styled-components@v2.1.1...v2.1.3
v2.1.2Compare Source
v2.1.1Compare Source
What's Changed
New Contributors
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.7...v2.1.1
v2.1.0Compare Source
v2.0.7Compare Source
What's Changed
New Contributors
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.6...v2.0.7
v2.0.6Compare Source
Revert change from 2.0.5 that lead to a major build performance regression.
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.5...v2.0.6
v2.0.5Compare Source
One more change related to babel macro; eliminates an extra injected import in some cases
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.4...v2.0.5
v2.0.4Compare Source
fix compat with styled-components babel macro
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.3...v2.0.4
v2.0.3Compare Source
What's Changed
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.2...v2.0.3
v2.0.2Compare Source
What's Changed
New Contributors
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.1...v2.0.2
v2.0.1Compare Source
What's Changed
Full Changelog: styled-components/babel-plugin-styled-components@v2.0.0...v2.0.1
v2.0.0Compare Source
What's Changed
Full Changelog: styled-components/babel-plugin-styled-components@v1.13.3...v2.0.0
Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.