{# @description A message banner for the result of an action, with an optional icon and an optional dismiss button. dismissible and delay both need Alpine.js on the page. Avoid delay on errors or on anything the reader must act on — the message can disappear before they've read it. See the toast entry for an alert shown with an icon and a dismissible alert. #}
{# @prop variant:select['info','success','warning','error'] | description:"Colour variant. Also picks the icon when none is given." #}
{# @prop icon:text | description:"Icon shown before the message, passed as the name of the icon component. Defaults to an icon named after variant." #}
{# @prop soft:boolean | description:"Use the soft style." #}
{# @prop outline:boolean | description:"Draw the alert as an outline." #}
{# @prop dash:boolean | description:"Use a dashed border." #}
{# @prop horizontal:select['sm','md','lg','xl','2xl'] | description:"Lay the alert out horizontally. The bare attribute applies it at every width, which this select cannot set." #}
{# @prop vertical:select['sm','md','lg','xl','2xl'] | description:"Stack the alert vertically. The bare attribute applies it at every width, which this select cannot set." #}
{# @prop dismissible:boolean | description:"Add a dismiss button that hides the alert." #}
{# @prop delay:number | description:"Milliseconds before a dismissible alert hides itself." #}
{# @prop role:text | default:"alert" | description:"Interrupts a screen reader by default. Pass role=\"status\" for a message that should be announced politely." #}
{# @prop class:text | description:"Extra classes added to the alert." #}
{# @slot Saved. — The alert message. #}
{% load i18n daisy_cotton %}