@cleartrip/ct-platform-push-primer 3.1.0-beta.12 → 3.1.0-beta.14

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,4 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { PushPrimerProps } from './PushPrimer.types';
2
- declare const PushPrimer: (props: PushPrimerProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const PushPrimer: React.FC<PushPrimerProps>;
3
4
  export default PushPrimer;
4
5
  //# sourceMappingURL=PushPrimer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PushPrimer.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/PushPrimer.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAA,MAAM,UAAU,UAAW,eAAe,4CAsHzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"PushPrimer.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/PushPrimer.tsx"],"names":[],"mappings":";AAoBA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA2HzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export interface PushPrimerProps {
2
2
  variant: 'home' | 'confirmation';
3
- text?: string;
3
+ title?: string;
4
4
  buttonText?: string;
5
5
  onButtonClick?: () => void;
6
6
  onCrossClick?: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PushPrimer.types.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/PushPrimer.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrD"}
1
+ {"version":3,"file":"PushPrimer.types.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/PushPrimer.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,OAAO,EAAE,MAAM,GAAG,cAAc,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrD"}
@@ -2,4 +2,8 @@ export declare const PAGE: {
2
2
  HOME: string;
3
3
  CONFIRMATION: string;
4
4
  };
5
+ export declare const CLICK_CTA: {
6
+ CROSS: string;
7
+ ENABLE: string;
8
+ };
5
9
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;CAGhB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;CAGhB,CAAC;AAEF,eAAO,MAAM,SAAS;;;CAGrB,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),t=require("@cleartrip/ct-design-button"),s=require("@cleartrip/ct-platform-assets"),r=require("@cleartrip/ct-platform-utils"),a="home",o="confirmation";var d="index-module_mainContainer__ZNDH-",l="index-module_imageAndTextContainer__5PsLG",c="index-module_textContainer__4hdKa",_="index-module_pushPrimerText__kSve1",u="index-module_pushPrimerButton__OFsl5",m="index-module_homePageIcon__hU1Yc",x="index-module_confirmationPageIcon__YAO-J",h="index-module_crossIcon__1ZRju",p="index-module_ellipseIcon__Jvmjk";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===n&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{font-size:14px;font-weight:500;line-height:20px;margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0;z-index:-1}");exports.PushPrimer=function(g){var f=n.useState(!1),v=f[0],j=f[1];n.useEffect((function(){!function(){e.__awaiter(this,void 0,void 0,(function(){var i;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,r.shouldShowPushPrimer()];case 1:return i=e.sent(),j(i),[2]}}))}))}()}),[]);var P=g.variant,b=void 0===P?a:P,C=g.text,N=void 0===C?"Never miss out! Stay updated on best deals":C,y=g.buttonText,T=void 0===y?"Enable Notification":y,I=g.onButtonClick,k=g.onCrossClick,S=g.ravenPayload;n.useEffect((function(){v&&r.ravenSDKTrigger("a_impression",e.__assign({action_name:"enable_pn_nudge_impression"},S))}),[v]);var w=i.jsxs(i.Fragment,{children:[i.jsx("div",e.__assign({className:_},{children:i.jsx("div",{children:N})})),i.jsx(t.Button,e.__assign({onClick:function(){j(!1),I&&I(),r.handlePushPrimerCTA("enable"),r.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_click",action_type:"click"},S))},loading:!1,variant:"outline",className:u},{children:T}))]});return i.jsx(i.Fragment,{children:v&&i.jsxs("div",e.__assign({className:d},{children:[i.jsx("div",e.__assign({className:l},{children:function(n){switch(n){case a:return i.jsxs(i.Fragment,{children:[i.jsx("div",e.__assign({className:m},{children:i.jsx(s.PushPrimerHomePageIcon,{})})),i.jsx("div",e.__assign({className:c},{children:w}))]});case o:return i.jsxs(i.Fragment,{children:[i.jsx("div",e.__assign({className:c},{children:w})),i.jsxs("div",{children:[i.jsx(s.EllipseIcon,{className:p}),i.jsx("div",e.__assign({className:x},{children:i.jsx(s.PushPrimerConfirmationPageIcon,{})}))]})]});default:return null}}(b)})),i.jsx("div",e.__assign({className:h,onClick:function(){j(!1),k&&k(),r.handlePushPrimerCTA("cross"),r.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_close",action_type:"click"},S))}},{children:i.jsx(s.CrossIcon,{})}))]}))})};
1
+ "use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("@cleartrip/ct-design-button"),r=require("@cleartrip/ct-platform-assets"),o=require("@cleartrip/ct-design-typography"),a=require("@cleartrip/ct-platform-io-hoc"),s=require("@cleartrip/ct-platform-utils"),l="home",d="confirmation",c="cross",_="enable";var u="index-module_mainContainer__ZNDH-",m="index-module_imageAndTextContainer__5PsLG",x="index-module_textContainer__4hdKa",p="index-module_pushPrimerText__kSve1",h="index-module_pushPrimerButton__OFsl5",g="index-module_homePageIcon__hU1Yc",v="index-module_confirmationPageIcon__YAO-J",f="index-module_crossIcon__1ZRju",j="index-module_ellipseIcon__Jvmjk";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0;z-index:-1}");exports.PushPrimer=function(P){var C=P.variant,b=void 0===C?"home":C,y=P.title,N=void 0===y?"Never miss out! Stay updated on best deals":y,T=P.buttonText,k=void 0===T?"Enable Notification":T,I=e.__rest(P,["variant","title","buttonText"]),S=i.useState(!1),q=S[0],w=S[1];i.useEffect((function(){!function(){e.__awaiter(this,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,s.shouldShowPushPrimer()];case 1:return n=e.sent(),w(n),[2]}}))}))}()}),[]);var B=function(){var n;w(!1),(null===(n=null==I?void 0:I.onButtonClick)||void 0===n?void 0:n.call(I))&&(null==I||I.onButtonClick()),s.handlePushPrimerCTA(_),s.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_click",action_type:"click"},null==I?void 0:I.ravenPayload))},A=i.useMemo((function(){return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:p},{children:n.jsx(o.Typography,e.__assign({variant:"B2"},{children:N}))})),n.jsx(t.Button,e.__assign({onClick:B,loading:!1,variant:"outline",className:h},{children:k}))]})}),[N,k,B]),F=i.useCallback((function(i){switch(i){case l:return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:g},{children:n.jsx(r.PushPrimerHomePageIcon,{})})),n.jsx("div",e.__assign({className:x},{children:A}))]});case d:return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:x},{children:A})),n.jsxs("div",{children:[n.jsx(r.EllipseIcon,{className:j}),n.jsx("div",e.__assign({className:v},{children:n.jsx(r.PushPrimerConfirmationPageIcon,{})}))]})]});default:return n.jsx(n.Fragment,{})}}),[A]);return n.jsx(n.Fragment,{children:q&&n.jsx(a.IntersectionObserverHOC,e.__assign({onIntersection:function(){s.ravenSDKTrigger("a_impression",e.__assign({action_name:"enable_pn_nudge_impression"},null==I?void 0:I.ravenPayload))}},{children:n.jsxs("div",e.__assign({className:u},{children:[n.jsx("div",e.__assign({className:m},{children:F(b)})),n.jsx("div",e.__assign({className:f,onClick:function(){var n;w(!1),(null===(n=null==I?void 0:I.onCrossClick)||void 0===n?void 0:n.call(I))&&(null==I||I.onCrossClick()),s.handlePushPrimerCTA(c),s.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_close",action_type:"click"},null==I?void 0:I.ravenPayload))}},{children:n.jsx(r.CrossIcon,{})}))]}))}))})};
2
2
  //# sourceMappingURL=ct-platform-push-primer.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-push-primer.cjs.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"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":["PAGE","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","props","_a","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","_b","variant","_c","text","_d","buttonText","onButtonClick","onCrossClick","ravenPayload","ravenSDKTrigger","__assign","action_name","commonText","_jsxs","_jsx","jsx","className","styles","children","Button","onClick","handlePushPrimerCTA","action_type","loading","page","_Fragment","PushPrimerHomePageIcon","jsxs","EllipseIcon","PushPrimerConfirmationPageIcon","renderImageAndText","CrossIcon"],"mappings":"oNAAaA,EACH,OADGA,EAEK,sXCFlB,SAAqBC,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,46BCNmB,SAACe,GACV,IAAAC,EAAoCC,EAAAA,UAAS,GAA5CC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACtCI,EAAAA,WAAU,YACN,0HACgC,MAAM,CAAA,EAAAC,EAA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AAA,MAAAL,EAAAA,SAAA,CAAKM,UAAWC,GACX,CAAAC,SAAAN,KAELC,EAAAc,KAAA,MAAA,CAAAT,SAAA,CACIJ,MAACc,EAAAA,YAAW,CAACZ,UAAWC,IACxBH,wBAAKE,UAAWC,GAA8B,CAAAC,SAC1CJ,MAACe,iCAA8B,CAAA,YAKnD,QACI,OAAO,KAEnB,CAOqBC,CAAmB7B,MAExBa,MACI,MAAAJ,EAAAA,SAAA,CAAAM,UAAWC,EACXG,QArEK,WACrB1B,GAAiB,GACba,GACAA,IAEJc,EAAmBA,oBAAC,SACpBZ,kBAAgB,cACZC,EAAAA,SAAA,CAAAC,YAAa,wBACbW,YAAa,SACVd,GAEX,GA0D6C,CAAAU,SAEzBJ,MAACiB,YAAS,CAAA,WAMlC","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"ct-platform-push-primer.cjs.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"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":["PAGE","CLICK_CTA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","_b","variant","_c","title","_d","buttonText","props","__rest","_e","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","handleButtonClick","onButtonClick","call","handlePushPrimerCTA","ravenSDKTrigger","__assign","action_name","action_type","ravenPayload","commonText","useMemo","_jsxs","_Fragment","children","_jsx","jsx","className","styles","Typography","Button","onClick","loading","renderImageAndText","useCallback","page","PushPrimerHomePageIcon","jsxs","EllipseIcon","PushPrimerConfirmationPageIcon","IntersectionObserverHOC","onIntersection","onCrossClick","CrossIcon"],"mappings":"4SAAaA,EACH,OADGA,EAEK,eAGLC,EACF,QADEA,EAED,gXCPZ,SAAqBC,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,43BCH8C,SAACe,GAC3C,IAAAC,EAAAD,EAAAE,QAAAA,OAAU,IAAAD,EAAA,SACVE,EAAAH,EAAAI,MAAAA,OAAQ,IAAAD,EAAA,+CACRE,EAAAL,EAAAM,WAAAA,OAAa,IAAAD,EAAA,wBACVE,EAJwCC,EAAAA,OAAAR,EAAA,CAAA,UAAA,QAAA,eAMrCS,EAAoCC,EAAAA,UAAS,GAA5CC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACtCI,EAAAA,WAAU,YACN,0HACgC,MAAM,CAAA,EAAAC,EAAAA,sCAA5BC,EAAsBf,EAA4BgB,OACxDJ,EAAiBG,aACpB,CACDE,EACH,GAAE,IAEH,IAAMC,EAAoB,iBACtBN,GAAiB,IACO,QAApBZ,EAAAO,eAAAA,EAAOY,qBAAa,IAAAnB,OAAA,EAAAA,EAAAoB,KAAAb,MACpBA,SAAAA,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A,CAAAC,YAAa,8BACVjB,aAAA,EAAAA,EAAOmB,iBAEjB,CAAAK,SAEDF,EAAAA,uBAAKK,UAAWC,GACZ,CAAAJ,SAAA,CAAAC,MAAA,MAAAT,EAAAA,SAAA,CAAKW,UAAWC,aACXK,EAAmBtC,MAExB8B,EAAAA,IACI,MAAAT,WAAA,CAAAW,UAAWC,EACXG,QAtFC,iBACrB1B,GAAiB,IACM,QAAnBZ,EAAAO,eAAAA,EAAO0C,oBAAY,IAAAjD,OAAA,EAAAA,EAAAoB,KAAAb,MACnBA,SAAAA,EAAO0C,gBAEX5B,sBAAoBrC,GACpBsC,EAAeA,gBAAC,cAAaC,WAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,aA6EwBM,MAACkB,EAAAA,yBAO7B","x_google_ignoreList":[1]}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__awaiter as i,__generator as n}from"tslib";import{jsxs as t,Fragment as o,jsx as a}from"react/jsx-runtime";import{useState as r,useEffect as d}from"react";import{Button as l}from"@cleartrip/ct-design-button";import{CrossIcon as c,EllipseIcon as s,PushPrimerConfirmationPageIcon as m,PushPrimerHomePageIcon as _}from"@cleartrip/ct-platform-assets";import{ravenSDKTrigger as u,shouldShowPushPrimer as p,handlePushPrimerCTA as x}from"@cleartrip/ct-platform-utils";var h="home",f="confirmation";var v="index-module_mainContainer__ZNDH-",g="index-module_imageAndTextContainer__5PsLG",b="index-module_textContainer__4hdKa",N="index-module_pushPrimerText__kSve1",y="index-module_pushPrimerButton__OFsl5",C="index-module_homePageIcon__hU1Yc",k="index-module_confirmationPageIcon__YAO-J",P="index-module_crossIcon__1ZRju",I="index-module_ellipseIcon__Jvmjk";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{font-size:14px;font-weight:500;line-height:20px;margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0;z-index:-1}");var T=function(T){var j=r(!1),w=j[0],A=j[1];d((function(){!function(){i(this,void 0,void 0,(function(){var e;return n(this,(function(i){switch(i.label){case 0:return[4,p()];case 1:return e=i.sent(),A(e),[2]}}))}))}()}),[]);var B=T.variant,S=void 0===B?h:B,J=T.text,O=void 0===J?"Never miss out! Stay updated on best deals":J,Y=T.buttonText,Z=void 0===Y?"Enable Notification":Y,E=T.onButtonClick,z=T.onCrossClick,D=T.ravenPayload;d((function(){w&&u("a_impression",e({action_name:"enable_pn_nudge_impression"},D))}),[w]);var F=t(o,{children:[a("div",e({className:N},{children:a("div",{children:O})})),a(l,e({onClick:function(){A(!1),E&&E(),x("enable"),u("a_ui_action",e({action_name:"enable_pn_nudge_click",action_type:"click"},D))},loading:!1,variant:"outline",className:y},{children:Z}))]});return a(o,{children:w&&t("div",e({className:v},{children:[a("div",e({className:g},{children:function(i){switch(i){case h:return t(o,{children:[a("div",e({className:C},{children:a(_,{})})),a("div",e({className:b},{children:F}))]});case f:return t(o,{children:[a("div",e({className:b},{children:F})),t("div",{children:[a(s,{className:I}),a("div",e({className:k},{children:a(m,{})}))]})]});default:return null}}(S)})),a("div",e({className:P,onClick:function(){A(!1),z&&z(),x("cross"),u("a_ui_action",e({action_name:"enable_pn_nudge_close",action_type:"click"},D))}},{children:a(c,{})}))]}))})};export{T as PushPrimer};
