@sunrise-upc/sales-static-components 3.8.7-beta.2 → 3.8.7-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.
Files changed (33) hide show
  1. package/dist/cjs/components/Constants.js +1 -1
  2. package/dist/cjs/components/Constants.js.map +1 -1
  3. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.css +66 -79
  4. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
  5. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
  6. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +218 -0
  7. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +3 -0
  8. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js.map +1 -0
  9. package/dist/cjs/components/RibbonRenderer/RibbonRenderer.js +1 -1
  10. package/dist/cjs/components/RibbonRenderer/RibbonRenderer.js.map +1 -1
  11. package/dist/cjs/components/StageTeaserV3/StageTeaserV3.js +1 -1
  12. package/dist/cjs/components/StageTeaserV3/StageTeaserV3.js.map +1 -1
  13. package/dist/cjs/index.js +1 -1
  14. package/dist/cjs/services/customerSegmentSync.js +2 -0
  15. package/dist/cjs/services/customerSegmentSync.js.map +1 -0
  16. package/dist/esm/components/Constants.js +1 -1
  17. package/dist/esm/components/Constants.js.map +1 -1
  18. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.css +66 -79
  19. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
  20. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
  21. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +218 -0
  22. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +3 -0
  23. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js.map +1 -0
  24. package/dist/esm/components/RibbonRenderer/RibbonRenderer.js +1 -1
  25. package/dist/esm/components/RibbonRenderer/RibbonRenderer.js.map +1 -1
  26. package/dist/esm/components/StageTeaserV3/StageTeaserV3.js +1 -1
  27. package/dist/esm/components/StageTeaserV3/StageTeaserV3.js.map +1 -1
  28. package/dist/esm/index.js +1 -1
  29. package/dist/esm/services/customerSegmentSync.js +2 -0
  30. package/dist/esm/services/customerSegmentSync.js.map +1 -0
  31. package/dist/index.d.ts +22 -2
  32. package/dist/navigation.css +215 -215
  33. package/package.json +1 -1
@@ -647,124 +647,6 @@
647
647
  visibility: visible;
648
648
  }
649
649
 
650
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
651
- /* center a block element */
652
- /* use this to any of the pseudo elements as these are the mandatory properties */
653
- /* setting styles in separate formats for cross browser support */
654
- /* specify the max width for an element and apply ellipses and truncate the overflow */
655
- /* vertically center alilgn any HTML element */
656
- /* add basePath to assets */
657
- .cart-overlay-panel.offcanvas {
658
- transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
659
- }
660
-
661
- .cart-overlay-panel .offcanvas-header {
662
- height: 96px;
663
- padding: 20px 16px;
664
- gap: 24px;
665
- align-items: center;
666
- background: #ffffff;
667
- border-bottom: 1px solid #e6e3df;
668
- }
669
-
670
- .cart-overlay-panel .offcanvas-title {
671
- display: flex;
672
- flex-direction: column;
673
- align-items: flex-start;
674
- gap: 2px;
675
- font-size: 24px;
676
- line-height: 32px;
677
- font-weight: 700;
678
- color: #3d3935;
679
- }
680
- @media (max-width: 1023px) {
681
- .cart-overlay-panel .offcanvas-title {
682
- font-size: 20px;
683
- line-height: 28px;
684
- }
685
- }
686
-
687
- .cart-overlay-panel .btn-close {
688
- opacity: 0.7;
689
- width: 20px;
690
- height: 20px;
691
- }
692
- .cart-overlay-panel .btn-close:hover {
693
- opacity: 1;
694
- }
695
-
696
- .cart-overlay-panel .offcanvas-body {
697
- padding: 0;
698
- overflow-y: auto;
699
- display: flex;
700
- flex-direction: column;
701
- background: #f7f6f5;
702
- }
703
-
704
- .cart-overlay-panel.offcanvas-bottom {
705
- border-radius: 8px 8px 0 0 !important;
706
- width: 100% !important;
707
- overflow: hidden;
708
- }
709
-
710
- .CartOverlay-module__backdrop___lMc-O {
711
- position: fixed;
712
- inset: 0;
713
- z-index: 1040;
714
- background: rgba(153, 178, 167, 0.1);
715
- animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
716
- }
717
-
718
- @keyframes CartOverlay-module__fadeIn___G8JYJ {
719
- from {
720
- opacity: 0;
721
- }
722
- to {
723
- opacity: 1;
724
- }
725
- }
726
- .CartOverlay-module__footer___OwJpW {
727
- padding: 16px 24px;
728
- border-top: 1px solid #d2d2d2;
729
- background-color: #ffffff;
730
- }
731
-
732
- .CartOverlay-module__dismissButton___57qsq {
733
- display: flex;
734
- align-items: center;
735
- justify-content: center;
736
- width: 100%;
737
- height: 52px;
738
- padding: 14px 24px;
739
- gap: 8px;
740
- background: none;
741
- border: 2px solid #da291c;
742
- border-radius: 28px;
743
- font-size: 16px;
744
- line-height: 24px;
745
- font-weight: 600;
746
- color: #da291c;
747
- text-align: center;
748
- cursor: pointer;
749
- transition: background-color 0.15s ease;
750
- }
751
- .CartOverlay-module__dismissButton___57qsq:hover {
752
- background-color: rgba(218, 41, 28, 0.05);
753
- }
754
- .CartOverlay-module__dismissButton___57qsq:focus-visible {
755
- outline: 2px solid #da291c;
756
- outline-offset: 2px;
757
- }
758
-
759
- .CartOverlay-module__errorMessage___ylBiH {
760
- margin: auto 24px;
761
- padding: 16px;
762
- font-size: 20px;
763
- line-height: 28px;
764
- color: #3d3935;
765
- text-align: center;
766
- }
767
-
768
650
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
769
651
  /* center a block element */
770
652
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1349,54 +1231,6 @@
1349
1231
  text-align: center;
1350
1232
  }
1351
1233
 
1352
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1353
- /* center a block element */
1354
- /* use this to any of the pseudo elements as these are the mandatory properties */
1355
- /* setting styles in separate formats for cross browser support */
1356
- /* specify the max width for an element and apply ellipses and truncate the overflow */
1357
- /* vertically center alilgn any HTML element */
1358
- /* add basePath to assets */
1359
- .CartHeader-module__headerTitle___35F6g {
1360
- display: flex;
1361
- align-items: center;
1362
- gap: 8px;
1363
- }
1364
-
1365
- .CartHeader-module__headerItemCount___g1Ynd {
1366
- font-size: 24px;
1367
- line-height: 32px;
1368
- font-weight: 400;
1369
- color: #3d3935;
1370
- }
1371
- @media (max-width: 1023px) {
1372
- .CartHeader-module__headerItemCount___g1Ynd {
1373
- font-size: 20px;
1374
- line-height: 28px;
1375
- }
1376
- }
1377
-
1378
- .CartHeader-module__clearAllButton___B3bNF {
1379
- display: inline;
1380
- background: none;
1381
- border: none;
1382
- padding: 0;
1383
- cursor: pointer;
1384
- font-size: 14px;
1385
- line-height: 20px;
1386
- font-weight: 400;
1387
- color: #da291c;
1388
- text-decoration: underline;
1389
- text-underline-offset: 2px;
1390
- }
1391
- .CartHeader-module__clearAllButton___B3bNF:hover {
1392
- color: #961c13;
1393
- }
1394
- .CartHeader-module__clearAllButton___B3bNF:focus-visible {
1395
- outline: 2px solid #da291c;
1396
- outline-offset: 2px;
1397
- border-radius: 2px;
1398
- }
1399
-
1400
1234
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.module.scss */
1401
1235
  /* center a block element */
1402
1236
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1624,6 +1458,91 @@
1624
1458
  background-color: #1f1f1f;
1625
1459
  }
1626
1460
 
1461
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
1462
+ /* center a block element */
1463
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1464
+ /* setting styles in separate formats for cross browser support */
1465
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1466
+ /* vertically center alilgn any HTML element */
1467
+ /* add basePath to assets */
1468
+ .CartClearConfirm-module__overlay___sxCOO {
1469
+ position: absolute;
1470
+ inset: 0;
1471
+ z-index: 10;
1472
+ background: rgba(0, 0, 0, 0.5);
1473
+ display: flex;
1474
+ align-items: center;
1475
+ justify-content: center;
1476
+ padding: 24px;
1477
+ }
1478
+
1479
+ .CartClearConfirm-module__dialog___UWokE {
1480
+ background: #ffffff;
1481
+ border-radius: 16px;
1482
+ padding: 24px;
1483
+ width: 100%;
1484
+ max-width: 320px;
1485
+ display: flex;
1486
+ flex-direction: column;
1487
+ gap: 24px;
1488
+ }
1489
+
1490
+ .CartClearConfirm-module__message___vd9VO {
1491
+ font-size: 18px;
1492
+ line-height: 26px;
1493
+ font-weight: 700;
1494
+ color: #3d3935;
1495
+ text-align: center;
1496
+ }
1497
+
1498
+ .CartClearConfirm-module__actions___X0-0w {
1499
+ display: flex;
1500
+ gap: 12px;
1501
+ }
1502
+
1503
+ .CartClearConfirm-module__cancelButton___LYopb {
1504
+ flex: 1;
1505
+ height: 48px;
1506
+ background: none;
1507
+ border: 2px solid #3d3935;
1508
+ border-radius: 28px;
1509
+ font-size: 16px;
1510
+ line-height: 24px;
1511
+ font-weight: 600;
1512
+ color: #3d3935;
1513
+ cursor: pointer;
1514
+ transition: background-color 0.15s ease;
1515
+ }
1516
+ .CartClearConfirm-module__cancelButton___LYopb:hover {
1517
+ background-color: rgba(0, 0, 0, 0.05);
1518
+ }
1519
+ .CartClearConfirm-module__cancelButton___LYopb:focus-visible {
1520
+ outline: 2px solid #3d3935;
1521
+ outline-offset: 2px;
1522
+ }
1523
+
1524
+ .CartClearConfirm-module__confirmButton___KgPKy {
1525
+ flex: 1;
1526
+ height: 48px;
1527
+ background: #3d3935;
1528
+ border: 2px solid #3d3935;
1529
+ border-radius: 28px;
1530
+ font-size: 16px;
1531
+ line-height: 24px;
1532
+ font-weight: 600;
1533
+ color: #ffffff;
1534
+ cursor: pointer;
1535
+ transition: background-color 0.15s ease;
1536
+ }
1537
+ .CartClearConfirm-module__confirmButton___KgPKy:hover {
1538
+ background-color: #3d3935;
1539
+ border-color: #3d3935;
1540
+ }
1541
+ .CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
1542
+ outline: 2px solid #3d3935;
1543
+ outline-offset: 2px;
1544
+ }
1545
+
1627
1546
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/SubNavigation/SubNavigation.module.scss */
1628
1547
  /* center a block element */
1629
1548
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1852,89 +1771,170 @@
1852
1771
  outline-offset: 2px;
1853
1772
  }
1854
1773
 
1855
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
1774
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
1856
1775
  /* center a block element */
1857
1776
  /* use this to any of the pseudo elements as these are the mandatory properties */
1858
1777
  /* setting styles in separate formats for cross browser support */
1859
1778
  /* specify the max width for an element and apply ellipses and truncate the overflow */
1860
1779
  /* vertically center alilgn any HTML element */
1861
1780
  /* add basePath to assets */
1862
- .CartClearConfirm-module__overlay___sxCOO {
1863
- position: absolute;
1864
- inset: 0;
1865
- z-index: 10;
1866
- background: rgba(0, 0, 0, 0.5);
1867
- display: flex;
1868
- align-items: center;
1869
- justify-content: center;
1870
- padding: 24px;
1781
+ .cart-overlay-panel.offcanvas {
1782
+ transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
1871
1783
  }
1872
1784
 
1873
- .CartClearConfirm-module__dialog___UWokE {
1874
- background: #ffffff;
1875
- border-radius: 16px;
1876
- padding: 24px;
1877
- width: 100%;
1878
- max-width: 320px;
1879
- display: flex;
1880
- flex-direction: column;
1785
+ .cart-overlay-panel .offcanvas-header {
1786
+ height: 96px;
1787
+ padding: 20px 16px;
1881
1788
  gap: 24px;
1789
+ align-items: center;
1790
+ background: #ffffff;
1791
+ border-bottom: 1px solid #e6e3df;
1882
1792
  }
1883
1793
 
1884
- .CartClearConfirm-module__message___vd9VO {
1885
- font-size: 18px;
1886
- line-height: 26px;
1794
+ .cart-overlay-panel .offcanvas-title {
1795
+ display: flex;
1796
+ flex-direction: column;
1797
+ align-items: flex-start;
1798
+ gap: 2px;
1799
+ font-size: 24px;
1800
+ line-height: 32px;
1887
1801
  font-weight: 700;
1888
1802
  color: #3d3935;
1889
- text-align: center;
1803
+ }
1804
+ @media (max-width: 1023px) {
1805
+ .cart-overlay-panel .offcanvas-title {
1806
+ font-size: 20px;
1807
+ line-height: 28px;
1808
+ }
1890
1809
  }
1891
1810
 
1892
- .CartClearConfirm-module__actions___X0-0w {
1811
+ .cart-overlay-panel .btn-close {
1812
+ opacity: 0.7;
1813
+ width: 20px;
1814
+ height: 20px;
1815
+ }
1816
+ .cart-overlay-panel .btn-close:hover {
1817
+ opacity: 1;
1818
+ }
1819
+
1820
+ .cart-overlay-panel .offcanvas-body {
1821
+ padding: 0;
1822
+ overflow-y: auto;
1893
1823
  display: flex;
1894
- gap: 12px;
1824
+ flex-direction: column;
1825
+ background: #f7f6f5;
1895
1826
  }
1896
1827
 
1897
- .CartClearConfirm-module__cancelButton___LYopb {
1898
- flex: 1;
1899
- height: 48px;
1828
+ .cart-overlay-panel.offcanvas-bottom {
1829
+ border-radius: 8px 8px 0 0 !important;
1830
+ width: 100% !important;
1831
+ overflow: hidden;
1832
+ }
1833
+
1834
+ .CartOverlay-module__backdrop___lMc-O {
1835
+ position: fixed;
1836
+ inset: 0;
1837
+ z-index: 1040;
1838
+ background: rgba(153, 178, 167, 0.1);
1839
+ animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
1840
+ }
1841
+
1842
+ @keyframes CartOverlay-module__fadeIn___G8JYJ {
1843
+ from {
1844
+ opacity: 0;
1845
+ }
1846
+ to {
1847
+ opacity: 1;
1848
+ }
1849
+ }
1850
+ .CartOverlay-module__footer___OwJpW {
1851
+ padding: 16px 24px;
1852
+ border-top: 1px solid #d2d2d2;
1853
+ background-color: #ffffff;
1854
+ }
1855
+
1856
+ .CartOverlay-module__dismissButton___57qsq {
1857
+ display: flex;
1858
+ align-items: center;
1859
+ justify-content: center;
1860
+ width: 100%;
1861
+ height: 52px;
1862
+ padding: 14px 24px;
1863
+ gap: 8px;
1900
1864
  background: none;
1901
- border: 2px solid #3d3935;
1865
+ border: 2px solid #da291c;
1902
1866
  border-radius: 28px;
1903
1867
  font-size: 16px;
1904
1868
  line-height: 24px;
1905
1869
  font-weight: 600;
1906
- color: #3d3935;
1870
+ color: #da291c;
1871
+ text-align: center;
1907
1872
  cursor: pointer;
1908
1873
  transition: background-color 0.15s ease;
1909
1874
  }
1910
- .CartClearConfirm-module__cancelButton___LYopb:hover {
1911
- background-color: rgba(0, 0, 0, 0.05);
1875
+ .CartOverlay-module__dismissButton___57qsq:hover {
1876
+ background-color: rgba(218, 41, 28, 0.05);
1912
1877
  }
1913
- .CartClearConfirm-module__cancelButton___LYopb:focus-visible {
1914
- outline: 2px solid #3d3935;
1878
+ .CartOverlay-module__dismissButton___57qsq:focus-visible {
1879
+ outline: 2px solid #da291c;
1915
1880
  outline-offset: 2px;
1916
1881
  }
1917
1882
 
1918
- .CartClearConfirm-module__confirmButton___KgPKy {
1919
- flex: 1;
1920
- height: 48px;
1921
- background: #3d3935;
1922
- border: 2px solid #3d3935;
1923
- border-radius: 28px;
1924
- font-size: 16px;
1925
- line-height: 24px;
1926
- font-weight: 600;
1927
- color: #ffffff;
1883
+ .CartOverlay-module__errorMessage___ylBiH {
1884
+ margin: auto 24px;
1885
+ padding: 16px;
1886
+ font-size: 20px;
1887
+ line-height: 28px;
1888
+ color: #3d3935;
1889
+ text-align: center;
1890
+ }
1891
+
1892
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1893
+ /* center a block element */
1894
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1895
+ /* setting styles in separate formats for cross browser support */
1896
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1897
+ /* vertically center alilgn any HTML element */
1898
+ /* add basePath to assets */
1899
+ .CartHeader-module__headerTitle___35F6g {
1900
+ display: flex;
1901
+ align-items: center;
1902
+ gap: 8px;
1903
+ }
1904
+
1905
+ .CartHeader-module__headerItemCount___g1Ynd {
1906
+ font-size: 24px;
1907
+ line-height: 32px;
1908
+ font-weight: 400;
1909
+ color: #3d3935;
1910
+ }
1911
+ @media (max-width: 1023px) {
1912
+ .CartHeader-module__headerItemCount___g1Ynd {
1913
+ font-size: 20px;
1914
+ line-height: 28px;
1915
+ }
1916
+ }
1917
+
1918
+ .CartHeader-module__clearAllButton___B3bNF {
1919
+ display: inline;
1920
+ background: none;
1921
+ border: none;
1922
+ padding: 0;
1928
1923
  cursor: pointer;
1929
- transition: background-color 0.15s ease;
1924
+ font-size: 14px;
1925
+ line-height: 20px;
1926
+ font-weight: 400;
1927
+ color: #da291c;
1928
+ text-decoration: underline;
1929
+ text-underline-offset: 2px;
1930
1930
  }
1931
- .CartClearConfirm-module__confirmButton___KgPKy:hover {
1932
- background-color: #3d3935;
1933
- border-color: #3d3935;
1931
+ .CartHeader-module__clearAllButton___B3bNF:hover {
1932
+ color: #961c13;
1934
1933
  }
1935
- .CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
1936
- outline: 2px solid #3d3935;
1934
+ .CartHeader-module__clearAllButton___B3bNF:focus-visible {
1935
+ outline: 2px solid #da291c;
1937
1936
  outline-offset: 2px;
1937
+ border-radius: 2px;
1938
1938
  }
1939
1939
 
1940
1940
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileSubNavigation/MobileSubNavigation.module.scss */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/sales-static-components",
3
- "version": "3.8.7-beta.2",
3
+ "version": "3.8.7-beta.3",
4
4
  "description": "Static Reusable Components Library",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",