-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Alert] Introduce new component #18702
Conversation
@material-ui/core: parsed: 0.00% 😍, gzip: +0.53% Details of bundle changes.Comparing: a07f180...5795edc
|
I have a problem with a test failure in |
@r3dm1ke Is the fail related to the new colors in the palette? What if we handle it in another effort? |
d575772
to
1fefeda
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cool - I removed AlertIcon in bb5d4c6 and instead used a |
in 1d3d053 I did a similar treatment for the AlertClose. Now, the |
in 1b50dd1 I addressed a functionality concern about wrapping in |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Do AltertTitle and AlertDescription add enough value to exist as standalone components, being just a thin wrapper around Typography? Your suggestion to just use Typography directly gives the developer more control of the styling (absent an alert component to follow in the MD spec). |
Good questions, I don't know. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-Authored-By: Olivier Tassinari <olivier.tassinari@gmail.com>
84e233c
to
4eda958
Compare
4eda958
to
8bbebeb
Compare
fc6ece7
to
088cf5d
Compare
looking like we're pretty close to a minimally viable component for the lab! is there anything else here we have in mind to do? @oliviertassinari @r3dm1ke @mbrookes? |
I think that we are good to go. @mbrookes has uncovered an interesting topic on title vs Tooltip usage, but it's leaking from the Alert to the TablePagination and Autocomplete components. I don't think that it should block this pull request. |
Thank you everybody for your time! We will likely have a couple of follow-up pull requests, one step at the time :). |
woooohoooo! awesome! I'm more than happy to help with any followup work so please @oliviertassinari feel free to ping/assign me. |
@dimitropoulos Thanks! GitHub has this concept of code owner: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners. It's something that we have never used yet. However, I think that it would be interesting to experiment. Would you be interested in being the code owner of the Alert component? |
I didn't know about that feature. Worth trying! |
Awesome, let's experiment! I will handle this in my next batch of small changes (probably Sunday). |
Preview: https://deploy-preview-18702--material-ui.netlify.com/components/alert/.
Closes #18094
Closes #18750