@sunrise-upc/sales-static-components 5.0.0-beta.3 → 5.0.1

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.
@@ -53,6 +53,8 @@
53
53
  }
54
54
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
55
55
  margin-bottom: 20px;
56
+ padding-left: 10px;
57
+ padding-right: 10px;
56
58
  }
57
59
  @media (max-width: 767px) {
58
60
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
@@ -1,3 +1,3 @@
1
1
  require('./InternetAndTvCards.css');
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),n=require("react"),l=require("swiper/react"),i=require("swiper/modules");require("swiper/css"),require("swiper/css/pagination");var t=require("./InternetAndTvCards.module.scss.js"),r=require("./InternetAndTvCardItem/InternetAndTvCardItem.js"),s=require("./InternetAndTvCardsArrows.js"),d=require("../ResponsiveRow/row.js"),a=require("../Spacer/spacer.js"),o=require("../FalconButton/falconButton.js"),c=require("../FalconDescription/FalconDescription.js"),u=require("../../utils/StyleUtils.js"),v=require("../Constants.js");const p=e=>"undefined"==typeof window?1:window.innerWidth>=1440?e:window.innerWidth>=1024?3:window.innerWidth>=768?2:1;exports.default=({content:h,metadata:j,renderPopupBlok:m})=>{var w,g,x,f,C,N,b,S,k,B;const q="2"===h.cardsInRow?2:"3"===h.cardsInRow?3:4,[P,O]=n.useState([]),[I,L]=n.useState(()=>p(q)),$=n.useRef(null),[E,R]=n.useState(!0),[T,y]=n.useState(!1);n.useEffect(()=>{const e=((null==h?void 0:h.Cards)||[]).filter(e=>!e.notToDisplay);O(e)},[null==h?void 0:h.Cards]);const A=P.length>I,F=A&&(!0===h.loopSlides||"true"===h.loopSlides);n.useEffect(()=>{const e=()=>L(p(q));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[q]);const G=e=>{R(e.isBeginning),y(e.isEnd)},V=()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.slidePrev()},_=()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.slideNext()},z="2"===h.cardsInRow&&2===h.Cards.length?v.COLLG4:"2"===h.cardsInRow&&h.Cards.length>2?v.COLLG6:"3"===h.cardsInRow?v.COLLG4:v.COLLG3,D=null===(g=null===(w=h.gradientBackgroundGlobal)||void 0===w?void 0:w.replace(/;\s*$/,""))||void 0===g?void 0:g.trim(),H=!!D&&D.toLowerCase()!==v.NONE,M=H?"":u.getFalconGradientClass(h.gradientBackground),W=!H&&h.gradientBackground!==v.NONE&&!!M,K=W?M:"",U=u.getFalconColorsClass(h.headlineColor),J=h.headlineColor&&h.headlineColor!==v.NONE?U:"",Q=h.headlineColor&&h.headlineColor===v.NONE?{color:null===(x=h.headlineColorPicker)||void 0===x?void 0:x.color}:{},X=n=>e.jsxs("div",{className:t.default["slider-wrapper"],children:[e.jsx(l.Swiper,{modules:[i.Pagination],className:`${t.default.swiper} ${A?t.default["has-controls"]:""}`.trim(),slidesPerView:"auto",slidesPerGroup:1,spaceBetween:0,centerInsufficientSlides:!0,loop:F,rewind:!1,allowTouchMove:A,grabCursor:!0,lazyPreload:!1,pagination:!!A&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:q,spaceBetween:16}},onSwiper:e=>{$.current=e,G(e)},onSlideChange:G,onReachBeginning:G,onReachEnd:G,onFromEdge:G,children:n.map((n,i)=>e.jsx(l.SwiperSlide,{className:t.default.slide,children:e.jsx(r.default,{content:n,metadata:j,index:i,renderPopupBlok:m})},n._uid))}),A&&(F||!E)&&e.jsx(s.LeftArrow,{onClick:V}),A&&(F||!T)&&e.jsx(s.RightArrow,{onClick:_})]});return e.jsxs("div",{className:`${t.default.container} ${K}`,id:h.id||"",style:Object.assign({},H?{background:D}:W?{}:{backgroundColor:null===(f=h.backgroundColor)||void 0===f?void 0:f.color}),children:[(null===(C=null==h?void 0:h.topSpace)||void 0===C?void 0:C.length)>0&&e.jsx(a.default,{content:h.topSpace[0]}),e.jsx(d.default,{children:e.jsxs(e.Fragment,{children:[(h.overlineText||(null===(N=h.description)||void 0===N?void 0:N.length)>0||(null===(b=null==h?void 0:h.button)||void 0===b?void 0:b.length)>0||h.title)&&e.jsxs("div",{className:t.default["text-container"],children:[h.overlineText&&e.jsx("div",{className:t.default.overline,children:h.overlineText}),h.title&&h.headlineVariants===v.H1?e.jsxs("h1",{className:J,style:Object.assign({},Q),children:[h.title," "]}):h.headlineVariants===v.H2?e.jsx("h2",{className:J,style:Object.assign({},Q),children:h.title}):h.headlineVariants===v.H3?e.jsx("h3",{className:J,style:Object.assign({},Q),children:h.title}):e.jsx("h4",{className:J,style:Object.assign({},Q),children:h.title}),(null===(S=h.description)||void 0===S?void 0:S.length)>0&&e.jsx(c.default,{content:h.description[0]}),(null==h?void 0:h.button)&&(null===(k=null==h?void 0:h.button)||void 0===k?void 0:k.length)>0&&e.jsx("div",{className:t.default.btn,children:e.jsx(o.default,{content:h.button[0],eventAction:h.title,metadata:j,renderPopupBlok:m})})]}),h.isMobSlider&&h.variant===v.STACK?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`row ${t.default.cards} d-none d-sm-block`,children:P.map((n,l)=>e.jsx("div",{className:`${z} col-md-4 col-sm-6 ${t.default.card}`,children:e.jsx(r.default,{content:n,metadata:j,index:l,renderPopupBlok:m})},n._uid))}),e.jsx("div",{className:`d-block d-sm-none ${t.default.carousel}`,children:P.length>0&&X(P)})]}):h.variant===v.STACK?e.jsx("div",{className:`row ${t.default.cards}`,children:P.map((n,l)=>e.jsx("div",{className:`${z} col-md-4 col-sm-6 ${t.default.card}`,children:e.jsx(r.default,{content:n,metadata:j,index:l,renderPopupBlok:m})},n._uid))}):e.jsx("div",{className:t.default.carousel,children:P.length>0&&X(P)})]})}),(null===(B=null==h?void 0:h.bottomSpace)||void 0===B?void 0:B.length)>0&&e.jsx(a.default,{content:h.bottomSpace[0]})]})};
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),n=require("react"),r=require("swiper/react"),t=require("swiper/modules");require("swiper/css"),require("swiper/css/pagination");var i=require("./InternetAndTvCards.module.scss.js"),l=require("./InternetAndTvCardItem/InternetAndTvCardItem.js"),s=require("./InternetAndTvCardsArrows.js"),d=require("../ResponsiveRow/row.js"),a=require("../Spacer/spacer.js"),o=require("../FalconButton/falconButton.js"),c=require("../FalconDescription/FalconDescription.js"),u=require("../../utils/StyleUtils.js"),v=require("../Constants.js");const p=e=>"undefined"==typeof window?1:window.innerWidth>=1440?e:window.innerWidth>=1024?3:window.innerWidth>=768?2:1;exports.default=({content:h,metadata:j,renderPopupBlok:m})=>{var w,g,x,f,C,N,b,S,k,B;const P="2"===h.cardsInRow?2:"3"===h.cardsInRow?3:4,[q,O]=n.useState([]),[$,I]=n.useState(()=>p(P)),L=n.useRef(null),[E,R]=n.useState(!0),[T,y]=n.useState(!1);n.useEffect(()=>{const e=((null==h?void 0:h.Cards)||[]).filter(e=>!e.notToDisplay);O(e)},[null==h?void 0:h.Cards]);const A=q.length>$,F=A&&(!0===h.loopSlides||"true"===h.loopSlides);n.useEffect(()=>{const e=()=>I(p(P));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[P]);const G=e=>{R(e.isBeginning),y(e.isEnd)},V=()=>{var e;return null===(e=L.current)||void 0===e?void 0:e.slidePrev()},_=()=>{var e;return null===(e=L.current)||void 0===e?void 0:e.slideNext()},z="2"===h.cardsInRow&&2===h.Cards.length?v.COLLG4:"2"===h.cardsInRow&&h.Cards.length>2?v.COLLG6:"3"===h.cardsInRow?v.COLLG4:v.COLLG3,D=null===(g=null===(w=h.gradientBackgroundGlobal)||void 0===w?void 0:w.replace(/;\s*$/,""))||void 0===g?void 0:g.trim(),H=!!D&&D.toLowerCase()!==v.NONE,M=H?"":u.getFalconGradientClass(h.gradientBackground),W=!H&&h.gradientBackground!==v.NONE&&!!M,K=W?M:"",U=u.getFalconColorsClass(h.headlineColor),J=h.headlineColor&&h.headlineColor!==v.NONE?U:"",Q=h.headlineColor&&h.headlineColor===v.NONE?{color:null===(x=h.headlineColorPicker)||void 0===x?void 0:x.color}:{},X=n=>e.jsxs("div",{className:i.default["slider-wrapper"],children:[e.jsx(r.Swiper,{modules:[t.Pagination],className:`${i.default.swiper} ${A?i.default["has-controls"]:""}`.trim(),slidesPerView:"auto",slidesPerGroup:1,spaceBetween:0,centerInsufficientSlides:!0,loop:F,rewind:!1,allowTouchMove:A,grabCursor:!0,lazyPreload:!1,observer:!0,observeParents:!0,pagination:!!A&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:P,spaceBetween:16}},onSwiper:e=>{L.current=e,G(e)},onSlideChange:G,onReachBeginning:G,onReachEnd:G,onFromEdge:G,children:n.map((n,t)=>e.jsx(r.SwiperSlide,{className:i.default.slide,children:e.jsx(l.default,{content:n,metadata:j,index:t,renderPopupBlok:m})},n._uid))},`internet-tv-cards-${$}`),A&&(F||!E)&&e.jsx(s.LeftArrow,{onClick:V}),A&&(F||!T)&&e.jsx(s.RightArrow,{onClick:_})]});return e.jsxs("div",{className:`${i.default.container} ${K}`,id:h.id||"",style:Object.assign({},H?{background:D}:W?{}:{backgroundColor:null===(f=h.backgroundColor)||void 0===f?void 0:f.color}),children:[(null===(C=null==h?void 0:h.topSpace)||void 0===C?void 0:C.length)>0&&e.jsx(a.default,{content:h.topSpace[0]}),e.jsx(d.default,{children:e.jsxs(e.Fragment,{children:[(h.overlineText||(null===(N=h.description)||void 0===N?void 0:N.length)>0||(null===(b=null==h?void 0:h.button)||void 0===b?void 0:b.length)>0||h.title)&&e.jsxs("div",{className:i.default["text-container"],children:[h.overlineText&&e.jsx("div",{className:i.default.overline,children:h.overlineText}),h.title&&h.headlineVariants===v.H1?e.jsxs("h1",{className:J,style:Object.assign({},Q),children:[h.title," "]}):h.headlineVariants===v.H2?e.jsx("h2",{className:J,style:Object.assign({},Q),children:h.title}):h.headlineVariants===v.H3?e.jsx("h3",{className:J,style:Object.assign({},Q),children:h.title}):e.jsx("h4",{className:J,style:Object.assign({},Q),children:h.title}),(null===(S=h.description)||void 0===S?void 0:S.length)>0&&e.jsx(c.default,{content:h.description[0]}),(null==h?void 0:h.button)&&(null===(k=null==h?void 0:h.button)||void 0===k?void 0:k.length)>0&&e.jsx("div",{className:i.default.btn,children:e.jsx(o.default,{content:h.button[0],eventAction:h.title,metadata:j,renderPopupBlok:m})})]}),h.isMobSlider&&h.variant===v.STACK?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`row ${i.default.cards} d-none d-sm-block`,children:q.map((n,r)=>e.jsx("div",{className:`${z} col-md-4 col-sm-6 ${i.default.card}`,children:e.jsx(l.default,{content:n,metadata:j,index:r,renderPopupBlok:m})},n._uid))}),e.jsx("div",{className:`d-block d-sm-none ${i.default.carousel}`,children:q.length>0&&X(q)})]}):h.variant===v.STACK?e.jsx("div",{className:`row ${i.default.cards}`,children:q.map((n,r)=>e.jsx("div",{className:`${z} col-md-4 col-sm-6 ${i.default.card}`,children:e.jsx(l.default,{content:n,metadata:j,index:r,renderPopupBlok:m})},n._uid))}):e.jsx("div",{className:i.default.carousel,children:q.length>0&&X(q)})]})}),(null===(B=null==h?void 0:h.bottomSpace)||void 0===B?void 0:B.length)>0&&e.jsx(a.default,{content:h.bottomSpace[0]})]})};
3
3
  //# sourceMappingURL=InternetAndTvCards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InternetAndTvCards.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCards.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","largeDesktopSlides","window","innerWidth","content","metadata","renderPopupBlok","numberOfCardsInrow","cardsInRow","cardItems","setCardItems","useState","slidesPerView","setSlidesPerView","swiperRef","useRef","isBeginning","setIsBeginning","isEnd","setIsEnd","useEffect","visibleCards","Cards","filter","card","notToDisplay","hasOverflow","length","shouldLoop","loopSlides","handleResize","addEventListener","removeEventListener","updateNavigationState","swiper","slidePrevious","_a","current","slidePrev","slideNext","cols","COLLG4","COLLG6","COLLG3","normalizedGlobalGradient","_b","gradientBackgroundGlobal","replace","trim","hasGlobalGradient","toLowerCase","NONE","gradientStyle","getFalconGradientClass","gradientBackground","hasGradientStyle","backgroundClass","headlineStyle","getFalconColorsClass","headlineColor","titleClassname","titleColor","color","_c","headlineColorPicker","renderCarousel","items","_jsxs","className","Styles","children","_jsx","Swiper","modules","Pagination","slidesPerGroup","spaceBetween","centerInsufficientSlides","loop","rewind","allowTouchMove","grabCursor","lazyPreload","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","index","SwiperSlide","InternetAndTvCardItem","_uid","LeftArrow","onClick","RightArrow","id","style","Object","assign","background","backgroundColor","_d","topSpace","Spacer","Row","overlineText","description","_f","_g","button","title","headlineVariants","H1","H2","H3","_h","FalconDescription","_j","FalconButton","eventAction","isMobSlider","variant","STACK","_k","bottomSpace"],"mappings":"mnBAuDA,MAAMA,EAAoBC,GACF,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAaF,EAClCC,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,IAAY,EAC9B,kBAGkB,EAAGC,UAASC,WAAUC,8CAC/C,MAAMC,EAA4C,MAAvBH,EAAQI,WAAqB,EAA2B,MAAvBJ,EAAQI,WAAqB,EAAI,GACtFC,EAAWC,GAAgBC,EAAAA,SAAwC,KACnEC,EAAeC,GAAoBF,EAAAA,SAAS,IAAMX,EAAiBO,IACpEO,EAAYC,EAAAA,OAAY,OACvBC,EAAaC,GAAkBN,EAAAA,UAAS,IACxCO,EAAOC,GAAYR,EAAAA,UAAS,GAEnCS,EAAAA,UAAU,KACR,MAAMC,IAAgBjB,aAAO,EAAPA,EAASkB,QAAS,IAAIC,OAAQC,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C,SAAG7D,EAAUkB,OAAS,GAAKsC,EAAexD,mBAIjFsH,EAAA3H,aAAO,EAAPA,EAAS4H,kCAAarG,QAAS,GAAK4C,EAAAA,IAACoC,EAAAA,SAAOvG,QAASA,EAAQ4H,YAAY"}
