import { h, Host } from "@stencil/core";
import { cls } from "../../utils/helpers";
export class XDivider {
    constructor() {
        this.align = 'left';
    }
    /**
     * Render component
     */
    render() {
        return h(Host, { key: '5ddb1bc8a99678ea60397e13c36087690748a9df', class: cls(`divider-${this.align}`, { 'divider-with-text': true }) }, h("span", { key: '578f2a3c324b247cfcc6b572813111b301673d94', class: "divider-inner-text" }, h("slot", { key: '4e4b8590738cbb7901abbe92e3be88d2eb583bc2' })));
    }
    static get is() { return "x-divider"; }
    static get originalStyleUrls() {
        return {
            "$": ["./style.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["style.css"]
        };
    }
    static get properties() {
        return {
            "align": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "DividerAlignType",
                    "resolved": "\"center\" | \"left\" | \"right\"",
                    "references": {
                        "DividerAlignType": {
                            "location": "local",
                            "path": "/opt/atlassian/pipelines/agent/build/src/components/x-divider/component.tsx",
                            "id": "src/components/x-divider/component.tsx::DividerAlignType"
                        }
                    }
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "Element text aligment"
                },
                "attribute": "align",
                "reflect": false,
                "defaultValue": "'left'"
            }
        };
    }
}
