@sunrise-upc/sales-static-components 5.2.0-beta.0 → 5.2.0-beta.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.
Files changed (2) hide show
  1. package/dist/navigation.css +205 -205
  2. package/package.json +2 -2
@@ -1431,6 +1431,54 @@
1431
1431
  text-align: center;
1432
1432
  }
1433
1433
 
1434
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1435
+ /* center a block element */
1436
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1437
+ /* setting styles in separate formats for cross browser support */
1438
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1439
+ /* vertically center alilgn any HTML element */
1440
+ /* add basePath to assets */
1441
+ .CartHeader-module__headerTitle___35F6g {
1442
+ display: flex;
1443
+ align-items: center;
1444
+ gap: 8px;
1445
+ }
1446
+
1447
+ .CartHeader-module__headerItemCount___g1Ynd {
1448
+ font-size: 24px;
1449
+ line-height: 32px;
1450
+ font-weight: 400;
1451
+ color: #3d3935;
1452
+ }
1453
+ @media (max-width: 1023px) {
1454
+ .CartHeader-module__headerItemCount___g1Ynd {
1455
+ font-size: 20px;
1456
+ line-height: 28px;
1457
+ }
1458
+ }
1459
+
1460
+ .CartHeader-module__clearAllButton___B3bNF {
1461
+ display: inline;
1462
+ background: none;
1463
+ border: none;
1464
+ padding: 0;
1465
+ cursor: pointer;
1466
+ font-size: 14px;
1467
+ line-height: 20px;
1468
+ font-weight: 400;
1469
+ color: #da291c;
1470
+ text-decoration: underline;
1471
+ text-underline-offset: 2px;
1472
+ }
1473
+ .CartHeader-module__clearAllButton___B3bNF:hover {
1474
+ color: #961c13;
1475
+ }
1476
+ .CartHeader-module__clearAllButton___B3bNF:focus-visible {
1477
+ outline: 2px solid #da291c;
1478
+ outline-offset: 2px;
1479
+ border-radius: 2px;
1480
+ }
1481
+
1434
1482
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.module.scss */
1435
1483
  /* center a block element */
1436
1484
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1489,6 +1537,77 @@
1489
1537
  filter: brightness(0) invert(0.9);
1490
1538
  }
1491
1539
 
1540
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.module.scss */
1541
+ /* center a block element */
1542
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1543
+ /* setting styles in separate formats for cross browser support */
1544
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1545
+ /* vertically center alilgn any HTML element */
1546
+ /* add basePath to assets */
1547
+ .CartFooter-module__cartFooter___pgZ1x {
1548
+ display: flex;
1549
+ flex-direction: column;
1550
+ background-color: #3d3935;
1551
+ border-radius: 8px 8px 0 0;
1552
+ padding: 16px 24px;
1553
+ gap: 16px;
1554
+ }
1555
+ @media (max-width: 767px) {
1556
+ .CartFooter-module__cartFooter___pgZ1x {
1557
+ padding: 16px;
1558
+ }
1559
+ }
1560
+
1561
+ .CartFooter-module__footerTotals___sG-0P {
1562
+ display: flex;
1563
+ justify-content: space-between;
1564
+ gap: 0;
1565
+ }
1566
+
1567
+ .CartFooter-module__footerTotalsItem___zs1hY {
1568
+ display: flex;
1569
+ flex-direction: column;
1570
+ justify-content: space-between;
1571
+ gap: 2px;
1572
+ flex: 1;
1573
+ padding: 0 16px;
1574
+ }
1575
+ .CartFooter-module__footerTotalsItem___zs1hY:first-child {
1576
+ padding-left: 0;
1577
+ }
1578
+ .CartFooter-module__footerTotalsItem___zs1hY:last-child {
1579
+ padding-right: 0;
1580
+ }
1581
+
1582
+ .CartFooter-module__footerTotalsItemDivider___--UXf {
1583
+ border-left: 1px solid #b3aeaa;
1584
+ }
1585
+
1586
+ .CartFooter-module__footerTotalsLabel___Z30Az {
1587
+ font-size: 12px;
1588
+ line-height: 16px;
1589
+ color: #b3aeaa;
1590
+ }
1591
+
1592
+ .CartFooter-module__footerTotalsValue___NfXPQ {
1593
+ font-size: 16px;
1594
+ line-height: 24px;
1595
+ font-weight: 700;
1596
+ color: #ffffff;
1597
+ }
1598
+
1599
+ .CartFooter-module__footerButtons___6xWKX {
1600
+ display: flex;
1601
+ text-align: center;
1602
+ gap: 12px;
1603
+ }
1604
+ .CartFooter-module__footerButtons___6xWKX > div {
1605
+ flex: 1;
1606
+ }
1607
+ .CartFooter-module__footerButtons___6xWKX a {
1608
+ text-decoration: none;
1609
+ }
1610
+
1492
1611
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.module.scss */
1493
1612
  /* center a block element */