1
+ {"version":3,"file":"InternetAndTvCards.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCards.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","largeDesktopSlides","window","innerWidth","content","metadata","renderPopupBlok","numberOfCardsInrow","cardsInRow","cardItems","setCardItems","useState","slidesPerView","setSlidesPerView","swiperRef","useRef","isBeginning","setIsBeginning","isEnd","setIsEnd","useEffect","visibleCards","Cards","filter","card","notToDisplay","hasOverflow","length","shouldLoop","loopSlides","handleResize","addEventListener","removeEventListener","updateNavigationState","swiper","slidePrevious","_a","current","slidePrev","slideNext","cols","COLLG4","COLLG6","COLLG3","normalizedGlobalGradient","_b","gradientBackgroundGlobal","replace","trim","hasGlobalGradient","toLowerCase","NONE","gradientStyle","getFalconGradientClass","gradientBackground","hasGradientStyle","backgroundClass","headlineStyle","getFalconColorsClass","headlineColor","titleClassname","titleColor","color","_c","headlineColorPicker","renderCarousel","items","_jsxs","className","Styles","children","_jsx","Swiper","modules","Pagination","slidesPerGroup","spaceBetween","centerInsufficientSlides","loop","rewind","allowTouchMove","grabCursor","lazyPreload","observer","observeParents","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","index","SwiperSlide","InternetAndTvCardItem","_uid","LeftArrow","onClick","RightArrow","id","style","Object","assign","background","backgroundColor","_d","topSpace","Spacer","Row","overlineText","description","_f","_g","button","title","headlineVariants","H1","H2","H3","_h","FalconDescription","_j","FalconButton","eventAction","isMobSlider","variant","STACK","_k","bottomSpace"],"mappings":"mnBAuDA,MAAMA,EAAoBC,GACF,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAaF,EAClCC,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,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AA,WAAKH,UAAW,qBAAqBC,EAAAA,QAAiB,WAAGC,SACtD7D,EAAUkB,OAAS,GAAKsC,EAAexD,QAG1CL,EAAQ2H,UAAYC,EAAAA,MACtBzD,EAAAA,WAAKH,UAAW,OAAOC,EAAAA,QAAc,QAAGC,SACrC7D,EAAUoF,IAAI,CAACrE,EAAmCsE,IACjDvB,EAAAA,IAAA,MAAA,CAAqBH,UAAW,GAAG5B,uBAA0B6B,EAAAA,QAAa,OAAGC,SAC3EC,MAACyB,EAAAA,QAAqB,CACpB5F,QAASoB,EACTnB,SAAUA,EACVyF,MAAOA,EACPxF,gBAAiBA,KALXkB,EAAKyE,SAWnB1B,EAAAA,IAAA,MAAA,CAAKH,UAAWC,EAAAA,QAAiB,SAACC,SAAG7D,EAAUkB,OAAS,GAAKsC,EAAexD,mBAIjFwH,EAAA7H,aAAO,EAAPA,EAAS8H,kCAAavG,QAAS,GAAK4C,EAAAA,IAACsC,EAAAA,SAAOzG,QAASA,EAAQ8H,YAAY"}
@@ -53,6 +53,8 @@
53
53
  }
