@sunrise-upc/sales-static-components 5.0.0-beta.1 → 5.1.0-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/cjs/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/FalconHeader/FalconHeader.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/FalconHeader/useScrollCheck.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCards.css +2 -5
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCards.module.scss.css +2 -5
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCardsArrows.css +2 -5
- package/dist/esm/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.js +1 -1
- package/dist/esm/components/FalconMainNavigation/FalconHeader/FalconHeader.js +1 -1
- package/dist/esm/components/FalconMainNavigation/FalconHeader/useScrollCheck.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCards.css +2 -5
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCards.module.scss.css +2 -5
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCardsArrows.css +2 -5
- package/dist/navigation.css +334 -334
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require('./BusinessCustomerLinkOut.css');
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("react/jsx-runtime"),e=require("../../shared.js"),i=require("../../../../utils/AnalyticsConstants.js"),r=require("../../../../utils/AnalyticUtils.js"),t=require("react"),n=require("../../NavContext.js"),a=require("../useScrollCheck.js"),d=require("./BusinessCustomerLinkOut.module.scss.js");exports.default=({content:u,metadata:o,isBlackFriday:s=!1,alwaysExpandOnScrollUp:v=!
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("react/jsx-runtime"),e=require("../../shared.js"),i=require("../../../../utils/AnalyticsConstants.js"),r=require("../../../../utils/AnalyticUtils.js"),t=require("react"),n=require("../../NavContext.js"),a=require("../useScrollCheck.js"),d=require("./BusinessCustomerLinkOut.module.scss.js");exports.default=({content:u,metadata:o,isBlackFriday:s=!1,alwaysExpandOnScrollUp:v=!1,arrowDown:c})=>{const[h,k]=t.useState(!1),{reset:g}=n.useNavStoreData(),{isScrollBreak:x}=a.default(v);t.useEffect(()=>{k(!1)},[x]);return l.jsx(l.Fragment,{children:u.map((t,n)=>{var a,u,v,f,m,j,L,N;const p=e.resolveStoryblokLink(o,null===(u=null===(a=null==t?void 0:t.headerLinks)||void 0===a?void 0:a[0])||void 0===u?void 0:u.url);return l.jsxs("div",{className:`${d.default["outer-icon"]} ${s?d.default["black-friday"]:""}`,children:[(null===(v=null==t?void 0:t.headerLinks)||void 0===v?void 0:v.length)>1?l.jsxs("div",{className:`${d.default.icon} ${h?d.default.icon1:""} ${(null==t?void 0:t.isHighlight)?d.default.highlighted:""}`,onClick:()=>{(l=>{k(!h),r.trackNewDatalayerEvent(i.GAEVENT,i.MAINNAVCLICK,{link_url:"#",click_text:null==l?void 0:l.title})})(t)},children:[l.jsx("a",{role:"menuitem",target:null===(f=null==t?void 0:t.headerLinks[0])||void 0===f?void 0:f.linkTarget,children:t.title},t._uid),h?(null==c?void 0:c.filename)?l.jsx("img",{src:c.filename,alt:c.alt||"",height:"24px",width:"24px"}):null:l.jsx("img",{src:e.getStaticAssetPath("/icons/chevron_up.svg"),alt:"",height:"24px",width:"24px"})]}):l.jsx("div",{className:`${d.default.icon} ${h?"":x?d.default["icon2-scroll"]:d.default.icon2} ${(null==t?void 0:t.isHighlight)?d.default.highlighted:""}\n ${1==(null===(m=null==t?void 0:t.headerLinks)||void 0===m?void 0:m.length)&&d.default["dropdown-one-item"]}\n `,children:l.jsx("a",{href:(null===(j=null==t?void 0:t.headerLinks[0])||void 0===j?void 0:j.url.cached_url)?p:"/",onClick:()=>{var l;g(),r.trackNewDatalayerEvent(i.GAEVENT,i.MAINNAVCLICK,{link_url:null===(l=null==t?void 0:t.headerLinks[0])||void 0===l?void 0:l.url.cached_url,click_text:null==t?void 0:t.title})},role:"menuitem",target:null===(L=null==t?void 0:t.headerLinks[0])||void 0===L?void 0:L.linkTarget,children:t.title},t._uid)}),h&&t.headerLinks.length>1&&l.jsx("div",{className:d.default["login-flyover"],children:(null===(N=null==t?void 0:t.headerLinks)||void 0===N?void 0:N.length)>0&&t.headerLinks.map((n,a)=>{var d;const u=e.resolveStoryblokLink(o,null==n?void 0:n.url);return l.jsx("div",{children:l.jsx("a",{href:n.url&&n.url.url?u:"#",target:null===(d=null==t?void 0:t.headerLinks[0])||void 0===d?void 0:d.linkTarget,onClick:()=>{var l;r.trackNewDatalayerEvent(i.GAEVENT,i.SUBNAVCLICK,{link_url:null===(l=null==n?void 0:n.url)||void 0===l?void 0:l.url,click_text:null==n?void 0:n.label})},children:n.label})},a)})})]},n)})})};
|
|
3
3
|
//# sourceMappingURL=BusinessCustomerLinkOut.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require('./FalconHeader.css');
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./FalconHeader.module.scss.js"),l=require("../shared.js"),a=require("./useScrollCheck.js"),i=require("../NavContext.js"),t=require("./LocaleSelector/LocaleSelector.js"),n=require("./BusinessCustomerLinkOut/BusinessCustomerLinkOut.js"),s=require("../../ResponsiveRow/row.js"),o=require("../../../utils/AnalyticUtils.js"),d=require("../../../utils/AnalyticsConstants.js");exports.default=({content:u,metadata:c,isBlackFriday:m=!1,alwaysExpandOnScrollUp:v=!
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./FalconHeader.module.scss.js"),l=require("../shared.js"),a=require("./useScrollCheck.js"),i=require("../NavContext.js"),t=require("./LocaleSelector/LocaleSelector.js"),n=require("./BusinessCustomerLinkOut/BusinessCustomerLinkOut.js"),s=require("../../ResponsiveRow/row.js"),o=require("../../../utils/AnalyticUtils.js"),d=require("../../../utils/AnalyticsConstants.js");exports.default=({content:u,metadata:c,isBlackFriday:m=!1,alwaysExpandOnScrollUp:v=!1,arrowDown:x,greyArrowDown:j})=>{var f;const{isScrollBreak:h}=a.default(v),{reset:w}=i.useNavStoreData();return e.jsx(e.Fragment,{children:e.jsx("div",{className:`${h&&r.default["scroll-break"]||""} ${r.default.container} ${m?r.default["black-friday"]:""} ${!1===v?r.default["fast-transition"]:""}`,role:"navigation","aria-label":"Header navigation",children:e.jsx(s.default,{children:e.jsx("div",{className:"hide-in-mob hide-in-tab full-width",children:e.jsxs("div",{style:{marginLeft:"130px",paddingTop:"5px",paddingBottom:"5px"},className:"d-flex flex-grow-1 justify-content-between align-items-center",children:[e.jsx("div",{className:`d-flex align-items-center ${r.default.menu1}`,role:"menubar","aria-label":"Business customer menu",children:(null===(f=null==u?void 0:u.headerDropdown)||void 0===f?void 0:f.length)>0&&e.jsx(n.default,{content:u.headerDropdown,metadata:c,isBlackFriday:m,alwaysExpandOnScrollUp:v,arrowDown:x})}),e.jsxs("div",{className:`d-flex align-items-center ${r.default.menu}`,role:"menubar","aria-label":"Header links menu",children:[u.headerLinks.map(r=>{const a=l.resolveStoryblokLink(c,null==r?void 0:r.url);return e.jsx("a",{href:r.url.cached_url?a:"/",onClick:()=>{var e;w(),o.trackNewDatalayerEvent(d.GAEVENT,d.MAINNAVCLICK,{link_url:null===(e=null==r?void 0:r.url)||void 0===e?void 0:e.url,click_text:null==r?void 0:r.label})},role:"menuitem",children:r.label},r._uid)}),e.jsx("div",{role:"menuitem",children:e.jsx(t.default,{localeSelector:u.localeSelector,metadata:c,isBlackFriday:m,greyArrowDown:j})})]})]})})})})})};
|
|
3
3
|
//# sourceMappingURL=FalconHeader.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.default=(r=!
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.default=(r=!1)=>{const[t,s]=e.useState(!1),n=e.useRef(0);return e.useEffect(()=>{const e=()=>{const e=window.pageYOffset,t=e<=0,o=n.current<e;s(r?o&&!t:!t),n.current=e};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[r]),{isScrollBreak:t}};
|
|
2
2
|
//# sourceMappingURL=useScrollCheck.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require('./ProfileLinkOut.css');
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),t=require("react/jsx-runtime"),a=require("react"),l=require("js-cookie"),s=require("./ProfileLinkOut.module.scss.js"),i=require("../../../utils/AnalyticUtils.js"),n=require("../../../utils/AnalyticsConstants.js"),r=require("../../Constants.js"),o=require("../../../services/customerSegmentSync.js"),c=require("../shared.js"),d=require("../useOnClickOutside.js");exports.default=({link:u,title:f,logoutLabel:m,salutationLabel:h,userIcon:v,arrowRight:N,arrowDown:g,logoutIcon:w,isBlackFriday:k=!1,logoutUrl:x})=>{var C;const[j,E]=a.useState(()=>(()=>{if("undefined"==typeof document)return;const e=`${r.AUTHCOOKIE}=`,t=document.cookie.split(";");for(let a of t){for(;" "===a.charAt(0);)a=a.substring(1);if(0===a.indexOf(e))try{const t=JSON.parse(decodeURIComponent(a.substring(e.length,a.length)));return!t.personalisedName&&t.firstName&&t.lastName&&(t.personalisedName=`${t.firstName[0]}${t.lastName[0]}`),t}catch(e){return}}})()),[y,_]=a.useState(!1),[I,p]=a.useState(!1),A=d.default(_,!1,y),O=(null==v?void 0:v.filename)||c.getStaticAssetPath("/HeaderIcons/new_profile_icon.svg"),b=(null==N?void 0:N.filename)||c.getStaticAssetPath("/HeaderIcons/arrow-right.svg"),S=(null==g?void 0:g.filename)||c.getStaticAssetPath("/HeaderIcons/red_down_arrow.svg"),T=(null==w?void 0:w.filename)||c.getStaticAssetPath("/HeaderIcons/logout.svg"),$=(null==u?void 0:u.cached_url)||(null==u?void 0:u.url)||"/",L=()=>{if("undefined"!=typeof document)try{void 0!==l.get(r.CART_COOKIE)&&l.remove(r.CART_COOKIE)}catch(e){}},P=()=>e.__awaiter(void 0,void 0,void 0,function*(){var e,t;try{window.sessionStorage.removeItem(r.AUTHSTAMP),localStorage.removeItem("userNameType"),o.setCustomerSegment(r.CUSTOMER_GROUP_NEW_CUSTOMER_VALUE),null===(e=window.sprChat)||void 0===e||e.call(window,"updateUserSettings",{}),null===(t=window.sprChat)||void 0===t||t.call(window,"updateConversationContext",{context:{_c_6a7da0de1b5a558bacdf66c2:["Yes"]}});const a=window.fetch;window.fetch=(...e)=>(console.log("FETCH",e),a(...e)),"function"==typeof window.wonderfulChat&&(yield window.wonderfulChat("logout"))}catch(e){}E(void 0)}),U=()=>{i.trackNewDatalayerEvent(n.GAEVENT,n.SUBNAVCLICK,{link_url:"#",click_text:m}),i.trackNewDatalayerEvent(n.GAEVENT,n.PROFILELOGOUT,{click_text:m});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!x)return P(),void e();fetch(x,{method:"GET"}).then(e=>{e.ok&&P()}).catch(()=>{}).finally(()=>{e()})},q=()=>{j?i.trackNewDatalayerEvent(n.GAEVENT,n.PROFILECLICK,{click_text:j.personalisedName}):i.trackNewDatalayerEvent(n.GAEVENT,n.LOGINCLICK,{click_text:f})},G=t.jsxs(t.Fragment,{children:[t.jsx("div",{className:s.default["profile-icon"],style:{backgroundImage:`url(${O})`}}),t.jsx("div",{className:s.default["profile-name"],children:j?j.personalisedName:f}),j?t.jsx("div",{className:s.default["profile-arrow-down-icon"],style:{backgroundImage:`url(${S})`}}):t.jsx("div",{className:s.default["profile-arrow-icon"],style:{backgroundImage:`url(${b})`}})]}),R=t.jsxs("div",{className:`${s.default["login-flyover"]} ${k?s.default["black-friday"]:""}`,children:[j&&t.jsxs("div",{className:s.default.salutation,children:[h||""," ",j.firstName?`${j.firstName} ${null!==(C=j.lastName)&&void 0!==C?C:""}`:""]}),t.jsxs("div",{className:"d-none d-md-block",children:[t.jsx("div",{className:s.default.mysunrise,onClick:()=>i.trackNewDatalayerEvent(n.GAEVENT,n.MYPROFILECLICK,{click_text:f}),children:t.jsx("a",{href:$,onClick:L,children:f})}),j&&m&&t.jsx("div",{className:s.default.logout,children:t.jsxs("a",{onClick:U,children:[m,t.jsx("img",{className:s.default.logout1,src:T,alt:"logout"})]})})]}),t.jsxs("div",{className:"d-md-none",children:[t.jsx("a",{href:$,onClick:()=>{L(),i.trackNewDatalayerEvent(n.GAEVENT,n.MYPROFILECLICK,{click_text:f})},children:t.jsx("div",{className:s.default.mysunrise,children:f})}),j&&m&&t.jsx("a",{onClick:U,children:t.jsxs("div",{className:s.default.logout,children:[m,t.jsx("img",{className:"d-md-none",src:T,alt:"logout"})]})})]})]});return j?t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:A,className:"d-none d-md-block",children:[t.jsx("a",{onClick:()=>{_(e=>!e),q()},className:`d-flex align-items-center ${s.default.section} ${y?s.default.highlight:""} ${k?s.default["black-friday"]:""}`,children:G}),y&&R]}),t.jsxs("div",{className:"d-md-none",children:[t.jsx("a",{onClick:()=>{p(e=>!e),q()},className:`d-flex align-items-center ${s.default.section} ${I?s.default["section-clicked"]:""} ${k?s.default["black-friday"]:""}`,children:G}),I&&R]})]}):t.jsx("a",{href:$,className:`d-flex ${s.default["non-section"]} ${k?s.default["black-friday"]:""}`,onClick:()=>{L(),i.trackNewDatalayerEvent(n.GAEVENT,n.MAINNAVCLICK,{link_url:null==u?void 0:u.cached_url,click_text:f}),q()},children:G})};
|
|
3
3
|
//# sourceMappingURL=ProfileLinkOut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearCartCookie","undefined","Cookies","get","CART_COOKIE","remove","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","wonderfulChat","_c","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","
|
|
1
|
+
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearCartCookie","undefined","Cookies","get","CART_COOKIE","remove","clearClientAuthState","__awaiter","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","orig","fetch","a","console","log","wonderfulChat","_c","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"wfA2EuB,EACrBA,OACAC,QACAC,cACAC,kBACAC,WACAC,aACAC,YACAC,aACAC,iBAAgB,EAChBC,sBAEA,MAAOC,EAAUC,GAAeC,EAAAA,SAAqC,IA3ChD,MACrB,GAAwB,oBAAbC,SACT,OAGF,MAAMC,EAAO,GAAGC,EAAAA,cACVC,EAAUH,SAASI,OAAOC,MAAM,KAEtC,IAAK,IAAID,KAAUD,EAAS,CAC1B,KAA4B,MAArBC,EAAOE,OAAO,IACnBF,EAASA,EAAOG,UAAU,GAG5B,GAA6B,IAAzBH,EAAOI,QAAQP,GACjB,IACE,MAAMQ,EAASC,KAAKC,MAClBC,mBAAmBR,EAAOG,UAAUN,EAAKY,OAAQT,EAAOS,UAK1D,OAHKJ,EAAOK,kBAAoBL,EAAOM,WAAaN,EAAOO,WACzDP,EAAOK,iBAAmB,GAAGL,EAAOM,UAAU,KAAKN,EAAOO,SAAS,MAE9DP,CACT,CAAE,MAAAQ,GACA,MACF,CAEJ,GAkBEC,KAEKC,EAAcC,GAAmBrB,EAAAA,UAAS,IAC1CsB,EAAaC,GAAkBvB,EAAAA,UAAS,GAEzCwB,EAAWC,EAAAA,QACfJ,G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F,EAAgB0F,EAAAA,QAAO,gBAAkB,KACzCH,SAEDH,IAEF1D,GAAemE,QAtDlBL,EAAAA,IAAA,IAAA,CACEQ,KAAM5D,EACNqD,UAAW,UAAUC,EAAAA,QAAO,kBAC1B1F,EAAgB0F,UAAO,gBAAkB,KAE3CI,QAAS,KACPvD,IACA4B,EAAAA,uBAAuBC,EAAAA,QAASiC,eAAc,CAC5C/B,SAAU9E,aAAI,EAAJA,EAAM6C,WAChBkC,WAAY9E,IAEdwF,KACDM,SAEAH"}
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination {
|
|
83
|
-
bottom:
|
|
84
|
-
margin-top: 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
top: auto;
|
|
83
|
+
bottom: 0;
|
|
87
84
|
}
|
|
88
85
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination-bullet {
|
|
89
86
|
background: #8a8a8a;
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
align-items: stretch;
|
|
101
98
|
}
|
|
102
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
103
|
-
padding-bottom:
|
|
100
|
+
padding-bottom: 16px;
|
|
104
101
|
}
|
|
105
102
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
103
|
height: auto;
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination {
|
|
83
|
-
bottom:
|
|
84
|
-
margin-top: 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
top: auto;
|
|
83
|
+
bottom: 0;
|
|
87
84
|
}
|
|
88
85
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination-bullet {
|
|
89
86
|
background: #8a8a8a;
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
align-items: stretch;
|
|
101
98
|
}
|
|
102
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
103
|
-
padding-bottom:
|
|
100
|
+
padding-bottom: 16px;
|
|
104
101
|
}
|
|
105
102
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
103
|
height: auto;
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination {
|
|
83
|
-
bottom:
|
|
84
|
-
margin-top: 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
top: auto;
|
|
83
|
+
bottom: 0;
|
|
87
84
|
}
|
|
88
85
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination-bullet {
|
|
89
86
|
background: #8a8a8a;
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
align-items: stretch;
|
|
101
98
|
}
|
|
102
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
103
|
-
padding-bottom:
|
|
100
|
+
padding-bottom: 16px;
|
|
104
101
|
}
|
|
105
102
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
103
|
height: auto;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './BusinessCustomerLinkOut.css';
|
|
2
|
-
import{jsx as l,Fragment as i,jsxs as n}from"react/jsx-runtime";import{resolveStoryblokLink as e,getStaticAssetPath as r}from"../../shared.js";import{MAINNAVCLICK as o,GAEVENT as d,SUBNAVCLICK as t}from"../../../../utils/AnalyticsConstants.js";import{trackNewDatalayerEvent as a}from"../../../../utils/AnalyticUtils.js";import{useState as u,useEffect as s}from"react";import{useNavStoreData as c}from"../../NavContext.js";import v from"../useScrollCheck.js";import h from"./BusinessCustomerLinkOut.module.scss.js";const m=({content:m,metadata:k,isBlackFriday:g=!1,alwaysExpandOnScrollUp:p=!
|
|
2
|
+
import{jsx as l,Fragment as i,jsxs as n}from"react/jsx-runtime";import{resolveStoryblokLink as e,getStaticAssetPath as r}from"../../shared.js";import{MAINNAVCLICK as o,GAEVENT as d,SUBNAVCLICK as t}from"../../../../utils/AnalyticsConstants.js";import{trackNewDatalayerEvent as a}from"../../../../utils/AnalyticUtils.js";import{useState as u,useEffect as s}from"react";import{useNavStoreData as c}from"../../NavContext.js";import v from"../useScrollCheck.js";import h from"./BusinessCustomerLinkOut.module.scss.js";const m=({content:m,metadata:k,isBlackFriday:g=!1,alwaysExpandOnScrollUp:p=!1,arrowDown:f})=>{const[L,x]=u(!1),{reset:_}=c(),{isScrollBreak:$}=v(p);s(()=>{x(!1)},[$]);return l(i,{children:m.map((i,u)=>{var s,c,v,m,p,j,C,w;const y=e(k,null===(c=null===(s=null==i?void 0:i.headerLinks)||void 0===s?void 0:s[0])||void 0===c?void 0:c.url);return n("div",{className:`${h["outer-icon"]} ${g?h["black-friday"]:""}`,children:[(null===(v=null==i?void 0:i.headerLinks)||void 0===v?void 0:v.length)>1?n("div",{className:`${h.icon} ${L?h.icon1:""} ${(null==i?void 0:i.isHighlight)?h.highlighted:""}`,onClick:()=>{(l=>{x(!L),a(d,o,{link_url:"#",click_text:null==l?void 0:l.title})})(i)},children:[l("a",{role:"menuitem",target:null===(m=null==i?void 0:i.headerLinks[0])||void 0===m?void 0:m.linkTarget,children:i.title},i._uid),L?(null==f?void 0:f.filename)?l("img",{src:f.filename,alt:f.alt||"",height:"24px",width:"24px"}):null:l("img",{src:r("/icons/chevron_up.svg"),alt:"",height:"24px",width:"24px"})]}):l("div",{className:`${h.icon} ${L?"":$?h["icon2-scroll"]:h.icon2} ${(null==i?void 0:i.isHighlight)?h.highlighted:""}\n ${1==(null===(p=null==i?void 0:i.headerLinks)||void 0===p?void 0:p.length)&&h["dropdown-one-item"]}\n `,children:l("a",{href:(null===(j=null==i?void 0:i.headerLinks[0])||void 0===j?void 0:j.url.cached_url)?y:"/",onClick:()=>{var l;_(),a(d,o,{link_url:null===(l=null==i?void 0:i.headerLinks[0])||void 0===l?void 0:l.url.cached_url,click_text:null==i?void 0:i.title})},role:"menuitem",target:null===(C=null==i?void 0:i.headerLinks[0])||void 0===C?void 0:C.linkTarget,children:i.title},i._uid)}),L&&i.headerLinks.length>1&&l("div",{className:h["login-flyover"],children:(null===(w=null==i?void 0:i.headerLinks)||void 0===w?void 0:w.length)>0&&i.headerLinks.map((n,r)=>{var o;const u=e(k,null==n?void 0:n.url);return l("div",{children:l("a",{href:n.url&&n.url.url?u:"#",target:null===(o=null==i?void 0:i.headerLinks[0])||void 0===o?void 0:o.linkTarget,onClick:()=>{var l;a(d,t,{link_url:null===(l=null==n?void 0:n.url)||void 0===l?void 0:l.url,click_text:null==n?void 0:n.label})},children:n.label})},r)})})]},u)})})};export{m as default};
|
|
3
3
|
//# sourceMappingURL=BusinessCustomerLinkOut.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './FalconHeader.css';
|
|
2
|
-
import{jsx as e,Fragment as r,jsxs as l}from"react/jsx-runtime";import a from"./FalconHeader.module.scss.js";import{resolveStoryblokLink as i}from"../shared.js";import o from"./useScrollCheck.js";import{useNavStoreData as n}from"../NavContext.js";import t from"./LocaleSelector/LocaleSelector.js";import s from"./BusinessCustomerLinkOut/BusinessCustomerLinkOut.js";import d from"../../ResponsiveRow/row.js";import{trackNewDatalayerEvent as c}from"../../../utils/AnalyticUtils.js";import{MAINNAVCLICK as m,GAEVENT as u}from"../../../utils/AnalyticsConstants.js";const p=({content:p,metadata:f,isBlackFriday:h=!1,alwaysExpandOnScrollUp:v=!
|
|
2
|
+
import{jsx as e,Fragment as r,jsxs as l}from"react/jsx-runtime";import a from"./FalconHeader.module.scss.js";import{resolveStoryblokLink as i}from"../shared.js";import o from"./useScrollCheck.js";import{useNavStoreData as n}from"../NavContext.js";import t from"./LocaleSelector/LocaleSelector.js";import s from"./BusinessCustomerLinkOut/BusinessCustomerLinkOut.js";import d from"../../ResponsiveRow/row.js";import{trackNewDatalayerEvent as c}from"../../../utils/AnalyticUtils.js";import{MAINNAVCLICK as m,GAEVENT as u}from"../../../utils/AnalyticsConstants.js";const p=({content:p,metadata:f,isBlackFriday:h=!1,alwaysExpandOnScrollUp:v=!1,arrowDown:w,greyArrowDown:k})=>{var x;const{isScrollBreak:b}=o(v),{reset:g}=n();return e(r,{children:e("div",{className:`${b&&a["scroll-break"]||""} ${a.container} ${h?a["black-friday"]:""} ${!1===v?a["fast-transition"]:""}`,role:"navigation","aria-label":"Header navigation",children:e(d,{children:e("div",{className:"hide-in-mob hide-in-tab full-width",children:l("div",{style:{marginLeft:"130px",paddingTop:"5px",paddingBottom:"5px"},className:"d-flex flex-grow-1 justify-content-between align-items-center",children:[e("div",{className:`d-flex align-items-center ${a.menu1}`,role:"menubar","aria-label":"Business customer menu",children:(null===(x=null==p?void 0:p.headerDropdown)||void 0===x?void 0:x.length)>0&&e(s,{content:p.headerDropdown,metadata:f,isBlackFriday:h,alwaysExpandOnScrollUp:v,arrowDown:w})}),l("div",{className:`d-flex align-items-center ${a.menu}`,role:"menubar","aria-label":"Header links menu",children:[p.headerLinks.map(r=>{const l=i(f,null==r?void 0:r.url);return e("a",{href:r.url.cached_url?l:"/",onClick:()=>{var e;g(),c(u,m,{link_url:null===(e=null==r?void 0:r.url)||void 0===e?void 0:e.url,click_text:null==r?void 0:r.label})},role:"menuitem",children:r.label},r._uid)}),e("div",{role:"menuitem",children:e(t,{localeSelector:p.localeSelector,metadata:f,isBlackFriday:h,greyArrowDown:k})})]})]})})})})})};export{p as default};
|
|
3
3
|
//# sourceMappingURL=FalconHeader.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as r,useRef as e,useEffect as t}from"react";const n=(n=!
|
|
1
|
+
import{useState as r,useRef as e,useEffect as t}from"react";const n=(n=!1)=>{const[o,s]=r(!1),c=e(0);return t(()=>{const r=()=>{const r=window.pageYOffset,e=r<=0,t=c.current<r;s(n?t&&!e:!e),c.current=r};return r(),window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[n]),{isScrollBreak:o}};export{n as default};
|
|
2
2
|
//# sourceMappingURL=useScrollCheck.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './ProfileLinkOut.css';
|
|
2
|
-
import{jsxs as
|
|
2
|
+
import{__awaiter as e}from"../../../node_modules/tslib/tslib.es6.js";import{jsxs as o,Fragment as i,jsx as l}from"react/jsx-runtime";import{useState as n}from"react";import r from"js-cookie";import a from"./ProfileLinkOut.module.scss.js";import{trackNewDatalayerEvent as t}from"../../../utils/AnalyticUtils.js";import{MYPROFILECLICK as c,GAEVENT as s,MAINNAVCLICK as d,SUBNAVCLICK as m,PROFILELOGOUT as u,PROFILECLICK as f,LOGINCLICK as h}from"../../../utils/AnalyticsConstants.js";import{AUTHCOOKIE as v,CART_COOKIE as g,AUTHSTAMP as k,CUSTOMER_GROUP_NEW_CUSTOMER_VALUE as w}from"../../Constants.js";import{setCustomerSegment as p}from"../../../services/customerSegmentSync.js";import{getStaticAssetPath as N}from"../shared.js";import y from"../useOnClickOutside.js";const C=({link:C,title:$,logoutLabel:_,salutationLabel:b,userIcon:x,arrowRight:I,arrowDown:j,logoutIcon:S,isBlackFriday:H=!1,logoutUrl:O})=>{var U;const[A,L]=n(()=>(()=>{if("undefined"==typeof document)return;const e=`${v}=`,o=document.cookie.split(";");for(let i of o){for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))try{const o=JSON.parse(decodeURIComponent(i.substring(e.length,i.length)));return!o.personalisedName&&o.firstName&&o.lastName&&(o.personalisedName=`${o.firstName[0]}${o.lastName[0]}`),o}catch(e){return}}})()),[T,E]=n(!1),[F,R]=n(!1),B=y(E,!1,T),D=(null==x?void 0:x.filename)||N("/HeaderIcons/new_profile_icon.svg"),G=(null==I?void 0:I.filename)||N("/HeaderIcons/arrow-right.svg"),J=(null==j?void 0:j.filename)||N("/HeaderIcons/red_down_arrow.svg"),P=(null==S?void 0:S.filename)||N("/HeaderIcons/logout.svg"),Y=(null==C?void 0:C.cached_url)||(null==C?void 0:C.url)||"/",q=()=>{if("undefined"!=typeof document)try{void 0!==r.get(g)&&r.remove(g)}catch(e){}},z=()=>e(void 0,void 0,void 0,function*(){var e,o;try{window.sessionStorage.removeItem(k),localStorage.removeItem("userNameType"),p(w),null===(e=window.sprChat)||void 0===e||e.call(window,"updateUserSettings",{}),null===(o=window.sprChat)||void 0===o||o.call(window,"updateConversationContext",{context:{_c_6a7da0de1b5a558bacdf66c2:["Yes"]}});const i=window.fetch;window.fetch=(...e)=>(console.log("FETCH",e),i(...e)),"function"==typeof window.wonderfulChat&&(yield window.wonderfulChat("logout"))}catch(e){}L(void 0)}),K=()=>{t(s,m,{link_url:"#",click_text:_}),t(s,u,{click_text:_});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!O)return z(),void e();fetch(O,{method:"GET"}).then(e=>{e.ok&&z()}).catch(()=>{}).finally(()=>{e()})},M=()=>{A?t(s,f,{click_text:A.personalisedName}):t(s,h,{click_text:$})},Q=o(i,{children:[l("div",{className:a["profile-icon"],style:{backgroundImage:`url(${D})`}}),l("div",{className:a["profile-name"],children:A?A.personalisedName:$}),l("div",A?{className:a["profile-arrow-down-icon"],style:{backgroundImage:`url(${J})`}}:{className:a["profile-arrow-icon"],style:{backgroundImage:`url(${G})`}})]}),V=o("div",{className:`${a["login-flyover"]} ${H?a["black-friday"]:""}`,children:[A&&o("div",{className:a.salutation,children:[b||""," ",A.firstName?`${A.firstName} ${null!==(U=A.lastName)&&void 0!==U?U:""}`:""]}),o("div",{className:"d-none d-md-block",children:[l("div",{className:a.mysunrise,onClick:()=>t(s,c,{click_text:$}),children:l("a",{href:Y,onClick:q,children:$})}),A&&_&&l("div",{className:a.logout,children:o("a",{onClick:K,children:[_,l("img",{className:a.logout1,src:P,alt:"logout"})]})})]}),o("div",{className:"d-md-none",children:[l("a",{href:Y,onClick:()=>{q(),t(s,c,{click_text:$})},children:l("div",{className:a.mysunrise,children:$})}),A&&_&&l("a",{onClick:K,children:o("div",{className:a.logout,children:[_,l("img",{className:"d-md-none",src:P,alt:"logout"})]})})]})]});return A?o(i,{children:[o("div",{ref:B,className:"d-none d-md-block",children:[l("a",{onClick:()=>{E(e=>!e),M()},className:`d-flex align-items-center ${a.section} ${T?a.highlight:""} ${H?a["black-friday"]:""}`,children:Q}),T&&V]}),o("div",{className:"d-md-none",children:[l("a",{onClick:()=>{R(e=>!e),M()},className:`d-flex align-items-center ${a.section} ${F?a["section-clicked"]:""} ${H?a["black-friday"]:""}`,children:Q}),F&&V]})]}):l("a",{href:Y,className:`d-flex ${a["non-section"]} ${H?a["black-friday"]:""}`,onClick:()=>{q(),t(s,d,{link_url:null==C?void 0:C.cached_url,click_text:$}),M()},children:Q})};export{C as default};
|
|
3
3
|
//# sourceMappingURL=ProfileLinkOut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["ProfileLinkOut","link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearCartCookie","undefined","Cookies","get","CART_COOKIE","remove","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","wonderfulChat","_c","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","
|
|
1
|
+
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["ProfileLinkOut","link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearCartCookie","undefined","Cookies","get","CART_COOKIE","remove","clearClientAuthState","__awaiter","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","orig","fetch","a","console","log","wonderfulChat","_c","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"gwBA4CA,MA+BMA,EAAiB,EACrBC,OACAC,QACAC,cACAC,kBACAC,WAC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AgBqE,KAEnBR,EAAA,MAAA,CAAKI,UAAU,YAAWF,SAAA,CACxBC,EAAA,IAAA,CACEM,QAAS,KApNenE,EAAgByE,IAAUA,GAsNhDnB,KAEFQ,UAAW,6BAA6BC,EAAgB,WACtDhE,EAAcgE,EAAO,mBAAqB,MAE1C1F,EAAgB0F,EAAO,gBAAkB,KACzCH,SAEDH,IAEF1D,GAAemE,QAtDlBL,EAAA,IAAA,CACEQ,KAAM5D,EACNqD,UAAW,UAAUC,EAAO,kBAC1B1F,EAAgB0F,EAAO,gBAAkB,KAE3CI,QAAS,KACPvD,IACA4B,EAAuBC,EAASiC,EAAc,CAC5C/B,SAAU9E,aAAI,EAAJA,EAAM6C,WAChBkC,WAAY9E,IAEdwF,KACDM,SAEAH"}
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination {
|
|
83
|
-
bottom:
|
|
84
|
-
margin-top: 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
top: auto;
|
|
83
|
+
bottom: 0;
|
|
87
84
|
}
|
|
88
85
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination-bullet {
|
|
89
86
|
background: #8a8a8a;
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
align-items: stretch;
|
|
101
98
|
}
|
|
102
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
103
|
-
padding-bottom:
|
|
100
|
+
padding-bottom: 16px;
|
|
104
101
|
}
|
|
105
102
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
103
|
height: auto;
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination {
|
|
83
|
-
bottom:
|
|
84
|
-
margin-top: 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
top: auto;
|
|
83
|
+
bottom: 0;
|
|
87
84
|
}
|
|
88
85
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination-bullet {
|
|
89
86
|
background: #8a8a8a;
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
align-items: stretch;
|
|
101
98
|
}
|
|
102
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
103
|
-
padding-bottom:
|
|
100
|
+
padding-bottom: 16px;
|
|
104
101
|
}
|
|
105
102
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
103
|
height: auto;
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination {
|
|
83
|
-
bottom:
|
|
84
|
-
margin-top: 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
top: auto;
|
|
83
|
+
bottom: 0;
|
|
87
84
|
}
|
|
88
85
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper .swiper-pagination-bullet {
|
|
89
86
|
background: #8a8a8a;
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
align-items: stretch;
|
|
101
98
|
}
|
|
102
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
103
|
-
padding-bottom:
|
|
100
|
+
padding-bottom: 16px;
|
|
104
101
|
}
|
|
105
102
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
103
|
height: auto;
|
package/dist/navigation.css
CHANGED
|
@@ -847,123 +847,6 @@
|
|
|
847
847
|
visibility: visible;
|
|
848
848
|
}
|
|
849
849
|
|
|
850
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
|
|
851
|
-
/* center a block element */
|
|
852
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
853
|
-
/* setting styles in separate formats for cross browser support */
|
|
854
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
855
|
-
/* vertically center alilgn any HTML element */
|
|
856
|
-
/* add basePath to assets */
|
|
857
|
-
.cart-overlay-panel.offcanvas {
|
|
858
|
-
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
859
|
-
z-index: 2147483002;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.cart-overlay-panel .offcanvas-header {
|
|
863
|
-
padding: 20px 16px;
|
|
864
|
-
gap: 24px;
|
|
865
|
-
align-items: center;
|
|
866
|
-
background: #ffffff;
|
|
867
|
-
border-bottom: 1px solid #e6e3df;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
.cart-overlay-panel .offcanvas-title {
|
|
871
|
-
display: flex;
|
|
872
|
-
flex-direction: column;
|
|
873
|
-
align-items: flex-start;
|
|
874
|
-
gap: 2px;
|
|
875
|
-
font-size: 24px;
|
|
876
|
-
line-height: 32px;
|
|
877
|
-
font-weight: 700;
|
|
878
|
-
color: #3d3935;
|
|
879
|
-
}
|
|
880
|
-
@media (max-width: 1023px) {
|
|
881
|
-
.cart-overlay-panel .offcanvas-title {
|
|
882
|
-
font-size: 20px;
|
|
883
|
-
line-height: 28px;
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
.cart-overlay-panel .btn-close {
|
|
888
|
-
opacity: 0.7;
|
|
889
|
-
width: 20px;
|
|
890
|
-
height: 20px;
|
|
891
|
-
}
|
|
892
|
-
.cart-overlay-panel .btn-close:hover {
|
|
893
|
-
opacity: 1;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
.cart-overlay-panel .offcanvas-body {
|
|
897
|
-
padding: 0;
|
|
898
|
-
overflow-y: auto;
|
|
899
|
-
display: flex;
|
|
900
|
-
flex-direction: column;
|
|
901
|
-
background: #f7f6f5;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
.cart-overlay-panel.offcanvas-bottom {
|
|
905
|
-
border-radius: 8px 8px 0 0 !important;
|
|
906
|
-
width: 100% !important;
|
|
907
|
-
overflow: hidden;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
.CartOverlay-module__backdrop___lMc-O {
|
|
911
|
-
position: fixed;
|
|
912
|
-
inset: 0;
|
|
913
|
-
z-index: 1040;
|
|
914
|
-
background: rgba(42, 42, 42, 0.7);
|
|
915
|
-
animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
@keyframes CartOverlay-module__fadeIn___G8JYJ {
|
|
919
|
-
from {
|
|
920
|
-
opacity: 0;
|
|
921
|
-
}
|
|
922
|
-
to {
|
|
923
|
-
opacity: 1;
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
.CartOverlay-module__footer___OwJpW {
|
|
927
|
-
padding: 16px 24px;
|
|
928
|
-
border-top: 1px solid #d2d2d2;
|
|
929
|
-
background-color: #ffffff;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
.CartOverlay-module__dismissButton___57qsq {
|
|
933
|
-
display: flex;
|
|
934
|
-
align-items: center;
|
|
935
|
-
justify-content: center;
|
|
936
|
-
width: 100%;
|
|
937
|
-
padding: 14px 24px;
|
|
938
|
-
gap: 8px;
|
|
939
|
-
background: none;
|
|
940
|
-
border: 2px solid #da291c;
|
|
941
|
-
border-radius: 28px;
|
|
942
|
-
font-size: 16px;
|
|
943
|
-
line-height: 24px;
|
|
944
|
-
font-weight: 600;
|
|
945
|
-
color: #da291c;
|
|
946
|
-
text-align: center;
|
|
947
|
-
cursor: pointer;
|
|
948
|
-
transition: background-color 0.15s ease;
|
|
949
|
-
}
|
|
950
|
-
.CartOverlay-module__dismissButton___57qsq:hover {
|
|
951
|
-
background-color: rgba(218, 41, 28, 0.05);
|
|
952
|
-
}
|
|
953
|
-
.CartOverlay-module__dismissButton___57qsq:focus-visible {
|
|
954
|
-
outline: 2px solid #da291c;
|
|
955
|
-
outline-offset: 2px;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
.CartOverlay-module__errorMessage___ylBiH {
|
|
959
|
-
margin: auto 24px;
|
|
960
|
-
padding: 16px;
|
|
961
|
-
font-size: 20px;
|
|
962
|
-
line-height: 28px;
|
|
963
|
-
color: #3d3935;
|
|
964
|
-
text-align: center;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
850
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
|
|
968
851
|
/* center a block element */
|
|
969
852
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -1098,250 +981,103 @@
|
|
|
1098
981
|
}
|
|
1099
982
|
}
|
|
1100
983
|
|
|
1101
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/
|
|
984
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.module.scss */
|
|
1102
985
|
/* center a block element */
|
|
1103
986
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1104
987
|
/* setting styles in separate formats for cross browser support */
|
|
1105
988
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1106
989
|
/* vertically center alilgn any HTML element */
|
|
1107
990
|
/* add basePath to assets */
|
|
1108
|
-
.
|
|
1109
|
-
|
|
991
|
+
.ProfileLinkOut-module__section-clicked___iOTsY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
|
|
992
|
+
transform: rotate(-180deg);
|
|
1110
993
|
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
border: 0;
|
|
1115
|
-
border-radius: 4px;
|
|
1116
|
-
padding-bottom: 5px;
|
|
1117
|
-
cursor: pointer;
|
|
1118
|
-
height: 42px;
|
|
1119
|
-
font-size: 14px;
|
|
1120
|
-
line-height: 20px;
|
|
1121
|
-
width: 100%;
|
|
994
|
+
|
|
995
|
+
.ProfileLinkOut-module__section___kiIP8, .ProfileLinkOut-module__non-section___G1jJY {
|
|
996
|
+
padding: 10px 8px;
|
|
1122
997
|
}
|
|
1123
|
-
.
|
|
1124
|
-
background-position: center center;
|
|
998
|
+
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-icon___zBkhI, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-icon___zBkhI {
|
|
1125
999
|
background-repeat: no-repeat;
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
width:
|
|
1131
|
-
}
|
|
1132
|
-
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
|
|
1133
|
-
-webkit-transform: rotate(-180deg);
|
|
1134
|
-
-moz-transform: rotate(-180deg);
|
|
1135
|
-
-o-transform: rotate(-180deg);
|
|
1136
|
-
transform: rotate(-180deg);
|
|
1000
|
+
background-size: contain;
|
|
1001
|
+
display: block;
|
|
1002
|
+
height: 24px;
|
|
1003
|
+
margin-right: 4px;
|
|
1004
|
+
width: 24px;
|
|
1137
1005
|
}
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1006
|
+
@media (max-width: 1023px) {
|
|
1007
|
+
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn {
|
|
1008
|
+
background-repeat: no-repeat;
|
|
1009
|
+
background-size: contain;
|
|
1010
|
+
display: block;
|
|
1011
|
+
margin-left: auto;
|
|
1012
|
+
height: 24px;
|
|
1013
|
+
width: 24px;
|
|
1014
|
+
}
|
|
1142
1015
|
}
|
|
1143
1016
|
@media (max-width: 1023px) {
|
|
1144
|
-
.
|
|
1145
|
-
|
|
1017
|
+
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
|
|
1018
|
+
background-repeat: no-repeat;
|
|
1019
|
+
background-size: contain;
|
|
1020
|
+
display: block;
|
|
1021
|
+
margin-left: auto;
|
|
1022
|
+
height: 8px;
|
|
1023
|
+
width: 14px;
|
|
1146
1024
|
}
|
|
1147
1025
|
}
|
|
1148
|
-
.
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
position: absolute;
|
|
1154
|
-
z-index: 100;
|
|
1155
|
-
-webkit-transform: translateX(-50%);
|
|
1156
|
-
-moz-transform: translateX(-50%);
|
|
1157
|
-
-o-transform: translateX(-50%);
|
|
1158
|
-
transform: translateX(-50%);
|
|
1026
|
+
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
|
|
1027
|
+
color: #da291c;
|
|
1028
|
+
font-weight: 700;
|
|
1029
|
+
font-size: 16px;
|
|
1030
|
+
line-height: 24px;
|
|
1159
1031
|
}
|
|
1160
|
-
|
|
1161
|
-
|
|
1032
|
+
@media (max-width: 1023px) {
|
|
1033
|
+
.ProfileLinkOut-module__section___kiIP8, .ProfileLinkOut-module__non-section___G1jJY {
|
|
1034
|
+
background-color: #ffffff;
|
|
1035
|
+
padding: 10px;
|
|
1036
|
+
}
|
|
1162
1037
|
}
|
|
1163
|
-
|
|
1164
|
-
|
|
1038
|
+
|
|
1039
|
+
.ProfileLinkOut-module__highlight___XDufd {
|
|
1040
|
+
border-radius: 8px;
|
|
1041
|
+
background-color: #f7f6f5;
|
|
1165
1042
|
}
|
|
1166
|
-
|
|
1167
|
-
|
|
1043
|
+
|
|
1044
|
+
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1045
|
+
padding-left: 16px;
|
|
1046
|
+
padding-right: 16px;
|
|
1047
|
+
height: fit-content;
|
|
1168
1048
|
}
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1049
|
+
@media (min-width: 1024px) and (max-width: 1439px) {
|
|
1050
|
+
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1051
|
+
padding-left: 12px;
|
|
1052
|
+
padding-right: 12px;
|
|
1053
|
+
}
|
|
1172
1054
|
}
|
|
1173
|
-
.
|
|
1174
|
-
|
|
1055
|
+
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1056
|
+
background-color: unset !important;
|
|
1057
|
+
}
|
|
1058
|
+
@media (max-width: 1023px) {
|
|
1059
|
+
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1060
|
+
background-color: #ffffff !important;
|
|
1061
|
+
}
|
|
1175
1062
|
}
|
|
1176
1063
|
|
|
1177
|
-
.
|
|
1064
|
+
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
|
|
1178
1065
|
color: #ffffff;
|
|
1179
1066
|
}
|
|
1067
|
+
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
|
|
1068
|
+
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
|
|
1069
|
+
filter: brightness(0) invert(0.9);
|
|
1070
|
+
}
|
|
1180
1071
|
@media (max-width: 1023px) {
|
|
1181
|
-
.
|
|
1182
|
-
background-color: #1f1f1f;
|
|
1072
|
+
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
|
|
1073
|
+
background-color: #1f1f1f !important;
|
|
1183
1074
|
}
|
|
1184
1075
|
}
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta {
|
|
1189
|
-
background-color: #1f1f1f;
|
|
1190
|
-
box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
|
|
1076
|
+
|
|
1077
|
+
.ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
|
|
1078
|
+
background-color: transparent;
|
|
1191
1079
|
}
|
|
1192
|
-
.
|
|
1193
|
-
color: #ffffff;
|
|
1194
|
-
}
|
|
1195
|
-
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
|
|
1196
|
-
color: #da291c;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
.LocaleSelector-module__list-item___JVlRE a {
|
|
1200
|
-
font-size: 16px !important;
|
|
1201
|
-
line-height: 24px !important;
|
|
1202
|
-
display: flex;
|
|
1203
|
-
padding: 0 !important;
|
|
1204
|
-
}
|
|
1205
|
-
.LocaleSelector-module__list-item___JVlRE a span {
|
|
1206
|
-
margin: 10px 0 !important;
|
|
1207
|
-
}
|
|
1208
|
-
.LocaleSelector-module__list-item___JVlRE a::before {
|
|
1209
|
-
content: none;
|
|
1210
|
-
display: none !important;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
@media (max-width: 1023px) {
|
|
1214
|
-
.LocaleSelector-module__button___0LEXR {
|
|
1215
|
-
color: #575452;
|
|
1216
|
-
position: relative;
|
|
1217
|
-
}
|
|
1218
|
-
.LocaleSelector-module__button___0LEXR button {
|
|
1219
|
-
background-color: #ffffff;
|
|
1220
|
-
border: 0;
|
|
1221
|
-
border-radius: 4px;
|
|
1222
|
-
cursor: pointer;
|
|
1223
|
-
font-size: 14px;
|
|
1224
|
-
line-height: 20px;
|
|
1225
|
-
padding-bottom: 0;
|
|
1226
|
-
margin-right: 6px;
|
|
1227
|
-
width: 100%;
|
|
1228
|
-
}
|
|
1229
|
-
.LocaleSelector-module__pop-up___HV8Ta {
|
|
1230
|
-
padding: 0px 12px !important;
|
|
1231
|
-
}
|
|
1232
|
-
.LocaleSelector-module__pop-up___HV8Ta img {
|
|
1233
|
-
padding-left: 12px;
|
|
1234
|
-
}
|
|
1235
|
-
.LocaleSelector-module__list-item___JVlRE a {
|
|
1236
|
-
font-size: 16px;
|
|
1237
|
-
line-height: 24px;
|
|
1238
|
-
font-weight: 400;
|
|
1239
|
-
display: flex;
|
|
1240
|
-
padding: 10px 12px;
|
|
1241
|
-
}
|
|
1242
|
-
.LocaleSelector-module__list-item___JVlRE a::before {
|
|
1243
|
-
content: none;
|
|
1244
|
-
display: none !important;
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.module.scss */
|
|
1249
|
-
/* center a block element */
|
|
1250
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1251
|
-
/* setting styles in separate formats for cross browser support */
|
|
1252
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1253
|
-
/* vertically center alilgn any HTML element */
|
|
1254
|
-
/* add basePath to assets */
|
|
1255
|
-
.ProfileLinkOut-module__section-clicked___iOTsY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
|
|
1256
|
-
transform: rotate(-180deg);
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
.ProfileLinkOut-module__section___kiIP8, .ProfileLinkOut-module__non-section___G1jJY {
|
|
1260
|
-
padding: 10px 8px;
|
|
1261
|
-
}
|
|
1262
|
-
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-icon___zBkhI, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-icon___zBkhI {
|
|
1263
|
-
background-repeat: no-repeat;
|
|
1264
|
-
background-size: contain;
|
|
1265
|
-
display: block;
|
|
1266
|
-
height: 24px;
|
|
1267
|
-
margin-right: 4px;
|
|
1268
|
-
width: 24px;
|
|
1269
|
-
}
|
|
1270
|
-
@media (max-width: 1023px) {
|
|
1271
|
-
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn {
|
|
1272
|
-
background-repeat: no-repeat;
|
|
1273
|
-
background-size: contain;
|
|
1274
|
-
display: block;
|
|
1275
|
-
margin-left: auto;
|
|
1276
|
-
height: 24px;
|
|
1277
|
-
width: 24px;
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
@media (max-width: 1023px) {
|
|
1281
|
-
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
|
|
1282
|
-
background-repeat: no-repeat;
|
|
1283
|
-
background-size: contain;
|
|
1284
|
-
display: block;
|
|
1285
|
-
margin-left: auto;
|
|
1286
|
-
height: 8px;
|
|
1287
|
-
width: 14px;
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
.ProfileLinkOut-module__section___kiIP8 .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
|
|
1291
|
-
color: #da291c;
|
|
1292
|
-
font-weight: 700;
|
|
1293
|
-
font-size: 16px;
|
|
1294
|
-
line-height: 24px;
|
|
1295
|
-
}
|
|
1296
|
-
@media (max-width: 1023px) {
|
|
1297
|
-
.ProfileLinkOut-module__section___kiIP8, .ProfileLinkOut-module__non-section___G1jJY {
|
|
1298
|
-
background-color: #ffffff;
|
|
1299
|
-
padding: 10px;
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
.ProfileLinkOut-module__highlight___XDufd {
|
|
1304
|
-
border-radius: 8px;
|
|
1305
|
-
background-color: #f7f6f5;
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1309
|
-
padding-left: 16px;
|
|
1310
|
-
padding-right: 16px;
|
|
1311
|
-
height: fit-content;
|
|
1312
|
-
}
|
|
1313
|
-
@media (min-width: 1024px) and (max-width: 1439px) {
|
|
1314
|
-
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1315
|
-
padding-left: 12px;
|
|
1316
|
-
padding-right: 12px;
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1320
|
-
background-color: unset !important;
|
|
1321
|
-
}
|
|
1322
|
-
@media (max-width: 1023px) {
|
|
1323
|
-
.ProfileLinkOut-module__non-section___G1jJY {
|
|
1324
|
-
background-color: #ffffff !important;
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ {
|
|
1329
|
-
color: #ffffff;
|
|
1330
|
-
}
|
|
1331
|
-
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
|
|
1332
|
-
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-down-icon___Ug9Rs {
|
|
1333
|
-
filter: brightness(0) invert(0.9);
|
|
1334
|
-
}
|
|
1335
|
-
@media (max-width: 1023px) {
|
|
1336
|
-
.ProfileLinkOut-module__non-section___G1jJY.ProfileLinkOut-module__black-friday___2i7mp {
|
|
1337
|
-
background-color: #1f1f1f !important;
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
.ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY {
|
|
1342
|
-
background-color: transparent;
|
|
1343
|
-
}
|
|
1344
|
-
.ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
|
|
1080
|
+
.ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-name___HZpSJ, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-name___HZpSJ {
|
|
1345
1081
|
color: #ffffff;
|
|
1346
1082
|
}
|
|
1347
1083
|
.ProfileLinkOut-module__section___kiIP8.ProfileLinkOut-module__black-friday___2i7mp .ProfileLinkOut-module__profile-arrow-icon___qRTRn, .ProfileLinkOut-module__black-friday___2i7mp.ProfileLinkOut-module__non-section___G1jJY .ProfileLinkOut-module__profile-arrow-icon___qRTRn,
|
|
@@ -2004,6 +1740,270 @@
|
|
|
2004
1740
|
border: none;
|
|
2005
1741
|
}
|
|
2006
1742
|
|
|
1743
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
|
|
1744
|
+
/* center a block element */
|
|
1745
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1746
|
+
/* setting styles in separate formats for cross browser support */
|
|
1747
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1748
|
+
/* vertically center alilgn any HTML element */
|
|
1749
|
+
/* add basePath to assets */
|
|
1750
|
+
.cart-overlay-panel.offcanvas {
|
|
1751
|
+
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
1752
|
+
z-index: 2147483002;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
.cart-overlay-panel .offcanvas-header {
|
|
1756
|
+
padding: 20px 16px;
|
|
1757
|
+
gap: 24px;
|
|
1758
|
+
align-items: center;
|
|
1759
|
+
background: #ffffff;
|
|
1760
|
+
border-bottom: 1px solid #e6e3df;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
.cart-overlay-panel .offcanvas-title {
|
|
1764
|
+
display: flex;
|
|
1765
|
+
flex-direction: column;
|
|
1766
|
+
align-items: flex-start;
|
|
1767
|
+
gap: 2px;
|
|
1768
|
+
font-size: 24px;
|
|
1769
|
+
line-height: 32px;
|
|
1770
|
+
font-weight: 700;
|
|
1771
|
+
color: #3d3935;
|
|
1772
|
+
}
|
|
1773
|
+
@media (max-width: 1023px) {
|
|
1774
|
+
.cart-overlay-panel .offcanvas-title {
|
|
1775
|
+
font-size: 20px;
|
|
1776
|
+
line-height: 28px;
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
.cart-overlay-panel .btn-close {
|
|
1781
|
+
opacity: 0.7;
|
|
1782
|
+
width: 20px;
|
|
1783
|
+
height: 20px;
|
|
1784
|
+
}
|
|
1785
|
+
.cart-overlay-panel .btn-close:hover {
|
|
1786
|
+
opacity: 1;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
.cart-overlay-panel .offcanvas-body {
|
|
1790
|
+
padding: 0;
|
|
1791
|
+
overflow-y: auto;
|
|
1792
|
+
display: flex;
|
|
1793
|
+
flex-direction: column;
|
|
1794
|
+
background: #f7f6f5;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
.cart-overlay-panel.offcanvas-bottom {
|
|
1798
|
+
border-radius: 8px 8px 0 0 !important;
|
|
1799
|
+
width: 100% !important;
|
|
1800
|
+
overflow: hidden;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
.CartOverlay-module__backdrop___lMc-O {
|
|
1804
|
+
position: fixed;
|
|
1805
|
+
inset: 0;
|
|
1806
|
+
z-index: 1040;
|
|
1807
|
+
background: rgba(42, 42, 42, 0.7);
|
|
1808
|
+
animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
@keyframes CartOverlay-module__fadeIn___G8JYJ {
|
|
1812
|
+
from {
|
|
1813
|
+
opacity: 0;
|
|
1814
|
+
}
|
|
1815
|
+
to {
|
|
1816
|
+
opacity: 1;
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
.CartOverlay-module__footer___OwJpW {
|
|
1820
|
+
padding: 16px 24px;
|
|
1821
|
+
border-top: 1px solid #d2d2d2;
|
|
1822
|
+
background-color: #ffffff;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
.CartOverlay-module__dismissButton___57qsq {
|
|
1826
|
+
display: flex;
|
|
1827
|
+
align-items: center;
|
|
1828
|
+
justify-content: center;
|
|
1829
|
+
width: 100%;
|
|
1830
|
+
padding: 14px 24px;
|
|
1831
|
+
gap: 8px;
|
|
1832
|
+
background: none;
|
|
1833
|
+
border: 2px solid #da291c;
|
|
1834
|
+
border-radius: 28px;
|
|
1835
|
+
font-size: 16px;
|
|
1836
|
+
line-height: 24px;
|
|
1837
|
+
font-weight: 600;
|
|
1838
|
+
color: #da291c;
|
|
1839
|
+
text-align: center;
|
|
1840
|
+
cursor: pointer;
|
|
1841
|
+
transition: background-color 0.15s ease;
|
|
1842
|
+
}
|
|
1843
|
+
.CartOverlay-module__dismissButton___57qsq:hover {
|
|
1844
|
+
background-color: rgba(218, 41, 28, 0.05);
|
|
1845
|
+
}
|
|
1846
|
+
.CartOverlay-module__dismissButton___57qsq:focus-visible {
|
|
1847
|
+
outline: 2px solid #da291c;
|
|
1848
|
+
outline-offset: 2px;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
.CartOverlay-module__errorMessage___ylBiH {
|
|
1852
|
+
margin: auto 24px;
|
|
1853
|
+
padding: 16px;
|
|
1854
|
+
font-size: 20px;
|
|
1855
|
+
line-height: 28px;
|
|
1856
|
+
color: #3d3935;
|
|
1857
|
+
text-align: center;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
|
|
1861
|
+
/* center a block element */
|
|
1862
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1863
|
+
/* setting styles in separate formats for cross browser support */
|
|
1864
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1865
|
+
/* vertically center alilgn any HTML element */
|
|
1866
|
+
/* add basePath to assets */
|
|
1867
|
+
.LocaleSelector-module__button___0LEXR {
|
|
1868
|
+
position: relative;
|
|
1869
|
+
}
|
|
1870
|
+
.LocaleSelector-module__button___0LEXR button {
|
|
1871
|
+
background-color: transparent;
|
|
1872
|
+
color: #3d3935;
|
|
1873
|
+
border: 0;
|
|
1874
|
+
border-radius: 4px;
|
|
1875
|
+
padding-bottom: 5px;
|
|
1876
|
+
cursor: pointer;
|
|
1877
|
+
height: 42px;
|
|
1878
|
+
font-size: 14px;
|
|
1879
|
+
line-height: 20px;
|
|
1880
|
+
width: 100%;
|
|
1881
|
+
}
|
|
1882
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
|
|
1883
|
+
background-position: center center;
|
|
1884
|
+
background-repeat: no-repeat;
|
|
1885
|
+
height: 8px;
|
|
1886
|
+
margin-left: 10px;
|
|
1887
|
+
margin-top: 2px;
|
|
1888
|
+
transition: transform 0.2s ease, -webkit-transform 0.2s ease;
|
|
1889
|
+
width: 14px;
|
|
1890
|
+
}
|
|
1891
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
|
|
1892
|
+
-webkit-transform: rotate(-180deg);
|
|
1893
|
+
-moz-transform: rotate(-180deg);
|
|
1894
|
+
-o-transform: rotate(-180deg);
|
|
1895
|
+
transform: rotate(-180deg);
|
|
1896
|
+
}
|
|
1897
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
1898
|
+
padding: 24px 32px;
|
|
1899
|
+
background-color: #ffffff;
|
|
1900
|
+
transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
|
|
1901
|
+
}
|
|
1902
|
+
@media (max-width: 1023px) {
|
|
1903
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
1904
|
+
transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
|
|
1908
|
+
box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);
|
|
1909
|
+
border-radius: 0px 0px 8px 8px;
|
|
1910
|
+
margin-bottom: 4px;
|
|
1911
|
+
white-space: nowrap;
|
|
1912
|
+
position: absolute;
|
|
1913
|
+
z-index: 100;
|
|
1914
|
+
-webkit-transform: translateX(-50%);
|
|
1915
|
+
-moz-transform: translateX(-50%);
|
|
1916
|
+
-o-transform: translateX(-50%);
|
|
1917
|
+
transform: translateX(-50%);
|
|
1918
|
+
}
|
|
1919
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE:not(:first-child) {
|
|
1920
|
+
margin-left: 0 !important;
|
|
1921
|
+
}
|
|
1922
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active {
|
|
1923
|
+
font-weight: bold;
|
|
1924
|
+
}
|
|
1925
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
|
|
1926
|
+
color: #da291c;
|
|
1927
|
+
}
|
|
1928
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a::before {
|
|
1929
|
+
content: none !important;
|
|
1930
|
+
display: none !important;
|
|
1931
|
+
}
|
|
1932
|
+
.LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a:before {
|
|
1933
|
+
display: none !important;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
|
|
1937
|
+
color: #ffffff;
|
|
1938
|
+
}
|
|
1939
|
+
@media (max-width: 1023px) {
|
|
1940
|
+
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
|
|
1941
|
+
background-color: #1f1f1f;
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__chevron___o3l3R {
|
|
1945
|
+
filter: brightness(0) invert(0.9);
|
|
1946
|
+
}
|
|
1947
|
+
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta {
|
|
1948
|
+
background-color: #1f1f1f;
|
|
1949
|
+
box-shadow: 0px 20px 30px -8px rgba(0, 0, 0, 0.5);
|
|
1950
|
+
}
|
|
1951
|
+
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE a {
|
|
1952
|
+
color: #ffffff;
|
|
1953
|
+
}
|
|
1954
|
+
.LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
|
|
1955
|
+
color: #da291c;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
.LocaleSelector-module__list-item___JVlRE a {
|
|
1959
|
+
font-size: 16px !important;
|
|
1960
|
+
line-height: 24px !important;
|
|
1961
|
+
display: flex;
|
|
1962
|
+
padding: 0 !important;
|
|
1963
|
+
}
|
|
1964
|
+
.LocaleSelector-module__list-item___JVlRE a span {
|
|
1965
|
+
margin: 10px 0 !important;
|
|
1966
|
+
}
|
|
1967
|
+
.LocaleSelector-module__list-item___JVlRE a::before {
|
|
1968
|
+
content: none;
|
|
1969
|
+
display: none !important;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
@media (max-width: 1023px) {
|
|
1973
|
+
.LocaleSelector-module__button___0LEXR {
|
|
1974
|
+
color: #575452;
|
|
1975
|
+
position: relative;
|
|
1976
|
+
}
|
|
1977
|
+
.LocaleSelector-module__button___0LEXR button {
|
|
1978
|
+
background-color: #ffffff;
|
|
1979
|
+
border: 0;
|
|
1980
|
+
border-radius: 4px;
|
|
1981
|
+
cursor: pointer;
|
|
1982
|
+
font-size: 14px;
|
|
1983
|
+
line-height: 20px;
|
|
1984
|
+
padding-bottom: 0;
|
|
1985
|
+
margin-right: 6px;
|
|
1986
|
+
width: 100%;
|
|
1987
|
+
}
|
|
1988
|
+
.LocaleSelector-module__pop-up___HV8Ta {
|
|
1989
|
+
padding: 0px 12px !important;
|
|
1990
|
+
}
|
|
1991
|
+
.LocaleSelector-module__pop-up___HV8Ta img {
|
|
1992
|
+
padding-left: 12px;
|
|
1993
|
+
}
|
|
1994
|
+
.LocaleSelector-module__list-item___JVlRE a {
|
|
1995
|
+
font-size: 16px;
|
|
1996
|
+
line-height: 24px;
|
|
1997
|
+
font-weight: 400;
|
|
1998
|
+
display: flex;
|
|
1999
|
+
padding: 10px 12px;
|
|
2000
|
+
}
|
|
2001
|
+
.LocaleSelector-module__list-item___JVlRE a::before {
|
|
2002
|
+
content: none;
|
|
2003
|
+
display: none !important;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
2007
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
|
|
2008
2008
|
/* center a block element */
|
|
2009
2009
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sunrise-upc/sales-static-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0-beta.0",
|
|
4
4
|
"description": "Static Reusable Components Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@sunrise-upc/ajax-lib": "^3.0.0",
|
|
106
|
-
"@sunrise-upc/sun-b2c-search-lib": "^2.0.
|
|
106
|
+
"@sunrise-upc/sun-b2c-search-lib": "^2.0.1",
|
|
107
107
|
"axios": "^1.12.2",
|
|
108
108
|
"cookies-next": "^6.1.0",
|
|
109
109
|
"fitty": "^2.4.2",
|