"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./query-assigned-elements-8EurZY45.js"),l=require("./property-DYTC_2-m.js"),h=require("./dialog-BShWbhKq.js"),c=":host{--cv-side-sheet-width: 800px;--mdc-dialog-heading-ink-color: var(--mdc-theme-text-primary-on-background);--mdc-theme-surface: var(--cv-theme-surface)}.mdc-dialog{justify-content:flex-end}.mdc-dialog .mdc-dialog__surface{border-radius:0;height:100%;min-height:inherit;max-height:inherit;min-width:var(--cv-side-sheet-width, 400px)}.mdc-dialog--opening .mdc-dialog__container{transform:translate(100%);transition:transform .15s cubic-bezier(.4,0,1,1)}.mdc-dialog--open .mdc-dialog__container{transform:translate(0)}.mdc-dialog--closing .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .15s cubic-bezier(0,0,.2,1)}:host([pushed]) .mdc-dialog__surface{min-width:100vw}:host([noPadding]) .mdc-dialog .mdc-dialog__content{padding:0}";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,o=(r,e,s,i)=>{for(var t=i>1?void 0:i?m(e,s):e,d=r.length-1,n;d>=0;d--)(n=r[d])&&(t=(i?n(e,s,t):n(t))||t);return i&&t&&p(e,s,t),t};exports.CovalentSideSheet=class extends h.CovalentDialog{constructor(){super(),this.pushed=!1,this.noPadding=!1,this.width=800,this.hideActions=!0}willUpdate(e){super.willUpdate(e),e.has("width")&&(this.width!==800?this.style.setProperty("--cv-side-sheet-width",`${this.width}px`):this.style.removeProperty("--cv-side-sheet-width"))}};exports.CovalentSideSheet.styles=[h.styles,a.i`
      ${a.r(c)}
    `];o([l.n({type:Boolean,reflect:!0})],exports.CovalentSideSheet.prototype,"pushed",2);o([l.n({type:Boolean,reflect:!0})],exports.CovalentSideSheet.prototype,"noPadding",2);o([l.n({type:Number})],exports.CovalentSideSheet.prototype,"width",2);exports.CovalentSideSheet=o([a.e("cv-side-sheet")],exports.CovalentSideSheet);