54
54
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
55
55
  margin-bottom: 20px;
56
+ padding-left: 10px;
57
+ padding-right: 10px;
56
58
  }
57
59
  @media (max-width: 767px) {
58
60
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
@@ -53,6 +53,8 @@
53
53
  }
54
54
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
55
55
  margin-bottom: 20px;
56
+ padding-left: 10px;
57
+ padding-right: 10px;
56
58
  }
57
59
  @media (max-width: 767px) {
58
60
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
@@ -53,6 +53,8 @@
53
53
  }
54
54
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
55
55
  margin-bottom: 20px;
56
+ padding-left: 10px;
57
+ padding-right: 10px;
56
58
  }
57
59
  @media (max-width: 767px) {
58
60
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
@@ -1,3 +1,3 @@
1
1
  import './InternetAndTvCards.css';
2
- import{jsxs as e,jsx as n,Fragment as o}from"react/jsx-runtime";import{useState as i,useRef as r,useEffect as l}from"react";import{Swiper as t,SwiperSlide as d}from"swiper/react";import{Pagination as s}from"swiper/modules";import"swiper/css";import"swiper/css/pagination";import a from"./InternetAndTvCards.module.scss.js";import c from"./InternetAndTvCardItem/InternetAndTvCardItem.js";import{LeftArrow as m,RightArrow as p}from"./InternetAndTvCardsArrows.js";import u from"../ResponsiveRow/row.js";import v from"../Spacer/spacer.js";import h from"../FalconButton/falconButton.js";import w from"../FalconDescription/FalconDescription.js";import{getFalconGradientClass as g,getFalconColorsClass as b}from"../../utils/StyleUtils.js";import{COLLG4 as C,COLLG6 as f,COLLG3 as k,NONE as N,H1 as B,H2 as j,H3 as P,STACK as I}from"../Constants.js";const S=e=>"undefined"==typeof window?1:window.innerWidth>=1440?e:window.innerWidth>=1024?3:window.innerWidth>=768?2:1,$=({content:$,metadata:x,renderPopupBlok:y})=>{var R,T,V,A,E,O,F,z,D,L;const W="2"===$.cardsInRow?2:"3"===$.cardsInRow?3:4,[_,G]=i([]),[M,U]=i(()=>S(W)),q=r(null),[H,J]=i(!0),[K,Q]=i(!1);l(()=>{const e=((null==$?void 0:$.Cards)||[]).filter(e=>!e.notToDisplay);G(e)},[null==$?void 0:$.Cards]);const X=_.length>M,Y=X&&(!0===$.loopSlides||"true"===$.loopSlides);l(()=>{const e=()=>U(S(W));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[W]);const Z=e=>{J(e.isBeginning),Q(e.isEnd)},ee=()=>{var e;return null===(e=q.current)||void 0===e?void 0:e.slidePrev()},ne=()=>{var e;return null===(e=q.current)||void 0===e?void 0:e.slideNext()},oe="2"===$.cardsInRow&&2===$.Cards.length?C:"2"===$.cardsInRow&&$.Cards.length>2?f:"3"===$.cardsInRow?C:k,ie=null===(T=null===(R=$.gradientBackgroundGlobal)||void 0===R?void 0:R.replace(/;\s*$/,""))||void 0===T?void 0:T.trim(),re=!!ie&&ie.toLowerCase()!==N,le=re?"":g($.gradientBackground),te=!re&&$.gradientBackground!==N&&!!le,de=te?le:"",se=b($.headlineColor),ae=$.headlineColor&&$.headlineColor!==N?se:"",ce=$.headlineColor&&$.headlineColor===N?{color:null===(V=$.headlineColorPicker)||void 0===V?void 0:V.color}:{},me=o=>e("div",{className:a["slider-wrapper"],children:[n(t,{modules:[s],className:`${a.swiper} ${X?a["has-controls"]:""}`.trim(),slidesPerView:"auto",slidesPerGroup:1,spaceBetween:0,centerInsufficientSlides:!0,loop:Y,rewind:!1,allowTouchMove:X,grabCursor:!0,lazyPreload:!1,pagination:!!X&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:W,spaceBetween:16}},onSwiper:e=>{q.current=e,Z(e)},onSlideChange:Z,onReachBeginning:Z,onReachEnd:Z,onFromEdge:Z,children:o.map((e,o)=>n(d,{className:a.slide,children:n(c,{content:e,metadata:x,index:o,renderPopupBlok:y})},e._uid))}),X&&(Y||!H)&&n(m,{onClick:ee}),X&&(Y||!K)&&n(p,{onClick:ne})]});return e("div",{className:`${a.container} ${de}`,id:$.id||"",style:Object.assign({},re?{background:ie}:te?{}:{backgroundColor:null===(A=$.backgroundColor)||void 0===A?void 0:A.color}),children:[(null===(E=null==$?void 0:$.topSpace)||void 0===E?void 0:E.length)>0&&n(v,{content:$.topSpace[0]}),n(u,{children:e(o,{children:[($.overlineText||(null===(O=$.description)||void 0===O?void 0:O.length)>0||(null===(F=null==$?void 0:$.button)||void 0===F?void 0:F.length)>0||$.title)&&e("div",{className:a["text-container"],children:[$.overlineText&&n("div",{className:a.overline,children:$.overlineText}),$.title&&$.headlineVariants===B?e("h1",{className:ae,style:Object.assign({},ce),children:[$.title," "]}):$.headlineVariants===j?n("h2",{className:ae,style:Object.assign({},ce),children:$.title}):$.headlineVariants===P?n("h3",{className:ae,style:Object.assign({},ce),children:$.title}):n("h4",{className:ae,style:Object.assign({},ce),children:$.title}),(null===(z=$.description)||void 0===z?void 0:z.length)>0&&n(w,{content:$.description[0]}),(null==$?void 0:$.button)&&(null===(D=null==$?void 0:$.button)||void 0===D?void 0:D.length)>0&&n("div",{className:a.btn,children:n(h,{content:$.button[0],eventAction:$.title,metadata:x,renderPopupBlok:y})})]}),$.isMobSlider&&$.variant===I?e(o,{children:[n("div",{className:`row ${a.cards} d-none d-sm-block`,children:_.map((e,o)=>n("div",{className:`${oe} col-md-4 col-sm-6 ${a.card}`,children:n(c,{content:e,metadata:x,index:o,renderPopupBlok:y})},e._uid))}),n("div",{className:`d-block d-sm-none ${a.carousel}`,children:_.length>0&&me(_)})]}):$.variant===I?n("div",{className:`row ${a.cards}`,children:_.map((e,o)=>n("div",{className:`${oe} col-md-4 col-sm-6 ${a.card}`,children:n(c,{content:e,metadata:x,index:o,renderPopupBlok:y})},e._uid))}):n("div",{className:a.carousel,children:_.length>0&&me(_)})]})}),(null===(L=null==$?void 0:$.bottomSpace)||void 0===L?void 0:L.length)>0&&n(v,{content:$.bottomSpace[0]})]})};export{$ as default};
2
+ import{jsxs as e,jsx as n,Fragment as o}from"react/jsx-runtime";import{useState as i,useRef as r,useEffect as t}from"react";import{Swiper as l,SwiperSlide as d}from"swiper/react";import{Pagination as s}from"swiper/modules";import"swiper/css";import"swiper/css/pagination";import a from"./InternetAndTvCards.module.scss.js";import c from"./InternetAndTvCardItem/InternetAndTvCardItem.js";import{LeftArrow as m,RightArrow as p}from"./InternetAndTvCardsArrows.js";import v from"../ResponsiveRow/row.js";import u from"../Spacer/spacer.js";import h from"../FalconButton/falconButton.js";import w from"../FalconDescription/FalconDescription.js";import{getFalconGradientClass as g,getFalconColorsClass as b}from"../../utils/StyleUtils.js";import{COLLG4 as C,COLLG6 as f,COLLG3 as k,NONE as N,H1 as B,H2 as j,H3 as P,STACK as $}from"../Constants.js";const I=e=>"undefined"==typeof window?1:window.innerWidth>=1440?e:window.innerWidth>=1024?3:window.innerWidth>=768?2:1,S=({content:S,metadata:x,renderPopupBlok:y})=>{var R,T,V,A,E,O,F,z,D,L;const W="2"===S.cardsInRow?2:"3"===S.cardsInRow?3:4,[_,G]=i([]),[M,U]=i(()=>I(W)),q=r(null),[H,J]=i(!0),[K,Q]=i(!1);t(()=>{const e=((null==S?void 0:S.Cards)||[]).filter(e=>!e.notToDisplay);G(e)},[null==S?void 0:S.Cards]);const X=_.length>M,Y=X&&(!0===S.loopSlides||"true"===S.loopSlides);t(()=>{const e=()=>U(I(W));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[W]);const Z=e=>{J(e.isBeginning),Q(e.isEnd)},ee=()=>{var e;return null===(e=q.current)||void 0===e?void 0:e.slidePrev()},ne=()=>{var e;return null===(e=q.current)||void 0===e?void 0:e.slideNext()},oe="2"===S.cardsInRow&&2===S.Cards.length?C:"2"===S.cardsInRow&&S.Cards.length>2?f:"3"===S.cardsInRow?C:k,ie=null===(T=null===(R=S.gradientBackgroundGlobal)||void 0===R?void 0:R.replace(/;\s*$/,""))||void 0===T?void 0:T.trim(),re=!!ie&&ie.toLowerCase()!==N,te=re?"":g(S.gradientBackground),le=!re&&S.gradientBackground!==N&&!!te,de=le?te:"",se=b(S.headlineColor),ae=S.headlineColor&&S.headlineColor!==N?se:"",ce=S.headlineColor&&S.headlineColor===N?{color:null===(V=S.headlineColorPicker)||void 0===V?void 0:V.color}:{},me=o=>e("div",{className:a["slider-wrapper"],children:[n(l,{modules:[s],className:`${a.swiper} ${X?a["has-controls"]:""}`.trim(),slidesPerView:"auto",slidesPerGroup:1,spaceBetween:0,centerInsufficientSlides:!0,loop:Y,rewind:!1,allowTouchMove:X,grabCursor:!0,lazyPreload:!1,observer:!0,observeParents:!0,pagination:!!X&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:W,spaceBetween:16}},onSwiper:e=>{q.current=e,Z(e)},onSlideChange:Z,onReachBeginning:Z,onReachEnd:Z,onFromEdge:Z,children:o.map((e,o)=>n(d,{className:a.slide,children:n(c,{content:e,metadata:x,index:o,renderPopupBlok:y})},e._uid))},`internet-tv-cards-${M}`),X&&(Y||!H)&&n(m,{onClick:ee}),X&&(Y||!K)&&n(p,{onClick:ne})]});return e("div",{className:`${a.container} ${de}`,id:S.id||"",style:Object.assign({},re?{background:ie}:le?{}:{backgroundColor:null===(A=S.backgroundColor)||void 0===A?void 0:A.color}),children:[(null===(E=null==S?void 0:S.topSpace)||void 0===E?void 0:E.length)>0&&n(u,{content:S.topSpace[0]}),n(v,{children:e(o,{children:[(S.overlineText||(null===(O=S.description)||void 0===O?void 0:O.length)>0||(null===(F=null==S?void 0:S.button)||void 0===F?void 0:F.length)>0||S.title)&&e("div",{className:a["text-container"],children:[S.overlineText&&n("div",{className:a.overline,children:S.overlineText}),S.title&&S.headlineVariants===B?e("h1",{className:ae,style:Object.assign({},ce),children:[S.title," "]}):S.headlineVariants===j?n("h2",{className:ae,style:Object.assign({},ce),children:S.title}):S.headlineVariants===P?n("h3",{className:ae,style:Object.assign({},ce),children:S.title}):n("h4",{className:ae,style:Object.assign({},ce),children:S.title}),(null===(z=S.description)||void 0===z?void 0:z.length)>0&&n(w,{content:S.description[0]}),(null==S?void 0:S.button)&&(null===(D=null==S?void 0:S.button)||void 0===D?void 0:D.length)>0&&n("div",{className:a.btn,children:n(h,{content:S.button[0],eventAction:S.title,metadata:x,renderPopupBlok:y})})]}),S.isMobSlider&&S.variant===$?e(o,{children:[n("div",{className:`row ${a.cards} d-none d-sm-block`,children:_.map((e,o)=>n("div",{className:`${oe} col-md-4 col-sm-6 ${a.card}`,children:n(c,{content:e,metadata:x,index:o,renderPopupBlok:y})},e._uid))}),n("div",{className:`d-block d-sm-none ${a.carousel}`,children:_.length>0&&me(_)})]}):S.variant===$?n("div",{className:`row ${a.cards}`,children:_.map((e,o)=>n("div",{className:`${oe} col-md-4 col-sm-6 ${a.card}`,children:n(c,{content:e,metadata:x,index:o,renderPopupBlok:y})},e._uid))}):n("div",{className:a.carousel,children:_.length>0&&me(_)})]})}),(null===(L=null==S?void 0:S.bottomSpace)||void 0===L?void 0:L.length)>0&&n(u,{content:S.bottomSpace[0]})]})};export{S as default};
3
3
  //# sourceMappingURL=InternetAndTvCards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InternetAndTvCards.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCards.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","largeDesktopSlides","window","innerWidth","InternetAndTvCards","content","metadata","renderPopupBlok","numberOfCardsInrow","cardsInRow","cardItems","setCardItems","useState","slidesPerView","setSlidesPerView","swiperRef","useRef","isBeginning","setIsBeginning","isEnd","setIsEnd","useEffect","visibleCards","Cards","filter","card","notToDisplay","hasOverflow","length","shouldLoop","loopSlides","handleResize","addEventListener","removeEventListener","updateNavigationState","swiper","slidePrevious","_a","current","slidePrev","slideNext","cols","COLLG4","COLLG6","COLLG3","normalizedGlobalGradient","_b","gradientBackgroundGlobal","replace","trim","hasGlobalGradient","toLowerCase","NONE","gradientStyle","getFalconGradientClass","gradientBackground","hasGradientStyle","backgroundClass","headlineStyle","getFalconColorsClass","headlineColor","titleClassname","titleColor","color","_c","headlineColorPicker","renderCarousel","items","_jsxs","className","Styles","children","_jsx","Swiper","modules","Pagination","slidesPerGroup","spaceBetween","centerInsufficientSlides","loop","rewind","allowTouchMove","grabCursor","lazyPreload","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","index","SwiperSlide","InternetAndTvCardItem","_uid","LeftArrow","onClick","RightArrow","id","style","Object","assign","background","backgroundColor","_d","topSpace","Spacer","Row","overlineText","description","_f","_g","button","title","headlineVariants","H1","H2","H3","_h","FalconDescription","_j","FalconButton","eventAction","isMobSlider","variant","STACK","_k","bottomSpace"],"mappings":"00BAuDA,MAAMA,EAAoBC,GACF,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAaF,EAClCC,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,IAAY,EAC9B,EAGHC,EAAqB,EAAGC,UAASC,WAAUC,8CAC/C,MAAMC,EAA4C,MAAvBH,EAAQI,WAAqB,EAA2B,MAAvBJ,EAAQI,WAAqB,EAAI,GACtFC,EAAWC,GAAgBC,EAAwC,KACnEC,EAAeC,GAAoBF,EAAS,IAAMZ,EAAiBQ,IACpEO,EAAYC,EAAY,OACvBC,EAAaC,GAAkBN,GAAS,IACxCO,EAAOC,GAAYR,GAAS,GAEnCS,EAAU,KACR,MAAMC,IAAgBjB,aAAO,EAAPA,EAASkB,QAAS,IAAIC,OAAQC,IAAUA,EAAKC,cACnEf,EAAaW,IACZ,CAACjB,aAAO,EAAPA,EAASkB,QAEb,MAAMI,EAAcjB,EAAUkB,OAASf,EACjCgB,EAAaF,KAAuC,IAAvBtB,EAAQyB,YAA8C,SAAvBzB,EAAQyB,YAE1ET,EAAU,KACR,MAAMU,EAAe,IAAMjB,EAAiBd,EAAiBQ,IAE7D,OADAN,OAAO8B,iBAAiB,SAAUD,GAC3B,IAAM7B,OAAO+B,oBAAoB,SAAUF,IACjD,CAACvB,IAEJ,MAAM0B,EAAyBC,IAC7BjB,EAAeiB,EAAOlB,aACtBG,EAASe,EAAOhB,QAGZiB,GAAgB,WAAM,OAAiB,QAAjBC,EAAAtB,EAAUuB,eAAO,IAAAD,OAAA,EAAAA,EAAEE,aACzCC,GAAY,WAAM,OAAiB,QAAjBH,EAAAtB,EAAUuB,eAAO,IAAAD,OAAA,EAAAA,EAAEG,aAErCC,GACmB,MAAvBpC,EAAQI,YAA+C,IAAzBJ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UAAW,GAAG5B,wBAA0B6B,EAAa,OAAGC,SAC3EC,EAACuB,EAAqB,CACpB1F,QAASoB,EACTnB,SAAUA,EACVuF,MAAOA,EACPtF,gBAAiBA,KALXkB,EAAKuE,SAWnBxB,EAAA,MAAA,CAAKH,UAAWC,EAAiB,SAACC,SAAG7D,EAAUkB,OAAS,GAAKsC,GAAexD,mBAIjFsH,EAAA3H,aAAO,EAAPA,EAAS4H,kCAAarG,QAAS,GAAK4C,EAACoC,GAAOvG,QAASA,EAAQ4H,YAAY"}
