@theroutingcompany/components 0.0.113 → 0.0.114-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1593,7 +1593,7 @@ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var le=_e(ae,se,H,re,oe+
|
|
|
1593
1593
|
font-size: ${p.font_size_200};
|
|
1594
1594
|
line-height: 1;
|
|
1595
1595
|
}
|
|
1596
|
-
`,St=({children:e})=>J(N$,{children:[E(De.Error,{}),e]}),Q9=(e,t)=>{let n="",r="";switch(e){case"xsmall":n=p.font_size_125,r=p.
|
|
1596
|
+
`,St=({children:e})=>J(N$,{children:[E(De.Error,{}),e]}),Q9=(e,t)=>{let n="",r="";switch(e){case"xsmall":n=p.font_size_125,r=p.font_size_175;break;case"small":n=p.font_size_150,r=p.font_size_200;break;case"medium":n=p.font_size_175,r=p.font_size_225;break;case"large":n=p.font_size_200,r=p.font_size_250;break;case"xlarge":n=p.font_size_225,r=p.font_size_275;break;default:n=p.font_size_125,r=p.font_size_150}return ie.css`
|
|
1597
1597
|
${t==="number"?"font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;":""}
|
|
1598
1598
|
font-size: ${n};
|
|
1599
1599
|
line-height: ${r};
|
|
@@ -1623,7 +1623,7 @@ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var le=_e(ae,se,H,re,oe+
|
|
|
1623
1623
|
${({size:e,variant:t})=>Q9(e??"medium",t)}
|
|
1624
1624
|
`,eA=N.default(z$)``,tA=N.default(z$)`
|
|
1625
1625
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
1626
|
-
`,nA=(e,t)=>{const{variant:n="body",color:r,weak:o=!1,negative:a=!1,italic:i,bold:l,style:s={},as:u="p",...d}=e;let f,m;n==="number"?(f=e.fontWeight??(l?700:300),m=tA):(f=e.fontWeight??(l?500:300),m=eA);let g;r?g=r:a?g=p.color_brand_red:o?g=p.color_gray_52:g=p.color_black;const h={...d,fontStyle:i?"italic":"normal",textColor:g,fontWeight:f,style:s,variant:n,as:u};return E(m,{...h,ref:t})},tt=c.forwardRef(nA);tt.displayName="Text";const bd=N.default.ul`
|
|
1626
|
+
`,nA=(e,t)=>{const{variant:n="body",color:r,weak:o=!1,negative:a=!1,italic:i,bold:l,style:s={hyphens:"none"},as:u="p",...d}=e;let f,m;n==="number"?(f=e.fontWeight??(l?700:300),m=tA):(f=e.fontWeight??(l?500:300),m=eA);let g;r?g=r:a?g=p.color_brand_red:o?g=p.color_gray_52:g=p.color_black;const h={...d,fontStyle:i?"italic":"normal",textColor:g,fontWeight:f,style:s,variant:n,as:u};return E(m,{...h,ref:t})},tt=c.forwardRef(nA);tt.displayName="Text";const bd=N.default.ul`
|
|
1627
1627
|
max-height: 300px;
|
|
1628
1628
|
overflow: auto;
|
|
1629
1629
|
list-style: none;
|