1494
1613
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1658,6 +1777,92 @@
1658
1777
  background-color: #1f1f1f;
1659
1778
  }
1660
1779
 
1780
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
1781
+ /* center a block element */
1782
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1783
+ /* setting styles in separate formats for cross browser support */
1784
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1785
+ /* vertically center alilgn any HTML element */
1786
+ /* add basePath to assets */
1787
+ .CartClearConfirm-module__overlay___sxCOO {
1788
+ position: absolute;
1789
+ inset: 0;
1790
+ z-index: 10;
1791
+ background: rgba(42, 42, 42, 0.8);
1792
+ display: flex;
1793
+ align-items: center;
1794
+ justify-content: center;
1795
+ padding: 24px;
1796
+ }
1797
+
1798
+ .CartClearConfirm-module__dialog___UWokE {
1799
+ background: transparent;
1800
+ border-radius: 16px;
1801
+ padding: 24px;
1802
+ width: 100%;
1803
+ max-width: 320px;
1804
+ display: flex;
1805
+ flex-direction: column;
1806
+ gap: 24px;
1807
+ }
1808
+
1809
+ .CartClearConfirm-module__message___vd9VO {
1810
+ font-size: 18px;
1811
+ line-height: 26px;
1812
+ font-weight: 700;
1813
+ color: #ffffff;
1814
+ text-align: center;
1815
+ }
1816
+
1817
+ .CartClearConfirm-module__actions___X0-0w {
1818
+ display: flex;
1819
+ gap: 12px;
1820
+ }
1821
+ .CartClearConfirm-module__actions___X0-0w button {
1822
+ padding: 10px 24px;
1823
+ }
1824
+
1825
+ .CartClearConfirm-module__cancelButton___LYopb {
1826
+ flex: 1;
1827
+ background: none;
1828
+ border: 2px solid #ffffff;
1829
+ border-radius: 28px;
1830
+ font-size: 16px;
1831
+ line-height: 24px;
1832
+ font-weight: 600;
1833
+ color: #ffffff;
1834
+ cursor: pointer;
1835
+ transition: background-color 0.15s ease;
1836
+ }
1837
+ .CartClearConfirm-module__cancelButton___LYopb:hover {
1838
+ background-color: rgba(255, 255, 255, 0.1);
1839
+ }
1840
+ .CartClearConfirm-module__cancelButton___LYopb:focus-visible {
1841
+ outline: 2px solid #ffffff;
1842
+ outline-offset: 2px;
1843
+ }
1844
+
1845
+ .CartClearConfirm-module__confirmButton___KgPKy {
1846
+ flex: 1;
1847
+ background: #ffffff;
1848
+ border: 2px solid #ffffff;
1849
+ border-radius: 28px;
1850
+ font-size: 16px;
1851
+ line-height: 24px;
1852
+ font-weight: 600;
1853
+ color: #3d3935;
1854
+ cursor: pointer;
1855
+ transition: background-color 0.15s ease;
1856
+ }
1857
+ .CartClearConfirm-module__confirmButton___KgPKy:hover {
1858
+ background-color: #e6e3df;
1859
+ border-color: #e6e3df;
1860
+ }
1861
+ .CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
1862
+ outline: 2px solid #ffffff;
1863
+ outline-offset: 2px;
1864
+ }
1865
+
1661
1866
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/SubNavigation/SubNavigation.module.scss */
1662
1867
  /* center a block element */
