@cleartrip/ct-platform-rtbs 1.0.1-beta.1 → 1.0.1-beta.2
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/RTBs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RTBs.d.ts","sourceRoot":"","sources":["../packages/components/RTBs/src/RTBs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAerD,OAAO,EAAa,QAAQ,EAAE,MAAM,cAAc,CAAC;AAInD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"RTBs.d.ts","sourceRoot":"","sources":["../packages/components/RTBs/src/RTBs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAerD,OAAO,EAAa,QAAQ,EAAE,MAAM,cAAc,CAAC;AAInD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA8C5B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),a=require("react"),i=require("@cleartrip/ct-platform-merch-carousel"),o=require("@cleartrip/ct-design-theme"),r=require("@cleartrip/ct-design-typography"),
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),a=require("react"),i=require("@cleartrip/ct-platform-merch-carousel"),o=require("@cleartrip/ct-design-theme"),r=require("@cleartrip/ct-design-typography"),l=require("@cleartrip/ct-platform-widget-manager");function s(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===a&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var n="index-module_container__R8KqS",m="index-module_leftContainer__NzVff",d="index-module_bottomImage__zP7vx";s(".index-module_container__R8KqS{border-radius:12px;display:flex;height:144px;width:292px}.index-module_leftContainer__NzVff{display:flex;flex-direction:column;justify-content:space-between;padding:20px 0 16px 16px}.index-module_sideImgContainer__Cd5dS{height:144px;width:154px}.index-module_bottomImage__zP7vx{height:auto!important;object-fit:none!important;width:auto!important}");var g=function(a){var i=a.title,o=a.bgColor,l=a.subtitles,s=a.sideImage,g=a.bottomImage,c=a.sideImgAltText,u=a.bottomImageAltText;return t.jsxs("div",e.__assign({className:n,style:{backgroundColor:o}},{children:[t.jsxs("div",e.__assign({className:m},{children:[t.jsxs("div",{children:[t.jsx(r.Typography,e.__assign({variant:r.TypographyVariant.HM3},{children:i})),l.map((function(a){return t.jsx(r.Typography,e.__assign({variant:r.TypographyVariant.B3},{children:a}),a)}))]}),t.jsx("img",{src:g,fetchPriority:"low",alt:u,className:d})]})),t.jsx("img",{width:154,height:144,src:s,alt:c})]}))},c={title:"Booking on Cleartrip is Thala’s choice!",cardsData:[{title:"Flights",bgColor:"#42B359",subtitles:["Free cancellation","& rescheduling","Starting ₹99"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/Dhoni%201.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_118,h_20/offermgmt/images/banner/clearchoice%20white.png",sideImgAltText:"RTB Side Image 1",bottomImageAltText:"RTB Bottom Image 1"},{title:"Hotels",bgColor:"#0f6bff",subtitles:["Fully refundable*","till check-in time.","Starting ₹49"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/Dhoni%202.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_118,h_20/offermgmt/images/banner/clearchoice%20white.png",sideImgAltText:"RTB Side Image 2",bottomImageAltText:"RTB Bottom Image 2"},{title:"Buses",bgColor:"#FFDC5F",subtitles:["Fully refundable*","till 6hrs before","departure"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/Frame%201410121086.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_118,h_20/offermgmt/images/banner/clearchoice%20purple.png",sideImgAltText:"RTB Side Image 3",bottomImageAltText:"RTB Bottom Image 3"},{title:"Medicancel",bgColor:"#FF4F17",subtitles:["Get full refund","when you cancel","for medical","reasons, for free!"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/dhoni%204.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_115,h_20/offermgmt/images/banner/medicancel%20logo%20white.png",sideImgAltText:"RTB Side Image 4",bottomImageAltText:"RTB Bottom Image 4"}]},u="index-module_title__SB457",p="index-module_rtbSlide__cXva8";s(".index-module_title__SB457{padding-bottom:16px;padding-left:16px}.index-module_rtbSlide__cXva8:first-child{padding-left:16px}");exports.RTBWidget=function(s){var n=s.cards,m=s.title,d=s.carouselProps,_=a.useState(null!=m?m:c.title)[0],h=a.useState(null!=n?n:c.cardsData)[0],f=a.useCallback((function(a){return(null==a?void 0:a.slideData)?t.jsx("div",e.__assign({className:p},{children:t.jsx(g,e.__assign({},a.slideData),a.slideData.title)})):t.jsx(t.Fragment,{})}),[]),x=a.useCallback((function(){return{width:"292px",height:"144px"}}),[]);return t.jsxs(o.ThemeProvider,{children:[t.jsx(r.Typography,e.__assign({variant:r.TypographyVariant.HM3,className:u},{children:_})),t.jsx(i.MerchCarousel,e.__assign({},l.MerchCarouselPeekingProps,{slides:h,lazyWidget:!0,isAutoplay:!1,spacingBetween:16,slidesToDisplay:"auto"},d,{getSlideStyles:x,renderSlideItem:f}))]})};
|
|
2
2
|
//# sourceMappingURL=ct-platform-rtbs.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-rtbs.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/RTBs/src/Card/index.tsx","../packages/components/RTBs/src/constants.ts","../packages/components/RTBs/src/RTBs.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,null,null],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","RTBCard","_a","title","bgColor","subtitles","sideImage","bottomImage","sideImgAltText","bottomImageAltText","_jsxs","className","styles","backgroundColor","children","__assign","_jsx","Typography","variant","TypographyVariant","HM3","map","subtitle","B3","jsx","src","fetchPriority","alt","width","height","DefaultProps","cardsData","cards","carouselProps","_title","useState","_cards","renderSlideItem","useCallback","data","slideData","_Fragment","getSlideStyles","jsxs","ThemeProvider","
|
|
1
|
+
{"version":3,"file":"ct-platform-rtbs.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/RTBs/src/Card/index.tsx","../packages/components/RTBs/src/constants.ts","../packages/components/RTBs/src/RTBs.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,null,null],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","RTBCard","_a","title","bgColor","subtitles","sideImage","bottomImage","sideImgAltText","bottomImageAltText","_jsxs","className","styles","backgroundColor","children","__assign","_jsx","Typography","variant","TypographyVariant","HM3","map","subtitle","B3","jsx","src","fetchPriority","alt","width","height","DefaultProps","cardsData","cards","carouselProps","_title","useState","_cards","renderSlideItem","useCallback","data","slideData","_Fragment","Fragment","getSlideStyles","jsxs","ThemeProvider","MerchCarousel","MerchCarouselPeekingProps","slides","lazyWidget","isAutoplay","spacingBetween","slidesToDisplay"],"mappings":"iRAAA,SAASA,EAAYC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,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,ifCjBA,IAAMe,EAA+B,SAACC,GAClC,IAAAC,UACAC,YACAC,cACAC,EAASJ,EAAAI,UACTC,EAAWL,EAAAK,YACXC,EAAcN,EAAAM,eACdC,EAAkBP,EAAAO,mBAElB,OACIC,yBAAKC,UAAWC,EAAkBpB,MAAO,CAAEqB,gBAAiBT,IAAS,CAAAU,SAAA,CACjEJ,OAAK,MAAAK,EAAAA,SA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AAA,IAAK,MAAAD,EAAAA,SAAA,CAAAJ,UAAWC,GACZ,CAAAE,SAAAE,EAAAA,IAACf,EAAOc,EAAAA,SAAA,CAAA,EAAgCwB,EAAKC,WAA/BD,EAAKC,UAAUrC,UAGjCa,EAAAQ,IAAAiB,EAAAC,SAAA,CAAA,EAEP,GACD,IAGEC,EAAiBL,EAAAA,aAAY,WAC/B,MAAO,CACHV,MAAO,QACPC,OAAQ,QAEf,GAAE,IAEH,OACInB,EAACkC,KAAAC,gBACG,CAAA/B,SAAA,CAAAE,EAAAQ,IAACP,aAAUF,EAAAA,SAAA,CACPG,QAASC,EAAiBA,kBAACC,IAC3BT,UAAWC,GAAY,CAAAE,SAEtBoB,KAGLlB,EAAAQ,IAACsB,gBAAa/B,EAAAA,SAAA,CAAA,EACNgC,EAAyBA,0BAAA,CAC7BC,OAAQZ,EACRa,YAAY,EACZC,YAAY,EACZC,eAAgB,GAChBC,gBAAgB,QACZnB,EAAa,CACjBU,eAAgBA,EAChBN,gBAAiBA,OAIjC","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as t}from"tslib";import{jsxs as e,jsx as
|
|
1
|
+
import{__assign as t}from"tslib";import{jsxs as e,jsx as i,Fragment as a}from"react/jsx-runtime";import{useState as o,useCallback as l}from"react";import{MerchCarousel as m}from"@cleartrip/ct-platform-merch-carousel";import{ThemeProvider as r}from"@cleartrip/ct-design-theme";import{Typography as n,TypographyVariant as d}from"@cleartrip/ct-design-typography";import{MerchCarouselPeekingProps as s}from"@cleartrip/ct-platform-widget-manager";function c(t,e){void 0===e&&(e={});var i=e.insertAt;if(t&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var g="index-module_container__R8KqS",p="index-module_leftContainer__NzVff",u="index-module_bottomImage__zP7vx";c(".index-module_container__R8KqS{border-radius:12px;display:flex;height:144px;width:292px}.index-module_leftContainer__NzVff{display:flex;flex-direction:column;justify-content:space-between;padding:20px 0 16px 16px}.index-module_sideImgContainer__Cd5dS{height:144px;width:154px}.index-module_bottomImage__zP7vx{height:auto!important;object-fit:none!important;width:auto!important}");var f=function(a){var o=a.title,l=a.bgColor,m=a.subtitles,r=a.sideImage,s=a.bottomImage,c=a.sideImgAltText,f=a.bottomImageAltText;return e("div",t({className:g,style:{backgroundColor:l}},{children:[e("div",t({className:p},{children:[e("div",{children:[i(n,t({variant:d.HM3},{children:o})),m.map((function(e){return i(n,t({variant:d.B3},{children:e}),e)}))]}),i("img",{src:s,fetchPriority:"low",alt:f,className:u})]})),i("img",{width:154,height:144,src:r,alt:c})]}))},_={title:"Booking on Cleartrip is Thala’s choice!",cardsData:[{title:"Flights",bgColor:"#42B359",subtitles:["Free cancellation","& rescheduling","Starting ₹99"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/Dhoni%201.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_118,h_20/offermgmt/images/banner/clearchoice%20white.png",sideImgAltText:"RTB Side Image 1",bottomImageAltText:"RTB Bottom Image 1"},{title:"Hotels",bgColor:"#0f6bff",subtitles:["Fully refundable*","till check-in time.","Starting ₹49"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/Dhoni%202.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_118,h_20/offermgmt/images/banner/clearchoice%20white.png",sideImgAltText:"RTB Side Image 2",bottomImageAltText:"RTB Bottom Image 2"},{title:"Buses",bgColor:"#FFDC5F",subtitles:["Fully refundable*","till 6hrs before","departure"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/Frame%201410121086.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_118,h_20/offermgmt/images/banner/clearchoice%20purple.png",sideImgAltText:"RTB Side Image 3",bottomImageAltText:"RTB Bottom Image 3"},{title:"Medicancel",bgColor:"#FF4F17",subtitles:["Get full refund","when you cancel","for medical","reasons, for free!"],sideImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_154,h_144,dpr_2/offermgmt/images/banner/dhoni%204.png",bottomImage:"https://fastui.cltpstatic.com/image/upload/f_auto,q_auto,w_115,h_20/offermgmt/images/banner/medicancel%20logo%20white.png",sideImgAltText:"RTB Side Image 4",bottomImageAltText:"RTB Bottom Image 4"}]},h="index-module_title__SB457",x="index-module_rtbSlide__cXva8";c(".index-module_title__SB457{padding-bottom:16px;padding-left:16px}.index-module_rtbSlide__cXva8:first-child{padding-left:16px}");var b=function(c){var g=c.cards,p=c.title,u=c.carouselProps,b=o(null!=p?p:_.title)[0],I=o(null!=g?g:_.cardsData)[0],T=l((function(e){return(null==e?void 0:e.slideData)?i("div",t({className:x},{children:i(f,t({},e.slideData),e.slideData.title)})):i(a,{})}),[]),B=l((function(){return{width:"292px",height:"144px"}}),[]);return e(r,{children:[i(n,t({variant:d.HM3,className:h},{children:b})),i(m,t({},s,{slides:I,lazyWidget:!0,isAutoplay:!1,spacingBetween:16,slidesToDisplay:"auto"},u,{getSlideStyles:B,renderSlideItem:T}))]})};export{b as RTBWidget};
|
|
2
2
|
//# sourceMappingURL=ct-platform-rtbs.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-rtbs.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/RTBs/src/Card/index.tsx","../packages/components/RTBs/src/constants.ts","../packages/components/RTBs/src/RTBs.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,null,null],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","RTBCard","_a","title","bgColor","subtitles","sideImage","bottomImage","sideImgAltText","bottomImageAltText","_jsxs","className","styles","backgroundColor","children","__assign","_jsx","Typography","variant","TypographyVariant","HM3","map","subtitle","B3","src","fetchPriority","alt","width","height","DefaultProps","cardsData","RTBs","cards","carouselProps","_title","useState","_cards","renderSlideItem","useCallback","data","slideData","_Fragment","getSlideStyles","ThemeProvider","
|
|
1
|
+
{"version":3,"file":"ct-platform-rtbs.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/RTBs/src/Card/index.tsx","../packages/components/RTBs/src/constants.ts","../packages/components/RTBs/src/RTBs.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,null,null],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","RTBCard","_a","title","bgColor","subtitles","sideImage","bottomImage","sideImgAltText","bottomImageAltText","_jsxs","className","styles","backgroundColor","children","__assign","_jsx","Typography","variant","TypographyVariant","HM3","map","subtitle","B3","src","fetchPriority","alt","width","height","DefaultProps","cardsData","RTBs","cards","carouselProps","_title","useState","_cards","renderSlideItem","useCallback","data","slideData","_Fragment","getSlideStyles","ThemeProvider","MerchCarousel","MerchCarouselPeekingProps","slides","lazyWidget","isAutoplay","spacingBetween","slidesToDisplay"],"mappings":"0bAAA,SAASA,EAAYC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,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,ifCjBA,IAAMe,EAA+B,SAACC,GAClC,IAAAC,UACAC,YACAC,cACAC,EAASJ,EAAAI,UACTC,EAAWL,EAAAK,YACXC,EAAcN,EAAAM,eACdC,EAAkBP,EAAAO,mBAElB,OACIC,WAAKC,UAAWC,EAAkBpB,MAAO,CAAEqB,gBAAiBT,IAAS,CAAAU,SAAA,CACjEJ,EAAK,MAAAK,EAAA,CAAAJ,UAAWC,GAAoB,CAAAE,SAAA,CAChCJ,EACI,MAAA,CAAAI,SAAA,CAAAE,EAACC,EAAWF,EAAA,CAAAG,QAASC,EAAkBC,KAClC,CAAAN,SAAAX,KAEJE,EAAUgB,KAAI,SAACC,GAAa,OACzBN,EAACC,EAAUF,EAAA,CAEPG,QAASC,EAAkBI,IAE1B,CAAAT,SAAAQ,IAHIA,EAKZ,OAGLN,EAAA,MAAA,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T,UAAWC,GAAY,CAAAE,SAEtBoB,KAGLlB,EAAC4B,EAAa7B,EAAA,CAAA,EACN8B,EAAyB,CAC7BC,OAAQV,EACRW,YAAY,EACZC,YAAY,EACZC,eAAgB,GAChBC,gBAAgB,QACZjB,EAAa,CACjBS,eAAgBA,EAChBL,gBAAiBA,OAIjC","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-platform-rtbs",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.2",
|
|
4
4
|
"description": "RTB Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-platform-rtbs.cjs.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"@cleartrip/ct-design-theme": "3.7.0",
|
|
14
14
|
"@cleartrip/ct-design-typography": "3.7.0",
|
|
15
15
|
"classnames": "^2.5.1",
|
|
16
|
-
"@cleartrip/ct-platform-merch-carousel": "3.1.1-beta.
|
|
17
|
-
"@cleartrip/ct-platform-widget-manager": "3.1.1-beta.
|
|
16
|
+
"@cleartrip/ct-platform-merch-carousel": "3.1.1-beta.5",
|
|
17
|
+
"@cleartrip/ct-platform-widget-manager": "3.1.1-beta.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": ">=16.8.0",
|