import { jsx as _jsx } from "@stencil/core/jsx-runtime";
import { Host } from "@stencil/core";
export class Heading {
    host;
    // MARK: Props
    size = "m";
    headingId;
    // componentDidLoad() {
    //   adoptSharedStyles(this.el);
    // }
    // MARK: Render
    render() {
        const { size, headingId } = this;
        return (_jsx(Host, { size: size, children: _jsx("h1", { class: "dds-heading", id: headingId, children: _jsx("slot", {}, 'eaeb20646ace6e7f9d3bc11ed66ba291f91efa7e') }, 'd666da76fa907e3bac70e701b0ce9f0f7eb3f5ce') }, '016617a9d52554ebeb367cdbbfb52e34cdc70459'));
    }
    static get is() { return "dds-heading"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["../reset.css", "heading.css"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["../reset.css", "heading.css"]
        };
    }
    static get properties() {
        return {
            "size": {
                "type": "string",
                "mutable": true,
                "complexType": {
                    "original": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\"",
                    "resolved": "\"l\" | \"m\" | \"s\" | \"xl\" | \"xs\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "size",
                "defaultValue": "\"m\""
            },
            "headingId": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string | undefined",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "heading-id"
            }
        };
    }
    static get elementRef() { return "host"; }
}
