UNPKG

@bliss-design-system/alert

Version:

`<bliss-alert>` provides a messaging mechanism for alerting and informing.

93 lines 2.4 kB
{ "version": "experimental", "tags": [ { "name": "bliss-alert", "path": "./dist/BlissAlert.d.ts", "attributes": [ { "name": "size", "description": "alert size", "type": "small|medium" }, { "name": "theme", "description": "alert theme", "type": "default|neutral|positive|notice|warning|critical" }, { "name": "heading", "description": "text for the alert heading", "type": "String" }, { "name": "icon", "description": "which icon to display to accompany the alert message", "type": "String" }, { "name": "dismissible", "description": "whether or not to display close button inside the alert", "type": "Boolean", "default": "false" }, { "name": "close-text", "description": "text for the close button aria-label", "type": "String" } ], "properties": [ { "name": "closeText", "type": "string" }, { "name": "politenessLevel", "type": "string" }, { "name": "headingEl", "type": "TemplateResult<ResultType> | null" }, { "name": "size", "attribute": "size", "description": "alert size", "type": "small|medium" }, { "name": "theme", "attribute": "theme", "description": "alert theme", "type": "default|neutral|positive|notice|warning|critical" }, { "name": "heading", "attribute": "heading", "description": "text for the alert heading", "type": "String" }, { "name": "icon", "attribute": "icon", "description": "which icon to display to accompany the alert message", "type": "String" }, { "name": "dismissible", "attribute": "dismissible", "description": "whether or not to display close button inside the alert", "type": "Boolean", "default": "false" } ], "slots": [ { "name": "", "description": "Default content slot" } ] } ] }