@times-components/ts-components 1.133.1 → 1.135.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.
@@ -12,7 +12,7 @@ exports[`Inline Newsletter Puff renders loading state state 1`] = `
12
12
  <div
13
13
  class="sc-bxivhb sc-gqjmRU kcwRFH"
14
14
  >
15
- You've successfully signed up to the
15
+ Youve successfully signed up to the
16
16
 
17
17
  <div
18
18
  class="sc-bxivhb sc-gZMcBi bklePC"
@@ -59,7 +59,7 @@ export const Newsletter = ({
59
59
  justSubscribed && (
60
60
  <InpSubscribedContainer>
61
61
  <InpCopy>
62
- You've successfully signed up to the{' '}
62
+ Youve successfully signed up to the{' '}
63
63
  <InpSignupHeadline>{`${headline}.`} </InpSignupHeadline>
64
64
  <NewsletterPuffLink />
65
65
  </InpCopy>
@@ -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;