@quintype/arrow 2.9.11-webpack5.3 → 2.9.11-webpack5.4

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.
Files changed (70) hide show
  1. package/AlsoRead/dist/AlsoRead/styles.arrow.css +1 -0
  2. package/AsideCollection/dist/AsideCollection/styles.arrow.css +1 -0
  3. package/Attachment/dist/Attachment/styles.arrow.css +1 -0
  4. package/Author/dist/Author/styles.arrow.css +1 -0
  5. package/AuthorIntroductionCard/dist/AuthorIntroductionCard/styles.arrow.css +1 -0
  6. package/AuthorWithTime/dist/AuthorWithTime/styles.arrow.css +1 -0
  7. package/AuthorsList/dist/AuthorsList/styles.arrow.css +1 -0
  8. package/BigFact/dist/BigFact/styles.arrow.css +1 -0
  9. package/BlockQuote/dist/BlockQuote/styles.arrow.css +1 -0
  10. package/Blurb/dist/Blurb/styles.arrow.css +1 -0
  11. package/CollectionFilter/dist/CollectionFilter/styles.arrow.css +1 -0
  12. package/CollectionName/dist/CollectionName/styles.arrow.css +1 -0
  13. package/ElevenStories/dist/ElevenStories/styles.arrow.css +1 -0
  14. package/FourColFiveStories/dist/FourColFiveStories/styles.arrow.css +1 -0
  15. package/FourColGrid/dist/FourColGrid/styles.arrow.css +1 -0
  16. package/FourColSixteenStories/dist/FourColSixteenStories/styles.arrow.css +1 -0
  17. package/FourColTwelveStories/dist/FourColTwelveStories/styles.arrow.css +1 -0
  18. package/FourStorySlider/dist/FourStorySlider/styles.arrow.css +1 -0
  19. package/FullScreenSlider/dist/FullScreenSlider/styles.arrow.css +1 -0
  20. package/HalfScreenSlider/dist/HalfScreenSlider/styles.arrow.css +1 -0
  21. package/Headline/dist/Headline/styles.arrow.css +1 -0
  22. package/HeroImage/dist/HeroImage/styles.arrow.css +1 -0
  23. package/Image/dist/Image/styles.arrow.css +1 -0
  24. package/ImageGallery/dist/ImageGallery/styles.arrow.css +1 -0
  25. package/ImageSlideshow/dist/ImageSlideshow/styles.arrow.css +1 -0
  26. package/KeyEvents/dist/KeyEvents/styles.arrow.css +1 -0
  27. package/ListComponent/dist/ListComponent/styles.arrow.css +1 -0
  28. package/ListicleStoryTemplate/dist/ListicleStoryTemplate/styles.arrow.css +1 -0
  29. package/LiveBlogStoryTemplate/dist/LiveBlogStoryTemplate/styles.arrow.css +1 -0
  30. package/LoadmoreButton/dist/LoadmoreButton/styles.arrow.css +1 -0
  31. package/MagazineEditions/dist/MagazineEditions/styles.arrow.css +1 -0
  32. package/MagazineHeaderCard/dist/MagazineHeaderCard/styles.arrow.css +1 -0
  33. package/MagazineWidget/dist/MagazineWidget/styles.arrow.css +1 -0
  34. package/OneColStoryList/dist/OneColStoryList/styles.arrow.css +1 -0
  35. package/OpinionCollection/dist/OpinionCollection/styles.arrow.css +1 -0
  36. package/PageIntroductionCard/dist/PageIntroductionCard/styles.arrow.css +1 -0
  37. package/PhotoStoryTemplate/dist/PhotoStoryTemplate/styles.arrow.css +1 -0
  38. package/QuestionAnswer/dist/QuestionAnswer/styles.arrow.css +1 -0
  39. package/Quote/dist/Quote/styles.arrow.css +1 -0
  40. package/README.md +177 -0
  41. package/Reference/dist/Reference/styles.arrow.css +1 -0
  42. package/ScrollSnap/dist/ScrollSnap/styles.arrow.css +1 -0
  43. package/SectionTag/dist/SectionTag/styles.arrow.css +1 -0
  44. package/SixColSixStories/dist/SixColSixStories/styles.arrow.css +1 -0
  45. package/SocialShareTemplate/dist/SocialShareTemplate/styles.arrow.css +1 -0
  46. package/StoryCard/dist/StoryCard/styles.arrow.css +1 -0
  47. package/StoryCollection/dist/StoryCollection/styles.arrow.css +1 -0
  48. package/StoryElementCard/dist/StoryElementCard/styles.arrow.css +1 -0
  49. package/StorycardContent/dist/StorycardContent/styles.arrow.css +1 -0
  50. package/Subheadline/dist/Subheadline/styles.arrow.css +1 -0
  51. package/Summary/dist/Summary/styles.arrow.css +1 -0
  52. package/TagIntroductionCard/dist/TagIntroductionCard/styles.arrow.css +1 -0
  53. package/Text/dist/Text/styles.arrow.css +1 -0
  54. package/TextStoryTemplate/dist/TextStoryTemplate/styles.arrow.css +1 -0
  55. package/ThreeColFlexStories/dist/ThreeColFlexStories/styles.arrow.css +1 -0
  56. package/ThreeColFourteenStories/dist/ThreeColFourteenStories/styles.arrow.css +1 -0
  57. package/ThreeColGrid/dist/ThreeColGrid/styles.arrow.css +1 -0
  58. package/ThreeColSevenStory/dist/ThreeColSevenStory/styles.arrow.css +1 -0
  59. package/ThreeColSixStories/dist/ThreeColSixStories/styles.arrow.css +1 -0
  60. package/TimeStamp/dist/TimeStamp/styles.arrow.css +1 -0
  61. package/TwoColFourStories/dist/TwoColFourStories/styles.arrow.css +1 -0
  62. package/TwoColFourStoryHighlight/dist/TwoColFourStoryHighlight/styles.arrow.css +1 -0
  63. package/TwoColSixStories/dist/TwoColSixStories/styles.arrow.css +1 -0
  64. package/TwoColThreeStories/dist/TwoColThreeStories/styles.arrow.css +1 -0
  65. package/Video/dist/Video/styles.arrow.css +1 -0
  66. package/VideoStoryTemplate/dist/VideoStoryTemplate/styles.arrow.css +1 -0
  67. package/app.scss +410 -0
  68. package/cjs/index.js +1 -0
  69. package/esm/index.js +1 -0
  70. package/package.json +1 -1
package/app.scss ADDED
@@ -0,0 +1,410 @@
1
+ /* Global CSS */
2
+
3
+ :root {
4
+ /* Colour Palette */
5
+ --arrow-c-brand1: #ff214b;
6
+ --arrow-c-brand2: #1bbb87;
7
+ --arrow-c-brand3: #6fe7c0;
8
+ --arrow-c-brand4: #f6f8ff;
9
+ --arrow-c-brand5: #e9e9e9;
10
+ --arrow-c-accent1: #2fd072;
11
+ --arrow-c-accent2: #f5a623;
12
+ --arrow-c-accent3: #f81010;
13
+ --arrow-c-mono1: rgba(0, 0, 0, 1);
14
+ --arrow-c-mono2: rgba(0, 0, 0, 0.9);
15
+ --arrow-c-mono3: rgba(0, 0, 0, 0.7);
16
+ --arrow-c-mono4: rgba(0, 0, 0, 0.6);
17
+ --arrow-c-mono5: rgba(0, 0, 0, 0.3);
18
+ --arrow-c-mono6: rgba(0, 0, 0, 0.2);
19
+ --arrow-c-mono7: rgba(0, 0, 0, 0.1);
20
+ --arrow-c-invert-mono1: rgba(255, 255, 255, 1);
21
+ --arrow-c-invert-mono2: rgba(255, 255, 255, 0.9);
22
+ --arrow-c-invert-mono3: rgba(255, 255, 255, 0.7);
23
+ --arrow-c-invert-mono4: rgba(255, 255, 255, 0.6);
24
+ --arrow-c-invert-mono5: rgba(255, 255, 255, 0.3);
25
+ --arrow-c-invert-mono6: rgba(255, 255, 255, 0.2);
26
+ --arrow-c-invert-mono7: rgba(255, 255, 255, 0.1);
27
+ --arrow-c-dark: #0d0d0d;
28
+ --arrow-c-light: #ffffff;
29
+ /* Spacing */
30
+ --arrow-spacing-xxs: 4px;
31
+ --arrow-spacing-xs: 8px;
32
+ --arrow-spacing-s: 12px;
33
+ --arrow-spacing-m: 16px;
34
+ --arrow-spacing-l: 24px;
35
+ --arrow-spacing-xl: 32px;
36
+ --arrow-spacing-28: 28px;
37
+ --arrow-spacing-48: 48px;
38
+ /* Font Scale */
39
+ --arrow-fs-tiny: 14px;
40
+ --arrow-fs-xs: 16px;
41
+ --arrow-fs-s: 18px;
42
+ --arrow-fs-m: 20px;
43
+ --arrow-fs-l: 24px;
44
+ --arrow-fs-xl: 26px;
45
+ --arrow-fs-xxl: 30px;
46
+ --arrow-fs-huge: 32px;
47
+ --arrow-fs-big: 40px;
48
+ --arrow-fs-jumbo: 54px;
49
+
50
+ --arrow-fs-28: 28px;
51
+
52
+ /* Font Family */
53
+ --arrow-typeface-primary: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
54
+ --arrow-typeface-secondary: Verdana, Geneva, Tahoma, sans-serif;
55
+ --arrow-sans-serif: sans-serif;
56
+ /* Line height */
57
+ --arrow-lh-1: 1;
58
+ --arrow-lh-2: 1.2;
59
+ --arrow-lh-3: 1.3;
60
+ --arrow-lh-4: 1.4;
61
+ --arrow-lh-5: 1.5;
62
+ /* Font Weight */
63
+ --arrow-fw-light: 300;
64
+ --arrow-fw-normal: 400;
65
+ --arrow-fw-semi-bold: 600;
66
+ --arrow-fw-bold: 700;
67
+ /* Border Color */
68
+ --light-border: var(--arrow-c-invert-mono7);
69
+ --dark-border: var(--arrow-c-mono7);
70
+ /* Fallback Image Color */
71
+ /* need to update this color in future */
72
+ --fallback-img: rgb(232, 232, 232);
73
+ /* Z-Index */
74
+ --z-index-9: 9;
75
+ --z-index-1: 1;
76
+ }
77
+
78
+ .arrow-component {
79
+ font-family: var(--arrow-typeface-primary);
80
+ font-weight: var(--arrow-fw-normal);
81
+ text-rendering: optimizeLegibility;
82
+ -webkit-font-smoothing: antialiased;
83
+ -moz-osx-font-smoothing: grayscale;
84
+ -moz-font-feature-settings: "liga" on;
85
+ h1,
86
+ h2,
87
+ h3,
88
+ h4,
89
+ h5,
90
+ h6,
91
+ ul,
92
+ ol {
93
+ font-family: var(--arrow-typeface-primary);
94
+ }
95
+ p,
96
+ li {
97
+ font-size: var(--arrow-fs-xs);
98
+ line-height: var(--arrow-lh-1);
99
+ }
100
+
101
+ figure {
102
+ margin: 0;
103
+ padding: 0;
104
+ }
105
+ /* Typescale */
106
+ h1 {
107
+ font-size: var(--arrow-fs-huge);
108
+ font-weight: var(--arrow-fw-bold);
109
+ font-stretch: normal;
110
+ font-style: normal;
111
+ line-height: var(--arrow-lh-3);
112
+ letter-spacing: normal;
113
+ @media only screen and (min-width: 768px) {
114
+ font-size: var(--arrow-fs-big);
115
+ }
116
+ }
117
+ h2 {
118
+ font-size: var(--arrow-fs-l);
119
+ font-weight: var(--arrow-fw-bold);
120
+ font-stretch: normal;
121
+ font-style: normal;
122
+ line-height: var(--arrow-lh-3);
123
+ letter-spacing: normal;
124
+ @media only screen and (min-width: 768px) {
125
+ font-size: var(--arrow-fs-huge);
126
+ }
127
+ }
128
+ h3 {
129
+ font-size: var(--arrow-fs-m);
130
+ font-weight: var(--arrow-fw-bold);
131
+ font-stretch: normal;
132
+ font-style: normal;
133
+ line-height: var(--arrow-lh-3);
134
+ letter-spacing: normal;
135
+ @media only screen and (min-width: 768px) {
136
+ font-size: var(--arrow-fs-l);
137
+ }
138
+ }
139
+ h4 {
140
+ font-size: var(--arrow-fs-s);
141
+ font-weight: var(--arrow-fw-bold);
142
+ font-stretch: normal;
143
+ font-style: normal;
144
+ line-height: var(--arrow-lh-3);
145
+ letter-spacing: normal;
146
+ @media only screen and (min-width: 768px) {
147
+ font-size: var(--arrow-fs-m);
148
+ }
149
+ }
150
+ h5 {
151
+ font-size: var(--arrow-fs-xs);
152
+ font-weight: var(--arrow-fw-bold);
153
+ font-stretch: normal;
154
+ font-style: normal;
155
+ line-height: var(--arrow-lh-3);
156
+ letter-spacing: normal;
157
+ @media only screen and (min-width: 768px) {
158
+ font-size: var(--arrow-fs-s);
159
+ }
160
+ }
161
+ h6 {
162
+ font-size: var(--arrow-fs-xs);
163
+ font-weight: var(--arrow-fw-bold);
164
+ font-stretch: normal;
165
+ font-style: normal;
166
+ line-height: var(--arrow-lh-3);
167
+ letter-spacing: normal;
168
+ }
169
+ p {
170
+ font-size: var(--arrow-fs-m);
171
+ font-weight: normal;
172
+ font-stretch: normal;
173
+ font-style: normal;
174
+ line-height: var(--arrow-lh-5);
175
+ letter-spacing: normal;
176
+ font-family: var(--arrow-typeface-secondary);
177
+ word-break: break-word;
178
+ }
179
+ }
180
+
181
+ .arrow-component.full-width-with-padding {
182
+ margin-left: calc(-50vw + 50%);
183
+ margin-right: calc(-50vw + 50%);
184
+ padding: var(--arrow-spacing-m) calc(50vw - 50%) var(--arrow-spacing-xs) calc(50vw - 50%);
185
+ }
186
+
187
+ .p-alt {
188
+ font-size: var(--arrow-fs-xs);
189
+ font-weight: normal;
190
+ font-stretch: normal;
191
+ font-style: normal;
192
+ line-height: var(--arrow-lh-5);
193
+ letter-spacing: normal;
194
+ }
195
+
196
+ .time {
197
+ font-size: var(--arrow-fs-tiny);
198
+ font-weight: normal;
199
+ font-stretch: normal;
200
+ font-style: normal;
201
+ line-height: var(--arrow-lh-2);
202
+ letter-spacing: normal;
203
+ }
204
+
205
+ .author-name {
206
+ font-size: var(--arrow-fs-tiny);
207
+ font-weight: normal;
208
+ font-stretch: normal;
209
+ font-style: normal;
210
+ line-height: var(--arrow-lh-1);
211
+ letter-spacing: normal;
212
+ }
213
+
214
+ .section-tag {
215
+ font-size: var(--arrow-fs-tiny);
216
+ font-weight: bold;
217
+ font-stretch: normal;
218
+ font-style: normal;
219
+ line-height: normal;
220
+ letter-spacing: normal;
221
+ }
222
+
223
+ .arr-hidden-desktop {
224
+ display: none;
225
+ @media only screen and (max-width: 768px) {
226
+ display: block;
227
+ }
228
+ }
229
+
230
+ .arr-hidden-mob {
231
+ display: block;
232
+ @media only screen and (max-width: 768px) {
233
+ display: none;
234
+ }
235
+ }
236
+
237
+ .arr-custom-style a {
238
+ color: var(--arrow-c-mono2);
239
+ border-bottom: 1px solid var(--arrow-c-mono2);
240
+ }
241
+
242
+ .arr-story-grid {
243
+ display: grid;
244
+ grid-column-gap: var(--arrow-spacing-l);
245
+ grid-template-columns: repeat(4, minmax(auto, 150px));
246
+ position: relative;
247
+ margin: 0 12px;
248
+ @media only screen and (min-width: 768px) {
249
+ grid-template-columns:
250
+ [grid-start] minmax(48px, auto) [container-start] repeat(12, minmax(auto, 55px)) [container-end] minmax(
251
+ 48px,
252
+ auto
253
+ )
254
+ [grid-end];
255
+ margin: unset;
256
+ @media only screen and (min-width: 1025px) {
257
+ grid-template-columns:
258
+ [grid-start] minmax(56px, auto) [container-start] repeat(12, minmax(auto, 73px)) [container-end] minmax(
259
+ 56px,
260
+ auto
261
+ )
262
+ [grid-end];
263
+ }
264
+ }
265
+ }
266
+
267
+ .content-style {
268
+ display: contents;
269
+ }
270
+
271
+ .story-element-youtube-video {
272
+ display: block;
273
+ text-align: center;
274
+ overflow: hidden;
275
+
276
+ .thumbnail-wrapper {
277
+ width: 100%;
278
+ position: relative;
279
+ text-align: center;
280
+ display: flex;
281
+
282
+ .youtube-thumbnail {
283
+ height: 360px;
284
+ width: 640px;
285
+ }
286
+
287
+ .youtube-iframe-wrapper {
288
+ position: absolute;
289
+ z-index: 2;
290
+ }
291
+
292
+ .youtube-playBtn {
293
+ background: #282828;
294
+ border-radius: 50%/10%;
295
+ font-size: 1em;
296
+ height: 3em;
297
+ padding: 0;
298
+ width: 4em;
299
+ position: absolute;
300
+ top: 50%;
301
+ left: 11em;
302
+ border: none;
303
+ opacity: 0.8;
304
+ cursor: pointer;
305
+ z-index: 1;
306
+ transform: translateX(-50%) translateY(-50%);
307
+ @media only screen and (min-width: 768px) {
308
+ left: 14em;
309
+ }
310
+ @media only screen and (min-width: 1025px) {
311
+ left: 20em;
312
+ }
313
+ }
314
+
315
+ .youtube-playBtn:hover {
316
+ background: red;
317
+ }
318
+
319
+ .youtube-playBtn::before {
320
+ background: inherit;
321
+ border-radius: 5%/50%;
322
+ bottom: 9%;
323
+ content: "";
324
+ left: -5%;
325
+ position: absolute;
326
+ right: -5%;
327
+ top: 9%;
328
+ }
329
+
330
+ .youtube-playBtn::after {
331
+ border-style: solid;
332
+ border-width: 1em 0 1em 1.732em;
333
+ border-color: transparent transparent transparent hsla(0, 0%, 100%, 0.75);
334
+ content: " ";
335
+ font-size: 0.75em;
336
+ height: 0;
337
+ margin: -1em 0 0 -0.75em;
338
+ top: 50%;
339
+ position: absolute;
340
+ width: 0;
341
+ }
342
+ }
343
+ }
344
+
345
+ .story-element-jsembed-dailymotion-video {
346
+ display: block;
347
+ min-height: 360px;
348
+ text-align: center;
349
+ overflow: hidden;
350
+
351
+ .thumbnail-wrapper {
352
+ width: 100%;
353
+ position: relative;
354
+ text-align: center;
355
+ min-height: 360px;
356
+ display: flex;
357
+
358
+ .dailymotion-thumbnail {
359
+ width: 100%;
360
+ }
361
+
362
+ .dailymotion-iframe-wrapper {
363
+ position: absolute;
364
+ z-index: 2;
365
+ width: 100%;
366
+ height: 100%;
367
+ }
368
+
369
+ .dailymotion-playBtn {
370
+ background: #282828;
371
+ border-radius: 50%;
372
+ font-size: 1em;
373
+ height: 4em;
374
+ padding: 0;
375
+ width: 4em;
376
+ position: absolute;
377
+ top: 50%;
378
+ left: 50%;
379
+ border: none;
380
+ opacity: 0.8;
381
+ cursor: pointer;
382
+ z-index: 1;
383
+ transform: translateX(-50%) translateY(-50%);
384
+ }
385
+
386
+ .dailymotion-playBtn:hover {
387
+ background: rgb(0, 47, 255);
388
+ }
389
+
390
+ .dailymotion-playBtn::before {
391
+ background: inherit;
392
+ border-radius: 50%;
393
+ content: "";
394
+ position: absolute;
395
+ }
396
+
397
+ .dailymotion-playBtn::after {
398
+ border-style: solid;
399
+ border-width: 1em 0 1em 1.732em;
400
+ border-color: transparent transparent transparent hsla(0, 0%, 100%, 0.75);
401
+ content: " ";
402
+ font-size: 0.75em;
403
+ height: 0;
404
+ margin: -1em 0 0 -0.75em;
405
+ top: 50%;
406
+ position: absolute;
407
+ width: 0;
408
+ }
409
+ }
410
+ }