Closed bspeare closed 1 year ago
The proposed solution on this suggests that we replace the alerts component from 3.x with the 4.x card component w/ specific alert stories.
Grooming convo: limiting this slice to uids specifically, and will need a follow-up issue in uiowa/uiowa for implementing in uids_base
.
I disagree with the idea of using the card component for alerts. Here is why:
I want to update and elaborate on my thinking in https://github.com/uiowa/uids/issues/770#issuecomment-1677800316:
I still think that adding card-like complexity to the the alerts to achieve a more card-like experience is not desirable. On the other hand, I'm coming around to the idea of being able to have cards that have a similar color-coded option along with the ability to fill an icon could be useful.
The current alerts only have one design option: https://uids.brand.uiowa.edu/components/detail/alert.html. In the 4.x branch, it would be ideal to have an alert/message component that has left and center variants that can be more flexible for use as:
Proposed solution
Move over the current alerts component from UIDS 3.x and create new variants/stories for the uses listed below.
Hawk Alert
Left aligned:
Centered: TBD
Section message
Left aligned:
Centered: TBD
Inline message
Left aligned:
Centered: TBD