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] Add button loading functionality #34658

Merged
merged 4 commits into from Oct 10, 2022

Conversation

kushagra010
Copy link
Contributor

@kushagra010 kushagra010 commented Oct 8, 2022

@mui-bot
Copy link

mui-bot commented Oct 8, 2022

Details of bundle changes

@mui/joy: parsed: +0.41% , gzip: +0.41%

Generated by 🚫 dangerJS against f7bfd5e

@siriwatknp siriwatknp added component: button This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy labels Oct 10, 2022
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.

👍 Thanks for initiating the PR!

There are some changes that I decided to simplify

  • I don't think the loading indicator slot is needed for positions start and end. It is simpler to just render the CircularProgress as if it is a decorator.
  • Having only the loadingIndicatorCenter slot because it must have absolute position to make it work.
  • Simplify CSS and reduce hard-coded values.
  • Split demos into 2 parts, the loading and the loadingPosition.

@hbjORbj hbjORbj merged commit daed91d into mui:master Oct 10, 2022
alexfauquette pushed a commit to alexfauquette/material-ui that referenced this pull request Oct 14, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
feliperli pushed a commit to jesrodri/material-ui that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add LoadingButton component analogous for Joy UI
4 participants