@cleartrip/ct-platform-text-badge 3.1.0-beta.8 → 4.0.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.
@@ -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;AAInD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsDvC,CAAC;AACF,eAAe,SAAS,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;AAInD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkBvC,CAAC;AACF,eAAe,SAAS,CAAC"}
@@ -1,9 +1,6 @@
1
- import { CSSProperties } from 'react';
2
1
  export interface TextBadgeProps {
3
2
  title: string;
4
3
  variant: 'DEFAULT' | 'DARK' | 'LIGHT';
5
- style?: CSSProperties;
6
- textStyle?: CSSProperties;
7
- borderColorInBlendMode?: boolean;
4
+ style?: object;
8
5
  }
9
6
  //# sourceMappingURL=TextBadge.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextBadge.types.d.ts","sourceRoot":"","sources":["../packages/components/TextBadge/src/TextBadge.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACpC"}
1
+ {"version":3,"file":"TextBadge.types.d.ts","sourceRoot":"","sources":["../packages/components/TextBadge/src/TextBadge.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),d=require("react/jsx-runtime");function n(e){return e&&e.__esModule?e:{default:e}}var t=n(require("classnames"));var o={badge__container:"index-module_badge__container__x4Efs",default:"index-module_default__-QwPa","badge-text":"index-module_badge-text__L6lUY",dark:"index-module_dark__D2A4J",light:"index-module_light__qcydF","no-border":"index-module_no-border__iL-h5","badge__container--wrapper-for-border":"index-module_badge__container--wrapper-for-border__nsh-a"};!function(e,d){void 0===d&&(d={});var n=d.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_badge__container__x4Efs{width:max-content}.index-module_badge__container__x4Efs.index-module_default__-QwPa .index-module_badge-text__L6lUY{color:#b3b3b3;font-size:10px;font-style:normal;font-weight:500;line-height:14px;margin:0}.index-module_badge__container__x4Efs.index-module_dark__D2A4J{background:#1a1a1a;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_dark__D2A4J .index-module_badge-text__L6lUY{color:#fff;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}.index-module_badge__container__x4Efs.index-module_light__qcydF{background:#fff;border:1px solid #e6e6e6;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_light__qcydF .index-module_badge-text__L6lUY{color:#1a1a1a;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}.index-module_badge__container__x4Efs.index-module_no-border__iL-h5{background:transparent;border:none}.index-module_badge__container--wrapper-for-border__nsh-a{border:1px solid #1a1a1a;border-radius:.25rem;box-sizing:border-box;height:100%;mix-blend-mode:color-burn;opacity:.2;position:absolute;top:0;width:100%}");exports.TextBadge=function(n){var r=n.title,a=n.variant,i=void 0===a?"DEFAULT":a,_=n.style,l=void 0===_?{}:_,s=n.textStyle,x=void 0===s?{}:s,c=n.borderColorInBlendMode,u=void 0!==c&&c;return d.jsxs(d.Fragment,{children:[u?d.jsxs("div",e.__assign({style:e.__assign({position:"relative",width:"fit-content"},l)},{children:[d.jsx("div",e.__assign({className:t.default(o.badge__container,o["no-border"],o[null==i?void 0:i.toLowerCase()])},{children:d.jsx("p",e.__assign({className:o["badge-text"],style:x},{children:r}))})),d.jsx("div",{className:o["badge__container--wrapper-for-border"]})]})):d.jsx("div",{children:d.jsx("div",e.__assign({className:t.default(o.badge__container,o[null==i?void 0:i.toLowerCase()]),style:l},{children:d.jsx("p",e.__assign({className:o["badge-text"],style:x},{children:r}))}))})," "]})};
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime");function d(e){return e&&e.__esModule?e:{default:e}}var n=d(require("classnames"));var a={badge__container:"index-module_badge__container__x4Efs",default:"index-module_default__-QwPa","badge-text":"index-module_badge-text__L6lUY",dark:"index-module_dark__D2A4J",light:"index-module_light__qcydF"};!function(e,t){void 0===t&&(t={});var d=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===d&&n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}(".index-module_badge__container__x4Efs{width:max-content}.index-module_badge__container__x4Efs.index-module_default__-QwPa .index-module_badge-text__L6lUY{color:#b3b3b3;font-size:10px;font-style:normal;font-weight:500;line-height:14px;margin:0}.index-module_badge__container__x4Efs.index-module_dark__D2A4J{background:#1a1a1a;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_dark__D2A4J .index-module_badge-text__L6lUY{color:#fff;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}.index-module_badge__container__x4Efs.index-module_light__qcydF{background:#fff;border:1px solid #e6e6e6;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_light__qcydF .index-module_badge-text__L6lUY{color:#1a1a1a;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}");exports.TextBadge=function(d){var i=d.title,_=d.variant,o=void 0===_?"DEFAULT":_,r=d.style,l=void 0===r?{}:r;return t.jsx("div",{children:t.jsx("div",e.__assign({className:n.default(a.badge__container,a[null==o?void 0:o.toLowerCase()]),style:e.__assign({},l)},{children:t.jsx("p",e.__assign({className:a["badge-text"]},{children:i}))}))})};
2
2
  //# sourceMappingURL=ct-platform-text-badge.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-text-badge.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/TextBadge/src/TextBadge.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","title","_b","variant","_c","_d","textStyle","_e","borderColorInBlendMode","_jsxs","jsxs","_Fragment","Fragment","children","__assign","position","width","_jsx","className","classNames","Style","toLowerCase","jsx"],"mappings":"0fAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,2wCClB4C,SAACe,GACzC,IAAAC,EAAKD,EAAAC,MACLC,EAAmBF,EAAAG,QAAnBA,OAAO,IAAAD,EAAG,UAASA,EACnBE,EAAAJ,EAAAT,MAAAA,OAAQ,IAAAa,EAAA,CAAE,EAAAA,EACVC,EAAcL,EAAAM,UAAdA,OAAS,IAAAD,EAAG,CAAE,EAAAA,EACdE,EAAAP,EAAAQ,uBAAAA,OAAyB,IAAAD,GAAKA,EAE9B,OACIE,EAAAC,KAAAC,EAAAC,SAAA,CAAAC,SAAA,CACKL,EACGC,EAAAA,KAAA,MAAAK,EAAAA,SAAA,CACIvB,MAAKuB,EAAAA,SAAA,CACDC,SAAU,WACVC,MAAO,eACJzB,IAAK,CAAAsB,SAAA,CAGZI,MACI,MAAAH,EAAAA,SAAA,CAAAI,UAAWC,EAAAA,QACPC,EAAwB,iBACxBA,EAAM,aACNA,EAAMjB,aAAA,EAAAA,EAASkB,iBAClB,CAAAR,SAEDI,EAAAA,IAAG,IAAAH,EAAAA,SAAA,CAAAI,UAAWE,EAAM,cAAe7B,MAAOe,GAAS,CAAAO,SAC9CZ,QAGTgB,EAAAK,IAAA,MAAA,CACIJ,UACIE,EAAM,8CAQlBH,EAAAA,IAAA,MAAA,CAAAJ,SACII,EAAAA,IACI,MAAAH,EAAAA,SAAA,CAAAI,UAAWC,EAAAA,QACPC,EAAwB,iBACxBA,EAAMjB,aAAA,EAAAA,EAASkB,gBAEnB9B,MAAOA,GAAK,CAAAsB,SAEZI,EAAAA,IAAG,IAAAH,EAAAA,SAAA,CAAAI,UAAWE,EAAM,cAAe7B,MAAOe,GAAS,CAAAO,SAC9CZ,UAId,MAGf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ct-platform-text-badge.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/TextBadge/src/TextBadge.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","title","_b","variant","_c","_jsx","jsx","children","__assign","className","classNames","Style","toLowerCase"],"mappings":"4WAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,k9BClB4C,SAACe,GACzC,IAAAC,EAAKD,EAAAC,MACLC,EAAmBF,EAAAG,QAAnBA,OAAU,IAAAD,EAAA,UAASA,EACnBE,EAAUJ,EAAAT,MAAVA,OAAK,IAAAa,EAAG,CAAE,EAAAA,EAEV,OACIC,EACIC,IAAA,MAAA,CAAAC,SAAAF,EAAAA,IAAA,MAAAG,EAAAA,SAAA,CACIC,UAAWC,UACPC,EAAwB,iBACxBA,EAAMR,aAAO,EAAPA,EAASS,gBAEnBrB,oBAAYA,IAAK,CAAAgB,SAEjBF,sBAAGI,UAAWE,EAAM,eAAgB,CAAAJ,SAAAN,SAIpD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as d,Fragment as o,jsx as n}from"react/jsx-runtime";import t from"classnames";var r={badge__container:"index-module_badge__container__x4Efs",default:"index-module_default__-QwPa","badge-text":"index-module_badge-text__L6lUY",dark:"index-module_dark__D2A4J",light:"index-module_light__qcydF","no-border":"index-module_no-border__iL-h5","badge__container--wrapper-for-border":"index-module_badge__container--wrapper-for-border__nsh-a"};!function(e,d){void 0===d&&(d={});var o=d.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===o&&n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}(".index-module_badge__container__x4Efs{width:max-content}.index-module_badge__container__x4Efs.index-module_default__-QwPa .index-module_badge-text__L6lUY{color:#b3b3b3;font-size:10px;font-style:normal;font-weight:500;line-height:14px;margin:0}.index-module_badge__container__x4Efs.index-module_dark__D2A4J{background:#1a1a1a;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_dark__D2A4J .index-module_badge-text__L6lUY{color:#fff;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}.index-module_badge__container__x4Efs.index-module_light__qcydF{background:#fff;border:1px solid #e6e6e6;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_light__qcydF .index-module_badge-text__L6lUY{color:#1a1a1a;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}.index-module_badge__container__x4Efs.index-module_no-border__iL-h5{background:transparent;border:none}.index-module_badge__container--wrapper-for-border__nsh-a{border:1px solid #1a1a1a;border-radius:.25rem;box-sizing:border-box;height:100%;mix-blend-mode:color-burn;opacity:.2;position:absolute;top:0;width:100%}");var i=function(i){var a=i.title,_=i.variant,l=void 0===_?"DEFAULT":_,x=i.style,s=void 0===x?{}:x,c=i.textStyle,m=void 0===c?{}:c,b=i.borderColorInBlendMode;return d(o,{children:[void 0!==b&&b?d("div",e({style:e({position:"relative",width:"fit-content"},s)},{children:[n("div",e({className:t(r.badge__container,r["no-border"],r[null==l?void 0:l.toLowerCase()])},{children:n("p",e({className:r["badge-text"],style:m},{children:a}))})),n("div",{className:r["badge__container--wrapper-for-border"]})]})):n("div",{children:n("div",e({className:t(r.badge__container,r[null==l?void 0:l.toLowerCase()]),style:s},{children:n("p",e({className:r["badge-text"],style:m},{children:a}))}))})," "]})};export{i as TextBadge};
1
+ import{__assign as e}from"tslib";import{jsx as t}from"react/jsx-runtime";import d from"classnames";var n={badge__container:"index-module_badge__container__x4Efs",default:"index-module_default__-QwPa","badge-text":"index-module_badge-text__L6lUY",dark:"index-module_dark__D2A4J",light:"index-module_light__qcydF"};!function(e,t){void 0===t&&(t={});var d=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===d&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".index-module_badge__container__x4Efs{width:max-content}.index-module_badge__container__x4Efs.index-module_default__-QwPa .index-module_badge-text__L6lUY{color:#b3b3b3;font-size:10px;font-style:normal;font-weight:500;line-height:14px;margin:0}.index-module_badge__container__x4Efs.index-module_dark__D2A4J{background:#1a1a1a;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_dark__D2A4J .index-module_badge-text__L6lUY{color:#fff;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}.index-module_badge__container__x4Efs.index-module_light__qcydF{background:#fff;border:1px solid #e6e6e6;border-radius:4px;padding:2px 4px}.index-module_badge__container__x4Efs.index-module_light__qcydF .index-module_badge-text__L6lUY{color:#1a1a1a;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px;line-height:12px;margin:0;text-transform:uppercase}");var i=function(i){var a=i.title,o=i.variant,_=void 0===o?"DEFAULT":o,r=i.style,l=void 0===r?{}:r;return t("div",{children:t("div",e({className:d(n.badge__container,n[null==_?void 0:_.toLowerCase()]),style:e({},l)},{children:t("p",e({className:n["badge-text"]},{children:a}))}))})};export{i 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":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/TextBadge/src/TextBadge.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","TextBadge","_a","title","_b","variant","_c","_d","textStyle","_e","borderColorInBlendMode","_jsxs","_Fragment","children","__assign","position","width","_jsx","className","classNames","Style","toLowerCase"],"mappings":"geAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,yvCClBM,IAAAe,EAAsC,SAACC,GACzC,IAAAC,EAAKD,EAAAC,MACLC,EAAmBF,EAAAG,QAAnBA,OAAO,IAAAD,EAAG,UAASA,EACnBE,EAAAJ,EAAAV,MAAAA,OAAQ,IAAAc,EAAA,CAAE,EAAAA,EACVC,EAAcL,EAAAM,UAAdA,OAAS,IAAAD,EAAG,CAAE,EAAAA,EACdE,EAAAP,EAAAQ,uBAEA,OACIC,EAAAC,EAAA,CAAAC,SAAA,MAHqB,IAAAJ,GAAKA,EAKlBE,EAAA,MAAAG,EAAA,CACItB,MAAKsB,EAAA,CACDC,SAAU,WACVC,MAAO,eACJxB,IAAK,CAAAqB,SAAA,CAGZI,EACI,MAAAH,EAAA,CAAAI,UAAWC,EACPC,EAAwB,iBACxBA,EAAM,aACNA,EAAMf,aAAA,EAAAA,EAASgB,iBAClB,CAAAR,SAEDI,EAAG,IAAAH,EAAA,CAAAI,UAAWE,EAAM,cAAe5B,MAAOgB,GAAS,CAAAK,SAC9CV,QAGTc,EAAA,MAAA,CACIC,UACIE,EAAM,8CAQlBH,EAAA,MAAA,CAAAJ,SACII,EACI,MAAAH,EAAA,CAAAI,UAAWC,EACPC,EAAwB,iBACxBA,EAAMf,aAAA,EAAAA,EAASgB,gBAEnB7B,MAAOA,GAAK,CAAAqB,SAEZI,EAAG,IAAAH,EAAA,CAAAI,UAAWE,EAAM,cAAe5B,MAAOgB,GAAS,CAAAK,SAC9CV,UAId,MAGf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ct-platform-text-badge.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/TextBadge/src/TextBadge.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","TextBadge","_a","title","_b","variant","_c","_jsx","children","__assign","className","classNames","Style","toLowerCase"],"mappings":"0TAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,g8BClBM,IAAAe,EAAsC,SAACC,GACzC,IAAAC,EAAKD,EAAAC,MACLC,EAAmBF,EAAAG,QAAnBA,OAAU,IAAAD,EAAA,UAASA,EACnBE,EAAUJ,EAAAV,MAAVA,OAAK,IAAAc,EAAG,CAAE,EAAAA,EAEV,OACIC,EACI,MAAA,CAAAC,SAAAD,EAAA,MAAAE,EAAA,CACIC,UAAWC,EACPC,EAAwB,iBACxBA,EAAMP,aAAO,EAAPA,EAASQ,gBAEnBrB,WAAYA,IAAK,CAAAgB,SAEjBD,SAAGG,UAAWE,EAAM,eAAgB,CAAAJ,SAAAL,SAIpD","x_google_ignoreList":[0]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-text-badge",
3
- "version": "3.1.0-beta.8",
3
+ "version": "4.0.0",
4
4
  "description": "Text badge Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-text-badge.cjs.js",