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

Migrate colour layout #585

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Migrate colour layout #585

merged 2 commits into from
Oct 8, 2024

Conversation

mahidhar-reddy09
Copy link

Codemod Scripts to migrate colour and layout components.

@mahidhar-reddy09 mahidhar-reddy09 requested a review from qroll October 3, 2024 07:54
codemods/migrate-colour/index.ts Outdated Show resolved Hide resolved
codemods/migrate-colour/index.ts Outdated Show resolved Hide resolved
if (
j.JSXMemberExpression.check(name) &&
j.JSXIdentifier.check(name.object) &&
name.object.name === IMPORT_SPECIFIERS.LAYOUT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should only apply to uses of Layout.ColDiv

Comment on lines 3 to 4
tabletCols: "lgCols",
mobileCols: "smCols",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tabletCols: "lgCols",
mobileCols: "smCols",
tabletCols: "mdCols",
mobileCols: "xxsCols",

@mahidhar-reddy09 mahidhar-reddy09 requested a review from qroll October 8, 2024 13:13
@qroll qroll merged commit 182fe03 into v3 Oct 8, 2024
1 check failed
@qroll qroll deleted the migrate-colour-layout branch October 8, 2024 14:26
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.

2 participants