@reuters-graphics/graphics-components 0.0.1-beta.1

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 (195) hide show
  1. package/README.md +7 -0
  2. package/dist/@types/actions/cssVariables/index.d.ts +4 -0
  3. package/dist/@types/actions/resizeObserver/index.d.ts +4 -0
  4. package/dist/@types/components/@types/global.d.ts +28 -0
  5. package/dist/@types/components/Article/Article.svelte.d.ts +32 -0
  6. package/dist/@types/components/BeforeAfter/BeforeAfter.svelte.d.ts +57 -0
  7. package/dist/@types/components/Block/Block.svelte.d.ts +24 -0
  8. package/dist/@types/components/BodyText/BodyText.svelte.d.ts +20 -0
  9. package/dist/@types/components/DatawrapperChart/DatawrapperChart.svelte.d.ts +52 -0
  10. package/dist/@types/components/EmbedPreviewerLink/EmbedPreviewerLink.svelte.d.ts +16 -0
  11. package/dist/@types/components/FeaturePhoto/FeaturePhoto.svelte.d.ts +43 -0
  12. package/dist/@types/components/Framer/Framer.svelte.d.ts +29 -0
  13. package/dist/@types/components/Framer/Resizer/index.svelte.d.ts +27 -0
  14. package/dist/@types/components/Framer/stores.d.ts +1 -0
  15. package/dist/@types/components/Framer/uniqNames.d.ts +2 -0
  16. package/dist/@types/components/GraphicBlock/AriaHidden.svelte.d.ts +20 -0
  17. package/dist/@types/components/GraphicBlock/GraphicBlock.svelte.d.ts +64 -0
  18. package/dist/@types/components/GraphicBlock/TextBlock.svelte.d.ts +19 -0
  19. package/dist/@types/components/Headline/Headline.svelte.d.ts +29 -0
  20. package/dist/@types/components/Hero/Hero.svelte.d.ts +41 -0
  21. package/dist/@types/components/NoteText/NoteText.svelte.d.ts +20 -0
  22. package/dist/@types/components/PaddingReset/index.svelte.d.ts +27 -0
  23. package/dist/@types/components/PhotoPack/PhotoPack.svelte.d.ts +50 -0
  24. package/dist/@types/components/PhotoPack/docProps.d.ts +38 -0
  25. package/dist/@types/components/PymChild/PymChild.svelte.d.ts +16 -0
  26. package/dist/@types/components/ReutersLogo/ReutersLogo.svelte.d.ts +18 -0
  27. package/dist/@types/components/SEO/SEO.svelte.d.ts +66 -0
  28. package/dist/@types/components/SEO/analytics.d.ts +2 -0
  29. package/dist/@types/components/SEO/publisherTags.d.ts +2 -0
  30. package/dist/@types/components/Scroller/Background.svelte.d.ts +20 -0
  31. package/dist/@types/components/Scroller/Embedded/Background.svelte.d.ts +19 -0
  32. package/dist/@types/components/Scroller/Embedded/Foreground.svelte.d.ts +18 -0
  33. package/dist/@types/components/Scroller/Embedded/index.svelte.d.ts +19 -0
  34. package/dist/@types/components/Scroller/Foreground.svelte.d.ts +17 -0
  35. package/dist/@types/components/Scroller/Scroller.svelte.d.ts +76 -0
  36. package/dist/@types/components/Sharer/Sharer.svelte.d.ts +19 -0
  37. package/dist/@types/components/Sharer/utils/copyToClipboard.d.ts +2 -0
  38. package/dist/@types/components/Sharer/utils/facebook.d.ts +2 -0
  39. package/dist/@types/components/Sharer/utils/meta.d.ts +2 -0
  40. package/dist/@types/components/Sharer/utils/twitter.d.ts +2 -0
  41. package/dist/@types/components/SiteFooter/CompanyLinks.svelte.d.ts +23 -0
  42. package/dist/@types/components/SiteFooter/LegalLinks.svelte.d.ts +23 -0
  43. package/dist/@types/components/SiteFooter/QuickLinks.svelte.d.ts +23 -0
  44. package/dist/@types/components/SiteFooter/Referrals/IntersectionObserver.svelte.d.ts +39 -0
  45. package/dist/@types/components/SiteFooter/Referrals/Link.svelte.d.ts +29 -0
  46. package/dist/@types/components/SiteFooter/Referrals/Referrals.svelte.d.ts +23 -0
  47. package/dist/@types/components/SiteFooter/Referrals/index.svelte.d.ts +23 -0
  48. package/dist/@types/components/SiteFooter/SiteFooter.svelte.d.ts +23 -0
  49. package/dist/@types/components/SiteFooter/svgs/Facebook.svelte.d.ts +23 -0
  50. package/dist/@types/components/SiteFooter/svgs/Graphics.svelte.d.ts +19 -0
  51. package/dist/@types/components/SiteFooter/svgs/Instagram.svelte.d.ts +23 -0
  52. package/dist/@types/components/SiteFooter/svgs/LinkedIn.svelte.d.ts +23 -0
  53. package/dist/@types/components/SiteFooter/svgs/Pictures.svelte.d.ts +19 -0
  54. package/dist/@types/components/SiteFooter/svgs/Twitter.svelte.d.ts +23 -0
  55. package/dist/@types/components/SiteFooter/svgs/Videos.svelte.d.ts +19 -0
  56. package/dist/@types/components/SiteFooter/svgs/YouTube.svelte.d.ts +23 -0
  57. package/dist/@types/components/SiteHeader/MobileMenu/index.svelte.d.ts +27 -0
  58. package/dist/@types/components/SiteHeader/NavBar/DownArrow.svelte.d.ts +23 -0
  59. package/dist/@types/components/SiteHeader/NavBar/NavDropdown/MoreDropdown.svelte.d.ts +23 -0
  60. package/dist/@types/components/SiteHeader/NavBar/NavDropdown/SectionDropdown.svelte.d.ts +25 -0
  61. package/dist/@types/components/SiteHeader/NavBar/NavDropdown/Spinner/index.svelte.d.ts +19 -0
  62. package/dist/@types/components/SiteHeader/NavBar/NavDropdown/StoryCard/index.svelte.d.ts +25 -0
  63. package/dist/@types/components/SiteHeader/NavBar/NavDropdown/StoryCard/time.d.ts +1 -0
  64. package/dist/@types/components/SiteHeader/NavBar/NavDropdown/index.svelte.d.ts +27 -0
  65. package/dist/@types/components/SiteHeader/NavBar/index.svelte.d.ts +23 -0
  66. package/dist/@types/components/SiteHeader/NavBar/utils/index.d.ts +1 -0
  67. package/dist/@types/components/SiteHeader/SiteHeader.svelte.d.ts +14 -0
  68. package/dist/@types/components/SiteHeader/svgs/Close.svelte.d.ts +19 -0
  69. package/dist/@types/components/SiteHeader/svgs/Menu.svelte.d.ts +23 -0
  70. package/dist/@types/components/Spinner/Spinner.svelte.d.ts +28 -0
  71. package/dist/@types/components/Theme/@types/component.d.ts +28 -0
  72. package/dist/@types/components/Theme/Theme.svelte.d.ts +54 -0
  73. package/dist/@types/components/Theme/themes/dark.d.ts +2 -0
  74. package/dist/@types/components/Theme/themes/light.d.ts +22 -0
  75. package/dist/@types/components/Theme/utils/flatten.d.ts +1 -0
  76. package/dist/@types/components/Theme/utils/merge.d.ts +4 -0
  77. package/dist/@types/components/Video/Controls.svelte.d.ts +45 -0
  78. package/dist/@types/components/Video/Video.svelte.d.ts +46 -0
  79. package/dist/@types/components/Visible/Visible.svelte.d.ts +29 -0
  80. package/dist/@types/index.d.ts +24 -0
  81. package/dist/actions/cssVariables/index.js +20 -0
  82. package/dist/actions/resizeObserver/index.js +25 -0
  83. package/dist/components/@types/global.js +1 -0
  84. package/dist/components/Article/Article.svelte +47 -0
  85. package/dist/components/BeforeAfter/BeforeAfter.svelte +341 -0
  86. package/dist/components/Block/Block.svelte +177 -0
  87. package/dist/components/BodyText/BodyText.svelte +193 -0
  88. package/dist/components/DatawrapperChart/DatawrapperChart.svelte +105 -0
  89. package/dist/components/EmbedPreviewerLink/EmbedPreviewerLink.svelte +26 -0
  90. package/dist/components/FeaturePhoto/FeaturePhoto.svelte +113 -0
  91. package/dist/components/Framer/Framer.svelte +136 -0
  92. package/dist/components/Framer/Resizer/index.svelte +223 -0
  93. package/dist/components/Framer/stores.js +3 -0
  94. package/dist/components/Framer/uniqNames.js +54 -0
  95. package/dist/components/GraphicBlock/AriaHidden.svelte +13 -0
  96. package/dist/components/GraphicBlock/GraphicBlock.svelte +269 -0
  97. package/dist/components/GraphicBlock/TextBlock.svelte +12 -0
  98. package/dist/components/Headline/Headline.svelte +109 -0
  99. package/dist/components/Hero/Hero.svelte +78 -0
  100. package/dist/components/NoteText/NoteText.svelte +124 -0
  101. package/dist/components/PaddingReset/index.svelte +17 -0
  102. package/dist/components/PhotoPack/PhotoPack.svelte +156 -0
  103. package/dist/components/PhotoPack/docProps.js +20 -0
  104. package/dist/components/PymChild/PymChild.svelte +10 -0
  105. package/dist/components/ReutersLogo/ReutersLogo.svelte +21 -0
  106. package/dist/components/SEO/SEO.svelte +179 -0
  107. package/dist/components/SEO/analytics.js +332 -0
  108. package/dist/components/SEO/publisherTags.js +26 -0
  109. package/dist/components/Scroller/Background.svelte +30 -0
  110. package/dist/components/Scroller/Embedded/Background.svelte +14 -0
  111. package/dist/components/Scroller/Embedded/Foreground.svelte +203 -0
  112. package/dist/components/Scroller/Embedded/index.svelte +18 -0
  113. package/dist/components/Scroller/Foreground.svelte +42 -0
  114. package/dist/components/Scroller/Scroller.svelte +210 -0
  115. package/dist/components/Sharer/Sharer.svelte +157 -0
  116. package/dist/components/Sharer/utils/copyToClipboard.js +10 -0
  117. package/dist/components/Sharer/utils/facebook.js +22 -0
  118. package/dist/components/Sharer/utils/meta.js +7 -0
  119. package/dist/components/Sharer/utils/twitter.js +22 -0
  120. package/dist/components/SiteFooter/CompanyLinks.svelte +173 -0
  121. package/dist/components/SiteFooter/LegalLinks.svelte +202 -0
  122. package/dist/components/SiteFooter/QuickLinks.svelte +259 -0
  123. package/dist/components/SiteFooter/Referrals/IntersectionObserver.svelte +45 -0
  124. package/dist/components/SiteFooter/Referrals/Link.svelte +73 -0
  125. package/dist/components/SiteFooter/Referrals/Referrals.svelte +56 -0
  126. package/dist/components/SiteFooter/Referrals/index.svelte +53 -0
  127. package/dist/components/SiteFooter/SiteFooter.svelte +41 -0
  128. package/dist/components/SiteFooter/data.json +210 -0
  129. package/dist/components/SiteFooter/svgs/Facebook.svelte +18 -0
  130. package/dist/components/SiteFooter/svgs/Graphics.svelte +18 -0
  131. package/dist/components/SiteFooter/svgs/Instagram.svelte +20 -0
  132. package/dist/components/SiteFooter/svgs/LinkedIn.svelte +18 -0
  133. package/dist/components/SiteFooter/svgs/Pictures.svelte +14 -0
  134. package/dist/components/SiteFooter/svgs/Twitter.svelte +18 -0
  135. package/dist/components/SiteFooter/svgs/Videos.svelte +14 -0
  136. package/dist/components/SiteFooter/svgs/YouTube.svelte +18 -0
  137. package/dist/components/SiteHeader/MobileMenu/index.svelte +199 -0
  138. package/dist/components/SiteHeader/NavBar/DownArrow.svelte +26 -0
  139. package/dist/components/SiteHeader/NavBar/NavDropdown/MoreDropdown.svelte +112 -0
  140. package/dist/components/SiteHeader/NavBar/NavDropdown/SectionDropdown.svelte +118 -0
  141. package/dist/components/SiteHeader/NavBar/NavDropdown/Spinner/index.svelte +49 -0
  142. package/dist/components/SiteHeader/NavBar/NavDropdown/StoryCard/index.svelte +99 -0
  143. package/dist/components/SiteHeader/NavBar/NavDropdown/StoryCard/time.js +70 -0
  144. package/dist/components/SiteHeader/NavBar/NavDropdown/index.svelte +277 -0
  145. package/dist/components/SiteHeader/NavBar/index.svelte +234 -0
  146. package/dist/components/SiteHeader/NavBar/utils/index.js +2 -0
  147. package/dist/components/SiteHeader/SiteHeader.svelte +235 -0
  148. package/dist/components/SiteHeader/data.json +1 -0
  149. package/dist/components/SiteHeader/scss/_breakpoints.scss +59 -0
  150. package/dist/components/SiteHeader/scss/_colors.scss +25 -0
  151. package/dist/components/SiteHeader/scss/_eases.scss +9 -0
  152. package/dist/components/SiteHeader/scss/_grids.scss +126 -0
  153. package/dist/components/SiteHeader/scss/_z-indexes.scss +15 -0
  154. package/dist/components/SiteHeader/svgs/Close.svelte +14 -0
  155. package/dist/components/SiteHeader/svgs/Menu.svelte +19 -0
  156. package/dist/components/Spinner/Spinner.svelte +91 -0
  157. package/dist/components/Theme/@types/component.js +3 -0
  158. package/dist/components/Theme/Theme.svelte +37 -0
  159. package/dist/components/Theme/themes/dark.js +23 -0
  160. package/dist/components/Theme/themes/light.js +22 -0
  161. package/dist/components/Theme/utils/flatten.js +39 -0
  162. package/dist/components/Theme/utils/merge.js +23 -0
  163. package/dist/components/Video/Controls.svelte +68 -0
  164. package/dist/components/Video/Video.svelte +278 -0
  165. package/dist/components/Visible/Visible.svelte +54 -0
  166. package/dist/index.js +31 -0
  167. package/dist/scss/_mixins.scss +6 -0
  168. package/dist/scss/_variables.scss +2 -0
  169. package/dist/scss/bootstrap/_main.scss +34 -0
  170. package/dist/scss/bootstrap/_variables.scss +10 -0
  171. package/dist/scss/colours/thematic/_nord.scss +40 -0
  172. package/dist/scss/colours/thematic/_tr.scss +27 -0
  173. package/dist/scss/components/_hero-title.scss +118 -0
  174. package/dist/scss/fonts/_font-faces.scss +129 -0
  175. package/dist/scss/fonts/_mixins.scss +25 -0
  176. package/dist/scss/fonts/_rules.scss +19 -0
  177. package/dist/scss/fonts/_variables.scss +26 -0
  178. package/dist/scss/main.scss +16 -0
  179. package/dist/scss/mixins/_block.scss +62 -0
  180. package/dist/scss/mixins/_body-text.scss +113 -0
  181. package/dist/scss/mixins/_graphic.scss +66 -0
  182. package/dist/scss/mixins/_note-text.scss +34 -0
  183. package/dist/scss/mixins/_visually-hidden.scss +12 -0
  184. package/dist/scss/spacers/_rules.scss +65 -0
  185. package/dist/scss/spacers/_variables.scss +19 -0
  186. package/dist/scss/typography/_box-shadow.scss +11 -0
  187. package/dist/scss/typography/_font-size.scss +81 -0
  188. package/dist/scss/typography/_letter-spacing.scss +15 -0
  189. package/dist/scss/typography/_main.scss +5 -0
  190. package/dist/scss/typography/_mixins.scss +26 -0
  191. package/dist/scss/typography/_rules.scss +83 -0
  192. package/dist/scss/typography/_text-shadow.scss +13 -0
  193. package/dist/scss/typography/_transform.scss +7 -0
  194. package/dist/scss/typography/_variables.scss +39 -0
  195. package/package.json +210 -0
