@newskit-render/core 1.50.1 → 1.54.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.
@@ -2,259 +2,25 @@
2
2
 
3
3
  exports[`Footer tests should render footer 1`] = `
4
4
  <DocumentFragment>
5
- .emotion-0 {
6
- background-color: #0A0A0A;
7
- width: 100%;
8
- bottom: 0;
9
- display: block;
10
- padding: 12px;
11
- }
12
-
13
- .emotion-1 {
14
- width: 100%;
15
- max-width: 1920px;
16
- margin: 0 auto;
17
- }
18
-
19
- .emotion-2 {
20
- box-sizing: border-box;
21
- -webkit-background-clip: padding-box;
22
- background-clip: padding-box;
23
- display: -webkit-box;
24
- display: -webkit-flex;
25
- display: -ms-flexbox;
26
- display: flex;
27
- -webkit-box-flex-wrap: wrap;
28
- -webkit-flex-wrap: wrap;
29
- -ms-flex-wrap: wrap;
30
- flex-wrap: wrap;
31
- -webkit-flex-direction: row;
32
- -ms-flex-direction: row;
33
- flex-direction: row;
34
- }
35
-
36
- @media screen {
37
- .emotion-2 {
38
- margin: -0px 8px 0 8px;
39
- }
40
- }
41
-
42
- @media screen and (min-width: 480px) {
43
- .emotion-2 {
44
- margin: -0px 8px 0 8px;
45
- }
46
- }
47
-
48
- @media screen and (min-width: 768px) {
49
- .emotion-2 {
50
- margin: -0px 16px 0 16px;
51
- }
52
- }
53
-
54
- @media screen and (min-width: 1024px) {
55
- .emotion-2 {
56
- margin: -0px 16px 0 16px;
57
- }
58
- }
59
-
60
- @media screen and (min-width: 1440px) {
61
- .emotion-2 {
62
- margin: -0px 16px 0 16px;
63
- }
64
- }
65
-
66
- .emotion-3 {
67
- box-sizing: border-box;
68
- -webkit-background-clip: padding-box;
69
- background-clip: padding-box;
70
- -webkit-flex: 1 0 auto;
71
- -ms-flex: 1 0 auto;
72
- flex: 1 0 auto;
73
- }
74
-
75
- @media screen {
76
- .emotion-3 {
77
- padding: 0 8px;
78
- -webkit-flex-basis: 100%;
79
- -ms-flex-preferred-size: 100%;
80
- flex-basis: 100%;
81
- max-width: 100%;
82
- }
83
- }
84
-
85
- .emotion-4 {
86
- margin-bottom: 12px;
87
- }
88
-
89
- .emotion-5 {
90
- display: inline-block;
91
- fill: #FFFFFF;
92
- color: #FFFFFF;
93
- width: 160px;
94
- }
95
-
96
- .emotion-7 {
97
- border-width: 0px;
98
- margin: 0;
99
- width: 100%;
100
- }
101
-
102
- .emotion-8 {
103
- display: -webkit-box;
104
- display: -webkit-flex;
105
- display: -ms-flexbox;
106
- display: flex;
107
- -webkit-box-flex-flow: row wrap;
108
- -webkit-flex-flow: row wrap;
109
- -ms-flex-flow: row wrap;
110
- flex-flow: row wrap;
111
- -webkit-box-pack: justify;
112
- -webkit-justify-content: space-between;
113
- justify-content: space-between;
114
- -webkit-flex-direction: column;
115
- -ms-flex-direction: column;
116
- flex-direction: column;
117
- margin-bottom: 24px;
118
- }
119
-
120
- @media screen and (min-width: 768px) {
121
- .emotion-8 {
122
- -webkit-box-pack: start;
123
- -ms-flex-pack: start;
124
- -webkit-justify-content: flex-start;
125
- justify-content: flex-start;
126
- -webkit-flex-direction: row;
127
- -ms-flex-direction: row;
128
- flex-direction: row;
129
- }
130
- }
131
-
132
- .emotion-9 {
133
- margin-bottom: 16px;
134
- }
135
-
136
- @media screen and (max-width: 767px) {
137
- .emotion-9 {
138
- margin-right: 0;
139
- }
140
- }
141
-
142
- @media screen and (min-width: 768px) {
143
- .emotion-9 {
144
- margin-right: 64px;
145
- }
146
- }
147
-
148
- .emotion-10 {
149
- display: inline-block;
150
- transition-property: color;
151
- transition-duration: 200ms;
152
- transition-timing-function: cubic-bezier(0, 0, .5, 1);
153
- color: #FFFFFF;
154
- -webkit-text-decoration: none;
155
- text-decoration: none;
156
- }
157
-
158
- .emotion-10 svg {
159
- fill: #FFFFFF;
160
- }
161
-
162
- .emotion-10:hover:not(:disabled) {
163
- color: #FFFFFF;
164
- -webkit-text-decoration: underline;
165
- text-decoration: underline;
166
- }
167
-
168
- .emotion-10:hover:not(:disabled) svg {
169
- fill: #FFFFFF;
170
- }
171
-
172
- .emotion-10:active:not(:disabled) {
173
- color: #FFFFFF;
174
- -webkit-text-decoration: underline;
175
- text-decoration: underline;
176
- }
177
-
178
- .emotion-10:active:not(:disabled) svg {
179
- fill: #FFFFFF;
180
- }
181
-
182
- .emotion-11 {
183
- display: -webkit-box;
184
- display: -webkit-flex;
185
- display: -ms-flexbox;
186
- display: flex;
187
- height: 100%;
188
- -webkit-align-items: center;
189
- -webkit-box-align: center;
190
- -ms-flex-align: center;
191
- align-items: center;
192
- -webkit-flex-direction: row;
193
- -ms-flex-direction: row;
194
- flex-direction: row;
195
- -webkit-box-pack: start;
196
- -ms-flex-pack: start;
197
- -webkit-justify-content: flex-start;
198
- justify-content: flex-start;
199
- }
200
-
201
- .emotion-12 {
202
- margin: 0;
203
- font-family: "DM Sans",sans-serif;
204
- font-size: 14px;
205
- line-height: 21px;
206
- font-weight: 500;
207
- letter-spacing: 0;
208
- padding: 0.5px 0px;
209
- display: inline-block;
210
- display: block;
211
- }
212
-
213
- .emotion-12::before {
214
- content: '';
215
- margin-bottom: -0.391em;
216
- display: block;
217
- }
218
-
219
- .emotion-12::after {
220
- content: '';
221
- margin-top: -0.409em;
222
- display: block;
223
- }
224
-
225
- .emotion-35 {
226
- margin: 0;
227
- color: #535353;
228
- font-family: "DM Sans",sans-serif;
229
- font-size: 14px;
230
- line-height: 1.5;
231
- font-weight: 500;
232
- letter-spacing: 0;
233
- }
234
-
235
- .emotion-35 svg {
236
- fill: #535353;
237
- }
238
-
239
- <div
240
- class="emotion-0"
5
+ <div
6
+ class="css-1p8e12n"
241
7
  >
242
8
  <div
243
- class="emotion-1"
9
+ class="css-8atxkm"
244
10
  >
245
11
  <div
246
- class="emotion-2"
12
+ class="css-1w88buo"
247
13
  data-testid="PageLayout"
248
14
  >
249
15
  <div
250
- class="emotion-3"
16
+ class="css-18d6eiw"
251
17
  data-testid="PageLayout"
252
18
  >
253
19
  <div
254
- class="emotion-4"
20
+ class="css-1nj1cp8"
255
21
  >
256
22
  <svg
257
- class="emotion-5"
23
+ class="css-kgdu16"
258
24
  height="48px"
259
25
  viewBox="0 0 244 40"
260
26
  >
@@ -278,30 +44,30 @@ exports[`Footer tests should render footer 1`] = `
278
44
  </svg>
