@alaskaairux/auro-interruption
Version:
Auro custom auro-interruption element
2 lines (1 loc) • 918 B
JavaScript
import{c as t,C as e}from"./component-base-6c400737.js";var s=t`.dialog{top:0;left:unset;max-width:90%;height:100%;max-height:unset;transform:translateX(100%)}.dialog--open{transform:translateX(0)}:host([left]) .dialog{right:unset;left:0;transform:translateX(-100%)}:host([left]) .dialog--open{transform:translateX(0)} screen and (min-width:1024px){:host([lg]) .dialog,:host([md]) .dialog,:host([sm]) .dialog{top:0;max-height:unset}}:host([lg]) .dialog,:host([md]) .dialog,:host([sm]) .dialog{max-height:100%} screen and (min-width:1024px){:host([md][lg]) .dialog,:host([sm][lg]) .dialog{max-height:100%}}:host([md][lg]) .dialog,:host([sm][lg]) .dialog{max-height:100%}`;class o extends e{static get properties(){return{...super.properties,open:{...super.properties.open,noAccessor:!0}}}static get styles(){return[super.styles,s]}}customElements.get("auro-drawer")||customElements.define("auro-drawer",o);