import{r as e,h as t,a as r}from"./p-d52b3602.js";const o=class{constructor(t){e(this,t),this.variant="informational"}renderHelperIcon(){const e=this.variant;return"informational"===e||"warning"===e?t("scale-icon-alert-information",{size:11}):"danger"===e?t("scale-icon-alert-error",{size:11}):"success"===e?t("scale-icon-alert-success",{size:11}):void 0}render(){return t(r,null,t("div",{class:{"helper-text":!0,"helper-text--informational":"informational"===this.variant,"helper-text--warning":"warning"===this.variant,"helper-text--danger":"danger"===this.variant,"helper-text--success":"success"===this.variant,"helper-text--neutral":"neutral"===this.variant}},t("span",null,this.helperText?this.helperText:t("slot",null)),this.renderHelperIcon()),this.styles&&t("style",null,this.styles))}};o.style=":host{--font:var(--telekom-text-style-small-bold);--color-informational:var(\n    --telekom-color-text-and-icon-functional-informational\n  );--color-warning:var(--telekom-color-text-and-icon-functional-warning);--color-danger:var(--telekom-color-text-and-icon-functional-danger);--color-success:var(--telekom-color-text-and-icon-functional-success);--color-neutral:var(--telekom-color-text-and-icon-additional)}.helper-text{display:flex;align-items:center;flex-direction:row-reverse;justify-content:flex-end;font:var(--telekom-text-style-small-bold)}scale-icon-alert-information,scale-icon-alert-error,scale-icon-alert-success{display:flex;justify-content:center;align-items:center;margin-right:var(--telekom-spacing-unit-x1)}.helper-text--informational{color:var(--color-informational)}.helper-text--warning{color:var(--color-warning)}.helper-text--danger{color:var(--color-danger)}.helper-text--success{color:var(--color-success)}.helper-text--neutral{color:var(--color-neutral)}";export{o as scale_helper_text}