@times-components/ts-components 1.133.0 → 1.134.0

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.
@@ -1,7 +1,6 @@
1
1
  import React, { FC, useEffect, useState } from 'react';
2
2
  import {
3
3
  Container,
4
- Titletag,
5
4
  Divider,
6
5
  Link,
7
6
  Title,
@@ -72,8 +71,7 @@ export const QuizleSidebar: FC<QuizleSideBarProps> = ({
72
71
  <Container>
73
72
  <>
74
73
  <TitleIconContainer>
75
- <div>
76
- <Titletag>BETA</Titletag>
74
+ <div className="titleWrapper">
77
75
  <Link
78
76
  href={pageLink}
79
77
  onClick={() =>
@@ -6,14 +6,11 @@ exports[`QuizleSidebar should render QuizleSidebar component 1`] = `
6
6
  class="sc-bdVaJa cMctWl"
7
7
  >
8
8
  <div
9
- class="sc-ifAKCX eAXdqo"
9
+ class="sc-ifAKCX diojoA"
10
10
  >
11
- <div>
12
- <h3
13
- class="sc-bZQynM RZeQF"
14
- >
15
- BETA
16
- </h3>
11
+ <div
12
+ class="titleWrapper"
13
+ >
17
14
  <a
18
15
  class="trigger sc-bxivhb dfGUog"
19
16
  href="https://www.thetimes.com/puzzles"
@@ -34,7 +31,7 @@ exports[`QuizleSidebar should render QuizleSidebar component 1`] = `
34
31
  class="sc-htpNat eWIklo"
35
32
  />
36
33
  <div
37
- class="sc-gzVnrw htwMMp"
34
+ class="sc-bZQynM ggcUxy"
38
35
  >
39
36
  <p>
40
37
  <span
@@ -55,6 +55,10 @@ export const TitleIconContainer = styled.div`
55
55
  height: 40px;
56
56
  margin-left: 8px;
57
57
  }
58
+ & .titleWrapper {
59
+ display: flex;
60
+ align-items: center;
61
+ }
58
62
  `;
59
63
 
60
64
  export const Title = styled.h3`
@@ -66,15 +70,6 @@ export const Title = styled.h3`
66
70
  margin: 2px 0 0;
67
71
  `;
68
72
 
69
- export const Titletag = styled.h3`
70
- font-family: 'Roboto';
71
- font-size: 12px;
72
- font-weight: 700;
73
- line-height: 18px;
74
- text-align: left;
75
- margin-block: 0;
76
- `;
77
-
78
73
  export const Bottom = styled.div`
79
74
  display: flex;
80
75
  flex-direction: column;