import{p as t,H as e,h as s,t as i}from"./p-Bpcl2TqF.js";import{d as o}from"./p-DtIGLtyC.js";import{d as n}from"./p-KvSIaMXJ.js";const r=()=>`:host{display:inline-block}.rotate{transition:transform 0.2s ease-in-out;transform:rotate(-180deg);margin-top:0em}.icon{margin-top:0em;transition:transform 0.2s ease-in-out}`;const a=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}isOpen=false;theme="default";variant;size="m";disabled;hideArrow=false;render(){return s("ifx-button",{key:"759bb9e7a4cba7f01a0a9a67abdf471d28aa1b70",variant:this.variant,theme:this.theme,size:this.size,disabled:this.disabled,class:"dropdown-trigger-button"},s("slot",{key:"cd4eaf62ffccd87a03eef11f6a1ffc3e9ebcfe4b"}),!this.hideArrow&&s("ifx-icon",{key:"0a03a5fdc28649588c060ef1f426bfbf0dc8b3d8",icon:"chevron-down-16",class:`icon${this.isOpen?" rotate":""}`}))}static get style(){return r()}},[769,"ifx-dropdown-trigger-button",{isOpen:[4,"is-open"],theme:[1],variant:[1],size:[1],disabled:[4],hideArrow:[4,"hide-arrow"]}]);function f(){if(typeof customElements==="undefined"){return}const t=["ifx-dropdown-trigger-button","ifx-button","ifx-icon"];t.forEach((t=>{switch(t){case"ifx-dropdown-trigger-button":if(!customElements.get(i(t))){customElements.define(i(t),a)}break;case"ifx-button":if(!customElements.get(i(t))){o()}break;case"ifx-icon":if(!customElements.get(i(t))){n()}break}}))}const c=a;const d=f;export{c as IfxDropdownTriggerButton,d as defineCustomElement};
//# sourceMappingURL=ifx-dropdown-trigger-button.js.map