Commit graph

411 commits

Author SHA1 Message Date
Jon McClure
0f183eb876 only update header/footer on prod domain 2023-09-19 09:01:27 +01:00
Jon McClure
f681b19889 ignore datawrapper charts in chromatic 2023-09-19 08:54:03 +01:00
Jon McClure
7e50a1ef24 chromatic ignore header in hero headline 2023-09-18 18:53:54 +01:00
Jon McClure
9f1878bb18 eslint rule 2023-09-18 13:34:30 +01:00
Prasanta Kumar Dutta
6a7a34ef0a themed infobox 2023-09-18 17:42:42 +05:30
Jon McClure
638a6f1037 try again 2023-09-18 07:56:39 +01:00
Prasanta Kumar Dutta
fd9aa876ff add infobox #120 2023-09-16 17:17:25 +05:30
Prasanta Kumar Dutta
5a69dafba2 hero, photo, video fixes #116 2023-09-16 12:37:11 +05:30
Prasanta Kumar Dutta
4b4dbd5100 Update GraphicBlock.svelte 2023-09-13 16:39:28 +05:30
Prasanta Kumar Dutta
0fc787adb4 spacing tweaks 2023-09-13 16:18:01 +05:30
Prasanta Kumar Dutta
0e884ca35d edits to margins and css import order 2023-09-13 14:20:26 +05:30
Prasanta Kumar Dutta
9ab2fe4f33 change size scale 18-21px 2023-09-13 12:49:35 +05:30
Prasanta Kumar Dutta
9b04daab6b fix dropcap and add correction style 2023-09-09 00:21:27 +05:30
Prasanta Kumar Dutta
5746d5a460 try export again 2023-09-08 18:35:09 +05:30
Prasanta Kumar Dutta
b5fcb05b7e parse doc props for endnotes 2023-09-08 18:22:30 +05:30
Prasanta Kumar Dutta
753458250a update endnnotes component 2023-09-08 17:18:44 +05:30
Prasanta Kumar Dutta
07c9720cc3 list style and header fixes 2023-09-08 16:11:33 +05:30
Prasanta Kumar Dutta
5a61f95123 fixes to headline and table #116 2023-09-07 18:09:33 +05:30
Prasanta Kumar Dutta
a779e53d72 Matt edits #116 2023-09-07 14:11:42 +05:30
Prasanta Kumar Dutta
ca97ddfa7a body-caption spacing #116 2023-09-05 19:20:30 +05:30
Prasanta Kumar Dutta
917bcc9cc7 byline spacings 2023-09-05 18:38:22 +05:30
Prasanta Kumar Dutta
e2780e75ae more edits #116 2023-09-05 18:20:22 +05:30
Prasanta Kumar Dutta
cafe0f3209 spacing adjust #116 2023-09-05 16:54:08 +05:30
Prasanta Kumar Dutta
bd13962b1b font-styles 2023-09-05 16:15:13 +05:30
Prasanta Kumar Dutta
18dc8cbaf1 Update NoteText.svelte 2023-09-05 16:07:15 +05:30
Prasanta Kumar Dutta
0ed0c89940 edits for #116 2023-09-05 13:06:20 +05:30
Prasanta Kumar Dutta
a1e76712ed video comp edits for #116 2023-09-02 21:41:23 +05:30
Prasanta Kumar Dutta
4767578aa4 edits for #116 2023-09-02 21:04:01 +05:30
Prasanta Kumar Dutta
4664808ad8 some more stuff #116 2023-09-01 19:19:12 +05:30
Prasanta Kumar Dutta
c2c99e0245 edits for #116 2023-09-01 17:54:48 +05:30
Prasanta Kumar Dutta
00d53ad717 quick fixes for #116 2023-09-01 17:00:17 +05:30
Prasanta Kumar Dutta
570fbf7fca Update Table.svelte 2023-08-31 22:59:29 +05:30
Prasanta Kumar Dutta
2e76af6fc8 Update Table.svelte 2023-08-31 22:52:39 +05:30
Prasanta Kumar Dutta
01266d21d0 table text styles 2023-08-31 19:02:23 +05:30
Prasanta Kumar Dutta
e7a79c5cfe component text style sweep 2023-08-31 17:54:34 +05:30
Prasanta Kumar Dutta
60ba223098 hero headline stories 2023-08-30 18:49:01 +05:30
Prasanta Kumar Dutta
10f4c554bd hero with graphic 2023-08-25 19:01:22 +05:30
Prasanta Kumar Dutta
f1ae721d3f basic hero headline 2023-08-25 13:42:23 +05:30
Prasanta Kumar Dutta
08a0e9984e headline component and general sweep 2023-08-24 12:35:54 +05:30
Jon McClure
cc553d97dd incorporate byline into headlines 2023-08-15 18:49:08 +01:00
Jon McClure
b0e3f111a4 first draft of byline 2023-08-15 18:02:26 +01:00
Jon McClure
35dd07a794 initial byline stab 2023-08-15 16:19:05 +01:00
Jon McClure
a9955b29ce docs ordering 2023-08-15 10:54:31 +01:00
Prasanta Kumar Dutta
e53e0911ad scrub text styles into components 2023-08-08 17:30:05 +05:30
Prasanta Kumar Dutta
d7517c13c9 block and graphic block text styles 2023-08-08 13:07:13 +05:30
Prasanta Kumar Dutta
a658b5291e body text mixins and reset WIP 2023-08-07 18:59:01 +05:30
Prasanta Kumar Dutta
addf8e0ef4 add font sizes and fluid spacers 2023-08-04 18:50:11 +05:30
Prasanta Kumar Dutta
8b527e9730 restrict sitehed sizes 2023-08-03 16:07:15 +05:30
Jon McClure
9b2dd3bd5d re-update monospace 2023-08-01 10:46:21 +01:00
Jon McClure
6993fa0551 new monospace font 2023-07-31 19:23:55 +01:00
Jon McClure
31f6c15c86 update SiteHeadline with hedSize prop 2023-07-30 13:16:20 +01:00
Jon McClure
8dc3ccbc94 #95 Headline 2023-07-30 13:12:52 +01:00
Jon McClure
0afcaf19d1 #95 SearchInput 2023-07-30 12:30:24 +01:00
Jon McClure
cfaaad8cc6 #95 ReferralBlock 2023-07-30 12:25:09 +01:00
Jon McClure
a42dae0803 #95 BeforeAfter 2023-07-30 12:00:15 +01:00
Jon McClure
f4618de10c #25 Scroller 2023-07-30 11:39:53 +01:00
Jon McClure
e178a81930 #95 PhotoCarousel 2023-07-30 11:21:26 +01:00
Jon McClure
f2fea5da9a object-cover 2023-07-30 10:35:58 +01:00
Jon McClure
1d08b2d460 #95 PhotoPack 2023-07-30 10:22:45 +01:00
Jon McClure
4d3b1ee61f #95 GraphicBlock 2023-07-30 10:04:56 +01:00
Jon McClure
8d0b00c5e3 #95 NoteText 2023-07-30 09:56:33 +01:00
Jon McClure
5515c0ceff #95 BodyText 2023-07-30 09:53:18 +01:00
Jon McClure
1557f5ad34 blockquotes 2023-07-29 22:29:59 +01:00
Jon McClure
e19c6f9cde #95 FeaturePhoto 2023-07-29 20:53:30 +01:00
Jon McClure
29a9138322 sizing tokens 2023-07-29 20:44:34 +01:00
Jon McClure
3b6251c0cc typography sample 2023-07-29 20:12:33 +01:00
Jon McClure
896ceb328c #95 SimpleTimeline 2023-07-29 17:35:56 +01:00
Jon McClure
44be442fed #95 Video 2023-07-29 16:54:59 +01:00
Jon McClure
038af64141 #95 Spinner 2023-07-29 16:44:12 +01:00
Jon McClure
10dd8586b3 update fonts 2023-07-28 20:35:49 +01:00
Jon McClure
75ac9889cf variables 2023-07-26 19:42:37 +01:00
Grzegorz Junka
0c602d7308 Cleanup and add comments after review 2023-07-26 17:59:26 +01:00
Jon McClure
1343a8a76a first crack at fluid margins and paddings 2023-07-26 16:21:46 +01:00
Jon McClure
08d5c670e5 last of the night... I hope 2023-07-25 20:42:18 +01:00
Jon McClure
7db8d15c51 typography reset 2023-07-25 20:35:23 +01:00
Jon McClure
e89408ccb0 style siteheadline as example 2023-07-25 18:48:09 +01:00
Jon McClure
be8ff06239 final really final last definitely token conventions and docs 2023-07-25 15:14:11 +01:00
Jon McClure
d6240e2497 better scss token convention 2023-07-24 22:25:39 +01:00
Jon McClure
4547d46ef1 css token proposal 2023-07-24 21:10:12 +01:00
Jon McClure
0d86d6fc2c fix merge conflicts 2023-07-22 17:23:42 +01:00
Jon McClure
cd1d4d97f0 closes #103 2023-07-22 16:54:36 +01:00
Jon McClure
2ad5f158c7 rever to svelte and scss syntax 2023-07-20 18:15:05 +01:00
Jon McClure
d742e36250 split scripts into dedicated modules and component 2023-07-20 18:04:04 +01:00
Grzegorz Junka
5b1ef2cb57 Working single Freestar Ad 2023-07-17 10:57:39 +01:00
Jon McClure
0c8e7ed7cf mass colour replace 2023-07-11 20:00:32 +01:00
Jon McClure
6177379821 few ThemeBuilder fixes. replaces bootstrap example in Block docs. closes #92 2023-07-09 10:44:13 +01:00
Jon McClure
392fb9ad6d cleanup typography docs and Theme types 2023-07-07 21:27:55 +01:00
Jon McClure
4b21126138 merge 7.0 changes 2023-07-07 16:50:30 +01:00
Jon McClure
f68e9ac96d allow preload in Google block for scroller. closes #81 2023-07-06 19:52:41 +01:00
Jon McClure
d1dbc33c09 ignore referrals 2023-07-06 18:39:36 +01:00
Grzegorz Junka
3cfcf44fb2 Working leaderboard ads 2023-06-29 09:27:19 +01:00
deaxmachina
adaea8af9a added option of center for controlsPosition prop of Video 2023-06-21 11:58:20 +01:00
Jon McClure
98ea565923 closes #82 2023-06-15 19:50:25 +01:00
Jon McClure
7125f26feb closes #55 2023-06-10 20:53:25 +01:00
Jon McClure
5c693f8cf9 fix footer story 2023-06-10 20:14:31 +01:00
Jon McClure
1698b061b5 update story recipes 2023-06-10 18:23:05 +01:00
Jon McClure
388249a4a7 resolve conflicts 2023-06-10 15:28:42 +01:00
Jon McClure
3b7511bd91 replace svelte and scss syntax highlights with slightly less broken html and css. Lets us move #63 2023-06-10 15:14:50 +01:00
Ben Welsh
883ebf823f
Merge pull request #73 from reuters-graphics/search-input
Break out the SearchInput from Table into its own component
2023-06-09 08:47:46 -04:00
Jon McClure
af63b9bf50 change func signature for ga4 2023-05-30 13:42:19 +01:00
Jon McClure
7257791440
Merge pull request #75 from reuters-graphics/ga4
closes #74. Adds new Analytics component for GA4 and Chartbeat.
2023-05-30 12:37:53 +01:00
Jon McClure
a3289eaa6b few last things on analytics 2023-05-30 12:34:36 +01:00
Jon McClure
fbea3a560f types and cleanup 2023-05-28 22:40:23 +01:00
Jon McClure
d3d917b74f closes #74. Adds new Analytics component for GA4 and Chartbeat. 2023-05-28 17:46:54 +01:00
Ben Welsh
c7cafcbf3a
Table th padding should match td padding 2023-05-28 08:52:41 -04:00
palewire
c3a1cbd344 Added SearchInput 2023-05-26 16:26:05 -04:00
palewire
dcae3ce76c
Break out the SearchInput from the Table component so it can be used independently 2023-05-26 16:17:36 -04:00
Ben Welsh
761192145e
Condense SCSS in X.svelte 2023-05-14 13:55:38 -04:00
Ben Welsh
021ae5d4c3
Update X.svelte with vertical-align middle 2023-05-14 13:55:13 -04:00
Ben Welsh
ae8ffb0639
Update MagnifyingGlass.svelte with vertical-align 2023-05-14 13:54:46 -04:00
Ben Welsh
51366d137d
Update X.svelte with better SCSS calls 2023-05-14 13:35:19 -04:00
Ben Welsh
faf89fb8ba
Update MagnifyingGlass.svelte with better SCSS call 2023-05-14 13:33:03 -04:00
Ben Welsh
2f89a6c386
th gets a text-align: inherit to preventing centering in some default arrangements 2023-05-14 13:24:05 -04:00
Ben Welsh
ffa9fc5cf0
Table padding fix 2023-05-14 12:58:21 -04:00
Jon McClure
0ec2a58a34 initial migrations to 7 2023-04-26 15:07:27 +01:00
Ben Welsh
5b3d8de905
Fix typo in Table docs 2023-04-14 06:59:41 -07:00
Ben Welsh
76fbd7dda5
Fix typo in Table docs 2023-04-14 06:58:16 -07:00
Jon McClure
9e7e558675 adds back overflow on table section 2023-04-14 13:26:12 +01:00
Jon McClure
df196547d4 remove sticky functionality for now 2023-04-14 13:22:43 +01:00
palewire
0021245948
Cut redundant CSS 2023-04-06 10:01:33 -04:00
palewire
33431a4995
Cut redundant CSS 2023-04-06 10:01:17 -04:00
palewire
38fb8c32cc
Cut redundant CSS 2023-04-06 10:00:48 -04:00
palewire
288c8f0d93
Fix line-height on Select 2023-04-06 09:51:31 -04:00
palewire
45384560a5
Fix clip on bottom of the search box 2023-04-06 09:16:54 -04:00
palewire
2a9c1776d6
Cut progress variable we aren't using 2023-04-06 09:14:36 -04:00
palewire
4ab3f56c15
Split caption out into a header so we can style it separately 2023-04-06 09:14:00 -04:00
palewire
8acdbd3e78 Fix typos 2023-04-06 07:31:00 -04:00
Jon McClure
6b0a05b890 puts border on individual cells and removes border collapse so sticky thead keeps its bottom border when stuck and adds background colour 2023-04-06 12:07:38 +01:00
Jon McClure
128b084b37 remove overflows preventing sticky's from working 2023-04-06 11:51:53 +01:00
Jon McClure
4f914f58ed spare CSS rule 2023-04-06 11:33:31 +01:00
Jon McClure
bf76151684 removes progress bar from table pagination 2023-04-06 11:32:53 +01:00
palewire
d5396a9ef5
position: sticky 2023-04-05 16:37:58 -04:00
palewire
26514de45f
Simplify example 2023-04-05 16:17:32 -04:00
palewire
1010886778
Document how to style columns. Stop auto aligning 2023-04-05 16:14:35 -04:00
palewire
4452bf587b
Fixes to the sort column 2023-04-05 15:24:06 -04:00
Jon McClure
5146b0d4ca remove silly import 2023-04-04 10:14:28 +01:00
palewire
91ac989d13
Mobile fixes 2023-04-03 10:52:10 -04:00
palewire
dfa771b992
Documentation fixes 2023-04-03 10:38:54 -04:00
palewire
a1085893b8 Broke out a Select component 2023-04-03 08:08:14 -04:00
palewire
4b8be6a562 Added no results view to search 2023-04-03 05:54:33 -04:00
palewire
f6a61856cd Drafted a Search component 2023-04-03 05:49:27 -04:00
palewire
b18ccb6d00 Added new SortArrow component 2023-04-03 04:55:27 -04:00
palewire
c07d99d31b Reworked the paginator to have a progress bar 2023-04-02 15:06:47 -04:00
palewire
da03ab87a8 Fix typos 2023-04-02 13:59:35 -04:00
palewire
61b0b5c91c Broke out pagination into a separate Svelte subcomponent 2023-04-02 13:32:52 -04:00
palewire
df1edd38a8 A little more documentation for truncate 2023-04-02 10:39:57 -04:00
palewire
bd4d1387c8 Added the truncate feature 2023-04-02 10:38:08 -04:00
palewire
bf25f79c19 Switched some basic styles and expanded the metadata we allow 2023-04-02 08:04:45 -04:00
Ben Welsh
7247e132d8
Update Table.svelte 2023-03-28 09:01:35 -04:00
Ben Welsh
cefe800b02
Update Table.svelte 2023-03-28 08:59:56 -04:00
palewire
af8097cf24
Assembled first draft 2023-03-27 14:42:00 -04:00
palewire
14771cd9c4 Start a table 2023-03-26 14:27:41 -07:00
Prasanta Kumar Dutta
a54c70cff5 describe style classes and mixins 2023-03-17 00:23:04 +05:30
Prasanta Kumar Dutta
5e38bb64c6 Update style.md 2023-03-16 02:13:13 +05:30
Prasanta Kumar Dutta
cf722489c4 add typography system 2023-03-03 19:06:16 +05:30
Prasanta Kumar Dutta
5affacd6d9 Merge branch 'main' into type-system 2023-03-02 10:24:24 +05:30
palewire
a11dd941f3
Add DocumentCloud component 2023-02-08 14:43:58 -05:00
Jon McClure
b66a64eefa background pattern themes 2023-01-26 15:19:48 +00:00
MinamiFunakoshiTR
90adf799ac fixes from jon 2023-01-18 15:48:15 -06:00
MinamiFunakoshiTR
710c2942fa hides bg from SR, adds alt text, updates docs 2023-01-18 11:46:10 -06:00
MinamiFunakoshiTR
671181cada fix prop name to width in video 2023-01-17 17:34:02 -06:00
Jon McClure
3a2243ab01 closes #45 2023-01-11 20:14:08 +00:00
Prasanta Kumar Dutta
e3c74f9b81 add and modify CSS vars for fonts 2023-01-03 13:02:57 +05:30
deaxmachina
a233daa83b fix a couple of types in FeaturePhoto 2022-12-08 17:24:19 +00:00
deaxmachina
920f0f85f4 removing unused import 2022-12-08 09:53:42 +00:00
Jon McClure
ea8c515a7d update for new APIs 2022-11-30 14:47:20 +00:00
Jon McClure
79dd21b153 link site header/footer to API data 2022-11-30 13:11:20 +00:00
Jon McClure
774b25da72 basic carousel 2022-11-29 01:51:49 +00:00
Jon McClure
ee402f4b85 tooleheader css 2022-11-27 13:12:27 +00:00
Jon McClure
e2a08e984b Reuters Graphics logo and tools header 2022-11-27 12:25:01 +00:00
Jon McClure
46ba758c09 while we're here, fix mobile menu underlines 2022-11-26 21:14:57 +00:00
Jon McClure
b065cf254d referral block 2022-11-26 21:11:37 +00:00
Jon McClure
54c7b809b9 try catch analytics stuff 2022-11-18 18:20:43 +00:00
Jon McClure
c55f630a38 better handling for gpt 2022-11-18 17:21:35 +00:00
Jon McClure
9a174ea6cb try internal key for SEO 2022-11-18 16:22:39 +00:00
Jon McClure
2d0399a959 ignore riveted shit 2022-11-18 15:49:37 +00:00
Jon McClure
d4ecc09fdd closes #38 2022-11-02 11:55:27 +00:00
Manas Sharma
729d97f350
Fixes stack background not loading previous steps
Thanks to @pmagtulis for finding this bug.

