This functionality allows the composer to specify alternate import locations for the "styled" constructor, for instance if you are using a third party library that wraps styled-components and does additional processing. See this test for how to use it.
preserve structure of JSX member expressions in generated ast nodes; this makes sure that other babel transformations that rename variables will be able to process the ast nodes created by this plugin. fixes #240
v1.11.1
Revert #283, it caused a major build performance regression
emit styled('tag') instead of styled.tag for css prop (#266); this handles if the given tag is not in the dom elements whitelist yet in styled-components proper
Fix import-seeking loop regression (introduced in 1.10.3) that can occur when running the babel plugin over ESM files without a styled import, #234 thanks @ZauberNerd
v1.10.5
Thanks to @ZauberNerd for figuring out an edge case with import detection in the "css" prop handling code (was causing some stalled compliations in certain project setups) #233
v1.10.4
Fix for babel type checks potentially not existing due to older versions being used via package manager resolution 64d9b9224f90e0ae5e12cccf38eb854f2b0af416
v1.10.3
do not try to transpile things we don't own (#230)
customize css prop component injection depending on use case (#228)
This version was pushed to npm by probablyup, a new releaser for babel-plugin-styled-components since your current version.
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps babel-plugin-styled-components from 1.2.0 to 1.12.0.
Release notes
Sourced from babel-plugin-styled-components's releases.
Commits
8537e1d
Merge pull request #311 from styled-components/gh-actions52a1543
Merge remote-tracking branch 'origin/master' into gh-actionsfeb1459
switch to github actions4b11834
Merge pull request #298 from sfishel18/fix/handle-jsx-member-expressionsd6dd8b3
Merge branch 'master' into fix/handle-jsx-member-expressions96f11eb
Revert "recurse when the argument is object expression (#301)" (#302)7c59b60
Support styled as a named export (#295)3e2a1a2
Merge branch 'master' into fix/handle-jsx-member-expressions2580a05
recurse when the argument is object expression (#301)83e2365
preserve structure of JSX member expressions in generated ast nodesMaintainer changes
This version was pushed to npm by probablyup, a new releaser for babel-plugin-styled-components since your current version.
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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)