import { h, Host } from "@stencil/core";
import { cls } from "../../utils/helpers";
export class XDock {
    constructor() {
        this.block = undefined;
        this.align = 'center';
    }
    /**
     * Render component
     */
    render() {
        return h(Host, { key: 'c36cd88acbdbf9a131c6bcabaf3a5f26a0384f7e', class: cls({ 'block': this.block }), style: { justifyContent: this.align } }, h("slot", { key: '71f1d3bdceddde8d2a6a6719014a17534cf5f92d', name: "start" }), h("slot", { key: 'f9666de58f8f11be9c509e37267eb6dd199913e7' }), h("slot", { key: '76b0da0c1a9e55d88261c6b7467463c15d1cf026', name: "end" }));
    }
    static get is() { return "x-dock"; }
    static get originalStyleUrls() {
        return {
            "$": ["./style.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["style.css"]
        };
    }
    static get properties() {
        return {
            "block": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Element block style"
                },
                "attribute": "block",
                "reflect": false
            },
            "align": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "DockFlexAlign",
                    "resolved": "\"center\" | \"flex-end\" | \"flex-start\" | \"space-around\" | \"space-between\" | \"space-evenly\"",
                    "references": {
                        "DockFlexAlign": {
                            "location": "local",
                            "path": "/opt/atlassian/pipelines/agent/build/src/components/x-dock/component.tsx",
                            "id": "src/components/x-dock/component.tsx::DockFlexAlign"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Element align style"
                },
                "attribute": "align",
                "reflect": false,
                "defaultValue": "'center'"
            }
        };
    }
}
