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: 'd9f5229b586ece47cadb84779e0f6798a8e2a4ea', class: cls(`divider-${this.align}`, { 'divider-with-text': true }) }, h("span", { key: '8ddcb6d86743c2315e90a928bb67b59e02c53714', class: "divider-inner-text" }, h("slot", { key: '6c0a619a4a3ae05ad4a55cb67716ab519c732f07' })));
    }
    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'"
            }
        };
    }
}
