@guardian/interactive-component-library 0.1.0-alpha.37 → 0.1.0-alpha.39

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/style.css CHANGED
@@ -1670,7 +1670,7 @@ body.android {
1670
1670
  --top-inset: 58px;
1671
1671
  }
1672
1672
 
1673
- ._table_1dg64_9 {
1673
+ ._table_fhbur_9 {
1674
1674
  table-layout: fixed;
1675
1675
  width: 100%;
1676
1676
  font-family: var(--text-sans);
@@ -1678,30 +1678,39 @@ body.android {
1678
1678
  line-height: var(--sans-line-height);
1679
1679
  text-align: left;
1680
1680
  border: none;
1681
+ border-collapse: separate;
1681
1682
  }
1682
1683
 
1683
- ._hideHeader_1dg64_19 {
1684
+ ._hideHeader_fhbur_20 {
1684
1685
  visibility: hidden;
1685
1686
  }
1686
- ._hideHeader_1dg64_19 th {
1687
+ ._hideHeader_fhbur_20 th {
1687
1688
  padding-top: 0;
1688
1689
  padding-bottom: 0;
1689
1690
  line-height: 0;
1690
1691
  }
1691
1692
 
1692
- ._hideHeaderNoBorder_1dg64_28 tr:first-of-type {
1693
+ ._hideHeaderNoBorder_fhbur_29 tr:first-of-type {
1693
1694
  border-top: none;
1694
1695
  }
1695
1696
 
1696
- ._headerCell_1dg64_32 {
1697
+ ._headerCell_fhbur_33 {
1697
1698
  font-weight: 700;
1698
1699
  white-space: nowrap;
1699
1700
  padding-top: var(--space-2);
1700
1701
  padding-bottom: var(--space-2);
1701
1702
  color: var(--primary-text-color);
1703
+ border-bottom: 1px solid var(--border-divider-color);
1702
1704
  }
1703
1705
 
1704
- ._headerCellButton_1dg64_40 {
1706
+ ._stickyHeader_fhbur_42 {
1707
+ position: sticky;
1708
+ top: 0;
1709
+ z-index: 2;
1710
+ background-color: var(--primary-bg-color);
1711
+ }
1712
+
1713
+ ._headerCellButton_fhbur_49 {
1705
1714
  width: 100%;
1706
1715
  display: flex;
1707
1716
  justify-content: flex-start;
@@ -1710,15 +1719,19 @@ body.android {
1710
1719
  cursor: pointer;
1711
1720
  }
1712
1721
 
1713
- ._bodyRow_1dg64_49 {
1714
- border-top: 1px solid var(--border-divider-color);
1722
+ ._bodyRow_fhbur_58 {
1715
1723
  color: var(--primary-text-color);
1716
1724
  }
1717
1725
 
1718
- ._bodyCell_1dg64_54 {
1726
+ ._bodyCell_fhbur_62 {
1719
1727
  font-weight: normal;
1720
1728
  padding-top: var(--space-2);
1721
1729
  padding-bottom: var(--space-2);
1730
+ border-bottom: 1px solid var(--border-divider-color);
1731
+ }
1732
+
1733
+ ._bodyRow_fhbur_58:last-child > ._bodyCell_fhbur_62 {
1734
+ border-bottom: 0;
1722
1735
  }._slopeChartContainer_nmjjj_1 {
1723
1736
  max-width: 300px;
1724
1737
  }
@@ -1908,101 +1921,100 @@ body.android {
1908
1921
  --top-inset: 58px;
1909
1922
  }
1910
1923
 
1911
- ._borderTop_1yz7f_9::before {
1924
+ ._borderTop_gph7y_9::before {
1912
1925
  border-top: 1px solid var(--border-divider-color);
1913
- z-index: 1;
1914
1926
  }
1915
1927
 
1916
- ._section_1yz7f_14 {
1928
+ ._section_gph7y_13 {
1917
1929
  position: relative;
1918
1930
  z-index: 0;
1919
1931
  margin-bottom: var(--space-8);
1920
1932
  }
1921
1933
 
1922
- ._section_1yz7f_14::before {
1923
- display: block;
1924
- content: "";
1925
- position: absolute;
1926
- top: 0;
1927
- left: 0;
1934
+ ._section_gph7y_13._fullWidth_gph7y_19 {
1928
1935
  transform: translate(-10px);
1929
1936
  width: calc(100% + 20px);
1930
- height: calc(100% + var(--space-8));
1937
+ margin: 0;
1938
+ padding: 0;
1931
1939
  background-color: var(--background-color);
1932
- z-index: -1;
1933
1940
  }
1934
1941
  @media (min-width: 30em) {
1935
- ._section_1yz7f_14::before {
1942
+ ._section_gph7y_13._fullWidth_gph7y_19 {
1936
1943
  transform: translate(-20px);
1937
1944
  width: calc(100% + 40px);
1938
1945
  }
1939
1946
  }
1940
1947
  @media (min-width: 46.25em) {
1941
- ._section_1yz7f_14::before {
1948
+ ._section_gph7y_13._fullWidth_gph7y_19 {
1949
+ transform: translate(-20px);
1942
1950
  width: calc(100% + 60px);
1943
1951
  }
1944
1952
  }
1945
1953
  @media (min-width: 71.25em) {
1946
- ._section_1yz7f_14::before {
1954
+ ._section_gph7y_13._fullWidth_gph7y_19 {
1947
1955
  transform: translate(-180px);
1948
1956
  width: calc(100% + 200px);
1949
- background-color: transparent;
1950
1957
  }
1951
1958
  }
1952
1959
  @media (min-width: 81.25em) {
1953
- ._section_1yz7f_14::before {
1960
+ ._section_gph7y_13._fullWidth_gph7y_19 {
1954
1961
  transform: translate(-260px);
1955
1962
  width: calc(100% + 280px);
1956
1963
  }
1957
1964
  }
1958
1965
 
1959
- ._section_1yz7f_14._fullWidth_1yz7f_57 {
1966
+ ._section_gph7y_13::before {
1967
+ display: block;
1968
+ content: "";
1969
+ position: absolute;
1970
+ top: 0;
1971
+ left: 0;
1960
1972
  transform: translate(-10px);
1961
1973
  width: calc(100% + 20px);
1962
- margin: 0;
1963
- padding: 0;
1974
+ height: calc(100% + var(--space-8));
1964
1975
  background-color: var(--background-color);
1976
+ z-index: -1;
1965
1977
  }
1966
1978
  @media (min-width: 30em) {
1967
- ._section_1yz7f_14._fullWidth_1yz7f_57 {
1979
+ ._section_gph7y_13::before {
1968
1980
  transform: translate(-20px);
1969
1981
  width: calc(100% + 40px);
1970
1982
  }
1971
1983
  }
1972
1984
  @media (min-width: 46.25em) {
1973
- ._section_1yz7f_14._fullWidth_1yz7f_57 {
1974
- transform: translate(-20px);
1985
+ ._section_gph7y_13::before {
1975
1986
  width: calc(100% + 60px);
1976
1987
  }
1977
1988
  }
1978
1989
  @media (min-width: 71.25em) {
1979
- ._section_1yz7f_14._fullWidth_1yz7f_57 {
1990
+ ._section_gph7y_13::before {
1980
1991
  transform: translate(-180px);
1981
1992
  width: calc(100% + 200px);
1993
+ background-color: transparent;
1982
1994
  }
1983
1995
  }
1984
1996
  @media (min-width: 81.25em) {
1985
- ._section_1yz7f_14._fullWidth_1yz7f_57 {
1997
+ ._section_gph7y_13::before {
1986
1998
  transform: translate(-260px);
1987
1999
  width: calc(100% + 280px);
1988
2000
  }
1989
2001
  }
1990
2002
 
1991
- ._section_1yz7f_14._fullWidth_1yz7f_57::before {
2003
+ ._section_gph7y_13._fullWidth_gph7y_19::before {
1992
2004
  transform: none;
1993
2005
  width: 100%;
1994
- height: 100%;
2006
+ height: 1px;
1995
2007
  background-color: transparent;
1996
2008
  }
1997
2009
 
1998
- ._header_1yz7f_96 {
2010
+ ._header_gph7y_95 {
1999
2011
  color: var(--primary-text-color);
2000
2012
  padding-top: var(--space-2);
2001
2013
  margin-bottom: var(--space-5);
2002
2014
  }
2003
2015
 
2004
2016
  @media (min-width: 71.25em) {
2005
- body:not(.ios, .android) ._header_1yz7f_96 {
2017
+ body:not(.ios, .android) ._header_gph7y_95 {
2006
2018
  position: absolute;
2007
2019
  max-width: 160px;
2008
2020
  transform: translateX(-170px);
@@ -2010,13 +2022,13 @@ body.android {
2010
2022
  }
2011
2023
  }
2012
2024
  @media (min-width: 81.25em) {
2013
- body:not(.ios, .android) ._header_1yz7f_96 {
2025
+ body:not(.ios, .android) ._header_gph7y_95 {
2014
2026
  max-width: 220px;
2015
2027
  transform: translateX(-250px);
2016
2028
  }
2017
2029
  }
2018
2030
 
2019
- body ._header_1yz7f_96._fullWidth_1yz7f_57 {
2031
+ body ._header_gph7y_95._fullWidth_gph7y_19 {
2020
2032
  position: absolute;
2021
2033
  top: 0;
2022
2034
  left: 0;
@@ -2027,27 +2039,27 @@ body ._header_1yz7f_96._fullWidth_1yz7f_57 {
2027
2039
  max-width: 100%;
2028
2040
  }
2029
2041
  @media (min-width: 71.25em) {
2030
- body ._header_1yz7f_96._fullWidth_1yz7f_57 {
2042
+ body ._header_gph7y_95._fullWidth_gph7y_19 {
2031
2043
  margin-bottom: 0;
2032
2044
  }
2033
2045
  }
2034
2046
 
2035
- ._content_1yz7f_133 {
2047
+ ._content_gph7y_132 {
2036
2048
  position: relative;
2037
2049
  padding-top: 0;
2038
2050
  z-index: 0;
2039
2051
  color: var(--primary-text-color);
2040
2052
  }
2041
2053
  @media (min-width: 71.25em) {
2042
- ._content_1yz7f_133 {
2054
+ ._content_gph7y_132 {
2043
2055
  padding-top: var(--space-2);
2044
2056
  }
2045
- ._content_1yz7f_133::before {
2057
+ ._content_gph7y_132::before {
2046
2058
  content: "";
2047
2059
  position: absolute;
2048
2060
  top: 0;
2049
2061
  left: 0;
2050
- transform: translateX(-9px);
2062
+ transform: translate(-9px, 1px);
2051
2063
  width: calc(100% + 29px);
2052
2064
  height: calc(100% + var(--space-8));
2053
2065
  background-color: var(--background-color);
@@ -2055,11 +2067,11 @@ body ._header_1yz7f_96._fullWidth_1yz7f_57 {
2055
2067
  }
2056
2068
  }
2057
2069
 
2058
- ._content_1yz7f_133._fullWidth_1yz7f_57 {
2070
+ ._content_gph7y_132._fullWidth_gph7y_19 {
2059
2071
  padding-top: 0;
2060
2072
  }
2061
2073
 
2062
- ._content_1yz7f_133._fullWidth_1yz7f_57::before {
2074
+ ._content_gph7y_132._fullWidth_gph7y_19::before {
2063
2075
  display: none;
2064
2076
  }._text_lo5h3_1 {
2065
2077
  font-family: var(--text-sans);
@@ -2425,7 +2437,7 @@ body.android {
2425
2437
  ._grid_xps7m_9[data-grid-type=large] > *:nth-child(2n+1):nth-last-child(-n+2), ._grid_xps7m_9[data-grid-type=large] > *:nth-child(2n+1):nth-last-child(-n+2) ~ * {
2426
2438
  border-bottom: 0;
2427
2439
  }
2428
- }._transitionContainer_1syip_1 {
2440
+ }._transitionContainer_48fp9_1 {
2429
2441
  position: fixed;
2430
2442
  left: 0;
2431
2443
  right: 0;
@@ -2433,15 +2445,14 @@ body.android {
2433
2445
  bottom: 0;
2434
2446
  transition: all 300ms ease-in-out;
2435
2447
  z-index: 9999;
2436
- pointer-events: none;
2437
2448
  }
2438
2449
 
2439
- ._blur_1syip_12 {
2450
+ ._blur_48fp9_11 {
2440
2451
  background-color: rgba(0, 0, 0, 0.1);
2441
2452
  backdrop-filter: blur(4px);
2442
2453
  }
2443
2454
 
2444
- ._modalBox_1syip_17 {
2455
+ ._modalBox_48fp9_16 {
2445
2456
  position: absolute;
2446
2457
  left: 0;
2447
2458
  right: 0;
@@ -2450,35 +2461,35 @@ body.android {
2450
2461
  pointer-events: all;
2451
2462
  }
2452
2463
 
2453
- ._enter_1syip_26,
2454
- ._exitDone_1syip_27 {
2455
- ._blur_1syip_12 {
2464
+ ._enter_48fp9_25,
2465
+ ._exitDone_48fp9_26 {
2466
+ ._blur_48fp9_11 {
2456
2467
  background-color: transparent;
2457
2468
  backdrop-filter: none;
2458
2469
  }
2459
2470
 
2460
- ._modalBox_1syip_17 {
2471
+ ._modalBox_48fp9_16 {
2461
2472
  transform: translateY(100%);
2462
2473
  }
2463
2474
  }
2464
2475
 
2465
- ._enterActive_1syip_38 {
2466
- ._blur_1syip_12 {
2476
+ ._enterActive_48fp9_37 {
2477
+ ._blur_48fp9_11 {
2467
2478
  background-color: rgba(0, 0, 0, 0.1);
2468
2479
  backdrop-filter: blur(4px);
2469
2480
  }
2470
2481
 
2471
- ._modalBox_1syip_17 {
2482
+ ._modalBox_48fp9_16 {
2472
2483
  transform: translateY(0);
2473
2484
  }
2474
2485
  }
2475
2486
 
2476
- ._exitActive_1syip_49 {
2477
- ._blur_1syip_12 {
2487
+ ._exitActive_48fp9_48 {
2488
+ ._blur_48fp9_11 {
2478
2489
  background-color: transparent;
2479
2490
  backdrop-filter: none;
2480
2491
  }
2481
- ._modalBox_1syip_17 {
2492
+ ._modalBox_48fp9_16 {
2482
2493
  transform: translateY(100%);
2483
2494
  }
2484
2495
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@guardian/interactive-component-library",
3
3
  "private": false,
4
- "version": "v0.1.0-alpha.37",
4
+ "version": "v0.1.0-alpha.39",
5
5
  "packageManager": "pnpm@8.4.0",
6
6
  "repository": {
7
7
  "type": "git",