1
+ {"version":3,"file":"InternetAndTvCards.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCards.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","largeDesktopSlides","window","innerWidth","InternetAndTvCards","content","metadata","renderPopupBlok","numberOfCardsInrow","cardsInRow","cardItems","setCardItems","useState","slidesPerView","setSlidesPerView","swiperRef","useRef","isBeginning","setIsBeginning","isEnd","setIsEnd","useEffect","visibleCards","Cards","filter","card","notToDisplay","hasOverflow","length","shouldLoop","loopSlides","handleResize","addEventListener","removeEventListener","updateNavigationState","swiper","slidePrevious","_a","current","slidePrev","slideNext","cols","COLLG4","COLLG6","COLLG3","normalizedGlobalGradient","_b","gradientBackgroundGlobal","replace","trim","hasGlobalGradient","toLowerCase","NONE","gradientStyle","getFalconGradientClass","gradientBackground","hasGradientStyle","backgroundClass","headlineStyle","getFalconColorsClass","headlineColor","titleClassname","titleColor","color","_c","headlineColorPicker","renderCarousel","items","_jsxs","className","Styles","children","_jsx","Swiper","modules","Pagination","slidesPerGroup","spaceBetween","centerInsufficientSlides","loop","rewind","allowTouchMove","grabCursor","lazyPreload","observer","observeParents","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","index","SwiperSlide","InternetAndTvCardItem","_uid","LeftArrow","onClick","RightArrow","id","style","Object","assign","background","backgroundColor","_d","topSpace","Spacer","Row","overlineText","description","_f","_g","button","title","headlineVariants","H1","H2","H3","_h","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,OAAGC,SAC3EC,EAACyB,EAAqB,CACpB5F,QAASoB,EACTnB,SAAUA,EACVyF,MAAOA,EACPxF,gBAAiBA,KALXkB,EAAKyE,SAWnB1B,EAAA,MAAA,CAAKH,UAAWC,EAAiB,SAACC,SAAG7D,EAAUkB,OAAS,GAAKsC,GAAexD,mBAIjFwH,EAAA7H,aAAO,EAAPA,EAAS8H,kCAAavG,QAAS,GAAK4C,EAACsC,GAAOzG,QAASA,EAAQ8H,YAAY"}
@@ -53,6 +53,8 @@
53
53
  }
