@cleartrip/ct-platform-text-badge 6.0.1-beta.0 → 6.4.0-SNAPSHOT-native-main.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;
|
|
1
|
+
{"version":3,"file":"TextBadge.d.ts","sourceRoot":"","sources":["../packages/components/TextBadge/src/TextBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMnD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsBvC,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),a=require("@cleartrip/ct-design-style-manager"),n=require("@cleartrip/ct-design-components"),i=a.makeWebStyles(function(e){return{badge__container:{width:"max-content","&.default .badge-text":{color:"#b3b3b3",fontSize:10,fontStyle:"normal",fontWeight:500,lineHeight:14,margin:0},"&.dark .badge-text":{color:"#fff",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0},"&.light .badge-text":{color:"#1a1a1a",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0}},dark:{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,background:"#1a1a1a"},light:{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,borderWidth:1,borderStyle:"solid",borderColor:"#e6e6e6",background:"#fff"}}});exports.TextBadge=function(a){var r=a.title,o=a.variant,d=void 0===o?"DEFAULT":o,g=a.style,l=void 0===g?{}:g;return t.jsx(n.Container,e.__assign({as:"div"},{children:t.jsx(n.Container,e.__assign({as:"div",styleConfig:{root:["__local-".concat(i.badge__container),"__local-".concat(i[null==d?void 0:d.toLowerCase()]),e.__assign({},l)]}},{children:t.jsx(n.Typography,e.__assign({variant:"P2",styleConfig:{root:["__local-".concat(i["badge-text"])]}},{children:r}))}))}))};
|
|
2
2
|
//# sourceMappingURL=ct-platform-text-badge.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
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","
|
|
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","theme","badge__container","width","color","fontSize","fontStyle","fontWeight","lineHeight","margin","letterSpacing","textTransform","dark","paddingTop","paddingRight","paddingBottom","paddingLeft","borderRadius","background","light","borderWidth","borderStyle","borderColor","_a","title","_b","variant","_c","style","_jsx","Container","__assign","as","children","styleConfig","root","concat","Style","toLowerCase","Typography"],"mappings":"gKAGMA,EAASC,EAAAA,cAAc,SAAAC,GAAS,MAAA,CACpCC,iBAAkB,CAChBC,MAAO,cACP,wBAAyB,CACvBC,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZC,OAAQ,GAEV,qBAAsB,CACpBL,MAAO,OACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZE,cAAe,GACfC,cAAe,YACfF,OAAQ,GAEV,sBAAuB,CACrBL,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZE,cAAe,GACfC,cAAe,YACfF,OAAQ,IAIZG,KAAM,CACJC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdC,WAAY,WAGdC,MAAO,CACLN,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdG,YAAa,EACbC,YAAa,QACbC,YAAa,UACbJ,WAAY,QAnDsB,qBCKM,SAACK,GACzC,IAAAC,EAAKD,EAAAC,MACLC,EAAAF,EAAAG,QAAAA,OAAO,IAAAD,EAAG,UAASA,EACnBE,EAAAJ,EAAAK,MAAAA,WAAKD,EAAG,CAAA,EAAEA,EAEV,OACIE,EAAAA,IAACC,EAAAA,UAASC,EAAAA,SAAA,CAACC,GAAG,OAAK,CAAAC,SACfJ,EAAAA,IAACC,EAAAA,sBACGE,GAAG,MACHE,YAAa,CACTC,KAAM,CACF,WAAAC,OAAWC,EAAwB,kBACnC,WAAAD,OAAWC,EAAMX,aAAO,EAAPA,EAASY,8BACrBV,MAEZ,CAAAK,SACDJ,MAACU,EAAAA,WAAUR,EAAAA,SAAA,CAACL,QAAQ,KAAKQ,YAAa,CAClCC,KAAM,CAAC,WAAAC,OAAWC,EAAM,kBAC3B,CAAAJ,SAAGT,UAIpB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__assign as t}from"tslib";import{jsx as e}from"react/jsx-runtime";import{makeWebStyles as o}from"@cleartrip/ct-design-style-manager";import{Container as r,Typography as a}from"@cleartrip/ct-design-components";var i=o(function(t){return{badge__container:{width:"max-content","&.default .badge-text":{color:"#b3b3b3",fontSize:10,fontStyle:"normal",fontWeight:500,lineHeight:14,margin:0},"&.dark .badge-text":{color:"#fff",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0},"&.light .badge-text":{color:"#1a1a1a",fontSize:10,fontStyle:"normal",fontWeight:600,lineHeight:12,letterSpacing:.4,textTransform:"uppercase",margin:0}},dark:{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,background:"#1a1a1a"},light:{paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,borderRadius:4,borderWidth:1,borderStyle:"solid",borderColor:"#e6e6e6",background:"#fff"}}}),n=function(o){var n=o.title,d=o.variant,l=void 0===d?"DEFAULT":d,g=o.style,c=void 0===g?{}:g;return e(r,t({as:"div"},{children:e(r,t({as:"div",styleConfig:{root:["__local-".concat(i.badge__container),"__local-".concat(i[null==l?void 0:l.toLowerCase()]),t({},c)]}},{children:e(a,t({variant:"P2",styleConfig:{root:["__local-".concat(i["badge-text"])]}},{children:n}))}))}))};export{n 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":["../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","
|
|
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","theme","badge__container","width","color","fontSize","fontStyle","fontWeight","lineHeight","margin","letterSpacing","textTransform","dark","paddingTop","paddingRight","paddingBottom","paddingLeft","borderRadius","background","light","borderWidth","borderStyle","borderColor","TextBadge","_a","title","_b","variant","_c","style","_jsx","Container","__assign","as","children","styleConfig","root","concat","Style","toLowerCase","Typography"],"mappings":"wNAGA,IAAMA,EAASC,EAAc,SAAAC,GAAS,MAAA,CACpCC,iBAAkB,CAChBC,MAAO,cACP,wBAAyB,CACvBC,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZC,OAAQ,GAEV,qBAAsB,CACpBL,MAAO,OACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZE,cAAe,GACfC,cAAe,YACfF,OAAQ,GAEV,sBAAuB,CACrBL,MAAO,UACPC,SAAU,GACVC,UAAW,SACXC,WAAY,IACZC,WAAY,GACZE,cAAe,GACfC,cAAe,YACfF,OAAQ,IAIZG,KAAM,CACJC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdC,WAAY,WAGdC,MAAO,CACLN,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbC,aAAc,EACdG,YAAa,EACbC,YAAa,QACbC,YAAa,UACbJ,WAAY,QAnDsB,GCKhCK,EAAsC,SAACC,GACzC,IAAAC,EAAKD,EAAAC,MACLC,EAAAF,EAAAG,QAAAA,OAAO,IAAAD,EAAG,UAASA,EACnBE,EAAAJ,EAAAK,MAAAA,WAAKD,EAAG,CAAA,EAAEA,EAEV,OACIE,EAACC,EAASC,EAAA,CAACC,GAAG,OAAK,CAAAC,SACfJ,EAACC,KACGE,GAAG,MACHE,YAAa,CACTC,KAAM,CACF,WAAAC,OAAWC,EAAwB,kBACnC,WAAAD,OAAWC,EAAMX,aAAO,EAAPA,EAASY,qBACrBV,MAEZ,CAAAK,SACDJ,EAACU,EAAUR,EAAA,CAACL,QAAQ,KAAKQ,YAAa,CAClCC,KAAM,CAAC,WAAAC,OAAWC,EAAM,kBAC3B,CAAAJ,SAAGT,UAIpB"}
|
package/package.json
CHANGED