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

[Stack][joy] Add new component #33800

Merged
merged 2 commits into from Aug 5, 2022
Merged

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Aug 4, 2022

Demo: https://codesandbox.io/s/currying-hooks-2f8di1?file=/demo.tsx

I haven't seen any doc for the system components, so I didn't add one for the Stack too. I guess they will be coming afterwards.

@mnajdova mnajdova added component: Stack The React component. package: joy-ui Specific to @mui/joy labels Aug 4, 2022
@mui-bot
Copy link

mui-bot commented Aug 4, 2022

Details of bundle changes

@mui/joy: parsed: +1.06% , gzip: +1.34%

Generated by 🚫 dangerJS against a8b9f5c

@propG
Copy link

propG commented Aug 4, 2022 via email

@mnajdova mnajdova marked this pull request as ready for review August 5, 2022 08:09
createStyledComponent: styled('div', {
name: 'JoyStack',
slot: 'Root',
overridesResolver: (props, styles) => styles.root,
Copy link
Member

Choose a reason for hiding this comment

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

We might not need this in the future because layout components do not require theming.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was thinking the same thing. Again, I think once we have all components in all packages, we should do a pass and fix inconsistencies/improve them.

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.

❤️ Looks good! @mnajdova

@mnajdova mnajdova merged commit c45c2fa into mui:master Aug 5, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Stack The React component. package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants