import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
import { d as defineCustomElement$1 } from './bal-heading2.js';

const ListItemTitle = /*@__PURE__*/ proxyCustomElement(class ListItemTitle extends HTMLElement {
    constructor(registerHost) {
        super();
        if (registerHost !== false) {
            this.__registerHost();
        }
        /**
         * Heading level with value 'h4' on default
         */
        this.level = 'h5';
    }
    render() {
        return (h(Host, { key: 'b2afc2dad242ca699ed349d5767d66f2451486e1', class: "bal-list__item__title" }, h("bal-heading", { key: '38f5855e07ff971dc31ad56a6db20936f3825c02', level: this.level, visualLevel: this.visualLevel, space: "none" }, h("slot", { key: '032e327a6ad730378710bb8cd5ebe4ae0506665e' }))));
    }
}, [260, "bal-list-item-title", {
        "level": [1],
        "visualLevel": [1, "visual-level"]
    }]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["bal-list-item-title", "bal-heading"];
    components.forEach(tagName => { switch (tagName) {
        case "bal-list-item-title":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, ListItemTitle);
            }
            break;
        case "bal-heading":
            if (!customElements.get(tagName)) {
                defineCustomElement$1();
            }
            break;
    } });
}

export { ListItemTitle as L, defineCustomElement as d };