54
54
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
55
55
  margin-bottom: 20px;
56
+ padding-left: 10px;
57
+ padding-right: 10px;
56
58
  }
57
59
  @media (max-width: 767px) {
58
60
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
@@ -53,6 +53,8 @@
53
53
  }
54
54
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
55
55
  margin-bottom: 20px;
56
+ padding-left: 10px;
57
+ padding-right: 10px;
56
58
  }
57
59
  @media (max-width: 767px) {
58
60
  .InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
@@ -1,137 +1,3 @@
1
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
2
- /* center a block element */
3
- /* use this to any of the pseudo elements as these are the mandatory properties */
4
- /* setting styles in separate formats for cross browser support */
5
- /* specify the max width for an element and apply ellipses and truncate the overflow */
6
- /* vertically center alilgn any HTML element */
7
- /* add basePath to assets */
8
- @media (min-width: 768px) {
9
- .MinimizedHeader-module__outer___JOzJC {
10
- background-color: #ffffff;
11
- border-top: 4px solid #da291c;
12
- box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
13
- height: 72px;
14
- }
15
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
16
- position: fixed;
17
- top: 0;
18
- left: 0;
19
- padding: 4px 8px;
20
- font-size: 14px;
21
- z-index: 10000;
22
- color: #5f5955;
23
- background: #ffffff;
24
- }
25
- }
26
- @media (min-width: 768px) and (max-width: 850px) {
27
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
28
- padding: 0 4px;
29
- font-size: 8px;
30
- }
31
- }
32
- @media (min-width: 768px) {
33
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
34
- width: 100%;
35
- display: inline-block;
36
- }
37
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
38
- display: flex;
39
- float: left;
40
- align-items: center;
41
- margin: 10px 0;
42
- }
43
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
44
- padding-left: 10px;
45
- }
46
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
47
- float: right;
48
- display: flex;
49
- margin: 24px 0 24px 0;
50
- }
51
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
52
- background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
53
- background-repeat: no-repeat;
54
- background-size: contain;
55
- display: block;
56
- height: 24px;
57
- margin-right: 6px;
58
- width: 24px;
59
- }
60
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
61
- color: #da291c;
62
- font-weight: 700;
63
- font-size: 18px;
64
- line-height: 24px;
65
- }
66
- }
67
- @media (max-width: 767px) {
68
- .MinimizedHeader-module__outer___JOzJC {
69
- background-color: #ffffff;
70
- border-top: 4px solid #da291c;
71
- box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
72
- height: 48px;
73
- }
74
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
75
- width: 100%;
76
- display: inline-block;
77
- }
78
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
79
- display: flex;
80
- float: left;
81
- }
82
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
83
- margin-top: 12px;
84
- }
85
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
86
- height: 24px;
87
- width: 24px;
88
- float: left;
89
- }
90
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
91
- margin-top: 8px;
92
- padding-left: 6px;
93
- }
94
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
95
- height: 20px;
96
- }
97
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
98
- float: right;
99
- display: flex;
100
- margin: 12px 0 12px 0;
101
- }
102
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
103
- background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
104
- background-repeat: no-repeat;
105
- background-size: contain;
106
- display: block;
107
- height: 20px;
108
- margin-right: 6px;
109
- width: 20px;
110
- }
111
- .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
112
- color: #da291c;
113
- font-weight: 700;
114
- font-size: 18px;
115
- line-height: 24px;
116
- }
117
- }
118
- .MinimizedHeader-module__s20-header__version-number___vI9Rr {
119
- position: fixed;
120
- top: 0;
121
- left: 0;
122
- padding: 4px 8px;
123
- font-size: 14px;
124
- z-index: 10000;
125
- color: #5f5955;
126
- background: #ffffff;
127
- }
128
- @media (max-width: 850px) {
129
- .MinimizedHeader-module__s20-header__version-number___vI9Rr {
130
- padding: 0 4px;
131
- font-size: 8px;
132
- }
133
- }
134
-
135
1
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.module.scss */
136
2
  /* center a block element */
137
3
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -981,92 +847,343 @@
981
847
  visibility: visible;
982
848
  }
983
849
 
984
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
850
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
985
851
  /* center a block element */
986
852
  /* use this to any of the pseudo elements as these are the mandatory properties */
987
853
  /* setting styles in separate formats for cross browser support */
988
854
  /* specify the max width for an element and apply ellipses and truncate the overflow */
989
855
  /* vertically center alilgn any HTML element */
990
856
  /* add basePath to assets */
991
- .LocaleSelector-module__button___0LEXR {
992
- position: relative;
993
- }
994
- .LocaleSelector-module__button___0LEXR button {
995
- background-color: transparent;
996
- color: #3d3935;
997
- border: 0;
998
- border-radius: 4px;
999
- padding-bottom: 5px;
1000
- cursor: pointer;
1001
- height: 42px;
1002
- font-size: 14px;
1003
- line-height: 20px;
1004
- width: 100%;
1005
- }
1006
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
1007
- background-position: center center;
1008
- background-repeat: no-repeat;
1009
- height: 8px;
1010
- margin-left: 10px;
1011
- margin-top: 2px;
1012
- transition: transform 0.2s ease, -webkit-transform 0.2s ease;
1013
- width: 14px;
857
+ .cart-overlay-panel.offcanvas {
858
+ transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
859
+ z-index: 2147483002;
1014
860
  }
