@cleartrip/ct-platform-animated-wallet-cta 6.0.1-beta.0 → 6.3.33-SNAPSHOT

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;AAInE,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4GvD,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;AAEnE,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqFvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,2 +1,2 @@
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})]})]})})};
1
+ "use strict";var a=require("tslib"),e=require("react/jsx-runtime"),i=require("react"),n=require("classnames"),t=require("@cleartrip/ct-platform-assets"),s=require("@cleartrip/ct-design-style-manager"),r=require("@emotion/css");function o(a){return a&&a.__esModule?a:{default:a}}var c=o(n),l=r.keyframes({"0%":{backgroundPosition:"-12px"},"49%":{backgroundPosition:"200%"},"50%":{backgroundPosition:"-12px"},"100%":{backgroundPosition:"200%"}}),d=r.keyframes({"0%, 100%":{transform:"translateY(0)",opacity:0},"16.666%, 50%":{transform:"translateY(-50%)",opacity:1},"83.333%, 100%":{transform:"translateY(-100%)",opacity:0}}),m=r.keyframes({"0%":{transform:"translateY(100%)",opacity:0},"50%, 83.333%, 100%":{transform:"translateY(-50%)",opacity:1}}),u=s.makeWebStyles(function(a){return{"cta-container__wrapper":{backgroundColor:"#fff",borderRadius:100},"cta-container":{boxSizing:"border-box",paddingTop:4,paddingRight:8,paddingBottom:4,paddingLeft:8,borderRadius:100,borderWidth:1,borderStyle:"solid",borderColor:"#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:"".concat(l," 1.5s 1, ").concat(l," 1.5s 6s, ").concat(l," 1.5s 11.8s"),"& .animated-item:nth-child(2)":{animationDelay:"2.8s"},"& .animated-item:nth-child(3)":{animationDelay:"5.8s"},"& .animated-item:nth-child(4)":{animationDelay:"8.8s"},"& .animated-item:nth-child(5)":{animationName:"".concat(m),animationDelay:"10.8s"}},"animated-item":{display:"flex",alignItems:"center",gap:4,width:"max-content",position:"absolute",top:"50%",opacity:0,animation:"".concat(d," 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=function(n){var s=n.superCoinsBalance,r=n.walletBalance,o=i.useRef(null),l=i.useRef(null),d=i.useState({}),m=d[0],g=d[1];return i.useEffect(function(){var a,e;if(o.current&&l.current){var i=Math.max(null===(a=null==o?void 0:o.current)||void 0===a?void 0:a.clientWidth,null===(e=null==l?void 0:l.current)||void 0===e?void 0:e.clientWidth);g({width:"".concat(i+16,"px"),minWidth:"84px"})}},[]),e.jsx("div",a.__assign({style:m,className:u["cta-container__wrapper"]},{children:e.jsxs("div",a.__assign({className:u["cta-container"],style:m},{children:[e.jsxs("div",a.__assign({className:c.default(u["animated-item"],u.supercoins),ref:l},{children:[e.jsx(t.SuperCoinIcon,{className:u.icon}),e.jsx("p",a.__assign({className:u.balance},{children:s}))]})),e.jsxs("div",a.__assign({className:c.default(u["animated-item"],u.wallet),ref:o},{children:[e.jsx(t.WalletIcon,{className:u.icon}),e.jsxs("p",a.__assign({className:u.balance},{children:["₹",r]}))]})),e.jsxs("div",a.__assign({className:c.default(u["animated-item"],u.supercoins),ref:l},{children:[e.jsx(t.SuperCoinIcon,{className:u.icon}),e.jsx("p",a.__assign({className:u.balance},{children:s}))]})),e.jsxs("div",a.__assign({className:c.default(u["animated-item"],u.wallet),ref:o},{children:[e.jsx(t.WalletIcon,{className:u.icon}),e.jsxs("p",a.__assign({className:u.balance},{children:["₹",r]}))]})),e.jsxs("div",a.__assign({className:c.default(u["animated-item"],u.supercoins),ref:l},{children:[e.jsx(t.SuperCoinIcon,{className:u.icon}),e.jsx("p",a.__assign({className:u.balance},{children:s}))]}))]}))}))};
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":["../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,CACLA,mBAAoB,QAEtB,MAAO,CACLA,mBAAoB,SAEtB,OAAQ,CACNA,mBAAoB,UAIlBC,EAAcF,EAAAA,UAAU,CAC5B,WAAY,CACVG,UAAW,gBACXC,QAAS,GAEX,eAAgB,CACdD,UAAW,mBACXC,QAAS,GAEX,gBAAiB,CACfD,UAAW,oBACXC,QAAS,KAIPC,EAAqBL,EAAAA,UAAU,CACnC,KAAM,CACJG,UAAW,mBACXC,QAAS,GAEX,qBAAsB,CACpBD,UAAW,mBACXC,QAAS,KAMPE,EAASC,EAAUA,YAAC,KAAO,CAC/B,yBAA0B,CACxBC,gBAAiB,OACjBC,aAAc,KAGhB,gBAAiB,CACfC,UAAW,aACXC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbL,aAAc,IACdM,OAAQ,oBACRC,OAAQ,GACRC,SAAU,SACVC,UAAW,SACXC,SAAU,WACVC,SAAU,GACVC,MAAO,cACPC,WAAY,GACZC,WAAY,8GACZtB,oBAAqB,GACrBuB,iBAAkB,YAClBC,eAAgB,GAChBC,UAAW,GAAG3B,aAAiBA,cAAkBA,gBAGnD,+BAAgC,CAC9B4B,QAAS,OACTC,WAAY,SACZC,IAAK,EACLR,MAAO,cACPF,SAAU,WACVW,IAAK,MACL1B,QAAS,EACTsB,UAAW,GAAGxB,+BAGhB,4CAA6C,CAC3C6B,eAAgB,QAGlB,4CAA6C,CAC3CA,eAAgB,QAGlB,4CAA6C,CAC3CA,eAAgB,QAGlB,4CAA6C,CAC3CC,cAAe,GAAG3B,IAClB0B,eAAgB,SAGlB,qCAAsC,CACpCV,MAAO,GACPL,OAA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,EAAUA,WAAC,CAAAC,QAAQ,KAAKX,YAAa,CAClCC,KAAM,CAACC,EAAgB,UAC1BC,SAAGtB,WAIlB"}
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","makeWebStyles","theme","backgroundColor","borderRadius","boxSizing","paddingTop","paddingRight","paddingBottom","paddingLeft","borderWidth","borderStyle","borderColor","height","overflow","textAlign","position","minWidth","width","lineHeight","background","backgroundRepeat","backgroundSize","animation","concat","animationDelay","animationName","display","alignItems","gap","top","icon","verticalAlign","balance","margin","color","fontSize","fontStyle","fontWeight","_a","superCoinsBalance","walletBalance","walletref","useRef","supercoinsRef","_b","useState","ctaStyle","setCtaStyle","useEffect","current","ctaWidth","Math","max","clientWidth","_jsx","__assign","style","className","Styles","children","_jsxs","classNames","ref","SuperCoinIcon","WalletIcon"],"mappings":"iSAEMA,EAAQC,EAAAA,UAAU,CACtB,KAAM,CACJC,mBAAoB,SAEtB,MAAO,CACLA,mBAAoB,QAEtB,MAAO,CACLA,mBAAoB,SAEtB,OAAQ,CACNA,mBAAoB,UAIlBC,EAAcF,EAAAA,UAAU,CAC5B,WAAY,CACVG,UAAW,gBACXC,QAAS,GAEX,eAAgB,CACdD,UAAW,mBACXC,QAAS,GAEX,gBAAiB,CACfD,UAAW,oBACXC,QAAS,KAIPC,EAAqBL,EAAAA,UAAU,CACnC,KAAM,CACJG,UAAW,mBACXC,QAAS,GAEX,qBAAsB,CACpBD,UAAW,mBACXC,QAAS,KAMPE,EAASC,EAAAA,cAAc,SAAAC,GAAS,MAAA,CACpC,yBAA0B,CACxBC,gBAAiB,OACjBC,aAAc,KAGhB,gBAAiB,CACfC,UAAW,aACXC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbL,a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C,CAAAC,SAAA,CAAA,IAAInB,UAIvCoB,EAAAA,KAAA,MAAAL,EAAAA,SAAA,CACIE,UAAWI,EAAAA,QACPH,EAAO,iBACPA,EAAmB,YAEvBI,IAAKnB,GAAa,CAAAgB,SAAA,CAElBL,EAAAA,IAACS,EAAAA,cAAa,CAACN,UAAWC,EAAa,OACvCJ,MAAA,IAAAC,EAAAA,SAAA,CAAGE,UAAWC,EAAgB,SAAC,CAAAC,SAAGpB,eAKtD"}
@@ -1,2 +1,2 @@
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};
1
+ import{__assign as a}from"tslib";import{jsx as i,jsxs as e}from"react/jsx-runtime";import{useRef as n,useState as t,useEffect as r}from"react";import o from"classnames";import{SuperCoinIcon as c,WalletIcon as l}from"@cleartrip/ct-platform-assets";import{makeWebStyles as s}from"@cleartrip/ct-design-style-manager";import{keyframes as d}from"@emotion/css";var m=d({"0%":{backgroundPosition:"-12px"},"49%":{backgroundPosition:"200%"},"50%":{backgroundPosition:"-12px"},"100%":{backgroundPosition:"200%"}}),p=d({"0%, 100%":{transform:"translateY(0)",opacity:0},"16.666%, 50%":{transform:"translateY(-50%)",opacity:1},"83.333%, 100%":{transform:"translateY(-100%)",opacity:0}}),h=d({"0%":{transform:"translateY(100%)",opacity:0},"50%, 83.333%, 100%":{transform:"translateY(-50%)",opacity:1}}),g=s(function(a){return{"cta-container__wrapper":{backgroundColor:"#fff",borderRadius:100},"cta-container":{boxSizing:"border-box",paddingTop:4,paddingRight:8,paddingBottom:4,paddingLeft:8,borderRadius:100,borderWidth:1,borderStyle:"solid",borderColor:"#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:"".concat(m," 1.5s 1, ").concat(m," 1.5s 6s, ").concat(m," 1.5s 11.8s"),"& .animated-item:nth-child(2)":{animationDelay:"2.8s"},"& .animated-item:nth-child(3)":{animationDelay:"5.8s"},"& .animated-item:nth-child(4)":{animationDelay:"8.8s"},"& .animated-item:nth-child(5)":{animationName:"".concat(h),animationDelay:"10.8s"}},"animated-item":{display:"flex",alignItems:"center",gap:4,width:"max-content",position:"absolute",top:"50%",opacity:0,animation:"".concat(p," 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"}}}),f=function(s){var d=s.superCoinsBalance,m=s.walletBalance,p=n(null),h=n(null),f=t({}),u=f[0],b=f[1];return r(function(){var a,i;if(p.current&&h.current){var e=Math.max(null===(a=null==p?void 0:p.current)||void 0===a?void 0:a.clientWidth,null===(i=null==h?void 0:h.current)||void 0===i?void 0:i.clientWidth);b({width:"".concat(e+16,"px"),minWidth:"84px"})}},[]),i("div",a({style:u,className:g["cta-container__wrapper"]},{children:e("div",a({className:g["cta-container"],style:u},{children:[e("div",a({className:o(g["animated-item"],g.supercoins),ref:h},{children:[i(c,{className:g.icon}),i("p",a({className:g.balance},{children:d}))]})),e("div",a({className:o(g["animated-item"],g.wallet),ref:p},{children:[i(l,{className:g.icon}),e("p",a({className:g.balance},{children:["₹",m]}))]})),e("div",a({className:o(g["animated-item"],g.supercoins),ref:h},{children:[i(c,{className:g.icon}),i("p",a({className:g.balance},{children:d}))]})),e("div",a({className:o(g["animated-item"],g.wallet),ref:p},{children:[i(l,{className:g.icon}),e("p",a({className:g.balance},{children:["₹",m]}))]})),e("div",a({className:o(g["animated-item"],g.supercoins),ref:h},{children:[i(c,{className:g.icon}),i("p",a({className:g.balance},{children:d}))]}))]}))}))};export{f 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":["../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,QAAS,GAEX,qBAAsB,CACpBD,UAAW,mBACXC,QAAS,KAMPE,EAASC,GAAW,KAAO,CAC/B,yBAA0B,CACxBC,gBAAiB,OACjBC,aAAc,KAGhB,gBAAiB,CACfC,UAAW,aACXC,WAAY,EACZC,aAAc,EACdC,cAAe,EACfC,YAAa,EACbL,aAAc,IACdM,OAAQ,oBACRC,OAAQ,GACRC,SAAU,SACVC,UAAW,SACXC,SAAU,WACVC,SAAU,GACVC,MAAO,cACPC,WAAY,GACZC,WAAY,8GACZtB,oBAAqB,GACrBuB,iBAAkB,YAClBC,eAAgB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AAA,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"}
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","makeWebStyles","theme","backgroundColor","borderRadius","boxSizing","paddingTop","paddingRight","paddingBottom","paddingLeft","borderWidth","borderStyle","borderColor","height","overflow","textAlign","position","minWidth","width","lineHeight","background","backgroundRepeat","backgroundSize","animation","concat","animationDelay","animationName","display","alignItems","gap","top","icon","verticalAlign","balance","margin","color","fontSize","fontStyle","fontWeight","AnimatedWalletCta","_a","superCoinsBalance","walletBalance","walletref","useRef","supercoinsRef","_b","useState","ctaStyle","setCtaStyle","useEffect","current","ctaWidth","Math","max","clientWidth","_jsx","__assign","style","className","Styles","children","_jsxs","classNames","ref","SuperCoinIcon","WalletIcon"],"mappings":"mWAEA,IAAMA,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,QAAS,GAEX,qBAAsB,CACpBD,UAAW,mBACXC,QAAS,KAMPE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vCoB,EAAA,MAAAL,EAAA,CACIE,UAAWI,EACPH,EAAO,iBACPA,EAAmB,YAEvBI,IAAKnB,GAAa,CAAAgB,SAAA,CAElBL,EAACS,EAAa,CAACN,UAAWC,EAAa,OACvCJ,EAAA,IAAAC,EAAA,CAAGE,UAAWC,EAAgB,SAAC,CAAAC,SAAGpB,eAKtD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-animated-wallet-cta",
3
- "version": "6.0.1-beta.0",
3
+ "version": "6.3.33-SNAPSHOT",
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": "6.0.1-beta.0"
14
+ "@cleartrip/ct-platform-assets": "6.3.33-SNAPSHOT"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",