/* eslint-disable lit/prefer-static-styles */
// #region Imports
import { html } from '../../../../Dom/Html';
import { unsafeHTML } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the `TextElement`.
 *
 * @public
 */
export function textElementTemplate(e) {
    return html `
        <style>
            :host {
                --__max-lines: ${e.maxLines};
            }
        </style>
        <p part="text">
            <slot name="text">${unsafeHTML(e.tryTrim())}</slot>
        </p>
    `;
}
//# sourceMappingURL=TextElementTemplate.js.map