1015
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R.active {
1016
- -webkit-transform: rotate(-180deg);
1017
- -moz-transform: rotate(-180deg);
1018
- -o-transform: rotate(-180deg);
1019
- transform: rotate(-180deg);
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;
1020
868
  }
1021
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1022
- padding: 24px 32px;
1023
- background-color: #ffffff;
1024
- transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
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;
1025
879
  }
1026
880
  @media (max-width: 1023px) {
1027
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1028
- transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
881
+ .cart-overlay-panel .offcanvas-title {
882
+ font-size: 20px;
883
+ line-height: 28px;
1029
884
  }
1030
885
  }
1031
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1032
- box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);
1033
- border-radius: 0px 0px 8px 8px;
1034
- margin-bottom: 4px;
1035
- white-space: nowrap;
1036
- position: absolute;
1037
- z-index: 100;
1038
- -webkit-transform: translateX(-50%);
1039
- -moz-transform: translateX(-50%);
1040
- -o-transform: translateX(-50%);
1041
- transform: translateX(-50%);
1042
- }
1043
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE:not(:first-child) {
1044
- margin-left: 0 !important;
1045
- }
1046
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active {
1047
- font-weight: bold;
886
+
887
+ .cart-overlay-panel .btn-close {
888
+ opacity: 0.7;
889
+ width: 20px;
890
+ height: 20px;
1048
891
  }
1049
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
1050
- color: #da291c;
892
+ .cart-overlay-panel .btn-close:hover {
893
+ opacity: 1;
1051
894
  }
1052
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a::before {
1053
- content: none !important;
1054
- display: none !important;
895
+
896
+ .cart-overlay-panel .offcanvas-body {
897
+ padding: 0;
898
+ overflow-y: auto;
899
+ display: flex;
900
+ flex-direction: column;
901
+ background: #f7f6f5;
1055
902
  }
1056
- .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a:before {
1057
- display: none !important;
903
+
904
+ .cart-overlay-panel.offcanvas-bottom {
905
+ border-radius: 8px 8px 0 0 !important;
906
+ width: 100% !important;
907
+ overflow: hidden;
1058
908
  }
1059
909
 
1060
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
1061
- color: #ffffff;
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;
1062
916
  }
1063
- @media (max-width: 1023px) {
1064
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
1065
- background-color: #1f1f1f;
917
+
918
+ @keyframes CartOverlay-module__fadeIn___G8JYJ {
919
+ from {
920
+ opacity: 0;
921
+ }
922
+ to {
923
+ opacity: 1;
1066
924
  }
1067
925
  }
1068
- .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__chevron___o3l3R {
1069
- filter: brightness(0) invert(0.9);
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
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
968
+ /* center a block element */
969
+ /* use this to any of the pseudo elements as these are the mandatory properties */
970
+ /* setting styles in separate formats for cross browser support */
971
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
972
+ /* vertically center alilgn any HTML element */
973
+ /* add basePath to assets */
974
+ @media (min-width: 768px) {
975
+ .MinimizedHeader-module__outer___JOzJC {
976
+ background-color: #ffffff;
977
+ border-top: 4px solid #da291c;
978
+ box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
979
+ height: 72px;
980
+ }
981
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
982
+ position: fixed;
983
+ top: 0;
984
+ left: 0;
985
+ padding: 4px 8px;
986
+ font-size: 14px;
987
+ z-index: 10000;
988
+ color: #5f5955;
989
+ background: #ffffff;
990
+ }
991
+ }
992
+ @media (min-width: 768px) and (max-width: 850px) {
993
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
994
+ padding: 0 4px;
995
+ font-size: 8px;
996
+ }
997
+ }
998
+ @media (min-width: 768px) {
999
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
1000
+ width: 100%;
1001
+ display: inline-block;
1002
+ }
1003
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
1004
+ display: flex;
1005
+ float: left;
1006
+ align-items: center;
1007
+ margin: 10px 0;
1008
+ }
1009
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
1010
+ padding-left: 10px;
1011
+ }
1012
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
1013
+ float: right;
1014
+ display: flex;
1015
+ margin: 24px 0 24px 0;
1016
+ }
1017
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
1018
+ background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
1019
+ background-repeat: no-repeat;
1020
+ background-size: contain;
1021
+ display: block;
1022
+ height: 24px;
1023
+ margin-right: 6px;
1024
+ width: 24px;
1025
+ }
1026
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
1027
+ color: #da291c;
1028
+ font-weight: 700;
1029
+ font-size: 18px;
1030
+ line-height: 24px;
1031
+ }
1032
+ }
1033
+ @media (max-width: 767px) {
1034
+ .MinimizedHeader-module__outer___JOzJC {
1035
+ background-color: #ffffff;
1036
+ border-top: 4px solid #da291c;
1037
+ box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
1038
+ height: 48px;
1039
+ }
1040
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
1041
+ width: 100%;
1042
+ display: inline-block;
1043
+ }
1044
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
1045
+ display: flex;
1046
+ float: left;
1047
+ }
1048
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
1049
+ margin-top: 12px;
1050
+ }
1051
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
1052
+ height: 24px;
1053
+ width: 24px;
1054
+ float: left;
1055
+ }
1056
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
1057
+ margin-top: 8px;
1058
+ padding-left: 6px;
1059
+ }
1060
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
1061
+ height: 20px;
1062
+ }
1063
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
1064
+ float: right;
1065
+ display: flex;
1066
+ margin: 12px 0 12px 0;
1067
+ }
1068
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
1069
+ background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
1070
+ background-repeat: no-repeat;
1071
+ background-size: contain;
1072
+ display: block;
1073
+ height: 20px;
1074
+ margin-right: 6px;
1075
+ width: 20px;
1076
+ }
1077
+ .MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
1078
+ color: #da291c;
1079
+ font-weight: 700;
1080
+ font-size: 18px;
1081
+ line-height: 24px;
1082
+ }
1083
+ }
1084
+ .MinimizedHeader-module__s20-header__version-number___vI9Rr {
1085
+ position: fixed;
1086
+ top: 0;
1087
+ left: 0;
1088
+ padding: 4px 8px;
1089
+ font-size: 14px;
1090
+ z-index: 10000;
1091
+ color: #5f5955;
1092
+ background: #ffffff;
1093
+ }
1094
+ @media (max-width: 850px) {
1095
+ .MinimizedHeader-module__s20-header__version-number___vI9Rr {
1096
+ padding: 0 4px;
1097
+ font-size: 8px;
1098
+ }
1099
+ }
1100
+
1101
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
1102
+ /* center a block element */
1103
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1104
+ /* setting styles in separate formats for cross browser support */
1105
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1106
+ /* vertically center alilgn any HTML element */
1107
+ /* add basePath to assets */
1108
+ .LocaleSelector-module__button___0LEXR {
1109
+ position: relative;
1110
+ }
1111
+ .LocaleSelector-module__button___0LEXR button {
1112
+ background-color: transparent;
1113
+ color: #3d3935;
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%;
1122
+ }
1123
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__chevron___o3l3R {
1124
+ background-position: center center;
1125
+ background-repeat: no-repeat;
1126
+ height: 8px;
1127
+ margin-left: 10px;
1128
+ margin-top: 2px;
1129
+ transition: transform 0.2s ease, -webkit-transform 0.2s ease;
1130
+ width: 14px;
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);
1137
+ }
1138
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1139
+ padding: 24px 32px;
1140
+ background-color: #ffffff;
1141
+ transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(-57px) !important;
1142
+ }
1143
+ @media (max-width: 1023px) {
1144
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1145
+ transform: matrix(1, 0, 0, 1, -96.6667, 0) translateY(0px) translateX(7px) !important;
1146
+ }
1147
+ }
1148
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta {
1149
+ box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);
1150
+ border-radius: 0px 0px 8px 8px;
1151
+ margin-bottom: 4px;
1152
+ white-space: nowrap;
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%);
1159
+ }
1160
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE:not(:first-child) {
1161
+ margin-left: 0 !important;
1162
+ }
1163
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active {
1164
+ font-weight: bold;
1165
+ }
1166
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a {
1167
+ color: #da291c;
1168
+ }
1169
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a::before {
1170
+ content: none !important;
1171
+ display: none !important;
1172
+ }
1173
+ .LocaleSelector-module__button___0LEXR .LocaleSelector-module__pop-up___HV8Ta .LocaleSelector-module__list-item___JVlRE.active a:before {
1174
+ display: none !important;
1175
+ }
1176
+
1177
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
1178
+ color: #ffffff;
1179
+ }
1180
+ @media (max-width: 1023px) {
1181
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 button {
1182
+ background-color: #1f1f1f;
1183
+ }
1184
+ }
1185
+ .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__chevron___o3l3R {
1186
+ filter: brightness(0) invert(0.9);
1070
1187
  }
