var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
// Lit
import { LitElement, html } from 'lit';
import { property } from 'lit/decorators.js';
import { styleMap } from 'lit/directives/style-map.js';
// Default values
import { DEFAULT_POPUP_STYLE } from '../../constants/defaultValues.js';
// Components
import { inputStyle } from '../../styles/knobs/input.js';
export class AnnotativeKnobTextarea extends LitElement {
    constructor() {
        super(...arguments);
        this.popupStyle = DEFAULT_POPUP_STYLE;
        this.value = '';
    }
    render() {
        return html `<textarea
      style=${styleMap({
            color: this.popupStyle.textColor,
            border: `1px solid ${this.popupStyle.inputBorderColor}`,
            'min-width': '200px',
            'border-radius': '4px',
            width: 'calc(100% - 8px - 8px)',
            'margin-top': '8px',
            resize: 'vertical',
        })}
      .value=${this.value}
    ></textarea>`;
    }
}
AnnotativeKnobTextarea.styles = [inputStyle];
__decorate([
    property({ attribute: 'popupStyle' })
], AnnotativeKnobTextarea.prototype, "popupStyle", void 0);
__decorate([
    property({ attribute: 'value' })
], AnnotativeKnobTextarea.prototype, "value", void 0);
customElements.get('annotative-code-knob-textarea') ||
    customElements.define('annotative-code-knob-textarea', AnnotativeKnobTextarea);
//# sourceMappingURL=textarea.js.map