import { r as registerInstance, h } from './index-b13326fc.js';
var Label = /** @class */ (function () {
    function Label(hostRef) {
        registerInstance(this, hostRef);
        this.hasFocus = false;
    }
    Label.prototype.render = function () {
        return (h("label", null, h("slot", null), this.tooltip && [
            ' ',
            h("bce-tooltip", { placement: "right" }, this.tooltip)
        ]));
    };
    Object.defineProperty(Label, "style", {
        get: function () { return ":host{--bce-c300:inherit;--bce-c400:inherit;--bce-c500:inherit;--bce-c600:inherit;--bce-c700:inherit;--bce-con1:inherit;--bce-con2:inherit;--bce-con3:inherit;--bce-con4:inherit;position:relative;display:inline-block;-webkit-transition:margin 0.15s cubic-bezier(0.4, 0, 0.2, 1), font-size 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease-in-out;transition:margin 0.15s cubic-bezier(0.4, 0, 0.2, 1), font-size 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease-in-out;pointer-events:none;text-align:left}:host label{pointer-events:auto;display:-ms-flexbox;display:flex}:host bce-tooltip{pointer-events:auto}:host([disabled]){color:var(--bce-con3-surface)}:host([disabled]) bce-tooltip{pointer-events:none}:host([focus]){color:var(--bce-c500)}"; },
        enumerable: true,
        configurable: true
    });
    return Label;
}());
export { Label as bce_label };
