@sunrise-upc/sales-static-components 3.11.0-beta.0 → 3.11.0-beta.4
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/BadgeContainer/BadgeContainer.css +41 -0
- package/dist/cjs/components/BadgeContainer/BadgeContainer.js +3 -0
- package/dist/cjs/components/BadgeContainer/BadgeContainer.js.map +1 -0
- package/dist/cjs/components/BadgeContainer/BadgeContainer.module.scss.css +41 -0
- package/dist/cjs/components/BadgeContainer/BadgeContainer.module.scss.js +3 -0
- package/dist/cjs/components/BadgeContainer/BadgeContainer.module.scss.js.map +1 -0
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/components/BadgeContainer/BadgeContainer.css +41 -0
- package/dist/esm/components/BadgeContainer/BadgeContainer.js +3 -0
- package/dist/esm/components/BadgeContainer/BadgeContainer.js.map +1 -0
- package/dist/esm/components/BadgeContainer/BadgeContainer.module.scss.css +41 -0
- package/dist/esm/components/BadgeContainer/BadgeContainer.module.scss.js +3 -0
- package/dist/esm/components/BadgeContainer/BadgeContainer.module.scss.js.map +1 -0
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +19 -1
- package/dist/navigation.css +157 -157
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.BadgeContainer-module__badge-container___69m4y {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: -18px;
|
|
5
|
+
left: 16px;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
column-gap: 10px;
|
|
8
|
+
padding: 0 !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.BadgeContainer-module__badge___6Brx4 {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
height: 32px;
|
|
15
|
+
border-radius: 10px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
column-gap: 4px;
|
|
18
|
+
padding: 0 8px;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.BadgeContainer-module__badge-icon___pXuK7 {
|
|
23
|
+
height: 20px;
|
|
24
|
+
width: 20px;
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
.BadgeContainer-module__badge-icon___pXuK7 img, .BadgeContainer-module__badge-icon___pXuK7 svg {
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: auto;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.BadgeContainer-module__badge-label___URlLS {
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
line-height: 20px;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
max-width: 150px;
|
|
41
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
require('./BadgeContainer.css');
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("./BadgeContainer.module.scss.js");const a=({label:a,icon:r,backgroundGradient:l,backgroundColor:n,textGradient:o,textColor:d})=>{const i=r&&"object"==typeof r&&"filename"in r&&r.filename,c=o?{background:o,backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}:{color:d||"#FFFFFF"};return e.jsxs("div",{className:t.default.badge,style:{background:l||n||"#1F1F1F"},children:[i&&e.jsx("div",{className:t.default["badge-icon"],children:e.jsx("img",{src:r.filename,alt:r.alt||r.name||"badge icon",title:r.title})}),e.jsx("div",{className:t.default["badge-label"],style:c,children:a})]})};exports.default=r=>{const l=r.badges;return l&&Array.isArray(l)&&0!==l.length?e.jsx("div",{className:t.default["badge-container"],children:l.map((t,r)=>e.jsx(a,{label:t.label,icon:t.icon,backgroundGradient:t.backgroundGradient,backgroundColor:t.backgroundColor,textGradient:t.textGradient,textColor:t.textColor},`badge-${r}`))}):null};
|
|
3
|
+
//# sourceMappingURL=BadgeContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeContainer.js","sources":["../../../../../src/components/BadgeContainer/BadgeContainer.tsx"],"sourcesContent":[null],"names":["Badge","label","icon","backgroundGradient","backgroundColor","textGradient","textColor","hasIcon","filename","labelStyle","background","backgroundClip","WebkitBackgroundClip","WebkitTextFillColor","color","_jsxs","className","Styles","style","_jsx","children","src","alt","name","title","props","badges","Array","isArray","length","map","badge","index"],"mappings":"oJASA,MAAMA,EAAwB,EAC5BC,QACAC,OACAC,qBACAC,kBACAC,eACAC,gBAIA,MAAMC,EAAUL,GAAwB,iBAATA,GAAqB,aAAcA,GAASA,EAAeM,SAGpFC,EAAaJ,EACf,CACEK,WAAYL,EACZM,eAAgB,OAChBC,qBAAsB,OACtBC,oBAAqB,eAEvB,CAAEC,MAAOR,GAAa,WAE1B,OACES,OAAA,MAAA,CAAKC,UAAWC,EAAAA,QAAc,MAAGC,MAAO,CAAER,WAAYP,GAAsBC,GAAmB,qBAC5FG,GACCY,MAAA,MAAA,CAAKH,UAAWC,UAAO,cAAaG,SAClCD,EAAAA,IAAA,MAAA,CACEE,IAAMnB,EAAeM,SACrBc,IAAMpB,EAAeoB,KAAQpB,EAAeqB,MAAQ,aACpDC,MAAQtB,EAAesB,UAI7BL,EAAAA,WAAKH,UAAWC,EAAAA,QAAO,eAAgBC,MAAOT,EAAUW,SAAGnB,wBASxCwB,IACvB,MAAMC,EAASD,EAAMC,OAGrB,OAAKA,GAAWC,MAAMC,QAAQF,IAA6B,IAAlBA,EAAOG,OAK9CV,EAAAA,IAAA,MAAA,CAAKH,UAAWC,EAAAA,QAAO,mBAAkBG,SACtCM,EAAOI,IAAI,CAACC,EAAmBC,IAC9Bb,EAAAA,IAACnB,EAAK,CAEJC,MAAO8B,EAAM9B,MACbC,KAAM6B,EAAM7B,KACZC,mBAAoB4B,EAAM5B,mBAC1BC,gBAAiB2B,EAAM3B,gBACvBC,aAAc0B,EAAM1B,aACpBC,UAAWyB,EAAMzB,WANZ,SAAS0B,QAPb"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.BadgeContainer-module__badge-container___69m4y {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: -18px;
|
|
5
|
+
left: 16px;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
column-gap: 10px;
|
|
8
|
+
padding: 0 !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.BadgeContainer-module__badge___6Brx4 {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
height: 32px;
|
|
15
|
+
border-radius: 10px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
column-gap: 4px;
|
|
18
|
+
padding: 0 8px;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.BadgeContainer-module__badge-icon___pXuK7 {
|
|
23
|
+
height: 20px;
|
|
24
|
+
width: 20px;
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
.BadgeContainer-module__badge-icon___pXuK7 img, .BadgeContainer-module__badge-icon___pXuK7 svg {
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: auto;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.BadgeContainer-module__badge-label___URlLS {
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
line-height: 20px;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
max-width: 150px;
|
|
41
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
require('./BadgeContainer.module.scss.css');
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={"badge-container":"BadgeContainer-module__badge-container___69m4y",badge:"BadgeContainer-module__badge___6Brx4","badge-icon":"BadgeContainer-module__badge-icon___pXuK7","badge-label":"BadgeContainer-module__badge-label___URlLS"};
|
|
3
|
+
//# sourceMappingURL=BadgeContainer.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeContainer.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require('./ProfileLinkOut.css');
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.js"),a=require("react/jsx-runtime"),t=require("react"),l=require("./ProfileLinkOut.module.scss.js"),s=require("../../../utils/AnalyticUtils.js"),i=require("../../../utils/AnalyticsConstants.js"),n=require("../../Constants.js"),r=require("../../../services/customerSegmentSync.js"),o=require("../shared.js"),c=require("../useOnClickOutside.js");exports.default=({link:d,title:u,logoutLabel:f,salutationLabel:m,userIcon:N,arrowRight:h,arrowDown:v,logoutIcon:g,isBlackFriday:w=!1,logoutUrl:x})=>{var k;const[j,C]=t.useState(()=>(()=>{if("undefined"==typeof document)return;const e=`${n.AUTHCOOKIE}=`,a=document.cookie.split(";");for(let t of a){for(;" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(e))try{const a=JSON.parse(decodeURIComponent(t.substring(e.length,t.length)));return!a.personalisedName&&a.firstName&&a.lastName&&(a.personalisedName=`${a.firstName[0]}${a.lastName[0]}`),a}catch(e){return}}})()),[E,y]=t.useState(!1),[_,I]=t.useState(!1),p=c.default(y,!1,E),A=(null==N?void 0:N.filename)||o.getStaticAssetPath("/HeaderIcons/new_profile_icon.svg"),b=(null==h?void 0:h.filename)||o.getStaticAssetPath("/HeaderIcons/arrow-right.svg"),O=(null==v?void 0:v.filename)||o.getStaticAssetPath("/HeaderIcons/red_down_arrow.svg"),S=(null==g?void 0:g.filename)||o.getStaticAssetPath("/HeaderIcons/logout.svg"),$=(null==d?void 0:d.cached_url)||(null==d?void 0:d.url)||"/",L=()=>e.__awaiter(void 0,void 0,void 0,function*(){var e,a;try{window.sessionStorage.removeItem(n.AUTHSTAMP),localStorage.removeItem("userNameType"),r.setCustomerSegment(n.CUSTOMER_GROUP_NEW_CUSTOMER_VALUE),null===(e=window.sprChat)||void 0===e||e.call(window,"updateUserSettings",{}),null===(a=window.sprChat)||void 0===a||a.call(window,"updateConversationContext",{context:{_c_6a7da0de1b5a558bacdf66c2:["Yes"]}});const t=window.fetch;window.fetch=(...e)=>(console.log("FETCH",e),t(...e)),"function"==typeof window.wonderfulChat&&(yield window.wonderfulChat("logout"))}catch(e){}C(void 0)}),T=()=>{s.trackNewDatalayerEvent(i.GAEVENT,i.SUBNAVCLICK,{link_url:"#",click_text:f}),s.trackNewDatalayerEvent(i.GAEVENT,i.PROFILELOGOUT,{click_text:f});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!x)return L(),void e();fetch(x,{method:"GET"}).then(e=>{e.ok&&L()}).catch(()=>{}).finally(()=>{e()})},P=()=>{j?s.trackNewDatalayerEvent(i.GAEVENT,i.PROFILECLICK,{click_text:j.personalisedName}):s.trackNewDatalayerEvent(i.GAEVENT,i.LOGINCLICK,{click_text:u})},U=a.jsxs(a.Fragment,{children:[a.jsx("div",{className:l.default["profile-icon"],style:{backgroundImage:`url(${A})`}}),a.jsx("div",{className:l.default["profile-name"],children:j?j.personalisedName:u}),j?a.jsx("div",{className:l.default["profile-arrow-down-icon"],style:{backgroundImage:`url(${O})`}}):a.jsx("div",{className:l.default["profile-arrow-icon"],style:{backgroundImage:`url(${b})`}})]}),G=a.jsxs("div",{className:`${l.default["login-flyover"]} ${w?l.default["black-friday"]:""}`,children:[j&&a.jsxs("div",{className:l.default.salutation,children:[m||""," ",j.firstName?`${j.firstName} ${null!==(k=j.lastName)&&void 0!==k?k:""}`:""]}),a.jsxs("div",{className:"d-none d-md-block",children:[a.jsx("div",{className:l.default.mysunrise,onClick:()=>s.trackNewDatalayerEvent(i.GAEVENT,i.MYPROFILECLICK,{click_text:u}),children:a.jsx("a",{href:$,children:u})}),j&&f&&a.jsx("div",{className:l.default.logout,children:a.jsxs("a",{onClick:T,children:[f,a.jsx("img",{className:l.default.logout1,src:S,alt:"logout"})]})})]}),a.jsxs("div",{className:"d-md-none",children:[a.jsx("a",{href:$,onClick:()=>s.trackNewDatalayerEvent(i.GAEVENT,i.MYPROFILECLICK,{click_text:u}),children:a.jsx("div",{className:l.default.mysunrise,children:u})}),j&&f&&a.jsx("a",{onClick:T,children:a.jsxs("div",{className:l.default.logout,children:[f,a.jsx("img",{className:"d-md-none",src:S,alt:"logout"})]})})]})]});return j?a.jsxs(a.Fragment,{children:[a.jsxs("div",{ref:p,className:"d-none d-md-block",children:[a.jsx("a",{onClick:()=>{y(e=>!e),P()},className:`d-flex align-items-center ${l.default.section} ${E?l.default.highlight:""} ${w?l.default["black-friday"]:""}`,children:U}),E&&G]}),a.jsxs("div",{className:"d-md-none",children:[a.jsx("a",{onClick:()=>{I(e=>!e),P()},className:`d-flex align-items-center ${l.default.section} ${_?l.default["section-clicked"]:""} ${w?l.default["black-friday"]:""}`,children:U}),_&&G]})]}):a.jsx("a",{href:$,className:`d-flex ${l.default["non-section"]} ${w?l.default["black-friday"]:""}`,onClick:()=>{s.trackNewDatalayerEvent(i.GAEVENT,i.MAINNAVCLICK,{link_url:null==d?void 0:d.cached_url,click_text:u}),P()},children:U})};
|
|
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","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","wonderfulChat","_c","undefined","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","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","undefined","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":"ieAyEuB,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,GACA,EACAD,GAGIM,GACJlC,aAAQ,EAARA,EAAUmC,WACVC,EAAAA,mBAAmB,qCACfC,GACJpC,aAAU,EAAVA,EAAYkC,WAAYC,EAAAA,mBAAmB,gCACvCE,GACJpC,aAAS,EAATA,EAAWiC,WACXC,EAAAA,mBAAmB,mCACfG,GACJpC,aAAU,EAAVA,EAAYgC,WAAYC,EAAAA,mBAAmB,2BAEvCI,GAAW5C,aAAI,EAAJA,EAAM6C,cAAc7C,aAAI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UAAkB,UAACH,SAAGzF,MAEvCS,GAAYR,GACXyF,MAAA,IAAA,CAAGM,QAAS5B,EAAYqB,SACtBF,EAAAA,KAAA,MAAA,CAAKI,UAAWC,EAAAA,QAAe,OAACH,SAAA,CAC7BxF,EACDyF,aAAKC,UAAU,YAAYQ,IAAKzD,EAAe0D,IAAI,sBAQ/D,OAAK3F,EAoBH8E,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SAAA,CACEF,EAAAA,KAAA,MAAA,CACEc,IAAKlE,EACLwD,UAAU,oBAAmBF,SAAA,CAE7BC,EAAAA,IAAA,IAAA,CACEM,QAAS,KA5LgBhE,EAAiBsE,IAAUA,GA8LlDnB,KAEFQ,UAAW,6BAA6BC,EAAAA,QAAgB,WAAK7D,EAAe6D,EAAAA,QAAkB,UAAI,MAC5FrF,EAAgBqF,EAAAA,QAAO,gBAAkB,KAC3CH,SAEHH,IAEFvD,GAAgBgE,KAEnBR,OAAA,MAAA,CAAKI,UAAU,YAAWF,SAAA,CACxBC,EAAAA,IAAA,IAAA,CACEM,QAAS,KAzMe9D,EAAgBoE,IAAUA,GA2MhDnB,KAEFQ,UAAW,6BAA6BC,EAAAA,QAAgB,WAAK3D,EAAc2D,EAAAA,QAAO,mBAAqB,MACjGrF,EAAgBqF,EAAAA,QAAO,gBAAkB,KAC3CH,SAEHH,IAEFrD,GAAe8D,QAhDlBL,EAAAA,IAAA,IAAA,CACEQ,KAAMvD,EACNgD,UAAW,UAAUC,EAAAA,QAAO,kBAAkBrF,EAAgBqF,UAAO,gBAAkB,KAEvFI,QAAS,KACP3B,EAAAA,uBAAuBC,EAAAA,QAASiC,eAAc,CAC5C/B,SAAUzE,aAAI,EAAJA,EAAM6C,WAChB6B,WAAYzE,IAEdmF,KACDM,SAEAH"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./components/RibbonComponent/RibbonComponent.js"),r=require("./components/RibbonRenderer/RibbonRenderer.js"),o=require("./components/GlobalPromoRibbon/GlobalPromoRibbon.js"),t=require("./components/FalconButtonV3/FalconButtonV3.js"),
|
|
1
|
+
"use strict";var e=require("./components/RibbonComponent/RibbonComponent.js"),r=require("./components/RibbonRenderer/RibbonRenderer.js"),o=require("./components/GlobalPromoRibbon/GlobalPromoRibbon.js"),t=require("./components/FalconButtonV3/FalconButtonV3.js"),n=require("./components/StageTeaserComponent/StageTeaserComponent.js"),s=require("./components/ImageComponent/ImageComponent.js"),a=require("./components/TextComponent/TextComponent.js"),p=require("./components/ButtonGroup/ButtonGroup.js"),i=require("./components/ImageWithText/ImageWithText.js"),u=require("./components/ImageWithTextWrapper/ImageWithTextWrapper.js"),m=require("./components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js"),c=require("./components/linecheck/LineCheckV2.js"),C=require("./components/StageTeaserV3/StageTeaserV3.js"),g=require("./components/StageTeaserV3/PromoBubble/PromoBubble.js"),x=require("./components/FalconMainNavigation/FalconMainNavigation.js"),d=require("./components/SearchWrapper/SearchWrapper.js"),l=require("./components/MinimizedHeader/MinimizedHeader.js"),f=require("./components/BadgeContainer/BadgeContainer.js"),b=require("./services/LinecheckBasicPropConfig.js"),S=require("./services/CustomerPropConfig.js"),h=require("./services/customerSegmentSync.js"),j=require("./services/CustomerService.js"),q=require("./services/CartPropConfig.js");exports.RibbonComponent=e.default,exports.RibbonRenderer=r.default,exports.GlobalPromoRibbon=o.default,exports.FalconButtonV3=t.default,exports.StageTeaserComponent=n.default,exports.ImageComponent=s.default,exports.TextComponent=a.default,exports.ButtonGroup=p.default,exports.ImageWithText=i.default,exports.ImageWithTextWrapper=u.default,exports.InternetAndTvCardsBenefits=m.default,exports.LineCheckV2=c.default,exports.StageTeaserV3=C.default,exports.PromoBubble=g.default,exports.FalconMainNavigation=x.default,exports.SearchWrapper=d.default,exports.MinimizedHeader=l.default,exports.BadgeContainer=f.default,exports.LinecheckBasicPropConfig=b.LinecheckBasicPropConfig,exports.CustomerPropConfig=S.CustomerPropConfig,exports.createCustomerGroupFetcher=h.createCustomerGroupFetcher,exports.createCustomerSegmentSync=h.createCustomerSegmentSync,exports.dispatchCustomerSegmentRefreshEvent=h.dispatchCustomerSegmentRefreshEvent,exports.extractCustomerGroupFromProfile=h.extractCustomerGroupFromProfile,exports.getCurrentCustomerSegment=h.getCurrentCustomerSegment,exports.hasCachedCustomerSegment=h.hasCachedCustomerSegment,exports.resolveCustomerGroup=h.resolveCustomerGroup,exports.setCustomerSegment=h.setCustomerSegment,exports.subscribeToCustomerSegmentRefresh=h.subscribeToCustomerSegmentRefresh,exports.syncCustomerSegment=h.syncCustomerSegment,exports.customerGroup=j.customerGroup,exports.CartPropConfig=q.CartPropConfig;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.BadgeContainer-module__badge-container___69m4y {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: -18px;
|
|
5
|
+
left: 16px;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
column-gap: 10px;
|
|
8
|
+
padding: 0 !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.BadgeContainer-module__badge___6Brx4 {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
height: 32px;
|
|
15
|
+
border-radius: 10px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
column-gap: 4px;
|
|
18
|
+
padding: 0 8px;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.BadgeContainer-module__badge-icon___pXuK7 {
|
|
23
|
+
height: 20px;
|
|
24
|
+
width: 20px;
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
.BadgeContainer-module__badge-icon___pXuK7 img, .BadgeContainer-module__badge-icon___pXuK7 svg {
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: auto;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.BadgeContainer-module__badge-label___URlLS {
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
line-height: 20px;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
max-width: 150px;
|
|
41
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import './BadgeContainer.css';
|
|
2
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import t from"./BadgeContainer.module.scss.js";const r=({label:r,icon:n,backgroundGradient:o,backgroundColor:l,textGradient:i,textColor:d})=>{const c=n&&"object"==typeof n&&"filename"in n&&n.filename,b=i?{background:i,backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}:{color:d||"#FFFFFF"};return a("div",{className:t.badge,style:{background:o||l||"#1F1F1F"},children:[c&&e("div",{className:t["badge-icon"],children:e("img",{src:n.filename,alt:n.alt||n.name||"badge icon",title:n.title})}),e("div",{className:t["badge-label"],style:b,children:r})]})},n=a=>{const n=a.badges;return n&&Array.isArray(n)&&0!==n.length?e("div",{className:t["badge-container"],children:n.map((a,t)=>e(r,{label:a.label,icon:a.icon,backgroundGradient:a.backgroundGradient,backgroundColor:a.backgroundColor,textGradient:a.textGradient,textColor:a.textColor},`badge-${t}`))}):null};export{n as default};
|
|
3
|
+
//# sourceMappingURL=BadgeContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeContainer.js","sources":["../../../../../src/components/BadgeContainer/BadgeContainer.tsx"],"sourcesContent":[null],"names":["Badge","label","icon","backgroundGradient","backgroundColor","textGradient","textColor","hasIcon","filename","labelStyle","background","backgroundClip","WebkitBackgroundClip","WebkitTextFillColor","color","_jsxs","className","Styles","style","_jsx","children","src","alt","name","title","BadgeContainer","props","badges","Array","isArray","length","map","badge","index"],"mappings":"iGASA,MAAMA,EAAwB,EAC5BC,QACAC,OACAC,qBACAC,kBACAC,eACAC,gBAIA,MAAMC,EAAUL,GAAwB,iBAATA,GAAqB,aAAcA,GAASA,EAAeM,SAGpFC,EAAaJ,EACf,CACEK,WAAYL,EACZM,eAAgB,OAChBC,qBAAsB,OACtBC,oBAAqB,eAEvB,CAAEC,MAAOR,GAAa,WAE1B,OACES,EAAA,MAAA,CAAKC,UAAWC,EAAc,MAAGC,MAAO,CAAER,WAAYP,GAAsBC,GAAmB,qBAC5FG,GACCY,EAAA,MAAA,CAAKH,UAAWC,EAAO,cAAaG,SAClCD,EAAA,MAAA,CACEE,IAAMnB,EAAeM,SACrBc,IAAMpB,EAAeoB,KAAQpB,EAAeqB,MAAQ,aACpDC,MAAQtB,EAAesB,UAI7BL,SAAKH,UAAWC,EAAO,eAAgBC,MAAOT,EAAUW,SAAGnB,QAS3DwB,EAAmBC,IACvB,MAAMC,EAASD,EAAMC,OAGrB,OAAKA,GAAWC,MAAMC,QAAQF,IAA6B,IAAlBA,EAAOG,OAK9CX,EAAA,MAAA,CAAKH,UAAWC,EAAO,mBAAkBG,SACtCO,EAAOI,IAAI,CAACC,EAAmBC,IAC9Bd,EAACnB,EAAK,CAEJC,MAAO+B,EAAM/B,MACbC,KAAM8B,EAAM9B,KACZC,mBAAoB6B,EAAM7B,mBAC1BC,gBAAiB4B,EAAM5B,gBACvBC,aAAc2B,EAAM3B,aACpBC,UAAW0B,EAAM1B,WANZ,SAAS2B,QAPb"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.BadgeContainer-module__badge-container___69m4y {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: -18px;
|
|
5
|
+
left: 16px;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
column-gap: 10px;
|
|
8
|
+
padding: 0 !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.BadgeContainer-module__badge___6Brx4 {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
height: 32px;
|
|
15
|
+
border-radius: 10px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
column-gap: 4px;
|
|
18
|
+
padding: 0 8px;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.BadgeContainer-module__badge-icon___pXuK7 {
|
|
23
|
+
height: 20px;
|
|
24
|
+
width: 20px;
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
.BadgeContainer-module__badge-icon___pXuK7 img, .BadgeContainer-module__badge-icon___pXuK7 svg {
|
|
28
|
+
height: 100%;
|
|
29
|
+
width: auto;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.BadgeContainer-module__badge-label___URlLS {
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
line-height: 20px;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
max-width: 150px;
|
|
41
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import './BadgeContainer.module.scss.css';
|
|
2
|
+
var e={"badge-container":"BadgeContainer-module__badge-container___69m4y",badge:"BadgeContainer-module__badge___6Brx4","badge-icon":"BadgeContainer-module__badge-icon___pXuK7","badge-label":"BadgeContainer-module__badge-label___URlLS"};export{e as default};
|
|
3
|
+
//# sourceMappingURL=BadgeContainer.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeContainer.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -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 l,jsx as i}from"react/jsx-runtime";import{useState as n}from"react";import a from"./ProfileLinkOut.module.scss.js";import{trackNewDatalayerEvent as r}from"../../../utils/AnalyticUtils.js";import{MYPROFILECLICK as t,GAEVENT as c,MAINNAVCLICK as s,SUBNAVCLICK as d,PROFILELOGOUT as m,PROFILECLICK as u,LOGINCLICK as f}from"../../../utils/AnalyticsConstants.js";import{AUTHCOOKIE as h,AUTHSTAMP as v,CUSTOMER_GROUP_NEW_CUSTOMER_VALUE as g}from"../../Constants.js";import{setCustomerSegment as w}from"../../../services/customerSegmentSync.js";import{getStaticAssetPath as k}from"../shared.js";import N from"../useOnClickOutside.js";const p=({link:p,title:y,logoutLabel:C,salutationLabel:$,userIcon:_,arrowRight:b,arrowDown:x,logoutIcon:I,isBlackFriday:j=!1,logoutUrl:S})=>{var H;const[O,U]=n(()=>(()=>{if("undefined"==typeof document)return;const e=`${h}=`,o=document.cookie.split(";");for(let l of o){for(;" "===l.charAt(0);)l=l.substring(1);if(0===l.indexOf(e))try{const o=JSON.parse(decodeURIComponent(l.substring(e.length,l.length)));return!o.personalisedName&&o.firstName&&o.lastName&&(o.personalisedName=`${o.firstName[0]}${o.lastName[0]}`),o}catch(e){return}}})()),[A,L]=n(!1),[T,E]=n(!1),F=N(L,!1,A),R=(null==_?void 0:_.filename)||k("/HeaderIcons/new_profile_icon.svg"),B=(null==b?void 0:b.filename)||k("/HeaderIcons/arrow-right.svg"),D=(null==x?void 0:x.filename)||k("/HeaderIcons/red_down_arrow.svg"),G=(null==I?void 0:I.filename)||k("/HeaderIcons/logout.svg"),J=(null==p?void 0:p.cached_url)||(null==p?void 0:p.url)||"/",P=()=>e(void 0,void 0,void 0,function*(){var e,o;try{window.sessionStorage.removeItem(v),localStorage.removeItem("userNameType"),w(g),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 l=window.fetch;window.fetch=(...e)=>(console.log("FETCH",e),l(...e)),"function"==typeof window.wonderfulChat&&(yield window.wonderfulChat("logout"))}catch(e){}U(void 0)}),Y=()=>{r(c,d,{link_url:"#",click_text:C}),r(c,m,{click_text:C});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!S)return P(),void e();fetch(S,{method:"GET"}).then(e=>{e.ok&&P()}).catch(()=>{}).finally(()=>{e()})},q=()=>{O?r(c,u,{click_text:O.personalisedName}):r(c,f,{click_text:y})},z=o(l,{children:[i("div",{className:a["profile-icon"],style:{backgroundImage:`url(${R})`}}),i("div",{className:a["profile-name"],children:O?O.personalisedName:y}),i("div",O?{className:a["profile-arrow-down-icon"],style:{backgroundImage:`url(${D})`}}:{className:a["profile-arrow-icon"],style:{backgroundImage:`url(${B})`}})]}),K=o("div",{className:`${a["login-flyover"]} ${j?a["black-friday"]:""}`,children:[O&&o("div",{className:a.salutation,children:[$||""," ",O.firstName?`${O.firstName} ${null!==(H=O.lastName)&&void 0!==H?H:""}`:""]}),o("div",{className:"d-none d-md-block",children:[i("div",{className:a.mysunrise,onClick:()=>r(c,t,{click_text:y}),children:i("a",{href:J,children:y})}),O&&C&&i("div",{className:a.logout,children:o("a",{onClick:Y,children:[C,i("img",{className:a.logout1,src:G,alt:"logout"})]})})]}),o("div",{className:"d-md-none",children:[i("a",{href:J,onClick:()=>r(c,t,{click_text:y}),children:i("div",{className:a.mysunrise,children:y})}),O&&C&&i("a",{onClick:Y,children:o("div",{className:a.logout,children:[C,i("img",{className:"d-md-none",src:G,alt:"logout"})]})})]})]});return O?o(l,{children:[o("div",{ref:F,className:"d-none d-md-block",children:[i("a",{onClick:()=>{L(e=>!e),q()},className:`d-flex align-items-center ${a.section} ${A?a.highlight:""} ${j?a["black-friday"]:""}`,children:z}),A&&K]}),o("div",{className:"d-md-none",children:[i("a",{onClick:()=>{E(e=>!e),q()},className:`d-flex align-items-center ${a.section} ${T?a["section-clicked"]:""} ${j?a["black-friday"]:""}`,children:z}),T&&K]})]}):i("a",{href:J,className:`d-flex ${a["non-section"]} ${j?a["black-friday"]:""}`,onClick:()=>{r(c,s,{link_url:null==p?void 0:p.cached_url,click_text:y}),q()},children:z})};export{p 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","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","wonderfulChat","_c","undefined","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","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","undefined","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":"stBA0CA,MA+BMA,EAAiB,EACrBC,OACAC,QACAC,cACAC,kBACAC,WACAC,aACAC,YACAC,aACAC,iBAAgB,EAChBC,sBAEA,MAAOC,EAAUC,GAAeC,EAAqC,IA3ChD,MACrB,GAAwB,oBAAbC,SACT,OAGF,MAAMC,EAAO,GAAGC,KACVC,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,GAAS,IAC1CsB,EAAaC,GAAkBvB,GAAS,GAEzCwB,EAAWC,EACfJ,GACA,EACAD,GAGIM,GACJlC,aAAQ,EAARA,EAAUmC,WACVC,EAAmB,qCACfC,GACJpC,aAAU,EAAVA,EAAYkC,WAAYC,EAAmB,gCACvCE,GACJpC,aAAS,EAATA,EAAWiC,WACXC,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EAAAC,EAAA,CAAAC,SAAA,CACEF,EAAA,MAAA,CACEc,IAAKlE,EACLwD,UAAU,oBAAmBF,SAAA,CAE7BC,EAAA,IAAA,CACEM,QAAS,KA5LgBhE,EAAiBsE,IAAUA,GA8LlDnB,KAEFQ,UAAW,6BAA6BC,EAAgB,WAAK7D,EAAe6D,EAAkB,UAAI,MAC5FrF,EAAgBqF,EAAO,gBAAkB,KAC3CH,SAEHH,IAEFvD,GAAgBgE,KAEnBR,EAAA,MAAA,CAAKI,UAAU,YAAWF,SAAA,CACxBC,EAAA,IAAA,CACEM,QAAS,KAzMe9D,EAAgBoE,IAAUA,GA2MhDnB,KAEFQ,UAAW,6BAA6BC,EAAgB,WAAK3D,EAAc2D,EAAO,mBAAqB,MACjGrF,EAAgBqF,EAAO,gBAAkB,KAC3CH,SAEHH,IAEFrD,GAAe8D,QAhDlBL,EAAA,IAAA,CACEQ,KAAMvD,EACNgD,UAAW,UAAUC,EAAO,kBAAkBrF,EAAgBqF,EAAO,gBAAkB,KAEvFI,QAAS,KACP3B,EAAuBC,EAASiC,EAAc,CAC5C/B,SAAUzE,aAAI,EAAJA,EAAM6C,WAChB6B,WAAYzE,IAEdmF,KACDM,SAEAH"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as RibbonComponent}from"./components/RibbonComponent/RibbonComponent.js";export{default as RibbonRenderer}from"./components/RibbonRenderer/RibbonRenderer.js";export{default as GlobalPromoRibbon}from"./components/GlobalPromoRibbon/GlobalPromoRibbon.js";export{default as FalconButtonV3}from"./components/FalconButtonV3/FalconButtonV3.js";export{default as StageTeaserComponent}from"./components/StageTeaserComponent/StageTeaserComponent.js";export{default as ImageComponent}from"./components/ImageComponent/ImageComponent.js";export{default as TextComponent}from"./components/TextComponent/TextComponent.js";export{default as ButtonGroup}from"./components/ButtonGroup/ButtonGroup.js";export{default as ImageWithText}from"./components/ImageWithText/ImageWithText.js";export{default as ImageWithTextWrapper}from"./components/ImageWithTextWrapper/ImageWithTextWrapper.js";export{default as InternetAndTvCardsBenefits}from"./components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js";export{default as LineCheckV2}from"./components/linecheck/LineCheckV2.js";export{default as StageTeaserV3}from"./components/StageTeaserV3/StageTeaserV3.js";export{default as PromoBubble}from"./components/StageTeaserV3/PromoBubble/PromoBubble.js";export{default as FalconMainNavigation}from"./components/FalconMainNavigation/FalconMainNavigation.js";export{default as SearchWrapper}from"./components/SearchWrapper/SearchWrapper.js";export{default as MinimizedHeader}from"./components/MinimizedHeader/MinimizedHeader.js";export{LinecheckBasicPropConfig}from"./services/LinecheckBasicPropConfig.js";export{CustomerPropConfig}from"./services/CustomerPropConfig.js";export{createCustomerGroupFetcher,createCustomerSegmentSync,dispatchCustomerSegmentRefreshEvent,extractCustomerGroupFromProfile,getCurrentCustomerSegment,hasCachedCustomerSegment,resolveCustomerGroup,setCustomerSegment,subscribeToCustomerSegmentRefresh,syncCustomerSegment}from"./services/customerSegmentSync.js";export{customerGroup}from"./services/CustomerService.js";export{CartPropConfig}from"./services/CartPropConfig.js";
|
|
1
|
+
export{default as RibbonComponent}from"./components/RibbonComponent/RibbonComponent.js";export{default as RibbonRenderer}from"./components/RibbonRenderer/RibbonRenderer.js";export{default as GlobalPromoRibbon}from"./components/GlobalPromoRibbon/GlobalPromoRibbon.js";export{default as FalconButtonV3}from"./components/FalconButtonV3/FalconButtonV3.js";export{default as StageTeaserComponent}from"./components/StageTeaserComponent/StageTeaserComponent.js";export{default as ImageComponent}from"./components/ImageComponent/ImageComponent.js";export{default as TextComponent}from"./components/TextComponent/TextComponent.js";export{default as ButtonGroup}from"./components/ButtonGroup/ButtonGroup.js";export{default as ImageWithText}from"./components/ImageWithText/ImageWithText.js";export{default as ImageWithTextWrapper}from"./components/ImageWithTextWrapper/ImageWithTextWrapper.js";export{default as InternetAndTvCardsBenefits}from"./components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js";export{default as LineCheckV2}from"./components/linecheck/LineCheckV2.js";export{default as StageTeaserV3}from"./components/StageTeaserV3/StageTeaserV3.js";export{default as PromoBubble}from"./components/StageTeaserV3/PromoBubble/PromoBubble.js";export{default as FalconMainNavigation}from"./components/FalconMainNavigation/FalconMainNavigation.js";export{default as SearchWrapper}from"./components/SearchWrapper/SearchWrapper.js";export{default as MinimizedHeader}from"./components/MinimizedHeader/MinimizedHeader.js";export{default as BadgeContainer}from"./components/BadgeContainer/BadgeContainer.js";export{LinecheckBasicPropConfig}from"./services/LinecheckBasicPropConfig.js";export{CustomerPropConfig}from"./services/CustomerPropConfig.js";export{createCustomerGroupFetcher,createCustomerSegmentSync,dispatchCustomerSegmentRefreshEvent,extractCustomerGroupFromProfile,getCurrentCustomerSegment,hasCachedCustomerSegment,resolveCustomerGroup,setCustomerSegment,subscribeToCustomerSegmentRefresh,syncCustomerSegment}from"./services/customerSegmentSync.js";export{customerGroup}from"./services/CustomerService.js";export{CartPropConfig}from"./services/CartPropConfig.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -495,6 +495,24 @@ interface MinimizedHeaderProps {
|
|
|
495
495
|
}
|
|
496
496
|
declare const MinimizedHeader: ({ content, metadata }: MinimizedHeaderProps) => JSX.Element;
|
|
497
497
|
|
|
498
|
+
interface BadgeProps {
|
|
499
|
+
label: string;
|
|
500
|
+
icon?: Asset;
|
|
501
|
+
backgroundGradient?: string;
|
|
502
|
+
backgroundColor?: string;
|
|
503
|
+
textGradient?: string;
|
|
504
|
+
textColor?: string;
|
|
505
|
+
}
|
|
506
|
+
interface BadgeContainerProps {
|
|
507
|
+
badges?: BadgeProps[];
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* BadgeContainer Component - Renders multiple badges, max: 2
|
|
512
|
+
* Only renders if badges array exists and has items
|
|
513
|
+
*/
|
|
514
|
+
declare const BadgeContainer: (props: BadgeContainerProps) => react_jsx_runtime.JSX.Element | null;
|
|
515
|
+
|
|
498
516
|
interface LinecheckBasicPropConfigSchema {
|
|
499
517
|
baseURL: string | '';
|
|
500
518
|
}
|
|
@@ -576,5 +594,5 @@ declare class CartPropConfig {
|
|
|
576
594
|
static create: (p_config: CartPropConfigSchema) => void;
|
|
577
595
|
}
|
|
578
596
|
|
|
579
|
-
export { ButtonGroup, CartPropConfig, CustomerPropConfig, FalconButtonV3, FalconMainNavigation, GlobalPromoRibbon, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, MinimizedHeader, PromoBubble, RibbonComponent, RibbonRenderer, SearchWrapper, StageTeaserComponent, StageTeaserV3, TextComponent, createCustomerGroupFetcher, createCustomerSegmentSync, customerGroup, dispatchCustomerSegmentRefreshEvent, extractCustomerGroupFromProfile, getCurrentCustomerSegment, hasCachedCustomerSegment, resolveCustomerGroup, setCustomerSegment, subscribeToCustomerSegmentRefresh, syncCustomerSegment };
|
|
597
|
+
export { BadgeContainer, ButtonGroup, CartPropConfig, CustomerPropConfig, FalconButtonV3, FalconMainNavigation, GlobalPromoRibbon, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, MinimizedHeader, PromoBubble, RibbonComponent, RibbonRenderer, SearchWrapper, StageTeaserComponent, StageTeaserV3, TextComponent, createCustomerGroupFetcher, createCustomerSegmentSync, customerGroup, dispatchCustomerSegmentRefreshEvent, extractCustomerGroupFromProfile, getCurrentCustomerSegment, hasCachedCustomerSegment, resolveCustomerGroup, setCustomerSegment, subscribeToCustomerSegmentRefresh, syncCustomerSegment };
|
|
580
598
|
export type { CartPropConfigSchema, CreateCustomerGroupFetcherOptions, CustomerProfileResponse, CustomerPropConfigSchema, CustomerSegmentRefreshDetail, CustomerSegmentSyncApi, CustomerSegmentSyncOptions, LinecheckBasicPropConfigSchema, ResolveCustomerGroupOptions, RibbonComponentSchema, RibbonRendererProps };
|
package/dist/navigation.css
CHANGED
|
@@ -487,46 +487,83 @@
|
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/
|
|
490
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/FalconHeader.module.scss */
|
|
491
491
|
/* center a block element */
|
|
492
492
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
493
493
|
/* setting styles in separate formats for cross browser support */
|
|
494
494
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
495
495
|
/* vertically center alilgn any HTML element */
|
|
496
496
|
/* add basePath to assets */
|
|
497
|
-
.
|
|
498
|
-
|
|
499
|
-
-moz-align-items: center;
|
|
500
|
-
-o-align-items: center;
|
|
501
|
-
align-items: center;
|
|
502
|
-
cursor: pointer;
|
|
503
|
-
display: flex;
|
|
504
|
-
flex-direction: column;
|
|
505
|
-
height: 18px;
|
|
506
|
-
justify-content: space-between;
|
|
507
|
-
width: 26px;
|
|
497
|
+
.FalconHeader-module__outer___cpG-W {
|
|
498
|
+
padding: 14px 0 18px;
|
|
508
499
|
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
500
|
+
|
|
501
|
+
.FalconHeader-module__container___r3bIZ {
|
|
502
|
+
-webkit-transition: all 1s ease-out;
|
|
503
|
+
transition: all 1s ease-out;
|
|
504
|
+
background-color: #f7f6f5;
|
|
505
|
+
font-size: 14px;
|
|
506
|
+
line-height: 18px;
|
|
507
|
+
font-weight: 700;
|
|
508
|
+
max-height: 60px;
|
|
509
|
+
min-height: 3px;
|
|
513
510
|
opacity: 1;
|
|
514
|
-
|
|
515
|
-
-
|
|
516
|
-
-moz-transform: scale(1);
|
|
517
|
-
-o-transform: scale(1);
|
|
518
|
-
transform: scale(1);
|
|
519
|
-
transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
|
|
520
|
-
width: 26px;
|
|
511
|
+
width: 100%;
|
|
512
|
+
padding-top: 4px;
|
|
521
513
|
}
|
|
522
|
-
.
|
|
523
|
-
|
|
524
|
-
background-
|
|
525
|
-
|
|
526
|
-
|
|
514
|
+
.FalconHeader-module__container___r3bIZ.FalconHeader-module__scroll-break___XIx2- {
|
|
515
|
+
opacity: 1;
|
|
516
|
+
background-color: #da291c;
|
|
517
|
+
-webkit-transition: all 1s ease-out;
|
|
518
|
+
transition: all 1s ease-out;
|
|
519
|
+
}
|
|
520
|
+
@media (max-width: 1023px) {
|
|
521
|
+
.FalconHeader-module__container___r3bIZ {
|
|
522
|
+
background-color: #da291c;
|
|
523
|
+
min-height: 4px;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
.FalconHeader-module__container___r3bIZ :not(:first-child) {
|
|
527
|
+
margin-left: 20px;
|
|
528
|
+
}
|
|
529
|
+
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu-top___OLbuL {
|
|
530
|
+
margin-left: 100px;
|
|
531
|
+
}
|
|
532
|
+
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu1___VHXos {
|
|
533
|
+
float: left;
|
|
534
|
+
color: #3d3935;
|
|
535
|
+
font-weight: 400;
|
|
536
|
+
font-size: 14px;
|
|
537
|
+
line-height: 20px;
|
|
527
538
|
display: block;
|
|
528
|
-
height:
|
|
529
|
-
|
|
539
|
+
height: 30px;
|
|
540
|
+
text-decoration: none;
|
|
541
|
+
}
|
|
542
|
+
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu1___VHXos:hover {
|
|
543
|
+
text-decoration: none;
|
|
544
|
+
}
|
|
545
|
+
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu___BInxX {
|
|
546
|
+
float: right;
|
|
547
|
+
}
|
|
548
|
+
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu___BInxX a {
|
|
549
|
+
color: #1f1f1f;
|
|
550
|
+
font-weight: 400;
|
|
551
|
+
font-size: 14px;
|
|
552
|
+
line-height: 20px;
|
|
553
|
+
display: block;
|
|
554
|
+
margin-bottom: 4px;
|
|
555
|
+
text-decoration: none;
|
|
556
|
+
}
|
|
557
|
+
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu___BInxX a:hover {
|
|
558
|
+
text-decoration: none;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.FalconHeader-module__container___r3bIZ.FalconHeader-module__black-friday___ChUdJ {
|
|
562
|
+
background-color: #111111;
|
|
563
|
+
}
|
|
564
|
+
.FalconHeader-module__container___r3bIZ.FalconHeader-module__black-friday___ChUdJ .FalconHeader-module__menu1___VHXos,
|
|
565
|
+
.FalconHeader-module__container___r3bIZ.FalconHeader-module__black-friday___ChUdJ .FalconHeader-module__menu___BInxX a {
|
|
566
|
+
color: #ffffff;
|
|
530
567
|
}
|
|
531
568
|
|
|
532
569
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/NavigationMenuItem/NavigationMenuItem.module.scss */
|
|
@@ -836,6 +873,48 @@
|
|
|
836
873
|
text-align: center;
|
|
837
874
|
}
|
|
838
875
|
|
|
876
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/InteractiveHamburger/InteractiveHamburger.module.scss */
|
|
877
|
+
/* center a block element */
|
|
878
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
879
|
+
/* setting styles in separate formats for cross browser support */
|
|
880
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
881
|
+
/* vertically center alilgn any HTML element */
|
|
882
|
+
/* add basePath to assets */
|
|
883
|
+
.InteractiveHamburger-module__container___UPh6b .InteractiveHamburger-module__hamburger___fUISu {
|
|
884
|
+
-webkit-align-items: center;
|
|
885
|
+
-moz-align-items: center;
|
|
886
|
+
-o-align-items: center;
|
|
887
|
+
align-items: center;
|
|
888
|
+
cursor: pointer;
|
|
889
|
+
display: flex;
|
|
890
|
+
flex-direction: column;
|
|
891
|
+
height: 18px;
|
|
892
|
+
justify-content: space-between;
|
|
893
|
+
width: 26px;
|
|
894
|
+
}
|
|
895
|
+
.InteractiveHamburger-module__container___UPh6b .InteractiveHamburger-module__hamburger___fUISu .InteractiveHamburger-module__hamburger-line___xZnuw {
|
|
896
|
+
background-color: #575452;
|
|
897
|
+
border-radius: 4px;
|
|
898
|
+
height: 2px;
|
|
899
|
+
opacity: 1;
|
|
900
|
+
position: relative;
|
|
901
|
+
-webkit-transform: scale(1);
|
|
902
|
+
-moz-transform: scale(1);
|
|
903
|
+
-o-transform: scale(1);
|
|
904
|
+
transform: scale(1);
|
|
905
|
+
transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
|
|
906
|
+
width: 26px;
|
|
907
|
+
}
|
|
908
|
+
.InteractiveHamburger-module__container___UPh6b.InteractiveHamburger-module__active___0fZ1l .InteractiveHamburger-module__hamburger___fUISu {
|
|
909
|
+
justify-content: center;
|
|
910
|
+
background-repeat: no-repeat;
|
|
911
|
+
background-size: contain;
|
|
912
|
+
cursor: pointer;
|
|
913
|
+
display: block;
|
|
914
|
+
height: 24px;
|
|
915
|
+
width: 24px;
|
|
916
|
+
}
|
|
917
|
+
|
|
839
918
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartDotLoader/CartDotLoader.module.scss */
|
|
840
919
|
/* center a block element */
|
|
841
920
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -898,6 +977,54 @@
|
|
|
898
977
|
text-align: center;
|
|
899
978
|
}
|
|
900
979
|
|
|
980
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
|
|
981
|
+
/* center a block element */
|
|
982
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
983
|
+
/* setting styles in separate formats for cross browser support */
|
|
984
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
985
|
+
/* vertically center alilgn any HTML element */
|
|
986
|
+
/* add basePath to assets */
|
|
987
|
+
.CartHeader-module__headerTitle___35F6g {
|
|
988
|
+
display: flex;
|
|
989
|
+
align-items: center;
|
|
990
|
+
gap: 8px;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.CartHeader-module__headerItemCount___g1Ynd {
|
|
994
|
+
font-size: 24px;
|
|
995
|
+
line-height: 32px;
|
|
996
|
+
font-weight: 400;
|
|
997
|
+
color: #3d3935;
|
|
998
|
+
}
|
|
999
|
+
@media (max-width: 1023px) {
|
|
1000
|
+
.CartHeader-module__headerItemCount___g1Ynd {
|
|
1001
|
+
font-size: 20px;
|
|
1002
|
+
line-height: 28px;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.CartHeader-module__clearAllButton___B3bNF {
|
|
1007
|
+
display: inline;
|
|
1008
|
+
background: none;
|
|
1009
|
+
border: none;
|
|
1010
|
+
padding: 0;
|
|
1011
|
+
cursor: pointer;
|
|
1012
|
+
font-size: 14px;
|
|
1013
|
+
line-height: 20px;
|
|
1014
|
+
font-weight: 400;
|
|
1015
|
+
color: #da291c;
|
|
1016
|
+
text-decoration: underline;
|
|
1017
|
+
text-underline-offset: 2px;
|
|
1018
|
+
}
|
|
1019
|
+
.CartHeader-module__clearAllButton___B3bNF:hover {
|
|
1020
|
+
color: #961c13;
|
|
1021
|
+
}
|
|
1022
|
+
.CartHeader-module__clearAllButton___B3bNF:focus-visible {
|
|
1023
|
+
outline: 2px solid #da291c;
|
|
1024
|
+
outline-offset: 2px;
|
|
1025
|
+
border-radius: 2px;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
901
1028
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.module.scss */
|
|
902
1029
|
/* center a block element */
|
|
903
1030
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -1027,85 +1154,6 @@
|
|
|
1027
1154
|
text-decoration: none;
|
|
1028
1155
|
}
|
|
1029
1156
|
|
|
1030
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/FalconHeader.module.scss */
|
|
1031
|
-
/* center a block element */
|
|
1032
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1033
|
-
/* setting styles in separate formats for cross browser support */
|
|
1034
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1035
|
-
/* vertically center alilgn any HTML element */
|
|
1036
|
-
/* add basePath to assets */
|
|
1037
|
-
.FalconHeader-module__outer___cpG-W {
|
|
1038
|
-
padding: 14px 0 18px;
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
.FalconHeader-module__container___r3bIZ {
|
|
1042
|
-
-webkit-transition: all 1s ease-out;
|
|
1043
|
-
transition: all 1s ease-out;
|
|
1044
|
-
background-color: #f7f6f5;
|
|
1045
|
-
font-size: 14px;
|
|
1046
|
-
line-height: 18px;
|
|
1047
|
-
font-weight: 700;
|
|
1048
|
-
max-height: 60px;
|
|
1049
|
-
min-height: 3px;
|
|
1050
|
-
opacity: 1;
|
|
1051
|
-
width: 100%;
|
|
1052
|
-
padding-top: 4px;
|
|
1053
|
-
}
|
|
1054
|
-
.FalconHeader-module__container___r3bIZ.FalconHeader-module__scroll-break___XIx2- {
|
|
1055
|
-
opacity: 1;
|
|
1056
|
-
background-color: #da291c;
|
|
1057
|
-
-webkit-transition: all 1s ease-out;
|
|
1058
|
-
transition: all 1s ease-out;
|
|
1059
|
-
}
|
|
1060
|
-
@media (max-width: 1023px) {
|
|
1061
|
-
.FalconHeader-module__container___r3bIZ {
|
|
1062
|
-
background-color: #da291c;
|
|
1063
|
-
min-height: 4px;
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
.FalconHeader-module__container___r3bIZ :not(:first-child) {
|
|
1067
|
-
margin-left: 20px;
|
|
1068
|
-
}
|
|
1069
|
-
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu-top___OLbuL {
|
|
1070
|
-
margin-left: 100px;
|
|
1071
|
-
}
|
|
1072
|
-
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu1___VHXos {
|
|
1073
|
-
float: left;
|
|
1074
|
-
color: #3d3935;
|
|
1075
|
-
font-weight: 400;
|
|
1076
|
-
font-size: 14px;
|
|
1077
|
-
line-height: 20px;
|
|
1078
|
-
display: block;
|
|
1079
|
-
height: 30px;
|
|
1080
|
-
text-decoration: none;
|
|
1081
|
-
}
|
|
1082
|
-
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu1___VHXos:hover {
|
|
1083
|
-
text-decoration: none;
|
|
1084
|
-
}
|
|
1085
|
-
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu___BInxX {
|
|
1086
|
-
float: right;
|
|
1087
|
-
}
|
|
1088
|
-
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu___BInxX a {
|
|
1089
|
-
color: #1f1f1f;
|
|
1090
|
-
font-weight: 400;
|
|
1091
|
-
font-size: 14px;
|
|
1092
|
-
line-height: 20px;
|
|
1093
|
-
display: block;
|
|
1094
|
-
margin-bottom: 4px;
|
|
1095
|
-
text-decoration: none;
|
|
1096
|
-
}
|
|
1097
|
-
.FalconHeader-module__container___r3bIZ .FalconHeader-module__menu___BInxX a:hover {
|
|
1098
|
-
text-decoration: none;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
.FalconHeader-module__container___r3bIZ.FalconHeader-module__black-friday___ChUdJ {
|
|
1102
|
-
background-color: #111111;
|
|
1103
|
-
}
|
|
1104
|
-
.FalconHeader-module__container___r3bIZ.FalconHeader-module__black-friday___ChUdJ .FalconHeader-module__menu1___VHXos,
|
|
1105
|
-
.FalconHeader-module__container___r3bIZ.FalconHeader-module__black-friday___ChUdJ .FalconHeader-module__menu___BInxX a {
|
|
1106
|
-
color: #ffffff;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
1157
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.module.scss */
|
|
1110
1158
|
/* center a block element */
|
|
1111
1159
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -1850,54 +1898,6 @@
|
|
|
1850
1898
|
}
|
|
1851
1899
|
}
|
|
1852
1900
|
|
|
1853
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
|
|
1854
|
-
/* center a block element */
|
|
1855
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1856
|
-
/* setting styles in separate formats for cross browser support */
|
|
1857
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1858
|
-
/* vertically center alilgn any HTML element */
|
|
1859
|
-
/* add basePath to assets */
|
|
1860
|
-
.CartHeader-module__headerTitle___35F6g {
|
|
1861
|
-
display: flex;
|
|
1862
|
-
align-items: center;
|
|
1863
|
-
gap: 8px;
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
.CartHeader-module__headerItemCount___g1Ynd {
|
|
1867
|
-
font-size: 24px;
|
|
1868
|
-
line-height: 32px;
|
|
1869
|
-
font-weight: 400;
|
|
1870
|
-
color: #3d3935;
|
|
1871
|
-
}
|
|
1872
|
-
@media (max-width: 1023px) {
|
|
1873
|
-
.CartHeader-module__headerItemCount___g1Ynd {
|
|
1874
|
-
font-size: 20px;
|
|
1875
|
-
line-height: 28px;
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
.CartHeader-module__clearAllButton___B3bNF {
|
|
1880
|
-
display: inline;
|
|
1881
|
-
background: none;
|
|
1882
|
-
border: none;
|
|
1883
|
-
padding: 0;
|
|
1884
|
-
cursor: pointer;
|
|
1885
|
-
font-size: 14px;
|
|
1886
|
-
line-height: 20px;
|
|
1887
|
-
font-weight: 400;
|
|
1888
|
-
color: #da291c;
|
|
1889
|
-
text-decoration: underline;
|
|
1890
|
-
text-underline-offset: 2px;
|
|
1891
|
-
}
|
|
1892
|
-
.CartHeader-module__clearAllButton___B3bNF:hover {
|
|
1893
|
-
color: #961c13;
|
|
1894
|
-
}
|
|
1895
|
-
.CartHeader-module__clearAllButton___B3bNF:focus-visible {
|
|
1896
|
-
outline: 2px solid #da291c;
|
|
1897
|
-
outline-offset: 2px;
|
|
1898
|
-
border-radius: 2px;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
1901
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.module.scss */
|
|
1902
1902
|
/* center a block element */
|
|
1903
1903
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|