Skip to content

Conversation

@interim17
Copy link
Contributor

Time estimate or Size

small

Problem

Import resolution of viewer stylesheet is broken, for some reason the fix in the viewer triggered breaking changes related the typing of the styled-components theme.

Viewer fix PR
simularium/simularium-viewer#496

Solution

Remove @types/styled-components because v6 is TS native.
Remove DefaultTheme, export our own ThemedProps type for use in styled components.

This will be broken until patched with the new viewer.

  • Bug fix (non-breaking change which fixes an issue)

@interim17 interim17 marked this pull request as ready for review June 10, 2025 20:58
@interim17 interim17 requested a review from a team as a code owner June 10, 2025 20:58
@interim17 interim17 requested review from meganrm and tyler-foster and removed request for a team June 10, 2025 20:58
@github-actions
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 67.47% 728/1079
🟡 Branches 67.07% 110/164
🔴 Functions 35.9% 98/273
🟡 Lines 65.56% 651/993

Test suite run success

137 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from 3993ccd

@interim17 interim17 requested review from ascibisz and removed request for tyler-foster June 10, 2025 21:03
@interim17 interim17 merged commit db75e72 into main Jun 18, 2025
6 checks passed
@interim17 interim17 deleted the fix/sc-types branch June 18, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants