@cleartrip/ct-platform-text-badge 4.3.34 → 6.0.1-beta.0
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.
package/dist/TextBadge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextBadge.d.ts","sourceRoot":"","sources":["../packages/components/TextBadge/src/TextBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"TextBadge.d.ts","sourceRoot":"","sources":["../packages/components/TextBadge/src/TextBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMnD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkBvC,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("@cleartrip/ct-design-style-manager"),a=require("@cleartrip/ct-design-components");const r=t.makeWebStyles((()=>({badge__container:{width:"max-content","&.default .badge-text":{color:"#b3b3b3",fontSize:10,fontStyle:"normal",fontWeight:500,lineHeight:14,margin:0},"&.dark":{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,background:"#1a1a1a"},"&.dark .badge-text":{color:"#fff",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0},"&.light":{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,borderWidth:1,borderStyle:"solid",borderColor:"#e6e6e6",background:"#fff"},"&.light .badge-text":{color:"#1a1a1a",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0}}})));exports.TextBadge=({title:t,variant:i="DEFAULT",style:n={}})=>e.jsx(a.Container,{as:"div",children:e.jsx(a.Container,{as:"div",styleConfig:{root:[r.badge__container,r[null==i?void 0:i.toLowerCase()],Object.assign({},n)]},children:e.jsx(a.Typography,{variant:"P2",styleConfig:{root:[r["badge-text"]]},children:t})})});
|
|
2
2
|
//# sourceMappingURL=ct-platform-text-badge.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-text-badge.cjs.js","sources":["
|
|
1
|
+
{"version":3,"file":"ct-platform-text-badge.cjs.js","sources":["../packages/components/TextBadge/src/index.module.ts","../packages/components/TextBadge/src/TextBadge.tsx"],"sourcesContent":[null,null],"names":["styles","makeWebStyles","badge__container","width","color","fontSize","fontStyle","fontWeight","lineHeight","margin","paddingTop","paddingRight","paddingBottom","paddingLeft","borderRadius","background","letterSpacing","textTransform","borderWidth","borderStyle","borderColor","title","variant","style","_jsx","Container","as","children","jsx","styleConfig","root","Style","toLowerCase","Object","assign","Typography"],"mappings":"6IAGA,MAAMA,EAASC,EAAaA,eAAC,KAAO,CAClCC,iBAAkB,CAChBC,MAAO,cACP,wBAAyB,CACvBC,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZC,OAAQ,GAEV,SAAU,CACRC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdC,WAAY,WAEd,qBAAsB,CACpBX,MAAO,OACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZQ,cAAe,GACfC,cAAe,YACfR,OAAQ,GAEV,UAAW,CACTC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdI,YAAa,EACbC,YAAa,QACbC,YAAa,UACbL,WAAY,QAEd,sBAAuB,CACrBX,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZQ,cAAe,GACfC,cAAe,YACfR,OAAQ,0BC1C8B,EACxCY,QACAC,UAAU,UACVC,QAAQ,CAAA,KAGJC,MAACC,EAAAA,UAAU,CAAAC,GAAG,MAAKC,SACfH,EAACI,IAAAH,aACGC,GAAG,MACHG,YAAa,CACTC,KAAM,CAACC,EAAwB,iBAAGA,EAAMT,aAAO,EAAPA,EAASU,eAAcC,OAAAC,OAAA,CAAA,EAAOX,KAE1EI,SAAAH,EAAAA,IAACW,EAAAA,WAAW,CAAAb,QAAQ,KAAKO,YAAa,CAClCC,KAAM,CAACC,EAAM,gBAChBJ,SAAGN"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{makeWebStyles as e}from"@cleartrip/ct-design-style-manager";import{Container as o,Typography as i}from"@cleartrip/ct-design-components";const r=e((()=>({badge__container:{width:"max-content","&.default .badge-text":{color:"#b3b3b3",fontSize:10,fontStyle:"normal",fontWeight:500,lineHeight:14,margin:0},"&.dark":{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,background:"#1a1a1a"},"&.dark .badge-text":{color:"#fff",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0},"&.light":{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,borderWidth:1,borderStyle:"solid",borderColor:"#e6e6e6",background:"#fff"},"&.light .badge-text":{color:"#1a1a1a",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0}}}))),a=({title:e,variant:a="DEFAULT",style:n={}})=>t(o,{as:"div",children:t(o,{as:"div",styleConfig:{root:[r.badge__container,r[null==a?void 0:a.toLowerCase()],Object.assign({},n)]},children:t(i,{variant:"P2",styleConfig:{root:[r["badge-text"]]},children:e})})});export{a as TextBadge};
|
|
2
2
|
//# sourceMappingURL=ct-platform-text-badge.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-text-badge.esm.js","sources":["
|
|
1
|
+
{"version":3,"file":"ct-platform-text-badge.esm.js","sources":["../packages/components/TextBadge/src/index.module.ts","../packages/components/TextBadge/src/TextBadge.tsx"],"sourcesContent":[null,null],"names":["styles","makeWebStyles","badge__container","width","color","fontSize","fontStyle","fontWeight","lineHeight","margin","paddingTop","paddingRight","paddingBottom","paddingLeft","borderRadius","background","letterSpacing","textTransform","borderWidth","borderStyle","borderColor","TextBadge","title","variant","style","_jsx","Container","as","children","styleConfig","root","Style","toLowerCase","Object","assign","Typography"],"mappings":"uLAGA,MAAMA,EAASC,GAAc,KAAO,CAClCC,iBAAkB,CAChBC,MAAO,cACP,wBAAyB,CACvBC,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZC,OAAQ,GAEV,SAAU,CACRC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdC,WAAY,WAEd,qBAAsB,CACpBX,MAAO,OACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZQ,cAAe,GACfC,cAAe,YACfR,OAAQ,GAEV,UAAW,CACTC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdI,YAAa,EACbC,YAAa,QACbC,YAAa,UACbL,WAAY,QAEd,sBAAuB,CACrBX,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZQ,cAAe,GACfC,cAAe,YACfR,OAAQ,QC1CRY,EAAsC,EACxCC,QACAC,UAAU,UACVC,QAAQ,CAAA,KAGJC,EAACC,EAAU,CAAAC,GAAG,MAAKC,SACfH,EAACC,GACGC,GAAG,MACHE,YAAa,CACTC,KAAM,CAACC,EAAwB,iBAAGA,EAAMR,aAAO,EAAPA,EAASS,eAAcC,OAAAC,OAAA,CAAA,EAAOV,KAE1EI,SAAAH,EAACU,EAAW,CAAAZ,QAAQ,KAAKM,YAAa,CAClCC,KAAM,CAACC,EAAM,gBAChBH,SAAGN"}
|