279
45
  </div>
280
46
  <div
281
- class="emotion-4"
47
+ class="css-1nj1cp8"
282
48
  >
283
49
  <hr
284
50
  aria-hidden="true"
285
- class="emotion-7"
51
+ class="css-ucwznq"
286
52
  data-testid="divider"
287
53
  />
288
54
  </div>
289
55
  <div
290
- class="emotion-8"
56
+ class="css-hx18jh"
291
57
  >
292
58
  <span
293
- class="emotion-9"
59
+ class="css-zkhuqg"
294
60
  >
295
61
  <a
296
62
  aria-label="NavLink One"
297
- class="emotion-10"
63
+ class="css-71f8au"
298
64
  href="/link-one"
299
65
  >
300
66
  <span
301
- class="emotion-11"
67
+ class="css-7eo7xt"
302
68
  >
303
69
  <span
304
- class="emotion-12"
70
+ class="css-b741cy"
305
71
  >
306
72
  NavLink One
307
73
  </span>
@@ -309,18 +75,18 @@ exports[`Footer tests should render footer 1`] = `
309
75
  </a>
310
76
  </span>
311
77
  <span
312
- class="emotion-9"
78
+ class="css-zkhuqg"
313
79
  >
314
80
  <a
315
81
  aria-label="NavLink Two"
316
- class="emotion-10"
82
+ class="css-71f8au"
317
83
  href="/link-two"
318
84
  >
319
85
  <span
320
- class="emotion-11"
86
+ class="css-7eo7xt"
321
87
  >
322
88
  <span
323
- class="emotion-12"
89
+ class="css-b741cy"
324
90
  >
325
91
  NavLink Two
326
92
  </span>
@@ -328,18 +94,18 @@ exports[`Footer tests should render footer 1`] = `
328
94
  </a>
