@cleartrip/ct-platform-animated-wallet-cta 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.
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedWalletCta.d.ts","sourceRoot":"","sources":["../packages/components/AnimatedWalletCta/src/AnimatedWalletCta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAQ3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqFvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"AnimatedWalletCta.d.ts","sourceRoot":"","sources":["../packages/components/AnimatedWalletCta/src/AnimatedWalletCta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAQ3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAInE,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4GvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),a=require("react/jsx-runtime"),t=require("react"),n=require("classnames"),i=require("@cleartrip/ct-platform-assets");function s(e){return e&&e.__esModule?e:{default:e}}var o=s(n);var r={"cta-container__wrapper":"index-module_cta-container__wrapper__NjeQK","cta-container":"index-module_cta-container__g2zt5",shine:"index-module_shine__ErUAO","animated-item":"index-module_animated-item__ah-4F",slideUpText:"index-module_slideUpText__Snve3",slideUpTextReverse:"index-module_slideUpTextReverse__OTDJb",icon:"index-module_icon__jXdTc",balance:"index-module_balance__SNbpn"};!function(e,a){void 0===a&&(a={});var t=a.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".index-module_cta-container__wrapper__NjeQK{background-color:#fff;border-radius:100px}.index-module_cta-container__g2zt5{animation:index-module_shine__ErUAO 1.5s 1,index-module_shine__ErUAO 1.5s 6s,index-module_shine__ErUAO 1.5s 11.8s;background:linear-gradient(45deg,hsla(0,0%,100%,0) 40%,rgba(255,214,13,.2) 41%,hsla(0,0%,100%,0) 60%);background-position:-44px;background-repeat:no-repeat;background-size:44px;border:1px solid #e6e6e6;border-radius:100px;box-sizing:border-box;height:32px;line-height:50px;min-width:84px;overflow:hidden;padding:4px 8px;position:relative;text-align:center;width:fit-content}@keyframes index-module_shine__ErUAO{0%{background-position:-12px}49%{background-position:200%}50%{background-position:-12px}to{background-position:200%}}@-moz-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}@-webkit-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}@-o-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}@-ms-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F{align-items:center;animation:index-module_slideUpText__Snve3 3s ease-in-out 1 forwards;display:flex;gap:4px;opacity:0;position:absolute;top:50%;width:max-content}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(2){animation-delay:2.8s}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(3){animation-delay:5.8s}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(4){animation-delay:8.8s}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(5){animation-delay:10.8s;animation-name:index-module_slideUpTextReverse__OTDJb}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F .index-module_icon__jXdTc{height:20px;vertical-align:middle;width:20px}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F .index-module_balance__SNbpn{align-items:baseline;color:#1a1a1a;display:flex;font-size:12px;font-style:normal;font-weight:500;line-height:20px;margin:0;padding:0 4px}@keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-moz-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-webkit-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-o-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-ms-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-moz-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-webkit-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-o-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-ms-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}");exports.AnimatedWalletCta=function(n){var s=n.superCoinsBalance,d=n.walletBalance,l=t.useRef(null),_=t.useRef(null),c=t.useState({}),m=c[0],p=c[1];return t.useEffect((function(){var e,a;if(l.current&&_.current){var t=Math.max(null===(e=null==l?void 0:l.current)||void 0===e?void 0:e.clientWidth,null===(a=null==_?void 0:_.current)||void 0===a?void 0:a.clientWidth);p({width:"".concat(t+16,"px"),minWidth:"84px"})}}),[]),a.jsx("div",e.__assign({style:m,className:r["cta-container__wrapper"]},{children:a.jsxs("div",e.__assign({className:r["cta-container"],style:m},{children:[a.jsxs("div",e.__assign({className:o.default(r["animated-item"],r.supercoins),ref:_},{children:[a.jsx(i.SuperCoinIcon,{className:r.icon}),a.jsx("p",e.__assign({className:r.balance},{children:s}))]})),a.jsxs("div",e.__assign({className:o.default(r["animated-item"],r.wallet),ref:l},{children:[a.jsx(i.WalletIcon,{className:r.icon}),a.jsxs("p",e.__assign({className:r.balance},{children:["₹",d]}))]})),a.jsxs("div",e.__assign({className:o.default(r["animated-item"],r.supercoins),ref:_},{children:[a.jsx(i.SuperCoinIcon,{className:r.icon}),a.jsx("p",e.__assign({className:r.balance},{children:s}))]})),a.jsxs("div",e.__assign({className:o.default(r["animated-item"],r.wallet),ref:l},{children:[a.jsx(i.WalletIcon,{className:r.icon}),a.jsxs("p",e.__assign({className:r.balance},{children:["₹",d]}))]})),a.jsxs("div",e.__assign({className:o.default(r["animated-item"],r.supercoins),ref:_},{children:[a.jsx(i.SuperCoinIcon,{className:r.icon}),a.jsx("p",e.__assign({className:r.balance},{children:s}))]}))]}))}))};
1
+ "use strict";var a=require("react/jsx-runtime"),i=require("react"),e=require("@cleartrip/ct-platform-assets"),t=require("@cleartrip/ct-design-style-manager"),n=require("@emotion/css"),o=require("@cleartrip/ct-design-components");const r=n.keyframes({"0%":{backgroundPosition:"-12px"},"49%":{backgroundPosition:"200%"},"50%":{backgroundPosition:"-12px"},"100%":{backgroundPosition:"200%"}}),s=n.keyframes({"0%, 100%":{transform:"translateY(0)",opacity:0},"16.666%, 50%":{transform:"translateY(-50%)",opacity:1},"83.333%, 100%":{transform:"translateY(-100%)",opacity:0}}),l=n.keyframes({"0%":{transform:"translateY(100%)",opacity:0},"50%, 83.333%, 100%":{transform:"translateY(-50%)",opacity:1}}),c=t.makeStyles((()=>({"cta-container__wrapper":{backgroundColor:"#fff",borderRadius:100},"cta-container":{boxSizing:"border-box",paddingTop:4,paddingRight:8,paddingBottom:4,paddingLeft:8,borderRadius:100,border:"1px solid #e6e6e6",height:32,overflow:"hidden",textAlign:"center",position:"relative",minWidth:84,width:"fit-content",lineHeight:50,background:"linear-gradient(45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 214, 13, 0.2) 41%, rgba(255, 255, 255, 0) 60%)",backgroundPosition:-44,backgroundRepeat:"no-repeat",backgroundSize:44,animation:`${r} 1.5s 1, ${r} 1.5s 6s, ${r} 1.5s 11.8s`},"cta-container .animated-item":{display:"flex",alignItems:"center",gap:4,width:"max-content",position:"absolute",top:"50%",opacity:0,animation:`${s} 3s 1 ease-in-out forwards`},"cta-container .animated-item:nth-child(2)":{animationDelay:"2.8s"},"cta-container .animated-item:nth-child(3)":{animationDelay:"5.8s"},"cta-container .animated-item:nth-child(4)":{animationDelay:"8.8s"},"cta-container .animated-item:nth-child(5)":{animationName:`${l}`,animationDelay:"10.8s"},"cta-container .animated-item .icon":{width:20,height:20,verticalAlign:"middle"},"cta-container .animated-item .balance":{margin:0,color:"#1A1A1A",paddingTop:0,paddingRight:4,paddingBottom:0,paddingLeft:4,fontSize:12,fontStyle:"normal",fontWeight:500,lineHeight:20,display:"flex",alignItems:"baseline"},"animated-item":{display:"flex",alignItems:"center",gap:4,width:"max-content",position:"absolute",top:"50%",opacity:0,animation:`${s} 3s 1 ease-in-out forwards`},icon:{width:20,height:20,verticalAlign:"middle"},balance:{margin:0,color:"#1A1A1A",paddingTop:0,paddingRight:4,paddingBottom:0,paddingLeft:4,fontSize:12,fontStyle:"normal",fontWeight:500,lineHeight:20,display:"flex",alignItems:"baseline"}})));exports.AnimatedWalletCta=({superCoinsBalance:t,walletBalance:n})=>{const r=i.useRef(null),s=i.useRef(null),[l,d]=i.useState({});return i.useEffect((()=>{var a,i;if(r.current&&s.current){const e=Math.max(null===(a=null==r?void 0:r.current)||void 0===a?void 0:a.clientWidth,null===(i=null==s?void 0:s.current)||void 0===i?void 0:i.clientWidth);d({width:`${e+16}px`,minWidth:"84px"})}}),[]),a.jsx(o.Container,{as:"div",styleConfig:{root:[c["cta-container__wrapper"],l]},children:a.jsxs(o.Container,{as:"div",styleConfig:{root:[c["cta-container"],l]},children:[a.jsxs(o.Container,{as:"div",ref:s,styleConfig:{root:[c["animated-item"],c.supercoins]},children:[a.jsx(e.SuperCoinIcon,{className:c.icon}),a.jsx(o.Typography,{variant:"P2",styleConfig:{root:[c.balance]},children:t})]}),a.jsxs(o.Container,{as:"div",ref:r,styleConfig:{root:[c["animated-item"],c.wallet]},children:[a.jsx(e.WalletIcon,{className:c.icon}),a.jsxs(o.Typography,{variant:"P2",styleConfig:{root:[c.balance]},children:["₹",n]})]}),a.jsxs(o.Container,{as:"div",ref:s,styleConfig:{root:[c["animated-item"],c.supercoins]},children:[a.jsx(e.SuperCoinIcon,{className:c.icon}),a.jsx(o.Typography,{variant:"P2",styleConfig:{root:[c.balance]},children:t})]}),a.jsxs(o.Container,{as:"div",ref:r,styleConfig:{root:[c["animated-item"],c.wallet]},children:[a.jsx(e.WalletIcon,{className:c.icon}),a.jsxs(o.Typography,{variant:"P2",styleConfig:{root:[c.balance]},children:["₹",n]})]}),a.jsxs(o.Container,{as:"div",ref:s,styleConfig:{root:[c["animated-item"],c.supercoins]},children:[a.jsx(e.SuperCoinIcon,{className:c.icon}),a.jsx(o.Typography,{variant:"P2",styleConfig:{root:[c.balance]},children:t})]})]})})};
2
2
  //# sourceMappingURL=ct-platform-animated-wallet-cta.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-animated-wallet-cta.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/AnimatedWalletCta/src/AnimatedWalletCta.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","superCoinsBalance","walletBalance","walletref","useRef","supercoinsRef","_b","useState","ctaStyle","setCtaStyle","useEffect","current","ctaWidth","Math","max","clientWidth","width","concat","minWidth","_jsx","__assign","className","Styles","children","_jsxs","classNames","default","SuperCoinIcon","jsx","jsxs","WalletIcon"],"mappings":"gmBAAA,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,o2HCf4D,SAACe,OACzDC,EAAiBD,EAAAC,kBACjBC,EAAaF,EAAAE,cAEPC,EAAYC,SAAuB,MACnCC,EAAgBD,SAAuB,MACvCE,EAA0BC,EAAAA,SAAS,CAAE,GAApCC,EAAQF,EAAA,GAAEG,EAAWH,EAAA,GAiB5B,OAfAI,EAAA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EAAgB,SAAI,CAAAC,SAAAtB,SAGtCuB,OACI,MAAAJ,EAAAA,SAAA,CAAAC,UAAWI,EAAAA,QACPH,EAAO,iBACPA,EAAe,QAEnBpC,IAAKiB,GAAS,CAAAoB,SAAA,CAEdJ,EAAAA,IAACW,EAAAA,WAAW,CAAAT,UAAWC,EAAa,OACpCE,EAAAA,KAAG,IAAAJ,EAAAA,SAAA,CAAAC,UAAWC,EAAgB,SAAC,CAAAC,SAAA,CAAA,IAAIrB,UAIvCsB,OACI,MAAAJ,EAAAA,SAAA,CAAAC,UAAWI,EAAUC,QACjBJ,EAAO,iBACPA,EAAmB,YAEvBpC,IAAKmB,GAEL,CAAAkB,SAAA,CAAAJ,EAAAS,IAACD,gBAAa,CAACN,UAAWC,EAAa,OACvCH,EAAAA,IAAG,IAAAC,EAAAA,SAAA,CAAAC,UAAWC,EAAgB,SAAC,CAAAC,SAAGtB,eAKtD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ct-platform-animated-wallet-cta.cjs.js","sources":["../packages/components/AnimatedWalletCta/src/index.module.ts","../packages/components/AnimatedWalletCta/src/AnimatedWalletCta.tsx"],"sourcesContent":[null,null],"names":["shine","keyframes","backgroundPosition","slideUpText","transform","opacity","slideUpTextReverse","styles","makeStyles","backgroundColor","borderRadius","boxSizing","paddingTop","paddingRight","paddingBottom","paddingLeft","border","height","overflow","textAlign","position","minWidth","width","lineHeight","background","backgroundRepeat","backgroundSize","animation","display","alignItems","gap","top","animationDelay","animationName","verticalAlign","margin","color","fontSize","fontStyle","fontWeight","icon","balance","superCoinsBalance","walletBalance","walletref","useRef","supercoinsRef","ctaStyle","setCtaStyle","useState","useEffect","current","ctaWidth","Math","max","_a","clientWidth","_b","_jsx","Container","as","styleConfig","root","Styles","children","_jsxs","jsxs","ref","SuperCoinIcon","className","jsx","Typography","variant","WalletIcon"],"mappings":"qOAEA,MAAMA,EAAQC,EAAAA,UAAU,CACtB,KAAM,CACJC,mBAAoB,SAEtB,MAAO,CACL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,MAEHO,IAAKvB,EACLiB,YAAa,CACTC,KAAM,CAACC,EAAO,iBAAkBA,EAAe,SAClDC,SAAA,CAEDN,MAACe,EAAUA,WAAA,CAACJ,UAAWN,EAAa,OACpCE,EAAAC,KAACK,EAAUA,WAAC,CAAAC,QAAQ,KAAKX,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAA,CAAA,IAAIrB,QAITsB,EAAAC,KAACP,EAASA,UACN,CAAAC,GAAG,MAEHO,IAAKrB,EACLe,YAAa,CACTC,KAAM,CAACC,EAAO,iBAAkBA,EAAmB,aACtDC,SAAA,CAEDN,MAACU,EAAaA,cAAA,CAACC,UAAWN,EAAa,OACvCL,EAAAY,IAACC,EAAUA,WAAC,CAAAC,QAAQ,KAAKX,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAGtB,OAGRuB,EAAAC,KAACP,YACG,CAAAC,GAAG,MAEHO,IAAKvB,EACLiB,YAAa,CACTC,KAAM,CAACC,EAAO,iBAAkBA,EAAe,SAClDC,SAAA,CAEDN,MAACe,EAAUA,WAAA,CAACJ,UAAWN,EAAa,OACpCE,EAAAC,KAACK,EAAUA,WAAC,CAAAC,QAAQ,KAAKX,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAA,CAAA,IAAIrB,QAITsB,EAAAC,KAACP,EAASA,UACN,CAAAC,GAAG,MAEHO,IAAKrB,EACLe,YAAa,CACTC,KAAM,CAACC,EAAO,iBAAkBA,EAAmB,aACtDC,SAAA,CAEDN,MAACU,EAAaA,cAAA,CAACC,UAAWN,EAAa,OACvCL,EAAAY,IAACC,EAAUA,WAAC,CAAAC,QAAQ,KAAKX,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAGtB,WAIlB"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as a,jsxs as t}from"react/jsx-runtime";import{useRef as n,useState as i,useEffect as o}from"react";import r from"classnames";import{SuperCoinIcon as d,WalletIcon as s}from"@cleartrip/ct-platform-assets";var l={"cta-container__wrapper":"index-module_cta-container__wrapper__NjeQK","cta-container":"index-module_cta-container__g2zt5",shine:"index-module_shine__ErUAO","animated-item":"index-module_animated-item__ah-4F",slideUpText:"index-module_slideUpText__Snve3",slideUpTextReverse:"index-module_slideUpTextReverse__OTDJb",icon:"index-module_icon__jXdTc",balance:"index-module_balance__SNbpn"};!function(e,a){void 0===a&&(a={});var t=a.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".index-module_cta-container__wrapper__NjeQK{background-color:#fff;border-radius:100px}.index-module_cta-container__g2zt5{animation:index-module_shine__ErUAO 1.5s 1,index-module_shine__ErUAO 1.5s 6s,index-module_shine__ErUAO 1.5s 11.8s;background:linear-gradient(45deg,hsla(0,0%,100%,0) 40%,rgba(255,214,13,.2) 41%,hsla(0,0%,100%,0) 60%);background-position:-44px;background-repeat:no-repeat;background-size:44px;border:1px solid #e6e6e6;border-radius:100px;box-sizing:border-box;height:32px;line-height:50px;min-width:84px;overflow:hidden;padding:4px 8px;position:relative;text-align:center;width:fit-content}@keyframes index-module_shine__ErUAO{0%{background-position:-12px}49%{background-position:200%}50%{background-position:-12px}to{background-position:200%}}@-moz-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}@-webkit-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}@-o-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}@-ms-keyframes index-module_shine__ErUAO{0%{background-position:-12px}to{background-position:200%}}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F{align-items:center;animation:index-module_slideUpText__Snve3 3s ease-in-out 1 forwards;display:flex;gap:4px;opacity:0;position:absolute;top:50%;width:max-content}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(2){animation-delay:2.8s}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(3){animation-delay:5.8s}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(4){animation-delay:8.8s}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F:nth-child(5){animation-delay:10.8s;animation-name:index-module_slideUpTextReverse__OTDJb}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F .index-module_icon__jXdTc{height:20px;vertical-align:middle;width:20px}.index-module_cta-container__g2zt5 .index-module_animated-item__ah-4F .index-module_balance__SNbpn{align-items:baseline;color:#1a1a1a;display:flex;font-size:12px;font-style:normal;font-weight:500;line-height:20px;margin:0;padding:0 4px}@keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-moz-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-webkit-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-o-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@-ms-keyframes index-module_slideUpText__Snve3{0%,to{opacity:0;transform:translateY(0)}16.666%,50%{opacity:1;transform:translateY(-50%)}83.333%,to{opacity:0;transform:translateY(-100%)}}@keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-moz-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-webkit-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-o-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}@-ms-keyframes index-module_slideUpTextReverse__OTDJb{0%{opacity:0;transform:translateY(100%)}50%,83.333%,to{opacity:1;transform:translateY(-50%)}}");var m=function(m){var c=m.superCoinsBalance,_=m.walletBalance,p=n(null),x=n(null),u=i({}),f=u[0],h=u[1];return o((function(){var e,a;if(p.current&&x.current){var t=Math.max(null===(e=null==p?void 0:p.current)||void 0===e?void 0:e.clientWidth,null===(a=null==x?void 0:x.current)||void 0===a?void 0:a.clientWidth);h({width:"".concat(t+16,"px"),minWidth:"84px"})}}),[]),a("div",e({style:f,className:l["cta-container__wrapper"]},{children:t("div",e({className:l["cta-container"],style:f},{children:[t("div",e({className:r(l["animated-item"],l.supercoins),ref:x},{children:[a(d,{className:l.icon}),a("p",e({className:l.balance},{children:c}))]})),t("div",e({className:r(l["animated-item"],l.wallet),ref:p},{children:[a(s,{className:l.icon}),t("p",e({className:l.balance},{children:["₹",_]}))]})),t("div",e({className:r(l["animated-item"],l.supercoins),ref:x},{children:[a(d,{className:l.icon}),a("p",e({className:l.balance},{children:c}))]})),t("div",e({className:r(l["animated-item"],l.wallet),ref:p},{children:[a(s,{className:l.icon}),t("p",e({className:l.balance},{children:["₹",_]}))]})),t("div",e({className:r(l["animated-item"],l.supercoins),ref:x},{children:[a(d,{className:l.icon}),a("p",e({className:l.balance},{children:c}))]}))]}))}))};export{m as AnimatedWalletCta};
1
+ import{jsx as i,jsxs as t}from"react/jsx-runtime";import{useRef as a,useState as n,useEffect as e}from"react";import{SuperCoinIcon as o,WalletIcon as r}from"@cleartrip/ct-platform-assets";import{makeStyles as l}from"@cleartrip/ct-design-style-manager";import{keyframes as d}from"@emotion/css";import{Container as c,Typography as s}from"@cleartrip/ct-design-components";const m=d({"0%":{backgroundPosition:"-12px"},"49%":{backgroundPosition:"200%"},"50%":{backgroundPosition:"-12px"},"100%":{backgroundPosition:"200%"}}),g=d({"0%, 100%":{transform:"translateY(0)",opacity:0},"16.666%, 50%":{transform:"translateY(-50%)",opacity:1},"83.333%, 100%":{transform:"translateY(-100%)",opacity:0}}),p=d({"0%":{transform:"translateY(100%)",opacity:0},"50%, 83.333%, 100%":{transform:"translateY(-50%)",opacity:1}}),f=l((()=>({"cta-container__wrapper":{backgroundColor:"#fff",borderRadius:100},"cta-container":{boxSizing:"border-box",paddingTop:4,paddingRight:8,paddingBottom:4,paddingLeft:8,borderRadius:100,border:"1px solid #e6e6e6",height:32,overflow:"hidden",textAlign:"center",position:"relative",minWidth:84,width:"fit-content",lineHeight:50,background:"linear-gradient(45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 214, 13, 0.2) 41%, rgba(255, 255, 255, 0) 60%)",backgroundPosition:-44,backgroundRepeat:"no-repeat",backgroundSize:44,animation:`${m} 1.5s 1, ${m} 1.5s 6s, ${m} 1.5s 11.8s`},"cta-container .animated-item":{display:"flex",alignItems:"center",gap:4,width:"max-content",position:"absolute",top:"50%",opacity:0,animation:`${g} 3s 1 ease-in-out forwards`},"cta-container .animated-item:nth-child(2)":{animationDelay:"2.8s"},"cta-container .animated-item:nth-child(3)":{animationDelay:"5.8s"},"cta-container .animated-item:nth-child(4)":{animationDelay:"8.8s"},"cta-container .animated-item:nth-child(5)":{animationName:`${p}`,animationDelay:"10.8s"},"cta-container .animated-item .icon":{width:20,height:20,verticalAlign:"middle"},"cta-container .animated-item .balance":{margin:0,color:"#1A1A1A",paddingTop:0,paddingRight:4,paddingBottom:0,paddingLeft:4,fontSize:12,fontStyle:"normal",fontWeight:500,lineHeight:20,display:"flex",alignItems:"baseline"},"animated-item":{display:"flex",alignItems:"center",gap:4,width:"max-content",position:"absolute",top:"50%",opacity:0,animation:`${g} 3s 1 ease-in-out forwards`},icon:{width:20,height:20,verticalAlign:"middle"},balance:{margin:0,color:"#1A1A1A",paddingTop:0,paddingRight:4,paddingBottom:0,paddingLeft:4,fontSize:12,fontStyle:"normal",fontWeight:500,lineHeight:20,display:"flex",alignItems:"baseline"}}))),h=({superCoinsBalance:l,walletBalance:d})=>{const m=a(null),g=a(null),[p,h]=n({});return e((()=>{var i,t;if(m.current&&g.current){const a=Math.max(null===(i=null==m?void 0:m.current)||void 0===i?void 0:i.clientWidth,null===(t=null==g?void 0:g.current)||void 0===t?void 0:t.clientWidth);h({width:`${a+16}px`,minWidth:"84px"})}}),[]),i(c,{as:"div",styleConfig:{root:[f["cta-container__wrapper"],p]},children:t(c,{as:"div",styleConfig:{root:[f["cta-container"],p]},children:[t(c,{as:"div",ref:g,styleConfig:{root:[f["animated-item"],f.supercoins]},children:[i(o,{className:f.icon}),i(s,{variant:"P2",styleConfig:{root:[f.balance]},children:l})]}),t(c,{as:"div",ref:m,styleConfig:{root:[f["animated-item"],f.wallet]},children:[i(r,{className:f.icon}),t(s,{variant:"P2",styleConfig:{root:[f.balance]},children:["₹",d]})]}),t(c,{as:"div",ref:g,styleConfig:{root:[f["animated-item"],f.supercoins]},children:[i(o,{className:f.icon}),i(s,{variant:"P2",styleConfig:{root:[f.balance]},children:l})]}),t(c,{as:"div",ref:m,styleConfig:{root:[f["animated-item"],f.wallet]},children:[i(r,{className:f.icon}),t(s,{variant:"P2",styleConfig:{root:[f.balance]},children:["₹",d]})]}),t(c,{as:"div",ref:g,styleConfig:{root:[f["animated-item"],f.supercoins]},children:[i(o,{className:f.icon}),i(s,{variant:"P2",styleConfig:{root:[f.balance]},children:l})]})]})})};export{h as AnimatedWalletCta};
2
2
  //# sourceMappingURL=ct-platform-animated-wallet-cta.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-animated-wallet-cta.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/AnimatedWalletCta/src/AnimatedWalletCta.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","AnimatedWalletCta","_a","superCoinsBalance","walletBalance","walletref","useRef","supercoinsRef","_b","useState","ctaStyle","setCtaStyle","useEffect","current","ctaWidth","Math","max","clientWidth","width","concat","minWidth","_jsx","__assign","className","Styles","children","_jsxs","classNames","SuperCoinIcon","WalletIcon"],"mappings":"goBAAA,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,00HCfM,IAAAe,EAAsD,SAACC,OACzDC,EAAiBD,EAAAC,kBACjBC,EAAaF,EAAAE,cAEPC,EAAYC,EAAuB,MACnCC,EAAgBD,EAAuB,MACvCE,EAA0BC,EAAS,CAAE,GAApCC,EAAQF,EAAA,GAAEG,EAAWH,EAAA,GAiB5B,OAfAI,GAAU,mBAIN,GAAIP,EAAUQ,SAAW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Aa,OACpCE,EAAG,IAAAJ,EAAA,CAAAC,UAAWC,EAAgB,SAAC,CAAAC,SAAA,CAAA,IAAIrB,UAIvCsB,EACI,MAAAJ,EAAA,CAAAC,UAAWI,EACPH,EAAO,iBACPA,EAAmB,YAEvBrC,IAAKoB,GAEL,CAAAkB,SAAA,CAAAJ,EAACO,EAAa,CAACL,UAAWC,EAAa,OACvCH,EAAG,IAAAC,EAAA,CAAAC,UAAWC,EAAgB,SAAC,CAAAC,SAAGtB,eAKtD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ct-platform-animated-wallet-cta.esm.js","sources":["../packages/components/AnimatedWalletCta/src/index.module.ts","../packages/components/AnimatedWalletCta/src/AnimatedWalletCta.tsx"],"sourcesContent":[null,null],"names":["shine","keyframes","backgroundPosition","slideUpText","transform","opacity","slideUpTextReverse","styles","makeStyles","backgroundColor","borderRadius","boxSizing","paddingTop","paddingRight","paddingBottom","paddingLeft","border","height","overflow","textAlign","position","minWidth","width","lineHeight","background","backgroundRepeat","backgroundSize","animation","display","alignItems","gap","top","animationDelay","animationName","verticalAlign","margin","color","fontSize","fontStyle","fontWeight","icon","balance","AnimatedWalletCta","superCoinsBalance","walletBalance","walletref","useRef","supercoinsRef","ctaStyle","setCtaStyle","useState","useEffect","current","ctaWidth","Math","max","_a","clientWidth","_b","_jsx","Container","as","styleConfig","root","Styles","children","_jsxs","ref","SuperCoinIcon","className","Typography","variant","WalletIcon"],"mappings":"iXAEA,MAAMA,EAAQC,EAAU,CACtB,KAAM,CACJC,mBAAoB,SAEtB,MAAO,CACLA,mBAAoB,QAEtB,MAAO,CACLA,mBAAoB,SAEtB,OAAQ,CACNA,mBAAoB,UAIlBC,EAAcF,EAAU,CAC5B,WAAY,CACVG,UAAW,gBACXC,QAAS,GAEX,eAAgB,CACdD,UAAW,mBACXC,QAAS,GAEX,gBAAiB,CACfD,UAAW,oBACXC,QAAS,KAIPC,EAAqBL,EAAU,CACnC,KAAM,CACJG,UAAW,mBACXC,QAA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S,EAAa,CAACC,UAAWL,EAAa,OACvCL,EAACW,EAAW,CAAAC,QAAQ,KAAKT,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAGtB,OAGRuB,EAACN,EACG,CAAAC,GAAG,MAEHM,IAAKtB,EACLiB,YAAa,CACTC,KAAM,CAACC,EAAO,iBAAkBA,EAAe,SAClDC,SAAA,CAEDN,EAACa,EAAU,CAACH,UAAWL,EAAa,OACpCE,EAACI,EAAW,CAAAC,QAAQ,KAAKT,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAA,CAAA,IAAIrB,QAITsB,EAACN,EACG,CAAAC,GAAG,MAEHM,IAAKpB,EACLe,YAAa,CACTC,KAAM,CAACC,EAAO,iBAAkBA,EAAmB,aACtDC,SAAA,CAEDN,EAACS,EAAa,CAACC,UAAWL,EAAa,OACvCL,EAACW,EAAW,CAAAC,QAAQ,KAAKT,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAGtB,WAIlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-animated-wallet-cta",
3
- "version": "4.3.34",
3
+ "version": "6.0.1-beta.0",
4
4
  "description": "Animated Wallet CTA",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-animated-wallet-cta.cjs.js",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "dependencies": {
13
13
  "classnames": "^2.5.1",
14
- "@cleartrip/ct-platform-assets": "4.3.34"
14
+ "@cleartrip/ct-platform-assets": "6.0.1-beta.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",