1
+ import{__rest as e,__assign as i,__awaiter as n,__generator as t}from"tslib";import{jsxs as o,Fragment as r,jsx as a}from"react/jsx-runtime";import{useState as l,useEffect as d,useMemo as c,useCallback as s}from"react";import{Button as m}from"@cleartrip/ct-design-button";import{EllipseIcon as u,PushPrimerConfirmationPageIcon as _,PushPrimerHomePageIcon as p,CrossIcon as x}from"@cleartrip/ct-platform-assets";import{Typography as h}from"@cleartrip/ct-design-typography";import{IntersectionObserverHOC as v}from"@cleartrip/ct-platform-io-hoc";import{ravenSDKTrigger as f,shouldShowPushPrimer as g,handlePushPrimerCTA as b}from"@cleartrip/ct-platform-utils";var y="home",C="confirmation",N="cross",k="enable";var P="index-module_mainContainer__ZNDH-",I="index-module_imageAndTextContainer__5PsLG",T="index-module_textContainer__4hdKa",j="index-module_pushPrimerText__kSve1",B="index-module_pushPrimerButton__OFsl5",w="index-module_homePageIcon__hU1Yc",A="index-module_confirmationPageIcon__YAO-J",S="index-module_crossIcon__1ZRju",J="index-module_ellipseIcon__Jvmjk";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0;z-index:-1}");var O=function(O){var Y=O.variant,Z=void 0===Y?"home":Y,E=O.title,D=void 0===E?"Never miss out! Stay updated on best deals":E,F=O.buttonText,G=void 0===F?"Enable Notification":F,H=e(O,["variant","title","buttonText"]),K=l(!1),L=K[0],R=K[1];d((function(){!function(){n(this,void 0,void 0,(function(){var e;return t(this,(function(i){switch(i.label){case 0:return[4,g()];case 1:return e=i.sent(),R(e),[2]}}))}))}()}),[]);var U=function(){var e;R(!1),(null===(e=null==H?void 0:H.onButtonClick)||void 0===e?void 0:e.call(H))&&(null==H||H.onButtonClick()),b(k),f("a_ui_action",i({action_name:"enable_pn_nudge_click",action_type:"click"},null==H?void 0:H.ravenPayload))},z=c((function(){return o(r,{children:[a("div",i({className:j},{children:a(h,i({variant:"B2"},{children:D}))})),a(m,i({onClick:U,loading:!1,variant:"outline",className:B},{children:G}))]})}),[D,G,U]),q=s((function(e){switch(e){case y:return o(r,{children:[a("div",i({className:w},{children:a(p,{})})),a("div",i({className:T},{children:z}))]});case C:return o(r,{children:[a("div",i({className:T},{children:z})),o("div",{children:[a(u,{className:J}),a("div",i({className:A},{children:a(_,{})}))]})]});default:return a(r,{})}}),[z]);return a(r,{children:L&&a(v,i({onIntersection:function(){f("a_impression",i({action_name:"enable_pn_nudge_impression"},null==H?void 0:H.ravenPayload))}},{children:o("div",i({className:P},{children:[a("div",i({className:I},{children:q(Z)})),a("div",i({className:S,onClick:function(){var e;R(!1),(null===(e=null==H?void 0:H.onCrossClick)||void 0===e?void 0:e.call(H))&&(null==H||H.onCrossClick()),b(N),f("a_ui_action",i({action_name:"enable_pn_nudge_close",action_type:"click"},null==H?void 0:H.ravenPayload))}},{children:a(x,{})}))]}))}))})};export{O as PushPrimer};
2
2
  //# sourceMappingURL=ct-platform-push-primer.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-push-primer.esm.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"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":["PAGE","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","PushPrimer","props","_a","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","_b","variant","_c","text","_d","buttonText","onButtonClick","onCrossClick","ravenPayload","ravenSDKTrigger","__assign","action_name","commonText","_jsxs","_jsx","className","styles","children","Button","onClick","handlePushPrimerCTA","action_type","loading","page","_Fragment","PushPrimerHomePageIcon","EllipseIcon","PushPrimerConfirmationPageIcon","renderImageAndText","CrossIcon"],"mappings":"meAAO,IAAMA,EACH,OADGA,EAEK,sXCFlB,SAAqBC,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,K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AAWC,GACZ,CAAAC,SAAAH,EAACW,EAAsB,CAAA,MAE3BX,EAAK,MAAAJ,EAAA,CAAAK,UAAWC,GAAuB,CAAAC,SAClCL,QAIjB,KAAKvC,EACD,OACIwC,EACIW,EAAA,CAAAP,SAAA,CAAAH,EAAA,MAAAJ,EAAA,CAAKK,UAAWC,GACX,CAAAC,SAAAL,KAELC,EAAA,MAAA,CAAAI,SAAA,CACIH,EAACY,EAAW,CAACX,UAAWC,IACxBF,WAAKC,UAAWC,GAA8B,CAAAC,SAC1CH,EAACa,EAA8B,CAAA,YAKnD,QACI,OAAO,KAEnB,CAOqBC,CAAmB3B,MAExBa,EACI,MAAAJ,EAAA,CAAAK,UAAWC,EACXG,QArEK,WACrBzB,GAAiB,GACba,GACAA,IAEJa,EAAoB,SACpBX,EAAgB,cACZC,EAAA,CAAAC,YAAa,wBACbU,YAAa,SACVb,GAEX,GA0D6C,CAAAS,SAEzBH,EAACe,EAAS,CAAA,WAMlC","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"ct-platform-push-primer.esm.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"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":["PAGE","CLICK_CTA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","PushPrimer","_a","_b","variant","_c","title","_d","buttonText","props","__rest","_e","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","handleButtonClick","onButtonClick","call","handlePushPrimerCTA","ravenSDKTrigger","__assign","action_name","action_type","ravenPayload","commonText","useMemo","_jsxs","_Fragment","children","_jsx","className","styles","Typography","Button","onClick","loading","renderImageAndText","useCallback","page","PushPrimerHomePageIcon","EllipseIcon","PushPrimerConfirmationPageIcon","IntersectionObserverHOC","onIntersection","onCrossClick","CrossIcon"],"mappings":"kpBAAO,IAAMA,EACH,OADGA,EAEK,eAGLC,EACF,QADEA,EAED,gXCPZ,SAAqBC,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,y2BCHM,IAAAe,EAAwC,SAACC,GAC3C,IAAAC,EAAAD,EAAAE,QAAAA,OAAU,IAAAD,EAAA,SACVE,EAAAH,EAAAI,MAAAA,OAAQ,IAAAD,EAAA,+CACRE,EAAAL,EAAAM,WAAAA,OAAa,IAAAD,EAAA,wBACVE,EAJwCC,EAAAR,EAAA,CAAA,UAAA,QAAA,eAMrCS,EAAoCC,GAAS,GAA5CC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACtCI,GAAU,YACN,oGACgC,MAAM,CAAA,EAAAC,mBAA5BC,EAAsBf,EAA4BgB,OACxDJ,EAAiBG,aACpB,CACDE,EACH,GAAE,IAEH,IAAMC,EAAoB,iB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AAC,EAAA,MAAAT,EAAA,CAAKU,UAAWC,aACXK,EAAmBrC,MAExB8B,EACI,MAAAT,EAAA,CAAAU,UAAWC,EACXG,QAtFC,iBACrBzB,GAAiB,IACM,QAAnBZ,EAAAO,eAAAA,EAAOwC,oBAAY,IAAA/C,OAAA,EAAAA,EAAAoB,KAAAb,MACnBA,SAAAA,EAAOwC,gBAEX1B,EAAoBtC,GACpBuC,EAAgB,cAAaC,EAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,aA6EwBM,EAACgB,iBAO7B","x_google_ignoreList":[1]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-push-primer",
3
- "version": "3.1.0-beta.12",
3
+ "version": "3.1.0-beta.14",
4
4
  "description": "Push Primer Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-push-primer.cjs.js",
@@ -12,8 +12,10 @@
12
12
  "dependencies": {
13
13
  "classnames": "^2.5.1",
14
14
  "@cleartrip/ct-design-button": "2.6.0",
15
- "@cleartrip/ct-platform-utils": "3.12.0-beta.11",
16
- "@cleartrip/ct-platform-assets": "3.3.0-beta.8",
15
+ "@cleartrip/ct-design-typography": "2.6.0",
16
+ "@cleartrip/ct-platform-assets": "3.3.0-beta.10",
17
+ "@cleartrip/ct-platform-io-hoc": "3.0.2",
18
+ "@cleartrip/ct-platform-utils": "3.12.0-beta.13",
17
19
  "@cleartrip/ct-platform-types": "3.3.2"
18
20
  },
19
21
  "peerDependencies": {