1071
1188
  .LocaleSelector-module__button___0LEXR.LocaleSelector-module__black-friday___j6YP0 .LocaleSelector-module__pop-up___HV8Ta {
1072
1189
  background-color: #1f1f1f;
@@ -1369,54 +1486,6 @@
1369
1486
  }
1370
1487
  }
1371
1488
 
1372
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1373
- /* center a block element */
1374
- /* use this to any of the pseudo elements as these are the mandatory properties */
1375
- /* setting styles in separate formats for cross browser support */
1376
- /* specify the max width for an element and apply ellipses and truncate the overflow */
1377
- /* vertically center alilgn any HTML element */
1378
- /* add basePath to assets */
1379
- .CartHeader-module__headerTitle___35F6g {
1380
- display: flex;
1381
- align-items: center;
1382
- gap: 8px;
1383
- }
1384
-
1385
- .CartHeader-module__headerItemCount___g1Ynd {
1386
- font-size: 24px;
1387
- line-height: 32px;
1388
- font-weight: 400;
1389
- color: #3d3935;
1390
- }
1391
- @media (max-width: 1023px) {
1392
- .CartHeader-module__headerItemCount___g1Ynd {
1393
- font-size: 20px;
1394
- line-height: 28px;
1395
- }
1396
- }
1397
-
1398
- .CartHeader-module__clearAllButton___B3bNF {
1399
- display: inline;
1400
- background: none;
1401
- border: none;
1402
- padding: 0;
1403
- cursor: pointer;
1404
- font-size: 14px;
1405
- line-height: 20px;
1406
- font-weight: 400;
1407
- color: #da291c;
1408
- text-decoration: underline;
1409
- text-underline-offset: 2px;
1410
- }
1411
- .CartHeader-module__clearAllButton___B3bNF:hover {
1412
- color: #961c13;
1413
- }
1414
- .CartHeader-module__clearAllButton___B3bNF:focus-visible {
1415
- outline: 2px solid #da291c;
1416
- outline-offset: 2px;
1417
- border-radius: 2px;
1418
- }
1419
-
1420
1489
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartDotLoader/CartDotLoader.module.scss */
1421
1490
  /* center a block element */
1422
1491
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1537,86 +1606,75 @@
1537
1606
  filter: brightness(0) invert(0.9);
1538
1607
  }
1539
1608
 
1540
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.module.scss */
1609
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.module.scss */
1541
1610
  /* center a block element */
1542
1611
  /* use this to any of the pseudo elements as these are the mandatory properties */
1543
1612
  /* setting styles in separate formats for cross browser support */
1544
1613
  /* specify the max width for an element and apply ellipses and truncate the overflow */
1545
1614
  /* vertically center alilgn any HTML element */
1546
1615
  /* add basePath to assets */
