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

[Separator] Support vertical orientation #1304

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

mj12albert
Copy link
Member

@mj12albert mj12albert commented Jan 8, 2025

Closes #1303
Prerequisite for Toolbar #661

@mj12albert mj12albert added component: separator This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature labels Jan 8, 2025
@mj12albert mj12albert marked this pull request as ready for review January 8, 2025 09:24
@mui-bot
Copy link

mui-bot commented Jan 8, 2025

Netlify deploy preview

https://deploy-preview-1304--base-ui.netlify.app/

Generated by 🚫 dangerJS against d7d5697

@mj12albert mj12albert force-pushed the feat/separator-orientation branch from 64fcc31 to ad24d62 Compare January 8, 2025 09:29
@@ -18,7 +18,7 @@ export default function ExampleSeparator() {
Support
</a>

<Separator className={styles.Separator} />
<Separator orientation="vertical" className={styles.Separator} />
Copy link
Member Author

Choose a reason for hiding this comment

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

These are actually vertical but incorrectly defaulted to horizontal before

@mj12albert mj12albert force-pushed the feat/separator-orientation branch from ad24d62 to 8334bd0 Compare January 8, 2025 09:40
@mj12albert mj12albert force-pushed the feat/separator-orientation branch from 8334bd0 to e1132e3 Compare January 8, 2025 09:42
Copy link
Contributor

@atomiks atomiks left a comment

Choose a reason for hiding this comment

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

"The orientation of the separator" might work better than "The component orientation."?

@mj12albert mj12albert merged commit cda90e5 into mui:master Jan 8, 2025
23 checks passed
@mj12albert mj12albert deleted the feat/separator-orientation branch January 8, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: separator This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Separator] Support vertical orientation
3 participants