'use strict';

var index = require('./index-Bq84pjsN.js');

const resetCss = () => `@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;     }   } } `;

const paragraphCss = () => `@layer reset,base,sizes; @layer base{:host .dds-paragraph{text-box:trim-both cap alphabetic;font:var(--dds-paragraph-type);text-wrap:pretty;overflow-wrap:break-word}}@layer sizes{:host([size="2xs"]){--dds-paragraph-type:var(--dds-paragraph-type-2xs)}:host([size="xs"]){--dds-paragraph-type:var(--dds-paragraph-type-xs)}:host([size="s"]){--dds-paragraph-type:var(--dds-paragraph-type-s)}:host([size="m"]){--dds-paragraph-type:var(--dds-paragraph-type-m)}:host([size="l"]){--dds-paragraph-type:var(--dds-paragraph-type-l)}}`;

const Text = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
    }
    get el() { return index.getElement(this); }
    // MARK: Props
    size = "m";
    // MARK: Lifecycle
    // componentDidLoad() {
    //   adoptSharedStyles(this.el);
    // }
    // MARK: Render
    render() {
        const { size } = this;
        return (index.jsx(index.Host, { size: size, children: index.jsx("p", { class: "dds-paragraph", children: index.jsx("slot", {}, '6a76dea914e9762ca022babfe86dfee14c94e69c') }, '2b0ab81e224d64ac0823fa533208adadb6d483de') }, 'b722758927e08cf81c1ef098038f5d7f505efcc4'));
    }
};
Text.style = resetCss() + paragraphCss();

exports.dds_paragraph = Text;