1547
- .EmptyCart-module__emptyState___HtCXJ {
1616
+ .CartFooter-module__cartFooter___pgZ1x {
1548
1617
  display: flex;
1549
1618
  flex-direction: column;
1550
- align-items: center;
1551
- justify-content: center;
1619
+ background-color: #3d3935;
1620
+ border-radius: 8px 8px 0 0;
1621
+ padding: 16px 24px;
1622
+ gap: 16px;
1623
+ }
1624
+ @media (max-width: 767px) {
1625
+ .CartFooter-module__cartFooter___pgZ1x {
1626
+ padding: 16px;
1627
+ }
1628
+ }
1629
+
1630
+ .CartFooter-module__footerTotals___sG-0P {
1631
+ display: flex;
1632
+ justify-content: space-between;
1633
+ gap: 0;
1634
+ }
1635
+
1636
+ .CartFooter-module__footerTotalsItem___zs1hY {
1637
+ display: flex;
1638
+ flex-direction: column;
1639
+ justify-content: space-between;
1640
+ gap: 2px;
1552
1641
  flex: 1;
1553
- padding: 32px 24px 24px;
1554
- text-align: center;
1642
+ padding: 0 16px;
1643
+ }
1644
+ .CartFooter-module__footerTotalsItem___zs1hY:first-child {
1645
+ padding-left: 0;
1646
+ }
1647
+ .CartFooter-module__footerTotalsItem___zs1hY:last-child {
1648
+ padding-right: 0;
1555
1649
  }
1556
1650
 
1557
- .EmptyCart-module__emptyIcon___A7F8f {
1558
- margin-bottom: 8px;
1651
+ .CartFooter-module__footerTotalsItemDivider___--UXf {
1652
+ border-left: 1px solid #b3aeaa;
1559
1653
  }
1560
1654
 
1561
- .EmptyCart-module__emptyText___aX6Nu {
1562
- font-size: 16px;
1563
- line-height: 24px;
1564
- font-weight: 700;
1565
- color: #3d3935;
1566
- margin: 0 0 44px;
1655
+ .CartFooter-module__footerTotalsLabel___Z30Az {
1656
+ font-size: 12px;
1657
+ line-height: 16px;
1658
+ color: #b3aeaa;
1567
1659
  }
1568
1660
 
1569
- .EmptyCart-module__emptySubText___P504H {
1570
- font-size: 14px;
1571
- line-height: 20px;
1572
- color: #787472;
1573
- margin: 0 0 8px;
1661
+ .CartFooter-module__footerTotalsValue___NfXPQ {
1662
+ font-size: 16px;
1663
+ line-height: 24px;
1664
+ font-weight: 700;
1665
+ color: #ffffff;
1574
1666
  }
1575
1667
 
1576
- .EmptyCart-module__categoryLinks___J9tic {
1668
+ .CartFooter-module__footerButtons___6xWKX {
1577
1669
  display: flex;
1670
+ text-align: center;
1578
1671
  gap: 12px;
1579
- width: 100%;
1580
- justify-content: center;
1581
1672
  }
1582
-
1583
- .EmptyCart-module__categoryLink___YxsmA {
1584
- display: flex;
1585
- flex-direction: column;
1586
- align-items: center;
1587
- justify-content: center;
1588
- gap: 6px;
1673
+ .CartFooter-module__footerButtons___6xWKX > div {
1589
1674
  flex: 1;
1590
- padding: 12px 8px;
1591
- background-color: #ffffff;
1592
- border: none;
1593
- border-radius: 8px;
1594
- text-decoration: none;
1595
- color: #3d3935;
1596
- font-size: 12px;
1597
- line-height: 16px;
1598
- font-weight: 500;
1599
- text-align: center;
1600
- transition: background-color 0.15s ease;
1601
1675
  }
1602
- .EmptyCart-module__categoryLink___YxsmA:hover {
1603
- background-color: #f8f8f8;
1676
+ .CartFooter-module__footerButtons___6xWKX a {
1604
1677
  text-decoration: none;
1605
- color: #3d3935;
1606
- }
1607
- .EmptyCart-module__categoryLink___YxsmA:focus-visible {
1608
- outline: 2px solid #e6003c;
1609
- outline-offset: 2px;
1610
- }
1611
-
1612
- .EmptyCart-module__categoryLinkIcon___HjhbO {
1613
- display: flex;
1614
- align-items: center;
1615
- justify-content: center;
1616
- }
1617
-
1618
- .EmptyCart-module__categoryLinkLabel___1dS9s {
1619
- line-height: 1.3;
1620
1678
  }
1621
1679
 
1622
1680
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.module.scss */
@@ -1816,192 +1874,134 @@
1816
1874
  border: none;
1817
1875
  }
1818
1876
 
1819
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
1877
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1820
1878
  /* center a block element */
1821
1879
  /* use this to any of the pseudo elements as these are the mandatory properties */
1822
1880
  /* setting styles in separate formats for cross browser support */
1823
1881
  /* specify the max width for an element and apply ellipses and truncate the overflow */
1824
1882
  /* vertically center alilgn any HTML element */
1825
1883
  /* add basePath to assets */
1826
- .cart-overlay-panel.offcanvas {
1827
- transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
1828
- z-index: 2147483002;
1829
- }
1830
-
1831
- .cart-overlay-panel .offcanvas-header {
1832
- padding: 20px 16px;
1833
- gap: 24px;
1884
+ .CartHeader-module__headerTitle___35F6g {
1885
+ display: flex;
1834
1886
  align-items: center;
1835
- background: #ffffff;
1836
- border-bottom: 1px solid #e6e3df;
1887
+ gap: 8px;
1837
1888
  }
1838
1889
 
1839
- .cart-overlay-panel .offcanvas-title {
1840
- display: flex;
1841
- flex-direction: column;
1842
- align-items: flex-start;
1843
- gap: 2px;
1890
+ .CartHeader-module__headerItemCount___g1Ynd {
1844
1891
  font-size: 24px;
1845
1892
  line-height: 32px;
1846
- font-weight: 700;
1893
+ font-weight: 400;
1847
1894
  color: #3d3935;
1848
1895
  }
1849
1896
  @media (max-width: 1023px) {
1850
- .cart-overlay-panel .offcanvas-title {
1897
+ .CartHeader-module__headerItemCount___g1Ynd {
1851
1898
  font-size: 20px;
1852
1899
  line-height: 28px;
1853
1900
  }
1854
1901
  }
1855
1902
 
1856
- .cart-overlay-panel .btn-close {
1857
- opacity: 0.7;
1858
- width: 20px;
1859
- height: 20px;
1860
- }
1861
- .cart-overlay-panel .btn-close:hover {
1862
- opacity: 1;
1863
- }
1864
-
1865
- .cart-overlay-panel .offcanvas-body {
1866
- padding: 0;
1867
- overflow-y: auto;
1868
- display: flex;
1869
- flex-direction: column;
1870
- background: #f7f6f5;
1871
- }
1872
-
1873
- .cart-overlay-panel.offcanvas-bottom {
1874
- border-radius: 8px 8px 0 0 !important;
1875
- width: 100% !important;
1876
- overflow: hidden;
1877
- }
1878
-
1879
- .CartOverlay-module__backdrop___lMc-O {
1880
- position: fixed;
1881
- inset: 0;
1882
- z-index: 1040;
1883
- background: rgba(42, 42, 42, 0.7);
1884
- animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
1885
- }
1886
-
1887
- @keyframes CartOverlay-module__fadeIn___G8JYJ {
1888
- from {
1889
- opacity: 0;
1890
- }
1891
- to {
1892
- opacity: 1;
1893
- }
1894
- }
1895
- .CartOverlay-module__footer___OwJpW {
1896
- padding: 16px 24px;
1897
- border-top: 1px solid #d2d2d2;
1898
- background-color: #ffffff;
1899
- }
1900
-
1901
- .CartOverlay-module__dismissButton___57qsq {
1902
- display: flex;
1903
- align-items: center;
1904
- justify-content: center;
1905
- width: 100%;
1906
- padding: 14px 24px;
1907
- gap: 8px;
1903
+ .CartHeader-module__clearAllButton___B3bNF {
1904
+ display: inline;
1908
1905
  background: none;
1909
- border: 2px solid #da291c;
1910
- border-radius: 28px;
1911
- font-size: 16px;
1912
- line-height: 24px;
1913
- font-weight: 600;
1914
- color: #da291c;
1915
- text-align: center;
1906
+ border: none;
1907
+ padding: 0;
1916
1908
  cursor: pointer;
1917
- transition: background-color 0.15s ease;
1909
+ font-size: 14px;
1910
+ line-height: 20px;
1911
+ font-weight: 400;
1912
+ color: #da291c;
1913
+ text-decoration: underline;
1914
+ text-underline-offset: 2px;
1918
1915
  }
1919
- .CartOverlay-module__dismissButton___57qsq:hover {
1920
- background-color: rgba(218, 41, 28, 0.05);
1916
+ .CartHeader-module__clearAllButton___B3bNF:hover {
1917
+ color: #961c13;
1921
1918
  }
1922
- .CartOverlay-module__dismissButton___57qsq:focus-visible {
1919
+ .CartHeader-module__clearAllButton___B3bNF:focus-visible {
1923
1920
  outline: 2px solid #da291c;
1924
1921
  outline-offset: 2px;
1922
+ border-radius: 2px;
1925
1923
  }
1926
1924
 
1927
- .CartOverlay-module__errorMessage___ylBiH {
1928
- margin: auto 24px;
1929
- padding: 16px;
1930
- font-size: 20px;
1931
- line-height: 28px;
1932
- color: #3d3935;
1933
- text-align: center;
1934
- }
1935
-
1936
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.module.scss */
1925
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.module.scss */
1937
1926
  /* center a block element */
1938
1927
  /* use this to any of the pseudo elements as these are the mandatory properties */
1939
1928
  /* setting styles in separate formats for cross browser support */
1940
1929
  /* specify the max width for an element and apply ellipses and truncate the overflow */
1941
1930
  /* vertically center alilgn any HTML element */
1942
1931
  /* add basePath to assets */
1943
- .CartFooter-module__cartFooter___pgZ1x {
1944
- display: flex;
1945
- flex-direction: column;
1946
- background-color: #3d3935;
1947
- border-radius: 8px 8px 0 0;
1948
- padding: 16px 24px;
1949
- gap: 16px;
1950
- }
1951
- @media (max-width: 767px) {
1952
- .CartFooter-module__cartFooter___pgZ1x {
1953
- padding: 16px;
1954
- }
1955
- }
1956
-
1957
- .CartFooter-module__footerTotals___sG-0P {
1958
- display: flex;
1959
- justify-content: space-between;
1960
- gap: 0;
1961
- }
1962
-
1963
- .CartFooter-module__footerTotalsItem___zs1hY {
1932
+ .EmptyCart-module__emptyState___HtCXJ {
1964
1933
  display: flex;
1965
1934
  flex-direction: column;
1966
- justify-content: space-between;
1967
- gap: 2px;
1935
+ align-items: center;
1936
+ justify-content: center;
1968
1937
  flex: 1;
1969
- padding: 0 16px;
1970
- }
1971
- .CartFooter-module__footerTotalsItem___zs1hY:first-child {
1972
- padding-left: 0;
1973
- }
1974
- .CartFooter-module__footerTotalsItem___zs1hY:last-child {
1975
- padding-right: 0;
1976
- }
1977
-
1978
- .CartFooter-module__footerTotalsItemDivider___--UXf {
1979
- border-left: 1px solid #b3aeaa;
1938
+ padding: 32px 24px 24px;
1939
+ text-align: center;
1980
1940
  }
1981
1941
 
1982
- .CartFooter-module__footerTotalsLabel___Z30Az {
1983
- font-size: 12px;
1984
- line-height: 16px;
1985
- color: #b3aeaa;
1942
+ .EmptyCart-module__emptyIcon___A7F8f {
1943
+ margin-bottom: 8px;
1986
1944
  }
1987
1945
 
1988
- .CartFooter-module__footerTotalsValue___NfXPQ {
1946
+ .EmptyCart-module__emptyText___aX6Nu {
1989
1947
  font-size: 16px;
1990
1948
  line-height: 24px;
1991
1949
  font-weight: 700;
1992
- color: #ffffff;
1950
+ color: #3d3935;
1951
+ margin: 0 0 44px;
1993
1952
  }
1994
1953
 
1995
- .CartFooter-module__footerButtons___6xWKX {
1954
+ .EmptyCart-module__emptySubText___P504H {
1955
+ font-size: 14px;
1956
+ line-height: 20px;
1957
+ color: #787472;
1958
+ margin: 0 0 8px;
1959
+ }
1960
+
1961
+ .EmptyCart-module__categoryLinks___J9tic {
1996
1962
  display: flex;
1997
- text-align: center;
1998
1963
  gap: 12px;
1964
+ width: 100%;
1965
+ justify-content: center;
1999
1966
  }
2000
- .CartFooter-module__footerButtons___6xWKX > div {
1967
+
1968
+ .EmptyCart-module__categoryLink___YxsmA {
1969
+ display: flex;
1970
+ flex-direction: column;
1971
+ align-items: center;
1972
+ justify-content: center;
1973
+ gap: 6px;
2001
1974
  flex: 1;
1975
+ padding: 12px 8px;
1976
+ background-color: #ffffff;
1977
+ border: none;
1978
+ border-radius: 8px;
1979
+ text-decoration: none;
1980
+ color: #3d3935;
1981
+ font-size: 12px;
1982
+ line-height: 16px;
1983
+ font-weight: 500;
1984
+ text-align: center;
1985
+ transition: background-color 0.15s ease;
2002
1986
  }
2003
- .CartFooter-module__footerButtons___6xWKX a {
1987
+ .EmptyCart-module__categoryLink___YxsmA:hover {
1988
+ background-color: #f8f8f8;
2004
1989
  text-decoration: none;
1990
+ color: #3d3935;
1991
+ }
1992
+ .EmptyCart-module__categoryLink___YxsmA:focus-visible {
1993
+ outline: 2px solid #e6003c;
1994
+ outline-offset: 2px;
1995
+ }
1996
+
1997
+ .EmptyCart-module__categoryLinkIcon___HjhbO {
1998
+ display: flex;
1999
+ align-items: center;
2000
+ justify-content: center;
2001
+ }
2002
+
2003
+ .EmptyCart-module__categoryLinkLabel___1dS9s {
2004
+ line-height: 1.3;
2005
2005
  }
2006
2006
 
2007
2007
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/sales-static-components",
3
- "version": "5.0.0-beta.3",
3
+ "version": "5.0.1",
4
4
  "description": "Static Reusable Components Library",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",