'use strict';

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const lit = require('lit');
const decorators_js = require('lit/decorators.js');
const index = require('../../chunks/index-BBPgtFEP.js');

const style = ":host {\n    display: flex\n}";

var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = (kind ? decorator(target, key, result) : decorator(result)) || result;
  if (kind && result) __defProp(target, key, result);
  return result;
};
exports.LuksoFormLabel = class LuksoFormLabel extends index.TailwindStyledElement(style) {
  render() {
    return this.label ? lit.html`
          <label
            for=${this.forName ? this.forName : lit.nothing}
            class="heading-inter-14-bold text-neutral-20 pb-2 block"
            >${this.label}</label
          >
        ` : lit.nothing;
  }
};
__decorateClass([
  decorators_js.property({ type: String, reflect: true })
], exports.LuksoFormLabel.prototype, "label", 2);
__decorateClass([
  decorators_js.property({ type: String, attribute: "for-name", reflect: true })
], exports.LuksoFormLabel.prototype, "forName", 2);
exports.LuksoFormLabel = __decorateClass([
  index.safeCustomElement("lukso-form-label")
], exports.LuksoFormLabel);
