Version Packages - #35
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 27, 2026 19:37
26d0b0f to
0783aeb
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 28, 2026 00:30
0783aeb to
36dbbb7
Compare
quantizor
approved these changes
Sep 28, 2026
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@styled/typescript-styled-plugin@1.1.0
Minor Changes
9bdd306:
@styled/typescript-styled-plugin/apiis now a public export for bothrequire()andimport(), and the deeplib/apiimports keep working. It adds types for building configuration by hand and for injecting custom language services. Lint settings acceptunknownAtRules, andglobalCss(Pigment CSS) is a default tag. 1.0.1's private underscore-prefixed modules are not included.Thanks to @usercao for the modernization work most of this release builds on.
9bdd306, e13d896: On TypeScript older than 5.0, which the plugin does not support, the TypeScript server log now says that TypeScript 5.0 or newer is required, instead of showing an unexplained activation error.
Thanks usercao!
Patch Changes
9bdd306: Mixin interpolations that share a line with other CSS, such as
color: red; ${mixin}, and values split across lines no longer report falsecolon expectedorsemi-colon expectederrors.Thanks usercao!
9bdd306: Completions now follow plugin configuration changes without a restart. A completion or code fix whose edit would land outside the template is dropped instead of producing a broken edit.
Thanks usercao!
9bdd306: Invalid or misspelled plugin settings are now reported in the TypeScript server log, naming the setting, what it accepts, and the closest match, instead of being ignored silently. Common spellings such as
"off","warn", and"Error"for lint levels are now accepted.Thanks usercao!
9bdd306: Errors are placed more accurately and appear in more cases:
}or;is always reported, underlined where it is written.;or}inside a comment or an unquotedurl()no longer causes a falsecolon expected.styled.keyframestemplates are checked as keyframes.getTemplateSettings().getSubstitutionsfrom./apikeeps its output the same length as its input for any spans.Thanks usercao!
9bdd306: Diagnostics and hover are faster in large files and in templates with many interpolations. Results for unchanged templates are reused across requests, using at most 4 MB of memory per project.
Thanks usercao!
9bdd306, e13d896: Emmet no longer offers whole declarations where none fit, such as inside a value: typing
display: flused to offerfloat: left;. Completions no longer appear inside CSS comments and strings, and an empty template now offers property suggestions. Emmet suggestions now also appear on a line that starts after a lone carriage return, a line continuation, or a line separator inside a string.Thanks usercao!
9bdd306: Interpolations in property names (
padding-${side}: 4px;), at-rule conditions (@media screen and ${query} {), selectors (&.${className}:hover {), and keyframe percentages (${step}% {) no longer report false errors, including when a nearby comment or string holds a;or{, or a comment sits before the{or:. 1.0.1 reported these errors as well.Thanks usercao!
9bdd306: Templates are checked as the CSS styled-components actually receives, with JavaScript escapes such as
\",\n, and\x41read as the characters they stand for. Escapes in strings, names, andurl()no longer report false errors, and an error on an escaped name underlines the whole escape. 1.0.1 reported these errors as well.Thanks usercao!
e13d896: Interpolations written across several lines are now checked the same as when written on one line, removing false errors and wrong completions when one sits in a property name, an at-rule such as
@mediaor@keyframes, aurl(), a quoted string, or a comment. An interpolation insideurl()followed by more text, such asurl(#${id}-grad), no longer reports a false error either. 1.0.1 reported these errors as well.9bdd306: Typing
@inside a component now suggests the at-rules that work there, such as@media,@container,@layer, and@keyframes, with their documentation.Thanks usercao!
9bdd306: A
@layerblock with declarations directly inside a component, such as@layer utilities { color: red; }, no longer reports a false{ expected. A component and a global style with the same text no longer share results.Thanks usercao!
9bdd306: An unexpected error inside the plugin, or malformed plugin configuration, is logged instead of failing the editor's whole response for the file, so TypeScript's own diagnostics and completions keep working.
Thanks usercao!
9bdd306: A
cssfragment holding a single value, such ascss`1px solid red`, is checked as a value instead of reporting a false} expected, and offers value completions.Thanks usercao!