329
95
  </span>
330
96
  <span
331
- class="emotion-9"
97
+ class="css-zkhuqg"
332
98
  >
333
99
  <a
334
100
  aria-label="NavLink Three"
335
- class="emotion-10"
101
+ class="css-71f8au"
336
102
  href="/link-three"
337
103
  >
338
104
  <span
339
- class="emotion-11"
105
+ class="css-7eo7xt"
340
106
  >
341
107
  <span
342
- class="emotion-12"
108
+ class="css-b741cy"
343
109
  >
344
110
  NavLink Three
345
111
  </span>
@@ -347,18 +113,18 @@ exports[`Footer tests should render footer 1`] = `
347
113
  </a>
348
114
  </span>
349
115
  <span
350
- class="emotion-9"
116
+ class="css-zkhuqg"
351
117
  >
352
118
  <a
353
119
  aria-label="NavLink Four"
354
- class="emotion-10"
120
+ class="css-71f8au"
355
121
  href="/link-four"
356
122
  >
357
123
  <span
358
- class="emotion-11"
124
+ class="css-7eo7xt"
359
125
  >
360
126
  <span
361
- class="emotion-12"
127
+ class="css-b741cy"
362
128
  >
363
129
  NavLink Four
364
130
  </span>
@@ -366,18 +132,18 @@ exports[`Footer tests should render footer 1`] = `
366
132
  </a>
367
133
  </span>
368
134
  <span
369
- class="emotion-9"
135
+ class="css-zkhuqg"
370
136
  >
371
137
  <a
372
138
  aria-label="NavLink Five"
373
- class="emotion-10"
139
+ class="css-71f8au"
374
140
  href="/link-five"
375
141
  >
376
142
  <span
377
- class="emotion-11"
143
+ class="css-7eo7xt"
378
144
  >
379
145
  <span
380
- class="emotion-12"
146
+ class="css-b741cy"
381
147
  >
382
148
  NavLink Five
383
149
  </span>
@@ -385,18 +151,18 @@ exports[`Footer tests should render footer 1`] = `
385
151
  </a>
386
152
  </span>
387
153
  <span
388
- class="emotion-9"
154
+ class="css-zkhuqg"
389
155
  >
390
156
  <a
391
157
  aria-label="NavLink Six"
392
- class="emotion-10"
158
+ class="css-71f8au"
393
159
  href="/link-six"
394
160
  >
395
161
  <span
396
- class="emotion-11"
162
+ class="css-7eo7xt"
397
163
  >
398
164
  <span
399
- class="emotion-12"
165
+ class="css-b741cy"
400
166
  >
401
167
  NavLink Six
402
168
  </span>
@@ -405,16 +171,16 @@ exports[`Footer tests should render footer 1`] = `
405
171
  </span>
406
172
  </div>
407
173
  <div
408
- class="emotion-4"
174
+ class="css-1nj1cp8"
409
175
  >
410
176
  <hr
411
177
  aria-hidden="true"
412
- class="emotion-7"
178
+ class="css-ucwznq"
413
179
  data-testid="divider"
414
180
  />
415
181
  </div>
416
182
  <p
417
- class="emotion-35"
183
+ class="css-1rn2unv"
418
184
  >
419
185
  Copyright © YYYY News Corp. All rights reserved.
420
186
  </p>
@@ -92,6 +92,13 @@ const pastDueBanner = {
92
92
  text:
93
93
  'You have cancelled your subscription and will lose access to all benefits on ##DATE##. To re-activate your subscription call ##PHONE_NUMBER##.',
94
94
  },
95
+ toBeCancelledWithRefund: {
96
+ title: 'Your subscription will end soon.',
97
+ phoneNumber: '0800 xxxx xxxxx',
98
+ text:
99
+ 'We have successfully cancelled your subscription and will be processing your refund shortly. If you have any question please call ##PHONE_NUMBER##.',
100
+ dismissDays: 7,
101
+ },
95
102
  treshold: {
96
103
  firstNotice: 26,
97
104
  secondNotice: 30,