patternfly / patternfly-elements

PatternFly Elements. A set of community-created web components based on PatternFly design.
https://patternflyelements.org/
MIT License
376 stars 89 forks source link

[1:1]: pf-alert #2539

Open Arathy-s opened 1 year ago

Arathy-s commented 1 year ago

Component name: pf-alert

An alert is used to display notifications or messages to users. It provides time-sensitive information about events that occur while an application is running and is typically used for important or critical notifications that require user attention.

Screenshot 2023-07-07 at 1 02 07 PM

Design specification

The design specifications should match with https://v4-archive.patternfly.org/v4/components/alert/design-guidelines.

Accessibility

The component should implement all the accessibility features as https://v4-archive.patternfly.org/v4/components/alert.

bennypowers commented 1 year ago

we have prior art in rh-alert that we might be able to rely on here

brianferry commented 10 months ago

Currently a work in progress, have the following added:

pf-alert with similar markdown / api to rh-alert, so far:

variants: custom, info, success, warning, danger

attributes: inline, dismissable, timeout, truncated

bennypowers commented 10 months ago

@brianferry would you please open a draft pr and link to this issue?