import{p as t,H as e,h as s,t as i}from"./p-CHfEnK-2.js";import{d as o}from"./p-O4tEZRTM.js";import{d as n}from"./p-B5hDbbCP.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}isOpen=!1;theme="default";variant;size="m";disabled;hideArrow=!1;render(){return s("ifx-button",{key:"76c3fdb9f750437cf92f480bf80bfde03aa8353c",variant:this.variant,theme:this.theme,size:this.size,disabled:this.disabled,class:"dropdown-trigger-button"},s("slot",{key:"227edb4e3f70c0472e111d33a4738928dc5de591"}),!this.hideArrow&&s("ifx-icon",{key:"3a883b66870cb97c5563fa41509718ecfe8876e1",icon:"chevron-down-16",class:"icon"+(this.isOpen?" rotate":"")}))}static get style(){return":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}"}},[769,"ifx-dropdown-trigger-button",{isOpen:[4,"is-open"],theme:[1],variant:[1],size:[1],disabled:[4],hideArrow:[4,"hide-arrow"]}]),a=r,c=function(){"undefined"!=typeof customElements&&["ifx-dropdown-trigger-button","ifx-button","ifx-icon"].forEach((t=>{switch(t){case"ifx-dropdown-trigger-button":customElements.get(i(t))||customElements.define(i(t),r);break;case"ifx-button":customElements.get(i(t))||o();break;case"ifx-icon":customElements.get(i(t))||n()}}))};export{a as IfxDropdownTriggerButton,c as defineCustomElement}