@theroutingcompany/components 0.0.73-alpha.0 → 0.0.73-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.
|
@@ -1506,12 +1506,12 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var ee=ce(q,re,Y,ie,le+"
|
|
|
1506
1506
|
line-height: ${n};
|
|
1507
1507
|
`},Gy=N.default(De)`
|
|
1508
1508
|
font-family: ${f.font_family_pingo};
|
|
1509
|
-
|
|
1509
|
+
|
|
1510
1510
|
${e=>e.fontStyle&&de.css`
|
|
1511
1511
|
font-style: ${e.fontStyle};
|
|
1512
1512
|
`}
|
|
1513
1513
|
|
|
1514
|
-
|
|
1514
|
+
${e=>e.textColor&&de.css`
|
|
1515
1515
|
color: ${e.textColor};
|
|
1516
1516
|
`}
|
|
1517
1517
|
|
|
@@ -1530,7 +1530,7 @@ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var ee=ce(q,re,Y,ie,le+"
|
|
|
1530
1530
|
${({size:e,variant:t})=>bI(e??"medium",t)}
|
|
1531
1531
|
`,gI=N.default(Gy)``,vI=N.default(Gy)`
|
|
1532
1532
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
1533
|
-
`,yI=(e,t)=>{const{variant:r="body",color:n,weak:o=!1,negative:a=!1,italic:i,bold:l,style:s={},as:d="p",...u}=e;let p,m;r==="number"?(p=l?700:300,m=vI):(p=l?500:300,m=gI);let h;n?h=n:a?h=f.color_brand_red:o?h=f.color_gray_52:h=f.color_black;const b={...u,fontStyle:i?"italic":"normal",textColor:h,fontWeight:p,style:s,variant:r,as:d};return w(m,{...b,ref:t})},Mt=c.forwardRef(yI);Mt.displayName="Text";const $I={small:"7px 8px",large:"11px 12px"},Zo=N.default.input`
|
|
1533
|
+
`,yI=(e,t)=>{const{variant:r="body",color:n,weak:o=!1,negative:a=!1,italic:i,bold:l,style:s={},as:d="p",...u}=e;let p,m;r==="number"?(p=e.fontWeight??(l?700:300),m=vI):(p=e.fontWeight??(l?500:300),m=gI);let h;n?h=n:a?h=f.color_brand_red:o?h=f.color_gray_52:h=f.color_black;const b={...u,fontStyle:i?"italic":"normal",textColor:h,fontWeight:p,style:s,variant:r,as:d};return w(m,{...b,ref:t})},Mt=c.forwardRef(yI);Mt.displayName="Text";const $I={small:"7px 8px",large:"11px 12px"},Zo=N.default.input`
|
|
1534
1534
|
box-sizing: border-box;
|
|
1535
1535
|
padding: ${({paddingSize:e="small"})=>$I[e]}; // add default?
|
|
1536
1536
|
appearance: none;
|