@cas-smartdesign/message
v6.0.5
Published
A message element with three different levels which has the look and feel of the smartdesign message
Readme
@cas-smartdesign/message
A custom element which represents the SmartDesign message widget.
This element must be used together with the design tokens of SmartDesign. For an independent application, make sure to include the @cas-smartdesign/design-tokens package. For a web app / web widget, refer to the official documentation about design token usage.
Slots
captiondescriptionfooter
Attributes
level: Message.Levelinfo,warn,error,success- Changes the color and the icon of the message element; another value shows no icon
- Default value is
info
hidden-icon: boolean- Defines the visibility of the message icon
icon-alt: string- The accessible name of the message icon, e.g.
severity info - Without it the icon is decorative and hidden from assistive technology
- The accessible name of the message icon, e.g.