1663
1868
  /* use this to any of the pseudo elements as these are the mandatory properties */
@@ -1885,211 +2090,6 @@
1885
2090
  text-align: center;
1886
2091
  }
1887
2092
 
1888
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1889
- /* center a block element */
1890
- /* use this to any of the pseudo elements as these are the mandatory properties */
1891
- /* setting styles in separate formats for cross browser support */
1892
- /* specify the max width for an element and apply ellipses and truncate the overflow */
1893
- /* vertically center alilgn any HTML element */
1894
- /* add basePath to assets */
1895
- .CartHeader-module__headerTitle___35F6g {
1896
- display: flex;
1897
- align-items: center;
1898
- gap: 8px;
1899
- }
1900
-
1901
- .CartHeader-module__headerItemCount___g1Ynd {
1902
- font-size: 24px;
1903
- line-height: 32px;
1904
- font-weight: 400;
1905
- color: #3d3935;
1906
- }
1907
- @media (max-width: 1023px) {
1908
- .CartHeader-module__headerItemCount___g1Ynd {
1909
- font-size: 20px;
1910
- line-height: 28px;
1911
- }
1912
- }
1913
-
1914
- .CartHeader-module__clearAllButton___B3bNF {
1915
- display: inline;
1916
- background: none;
1917
- border: none;
1918
- padding: 0;
1919
- cursor: pointer;
1920
- font-size: 14px;
1921
- line-height: 20px;
1922
- font-weight: 400;
1923
- color: #da291c;
1924
- text-decoration: underline;
1925
- text-underline-offset: 2px;
1926
- }
1927
- .CartHeader-module__clearAllButton___B3bNF:hover {
1928
- color: #961c13;
1929
- }
1930
- .CartHeader-module__clearAllButton___B3bNF:focus-visible {
1931
- outline: 2px solid #da291c;
1932
- outline-offset: 2px;
1933
- border-radius: 2px;
1934
- }
1935
-
1936
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.module.scss */
1937
- /* center a block element */
1938
- /* use this to any of the pseudo elements as these are the mandatory properties */
1939
- /* setting styles in separate formats for cross browser support */
1940
- /* specify the max width for an element and apply ellipses and truncate the overflow */
1941
- /* vertically center alilgn any HTML element */
1942
- /* 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 {
1964
- display: flex;
1965
- flex-direction: column;
1966
- justify-content: space-between;
1967
- gap: 2px;
1968
- 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;
1980
- }
1981
-
1982
- .CartFooter-module__footerTotalsLabel___Z30Az {
1983
- font-size: 12px;
1984
- line-height: 16px;
1985
- color: #b3aeaa;
1986
- }
1987
-
1988
- .CartFooter-module__footerTotalsValue___NfXPQ {
1989
- font-size: 16px;
1990
- line-height: 24px;
1991
- font-weight: 700;
1992
- color: #ffffff;
1993
- }
1994
-
1995
- .CartFooter-module__footerButtons___6xWKX {
1996
- display: flex;
1997
- text-align: center;
1998
- gap: 12px;
1999
- }
2000
- .CartFooter-module__footerButtons___6xWKX > div {
2001
- flex: 1;
2002
- }
2003
- .CartFooter-module__footerButtons___6xWKX a {
2004
- text-decoration: none;
2005
- }
2006
-
2007
- /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
2008
- /* center a block element */
2009
- /* use this to any of the pseudo elements as these are the mandatory properties */
2010
- /* setting styles in separate formats for cross browser support */
2011
- /* specify the max width for an element and apply ellipses and truncate the overflow */
2012
- /* vertically center alilgn any HTML element */
2013
- /* add basePath to assets */
2014
- .CartClearConfirm-module__overlay___sxCOO {
2015
- position: absolute;
2016
- inset: 0;
2017
- z-index: 10;
2018
- background: rgba(42, 42, 42, 0.8);
2019
- display: flex;
2020
- align-items: center;
2021
- justify-content: center;
2022
- padding: 24px;
2023
- }
2024
-
2025
- .CartClearConfirm-module__dialog___UWokE {
2026
- background: transparent;
2027
- border-radius: 16px;
2028
- padding: 24px;
2029
- width: 100%;
2030
- max-width: 320px;
2031
- display: flex;
2032
- flex-direction: column;
2033
- gap: 24px;
2034
- }
2035
-
2036
- .CartClearConfirm-module__message___vd9VO {
2037
- font-size: 18px;
2038
- line-height: 26px;
2039
- font-weight: 700;
2040
- color: #ffffff;
2041
- text-align: center;
2042
- }
2043
-
2044
- .CartClearConfirm-module__actions___X0-0w {
2045
- display: flex;
2046
- gap: 12px;
2047
- }
2048
- .CartClearConfirm-module__actions___X0-0w button {
2049
- padding: 10px 24px;
2050
- }
2051
-
2052
- .CartClearConfirm-module__cancelButton___LYopb {
2053
- flex: 1;
2054
- background: none;
2055
- border: 2px solid #ffffff;
2056
- border-radius: 28px;
2057
- font-size: 16px;
2058
- line-height: 24px;
2059
- font-weight: 600;
2060
- color: #ffffff;
2061
- cursor: pointer;
2062
- transition: background-color 0.15s ease;
2063
- }
2064
- .CartClearConfirm-module__cancelButton___LYopb:hover {
2065
- background-color: rgba(255, 255, 255, 0.1);
2066
- }
2067
- .CartClearConfirm-module__cancelButton___LYopb:focus-visible {
2068
- outline: 2px solid #ffffff;
2069
- outline-offset: 2px;
2070
- }
2071
-
2072
- .CartClearConfirm-module__confirmButton___KgPKy {
2073
- flex: 1;
2074
- background: #ffffff;
2075
- border: 2px solid #ffffff;
2076
- border-radius: 28px;
2077
- font-size: 16px;
2078
- line-height: 24px;
2079
- font-weight: 600;
2080
- color: #3d3935;
2081
- cursor: pointer;
2082
- transition: background-color 0.15s ease;
2083
- }
2084
- .CartClearConfirm-module__confirmButton___KgPKy:hover {
2085
- background-color: #e6e3df;
2086
- border-color: #e6e3df;
2087
- }
2088
- .CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
2089
- outline: 2px solid #ffffff;
2090
- outline-offset: 2px;
2091
- }
2092
-
2093
2093
  /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileSubNavigation/MobileSubNavigation.module.scss */
2094
2094
  /* center a block element */
2095
2095
  /* use this to any of the pseudo elements as these are the mandatory properties */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/sales-static-components",
3
- "version": "5.2.0-beta.0",
3
+ "version": "5.2.0-beta.1",
4
4
  "description": "Static Reusable Components Library",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  "dependencies": {
105
105
  "@sunrise-upc/ajax-lib": "^3.0.0",
106
- "@sunrise-upc/sun-b2c-search-lib": "^2.0.1",
106
+ "@sunrise-upc/sun-b2c-search-lib": "^2.0.2",
107
107
  "axios": "^1.12.2",
108
108
  "cookies-next": "^6.1.0",
109
109
  "fitty": "^2.4.2",