stackBackground wasn't loading all previous steps because of preload.

Fixed by adding stackBackground check inside the preload math.
2022-10-31 12:08:23 +05:30
Jon McClure
e8de5052cc pymChild store 2022-09-24 10:58:04 +01:00
Jon McClure
83d62f0cb0 adds block to iframe in framer 2022-09-23 20:19:50 +01:00
Jon McClure
47ae05dd97 handle dynamic query strings on framer 2022-09-22 17:03:00 +01:00
Jon McClure
eba337fc47 docs 2022-09-13 13:11:59 +01:00
Jon McClure
d438947dea small responsive styles for byline and dateline 2022-09-13 11:09:59 +01:00
Jon McClure
ad61eb558f suggested changes 2022-09-12 22:47:59 +01:00
deaxmachina
68c586684a adding HeadlineBreakingNews component 2022-09-12 17:44:12 +01:00
Jon McClure
363460039b closes #27 2022-09-08 14:14:58 +01:00
Jon McClure
ffd678307e fix title of typeahead in framer 2022-09-07 13:06:36 +01:00
Jon McClure
563a903249 use localStorage to persist framer default embed 2022-09-07 12:59:57 +01:00
Jon McClure
f4e336e90d lastly 2022-09-03 22:27:23 +01:00
Jon McClure
e344b69e53 more more more 2022-09-03 21:43:28 +01:00
Jon McClure
2ca34499a3 last css hotfix 2022-09-03 21:19:45 +01:00
Jon McClure
cd3d21f85b few hotfixes for new framer 2022-09-03 21:12:48 +01:00
Jon McClure
9898d9e6d7 closes #25 2022-09-03 20:58:56 +01:00
Jon McClure
d6dc3bdc75 test hook 2022-09-03 15:15:04 +01:00
Jon McClure
a1018cf51c test hooks 2022-09-03 15:12:49 +01:00
Jon McClure
81e562ad02 docs 2022-09-03 14:40:25 +01:00
Jon McClure
52c9d20fcf adds slot for dek. dek prop becomes markdown string. hed is inline markdown string. closes #23. closes #24 2022-09-03 14:38:13 +01:00
Jon McClure
414dc0b662 remove img 2022-08-28 16:24:53 +01:00
Jon McClure
914fca539b timeline component and fixes to template 2022-08-28 16:24:27 +01:00
Jon McClure
c2def97c78 closes #18 2022-08-28 10:16:15 +01:00