Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[codemod] Add styled v6 transformation #41743

Merged
merged 39 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
093404c
add styled-v6 codemod
siriwatknp Apr 1, 2024
0f81f66
wip
siriwatknp Apr 1, 2024
6cc8632
wip
siriwatknp Apr 2, 2024
237b9d8
wip
siriwatknp Apr 2, 2024
a7175ae
wip
siriwatknp Apr 2, 2024
e776ae8
add BasicStyled test case
siriwatknp Apr 2, 2024
09290ff
add NestedSpread test case
siriwatknp Apr 2, 2024
36bc898
add more tests
siriwatknp Apr 2, 2024
b76c90d
remove empty lines
siriwatknp Apr 3, 2024
88288ef
add commend
siriwatknp Apr 3, 2024
65d98d1
Merge branch 'next' of https://github.com/mui/material-ui into codemo…
siriwatknp Apr 4, 2024
9fcba16
cover empty arg properties
siriwatknp Apr 4, 2024
0a32666
support !! case
siriwatknp Apr 4, 2024
6c109cc
fix line remover
siriwatknp Apr 4, 2024
ce86877
support logical styled
siriwatknp Apr 4, 2024
f285341
fix line break logic
siriwatknp Apr 4, 2024
084f628
support conditional styled
siriwatknp Apr 9, 2024
6832a86
fix conditional styled
siriwatknp Apr 9, 2024
39bd553
update expected test
siriwatknp Apr 9, 2024
01e02bd
add counter to prevent infinite loop
siriwatknp Apr 9, 2024
603110c
adds extra newlines if transformed
siriwatknp Apr 9, 2024
ca6a54c
update conditional styled transformation
siriwatknp Apr 9, 2024
a64d139
add another conditional styled case
siriwatknp Apr 9, 2024
1a5f547
add readme
siriwatknp Apr 10, 2024
1ce6804
Merge branch 'next' of https://github.com/mui/material-ui into codemo…
siriwatknp Apr 10, 2024
3331e6c
fix lint
siriwatknp Apr 10, 2024
26b41cf
fix lint
siriwatknp Apr 11, 2024
ad0064f
Merge branch 'next' of https://github.com/mui/material-ui into codemo…
siriwatknp Apr 11, 2024
a8f1177
Merge branch 'next' of https://github.com/mui/material-ui into codemo…
siriwatknp Apr 12, 2024
12ca873
fix parentheses
siriwatknp Apr 12, 2024
58ccc15
extract arrowFunction util
siriwatknp Apr 12, 2024
b48a24e
add theme palette mode test case
siriwatknp Apr 12, 2024
ae4a641
wip
siriwatknp Apr 12, 2024
e880944
Merge branch 'next' of https://github.com/mui/material-ui into codemo…
siriwatknp Apr 17, 2024
c9e1ff6
fix readme
siriwatknp Apr 17, 2024
9876ccb
support complex theme.palette.mode styles
siriwatknp Apr 17, 2024
b508458
fix duplicate prop
siriwatknp Apr 17, 2024
8fbaf40
add variant and mode styled test case
siriwatknp Apr 17, 2024
83d052b
Merge branch 'next' of https://github.com/mui/material-ui into codemo…
siriwatknp Apr 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/mui-codemod/src/v6.0.0/styled/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './styled-v6';
Loading
Loading