/**
 * Copyright Aquera Inc 2023
 *
 * This source code is licensed under the BSD-3-Clause license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { __decorate } from "tslib";
import { LitElement, html } from 'lit';
import { customElement } from 'lit/decorators.js';
import { styles } from './nile-form-error-message.css';
/**
 * Nile icon component.
 *
 * @tag nile-form-error-message
 *
 */
let NileFormErrorMessage = class NileFormErrorMessage extends LitElement {
    /**
     * The styles for FormErrorMessage
     * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`
     */
    static get styles() {
        return [styles];
    }
    /* #endregion */
    /* #region Methods */
    /**
     * Render method
     * @slot This is a slot test
     */
    render() {
        return html `
      <div class="nile-form-error-message">
       <nile-icon name="var(--nile-icon-info, var(--ng-icon-info-circle))" method="var(--nile-svg-method-fill, var(--ng-svg-method-stroke))" size="14" class="nile-form-error-message__icon" color="var(--nile-colors-red-700, var(--ng-colors-fg-error-secondary))"> </nile-icon> <slot> </slot>
        </div>
			`;
    }
};
NileFormErrorMessage = __decorate([
    customElement('nile-form-error-message')
], NileFormErrorMessage);
export { NileFormErrorMessage };
export default NileFormErrorMessage;
//# sourceMappingURL=nile-form-error-message.js.map