@guardian/interactive-component-library 0.1.0-alpha.11 → 0.1.0-alpha.12

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
@@ -957,7 +957,8 @@
957
957
  --undeclared: #848484;
958
958
  }
959
959
  @media (prefers-color-scheme: dark) {
960
- body {
960
+ body.ios,
961
+ body.android {
961
962
  --border-divider-color: #606060;
962
963
  --primary-text-color: #DCDCDC;
963
964
  --secondary-text-color: #C8C8C8;
@@ -1065,17 +1066,22 @@
1065
1066
  ._backgroundRect_wmb0k_11 {
1066
1067
  fill: var(--news-grey-05);
1067
1068
  }
1068
- ._svg_un4gp_1 {
1069
+ #gv-gradient-defs {
1070
+ visibility: hidden;
1071
+ height: 0;
1072
+ }
1073
+
1074
+ ._svg_1cajk_6 {
1069
1075
  display: 'inline-block';
1070
1076
  transform: 'translateY(-1px)';
1071
1077
  fill: none;
1072
1078
  }
1073
1079
 
1074
- ._previous_un4gp_7 {
1080
+ ._previous_1cajk_12 {
1075
1081
  stop-color: var(--con);
1076
1082
  }
1077
1083
 
1078
- ._next_un4gp_11 {
1084
+ ._next_1cajk_16 {
1079
1085
  stop-color: var(--lab);
1080
1086
  }
1081
1087
  ._button_kpmyt_1 {
@@ -1501,23 +1507,43 @@ body.android {
1501
1507
  --top-inset: 58px;
1502
1508
  }
1503
1509
 
1504
- ._toplineResult_lvw57_9 {
1510
+ ._toplineResult_w8o28_9 {
1505
1511
  width: fit-content;
1506
1512
  }
1507
- ._toplineResult_lvw57_9 ._name_lvw57_12 {
1513
+ ._toplineResult_w8o28_9 ._primaryname_w8o28_12 {
1514
+ color: var(--primary-text-color);
1515
+ font-family: var(--text-headline);
1516
+ font-size: var(--headline-xxxsmall);
1517
+ font-weight: 500;
1518
+ font-style: italic;
1519
+ }
1520
+ ._toplineResult_w8o28_9 ._primaryname_w8o28_12:before {
1521
+ content: "";
1522
+ height: 4px;
1523
+ width: 2.2em;
1524
+ border-radius: 50px;
1525
+ display: block;
1526
+ }
1527
+ ._toplineResult_w8o28_9 ._secondaryname_w8o28_26 {
1528
+ color: var(--primary-text-color);
1529
+ font-family: var(--text-headline);
1530
+ font-size: var(--headline-xxxsmall);
1531
+ font-weight: 500;
1532
+ }
1533
+ ._toplineResult_w8o28_9 ._name_w8o28_32 {
1508
1534
  color: var(--primary-text-color);
1509
1535
  font-family: var(--text-headline);
1510
1536
  font-size: var(--headline-xxxsmall);
1511
1537
  font-weight: 500;
1512
1538
  }
1513
- ._toplineResult_lvw57_9 ._name_lvw57_12:before {
1539
+ ._toplineResult_w8o28_9 ._name_w8o28_32:before {
1514
1540
  content: "";
1515
1541
  height: 4px;
1516
1542
  width: 2.2em;
1517
1543
  border-radius: 50px;
1518
1544
  display: block;
1519
1545
  }
1520
- ._toplineResult_lvw57_9 ._displayNumbers_lvw57_25 {
1546
+ ._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 {
1521
1547
  display: flex;
1522
1548
  align-items: baseline;
1523
1549
  font-family: var(--text-titlepiece);
@@ -1526,28 +1552,28 @@ body.android {
1526
1552
  -webkit-font-feature-settings: "lnum";
1527
1553
  font-feature-settings: "lnum";
1528
1554
  }
1529
- ._toplineResult_lvw57_9 ._displayNumbers_lvw57_25 ._mainNumber_lvw57_34 {
1555
+ ._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 ._mainNumber_w8o28_54 {
1530
1556
  color: var(--primary-text-color);
1531
1557
  font-size: var(--titlepiece-xsmall);
1532
1558
  }
1533
- ._toplineResult_lvw57_9 ._displayNumbers_lvw57_25 ._secondaryNumber_lvw57_38 {
1559
+ ._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 ._secondaryNumber_w8o28_58 {
1534
1560
  color: var(--secondary-text-color-alt);
1535
1561
  font-size: var(--titlepiece-xxsmall);
1536
1562
  }
1537
- ._toplineResult_lvw57_9 ._displayNumbers_lvw57_25 > div {
1563
+ ._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 > div {
1538
1564
  flex-shrink: 0;
1539
1565
  }
1540
- ._toplineResult_lvw57_9 ._displayRow_lvw57_45 {
1566
+ ._toplineResult_w8o28_9 ._displayRow_w8o28_65 {
1541
1567
  flex-direction: row;
1542
1568
  }
1543
- ._toplineResult_lvw57_9 ._displayRow_lvw57_45 ._mainNumber_lvw57_34 {
1569
+ ._toplineResult_w8o28_9 ._displayRow_w8o28_65 ._mainNumber_w8o28_54 {
1544
1570
  margin-right: var(--space-0);
1545
1571
  }
1546
- ._toplineResult_lvw57_9 ._displayColumn_lvw57_51 {
1572
+ ._toplineResult_w8o28_9 ._displayColumn_w8o28_71 {
1547
1573
  flex-direction: column;
1548
1574
  }
1549
1575
 
1550
- ._topRow_lvw57_55 {
1576
+ ._topRow_w8o28_75 {
1551
1577
  width: fit-content;
1552
1578
  padding-bottom: 1px;
1553
1579
  display: flex;
@@ -1556,7 +1582,7 @@ body.android {
1556
1582
  align-items: flex-end;
1557
1583
  }
1558
1584
  @media (min-width: 61.25em) {
1559
- ._topRow_lvw57_55 {
1585
+ ._topRow_w8o28_75 {
1560
1586
  border-bottom: none;
1561
1587
  }
1562
1588
  }body {
@@ -1567,49 +1593,60 @@ body.android {
1567
1593
  --top-inset: 58px;
1568
1594
  }
1569
1595
 
1570
- ._section_te61d_9 {
1596
+ ._section_12aiu_9 {
1597
+ position: relative;
1598
+ z-index: 0;
1571
1599
  margin-bottom: var(--space-8);
1572
1600
  }
1573
1601
 
1574
- ._borderTop_te61d_13::before {
1602
+ ._section_12aiu_9::before {
1575
1603
  display: block;
1576
1604
  content: "";
1577
- border-top: 1px solid var(--border-divider-color);
1578
- transform: translate(-12px);
1579
- width: calc(100% + 24px);
1605
+ position: absolute;
1606
+ top: 0;
1607
+ left: 0;
1608
+ transform: translate(-10px);
1609
+ width: calc(100% + 20px);
1610
+ height: calc(100% + var(--space-8));
1611
+ background-color: var(--background-color);
1612
+ z-index: -1;
1580
1613
  }
1581
1614
  @media (min-width: 30em) {
1582
- ._borderTop_te61d_13::before {
1615
+ ._section_12aiu_9::before {
1583
1616
  transform: translate(-20px);
1584
1617
  width: calc(100% + 40px);
1585
1618
  }
1586
1619
  }
1587
- @media (min-width: 41.25em) {
1588
- ._borderTop_te61d_13::before {
1589
- transform: none;
1590
- width: 100%;
1620
+ @media (min-width: 46.25em) {
1621
+ ._section_12aiu_9::before {
1622
+ width: calc(100% + 60px);
1591
1623
  }
1592
1624
  }
1593
1625
  @media (min-width: 71.25em) {
1594
- ._borderTop_te61d_13::before {
1626
+ ._section_12aiu_9::before {
1595
1627
  transform: translate(-180px);
1596
1628
  width: calc(100% + 200px);
1629
+ background-color: transparent;
1597
1630
  }
1598
1631
  }
1599
1632
  @media (min-width: 81.25em) {
1600
- ._borderTop_te61d_13::before {
1633
+ ._section_12aiu_9::before {
1601
1634
  transform: translate(-260px);
1602
1635
  width: calc(100% + 280px);
1603
1636
  }
1604
1637
  }
1605
1638
 
1606
- ._header_te61d_45 {
1639
+ ._borderTop_12aiu_52::before {
1640
+ border-top: 1px solid var(--border-divider-color);
1641
+ }
1642
+
1643
+ ._header_12aiu_56 {
1607
1644
  color: var(--primary-text-color);
1608
1645
  padding-top: var(--space-2);
1609
1646
  margin-bottom: var(--space-5);
1610
1647
  }
1611
1648
  @media (min-width: 71.25em) {
1612
- ._header_te61d_45 {
1649
+ ._header_12aiu_56 {
1613
1650
  position: absolute;
1614
1651
  max-width: 160px;
1615
1652
  transform: translateX(-170px);
@@ -1617,20 +1654,32 @@ body.android {
1617
1654
  }
1618
1655
  }
1619
1656
  @media (min-width: 81.25em) {
1620
- ._header_te61d_45 {
1657
+ ._header_12aiu_56 {
1621
1658
  max-width: 220px;
1622
1659
  transform: translateX(-250px);
1623
1660
  }
1624
1661
  }
1625
1662
 
1626
- ._content_te61d_65 {
1663
+ ._content_12aiu_76 {
1664
+ position: relative;
1627
1665
  padding-top: 0;
1628
1666
  color: var(--primary-text-color);
1629
1667
  }
1630
1668
  @media (min-width: 71.25em) {
1631
- ._content_te61d_65 {
1669
+ ._content_12aiu_76 {
1632
1670
  padding-top: var(--space-2);
1633
1671
  }
1672
+ ._content_12aiu_76::before {
1673
+ content: "";
1674
+ position: absolute;
1675
+ top: 0;
1676
+ left: 0;
1677
+ transform: translateX(-9px);
1678
+ width: calc(100% + 29px);
1679
+ height: calc(100% + var(--space-8));
1680
+ background-color: var(--background-color);
1681
+ z-index: -2;
1682
+ }
1634
1683
  }._text_lo5h3_1 {
1635
1684
  font-family: var(--text-sans);
1636
1685
  fill: var(--primary-text-color);
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.11",
4
+ "version": "v0.1.0-alpha.12",
5
5
  "packageManager": "pnpm@8.4.0",
6
6
  "repository": {
7
7
  "type": "git",