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

[Joy] Replace row prop with orientation prop in all Joy UI components #35721

Merged
merged 18 commits into from Jan 24, 2023

Conversation

hbjORbj
Copy link
Member

@hbjORbj hbjORbj commented Jan 3, 2023

This PR includes:

  • replacing row prop (of boolean type) with orientation prop (of type 'horizontal' or 'vertical') in Card, List, RadioGroup and some internal components relevant to RadioGroup
  • replacing row prop with orientation prop in instances of components in Joy demos
  • making sure that all Joy UI components that have orientation prop to have either vertical or horizontal classname
  • Codemod script that transforms the prop only for Joy UI components

@hbjORbj hbjORbj changed the title [Joy] Rename row prop to orientation in all Joy UI components [Joy] Replace row prop with orientation prop in all Joy UI components Jan 3, 2023
@hbjORbj hbjORbj self-assigned this Jan 3, 2023
@hbjORbj hbjORbj added breaking change package: joy-ui Specific to @mui/joy enhancement This is not a bug, nor a new feature labels Jan 3, 2023
@hbjORbj hbjORbj changed the title [Joy] Replace row prop with orientation prop in all Joy UI components Draft: [Joy] Replace row prop with orientation prop in all Joy UI components Jan 3, 2023
@mui-bot
Copy link

mui-bot commented Jan 3, 2023

Messages
📖 Netlify deploy preview: https://deploy-preview-35721--material-ui.netlify.app/

@mui/joy: parsed: +0.17% , gzip: +0.05%

Details of bundle changes

Generated by 🚫 dangerJS against a2988d7

@hbjORbj hbjORbj changed the title Draft: [Joy] Replace row prop with orientation prop in all Joy UI components [Joy] Replace row prop with orientation prop in all Joy UI components Jan 3, 2023
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

@hbjORbj Can you check Argos change again? I look wrong to me.

@siriwatknp siriwatknp added this to the Joy UI stable release milestone Jan 11, 2023
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 19, 2023
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 23, 2023
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

👍 Fixed the visual regression.

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

@hbjORbj Please recheck the docs and replace row with orientation, e.g. in https://deploy-preview-35721--material-ui.netlify.app/joy-ui/react-list/#horizontal-list.

@hbjORbj
Copy link
Member Author

hbjORbj commented Jan 24, 2023

👍 Fixed the visual regression.

Can't understand why I couldn't spot them. Thanks Thanks :)

Please recheck the docs and replace row with orientation, e.g. in https://deploy-preview-35721--material-ui.netlify.app/joy-ui/react-list/#horizontal-list.

Done!

@hbjORbj hbjORbj enabled auto-merge (squash) January 24, 2023 10:35
@hbjORbj hbjORbj disabled auto-merge January 24, 2023 10:35
@hbjORbj hbjORbj merged commit eb8ca56 into mui:master Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement This is not a bug, nor a new feature package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants