0.0.4 • Published 1 year ago

@phase2/outline-core-alert v0.0.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year ago

outline-core-alert

The Outline Core Alert component

Properties

PropertyAttributeTypeDefaultDescription
adoptedStylesheetsAdoptedStylesheets
debugbooleanfalse
isInteractiveis-interactivebooleanfalseThis is important context for screen readers.
statusstatus"info" \| "warning" \| "error" \| "success""info"

Slots

NameDescription
defaultThe alert contents.
headerThe header in the alert.
icon-endThe icon to display at the end of the alert.
icon-startThe icon to display at the start of the alert.

CSS Custom Properties

PropertyDescription
--outline-alert--errorbackground: The background color for the error alert.
--outline-alert--infobackground: The background color for the info alert.
--outline-alert--successbackground: The background color for the success alert.
--outline-alert--warningbackground: The background color for the warning alert.