-
Notifications
You must be signed in to change notification settings - Fork 0
/
p-b0597eab.entry.js
5 lines (5 loc) · 1.82 KB
/
p-b0597eab.entry.js
1
2
3
4
5
/*!
* Built by BASIS
* Copyright BASIS International Ltd.
*/
import{r as t,h as e,H as o,g as n}from"./p-00e3df8e.js";const a=class{constructor(e){t(this,e),this.placement="bottom"}connectedCallback(){this.handleSlotChange=this.handleSlotChange.bind(this)}handleSlotChange(){0===this.el.children.length&&this.el.remove()}render(){return e(o,{key:"c6d0c29f44e50f07326a5f9c54e46e3780f77b6f"},e("slot",{key:"766ded5687dd2d7195296920ccd10d7c437d73ea",onSlotchange:this.handleSlotChange}))}get el(){return n(this)}};a.style="@media (prefers-reduced-motion: reduce){*,::before,::after{animation-delay:-1ms !important;animation-duration:1ms !important;animation-iteration-count:1 !important;background-attachment:initial !important;scroll-behavior:auto !important;transition-delay:0s !important;transition-duration:0s !important}}:host{box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative;-webkit-tap-highlight-color:transparent;text-size-adjust:100%}:host *,:host *::before,:host *::after{box-sizing:inherit}:host{display:flex;flex-direction:column;gap:var(--dwc-space-m);justify-content:center;padding:1rem;pointer-events:none;position:fixed;z-index:var(--dwc-zindex-h5)}:host([placement=top]),:host([placement=bottom]){align-items:center;left:50%;transform:translateX(-50%)}:host([placement=top]){top:0}:host([placement=bottom]){bottom:0}:host([placement=top-left]),:host([placement=bottom-left]){align-items:flex-start;left:0;right:auto}:host([placement=top-left]){top:0}:host([placement=bottom-left]){bottom:0}:host([placement=top-right]),:host([placement=bottom-right]){align-items:flex-end;left:auto;right:0}:host([placement=top-right]){top:0}:host([placement=bottom-right]){bottom:0}:host([placement=center]){align-items:center;left:50%;top:50%;transform:translate(-50%, -50%)}";export{a as dwc_toast_group}