import{h}from"@stencil/core";import{isRtl}from"../../../functions/page-align";export class ScText{constructor(){this.tag="p",this.truncate=!1}render(){const t=this.tag;return h(t,{key:"12755f0fee149dce029cc4331dd600f4a63c0a5d",class:{text:!0,"is-truncated":this.truncate,"text--is-rtl":isRtl()}},h("slot",{key:"64c82e71accabffba31ade67a32e8758bd51182a"}))}static get is(){return"sc-text"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-text.scss"]}}static get styleUrls(){return{$:["sc-text.css"]}}static get properties(){return{tag:{type:"string",mutable:!1,complexType:{original:"'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p'",resolved:'"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p"',references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"tag",reflect:!1,defaultValue:"'p'"},truncate:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"truncate",reflect:!1,defaultValue:"false"}}}}