@@ -0,0 +1,41 @@
1
+ <script>import QuickLinks from './QuickLinks.svelte';
2
+ import CompanyLinks from './CompanyLinks.svelte';
3
+ import LegalLinks from './LegalLinks.svelte';
4
+ import Referrals from './Referrals/index.svelte';
5
+ import data from './data.json';
6
+ /**
7
+ * Custom referrals to other Reuters Graphics projects
8
+ */
9
+ export let referrals = [];
10
+ </script>
11
+
12
+ <footer
13
+ style="{`
14
+ --nav-background: var(--theme-colour-background, #fff);
15
+ --nav-primary: var(--theme-colour-text-primary, #404040);
16
+ --nav-rules: var(--theme-colour-brand-rules, #d0d0d0);
17
+ `}"
18
+ >
19
+ <div>
20
+ <Referrals referrals="{referrals}" />
21
+ <QuickLinks links="{data[0]}" />
22
+ <CompanyLinks links="{data[0]}" />
23
+ <LegalLinks links="{data[0]}" />
24
+ </div>
25
+ </footer>
26
+
27
+ <!-- svelte-ignore css-unused-selector -->
28
+ <style>footer {
29
+ margin-top: 4rem;
30
+ background-color: var(--nav-background, #fff);
31
+ }
32
+ footer div {
33
+ max-width: 1400px;
34
+ margin: 0 auto;
35
+ }
36
+ footer :global(a) {
37
+ text-decoration: none;
38
+ }
39
+ footer :global(a:hover) {
40
+ text-decoration: underline;
41
+ }</style>
@@ -0,0 +1,210 @@
1
+ [
2
+ {
3
+ "company_description": "Reuters, the news and media division of Thomson Reuters, is the world’s largest multimedia news provider, reaching billions of people worldwide every day. Reuters provides business, financial, national and international news to professionals via desktop terminals, the world's media organizations, industry events and directly to consumers.",
4
+ "disclaimer_link": "https://www.reuters.com/info-pages/disclaimer/",
5
+ "copyright_link": "https://www.thomsonreuters.com/en/policies/copyright.html",
6
+ "copyright_year": "2022",
7
+ "latest_links": [
8
+ {
9
+ "text": "Home",
10
+ "url": "/",
11
+ "self": true
12
+ }
13
+ ],
14
+ "browse_links": [
15
+ {
16
+ "text": "World",
17
+ "url": "/world/",
18
+ "self": true
19
+ },
20
+ {
21
+ "text": "Business",
22
+ "url": "/business/",
23
+ "self": true
24
+ },
25
+ {
26
+ "text": "Legal",
27
+ "url": "/legal/",
28
+ "self": true
29
+ },
30
+ {
31
+ "text": "Markets",
32
+ "url": "/markets/",
33
+ "self": true
34
+ },
35
+ {
36
+ "text": "Breakingviews",
37
+ "url": "/breakingviews/",
38
+ "self": true
39
+ },
40
+ {
41
+ "text": "Technology",
42
+ "url": "/technology/",
43
+ "self": true
44
+ },
45
+ {
46
+ "text": "Investigations",
47
+ "url": "/investigates/"
48
+ },
49
+ {
50
+ "text": "Lifestyle",
51
+ "url": "/lifestyle/",
52
+ "self": true
53
+ }
54
+ ],
55
+ "media_links": [
56
+ {
57
+ "text": "Videos",
58
+ "url": "https://www.reuters.com/video/",
59
+ "symbol": "videos"
60
+ },
61
+ {
62
+ "text": "Pictures",
63
+ "url": "https://www.reuters.com/news/pictures",
64
+ "symbol": "pictures"
65
+ },
66
+ {
67
+ "text": "Graphics",
68
+ "url": "https://graphics.reuters.com/",
69
+ "symbol": "graphics"
70
+ }
71
+ ],
72
+ "about_links": [
73
+ {
74
+ "text": "About Reuters",
75
+ "url": "https://www.reutersagency.com/en/about/about-us/"
76
+ },
77
+ {
78
+ "text": "Careers",
79
+ "url": "https://www.thomsonreuters.com/en/careers.html"
80
+ },
81
+ {
82
+ "text": "Reuters News Agency",
83
+ "url": "https://www.reutersagency.com/en/?utm_source=website&utm_medium=reuters&utm_campaign=site-referral&utm_content=us&utm_term=0"
84
+ },
85
+ {
86
+ "text": "Brand Attribution Guidelines",
87
+ "url": "https://www.reutersagency.com/en/about/about-us/brand-attribution-guidelines/"
88
+ },
89
+ {
90
+ "text": "Reuters Leadership",
91
+ "url": "https://www.reutersagency.com/en/about/leadership-team/"
92
+ },
93
+ {
94
+ "text": "Reuters Fact Check",
95
+ "url": "https://www.reuters.com/fact-check/"
96
+ },
97
+ {
98
+ "text": "Reuters Diversity Report",
99
+ "url": "https://www.reuters.com/DiversityReportApril2022"
100
+ }
101
+ ],
102
+ "stay_informed_links": [
103
+ {
104
+ "text": "Download the App",
105
+ "url": "https://www.reuters.com/tools/mobile/us"
106
+ },
107
+ {
108
+ "text": "Newsletters",
109
+ "url": "https://newslink.reuters.com/join/subscribe"
110
+ }
111
+ ],
112
+ "social_links": [
113
+ {
114
+ "type": "twitter",
115
+ "url": "https://www.twitter.com/Reuters"
116
+ },
117
+ {
118
+ "type": "facebook",
119
+ "url": "https://www.facebook.com/Reuters"
120
+ },
121
+ {
122
+ "type": "instagram",
123
+ "url": "https://www.instagram.com/Reuters"
124
+ },
125
+ {
126
+ "type": "youtube",
127
+ "url": "https://www.youtube.com/user/ReutersVideo"
128
+ },
129
+ {
130
+ "type": "linkedin",
131
+ "url": "https://www.linkedin.com/company/10256858/"
132
+ }
133
+ ],
134
+ "tr_products": [
135
+ {
136
+ "name": "Westlaw",
137
+ "description": "Build the strongest argument relying on authoritative content, attorney-editor expertise, and industry defining technology.",
138
+ "url": "https://legal.thomsonreuters.com/en/products/westlaw"
139
+ },
140
+ {
141
+ "name": "Onesource",
142
+ "description": "The most comprehensive solution to manage all your complex and ever-expanding tax and compliance needs.",
143
+ "url": "https://tax.thomsonreuters.com/en/onesource"
144
+ },
145
+ {
146
+ "name": "Checkpoint",
147
+ "description": "The industry leader for online information for tax, accounting and finance professionals.",
148
+ "url": "https://tax.thomsonreuters.com/en/checkpoint"
149
+ }
150
+ ],
151
+ "refinitiv_products": [
152
+ {
153
+ "name": "Refinitiv Workspace",
154
+ "description": " Access unmatched financial data, news and content in a highly-customised workflow experience on desktop, web and mobile.",
155
+ "url": " https://www.refinitiv.com/en/products/refinitiv-workspace"
156
+ },
157
+ {
158
+ "name": "Refinitiv Data Catalogue",
159
+ "description": " Browse an unrivalled portfolio of real-time and historical market data and insights from worldwide sources and experts.",
160
+ "url": " https://www.refinitiv.com/en/financial-data"
161
+ },
162
+ {
163
+ "name": "Refinitiv World-Check",
164
+ "description": "Screen for heightened risk individual and entities globally to help uncover hidden risks in business relationships and human networks.",
165
+ "url": "https://www.refinitiv.com/en/products/world-check-kyc-screening"
166
+ }
167
+ ],
168
+ "ad_links": [
169
+ {
170
+ "text": "Advertise With Us",
171
+ "url": "https://www.reutersagency.com/en/services/advertising-solutions/"
172
+ },
173
+ {
174
+ "text": "Advertising Guidelines",
175
+ "url": "/info-pages/advertising-guidelines/"
176
+ }
177
+ ],
178
+ "misc_links": [
179
+ {
180
+ "text": "Cookies",
181
+ "url": "https://www.thomsonreuters.com/en/privacy-statement.html#cookies"
182
+ },
183
+ {
184
+ "text": "Terms of Use",
185
+ "url": "/info-pages/terms-of-use/"
186
+ },
187
+ {
188
+ "text": "Privacy",
189
+ "url": "https://www.thomsonreuters.com/en/privacy-statement.html"
190
+ },
191
+ {
192
+ "text": "Digital Accessibility",
193
+ "url": "https://www.thomsonreuters.com/en/policies/digital-accessibility-policy.html"
194
+ },
195
+ {
196
+ "text": "Corrections",
197
+ "url": "/info-pages/contact-us/"
198
+ },
199
+ {
200
+ "text": "Site Feedback",
201
+ "url": "https://trdigital.iad1.qualtrics.com/jfe/form/SV_8kte8gArGyCGVhz"
202
+ },
203
+ {
204
+ "text": "Do Not Sell My Personal Information",
205
+ "url": "javascript:window.OneTrust.ToggleInfoDisplay();",
206
+ "self": "true"
207
+ }
208
+ ]
209
+ }
210
+ ]
@@ -0,0 +1,18 @@
1
+ <script>
2
+ export let width = 20;
3
+ </script>
4
+
5
+ <svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ viewBox="0 0 16 16"
10
+ style="width: {width}px;"
11
+ ><path
12
+ d="M14.5 0h-13C.675 0 0 .675 0 1.5v13c0 .825.675 1.5 1.5 1.5H8V9H6V7h2V6c0-1.653 1.347-3 3-3h2v2h-2c-.55 0-1 .45-1 1v1h3l-.5 2H10v7h4.5c.825 0 1.5-.675 1.5-1.5v-13c0-.825-.675-1.5-1.5-1.5Z"
13
+ ></path></svg
14
+ >
15
+
16
+ <style>svg {
17
+ fill: var(--nav-primary, #404040);
18
+ }</style>
@@ -0,0 +1,18 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 16 16"
4
+ role="img"
5
+ aria-hidden="true"
6
+ focusable="false"
7
+ >
8
+ <title>Gallery</title>
9
+ <path
10
+ d="M13.3331429,0.38114286 L2.66628571,0.38114286 C1.37085714,0.38114286 0.38057143,1.37142857 0.38057143,2.66685714 L0.38057143,13.3337143 C0.38057143,14.6291429 1.37085714,15.6194286 2.66628571,15.6194286 L13.3331429,15.6194286 C14.6285714,15.6194286 15.6188571,14.6291429 15.6188571,13.3337143 L15.6188571,2.66685714 C15.6188571,1.37142857 14.6285714,0.38114286 13.3331429,0.38114286 Z M1.90457143,2.66685714 C1.90457143,2.20971429 2.20914286,1.90514286 2.66628571,1.90514286 L13.3331429,1.90514286 C13.7902857,1.90514286 14.0948571,2.20971429 14.0948571,2.66685714 L14.0948571,8.4571429 L11.5805714,5.94285714 C11.276,5.63828571 10.8188571,5.63828571 10.5137143,5.94285714 L2.43771429,14.0188571 C2.13314286,13.9428571 1.90457143,13.6377143 1.90457143,13.3331429 L1.90457143,2.66628571 L1.90457143,2.66685714 Z M13.3331429,14.0954286 L4.49485714,14.0954286 L11.0474286,7.5428571 L14.0948571,10.5902857 L14.0948571,13.3331429 C14.0948571,13.7902857 13.7902857,14.0948571 13.3331429,14.0948571 L13.3331429,14.0954286 Z"
11
+ ></path><path
12
+ d="M5.33314286,7.2382857 C6.4,7.2382857 7.2377143,6.4 7.2377143,5.33371429 C7.2377143,4.26742857 6.3994286,3.42914286 5.33314286,3.42914286 C4.26685714,3.42914286 3.42857143,4.26742857 3.42857143,5.33371429 C3.42857143,6.4 4.26685714,7.2382857 5.33314286,7.2382857 Z M5.33314286,4.95257143 C5.56171429,4.95257143 5.71428571,5.10514286 5.71428571,5.33371429 C5.71428571,5.56228571 5.56171429,5.71485714 5.33314286,5.71485714 C5.10457143,5.71485714 4.952,5.56228571 4.952,5.33371429 C4.952,5.10514286 5.10457143,4.95257143 5.33314286,4.95257143 Z"
13
+ ></path>
14
+ </svg>
15
+
16
+ <style>svg {
17
+ fill: var(--nav-primary, #404040);
18
+ }</style>
@@ -0,0 +1,20 @@
1
+ <script>
2
+ export let width = 20;
3
+ </script>
4
+
5
+ <svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ viewBox="0 0 16 16"
10
+ style="width: {width}px;"
11
+ ><path
12
+ d="M8 1.44c2.137 0 2.39.01 3.231.048.781.034 1.203.165 1.485.274.372.145.64.32.918.598.281.281.453.546.6.919.11.281.24.706.275 1.484.037.844.047 1.097.047 3.232 0 2.134-.01 2.39-.047 3.231-.034.781-.165 1.203-.275 1.484a2.47 2.47 0 0 1-.597.919 2.51 2.51 0 0 1-.918.6c-.282.11-.707.24-1.485.275-.844.037-1.097.047-3.232.047-2.134 0-2.39-.01-3.231-.047-.781-.034-1.203-.165-1.484-.275a2.476 2.476 0 0 1-.92-.597 2.51 2.51 0 0 1-.6-.918c-.109-.282-.24-.707-.274-1.485-.038-.844-.048-1.097-.048-3.231 0-2.135.01-2.391.047-3.232.035-.781.166-1.203.276-1.485.143-.372.319-.64.597-.919.281-.281.546-.453.918-.6.282-.109.707-.24 1.485-.274C5.608 1.45 5.862 1.44 8 1.44ZM8 0C5.828 0 5.556.01 4.703.047c-.85.038-1.435.175-1.94.372a3.898 3.898 0 0 0-1.419.925c-.447.444-.719.89-.925 1.415C.222 3.27.085 3.85.047 4.7.01 5.556 0 5.828 0 8c0 2.172.01 2.444.047 3.297.038.85.175 1.434.372 1.94.206.528.478.976.925 1.419.444.444.89.719 1.415.922.51.197 1.091.335 1.941.372.853.038 1.125.047 3.297.047s2.444-.01 3.297-.047c.85-.037 1.434-.175 1.94-.372a3.903 3.903 0 0 0 1.416-.922c.444-.444.719-.89.922-1.415.197-.51.335-1.091.372-1.941.037-.853.047-1.125.047-3.297s-.01-2.444-.047-3.297c-.038-.85-.175-1.435-.372-1.94a3.753 3.753 0 0 0-.915-1.423A3.91 3.91 0 0 0 13.24.422c-.51-.197-1.09-.335-1.94-.372C10.444.008 10.171 0 8 0H8Z"
13
+ ></path><path
14
+ d="M8 3.89a4.11 4.11 0 0 0 0 8.22 4.11 4.11 0 0 0 0-8.22Zm0 6.776a2.666 2.666 0 1 1 0-5.332 2.666 2.666 0 0 1 0 5.332Zm5.231-6.938a.96.96 0 1 1-1.919 0 .96.96 0 0 1 1.919 0Z"
15
+ ></path></svg
16
+ >
17
+
18
+ <style>svg {
19
+ fill: var(--nav-primary, #404040);
20
+ }</style>
@@ -0,0 +1,18 @@
1
+ <script>
2
+ export let width = 20;
3
+ </script>
4
+
5
+ <svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ viewBox="0 0 21 21"
10
+ style="width: {width}px;"
11
+ ><path
12
+ d="M19.031 0c1.034 0 1.888.807 1.964 1.822L21 1.97V19.03a1.975 1.975 0 0 1-1.822 1.964L19.03 21H1.97a1.975 1.975 0 0 1-1.964-1.822L0 19.03V1.97C0 .935.807.08 1.822.005L1.97 0H19.03ZM6.3 7.875H3.15v10.063H6.3V7.874Zm7.875-.175c-1.575 0-2.538.788-2.975 1.575v-1.4H8.225v10.063h3.15V12.95c0-1.313.175-2.537 1.838-2.537 1.575 0 1.575 1.487 1.575 2.624v4.9h3.15v-5.425c0-2.712-.613-4.812-3.763-4.812ZM4.637 2.8c-1.05 0-1.837.875-1.837 1.838 0 1.05.875 1.837 1.838 1.837 1.05 0 1.837-.787 1.837-1.837 0-1.05-.875-1.838-1.837-1.838Z"
13
+ ></path></svg
14
+ >
15
+
16
+ <style>svg {
17
+ fill: var(--nav-primary, #404040);
18
+ }</style>
@@ -0,0 +1,14 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 21 18"
4
+ role="img"
5
+ aria-hidden="true"
6
+ focusable="false"
7
+ ><title>Pictures</title><path
8
+ d="M13.1256562,0 C13.3881562,0 13.6506562,0.17954776 13.825875,0.3597705 L15.3135937,2.69996625 L18.375,2.69996625 C19.8627187,2.69996625 21,3.8697266 21,5.3999325 L21,15.3000337 C21,16.8302396 19.8627187,18 18.375,18 L2.625,18 C1.13728125,18 0,16.8302396 0,15.3000337 L0,5.3999325 C0,3.8697266 1.13728125,2.69996625 2.625,2.69996625 L5.6877187,2.69996625 L7.1754375,0.3597705 C7.3506562,0.18022275 7.6131562,0 7.8756562,0 L13.1256562,0 Z M12.6013125,1.79952751 L8.3140312,1.79952751 L6.8263125,4.1397233 C6.6510937,4.319271 6.3885937,4.4994938 6.1260937,4.4994938 L2.6263125,4.4994938 C2.1013125,4.4994938 1.75153125,4.8592643 1.75153125,5.3992575 L1.75153125,15.2993588 C1.75153125,15.839352 2.1013125,16.1991225 2.6263125,16.1991225 L18.3763125,16.1991225 C18.9013125,16.1991225 19.2510937,15.839352 19.2510937,15.2993588 L19.2510937,5.3992575 C19.2510937,4.8592643 18.9013125,4.4994938 18.3763125,4.4994938 L14.8765312,4.4994938 C14.6140312,4.4994938 14.3515312,4.319946 14.0890312,4.1397233 L12.6013125,1.79952751 Z M10.5013125,5.3999325 C12.95175,5.3999325 14.8765312,7.3796828 14.8765312,9.9001012 C14.8765312,12.4205197 12.95175,14.40027 10.5013125,14.40027 C8.050875,14.40027 6.1260937,12.4205197 6.1260937,9.9001012 C6.1260937,7.3796828 8.0515312,5.3999325 10.5013125,5.3999325 Z M10.5013125,7.19946 C9.0135937,7.19946 7.8763125,8.3692204 7.8763125,9.8994263 C7.8763125,11.4296321 9.0135937,12.5993925 10.5013125,12.5993925 C11.9890312,12.5993925 13.1263125,11.4296321 13.1263125,9.8994263 C13.1263125,8.3692204 11.9890312,7.19946 10.5013125,7.19946 Z"
9
+ ></path></svg
10
+ >
11
+
12
+ <style>svg {
13
+ fill: var(--nav-primary, #404040);
14
+ }</style>
@@ -0,0 +1,18 @@
1
+ <script>
2
+ export let width = 20;
3
+ </script>
4
+
5
+ <svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ viewBox="0 0 16 13"
10
+ style="width: {width}px;"
11
+ ><path
12
+ d="M16 1.537a6.469 6.469 0 0 1-1.884.516A3.3 3.3 0 0 0 15.559.237a6.603 6.603 0 0 1-2.084.797A3.282 3.282 0 0 0 11.078 0a3.28 3.28 0 0 0-3.196 4.028A9.315 9.315 0 0 1 1.118.598a3.28 3.28 0 0 0-.444 1.65c0 1.137.578 2.143 1.46 2.73A3.281 3.281 0 0 1 .646 4.57v.04A3.282 3.282 0 0 0 3.28 7.83a3.286 3.286 0 0 1-1.483.055 3.294 3.294 0 0 0 3.065 2.282A6.583 6.583 0 0 1 0 11.526 9.281 9.281 0 0 0 5.034 13c6.036 0 9.338-5.003 9.338-9.34 0-.144-.003-.285-.01-.425A6.607 6.607 0 0 0 16 1.538Z"
13
+ ></path></svg
14
+ >
15
+
16
+ <style>svg {
17
+ fill: var(--nav-primary, #404040);
18
+ }</style>
@@ -0,0 +1,14 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 16 11"
4
+ role="img"
5
+ aria-hidden="true"
6
+ focusable="false"
7
+ ><title>Videos</title><path
8
+ d="M15.6665,1.5665 C15.4665,1.433 15.2,1.5 15,1.633 L11.3335,4.233 L11.3335,2.1665 C11.3335,1.033 10.467,0.1665 9.3335,0.1665 L2,0.1665 C0.8665,0.1665 0,1.033 0,2.1665 L0,8.833 C0,9.9665 0.8665,10.833 2,10.833 L9.3335,10.833 C10.467,10.833 11.3335,9.9665 11.3335,8.833 L11.3335,6.7665 L14.9335,9.3665 C15.067,9.433 15.2,9.5 15.3335,9.5 C15.467,9.5 15.5335,9.5 15.667,9.4335 C15.867,9.3 16.0005,9.1 16.0005,8.8335 L16.0005,2.167 C16.0005,1.9005 15.867,1.7005 15.667,1.567 L15.6665,1.5665 Z M10,8.8335 C10,9.2335 9.7335,9.5 9.3335,9.5 L2,9.5 C1.6,9.5 1.3335,9.2335 1.3335,8.8335 L1.3335,2.167 C1.3335,1.767 1.6,1.5005 2,1.5005 L9.3335,1.5005 C9.7335,1.5005 10,1.767 10,2.167 L10,8.8335 Z M14.6665,7.5665 L11.8,5.5 L14.6665,3.4335 L14.6665,7.567 L14.6665,7.5665 Z"
9
+ ></path></svg
10
+ >
11
+
12
+ <style>svg {
13
+ fill: var(--nav-primary, #404040);
14
+ }</style>
@@ -0,0 +1,18 @@
1
+ <script>
2
+ export let width = 20;
3
+ </script>
4
+
5
+ <svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ viewBox="0 0 21 17"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ style="width: {width}px;"
11
+ ><path
12
+ d="M18.375 0H2.625A2.617 2.617 0 0 0 0 2.609V14.39A2.617 2.617 0 0 0 2.625 17h15.75A2.617 2.617 0 0 0 21 14.391V2.61A2.617 2.617 0 0 0 18.375 0Zm-10.5 13.044V4.348l7 4.348-7 4.348Z"
13
+ ></path></svg
14
+ >
15
+
16
+ <style>svg {
17
+ fill: var(--nav-primary, #404040);
18
+ }</style>
@@ -0,0 +1,199 @@
1
+ <script>
2
+ import { ReutersLogo } from '../../../index.js';
3
+ import CloseIcon from '../svgs/Close.svelte';
4
+ import { normalizeUrl } from '../NavBar/utils/index.js';
5
+
6
+ export let data = [];
7
+ export let isMobileMenuOpen = false;
8
+ export let releaseMobileMenu = () => {};
9
+ </script>
10
+
11
+ {#if isMobileMenuOpen}
12
+ <div
13
+ class="overlay"
14
+ aria-modal="true"
15
+ style="{`
16
+ --nav-background: var(--theme-colour-background, #fff);
17
+ --nav-primary: var(--theme-colour-text-primary, #404040);
18
+ --nav-rules: var(--theme-colour-brand-rules, #d0d0d0);
19
+ --nav-accent: var(--theme-colour-brand-logo, #fa6400);
20
+ --nav-shadow: 0 1px 4px 2px var(--theme-colour-brand-shadow, rgb(255 255 255 / 10%));
21
+ `}"
22
+ >
23
+ <header class="header">
24
+ <div class="logo">
25
+ <ReutersLogo
26
+ logoColour="var(--nav-accent)"
27
+ textColour="var(--nav-primary)"
28
+ />
29
+ </div>
30
+ <button class="button close-button" on:click="{releaseMobileMenu}">
31
+ <div class="button-container">
32
+ <CloseIcon />
33
+ </div>
34
+ </button>
35
+ </header>
36
+ {#each data.sections as section}
37
+ <section class="section">
38
+ <a class="section-link" href="{normalizeUrl(section.url)}"
39
+ >{section.name}</a
40
+ >
41
+ {#if section.children}
42
+ <ul class="subsections">
43
+ {#each section.children as sub}
44
+ <li>
45
+ <a class="subsection-link" href="{normalizeUrl(sub.url)}">
46
+ {sub.name}
47
+ </a>
48
+ </li>
49
+ {/each}
50
+ </ul>
51
+ {/if}
52
+ </section>
53
+ {/each}
54
+ </div>
55
+ {/if}
56
+
57
+ <style>@charset "UTF-8";
58
+ /*
59
+ Several components utilize z-index, the CSS property that helps control layout by providing a third axis to arrange content. We utilize a default z-index scale that’s been designed to properly layer navigation, tooltips and popovers, modals, and more.
60
+ These higher values start at an arbitrary number, high and specific enough to ideally avoid conflicts. We need a standard set of these across our layered components—tooltips, popovers, navbars, dropdowns, modals—so we can be reasonably consistent in the behaviors.
61
+ To handle overlapping borders within components (e.g., buttons and inputs in input groups), we use low single digit z-index values of 1, 2, and 3 for default, hover, and active states. On hover/focus/active, we bring a particular element to the forefront with a higher z-index value to show their border over the sibling elements.
62
+ */
63
+ .overlay {
64
+ position: fixed;
65
+ z-index: 1060;
66
+ top: 0;
67
+ left: 0;
68
+ width: 100%;
69
+ height: 100%;
70
+ padding-bottom: 60px;
71
+ box-sizing: border-box;
72
+ background: var(--nav-background);
73
+ color: var(--nav-primary);
74
+ overflow: auto;
75
+ }
76
+
77
+ .header {
78
+ position: -webkit-sticky;
79
+ position: sticky;
80
+ top: 0;
81
+ z-index: 1;
82
+ display: flex;
83
+ align-items: center;
84
+ height: 56px;
85
+ box-sizing: border-box;
86
+ background: var(--nav-background);
87
+ }
88
+
89
+ .logo {
90
+ font-size: 0;
91
+ width: 127px;
92
+ }
93
+
94
+ .close-button {
95
+ width: 40px;
96
+ height: 40px;
97
+ margin-left: auto;
98
+ display: inline-block;
99
+ vertical-align: top;
100
+ outline: none;
101
+ border: none;
102
+ margin: 0;
103
+ padding: 0;
104
+ overflow: visible;
105
+ background: transparent;
106
+ color: inherit;
107
+ font: inherit;
108
+ line-height: normal;
109
+ }
110
+ .close-button .button-container {
111
+ border-radius: 8px;
112
+ position: relative;
113
+ overflow: hidden;
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: center;
117
+ width: 100%;
118
+ height: 100%;
119
+ box-sizing: border-box;
120
+ border: 2px solid var(--nav-background);
121
+ }
122
+ .close-button:hover .button-container {
123
+ box-shadow: var(--nav-shadow);
124
+ }
125
+ .close-button:focus-visible .button-container {
126
+ border: 2px solid var(--nav-accent);
127
+ }
128
+
129
+ .header {
130
+ padding-left: 2.2222222222vw;
131
+ padding-right: 2.2222222222vw;
132
+ border-bottom: 1px solid var(--nav-rules, #d0d0d0);
133
+ }
134
+ @media (max-width: 1023px) {
135
+ .header {
136
+ padding-left: 4.2666666667vw;
137
+ padding-right: 4.2666666667vw;
138
+ }
139
+ }
140
+ @media (min-width: 1440px) {
141
+ .header {
142
+ padding-left: 32px;
143
+ padding-right: 32px;
144
+ }
145
+ }
146
+
147
+ .section {
148
+ padding-left: 2.2222222222vw;
149
+ padding-right: 2.2222222222vw;
150
+ padding-top: 16px;
151
+ padding-bottom: 16px;
152
+ border-bottom: 1px solid #d0d0d0;
153
+ width: 100%;
154
+ max-width: 100%;
155
+ }
156
+ @media (max-width: 1023px) {
157
+ .section {
158
+ padding-left: 4.2666666667vw;
159
+ padding-right: 4.2666666667vw;
160
+ }
161
+ }
162
+ @media (min-width: 1440px) {
163
+ .section {
164
+ padding-left: 32px;
165
+ padding-right: 32px;
166
+ }
167
+ }
168
+ .section .subsections {
169
+ margin: 20px 0 0 0;
170
+ padding: 0;
171
+ list-style: none;
172
+ display: grid;
173
+ grid-template-columns: repeat(2, 1fr);
174
+ grid-row-gap: 16px;
175
+ grid-column-gap: 2.2222222222vw;
176
+ }
177
+ @media (max-width: 1023px) {
178
+ .section .subsections {
179
+ grid-column-gap: 4.2666666667vw;
180
+ }
181
+ }
182
+ @media (min-width: 1440px) {
183
+ .section .subsections {
184
+ grid-column-gap: 32px;
185
+ }
186
+ }
187
+ .section .section-link {
188
+ font-size: 14px;
189
+ }
190
+ .section .section-link,
191
+ .section .subsection-link {
192
+ font-family: "Knowledge", "Source Sans Pro", Arial, sans-serif;
193
+ line-height: 1.2;
194
+ color: var(--nav-primary);
195
+ }
196
+ .section .section-link:hover,
197
+ .section .subsection-link:hover {
198
+ text-decoration: underline;
199
+ }</style>
@@ -0,0 +1,26 @@
1
+ <script>
2
+ export let rotate = false;
3
+ </script>
4
+
5
+ <svg
6
+ class="arrow"
7
+ class:rotated="{rotate}"
8
+ focusable="false"
9
+ aria-hidden="true"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ viewBox="0 0 11 7"
12
+ >
13
+ <path
14
+ d="M10.413.587a.71.71 0 0 0-1.027 0L5.5 4.474 1.613.587a.71.71 0 0 0-1.027 0 .709.709 0 0 0 0 1.027l4.4 4.4c.147.147.367.22.513.22a.79.79 0 0 0 .513-.22l4.4-4.4a.71.71 0 0 0 0-1.027h.001Z"
15
+ ></path>
16
+ </svg>
17
+
18
+ <style>svg {
19
+ margin-left: 4px;
20
+ width: 10px;
21
+ fill: var(--nav-primary, #404040);
22
+ transition: transform 0.15s ease;
23
+ }
24
+ svg.rotated {
25
+ transform: rotate(180deg);
26
+ }</style>