/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
import { b as getIonTheme } from './ionic-global.js';

const ionicItemGroupMdCss = "ion-item-group{display:block}";

const itemGroupIosCss = "ion-item-group{display:block}";

const itemGroupMdCss = "ion-item-group{display:block}";

const ItemGroup = /*@__PURE__*/ proxyCustomElement(class ItemGroup extends HTMLElement {
    constructor(registerHost) {
        super();
        if (registerHost !== false) {
            this.__registerHost();
        }
    }
    render() {
        const theme = getIonTheme(this);
        return (h(Host, { key: '3fb0784b321736344604e259cfb05c6307159bed', role: "group", class: {
                [theme]: true,
                // Used internally for styling
                [`item-group-${theme}`]: true,
                item: true,
            } }));
    }
    static get style() { return {
        ionic: ionicItemGroupMdCss,
        ios: itemGroupIosCss,
        md: itemGroupMdCss
    }; }
}, [288, "ion-item-group"]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["ion-item-group"];
    components.forEach(tagName => { switch (tagName) {
        case "ion-item-group":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, ItemGroup);
            }
            break;
    } });
}

const IonItemGroup = ItemGroup;
const defineCustomElement = defineCustomElement$1;

export { IonItemGroup, defineCustomElement };
