@cleartrip/ct-platform-app-push-sticky-banner 3.3.2 → 3.3.4-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/AppPushStickyBanner.d.ts.map +1 -1
- package/dist/AppPushStickyBanner.types.d.ts +9 -0
- package/dist/AppPushStickyBanner.types.d.ts.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/ct-platform-app-push-sticky-banner.cjs.js +1 -1
- package/dist/ct-platform-app-push-sticky-banner.cjs.js.map +1 -1
- package/dist/ct-platform-app-push-sticky-banner.esm.js +1 -1
- package/dist/ct-platform-app-push-sticky-banner.esm.js.map +1 -1
- package/package.json +4 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPushStickyBanner.d.ts","sourceRoot":"","sources":["../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"AppPushStickyBanner.d.ts","sourceRoot":"","sources":["../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AA0BzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAwN3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -16,5 +16,14 @@ export interface AppPushStickyBannerProps {
|
|
|
16
16
|
[key: string]: string | number;
|
|
17
17
|
};
|
|
18
18
|
style?: CSSProperties;
|
|
19
|
+
loyaltyData?: LoyaltyDataProps;
|
|
20
|
+
}
|
|
21
|
+
export interface LoyaltyDataProps {
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
title: string;
|
|
24
|
+
icon: string;
|
|
25
|
+
titleColor: string;
|
|
26
|
+
benefitText: string;
|
|
27
|
+
boldSubtext?: string;
|
|
19
28
|
}
|
|
20
29
|
//# sourceMappingURL=AppPushStickyBanner.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPushStickyBanner.types.d.ts","sourceRoot":"","sources":["../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,wBAAwB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAI9C,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClD,KAAK,CAAC,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"AppPushStickyBanner.types.d.ts","sourceRoot":"","sources":["../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,wBAAwB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAI9C,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,MAAM,WAAW,gBAAgB;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ export declare const APP_PUSH_STICKY_BANNER_TITLE = "Get 3X rewards on app!";
|
|
|
2
2
|
export declare const APP_PUSH_STICKY_BANNER_RATINGS = "4.5";
|
|
3
3
|
export declare const APP_PUSH_STICKY_BANNER_DOWNLOADS_TEXT = "10M+ downloads";
|
|
4
4
|
export declare const APP_PUSH_STICKY_BANNER_BUTTON_TEXT = "Get App";
|
|
5
|
+
export declare const APP_PUSH_STICKY_APP_ONLY_TEXT = "Only on App";
|
|
5
6
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/AppPushStickyBanner/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,2BAA2B,CAAC;AACrE,eAAO,MAAM,8BAA8B,QAAQ,CAAC;AACpD,eAAO,MAAM,qCAAqC,mBAAmB,CAAC;AACtE,eAAO,MAAM,kCAAkC,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/AppPushStickyBanner/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,2BAA2B,CAAC;AACrE,eAAO,MAAM,8BAA8B,QAAQ,CAAC;AACpD,eAAO,MAAM,qCAAqC,mBAAmB,CAAC;AACtE,eAAO,MAAM,kCAAkC,YAAY,CAAC;AAC5D,eAAO,MAAM,6BAA6B,gBAAgB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var n=require("tslib"),e=require("react/jsx-runtime"),i=require("react"),t=require("@cleartrip/ct-design-button"),a=require("@cleartrip/ct-design-typography"),o=require("@cleartrip/ct-platform-utils"),l=require("@cleartrip/ct-platform-shimmer"),r=require("@cleartrip/ct-platform-assets");var s={"stickybanner__stickybanner__container--vertical":"index-module_stickybanner__stickybanner__container--vertical__MEkJ4","stickybanner__container--horizontal":"index-module_stickybanner__container--horizontal__rBEQl","stickybanner__container--horizontal__inline":"index-module_stickybanner__container--horizontal__inline__w7Cni","stickybanner__container--horizontal--main":"index-module_stickybanner__container--horizontal--main__TcELV","stickybanner__container--horizontal--gap":"index-module_stickybanner__container--horizontal--gap__clSX3",stickybanner__text:"index-module_stickybanner__text__Vjyu0","stickybanner__text--wrapper":"index-module_stickybanner__text--wrapper__ZJMSv",stickybanner__loyaltyText:"index-module_stickybanner__loyaltyText__H-0Hm","stickybanner__loyaltyText--bold":"index-module_stickybanner__loyaltyText--bold__KEsVQ","stickybanner__text--large":"index-module_stickybanner__text--large__piyWg","stickybanner__text--large-loyalty":"index-module_stickybanner__text--large-loyalty__9jlHo"};!function(n,e){void 0===e&&(e={});var i=e.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===i&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n))}}('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");*{font-family:Inter}.index-module_stickybanner__stickybanner__container--vertical__MEkJ4{align-items:center;align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}.index-module_stickybanner__container--horizontal__rBEQl{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between}.index-module_stickybanner__container--horizontal__inline__w7Cni{display:inline-block}.index-module_stickybanner__container--horizontal--main__TcELV{align-items:center;background:#fff;border-radius:1rem 1rem 0 0;box-shadow:0 -.25rem 1rem 0 rgba(26,26,26,.08);box-sizing:border-box;display:flex;gap:.5rem;justify-content:space-between;min-height:72px;padding:10px;width:100%}.index-module_stickybanner__container--horizontal--gap__clSX3{align-items:center;box-sizing:border-box;display:flex;gap:.5rem;justify-content:space-between;justify-content:flex-start}.index-module_stickybanner__text--wrapper__ZJMSv,.index-module_stickybanner__text__Vjyu0{font-feature-settings:"clig" off,"liga" off;margin:0;padding:0}.index-module_stickybanner__text--wrapper__ZJMSv{line-height:1rem}.index-module_stickybanner__loyaltyText--bold__KEsVQ,.index-module_stickybanner__loyaltyText__H-0Hm{color:#1a1a1a;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.index-module_stickybanner__loyaltyText--bold__KEsVQ{color:rgba(26,26,26,.7);font-weight:400}.index-module_stickybanner__text--large-loyalty__9jlHo,.index-module_stickybanner__text--large__piyWg{font-feature-settings:"dlig" on,"clig" off,"liga" off;line-height:1.375rem;margin:0;padding:0}.index-module_stickybanner__text--large-loyalty__9jlHo{font-weight:500}');exports.AppPushStickyBanner=function(_){var c=_.header,d=void 0===c?"Get 3X rewards on app!":c,u=_.ratings,y=void 0===u?"4.5":u,p=_.subtext,g=void 0===p?"10M+ downloads":p,m=_.buttonText,x=void 0===m?"Get App":m,v=_.buttonLoadingState,b=_.onBannerLoad,h=_.onBannerClick,k=_.onButtonClick,f=_.customActionNames,T=_.ravenPayload,j=_.isBenefitDataLoading,w=void 0!==j&&j,z=_.style,S=_.loyaltyData;i.useEffect((function(){var e,i,t,a,l;b&&b();var r=o.getRavenEventProps();o.ravenSDKTrigger("u_app_push_impression",n.__assign({action_name:null!==(e=null==f?void 0:f.impression)&&void 0!==e?e:"bottomSticky_imp_hp",page_name:null==r?void 0:r.pageName,vertical:null==r?void 0:r.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(l=null===(a=null===(t=null===location||void 0===location?void 0:location.search)||void 0===t?void 0:t.split("utm_source="))||void 0===a?void 0:a.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},T))}),[]);return e.jsx("div",{children:e.jsxs("section",n.__assign({className:s["stickybanner__container--horizontal--main"],onClick:function(){var e,i,t,a,l;h();var r=o.getRavenEventProps();o.ravenSDKTrigger("u_app_push_click",n.__assign({action_name:null!==(e=null==f?void 0:f.expand)&&void 0!==e?e:"bottomSticky_expand_hp",page_name:null==r?void 0:r.pageName,vertical:null==r?void 0:r.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(l=null===(a=null===(t=null===location||void 0===location?void 0:location.search)||void 0===t?void 0:t.split("utm_source="))||void 0===a?void 0:a.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},T))},style:n.__assign(n.__assign({},z),{background:null==S?void 0:S.backgroundColor})},{children:[(null==S?void 0:S.icon)?e.jsx("img",{src:S.icon,alt:"loyalty_icon",loading:"lazy",width:32,height:32}):e.jsx("img",{src:r.DownloadApp,alt:"download icon",loading:"lazy",width:40,height:40}),e.jsxs("div",n.__assign({className:s["stickybanner__container--vertical"]},{children:[w?e.jsx(l.Shimmer,{height:20}):(null==S?void 0:S.title)?e.jsx(a.Typography,n.__assign({variant:a.TypographyVariant.HM4,style:{color:null==S?void 0:S.titleColor},className:s["stickybanner__text--large-loyalty"]},{children:S.title})):e.jsx(a.Typography,n.__assign({variant:a.TypographyVariant.HM4,color:a.TypographyColor.SUCCESS,className:s["stickybanner__text--large"]},{children:d})),e.jsx("div",n.__assign({className:s["stickybanner__container--horizontal--gap"]},{children:(null==S?void 0:S.benefitText)||(null==S?void 0:S.boldSubtext)?e.jsxs("p",n.__assign({className:s["stickybanner__text--wrapper"]},{children:[e.jsx("span",n.__assign({className:s.stickybanner__loyaltyText},{children:(null==S?void 0:S.boldSubtext)||""===(null==S?void 0:S.boldSubtext)?S.boldSubtext:"Only on App"}))," ",(null==S?void 0:S.benefitText)&&e.jsx("span",n.__assign({className:s["stickybanner__loyaltyText--bold"]},{children:S.benefitText}))]})):e.jsxs(e.Fragment,{children:[e.jsxs("div",n.__assign({className:s["stickybanner__container--horizontal"]},{children:[e.jsx(a.Typography,n.__assign({className:s.stickybanner__text,variant:a.TypographyVariant.P3},{children:y})),e.jsx("img",{src:r.Star,alt:"rating icon",loading:"lazy"})]})),e.jsx("div",n.__assign({className:s["stickybanner__container--horizontal"]},{children:e.jsx(a.Typography,n.__assign({className:s.stickybanner__text,variant:a.TypographyVariant.P3},{children:g}))}))]})}))]})),e.jsx(t.Button,n.__assign({variant:t.ButtonVariant.OUTLINE,onClick:function(e){var i,t,a,l,r;null==e||e.stopPropagation(),k();var s=o.getRavenEventProps();o.ravenSDKTrigger("u_app_push_click",n.__assign({action_name:null!==(i=null==f?void 0:f.install)&&void 0!==i?i:"bottomSticky_install_hp",page_name:null==s?void 0:s.pageName,vertical:null==s?void 0:s.vertical,source_channel:(null===(t=null===location||void 0===location?void 0:location.search)||void 0===t?void 0:t.split("utm_source=").length)>1?null===(r=null===(l=null===(a=null===location||void 0===location?void 0:location.search)||void 0===a?void 0:a.split("utm_source="))||void 0===l?void 0:l.pop())||void 0===r?void 0:r.split("&")[0]:"organic"},T))},style:{marginLeft:"auto",right:0,height:"32px",minWidth:"90px",background:"transparent"},loading:v||!1},{children:x}))]}))})};
|
|
2
2
|
//# sourceMappingURL=ct-platform-app-push-sticky-banner.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-app-push-sticky-banner.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.tsx","../packages/components/AppPushStickyBanner/src/constants.ts"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","_b","header","_c","ratings","_d","subtext","_e","buttonText","buttonLoadingState","onBannerLoad","onBannerClick","onButtonClick","customActionNames","ravenPayload","_f","isBenefitDataLoading","
|
|
1
|
+
{"version":3,"file":"ct-platform-app-push-sticky-banner.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.tsx","../packages/components/AppPushStickyBanner/src/constants.ts"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","_b","header","_c","ratings","_d","subtext","_e","buttonText","buttonLoadingState","onBannerLoad","onBannerClick","onButtonClick","customActionNames","ravenPayload","_f","isBenefitDataLoading","loyaltyData","useEffect","eventProps","getRavenEventProps","ravenSDKTrigger","__assign","action_name","impression","page_name","pageName","vertical","source_channel","location","search","split","length","pop","_jsx","_jsxs","className","styles","onClick","expand","background","backgroundColor","icon","src","alt","loading","width","height","DownloadApp","jsxs","children","jsx","Shimmer","title","Typography","variant","TypographyVariant","HM4","color","titleColor","TypographyColor","SUCCESS","benefitText","boldSubtext","_Fragment","Fragment","P3","Star","Button","ButtonVariant","OUTLINE","event","stopPropagation","install","marginLeft","right","minWidth"],"mappings":"0yCAAA,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,4wDCGgE,SAACe,OAC7DC,EAAqCD,EAAAE,OAArCA,OAAM,IAAAD,EC7BkC,yBD6BHA,EACrCE,EAAAH,EAAAI,QAAAA,OAAU,IAAAD,EC7BgC,MD6BFA,EACxCE,YAAAC,OAAU,IAAAD,EC7BuC,iBD6BFA,EAC/C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YQ,SACtBC,gBACoB,QAAhB3B,SAAA4B,eAAQ,IAARA,cAAQ,EAARA,SAAUC,cAAM,IAAA7B,OAAA,EAAAA,EAAE8B,MAAM,eAAeC,QAAS,EAIpC,QAHNzB,EAC0B,QAD1BF,EAAgB,QAAhBF,SAAA0B,eAAQ,IAARA,cAAQ,EAARA,SAAUC,cAAM,IAAA3B,OAAA,EAAAA,EACV4B,MAAM,sBAAc,IAAA1B,OAAA,EAAAA,EACpB4B,aACA,IAAA1B,OAAA,EAAAA,EAAAwB,MAAM,KAAK,GACjB,WAEPjB,GAEX,EA+HgBvB,MAAO,CACHmF,WAAY,OACZC,MAAO,EACP5B,OAAQ,OACR6B,SAAU,OACVpC,WAAY,eAEhBK,QAASpC,IAAsB,GAE9B,CAAAyC,SAAA1C,UAKrB","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as n}from"tslib";import{jsx as e,jsxs as i,Fragment as t}from"react/jsx-runtime";import{useEffect as o}from"react";import{Button as l,ButtonVariant as a}from"@cleartrip/ct-design-button";import{Typography as r,TypographyVariant as c,TypographyColor as _}from"@cleartrip/ct-design-typography";import{getRavenEventProps as d,ravenSDKTrigger as s}from"@cleartrip/ct-platform-utils";import{Shimmer as u}from"@cleartrip/ct-platform-shimmer";import{DownloadApp as m,Star as y}from"@cleartrip/ct-platform-assets";var p={"stickybanner__stickybanner__container--vertical":"index-module_stickybanner__stickybanner__container--vertical__MEkJ4","stickybanner__container--horizontal":"index-module_stickybanner__container--horizontal__rBEQl","stickybanner__container--horizontal__inline":"index-module_stickybanner__container--horizontal__inline__w7Cni","stickybanner__container--horizontal--main":"index-module_stickybanner__container--horizontal--main__TcELV","stickybanner__container--horizontal--gap":"index-module_stickybanner__container--horizontal--gap__clSX3",stickybanner__text:"index-module_stickybanner__text__Vjyu0","stickybanner__text--wrapper":"index-module_stickybanner__text--wrapper__ZJMSv",stickybanner__loyaltyText:"index-module_stickybanner__loyaltyText__H-0Hm","stickybanner__loyaltyText--bold":"index-module_stickybanner__loyaltyText--bold__KEsVQ","stickybanner__text--large":"index-module_stickybanner__text--large__piyWg","stickybanner__text--large-loyalty":"index-module_stickybanner__text--large-loyalty__9jlHo"};!function(n,e){void 0===e&&(e={});var i=e.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n))}}('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");*{font-family:Inter}.index-module_stickybanner__stickybanner__container--vertical__MEkJ4{align-items:center;align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}.index-module_stickybanner__container--horizontal__rBEQl{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between}.index-module_stickybanner__container--horizontal__inline__w7Cni{display:inline-block}.index-module_stickybanner__container--horizontal--main__TcELV{align-items:center;background:#fff;border-radius:1rem 1rem 0 0;box-shadow:0 -.25rem 1rem 0 rgba(26,26,26,.08);box-sizing:border-box;display:flex;gap:.5rem;justify-content:space-between;min-height:72px;padding:10px;width:100%}.index-module_stickybanner__container--horizontal--gap__clSX3{align-items:center;box-sizing:border-box;display:flex;gap:.5rem;justify-content:space-between;justify-content:flex-start}.index-module_stickybanner__text--wrapper__ZJMSv,.index-module_stickybanner__text__Vjyu0{font-feature-settings:"clig" off,"liga" off;margin:0;padding:0}.index-module_stickybanner__text--wrapper__ZJMSv{line-height:1rem}.index-module_stickybanner__loyaltyText--bold__KEsVQ,.index-module_stickybanner__loyaltyText__H-0Hm{color:#1a1a1a;font-size:12px;font-style:normal;font-weight:500;line-height:16px}.index-module_stickybanner__loyaltyText--bold__KEsVQ{color:rgba(26,26,26,.7);font-weight:400}.index-module_stickybanner__text--large-loyalty__9jlHo,.index-module_stickybanner__text--large__piyWg{font-feature-settings:"dlig" on,"clig" off,"liga" off;line-height:1.375rem;margin:0;padding:0}.index-module_stickybanner__text--large-loyalty__9jlHo{font-weight:500}');var b=function(b){var v=b.header,x=void 0===v?"Get 3X rewards on app!":v,g=b.ratings,h=void 0===g?"4.5":g,k=b.subtext,f=void 0===k?"10M+ downloads":k,z=b.buttonText,w=void 0===z?"Get App":z,N=b.buttonLoadingState,T=b.onBannerLoad,S=b.onBannerClick,C=b.onButtonClick,E=b.customActionNames,j=b.ravenPayload,H=b.isBenefitDataLoading,B=void 0!==H&&H,M=b.style,L=b.loyaltyData;o((function(){var e,i,t,o,l;T&&T();var a=d();s("u_app_push_impression",n({action_name:null!==(e=null==E?void 0:E.impression)&&void 0!==e?e:"bottomSticky_imp_hp",page_name:null==a?void 0:a.pageName,vertical:null==a?void 0:a.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(l=null===(o=null===(t=null===location||void 0===location?void 0:location.search)||void 0===t?void 0:t.split("utm_source="))||void 0===o?void 0:o.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},j))}),[]);return e("div",{children:i("section",n({className:p["stickybanner__container--horizontal--main"],onClick:function(){var e,i,t,o,l;S();var a=d();s("u_app_push_click",n({action_name:null!==(e=null==E?void 0:E.expand)&&void 0!==e?e:"bottomSticky_expand_hp",page_name:null==a?void 0:a.pageName,vertical:null==a?void 0:a.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(l=null===(o=null===(t=null===location||void 0===location?void 0:location.search)||void 0===t?void 0:t.split("utm_source="))||void 0===o?void 0:o.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},j))},style:n(n({},M),{background:null==L?void 0:L.backgroundColor})},{children:[(null==L?void 0:L.icon)?e("img",{src:L.icon,alt:"loyalty_icon",loading:"lazy",width:32,height:32}):e("img",{src:m,alt:"download icon",loading:"lazy",width:40,height:40}),i("div",n({className:p["stickybanner__container--vertical"]},{children:[B?e(u,{height:20}):(null==L?void 0:L.title)?e(r,n({variant:c.HM4,style:{color:null==L?void 0:L.titleColor},className:p["stickybanner__text--large-loyalty"]},{children:L.title})):e(r,n({variant:c.HM4,color:_.SUCCESS,className:p["stickybanner__text--large"]},{children:x})),e("div",n({className:p["stickybanner__container--horizontal--gap"]},{children:(null==L?void 0:L.benefitText)||(null==L?void 0:L.boldSubtext)?i("p",n({className:p["stickybanner__text--wrapper"]},{children:[e("span",n({className:p.stickybanner__loyaltyText},{children:(null==L?void 0:L.boldSubtext)||""===(null==L?void 0:L.boldSubtext)?L.boldSubtext:"Only on App"}))," ",(null==L?void 0:L.benefitText)&&e("span",n({className:p["stickybanner__loyaltyText--bold"]},{children:L.benefitText}))]})):i(t,{children:[i("div",n({className:p["stickybanner__container--horizontal"]},{children:[e(r,n({className:p.stickybanner__text,variant:c.P3},{children:h})),e("img",{src:y,alt:"rating icon",loading:"lazy"})]})),e("div",n({className:p["stickybanner__container--horizontal"]},{children:e(r,n({className:p.stickybanner__text,variant:c.P3},{children:f}))}))]})}))]})),e(l,n({variant:a.OUTLINE,onClick:function(e){var i,t,o,l,a;null==e||e.stopPropagation(),C();var r=d();s("u_app_push_click",n({action_name:null!==(i=null==E?void 0:E.install)&&void 0!==i?i:"bottomSticky_install_hp",page_name:null==r?void 0:r.pageName,vertical:null==r?void 0:r.vertical,source_channel:(null===(t=null===location||void 0===location?void 0:location.search)||void 0===t?void 0:t.split("utm_source=").length)>1?null===(a=null===(l=null===(o=null===location||void 0===location?void 0:location.search)||void 0===o?void 0:o.split("utm_source="))||void 0===l?void 0:l.pop())||void 0===a?void 0:a.split("&")[0]:"organic"},j))},style:{marginLeft:"auto",right:0,height:"32px",minWidth:"90px",background:"transparent"},loading:N||!1},{children:w}))]}))})};export{b as AppPushStickyBanner};
|
|
2
2
|
//# sourceMappingURL=ct-platform-app-push-sticky-banner.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-app-push-sticky-banner.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.tsx","../packages/components/AppPushStickyBanner/src/constants.ts"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","AppPushStickyBanner","_a","_b","header","_c","ratings","_d","subtext","_e","buttonText","buttonLoadingState","onBannerLoad","onBannerClick","onButtonClick","customActionNames","ravenPayload","_f","isBenefitDataLoading","
|
|
1
|
+
{"version":3,"file":"ct-platform-app-push-sticky-banner.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/AppPushStickyBanner/src/AppPushStickyBanner.tsx","../packages/components/AppPushStickyBanner/src/constants.ts"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","AppPushStickyBanner","_a","_b","header","_c","ratings","_d","subtext","_e","buttonText","buttonLoadingState","onBannerLoad","onBannerClick","onButtonClick","customActionNames","ravenPayload","_f","isBenefitDataLoading","loyaltyData","useEffect","eventProps","getRavenEventProps","ravenSDKTrigger","__assign","action_name","impression","page_name","pageName","vertical","source_channel","location","search","split","length","pop","_jsx","_jsxs","className","styles","onClick","expand","background","backgroundColor","icon","src","alt","loading","width","height","DownloadApp","children","Shimmer","title","Typography","variant","TypographyVariant","HM4","color","titleColor","TypographyColor","SUCCESS","benefitText","boldSubtext","_Fragment","P3","Star","Button","ButtonVariant","OUTLINE","event","stopPropagation","install","marginLeft","right","minWidth"],"mappings":"ugDAAA,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,gvDCGM,IAAAe,EAA0D,SAACC,OAC7DC,EAAqCD,EAAAE,OAArCA,OAAM,IAAAD,EC7BkC,yBD6BHA,EACrCE,EAAAH,EAAAI,QAAAA,OAAU,IAAAD,EC7BgC,MD6BFA,EACxCE,YAAAC,OAAU,IAAAD,EC7BuC,iBD6BFA,EAC/CE,EAA+CP,EAAAQ,WAA/CA,OAAU,IAAAD,EC7BoC,UD6BCA,EAC/CE,uBACAC,EAAYV,EAAAU,aACZC,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AAsB,GAE9B,CAAAwC,SAAAzC,UAKrB","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-platform-app-push-sticky-banner",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4-beta.0",
|
|
4
4
|
"description": "App push sticky banner Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-platform-app-push-sticky-banner.cjs.js",
|
|
@@ -12,10 +12,9 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@cleartrip/ct-design-button": "2.6.0",
|
|
14
14
|
"@cleartrip/ct-design-typography": "2.6.0",
|
|
15
|
-
"
|
|
16
|
-
"@cleartrip/ct-platform-utils": "3.
|
|
17
|
-
"@cleartrip/ct-platform-
|
|
18
|
-
"@cleartrip/ct-platform-shimmer": "3.0.0"
|
|
15
|
+
"@cleartrip/ct-platform-assets": "3.2.1-beta.0",
|
|
16
|
+
"@cleartrip/ct-platform-utils": "3.9.1-beta.0",
|
|
17
|
+
"@cleartrip/ct-platform-shimmer": "3.0.0-beta.53"
|
|
19
18
|
},
|
|
20
19
|
"peerDependencies": {
|
|
21
20
|
"react": ">=16.8.0",
|
|
@@ -23,9 +22,6 @@
|
|
|
23
22
|
},
|
|
24
23
|
"author": "Cleartrip",
|
|
25
24
|
"license": "ISC",
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@types/react-lottie": "^1.2.10"
|
|
28
|
-
},
|
|
29
25
|
"scripts": {
|
|
30
26
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
31
27
|
"watch-package": "rollup -c -w",
|