[LoadingButton] Introduce new component#21389
Conversation
|
@material-ui/lab: parsed: +4.18% , gzip: +3.11% Details of bundle changes.Comparing: c4351c6...98b6c6c Details of page changes
|
|
Would |
oliviertassinari
left a comment
There was a problem hiding this comment.
Much better than my first iteration
Co-authored-by: Olivier Tassinari <[email protected]>
Co-authored-by: Olivier Tassinari <[email protected]>
Co-authored-by: Olivier Tassinari <[email protected]>
Co-authored-by: Olivier Tassinari <[email protected]>
eps1lon
left a comment
There was a problem hiding this comment.
This should go in the lab first.
@eps1lon that makes sense. Should we leave the examples on the Buttons page, or create a new page under lab for the Busy buttons? |
@mnajdova "on the same page" is a viable option, for instance: |
Ok, will leave the examples then as they were. |
|
When will this be released? Or is it already released? If so, in which version? |
|
It was released in v5.0.0-alpha.1 |
|
just curious, will it be a new component in a library or it will be replacement for the |
|
New component |

Inspired by #17810
Closes #7223
Some considerations:
pendingIndicatorPositionfor allowing customers to specify where thependingIndicatorwill be shown: 'start' | 'center' | 'end'. It is replacing respectively thestartIcon,childrenor theendIconpart.pendingIndicatorisCircularProgressButtonto disabled if it is in pending state, although this means that the contained buttons will end up with the grey disabled background.. Not sure if this is expected, but I am open for other ideaspendingIndicatoris absolutely positioned inside theButton, depending on thependingIndicatorPositionprop, in order to avoid width changes of theButtonBenchmark
The implementation was benchmarked with the following sources. I have noticed that the loading and disabled states are often styled independently.
Evergreen

Blueprint

Vuetify

Cosmos

Antd

Element

Sancho

SemanticUI

Quasar

Base UI

Atlaskit
