'use strict';

var index = require('./index-n_pDKBY2.js');

const dropdownTriggerButtonCss = ":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 DropdownItem = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.isOpen = false;
        this.theme = 'default';
        this.size = 'm';
        this.hideArrow = false;
    }
    render() {
        return (index.h("ifx-button", { key: 'cba835345a4dcbec963deb2589bb26a1294908da', variant: this.variant, theme: this.theme, size: this.size, disabled: this.disabled, class: "dropdown-trigger-button" }, index.h("slot", { key: 'b8f6d30967aaa2ced90815c96081353f9ec0c7d1' }), !this.hideArrow &&
            index.h("ifx-icon", { key: '41a60ee566d9be237bbe05e3ede8402f9d4e3f6e', icon: "chevron-down-16", class: `icon${this.isOpen ? ' rotate' : ''}` })));
    }
};
DropdownItem.style = dropdownTriggerButtonCss;

exports.ifx_dropdown_trigger_button = DropdownItem;
//# sourceMappingURL=ifx-dropdown-trigger-button.entry.cjs.js.map

//# sourceMappingURL=ifx-dropdown-trigger-button.cjs.entry.js.map