0.0.4 • Published 3 months ago

@phase2/outline-core-alert v0.0.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
3 months 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.
0.0.3

3 months ago

0.0.4

3 months ago

0.0.2

4 months ago

0.0.1

4 months ago