@sunrise-upc/sales-static-components 4.1.0-beta.2 → 4.1.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/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/cjs/components/QuickLinks/QuickLinks.js +1 -1
- package/dist/cjs/components/QuickLinks/QuickLinks.js.map +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/esm/components/QuickLinks/QuickLinks.js +1 -1
- package/dist/esm/components/QuickLinks/QuickLinks.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/navigation.css +747 -747
- package/package.json +1 -1
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
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './QuickLinks.css';
|
|
2
|
-
import{jsxs as o,jsx as n,Fragment as
|
|
2
|
+
import{jsxs as o,jsx as n,Fragment as i}from"react/jsx-runtime";import{useRef as l,useState as e,useEffect as t}from"react";import r from"./QuickLinkItem.js";import d from"../ResponsiveRow/row.js";import c from"./QuickLinkItem.module.scss.js";const a=({content:a,isAuthenticated:u=!1,rootClassName:s="",useFalconStyle:m=!0})=>{var k,v,g,b,L,h;const C=u?null==a?void 0:a.authQuickLinkItems:null==a?void 0:a.nonAuthQuickLinkItems,p=l(!0),[w,f]=e(!1),x=m?c["falcon-list-container"]:c["list-container"],B=null===(k=null==a?void 0:a.backgroundColor)||void 0===k?void 0:k.trim(),I=null===(v=null==a?void 0:a.mobileBackgroundColor)||void 0===v?void 0:v.trim(),N=null===(g=null==a?void 0:a.textColor)||void 0===g?void 0:g.trim(),q=(null===(b=null==a?void 0:a.quickLinkItemTextColor)||void 0===b?void 0:b.trim())||N,G=null===(L=null==a?void 0:a.gradientBackgroundGlobal)||void 0===L?void 0:L.trim().replace(/;\s*$/,""),j=null===(h=null==a?void 0:a.mobileGradientBackgroundGlobal)||void 0===h?void 0:h.trim().replace(/;\s*$/,""),T=G&&"none"!==G.toLowerCase()?G:B,$=j&&"none"!==j.toLowerCase()?j:I||T;return t(()=>{const o=()=>f(window.innerWidth<768);return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[]),o("div",{className:`row ${s} ${x}`.trim(),style:{background:w?$:T},children:[(null==a?void 0:a.quickLinkTitle)&&n("h2",{className:c["title-container"],children:a.quickLinkTitle}),n(d,{children:n(i,{children:C&&C.length>0&&o("div",{className:`col-lg-6 col-md-8 col-sm-10 col-12 ${c["list-item"]}`,children:[n("div",{className:"d-none d-sm-block d-md-block d-lg-block",children:n("div",{className:"d-flex justify-content-between",children:C.map(o=>n(r,{content:o,onLoadTrackComponent:p.current,textColor:q,gradientBackgroundGlobal:null==a?void 0:a.quickLinkItemgradientBackgroundGlobal,backgroundColor:null==a?void 0:a.quickLinkItemBackgroundColor},o._uid))})}),n("div",{className:"d-xs-block d-sm-none d-md-none d-lg-none",children:n("div",{className:"d-flex justify-content-between",children:C.slice(0,4).map(o=>n(r,{content:o,onLoadTrackComponent:!p.current,textColor:q,gradientBackgroundGlobal:null==a?void 0:a.quickLinkItemgradientBackgroundGlobal,backgroundColor:null==a?void 0:a.quickLinkItemBackgroundColor},o._uid))})})]})})})]})};export{a as default};
|
|
3
3
|
//# sourceMappingURL=QuickLinks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuickLinks.js","sources":["../../../../../src/components/QuickLinks/QuickLinks.tsx"],"sourcesContent":[null],"names":["QuickLinks","content","isAuthenticated","rootClassName","useFalconStyle","items","authQuickLinkItems","nonAuthQuickLinkItems","isComponentInMountingProcess","useRef","containerClassName","Styles","backgroundColor","_a","trim","
|
|
1
|
+
{"version":3,"file":"QuickLinks.js","sources":["../../../../../src/components/QuickLinks/QuickLinks.tsx"],"sourcesContent":[null],"names":["QuickLinks","content","isAuthenticated","rootClassName","useFalconStyle","items","authQuickLinkItems","nonAuthQuickLinkItems","isComponentInMountingProcess","useRef","isMobileViewport","setIsMobileViewport","useState","containerClassName","Styles","backgroundColor","_a","trim","mobileBackgroundColor","_b","textColor","_c","itemTextColor","_d","quickLinkItemTextColor","normalizedGradient","_e","gradientBackgroundGlobal","replace","normalizedMobileGradient","_f","mobileGradientBackgroundGlobal","backgroundStyle","toLowerCase","mobileBackgroundStyle","useEffect","updateViewport","window","innerWidth","addEventListener","removeEventListener","_jsxs","className","style","background","children","quickLinkTitle","_jsx","Row","_Fragment","length","map","quickLink","QuickLinkItem","onLoadTrackComponent","current","quickLinkItemgradientBackgroundGlobal","quickLinkItemBackgroundColor","_uid","slice"],"mappings":"mPA6BA,MAAMA,EAAa,EACjBC,UACAC,mBAAkB,EAClBC,gBAAgB,GAChBC,kBAAiB,sBAGjB,MAAMC,EAAQH,EAAkBD,aAAO,EAAPA,EAASK,mBAAqBL,aAAO,EAAPA,EAASM,sBACjEC,EAAmDC,GAAO,IACzDC,EAAkBC,GAAuBC,GAAS,GACnDC,EAAqBT,EAAiBU,EAAO,yBAA2BA,EAAO,kBAC/EC,EAA0C,QAAxBC,EAAAf,aAAO,EAAPA,EAASc,uBAAe,IAAAC,OAAA,EAAAA,EAAEC,OAC5CC,EAAsD,QAA9BC,EAAAlB,aAAO,EAAPA,EAASiB,6BAAqB,IAAAC,OAAA,EAAAA,EAAEF,OACxDG,EAA8B,QAAlBC,EAAApB,aAAO,EAAPA,EAASmB,iBAAS,IAAAC,OAAA,EAAAA,EAAEJ,OAChCK,GAA+C,QAA/BC,EAAAtB,aAAO,EAAPA,EAASuB,8BAAsB,IAAAD,OAAA,EAAAA,EAAEN,SAAUG,EAC3DK,EAAsD,QAAjCC,EAAAzB,eAAAA,EAAS0B,gCAAwB,IAAAD,OAAA,EAAAA,EAAET,OAAOW,QAAQ,QAAS,IAChFC,EAAkE,QAAvCC,EAAA7B,eAAAA,EAAS8B,sCAA8B,IAAAD,OAAA,EAAAA,EAAEb,OAAOW,QAAQ,QAAS,IAC5FI,EACJP,GAA2D,SAArCA,EAAmBQ,cACrCR,EACAV,EACAmB,EACJL,GAAuE,SAA3CA,EAAyBI,cACjDJ,EACAX,GAAyBc,EAS/B,OAPAG,EAAU,KACR,MAAMC,EAAiB,IAAMzB,EAAoB0B,OAAOC,WAAa,KAGrE,OAFAF,IACAC,OAAOE,iBAAiB,SAAUH,GAC3B,IAAMC,OAAOG,oBAAoB,SAAUJ,IACjD,IAGDK,SACEC,UAAW,OAAOvC,KAAiBU,IAAqBI,OACxD0B,MAAO,CAAEC,WAAYlC,EAAmBwB,EAAwBF,GAAiBa,SAAA,EAEhF5C,aAAO,EAAPA,EAAS6C,iBAAkBC,EAAA,KAAA,CAAIL,UAAW5B,EAAO,mBAAkB+B,SAAG5C,EAAQ6C,iBAC/EC,EAACC,YACCD,EAAAE,EAAA,CAAAJ,SACGxC,GAASA,EAAM6C,OAAS,GACvBT,EAAA,MAAA,CAAKC,UAAW,sCAAsC5B,EAAO,eAAc+B,SAAA,CACzEE,SAAKL,UAAW,0CAAyCG,SACvDE,EAAA,MAAA,CAAKL,UAAW,iCAAgCG,SAC7CxC,EAAM8C,IAAKC,GACVL,EAACM,EAAa,CAEZpD,QAASmD,EACTE,qBAAsB9C,EAA6B+C,QACnDnC,UAAWE,EACXK,yBAA0B1B,eAAAA,EAASuD,sCACnCzC,gBAAiBd,aAAO,EAAPA,EAASwD,8BALrBL,EAAUM,WAUvBX,EAAA,MAAA,CAAKL,UAAW,oDACdK,EAAA,MAAA,CAAKL,UAAW,iCAAgCG,SAC7CxC,EAAMsD,MAAM,EAAG,GAAGR,IAAKC,GACtBL,EAACM,EAAa,CAEZpD,QAASmD,EACTE,sBAAuB9C,EAA6B+C,QACpDnC,UAAWE,EACXK,yBAA0B1B,aAAO,EAAPA,EAASuD,sCACnCzC,gBAAiBd,eAAAA,EAASwD,8BALrBL,EAAUM"}
|
package/dist/index.d.ts
CHANGED
|
@@ -334,6 +334,8 @@ interface QuickLinksContent {
|
|
|
334
334
|
quickLinkItemTextColor?: string;
|
|
335
335
|
quickLinkItemgradientBackgroundGlobal?: string;
|
|
336
336
|
quickLinkItemBackgroundColor?: string;
|
|
337
|
+
mobileGradientBackgroundGlobal?: string;
|
|
338
|
+
mobileBackgroundColor?: string;
|
|
337
339
|
}
|
|
338
340
|
interface QuickLinksProps {
|
|
339
341
|
content: QuickLinksContent;
|
|
@@ -374,6 +376,7 @@ interface DeviceGalleryListContent {
|
|
|
374
376
|
backgroundColor?: string;
|
|
375
377
|
deviceGalleryItemTitleColor?: string;
|
|
376
378
|
deviceGalleryItemSubtitleColor?: string;
|
|
379
|
+
loopSlides?: boolean | 'true' | 'false';
|
|
377
380
|
[key: string]: any;
|
|
378
381
|
}
|
|
379
382
|
interface DeviceGalleryListProps {
|
|
@@ -424,6 +427,7 @@ interface InternetAndTvCardsContent {
|
|
|
424
427
|
bottomSpace: SpacerSchema[];
|
|
425
428
|
id?: string;
|
|
426
429
|
isMobSlider?: boolean;
|
|
430
|
+
loopSlides?: boolean | 'true' | 'false';
|
|
427
431
|
[key: string]: any;
|
|
428
432
|
}
|
|
429
433
|
interface InternetAndTvCardsProps {
|