Commit graph

731 commits

Author SHA1 Message Date
hobbes7878
20eabe596a
cleanup 2025-09-16 08:37:06 +01:00
paulalexandrescuTR
fde8f30fb5
Update Analytics.svelte
moved GTM script into its own const
2025-09-15 15:49:15 -04:00
paulalexandrescuTR
088f4683e7
Update Analytics.svelte
Update script tag formatting
2025-09-15 15:44:18 -04:00
Paul Alexandrescu
574834f0c0
ESLint fixes 2025-07-18 00:35:46 -04:00
Paul Alexandrescu
1103a87282
feat(GTM): add GTM container with early head injection
- Add GTM script injection via <svelte:head> for early loading
  - Include GTM noscript iframe fallback for non-JS users
  - Configure Reuters GTM container ID (GTM-P9TTSWG2)
  - Update GA and Chartbeat providers to allow loading via GTM container
2025-07-15 22:53:06 -04:00
paulalexandrescuTR
a5818a4282
Updated oneTrustId from a test one to the actual production one 2025-07-15 09:38:12 -04:00
MinamiFunakoshiTR
52cbd12ee0
renames to ThemeConfig in the themes/.js files 2025-07-14 10:29:47 -04:00
MinamiFunakoshiTR
b04435ebaa
fixes exports to ThemeConfig, CustomThemeConfig in merge.ts 2025-07-14 10:25:04 -04:00
MinamiFunakoshiTR
8d3e4b50ea
renames Theme and CustomTheme types #326 2025-07-14 10:20:05 -04:00
MinamiFunakoshiTR
359ed2b032
Merge pull request #312 from reuters-graphics/mf-visible
Fixes rootMargin logic in `Visible`
2025-06-25 12:31:44 -05:00
MinamiFunakoshiTR
fc2372b9df
fix demo typos 2025-06-25 09:12:33 -07:00
MinamiFunakoshiTR
6998d45127
fix typo on unobserve 2025-06-25 09:11:13 -07:00
Kuyoshbek Mekhmonov
09a4d59150
rm parsely 2025-06-25 11:28:29 -04:00
MinamiFunakoshiTR
199e9cc7ac
adds docs on absolute lengths units for rootMargin 2025-06-24 12:43:11 -07:00
MinamiFunakoshiTR
dc2b111837
adds classes to container 2025-06-24 12:40:41 -07:00
MinamiFunakoshiTR
94ca201d9f
deletes debugging console log 2025-06-24 12:39:53 -07:00
MinamiFunakoshiTR
b205d91f38
tweak 2025-06-24 12:39:27 -07:00
MinamiFunakoshiTR
ff8c114526
gets rid of scroll event, makes root margin a string to allow unit specification 2025-06-24 12:38:01 -07:00
MinamiFunakoshiTR
a5006e18d0
stash 2025-06-24 12:17:51 -07:00
MinamiFunakoshiTR
b17ce2ee4b
gets rid of interaction observer 2025-06-24 11:51:14 -07:00
MinamiFunakoshiTR
6858a8a868
fixes rootmargin and scroll event triggers 2025-06-03 15:13:56 -07:00
MinamiFunakoshiTR
ef76d67252
lint fix 2025-05-29 14:13:25 -07:00
MinamiFunakoshiTR
96a10123df
adds demo, changes back to px 2025-05-29 14:07:56 -07:00
MinamiFunakoshiTR
97476d6a46
adds demo text to visible demo 2025-05-29 12:53:27 -07:00
MinamiFunakoshiTR
15f04770bf
adds visible demo 2025-05-29 12:50:06 -07:00
MinamiFunakoshiTR
83740d7eaa
adds bg colour, changes scroller base demo width to max-width 2025-05-29 12:07:00 -07:00
Sudev Kiyada
e03717c514
makes width prop reactive 2025-05-29 19:04:46 +05:30
Jon McClure
a0ff39be8a
Merge pull request #307 from reuters-graphics/feature/headpile
Feature/headpile
2025-05-28 09:40:55 +01:00
hobbes7878
1baac26bc7
slightly more gap 2025-05-28 08:51:52 +01:00
MinamiFunakoshiTR
d8847ca2dc
tweaks documentation 2025-05-27 08:03:40 -07:00
pkd2512
346e52310e
fixes scss pattern 2025-05-27 13:28:41 +01:00
pkd2512
1996d9ad1d
layout edits 2025-05-26 16:13:06 +01:00
MinamiFunakoshiTR
32f2a833c5
makes rootMargin prop units customiasable closes #221 2025-05-22 12:46:21 -07:00
MinamiFunakoshiTR
cd9b3501a0
tweaks showStep logic 2025-05-22 12:11:02 -07:00
MinamiFunakoshiTR
eb996bf112
renames vars 2025-05-22 12:04:41 -07:00
MinamiFunakoshiTR
245b7de609
removes unused vars 2025-05-22 12:02:11 -07:00
MinamiFunakoshiTR
b634c8bc4f
type fixes 2025-05-22 11:59:36 -07:00
MinamiFunakoshiTR
a44163ded4
adds svelte 5 version of the official scroller demo 2025-05-22 11:28:44 -07:00
MinamiFunakoshiTR
217780d785
streamlines scroller bg show/hide logic as utils 2025-05-22 08:40:52 -07:00
MinamiFunakoshiTR
56d61e0932
formats 2025-05-21 07:56:43 -07:00
MinamiFunakoshiTR
25c6f2a3ad
merge fix 2025-05-21 07:55:58 -07:00
MinamiFunakoshiTR
53802ae747
merge fix 2025-05-21 07:54:46 -07:00
MinamiFunakoshiTR
62f9fca7e8
Merge branch 'main' of https://github.com/reuters-graphics/graphics-components into mf-svelte-scroller 2025-05-21 07:53:12 -07:00
hobbes7878
49096d43a4
fix type 2025-05-21 10:02:01 +01:00
hobbes7878
92c710ef5d
allow unknown type on theme 2025-05-21 09:48:30 +01:00
MinamiFunakoshiTR
843e3d81bc
formats 2025-05-20 13:38:43 -07:00
MinamiFunakoshiTR
5d64c5be5f
modifies CustomProperties to avoid unknown 2025-05-20 13:37:35 -07:00
MinamiFunakoshiTR
6471bbf93e
changes customProperty to key in CustomTheme type interface 2025-05-20 13:32:11 -07:00
MinamiFunakoshiTR
547dc42a2a
formats 2025-05-20 13:18:25 -07:00
MinamiFunakoshiTR
121f4646e0
changeset 2025-05-20 13:13:13 -07:00