@cleartrip/ct-platform-supercoins-bottom-sheet 2.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.
- package/dist/SupercoinsBottomSheet.d.ts.map +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.cjs.js +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.cjs.js.map +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.esm.js +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.esm.js.map +1 -1
- package/package.json +5 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupercoinsBottomSheet.d.ts","sourceRoot":"","sources":["../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAoBpE,OAAO,EAGH,0BAA0B,EAC7B,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"SupercoinsBottomSheet.d.ts","sourceRoot":"","sources":["../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAoBpE,OAAO,EAGH,0BAA0B,EAC7B,MAAM,+BAA+B,CAAC;AAIvC,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA4S/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),
|
|
1
|
+
"use strict";var e=require("tslib"),o=require("react/jsx-runtime"),i=require("react"),n=require("@cleartrip/ct-design-typography"),t=require("@cleartrip/ct-platform-drawer"),r=require("@cleartrip/ct-platform-utils"),a=require("@cleartrip/ct-design-style-manager"),s=require("@emotion/css"),p=require("@cleartrip/ct-design-components");const l=[{heading:"Flights",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsFlights.png",text:"Get up to ₹5000 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn up to ₹100 cashback",subtext:"As SuperCoins after every booking"}]},{heading:"Hotels",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsHotels.png",text:"Get up to ₹5000 extra off",subtext:"On this booking"}]},{heading:"Bus",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/bus_icon_mirrors.png",text:"Get up to ₹5000 extra off",subtext:"On this booking"}]}],c=[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCoupon.png",text:"Get extra discounts",subtext:"Using SuperCoins on your next trip"}],d=s.keyframes({"0%":{left:"-30%"},"100%":{left:"120%"}}),g=s.keyframes({"0%":{opacity:0,transform:"translateY(8px)"},"100%":{opacity:1,transform:"translateY(0)"}}),u=a.makeWebStyles((()=>({supercoinsContainer:{display:"flex",flexDirection:"column",borderTopLeftRadius:16,borderTopRightRadius:16,borderBottomRightRadius:0,borderBottomLeftRadius:0,background:"#fff",overflowY:"scroll",position:"relative"},supercoinsBgPattern:{width:"100%",height:233,position:"absolute",zIndex:0,borderTopLeftRadius:16,borderTopRightRadius:16,borderBottomRightRadius:0,borderBottomLeftRadius:0},supercoinsContent:{display:"flex",flexDirection:"column",position:"relative",paddingTop:32,paddingRight:16,paddingBottom:0,paddingLeft:16},supercoinsInfo:{display:"flex",flexDirection:"row",alignItems:"center",gap:8,marginBottom:16},supercoinsValue:{display:"flex",paddingTop:6,paddingRight:12,paddingBottom:6,paddingLeft:12,justifyContent:"center",alignItems:"center",borderRadius:8,background:"#002560",marginBottom:12,position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",left:"-30%",width:24,height:"200%",background:"rgba(255, 255, 255, 0.08)",transform:"rotate(150deg)",animation:`${d} 2.4s ease-in infinite`}},supercoinsExpiry:{display:"flex",flexDirection:"row",alignItems:"center",gap:6,borderRadius:24,paddingTop:4,paddingRight:8,paddingBottom:4,paddingLeft:8,background:"var(--Error-Red-100, #fbefef)"},supercoinsBenefitsOuterContainer:{width:"100%",display:"flex",flexDirection:"column",marginTop:32,borderRadius:16,borderWidth:.5,borderStyle:"solid",borderColor:"#e6e6e6",background:"#ecf8f4",boxShadow:"0px 4px 16px 0px rgba(26, 26, 26, 0.08)"},supercoinsBenefitsInnerContainer:{width:"calc(100% - 1px)",display:"flex",flexDirection:"column",borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomRightRadius:16,borderBottomLeftRadius:16,background:"#fff",gap:16,marginTop:0,marginRight:.5,marginBottom:0,marginLeft:.5},supercoinsBenefits:{display:"flex",flexDirection:"column",gap:16},supercoinsBenefitsItem:{display:"flex",flexDirection:"row",alignItems:"center",gap:12},supercoinsHorizontalLine:{marginTop:16,marginRight:0,marginBottom:16,marginLeft:0,border:"none",borderTopWidth:1,borderTopStyle:"dotted",borderTopColor:"#e6e6e6"},"fadeInUpAnimation_content > *":{opacity:0,animation:`${g} 0.25s ease-in forwards`},"fadeInUpAnimation_content > *:nth-child(1)":{animationDelay:"0ms"},"fadeInUpAnimation_content > *:nth-child(2)":{animationDelay:"250ms"},"fadeInUpAnimation_content > *:nth-child(3)":{animationDelay:"500ms"},"fadeInUpAnimation_content > *:nth-child(4)":{animationDelay:"750ms"},"fadeInUpAnimation_content > *:nth-child(5)":{animationDelay:"1000ms"},"fadeInUpAnimation_footer > *":{opacity:0,animation:`${g} 0.25s ease-in forwards`},"fadeInUpAnimation_footer > *:nth-child(1)":{animationDelay:"1250ms"},"fadeInUpAnimation_footer > *:nth-child(2)":{animationDelay:"1500ms"}})));exports.SupercoinsBottomSheet=({isBottomSheetOpen:a,closeOnOutsideClick:s=!1,supercoinBurnBalance:d,supercoinsExpiringCount:g,supercoinsExpiringInDays:m,supercoinsBenefits:f=l,commonBenefits:h=c,onCloseButtonClick:y,ravenPayload:x={}})=>{const _=i.useMemo((()=>null!=g&&null!=m&&g>0),[g,m]),b=i.useMemo((()=>{var e;return null!==(e=r.getQueryParam("utm_source"))&&void 0!==e?e:"organic"}),[]),C=i.useCallback((o=>{var i;null==o||o.stopPropagation(),y&&"function"==typeof y&&y();const{action_event_name:n}=x,t=e.__rest(x,["action_event_name"]);r.ravenSDKTrigger(null!==(i=n)&&void 0!==i?i:"u_ui_action",Object.assign({action_name:"supercoin_bottom_sheet_dismiss_click",page_name:"unified_homepage",supercoin_balance:d,u_utm_source:b},t))}),[]),v=i.useCallback((()=>{var o;const{action_event_name:i}=x,n=e.__rest(x,["action_event_name"]);r.ravenSDKTrigger(null!==(o=i)&&void 0!==o?o:"u_ui_action",Object.assign({action_name:"supercoin_bottom_sheet_read_guide_click",page_name:"unified_homepage",supercoin_balance:d,u_utm_source:b},n)),window.location.href="https://www.cleartrip.com/all-offers/supercoins"}),[]),B=i.useCallback(((e,i)=>o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.supercoinsBenefitsItem]},children:[o.jsx("img",{src:null==e?void 0:e.icon,alt:"benefits_icon",width:32,height:32}),o.jsxs(p.Container,{as:"div",children:[o.jsx(n.Typography,{variant:n.TypographyVariant.HM4,children:null==e?void 0:e.text}),o.jsx(n.Typography,{color:"subheading",variant:n.TypographyVariant.P2,children:null==e?void 0:e.subtext})]})]},i)),[]),T=i.useCallback((()=>o.jsx(p.Container,{as:"div",styleConfig:{root:[{padding:16}]},children:null==f?void 0:f.map(((e,i)=>{var t;return o.jsxs(p.Container,{as:"div",children:[(null==e?void 0:e.heading)&&o.jsx(n.Typography,{variant:n.TypographyVariant.HM2,styleConfig:{root:[{lineHeight:24,paddingBottom:16}]},children:null==e?void 0:e.heading}),o.jsx(p.Container,{as:"div",styleConfig:{root:[u.supercoinsBenefits]},children:null===(t=null==e?void 0:e.supercoinsBenefits)||void 0===t?void 0:t.map(((e,o)=>B(e,o)))}),i<(null==f?void 0:f.length)-1&&o.jsx("hr",{className:u.supercoinsHorizontalLine})]},i)}))})),[]);return o.jsx(t.Drawer,{overlay:!0,showClose:!0,direction:"bottom",isOpen:a,closeOnOutsideClick:s,onClose:()=>{},handleClose:C,children:o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.supercoinsContainer,{maxHeight:"calc(100dvh - 56px)"}]},children:[o.jsx("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsBgPattern.png",alt:"supercoins_pattern",className:u.supercoinsBgPattern}),o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.supercoinsContent]},children:[o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.fadeInUpAnimation_content,{display:"flex",flexDirection:"column",alignItems:"center"}]},children:[o.jsx(n.Typography,{colorCode:"rgba(255, 255, 255, 0.75)",variant:n.TypographyVariant.P3,styleConfig:{root:[{marginBottom:8}]},children:"Your SuperCoin balance"}),o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.supercoinsInfo]},children:[o.jsx("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsLogo.png",alt:"supercoins_logo",width:32,height:32}),o.jsx(n.Typography,{color:"neutral",variant:n.TypographyVariant.HD2,styleConfig:{root:[{lineHeight:32,letterSpacing:-.75}]},children:parseInt(d).toLocaleString()})]}),o.jsx(p.Container,{as:"div",styleConfig:{root:[u.supercoinsValue]},children:o.jsx(n.Typography,{color:"neutral",variant:n.TypographyVariant.HM4,styleConfig:{root:[{lineHeight:16,letterSpacing:.4,textTransform:"uppercase"}]},children:"1 SUPERCOIN = ₹1"})}),_&&o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.supercoinsExpiry]},children:[o.jsx("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoins_hourglass_red.png",alt:"hourglass_icon",width:16,height:16}),o.jsx(n.Typography,{colorCode:"#C83232",variant:n.TypographyVariant.B3,children:`${g} SuperCoins expiring soon!`})]}),o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.supercoinsBenefitsOuterContainer]},children:[o.jsx(p.Container,{as:"div",styleConfig:{root:[u.supercoinsBenefitsInnerContainer]},children:T()}),null==h?void 0:h.map(((e,i)=>o.jsx(p.Container,{as:"div",styleConfig:{root:[{paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16}]},children:B(e,i)},i)))]})]}),o.jsxs(p.Container,{as:"div",styleConfig:{root:[u.fadeInUpAnimation_footer,{paddingTop:20,paddingBottom:32}]},children:[o.jsx(n.Typography,{variant:n.TypographyVariant.HM3,styleConfig:{root:[{lineHeight:22}]},children:"Got more questions?"}),o.jsx(n.Typography,{color:"link",variant:n.TypographyVariant.L2,isClickable:!0,onClick:v,children:"Read guide"})]})]})]})})};
|
|
2
2
|
//# sourceMappingURL=ct-platform-supercoins-bottom-sheet.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.cjs.js","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts","
|
|
1
|
+
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.cjs.js","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts","../packages/components/SupercoinsBottomSheet/src/index.module.ts","../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.tsx"],"sourcesContent":[null,null,null],"names":["SUPERCOINS_BENEFITS_DATA","heading","supercoinsBenefits","icon","text","subtext","COMMON_BENEFITS_DATA","shimmer_sheet","keyframes","left","fadeInUp","opacity","transform","styles","makeWebStyles","supercoinsContainer","display","flexDirection","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","background","overflowY","position","supercoinsBgPattern","width","height","zIndex","supercoinsContent","paddingTop","paddingRight","paddingBottom","paddingLeft","supercoinsInfo","alignItems","gap","marginBottom","supercoinsValue","justifyContent","borderRadius","overflow","content","animation","supercoinsExpiry","supercoinsBenefitsOuterContainer","marginTop","borderWidth","borderStyle","borderColor","boxShadow","supercoinsBenefitsInnerContainer","marginRight","marginLeft","supercoinsBenefitsItem","supercoinsHorizontalLine","border","borderTopWidth","borderTopStyle","borderTopColor","animationDelay","isBottomSheetOpen","closeOnOutsideClick","supercoinBurnBalance","supercoinsExpiringCount","supercoinsExpiringInDays","commonBenefits","onCloseButtonClick","ravenPayload","showSupercoinsExpiryCallout","useMemo","utmSource","_a","getQueryParam","handleCloseButtonClick","useCallback","evt","stopPropagation","action_event_name","restPayload","__rest","ravenSDKTrigger","action_name","page_name","supercoin_balance","u_utm_source","handleSupercoinsGuideClick","window","location","href","renderSupercoinsBenefitsItem","item","idx","_jsxs","Container","as","styleConfig","root","children","_jsx","jsx","src","alt","Typography","variant","TypographyVariant","HM4","color","P2","renderSupercoinsBenefitsSection","padding","map","index","jsxs","HM2","lineHeight","benefit","length","className","Drawer","overlay","showClose","direction","isOpen","onClose","handleClose","maxHeight","colorCode","P3","HD2","letterSpacing","parseInt","toLocaleString","textTransform","B3","HM3","L2","isClickable","onClick"],"mappings":"+UAKO,MAcMA,EAAqD,CAC9D,CACIC,QAAS,UACTC,mBAAoB,CAChB,CACIC,KAAM,mHACNC,KAAM,4BACNC,QAAS,mBAEb,CACIF,KAAM,oHACNC,KAAM,2BACNC,QAAS,uCAIrB,CACIJ,QAAS,SACTC,mBAAoB,CAChB,CACIC,KAAM,kHACNC,KAAM,4BACNC,QAAS,qBAIrB,CACIJ,QAAS,MACTC,mBAAoB,CAChB,CACIC,KAAM,kHACNC,KAAM,4BACNC,QAAS,sBAMZC,EAA6C,CACtD,CACIH,KAAM,kHACNC,KAAM,sBACNC,QAAS,uCC3DXE,EAAgBC,EAAAA,UAAU,CAC9B,KAAM,C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EAAAA,UAAS,CACNC,GAAG,MACHC,YAAa,CACTC,KAAM,CAACpF,EAAiC,yBAAG,CAAEiB,WAAY,GAAIE,cAAe,MAEhFkE,SAAA,CAAAC,EAAAA,IAACI,EAAUA,WAAA,CACPC,QAASC,EAAiBA,kBAAC8B,IAC3BvC,YAAa,CACTC,KAAM,CAAC,CAAEkB,WAAY,MACxBjB,SFhTW,wBEoThBC,MAACI,EAAAA,WAAU,CACPI,MAAM,OACNH,QAASC,EAAAA,kBAAkB+B,GAC3BC,aAAa,EACbC,QAASpD,EAA0BY,SFvT3B,yBE+T9B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as
|
|
1
|
+
import{__rest as o}from"tslib";import{jsxs as i,jsx as e}from"react/jsx-runtime";import{useMemo as t,useCallback as n}from"react";import{Typography as r,TypographyVariant as a}from"@cleartrip/ct-design-typography";import{Drawer as s}from"@cleartrip/ct-platform-drawer";import{getQueryParam as d,ravenSDKTrigger as l}from"@cleartrip/ct-platform-utils";import{makeWebStyles as c}from"@cleartrip/ct-design-style-manager";import{keyframes as p}from"@emotion/css";import{Container as m}from"@cleartrip/ct-design-components";const f=[{heading:"Flights",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsFlights.png",text:"Get up to ₹5000 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn up to ₹100 cashback",subtext:"As SuperCoins after every booking"}]},{heading:"Hotels",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsHotels.png",text:"Get up to ₹5000 extra off",subtext:"On this booking"}]},{heading:"Bus",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/bus_icon_mirrors.png",text:"Get up to ₹5000 extra off",subtext:"On this booking"}]}],u=[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCoupon.png",text:"Get extra discounts",subtext:"Using SuperCoins on your next trip"}],g=p({"0%":{left:"-30%"},"100%":{left:"120%"}}),h=p({"0%":{opacity:0,transform:"translateY(8px)"},"100%":{opacity:1,transform:"translateY(0)"}}),_=c((()=>({supercoinsContainer:{display:"flex",flexDirection:"column",borderTopLeftRadius:16,borderTopRightRadius:16,borderBottomRightRadius:0,borderBottomLeftRadius:0,background:"#fff",overflowY:"scroll",position:"relative"},supercoinsBgPattern:{width:"100%",height:233,position:"absolute",zIndex:0,borderTopLeftRadius:16,borderTopRightRadius:16,borderBottomRightRadius:0,borderBottomLeftRadius:0},supercoinsContent:{display:"flex",flexDirection:"column",position:"relative",paddingTop:32,paddingRight:16,paddingBottom:0,paddingLeft:16},supercoinsInfo:{display:"flex",flexDirection:"row",alignItems:"center",gap:8,marginBottom:16},supercoinsValue:{display:"flex",paddingTop:6,paddingRight:12,paddingBottom:6,paddingLeft:12,justifyContent:"center",alignItems:"center",borderRadius:8,background:"#002560",marginBottom:12,position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",left:"-30%",width:24,height:"200%",background:"rgba(255, 255, 255, 0.08)",transform:"rotate(150deg)",animation:`${g} 2.4s ease-in infinite`}},supercoinsExpiry:{display:"flex",flexDirection:"row",alignItems:"center",gap:6,borderRadius:24,paddingTop:4,paddingRight:8,paddingBottom:4,paddingLeft:8,background:"var(--Error-Red-100, #fbefef)"},supercoinsBenefitsOuterContainer:{width:"100%",display:"flex",flexDirection:"column",marginTop:32,borderRadius:16,borderWidth:.5,borderStyle:"solid",borderColor:"#e6e6e6",background:"#ecf8f4",boxShadow:"0px 4px 16px 0px rgba(26, 26, 26, 0.08)"},supercoinsBenefitsInnerContainer:{width:"calc(100% - 1px)",display:"flex",flexDirection:"column",borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomRightRadius:16,borderBottomLeftRadius:16,background:"#fff",gap:16,marginTop:0,marginRight:.5,marginBottom:0,marginLeft:.5},supercoinsBenefits:{display:"flex",flexDirection:"column",gap:16},supercoinsBenefitsItem:{display:"flex",flexDirection:"row",alignItems:"center",gap:12},supercoinsHorizontalLine:{marginTop:16,marginRight:0,marginBottom:16,marginLeft:0,border:"none",borderTopWidth:1,borderTopStyle:"dotted",borderTopColor:"#e6e6e6"},"fadeInUpAnimation_content > *":{opacity:0,animation:`${h} 0.25s ease-in forwards`},"fadeInUpAnimation_content > *:nth-child(1)":{animationDelay:"0ms"},"fadeInUpAnimation_content > *:nth-child(2)":{animationDelay:"250ms"},"fadeInUpAnimation_content > *:nth-child(3)":{animationDelay:"500ms"},"fadeInUpAnimation_content > *:nth-child(4)":{animationDelay:"750ms"},"fadeInUpAnimation_content > *:nth-child(5)":{animationDelay:"1000ms"},"fadeInUpAnimation_footer > *":{opacity:0,animation:`${h} 0.25s ease-in forwards`},"fadeInUpAnimation_footer > *:nth-child(1)":{animationDelay:"1250ms"},"fadeInUpAnimation_footer > *:nth-child(2)":{animationDelay:"1500ms"}}))),b=({isBottomSheetOpen:c,closeOnOutsideClick:p=!1,supercoinBurnBalance:g,supercoinsExpiringCount:h,supercoinsExpiringInDays:b,supercoinsBenefits:x=f,commonBenefits:v=u,onCloseButtonClick:y,ravenPayload:C={}})=>{const B=t((()=>null!=h&&null!=b&&h>0),[h,b]),R=t((()=>{var o;return null!==(o=d("utm_source"))&&void 0!==o?o:"organic"}),[]),k=n((i=>{var e;null==i||i.stopPropagation(),y&&"function"==typeof y&&y();const{action_event_name:t}=C,n=o(C,["action_event_name"]);l(null!==(e=t)&&void 0!==e?e:"u_ui_action",Object.assign({action_name:"supercoin_bottom_sheet_dismiss_click",page_name:"unified_homepage",supercoin_balance:g,u_utm_source:R},n))}),[]),I=n((()=>{var i;const{action_event_name:e}=C,t=o(C,["action_event_name"]);l(null!==(i=e)&&void 0!==i?i:"u_ui_action",Object.assign({action_name:"supercoin_bottom_sheet_read_guide_click",page_name:"unified_homepage",supercoin_balance:g,u_utm_source:R},t)),window.location.href="https://www.cleartrip.com/all-offers/supercoins"}),[]),w=n(((o,t)=>i(m,{as:"div",styleConfig:{root:[_.supercoinsBenefitsItem]},children:[e("img",{src:null==o?void 0:o.icon,alt:"benefits_icon",width:32,height:32}),i(m,{as:"div",children:[e(r,{variant:a.HM4,children:null==o?void 0:o.text}),e(r,{color:"subheading",variant:a.P2,children:null==o?void 0:o.subtext})]})]},t)),[]),D=n((()=>e(m,{as:"div",styleConfig:{root:[{padding:16}]},children:null==x?void 0:x.map(((o,t)=>{var n;return i(m,{as:"div",children:[(null==o?void 0:o.heading)&&e(r,{variant:a.HM2,styleConfig:{root:[{lineHeight:24,paddingBottom:16}]},children:null==o?void 0:o.heading}),e(m,{as:"div",styleConfig:{root:[_.supercoinsBenefits]},children:null===(n=null==o?void 0:o.supercoinsBenefits)||void 0===n?void 0:n.map(((o,i)=>w(o,i)))}),t<(null==x?void 0:x.length)-1&&e("hr",{className:_.supercoinsHorizontalLine})]},t)}))})),[]);return e(s,{overlay:!0,showClose:!0,direction:"bottom",isOpen:c,closeOnOutsideClick:p,onClose:()=>{},handleClose:k,children:i(m,{as:"div",styleConfig:{root:[_.supercoinsContainer,{maxHeight:"calc(100dvh - 56px)"}]},children:[e("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsBgPattern.png",alt:"supercoins_pattern",className:_.supercoinsBgPattern}),i(m,{as:"div",styleConfig:{root:[_.supercoinsContent]},children:[i(m,{as:"div",styleConfig:{root:[_.fadeInUpAnimation_content,{display:"flex",flexDirection:"column",alignItems:"center"}]},children:[e(r,{colorCode:"rgba(255, 255, 255, 0.75)",variant:a.P3,styleConfig:{root:[{marginBottom:8}]},children:"Your SuperCoin balance"}),i(m,{as:"div",styleConfig:{root:[_.supercoinsInfo]},children:[e("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsLogo.png",alt:"supercoins_logo",width:32,height:32}),e(r,{color:"neutral",variant:a.HD2,styleConfig:{root:[{lineHeight:32,letterSpacing:-.75}]},children:parseInt(g).toLocaleString()})]}),e(m,{as:"div",styleConfig:{root:[_.supercoinsValue]},children:e(r,{color:"neutral",variant:a.HM4,styleConfig:{root:[{lineHeight:16,letterSpacing:.4,textTransform:"uppercase"}]},children:"1 SUPERCOIN = ₹1"})}),B&&i(m,{as:"div",styleConfig:{root:[_.supercoinsExpiry]},children:[e("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoins_hourglass_red.png",alt:"hourglass_icon",width:16,height:16}),e(r,{colorCode:"#C83232",variant:a.B3,children:`${h} SuperCoins expiring soon!`})]}),i(m,{as:"div",styleConfig:{root:[_.supercoinsBenefitsOuterContainer]},children:[e(m,{as:"div",styleConfig:{root:[_.supercoinsBenefitsInnerContainer]},children:D()}),null==v?void 0:v.map(((o,i)=>e(m,{as:"div",styleConfig:{root:[{paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16}]},children:w(o,i)},i)))]})]}),i(m,{as:"div",styleConfig:{root:[_.fadeInUpAnimation_footer,{paddingTop:20,paddingBottom:32}]},children:[e(r,{variant:a.HM3,styleConfig:{root:[{lineHeight:22}]},children:"Got more questions?"}),e(r,{color:"link",variant:a.L2,isClickable:!0,onClick:I,children:"Read guide"})]})]})]})})};export{b as SupercoinsBottomSheet};
|
|
2
2
|
//# sourceMappingURL=ct-platform-supercoins-bottom-sheet.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.esm.js","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts","
|
|
1
|
+
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.esm.js","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts","../packages/components/SupercoinsBottomSheet/src/index.module.ts","../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.tsx"],"sourcesContent":[null,null,null],"names":["SUPERCOINS_BENEFITS_DATA","heading","supercoinsBenefits","icon","text","subtext","COMMON_BENEFITS_DATA","shimmer_sheet","keyframes","left","fadeInUp","opacity","transform","styles","makeWebStyles","supercoinsContainer","display","flexDirection","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","background","overflowY","position","supercoinsBgPattern","width","height","zIndex","supercoinsContent","paddingTop","paddingRight","paddingBottom","paddingLeft","supercoinsInfo","alignItems","gap","marginBottom","supercoinsValue","justifyContent","borderRadius","overflow","content","animation","supercoinsExpiry","supercoinsBenefitsOuterContainer","marginTop","borderWidth","borderStyle","borderColor","boxShadow","supercoinsBenefitsInnerContainer","marginRight","marginLeft","supercoinsBenefitsItem","supercoinsHorizontalLine","border","borderTopWidth","borderTopStyle","borderTopColor","animationDelay","SupercoinsBottomSheet","isBottomSheetOpen","closeOnOutsideClick","supercoinBurnBalance","supercoinsExpiringCount","supercoinsExpiringInDays","commonBenefits","onCloseButtonClick","ravenPayload","showSupercoinsExpiryCallout","useMemo","utmSource","_a","getQueryParam","handleCloseButtonClick","useCallback","evt","stopPropagation","action_event_name","restPayload","__rest","ravenSDKTrigger","action_name","page_name","supercoin_balance","u_utm_source","handleSupercoinsGuideClick","window","location","href","renderSupercoinsBenefitsItem","item","idx","_jsxs","Container","as","styleConfig","root","children","_jsx","src","alt","Typography","variant","TypographyVariant","HM4","color","P2","renderSupercoinsBenefitsSection","padding","map","index","HM2","lineHeight","benefit","length","className","Drawer","overlay","showClose","direction","isOpen","onClose","handleClose","maxHeight","colorCode","P3","HD2","letterSpacing","parseInt","toLocaleString","textTransform","B3","HM3","L2","isClickable","onClick"],"mappings":"ugBAKO,MAcMA,EAAqD,CAC9D,CACIC,QAAS,UACTC,mBAAoB,CAChB,CACIC,KAAM,mHACNC,KAAM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EAAiC,yBAAG,CAAEiB,WAAY,GAAIE,cAAe,MAEhFmE,SAAA,CAAAC,EAACG,EAAU,CACPC,QAASC,EAAkB6B,IAC3BrC,YAAa,CACTC,KAAM,CAAC,CAAEgB,WAAY,MACxBf,SFhTW,wBEoThBC,EAACG,EAAU,CACPI,MAAM,OACNH,QAASC,EAAkB8B,GAC3BC,aAAa,EACbC,QAASlD,EAA0BY,SFvT3B,yBE+T9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-platform-supercoins-bottom-sheet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1-beta.0",
|
|
4
4
|
"description": "SuperCoins Bottom Sheet Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-platform-supercoins-bottom-sheet.cjs.js",
|
|
@@ -10,15 +10,14 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@cleartrip/ct-
|
|
14
|
-
"@cleartrip/ct-
|
|
15
|
-
"@cleartrip/ct-platform-drawer": "4.3.33",
|
|
16
|
-
"@cleartrip/ct-platform-utils": "4.3.33"
|
|
13
|
+
"@cleartrip/ct-platform-utils": "6.0.1-beta.0",
|
|
14
|
+
"@cleartrip/ct-platform-drawer": "6.0.1-beta.0"
|
|
17
15
|
},
|
|
18
16
|
"peerDependencies": {
|
|
19
17
|
"react": ">=16.8.0",
|
|
20
18
|
"react-dom": ">=16.8.0",
|
|
21
|
-
"
|
|
19
|
+
"@cleartrip/ct-design-button": "5.27.0-SNAPSHOT-native-main.0",
|
|
20
|
+
"@cleartrip/ct-design-typography": "5.27.0-SNAPSHOT-native-main.0"
|
|
22
21
|
},
|
|
23
22
|
"author": "Cleartrip",
|
|
24
23
|
"license": "ISC",
|