Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
component: Add indeterminate state icon and show checkmark for the co…
…mbination of disabled + checked (#3008) <!--- TITLE FORMAT: "component: short description", e.g. "k8s: add pod log reader" --> ### Description #### Indeterminate state When adding an indeterminate state to the checkbox, it would default to the MUI styles which looked off. Now the indeterminate state looks in line with the rest of the states. ##### Before <img width="47" alt="image" src="https://github.com/lyft/clutch/assets/107066142/431ea56c-200d-42f4-be8d-68927e0cddea"> ##### After <img width="47" alt="image" src="https://github.com/lyft/clutch/assets/107066142/cfaccea1-3155-4d54-a713-7d31808b35d1"> #### Disabled + checked Also, the combination of disabled + checked shows the checkmark in white, this is especially useful to indicate that either the selected item was successfully affected by a user-driven action, or that an item was successfully preselected from a form. ##### Before <img width="46" alt="image" src="https://github.com/lyft/clutch/assets/107066142/ba111f78-6900-478b-84e1-4ccd6eec70eb"> ##### After <img width="45" alt="image" src="https://github.com/lyft/clutch/assets/107066142/c9b0d373-cf2e-459e-9a0f-6c0a05b3a49a"> ### Testing Performed I tested the component by using it in an internal UI.
- Loading branch information