chore(deps): update dependency styled-components to ^6.5.1 - #13916
chore(deps): update dependency styled-components to ^6.5.1#13916squiggler-app[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 048ec1a. Configure here.
❌ E2E Tests🟢 111 passed • 🔴 26 failed • 🟡 65 flaky • (⚪ 104 skipped) • view full report • view run Debug failing tests locallySANITY_E2E_PROJECT_ID=ittbm412 \
SANITY_E2E_BASE_URL=https://e2e-studio-4eado1d17.sanity.dev \
SANITY_E2E_DATASET=pr-13916-chromium-31405661782 \
SANITY_E2E_DATASET_CHROMIUM=pr-13916-chromium-31405661782 \
SANITY_E2E_DATASET_FIREFOX=pr-13916-firefox-31405661782 \
pnpm test:e2e --headed \
e2e/tests/desk/defaultPanes.spec.ts \
e2e/tests/document-actions/delete.spec.ts \
e2e/tests/document-actions/discardChanges.spec.ts \
e2e/tests/document-actions/publish.spec.ts \
e2e/tests/document-actions/restore.spec.ts \
e2e/tests/document-actions/unpublish.spec.ts \
e2e/tests/expanded-document/expanded.spec.ts \
e2e/tests/inputs/array.spec.ts \
e2e/tests/enhanced-object-dialog/deepLinkPath.spec.ts \
e2e/tests/inputs/date.spec.ts \
e2e/tests/pte/referencesInPopover.spec.ts \
e2e/tests/releases/displayDocument/DisplayedDocument.spec.ts \
e2e/tests/navbar/createNewDocumentNav.spec.ts \
e2e/tests/navbar/search.spec.ts \
e2e/tests/variants/variantTool.spec.ts \
e2e/tests/vision/vision.spec.ts |
048ec1a to
f58568f
Compare
📦 Bundle Stats —
|
| Metric | Value | vs main (41996fd) | vs v6.9.1 |
|---|---|---|---|
| Internal (raw) | 4.18 MB | - | +12.6 KB, +0.3% |
| Internal (gzip) | 1.03 MB | - | +4.1 KB, +0.4% |
| Bundled (raw) | 12.87 MB | - | -33.5 KB, -0.3% |
| Bundled (gzip) | 3.02 MB | - | -38.4 KB, -1.2% |
| Import time | 1.90s | -42ms, -2.2% | +126ms, +7.1% |
bin:sanity
| Metric | Value | vs main (41996fd) | vs v6.9.1 |
|---|---|---|---|
| Internal (raw) | 7.1 KB | - | - |
| Internal (gzip) | 2.9 KB | - | - |
| Bundled (raw) | 7.1 KB | - | - |
| Bundled (gzip) | 2.8 KB | - | - |
| Import time | 5ms | +0ms, +0.1% | +0ms, +5.7% |
🗺️ View treemap · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
⚡️ Editor Performance ReportUpdated Mon, 10 Aug 2026 16:03:26 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Coverage Report
File CoverageNo changed files found. |
f58568f to
b1d7e4d
Compare
b1d7e4d to
4f0dba0
Compare
ebda214 to
333cc2c
Compare
333cc2c to
c0966cd
Compare
c0966cd to
842dbbc
Compare
842dbbc to
5aa83f5
Compare
5aa83f5 to
220fcea
Compare

This PR contains the following updates:
^6.4.4→^6.5.1Release Notes
styled-components/styled-components (styled-components)
v6.5.1Compare Source
Patch Changes
a0a92cd: Fix a styled component silently dropping props declared as a union whose members have no prop in common, which left every one of those props rejected. The same applied whenaspointed at a component with such props. Where every member's props are optional the union is still flattened, so declare the combined optional shape instead.a0a92cd: Styled components now report the same debug value to React DevTools on every render. Previously the value was only reported on renders that recomputed styles, so it disappeared from the DevTools panel whenever a component re-rendered with unchanged style props.a0a92cd: Fix wrapping a component whose props are a union. Since 6.5.0 the wrapped version accepted only the props common to every member of the union, so a prop belonging to just one member was rejected even though the unwrapped component accepted it.v6.5.0Compare Source
Minor Changes
dfe4baf: React Native components now checkstyleagainst React Native's own style types. Web-only CSS such asfloat, and CSS custom properties such as--brand, were previously accepted even though React Native has never done anything with them at runtime. They now surface as a type error where you write them instead of silently doing nothing.Web components are unaffected and still accept custom properties.
dfe4baf: Declaring your ownstyleprop type now constrains the fields you name while leaving the rest of CSS alone. Previously a declaration likestyled.div<{ style?: { width: number } }>was quietly ignored, because the built-in style type was applied after your props, so any CSS value was still accepted. Nowwidthhas to be a number, whilecolor, custom properties, and everything else you did not mention keep working as before.To remove a field rather than constrain it, declare it as
never. To make your type the only thing accepted, wrap it in the newCustomStylehelper, which removes every field you did not list:The constraint holds when the component is rendered through
asorforwardedAs, so it cannot be sidestepped by rendering the same component as a different tag. Note thatCustomStyleremoves CSS custom properties too, since they are among the fields you did not list.One thing to know if you use
exactOptionalPropertyTypes: on a component that declares its ownstyle, passingstyle={undefined}explicitly is now rejected. Leaving the prop off is unaffected. Writestyle?: { width: number } | undefinedin your declaration if you need to pass it explicitly.Relatedly, reading the style type back off a component (for example with
React.ComponentProps) now reports that CSS custom properties are accepted, which matches what was already allowed when rendering.2949923: Large TypeScript projects type-check dramatically faster. On a 500-component app,tsccheck time drops to under a quarter of what 6.4.4 takes and peak memory to under a third, which resolves the out-of-memory failures some projects hit after upgrading past 6.4.2. Both are now better than 6.4.2 was, so there is no longer a reason to pin to it. Editor responsiveness improves by the same margin, and autocomplete onastargets is unchanged.Patch Changes
dfe4baf: Fixedrefbeing rejected on React Native components created with the shorthand syntax, such asstyled.TextInput. Passing a ref, or a ref callback whose parameter you have not annotated, now works the same way it does withstyled(TextInput).Also fixed a type error when a component's
attrscallback is given an explicit parameter type, as instyled.div.attrs<MyProps>(props => props).dfe4baf: Fixed components built on targets whose props cannot be inspected, such as Mantine's polymorphic components, rejectingchildrenand the target's own props once you added a prop of your own:Wrapping such a target without adding props already worked; adding one turned the permissiveness off. Your own declared props stay strictly typed either way.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here