import{r as t,g as e,j as s,H as i}from"./index-C7YNCRgy.js";const n=class{constructor(e){t(this,e)}get host(){return e(this)}size="m";fontVariantNumeric="auto";render(){const{fontVariantNumeric:t}=this;return s(i,{part:"root",children:s("span",{class:"dds-text",style:function(){const e={};return((t,s,i="")=>{t&&(e[`--dds-text-${"font-variant-numeric"}${i}`]=t)})(t),e}(),part:"text",children:s("slot",{})})})}};n.style="@layer reset, base, variants, states, sizes;  @layer reset {   :host {     display: contents;     -moz-text-size-adjust: none;     -webkit-text-size-adjust: none;     text-size-adjust: none;     font-family: var(--dds-font-family-sans);     font-feature-settings: var(--dds-font-features-sans);     text-rendering: optimizeLegibility;     -webkit-font-smoothing: antialiased;      *,     *::after,     *::before,     *::backdrop,     *::file-selector-button {       box-sizing: border-box;       margin: 0;       padding: 0;       min-inline-size: 0;       min-block-size: 0;     }      * {       scrollbar-width: thin;       scrollbar-color: color-mix(gray 50%, transparent);     }      *:focus-visible {       z-index: 1;     }      > * {       interpolate-size: allow-keywords;       -webkit-tap-highlight-color: transparent;     }   } } @layer base {   :host .dds-text {     display: inline-block;     font: inherit;     text-box: trim-both cap alphabetic;     font-variant-numeric: var(--dds-text-font-variant-numeric, auto);      ::slotted(em) {       font-style: italic;     }      ::slotted(strong) {       font-weight: var(--dds-font-weight-bold);     }   } }   @layer reset, base; ";export{n as dds_text}