@sunrise-upc/sales-static-components 4.1.0-beta.2 → 4.1.0-beta.3
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/DeviceGallery/DeviceGalleryList.js +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryList.module.scss.js +1 -1
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCards.css +10 -16
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCards.js +1 -1
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCards.js.map +1 -1
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCards.module.scss.css +10 -16
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCardsArrows.css +10 -16
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCardsArrows.js +1 -1
- package/dist/cjs/components/InternetAndTvCards/InternetAndTvCardsArrows.js.map +1 -1
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.css +30 -29
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js +1 -1
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js.map +1 -1
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.module.scss.css +30 -29
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.module.scss.js +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.js +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.module.scss.js +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCards.css +10 -16
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCards.js +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCards.js.map +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCards.module.scss.css +10 -16
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCardsArrows.css +10 -16
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCardsArrows.js +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCardsArrows.js.map +1 -1
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.css +30 -29
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js +1 -1
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js.map +1 -1
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.module.scss.css +30 -29
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.module.scss.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/navigation.css +207 -207
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './DeviceGalleryList.css';
|
|
2
|
-
import{jsx as e,jsxs as
|
|
2
|
+
import{jsx as e,jsxs as i,Fragment as r}from"react/jsx-runtime";import{useRef as t,useState as n,useEffect as o}from"react";import{Swiper as l,SwiperSlide as s}from"swiper/react";import{Pagination as a}from"swiper/modules";import"swiper/css";import"swiper/css/pagination";import c from"./DeviceGalleryItem/DeviceGalleryItem.js";import{DEVICE_GALLERY_ARROW_ICONS as d}from"./DeviceGalleryArrowIcons.js";import m from"../ResponsiveRow/row.js";import u from"./DeviceGalleryList.module.scss.js";const w=()=>"undefined"==typeof window?1:window.innerWidth>=1440?4:window.innerWidth>=1024?3:window.innerWidth>=768?2:1,p=({content:p,onEligibleItem:v,onPrepareItemAnalytics:g,useFalconStyle:f=!0})=>{const h=t(null),y=t(null),[b,I]=n(!0),[N,S]=n(!1),[C,P]=n(w),G=(null==p?void 0:p.deviceGalleryItemList)||[],E=f?u["falcon-section"]:u.section,k=G.length>C,x=k&&(!0===p.loopSlides||"true"===p.loopSlides),B=e=>{I(e.isBeginning),S(e.isEnd)};return o(()=>{const e=()=>P(w());return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),o(()=>{const e=h.current;if(!e||"undefined"==typeof IntersectionObserver)return;const i=new IntersectionObserver(e=>{const i=e[0],r=(()=>{if("undefined"==typeof window)return[];try{return JSON.parse(localStorage.getItem("analyticsUids")||"[]")}catch(e){return[]}})();var t;i.isIntersecting&&i.intersectionRatio>=.5&&!r.includes(p._uid)&&(null==v||v("view"),t=[...r,p._uid],"undefined"!=typeof window&&localStorage.setItem("analyticsUids",JSON.stringify(t)))},{threshold:.5});return i.observe(e),()=>i.disconnect()},[p._uid,v]),e("div",{className:E,style:{backgroundColor:null==p?void 0:p.backgroundColor},ref:h,children:e(m,{children:i(r,{children:[(null==p?void 0:p.title)&&e("h2",{className:u.title,children:p.title}),i("div",{className:u["slider-wrapper"],children:[e(l,{modules:[a],className:`${u.swiper} ${k?u["has-controls"]:""}`.trim(),slidesPerView:1,slidesPerGroup:1,spaceBetween:12,loop:x,rewind:!1,allowTouchMove:k,grabCursor:!0,pagination:!!k&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:4,spaceBetween:8}},onSwiper:e=>{y.current=e,B(e)},onSlideChange:B,onReachBeginning:B,onReachEnd:B,onFromEdge:B,children:G.map((i,r)=>e(s,{className:u.slide,children:e(c,{content:i,index:r,onEligibleItem:v,onPrepareItemAnalytics:g,useFalconStyle:f,titleColor:null==p?void 0:p.deviceGalleryItemTitleColor,subtitleColor:null==p?void 0:p.deviceGalleryItemSubtitleColor})},i._uid))}),k&&(x||!b)&&i("button",{className:`${u.arrow} ${u["arrow-prev"]}`,type:"button","aria-label":"Previous slide",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slidePrev()},children:[e("img",{className:u["active-arrow"],src:d.left.active,alt:""}),e("img",{className:u["inactive-arrow"],src:d.left.inactive,alt:""})]}),k&&(x||!N)&&i("button",{className:`${u.arrow} ${u["arrow-next"]}`,type:"button","aria-label":"Next slide",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slideNext()},children:[e("img",{className:u["active-arrow"],src:d.right.active,alt:""}),e("img",{className:u["inactive-arrow"],src:d.right.inactive,alt:""})]})]})]})})})};export{p as default};
|
|
3
3
|
//# sourceMappingURL=DeviceGalleryList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceGalleryList.js","sources":["../../../../../src/components/DeviceGallery/DeviceGalleryList.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","window","innerWidth","DeviceGalleryList","content","onEligibleItem","onPrepareItemAnalytics","useFalconStyle","elementRef","useRef","swiperRef","isBeginning","setIsBeginning","useState","isEnd","setIsEnd","slidesPerView","setSlidesPerView","items","deviceGalleryItemList","sectionClassName","Styles","hasOverflow","length","updateNavigationState","swiper","useEffect","handleResize","addEventListener","removeEventListener","observedElement","current","IntersectionObserver","observer","entries","entry","trackedUids","JSON","parse","localStorage","getItem","_a","getTrackedUids","uids","isIntersecting","intersectionRatio","includes","_uid","setItem","stringify","threshold","observe","disconnect","_jsx","className","style","backgroundColor","ref","children","Row","_jsxs","_Fragment","title","Swiper","modules","Pagination","trim","slidesPerGroup","spaceBetween","loop","grabCursor","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","item","index","SwiperSlide","DeviceGalleryItem","titleColor","deviceGalleryItemTitleColor","subtitleColor","deviceGalleryItemSubtitleColor","type","onClick","slidePrev","src","DEVICE_GALLERY_ARROW_ICONS","left","active","alt","inactive","slideNext","right"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeviceGalleryList.js","sources":["../../../../../src/components/DeviceGallery/DeviceGalleryList.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","window","innerWidth","DeviceGalleryList","content","onEligibleItem","onPrepareItemAnalytics","useFalconStyle","elementRef","useRef","swiperRef","isBeginning","setIsBeginning","useState","isEnd","setIsEnd","slidesPerView","setSlidesPerView","items","deviceGalleryItemList","sectionClassName","Styles","hasOverflow","length","shouldLoop","loopSlides","updateNavigationState","swiper","useEffect","handleResize","addEventListener","removeEventListener","observedElement","current","IntersectionObserver","observer","entries","entry","trackedUids","JSON","parse","localStorage","getItem","_a","getTrackedUids","uids","isIntersecting","intersectionRatio","includes","_uid","setItem","stringify","threshold","observe","disconnect","_jsx","className","style","backgroundColor","ref","children","Row","_jsxs","_Fragment","title","Swiper","modules","Pagination","trim","slidesPerGroup","spaceBetween","loop","rewind","allowTouchMove","grabCursor","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","item","index","SwiperSlide","DeviceGalleryItem","titleColor","deviceGalleryItemTitleColor","subtitleColor","deviceGalleryItemSubtitleColor","type","onClick","slidePrev","src","DEVICE_GALLERY_ARROW_ICONS","left","active","alt","inactive","slideNext","right"],"mappings":"2eA8BA,MAcMA,EAAmB,IACD,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,IAAY,EAC9B,EAGHC,EAAoB,EACxBC,UACAC,iBACAC,yBACAC,kBAAiB,MAEjB,MAAMC,EAAaC,EAA8B,MAC3CC,EAAYD,EAAY,OACvBE,EAAaC,GAAkBC,GAAS,IACxCC,EAAOC,GAAYF,GAAS,IAC5BG,EAAeC,GAAoBJ,EAASb,GAC7CkB,GAAQd,aAAO,EAAPA,EAASe,wBAAyB,GAC1CC,EAAmBb,EAAiBc,EAAO,kBAAoBA,EAAgB,QAC/EC,EAAcJ,EAAMK,OAASP,EAC7BQ,EAAaF,KAAuC,IAAvBlB,EAAQqB,YAA8C,SAAvBrB,EAAQqB,YAEpEC,EAAyBC,IAC7Bf,EAAee,EAAOhB,aACtBI,EAASY,EAAOb,QAgClB,OA1BAc,EAAU,KACR,MAAMC,EAAe,IAAMZ,EAAiBjB,KAE5C,OADAC,OAAO6B,iBAAiB,SA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AQC,IAAI,KAC1F5C,EAAA,MAAA,CAAKC,UAAWnC,EAAO,kBAAmB0E,IAAKC,EAA2BM,MAAMF,SAAUD,IAAI"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './DeviceGalleryList.module.scss.css';
|
|
2
|
-
var e={section:"DeviceGalleryList-module__section___FYBX5","falcon-section":"DeviceGalleryList-module__falcon-section___NZLE5",title:"DeviceGalleryList-module__title___wQ6aY",slide:"DeviceGalleryList-module__slide___K-wHh","slider-wrapper":"DeviceGalleryList-module__slider-wrapper___-91-x",swiper:"DeviceGalleryList-module__swiper___8Xjs-","has-controls":"DeviceGalleryList-module__has-controls___uPX6X",arrow:"DeviceGalleryList-module__arrow___hjxmX","active-arrow":"DeviceGalleryList-module__active-arrow___bYo4D","inactive-arrow":"DeviceGalleryList-module__inactive-arrow___UjcZf","arrow-prev":"DeviceGalleryList-module__arrow-prev___eVBk8","arrow-next":"DeviceGalleryList-module__arrow-next___QbE1T"
|
|
2
|
+
var e={section:"DeviceGalleryList-module__section___FYBX5","falcon-section":"DeviceGalleryList-module__falcon-section___NZLE5",title:"DeviceGalleryList-module__title___wQ6aY",slide:"DeviceGalleryList-module__slide___K-wHh","slider-wrapper":"DeviceGalleryList-module__slider-wrapper___-91-x",swiper:"DeviceGalleryList-module__swiper___8Xjs-","has-controls":"DeviceGalleryList-module__has-controls___uPX6X",arrow:"DeviceGalleryList-module__arrow___hjxmX","active-arrow":"DeviceGalleryList-module__active-arrow___bYo4D","inactive-arrow":"DeviceGalleryList-module__inactive-arrow___UjcZf","arrow-prev":"DeviceGalleryList-module__arrow-prev___eVBk8","arrow-next":"DeviceGalleryList-module__arrow-next___QbE1T"};export{e as default};
|
|
3
3
|
//# sourceMappingURL=DeviceGalleryList.module.scss.js.map
|
|
@@ -33,22 +33,6 @@
|
|
|
33
33
|
font-weight: 700;
|
|
34
34
|
color: #86807c;
|
|
35
35
|
}
|
|
36
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:first-child {
|
|
37
|
-
padding-left: 10px;
|
|
38
|
-
}
|
|
39
|
-
@media (max-width: 767px) {
|
|
40
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:first-child {
|
|
41
|
-
padding-left: 6px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:last-child {
|
|
45
|
-
padding-right: 10px;
|
|
46
|
-
}
|
|
47
|
-
@media (max-width: 767px) {
|
|
48
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:last-child {
|
|
49
|
-
padding-right: 6px;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
36
|
@media (min-width: 768px) {
|
|
53
37
|
.InternetAndTvCards-module__container___yFefT .d-sm-block {
|
|
54
38
|
display: flex !important;
|
|
@@ -73,6 +57,12 @@
|
|
|
73
57
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
|
|
74
58
|
margin-bottom: 20px;
|
|
75
59
|
}
|
|
60
|
+
@media (max-width: 767px) {
|
|
61
|
+
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
|
|
62
|
+
padding-left: 16px;
|
|
63
|
+
padding-right: 16px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
76
66
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc {
|
|
77
67
|
text-align: center;
|
|
78
68
|
padding-bottom: 16px;
|
|
@@ -82,6 +72,7 @@
|
|
|
82
72
|
}
|
|
83
73
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper {
|
|
84
74
|
overflow: hidden;
|
|
75
|
+
padding-bottom: 16px;
|
|
85
76
|
}
|
|
86
77
|
@media (max-width: 767px) {
|
|
87
78
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper {
|
|
@@ -102,6 +93,9 @@
|
|
|
102
93
|
background: #da291c;
|
|
103
94
|
opacity: 1;
|
|
104
95
|
}
|
|
96
|
+
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
97
|
+
padding-bottom: 16px;
|
|
98
|
+
}
|
|
105
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
100
|
height: auto;
|
|
107
101
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './InternetAndTvCards.css';
|
|
2
|
-
import{jsxs as e,jsx as n,Fragment as i}from"react/jsx-runtime";import{useState as o,useRef as
|
|
2
|
+
import{jsxs as e,jsx as n,Fragment as i}from"react/jsx-runtime";import{useState as o,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 v}from"./InternetAndTvCardsArrows.js";import u from"../ResponsiveRow/row.js";import p 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 N,NONE as j,H1 as k,H2 as $,H3 as B,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,x=({content:x,metadata:R})=>{var T,y,P,V,A,E,O,F,D,L;const W="2"===x.cardsInRow?2:"3"===x.cardsInRow?3:4,[_,z]=o([]),[G,M]=o(()=>S(W)),U=r(null),[q,H]=o(!0),[J,K]=o(!1);t(()=>{const e=((null==x?void 0:x.Cards)||[]).filter(e=>!e.notToDisplay);z(e)},[null==x?void 0:x.Cards]);const Q=_.length>G,X=Q&&(!0===x.loopSlides||"true"===x.loopSlides);t(()=>{const e=()=>M(S(W));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[W]);const Y=e=>{H(e.isBeginning),K(e.isEnd)},Z=()=>{var e;return null===(e=U.current)||void 0===e?void 0:e.slidePrev()},ee=()=>{var e;return null===(e=U.current)||void 0===e?void 0:e.slideNext()},ne="2"===x.cardsInRow&&2===x.Cards.length?C:"2"===x.cardsInRow&&x.Cards.length>2?f:"3"===x.cardsInRow?C:N,ie=null===(y=null===(T=x.gradientBackgroundGlobal)||void 0===T?void 0:T.replace(/;\s*$/,""))||void 0===y?void 0:y.trim(),oe=!!ie&&ie.toLowerCase()!==j,re=oe?"":g(x.gradientBackground),te=!oe&&x.gradientBackground!==j&&!!re,le=te?re:"",de=b(x.headlineColor),se=x.headlineColor&&x.headlineColor!==j?de:"",ae=x.headlineColor&&x.headlineColor===j?{color:null===(P=x.headlineColorPicker)||void 0===P?void 0:P.color}:{},ce=i=>e("div",{className:a["slider-wrapper"],children:[n(l,{modules:[s],className:`${a.swiper} ${Q?a["has-controls"]:""}`.trim(),slidesPerView:"auto",slidesPerGroup:1,spaceBetween:0,loop:X,rewind:!1,allowTouchMove:Q,grabCursor:!0,pagination:!!Q&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:W,spaceBetween:16}},onSwiper:e=>{U.current=e,Y(e)},onSlideChange:Y,onReachBeginning:Y,onReachEnd:Y,onFromEdge:Y,children:i.map((e,i)=>n(d,{className:a.slide,children:n(c,{content:e,metadata:R,index:i})},e._uid))}),Q&&(X||!q)&&n(m,{onClick:Z}),Q&&(X||!J)&&n(v,{onClick:ee})]});return e("div",{className:`${a.container} ${le}`,id:x.id||"",style:Object.assign({},oe?{background:ie}:te?{}:{backgroundColor:null===(V=x.backgroundColor)||void 0===V?void 0:V.color}),children:[(null===(A=null==x?void 0:x.topSpace)||void 0===A?void 0:A.length)>0&&n(p,{content:x.topSpace[0]}),n(u,{children:e(i,{children:[(x.overlineText||(null===(E=x.description)||void 0===E?void 0:E.length)>0||(null===(O=null==x?void 0:x.button)||void 0===O?void 0:O.length)>0||x.title)&&e("div",{className:a["text-container"],children:[x.overlineText&&n("div",{className:a.overline,children:x.overlineText}),x.title&&x.headlineVariants===k?e("h1",{className:se,style:Object.assign({},ae),children:[x.title," "]}):x.headlineVariants===$?n("h2",{className:se,style:Object.assign({},ae),children:x.title}):x.headlineVariants===B?n("h3",{className:se,style:Object.assign({},ae),children:x.title}):n("h4",{className:se,style:Object.assign({},ae),children:x.title}),(null===(F=x.description)||void 0===F?void 0:F.length)>0&&n(w,{content:x.description[0]}),(null==x?void 0:x.button)&&(null===(D=null==x?void 0:x.button)||void 0===D?void 0:D.length)>0&&n("div",{className:a.btn,children:n(h,{content:x.button[0],eventAction:x.title,metadata:R})})]}),x.isMobSlider&&x.variant===I?e(i,{children:[n("div",{className:`row ${a.cards} d-none d-sm-block`,children:_.map((e,i)=>n("div",{className:`${ne} col-md-4 col-sm-6 ${a.card}`,children:n(c,{content:e,metadata:R,index:i})},e._uid))}),n("div",{className:`d-block d-sm-none ${a.carousel}`,children:_.length>0&&ce(_)})]}):x.variant===I?n("div",{className:`row ${a.cards}`,children:_.map((e,i)=>n("div",{className:`${ne} col-md-4 col-sm-6 ${a.card}`,children:n(c,{content:e,metadata:R,index:i})},e._uid))}):n("div",{className:a.carousel,children:_.length>0&&ce(_)})]})}),(null===(L=null==x?void 0:x.bottomSpace)||void 0===L?void 0:L.length)>0&&n(p,{content:x.bottomSpace[0]})]})};export{x 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":["InternetAndTvCards","content","metadata","numberOfCardsInrow","cardsInRow","cardItems","setCardItems","useState","swiperRef","useRef","isBeginning","setIsBeginning","isEnd","setIsEnd","useEffect","visibleCards","Cards","filter","card","notToDisplay","
|
|
1
|
+
{"version":3,"file":"InternetAndTvCards.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCards.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","largeDesktopSlides","window","innerWidth","InternetAndTvCards","content","metadata","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","loop","rewind","allowTouchMove","grabCursor","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","_Fragment","_k","bottomSpace"],"mappings":"00BAsDA,MAAMA,EAAoBC,GACF,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAaF,EAClCC,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,IAAY,EAC9B,EAGHC,EAAqB,EAAGC,UAASC,uCACrC,MAAMC,EAA4C,MAAvBF,EAAQG,WAAqB,EAA2B,MAAvBH,EAAQG,WAAqB,EA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
|
}
|
|
36
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:first-child {
|
|
37
|
-
padding-left: 10px;
|
|
38
|
-
}
|
|
39
|
-
@media (max-width: 767px) {
|
|
40
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:first-child {
|
|
41
|
-
padding-left: 6px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:last-child {
|
|
45
|
-
padding-right: 10px;
|
|
46
|
-
}
|
|
47
|
-
@media (max-width: 767px) {
|
|
48
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:last-child {
|
|
49
|
-
padding-right: 6px;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
36
|
@media (min-width: 768px) {
|
|
53
37
|
.InternetAndTvCards-module__container___yFefT .d-sm-block {
|
|
54
38
|
display: flex !important;
|
|
@@ -73,6 +57,12 @@
|
|
|
73
57
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
|
|
74
58
|
margin-bottom: 20px;
|
|
75
59
|
}
|
|
60
|
+
@media (max-width: 767px) {
|
|
61
|
+
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
|
|
62
|
+
padding-left: 16px;
|
|
63
|
+
padding-right: 16px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
76
66
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc {
|
|
77
67
|
text-align: center;
|
|
78
68
|
padding-bottom: 16px;
|
|
@@ -82,6 +72,7 @@
|
|
|
82
72
|
}
|
|
83
73
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper {
|
|
84
74
|
overflow: hidden;
|
|
75
|
+
padding-bottom: 16px;
|
|
85
76
|
}
|
|
86
77
|
@media (max-width: 767px) {
|
|
87
78
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper {
|
|
@@ -102,6 +93,9 @@
|
|
|
102
93
|
background: #da291c;
|
|
103
94
|
opacity: 1;
|
|
104
95
|
}
|
|
96
|
+
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
97
|
+
padding-bottom: 16px;
|
|
98
|
+
}
|
|
105
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
100
|
height: auto;
|
|
107
101
|
}
|
|
@@ -33,22 +33,6 @@
|
|
|
33
33
|
font-weight: 700;
|
|
34
34
|
color: #86807c;
|
|
35
35
|
}
|
|
36
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:first-child {
|
|
37
|
-
padding-left: 10px;
|
|
38
|
-
}
|
|
39
|
-
@media (max-width: 767px) {
|
|
40
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:first-child {
|
|
41
|
-
padding-left: 6px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:last-child {
|
|
45
|
-
padding-right: 10px;
|
|
46
|
-
}
|
|
47
|
-
@media (max-width: 767px) {
|
|
48
|
-
.InternetAndTvCards-module__container___yFefT .col-md-4:last-child {
|
|
49
|
-
padding-right: 6px;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
36
|
@media (min-width: 768px) {
|
|
53
37
|
.InternetAndTvCards-module__container___yFefT .d-sm-block {
|
|
54
38
|
display: flex !important;
|
|
@@ -73,6 +57,12 @@
|
|
|
73
57
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
|
|
74
58
|
margin-bottom: 20px;
|
|
75
59
|
}
|
|
60
|
+
@media (max-width: 767px) {
|
|
61
|
+
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__cards___GoKeY .InternetAndTvCards-module__card___MMVzF {
|
|
62
|
+
padding-left: 16px;
|
|
63
|
+
padding-right: 16px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
76
66
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc {
|
|
77
67
|
text-align: center;
|
|
78
68
|
padding-bottom: 16px;
|
|
@@ -82,6 +72,7 @@
|
|
|
82
72
|
}
|
|
83
73
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper {
|
|
84
74
|
overflow: hidden;
|
|
75
|
+
padding-bottom: 16px;
|
|
85
76
|
}
|
|
86
77
|
@media (max-width: 767px) {
|
|
87
78
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper {
|
|
@@ -102,6 +93,9 @@
|
|
|
102
93
|
background: #da291c;
|
|
103
94
|
opacity: 1;
|
|
104
95
|
}
|
|
96
|
+
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper:not(.has-controls) {
|
|
97
|
+
padding-bottom: 16px;
|
|
98
|
+
}
|
|
105
99
|
.InternetAndTvCards-module__container___yFefT .InternetAndTvCards-module__carousel___9PXjc .swiper-slide {
|
|
106
100
|
height: auto;
|
|
107
101
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './InternetAndTvCardsArrows.css';
|
|
2
|
-
import{jsxs as a,jsx as r}from"react/jsx-runtime";import e from"./InternetAndTvCards.module.scss.js";import{DEVICE_GALLERY_ARROW_ICONS as i}from"../DeviceGallery/DeviceGalleryArrowIcons.js";const t=({disabled:t,onClick:l})=>a("button",{className:`${e.arrow} ${e["arrow-prev"]} ${t?e["arrow-disabled"]:""}`,type:"button","aria-label":"Previous slide",onClick:l,children:[r("img",{className:e["active-arrow"],src:i.left.active,alt:""}),r("img",{className:e["inactive-arrow"],src:i.left.inactive,alt:""})]}),l=({disabled:t,onClick:l})=>a("button",{className:`${e.arrow} ${e["arrow-next"]} ${t?e["arrow-disabled"]:""}`,type:"button","aria-label":"Next slide",onClick:l,children:[r("img",{className:e["active-arrow"],src:i.right.active,alt:""}),r("img",{className:e["inactive-arrow"],src:i.right.inactive,alt:""})]});export{t as LeftArrow,l as RightArrow};
|
|
2
|
+
import{jsxs as a,jsx as r}from"react/jsx-runtime";import e from"./InternetAndTvCards.module.scss.js";import{DEVICE_GALLERY_ARROW_ICONS as i}from"../DeviceGallery/DeviceGalleryArrowIcons.js";const t=({disabled:t,onClick:l})=>a("button",{className:`${e.arrow} ${e["arrow-prev"]} ${t?e["arrow-disabled"]:""}`,type:"button",disabled:t,"aria-label":"Previous slide",onClick:l,children:[r("img",{className:e["active-arrow"],src:i.left.active,alt:""}),r("img",{className:e["inactive-arrow"],src:i.left.inactive,alt:""})]}),l=({disabled:t,onClick:l})=>a("button",{className:`${e.arrow} ${e["arrow-next"]} ${t?e["arrow-disabled"]:""}`,type:"button",disabled:t,"aria-label":"Next slide",onClick:l,children:[r("img",{className:e["active-arrow"],src:i.right.active,alt:""}),r("img",{className:e["inactive-arrow"],src:i.right.inactive,alt:""})]});export{t as LeftArrow,l as RightArrow};
|
|
3
3
|
//# sourceMappingURL=InternetAndTvCardsArrows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternetAndTvCardsArrows.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCardsArrows.tsx"],"sourcesContent":[null],"names":["LeftArrow","disabled","onClick","_jsxs","className","Styles","type","
|
|
1
|
+
{"version":3,"file":"InternetAndTvCardsArrows.js","sources":["../../../../../src/components/InternetAndTvCards/InternetAndTvCardsArrows.tsx"],"sourcesContent":[null],"names":["LeftArrow","disabled","onClick","_jsxs","className","Styles","type","_jsx","src","DEVICE_GALLERY_ARROW_ICONS","left","active","alt","inactive","RightArrow","right"],"mappings":"oMASaA,EAAY,EAAGC,WAAUC,aACpCC,EAAA,SAAA,CACEC,UAAW,GAAGC,EAAc,SAAKA,EAAO,iBAAiBJ,EAAWI,EAAO,kBAAoB,KAC/FC,KAAK,SACLL,SAAUA,eACC,iBACXC,QAASA,YAETK,EAAA,MAAA,CAAKH,UAAWC,EAAO,gBAAiBG,IAAKC,EAA2BC,KAAKC,OAAQC,IAAI,KACzFL,EAAA,MAAA,CAAKH,UAAWC,EAAO,kBAAmBG,IAAKC,EAA2BC,KAAKG,SAAUD,IAAI,QAIpFE,EAAa,EAAGb,WAAUC,aACrCC,EAAA,SAAA,CACEC,UAAW,GAAGC,EAAc,SAAKA,EAAO,iBAAiBJ,EAAWI,EAAO,kBAAoB,KAC/FC,KAAK,SACLL,SAAUA,eACC,aACXC,QAASA,YAETK,EAAA,MAAA,CAAKH,UAAWC,EAAO,gBAAiBG,IAAKC,EAA2BM,MAAMJ,OAAQC,IAAI,KAC1FL,EAAA,MAAA,CAAKH,UAAWC,EAAO,kBAAmBG,IAAKC,EAA2BM,MAAMF,SAAUD,IAAI"}
|
|
@@ -30,22 +30,6 @@
|
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
color: #86807c;
|
|
32
32
|
}
|
|
33
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:first-child {
|
|
34
|
-
padding-left: 10px;
|
|
35
|
-
}
|
|
36
|
-
@media (max-width: 767px) {
|
|
37
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:first-child {
|
|
38
|
-
padding-left: 6px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:last-child {
|
|
42
|
-
padding-right: 10px;
|
|
43
|
-
}
|
|
44
|
-
@media (max-width: 767px) {
|
|
45
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:last-child {
|
|
46
|
-
padding-right: 6px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
33
|
.InternetAndTvCardsBenefits-module__container___raz-h .d-sm-block {
|
|
50
34
|
display: flex !important;
|
|
51
35
|
}
|
|
@@ -65,34 +49,51 @@
|
|
|
65
49
|
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__cards___UHimj .InternetAndTvCardsBenefits-module__card___VEZEh {
|
|
66
50
|
margin-bottom: 20px;
|
|
67
51
|
}
|
|
52
|
+
@media (max-width: 767px) {
|
|
53
|
+
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__cards___UHimj .InternetAndTvCardsBenefits-module__card___VEZEh {
|
|
54
|
+
padding-left: 16px;
|
|
55
|
+
padding-right: 16px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
68
58
|
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI {
|
|
69
59
|
text-align: center;
|
|
70
60
|
padding-bottom: 16px;
|
|
71
61
|
}
|
|
72
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-
|
|
62
|
+
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-module__slide___vS8wq {
|
|
63
|
+
height: auto;
|
|
64
|
+
padding: 0 8px;
|
|
65
|
+
}
|
|
66
|
+
@media (max-width: 767px) {
|
|
67
|
+
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-module__slide___vS8wq {
|
|
68
|
+
padding-left: 16px;
|
|
69
|
+
width: calc(100vw - 114px) !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e {
|
|
73
74
|
overflow: hidden;
|
|
75
|
+
padding-bottom: 16px;
|
|
74
76
|
}
|
|
75
|
-
|
|
77
|
+
@media (max-width: 767px) {
|
|
78
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e {
|
|
79
|
+
padding-left: 37px !important;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e .swiper-pagination {
|
|
76
83
|
bottom: 0;
|
|
77
84
|
}
|
|
78
|
-
.InternetAndTvCardsBenefits-
|
|
85
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e .swiper-pagination-bullet {
|
|
79
86
|
background: #8a8a8a;
|
|
80
87
|
height: 10px;
|
|
81
88
|
margin: 0 4px !important;
|
|
82
89
|
opacity: 0.25;
|
|
83
90
|
width: 10px;
|
|
84
91
|
}
|
|
85
|
-
.InternetAndTvCardsBenefits-
|
|
92
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e .swiper-pagination-bullet-active {
|
|
86
93
|
background: #da291c;
|
|
87
94
|
opacity: 1;
|
|
88
95
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
padding:
|
|
92
|
-
}
|
|
93
|
-
@media (max-width: 767px) {
|
|
94
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-module__slide___vS8wq {
|
|
95
|
-
padding: 0;
|
|
96
|
-
width: calc(100vw - 114px) !important;
|
|
97
|
-
}
|
|
96
|
+
|
|
97
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e:not(.InternetAndTvCardsBenefits-module__has-controls___OPIkr) {
|
|
98
|
+
padding-bottom: 16px;
|
|
98
99
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './InternetAndTvCardsBenefits.css';
|
|
2
|
-
import{jsxs as l,jsx as n,Fragment as o}from"react/jsx-runtime";import e from"./InternetAndTvCardItemBenefits.js";import i from"./InternetAndTvCardsBenefits.module.scss.js";import{useState as d,useEffect as t}from"react";import{Swiper as
|
|
2
|
+
import{jsxs as l,jsx as n,Fragment as o}from"react/jsx-runtime";import e from"./InternetAndTvCardItemBenefits.js";import i from"./InternetAndTvCardsBenefits.module.scss.js";import{useState as d,useEffect as t}from"react";import{Swiper as r,SwiperSlide as a}from"swiper/react";import{Pagination as s}from"swiper/modules";import"swiper/css";import"swiper/css/pagination";import c from"../ResponsiveRow/row.js";import v from"../FalconDescription/FalconDescription.js";import{getFalconColorsClass as u}from"../../utils/StyleUtils.js";import m from"../FalconButton/falconButton.js";import p from"../Spacer/spacer.js";import{COLLG4 as h,COLLG6 as w,COLLG3 as g,NONE as b,H1 as f,H2 as N,H3 as C,STACK as j}from"../Constants.js";const B=l=>"undefined"==typeof window?1:window.innerWidth>=1440?l:window.innerWidth>=1024?3:window.innerWidth>=768?2:1,k=({content:k,metadata:$})=>{var S,y,I,R,T,V,x,P;const G="2"===(null==k?void 0:k.cardsInRow)?2:"3"===(null==k?void 0:k.cardsInRow)?3:4,O="2"===(null==k?void 0:k.cardsInRow)&&2==(null==k?void 0:k.Cards.length)?h:"2"===(null==k?void 0:k.cardsInRow)&&(null==k?void 0:k.Cards.length)>2?w:"3"===(null==k?void 0:k.cardsInRow)?h:g,A=(null==k?void 0:k.gradientBackgroundGlobal)&&"none"!==(null==k?void 0:k.gradientBackgroundGlobal)?null==k?void 0:k.gradientBackgroundGlobal.replace(/;\s*$/,""):void 0,D=u(null==k?void 0:k.headlineColor),F=(null==k?void 0:k.headlineColor)&&(null==k?void 0:k.headlineColor)!==b?D:"",W=(null==k?void 0:k.headlineColor)&&(null==k?void 0:k.headlineColor)===b?{color:null===(S=null==k?void 0:k.headlineColorPicker)||void 0===S?void 0:S.color}:{},[z,E]=d([]),[L,M]=d(()=>B(G));t(()=>{var l;const n=[];(null===(l=null==k?void 0:k.Cards)||void 0===l?void 0:l.length)>0&&(null==k||k.Cards.map(l=>{!l.notToDisplay&&n.push(l)})),E(n)},[]);const U=z.length>L,q=U&&(!0===(null==k?void 0:k.loopSlides)||"true"===(null==k?void 0:k.loopSlides));t(()=>{const l=()=>M(B(G));return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[G]);const H=l=>n(r,{modules:[s],className:`${i.swiper} ${U?i["has-controls"]:""}`.trim(),slidesPerView:"auto",slidesPerGroup:1,spaceBetween:0,loop:q,rewind:!1,allowTouchMove:U,grabCursor:!0,pagination:!!U&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:G,spaceBetween:16}},children:l.map((l,o)=>n(a,{className:i.slide,children:n(e,{content:l,metadata:$})},o))});return l("div",{className:i.container,id:(null==k?void 0:k.id)||"",style:{background:A||(null===(y=null==k?void 0:k.backgroundColor)||void 0===y?void 0:y.color)},children:[(null===(I=null==k?void 0:k.topSpace)||void 0===I?void 0:I.length)>0&&n(p,{content:null==k?void 0:k.topSpace[0]}),n(c,{children:l(o,{children:[((null==k?void 0:k.overlineText)||(null===(R=null==k?void 0:k.description)||void 0===R?void 0:R.length)>0||(null===(T=null==k?void 0:k.button)||void 0===T?void 0:T.length)>0||(null==k?void 0:k.title))&&l("div",{className:i["text-container"],children:[(null==k?void 0:k.overlineText)&&n("div",{className:i.overline,children:null==k?void 0:k.overlineText}),(null==k?void 0:k.title)&&(null==k?void 0:k.headlineVariants)===f?l("h1",{className:F,style:Object.assign({},W),children:[null==k?void 0:k.title," "]}):(null==k?void 0:k.headlineVariants)===N?n("h2",{className:F,style:Object.assign({},W),children:null==k?void 0:k.title}):(null==k?void 0:k.headlineVariants)===C?n("h3",{className:F,style:Object.assign({},W),children:null==k?void 0:k.title}):n("h4",{className:F,style:Object.assign({},W),children:null==k?void 0:k.title}),(null===(V=null==k?void 0:k.description)||void 0===V?void 0:V.length)>0&&n(v,{content:null==k?void 0:k.description[0]}),(null==k?void 0:k.button)&&(null===(x=null==k?void 0:k.button)||void 0===x?void 0:x.length)>0&&n("div",{className:i.btn,children:n(m,{content:null==k?void 0:k.button[0],eventAction:null==k?void 0:k.title,metadata:$})})]}),(null==k?void 0:k.isMobSlider)&&(null==k?void 0:k.variant)===j?l(o,{children:[n("div",{className:`row ${i.cards} d-none d-sm-block`,children:(null==z?void 0:z.length)>0&&(null==z?void 0:z.map((l,o)=>n("div",{className:`${O} col-md-4 col-sm-6 ${i.card}`,children:n(e,{content:l,metadata:$})},o)))}),n("div",{className:`d-block d-sm-none ${i.carousel}`,children:(null==z?void 0:z.length)>0&&H(z)})]}):(null==k?void 0:k.variant)===j?n("div",{className:`row ${i.cards}`,children:(null==z?void 0:z.length)>0&&(null==z?void 0:z.map((l,o)=>n("div",{className:`${O} col-md-4 col-sm-6 ${i.card}`,children:n(e,{content:l,metadata:$})},o)))}):n("div",{className:i.carousel,children:(null==z?void 0:z.length)>0&&H(z)})]})}),(null===(P=null==k?void 0:k.bottomSpace)||void 0===P?void 0:P.length)>0&&n(p,{content:null==k?void 0:k.bottomSpace[0]})]})};export{k as default};
|
|
3
3
|
//# sourceMappingURL=InternetAndTvCardsBenefits.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternetAndTvCardsBenefits.js","sources":["../../../../../src/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.tsx"],"sourcesContent":[null],"names":["InternetAndTvCardsBenefits","content","metadata","numberOfCardsInrow","cardsInRow","cols","Cards","length","COLLG4","COLLG6","COLLG3","backgroundGradient","gradientBackgroundGlobal","replace","undefined","headlineStyle","getFalconColorsClass","headlineColor","titleClassname","NONE","titleColor","color","headlineColorPicker","_a","cardItems","setCardItems","useState","useEffect","arr","map","card","notToDisplay","push","renderCarousel","items","_jsx","Swiper","modules","Pagination","className","Styles","
|
|
1
|
+
{"version":3,"file":"InternetAndTvCardsBenefits.js","sources":["../../../../../src/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","largeDesktopSlides","window","innerWidth","InternetAndTvCardsBenefits","content","metadata","numberOfCardsInrow","cardsInRow","cols","Cards","length","COLLG4","COLLG6","COLLG3","backgroundGradient","gradientBackgroundGlobal","replace","undefined","headlineStyle","getFalconColorsClass","headlineColor","titleClassname","NONE","titleColor","color","headlineColorPicker","_a","cardItems","setCardItems","useState","slidesPerView","setSlidesPerView","useEffect","arr","map","card","notToDisplay","push","hasOverflow","shouldLoop","loopSlides","handleResize","addEventListener","removeEventListener","renderCarousel","items","_jsx","Swiper","modules","Pagination","className","Styles","trim","slidesPerGroup","spaceBetween","loop","rewind","allowTouchMove","grabCursor","pagination","clickable","breakpoints","children","index","SwiperSlide","InternetAndTvCardItemBenefits","_jsxs","id","style","background","_b","backgroundColor","_c","topSpace","Spacer","Row","_Fragment","overlineText","_d","description","_e","button","title","headlineVariants","H1","Object","assign","H2","H3","_f","FalconDescription","_g","FalconButton","eventAction","isMobSlider","variant","STACK","_h","bottomSpace"],"mappings":"ktBA2CA,MAAMA,EAAoBC,GACF,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAaF,EAClCC,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,IAAY,EAC9B,EAGHC,EAAuC,EAC3CC,UACAC,mCAEA,MAAMC,EAA6C,OAAxBF,aAAO,EAAPA,EAASG,YAAqB,EAA4B,OAAxBH,aAAO,EAAPA,EAASG,YAAqB,EAAI,EACzFC,EACoB,OAAxBJ,aAAO,EAAPA,EAASG,aAA+C,IAAzBH,aAAO,EAAPA,EAASK,MAAMC,QAC1CC,EACwB,OAAxBP,aAAO,EAAPA,EAASG,cAAsBH,aAAO,EAAPA,EAASK,MAAMC,QAAS,EACvDE,EACwB,OAAxBR,eAAAA,EAASG,YACTI,EACAE,EACAC,GACJV,aAAO,EAAPA,EAASW,2BAAkE,UAAtCX,aAAO,EAAPA,EAASW,0BAC1CX,eAAAA,EAASW,yBAAyBC,QAAQ,QAAS,SACnDC,EACAC,EAAgBC,EAAqBf,aAAO,EAAPA,EAASgB,eAC9CC,GACJjB,aAAO,EAAPA,EAASgB,iBAAiBhB,aAAO,EAAPA,EAASgB,iBAAkBE,EAAOJ,EAAgB,GACxEK,GACJnB,aAAO,EAAPA,EAASgB,iBAAiBhB,aAAO,EAAPA,EAASgB,iBAAkBE,EACjD,CAAEE,MAAmC,UAA5BpB,aAAO,EAAPA,EAASqB,2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AS,GAAKkC,EAAejB,WAM5B,QAApBsE,EAAA7F,eAAAA,EAAS8F,mBAAW,IAAAD,OAAA,EAAAA,EAAEvF,QAAS,GAAKoC,EAAC4B,EAAM,CAACtE,QAASA,aAAO,EAAPA,EAAS8F,YAAY"}
|
package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.module.scss.css
CHANGED
|
@@ -30,22 +30,6 @@
|
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
color: #86807c;
|
|
32
32
|
}
|
|
33
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:first-child {
|
|
34
|
-
padding-left: 10px;
|
|
35
|
-
}
|
|
36
|
-
@media (max-width: 767px) {
|
|
37
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:first-child {
|
|
38
|
-
padding-left: 6px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:last-child {
|
|
42
|
-
padding-right: 10px;
|
|
43
|
-
}
|
|
44
|
-
@media (max-width: 767px) {
|
|
45
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .col-md-4:last-child {
|
|
46
|
-
padding-right: 6px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
33
|
.InternetAndTvCardsBenefits-module__container___raz-h .d-sm-block {
|
|
50
34
|
display: flex !important;
|
|
51
35
|
}
|
|
@@ -65,34 +49,51 @@
|
|
|
65
49
|
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__cards___UHimj .InternetAndTvCardsBenefits-module__card___VEZEh {
|
|
66
50
|
margin-bottom: 20px;
|
|
67
51
|
}
|
|
52
|
+
@media (max-width: 767px) {
|
|
53
|
+
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__cards___UHimj .InternetAndTvCardsBenefits-module__card___VEZEh {
|
|
54
|
+
padding-left: 16px;
|
|
55
|
+
padding-right: 16px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
68
58
|
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI {
|
|
69
59
|
text-align: center;
|
|
70
60
|
padding-bottom: 16px;
|
|
71
61
|
}
|
|
72
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-
|
|
62
|
+
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-module__slide___vS8wq {
|
|
63
|
+
height: auto;
|
|
64
|
+
padding: 0 8px;
|
|
65
|
+
}
|
|
66
|
+
@media (max-width: 767px) {
|
|
67
|
+
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-module__slide___vS8wq {
|
|
68
|
+
padding-left: 16px;
|
|
69
|
+
width: calc(100vw - 114px) !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e {
|
|
73
74
|
overflow: hidden;
|
|
75
|
+
padding-bottom: 16px;
|
|
74
76
|
}
|
|
75
|
-
|
|
77
|
+
@media (max-width: 767px) {
|
|
78
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e {
|
|
79
|
+
padding-left: 37px !important;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e .swiper-pagination {
|
|
76
83
|
bottom: 0;
|
|
77
84
|
}
|
|
78
|
-
.InternetAndTvCardsBenefits-
|
|
85
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e .swiper-pagination-bullet {
|
|
79
86
|
background: #8a8a8a;
|
|
80
87
|
height: 10px;
|
|
81
88
|
margin: 0 4px !important;
|
|
82
89
|
opacity: 0.25;
|
|
83
90
|
width: 10px;
|
|
84
91
|
}
|
|
85
|
-
.InternetAndTvCardsBenefits-
|
|
92
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e .swiper-pagination-bullet-active {
|
|
86
93
|
background: #da291c;
|
|
87
94
|
opacity: 1;
|
|
88
95
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
padding:
|
|
92
|
-
}
|
|
93
|
-
@media (max-width: 767px) {
|
|
94
|
-
.InternetAndTvCardsBenefits-module__container___raz-h .InternetAndTvCardsBenefits-module__carousel___LB5pI .InternetAndTvCardsBenefits-module__slide___vS8wq {
|
|
95
|
-
padding: 0;
|
|
96
|
-
width: calc(100vw - 114px) !important;
|
|
97
|
-
}
|
|
96
|
+
|
|
97
|
+
.InternetAndTvCardsBenefits-module__swiper___Cp89e:not(.InternetAndTvCardsBenefits-module__has-controls___OPIkr) {
|
|
98
|
+
padding-bottom: 16px;
|
|
98
99
|
}
|
package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.module.scss.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './InternetAndTvCardsBenefits.module.scss.css';
|
|
2
|
-
var e={container:"InternetAndTvCardsBenefits-module__container___raz-h","text-container":"InternetAndTvCardsBenefits-module__text-container___90Wb3",btn:"InternetAndTvCardsBenefits-module__btn___rRfTF",overline:"InternetAndTvCardsBenefits-module__overline___2xTAG",cards:"InternetAndTvCardsBenefits-module__cards___UHimj",card:"InternetAndTvCardsBenefits-module__card___VEZEh",carousel:"InternetAndTvCardsBenefits-module__carousel___LB5pI",swiper:"InternetAndTvCardsBenefits-module__swiper___Cp89e",
|
|
2
|
+
var e={container:"InternetAndTvCardsBenefits-module__container___raz-h","text-container":"InternetAndTvCardsBenefits-module__text-container___90Wb3",btn:"InternetAndTvCardsBenefits-module__btn___rRfTF",overline:"InternetAndTvCardsBenefits-module__overline___2xTAG",cards:"InternetAndTvCardsBenefits-module__cards___UHimj",card:"InternetAndTvCardsBenefits-module__card___VEZEh",carousel:"InternetAndTvCardsBenefits-module__carousel___LB5pI",slide:"InternetAndTvCardsBenefits-module__slide___vS8wq",swiper:"InternetAndTvCardsBenefits-module__swiper___Cp89e","has-controls":"InternetAndTvCardsBenefits-module__has-controls___OPIkr"};export{e as default};
|
|
3
3
|
//# sourceMappingURL=InternetAndTvCardsBenefits.module.scss.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -374,6 +374,7 @@ interface DeviceGalleryListContent {
|
|
|
374
374
|
backgroundColor?: string;
|
|
375
375
|
deviceGalleryItemTitleColor?: string;
|
|
376
376
|
deviceGalleryItemSubtitleColor?: string;
|
|
377
|
+
loopSlides?: boolean | 'true' | 'false';
|
|
377
378
|
[key: string]: any;
|
|
378
379
|
}
|
|
379
380
|
interface DeviceGalleryListProps {
|
|
@@ -424,6 +425,7 @@ interface InternetAndTvCardsContent {
|
|
|
424
425
|
bottomSpace: SpacerSchema[];
|
|
425
426
|
id?: string;
|
|
426
427
|
isMobSlider?: boolean;
|
|
428
|
+
loopSlides?: boolean | 'true' | 'false';
|
|
427
429
|
[key: string]: any;
|
|
428
430
|
}
|
|
429
431
|
interface InternetAndTvCardsProps {
|