@knight-lab/timelinejs 3.9.2 → 3.9.3

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 3.9.3 (2023-06-26)
2
+ -------------------------
3
+ * Update for Google Analytics 4 (GA4)
4
+ * #812 don't throw an error when attempting to report an error fetching config data
5
+ * #799 Deprecate / remove DOMUtil (should be invisible but simplifies code)
6
+
1
7
  3.9.2 (2023-02-07)
2
8
  -------------------------
3
9
  * #796 support Wikipedia image page URLs
@@ -36,7 +36,7 @@ https://www.google.com/fonts/specimen/Andika
36
36
  font-family: 'Andika';
37
37
  font-style: normal;
38
38
  font-weight: 400;
39
- src: url(https://fonts.gstatic.com/s/andika/v22/mem_Ya6iyW-LwqgwarYV.ttf) format('truetype');
39
+ src: url(https://fonts.gstatic.com/s/andika/v25/mem_Ya6iyW-LwqgwarYV.ttf) format('truetype');
40
40
  }
41
41
  /* Font Base
42
42
  ----------------------------------------------------- */
@@ -24,13 +24,13 @@ https://www.google.com/fonts/specimen/Pontano+Sans
24
24
  font-family: 'Bevan';
25
25
  font-style: normal;
26
26
  font-weight: 400;
27
- src: url(https://fonts.gstatic.com/s/bevan/v20/4iCj6KZ0a9NXjG8dWC4.ttf) format('truetype');
27
+ src: url(https://fonts.gstatic.com/s/bevan/v21/4iCj6KZ0a9NXjG8dWC4.ttf) format('truetype');
28
28
  }
29
29
  @font-face {
30
30
  font-family: 'Pontano Sans';
31
31
  font-style: normal;
32
32
  font-weight: 400;
33
- src: url(https://fonts.gstatic.com/s/pontanosans/v13/qFdD35GdgYR8EzR6oBLDHa3axT8I.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/pontanosans/v16/qFdW35GdgYR8EzR6oBLDHa3wyRf8W8eBM6XLOXLMrcGGow.ttf) format('truetype');
34
34
  }
35
35
  /* Font Base
36
36
  ----------------------------------------------------- */
@@ -33,19 +33,19 @@ http://www.google.com/webfonts/specimen/PT+Serif
33
33
  font-family: 'PT Sans Narrow';
34
34
  font-style: normal;
35
35
  font-weight: 700;
36
- src: url(https://fonts.gstatic.com/s/ptsansnarrow/v17/BngSUXNadjH0qYEzV7ab-oWlsbg95AiFW_g.ttf) format('truetype');
36
+ src: url(https://fonts.gstatic.com/s/ptsansnarrow/v18/BngSUXNadjH0qYEzV7ab-oWlsbg95AiFW_g.ttf) format('truetype');
37
37
  }
38
38
  @font-face {
39
39
  font-family: 'PT Serif';
40
40
  font-style: italic;
41
41
  font-weight: 400;
42
- src: url(https://fonts.gstatic.com/s/ptserif/v17/EJRTQgYoZZY2vCFuvAFT_r21dw.ttf) format('truetype');
42
+ src: url(https://fonts.gstatic.com/s/ptserif/v18/EJRTQgYoZZY2vCFuvAFT_r21dw.ttf) format('truetype');
43
43
  }
44
44
  @font-face {
45
45
  font-family: 'PT Serif';
46
46
  font-style: normal;
47
47
  font-weight: 400;
48
- src: url(https://fonts.gstatic.com/s/ptserif/v17/EJRVQgYoZZY2vCFuvAFWzro.ttf) format('truetype');
48
+ src: url(https://fonts.gstatic.com/s/ptserif/v18/EJRVQgYoZZY2vCFuvAFWzro.ttf) format('truetype');
49
49
  }
50
50
  /* Font Base
51
51
  ----------------------------------------------------- */
@@ -30,7 +30,7 @@ https://www.google.com/fonts/specimen/Average+Sans
30
30
  font-family: 'Fjalla One';
31
31
  font-style: normal;
32
32
  font-weight: 400;
33
- src: url(https://fonts.gstatic.com/s/fjallaone/v13/Yq6R-LCAWCX3-6Ky7FAFrOF6lw.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/fjallaone/v15/Yq6R-LCAWCX3-6Ky7FAFrOF6lw.ttf) format('truetype');
34
34
  }
35
35
  /* Font Base
36
36
  ----------------------------------------------------- */
@@ -24,13 +24,13 @@ https://www.google.com/fonts/specimen/Lato
24
24
  font-family: 'Lato';
25
25
  font-style: italic;
26
26
  font-weight: 400;
27
- src: url(https://fonts.gstatic.com/s/lato/v23/S6u8w4BMUTPHjxsAXC-v.ttf) format('truetype');
27
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6u8w4BMUTPHjxsAXC-v.ttf) format('truetype');
28
28
  }
29
29
  @font-face {
30
30
  font-family: 'Lato';
31
31
  font-style: normal;
32
32
  font-weight: 400;
33
- src: url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wWw.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wWw.ttf) format('truetype');
34
34
  }
35
35
  @font-face {
36
36
  font-family: 'Lustria';
@@ -24,19 +24,19 @@ https://www.google.com/fonts/specimen/Lato
24
24
  font-family: 'Lato';
25
25
  font-style: italic;
26
26
  font-weight: 300;
27
- src: url(https://fonts.gstatic.com/s/lato/v23/S6u_w4BMUTPHjxsI9w2_Gwfo.ttf) format('truetype');
27
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6u_w4BMUTPHjxsI9w2_Gwfo.ttf) format('truetype');
28
28
  }
29
29
  @font-face {
30
30
  font-family: 'Lato';
31
31
  font-style: normal;
32
32
  font-weight: 400;
33
- src: url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wWw.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wWw.ttf) format('truetype');
34
34
  }
35
35
  @font-face {
36
36
  font-family: 'Lato';
37
37
  font-style: normal;
38
38
  font-weight: 700;
39
- src: url(https://fonts.gstatic.com/s/lato/v23/S6u9w4BMUTPHh6UVSwiPHA.ttf) format('truetype');
39
+ src: url(https://fonts.gstatic.com/s/lato/v24/S6u9w4BMUTPHh6UVSwiPHA.ttf) format('truetype');
40
40
  }
41
41
  @font-face {
42
42
  font-family: 'Medula One';
@@ -24,27 +24,27 @@ http://www.google.com/webfonts/specimen/Gentium+Book+Basic
24
24
  font-family: 'Gentium Book Basic';
25
25
  font-style: italic;
26
26
  font-weight: 400;
27
- src: url(https://fonts.gstatic.com/s/gentiumbookbasic/v16/pe0xMJCbPYBVokB1LHA9bbyaQb8ZGjc4VYF466c.ttf) format('truetype');
27
+ src: url(https://fonts.gstatic.com/s/gentiumbookbasic/v17/pe0xMJCbPYBVokB1LHA9bbyaQb8ZGjc4VYF466c.ttf) format('truetype');
28
28
  }
29
29
  @font-face {
30
30
  font-family: 'Gentium Book Basic';
31
31
  font-style: normal;
32
32
  font-weight: 400;
33
- src: url(https://fonts.gstatic.com/s/gentiumbookbasic/v16/pe0zMJCbPYBVokB1LHA9bbyaQb8ZGjc4ULF_.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/gentiumbookbasic/v17/pe0zMJCbPYBVokB1LHA9bbyaQb8ZGjc4ULF_.ttf) format('truetype');
34
34
  }
35
35
  @font-face {
36
36
  font-family: 'Open Sans';
37
37
  font-style: normal;
38
38
  font-weight: 400;
39
39
  font-stretch: normal;
40
- src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
40
+ src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
41
41
  }
42
42
  @font-face {
43
43
  font-family: 'Open Sans';
44
44
  font-style: normal;
45
45
  font-weight: 800;
46
46
  font-stretch: normal;
47
- src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgshZ1x4gaVc.ttf) format('truetype');
47
+ src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgshZ1x4gaVc.ttf) format('truetype');
48
48
  }
49
49
  /* Font Base
50
50
  ----------------------------------------------------- */
@@ -43,13 +43,13 @@ https://www.google.com/fonts/specimen/Unica+One
43
43
  font-family: 'Fauna One';
44
44
  font-style: normal;
45
45
  font-weight: 400;
46
- src: url(https://fonts.gstatic.com/s/faunaone/v13/wlpzgwTPBVpjpCuwkuEB3kZP.ttf) format('truetype');
46
+ src: url(https://fonts.gstatic.com/s/faunaone/v15/wlpzgwTPBVpjpCuwkuEB3kZP.ttf) format('truetype');
47
47
  }
48
48
  @font-face {
49
49
  font-family: 'Unica One';
50
50
  font-style: normal;
51
51
  font-weight: 400;
52
- src: url(https://fonts.gstatic.com/s/unicaone/v13/DPEuYwWHyAYGVTSmalsRcd3b.ttf) format('truetype');
52
+ src: url(https://fonts.gstatic.com/s/unicaone/v15/DPEuYwWHyAYGVTSmalsRcd3b.ttf) format('truetype');
53
53
  }
54
54
  /* Font Base
55
55
  ----------------------------------------------------- */
@@ -31,19 +31,19 @@ http://www.google.com/webfonts/specimen/PT+Serif
31
31
  font-family: 'PT Sans Narrow';
32
32
  font-style: normal;
33
33
  font-weight: 700;
34
- src: url(https://fonts.gstatic.com/s/ptsansnarrow/v17/BngSUXNadjH0qYEzV7ab-oWlsbg95AiFW_g.ttf) format('truetype');
34
+ src: url(https://fonts.gstatic.com/s/ptsansnarrow/v18/BngSUXNadjH0qYEzV7ab-oWlsbg95AiFW_g.ttf) format('truetype');
35
35
  }
36
36
  @font-face {
37
37
  font-family: 'PT Serif';
38
38
  font-style: italic;
39
39
  font-weight: 400;
40
- src: url(https://fonts.gstatic.com/s/ptserif/v17/EJRTQgYoZZY2vCFuvAFT_r21dw.ttf) format('truetype');
40
+ src: url(https://fonts.gstatic.com/s/ptserif/v18/EJRTQgYoZZY2vCFuvAFT_r21dw.ttf) format('truetype');
41
41
  }
42
42
  @font-face {
43
43
  font-family: 'PT Serif';
44
44
  font-style: normal;
45
45
  font-weight: 400;
46
- src: url(https://fonts.gstatic.com/s/ptserif/v17/EJRVQgYoZZY2vCFuvAFWzro.ttf) format('truetype');
46
+ src: url(https://fonts.gstatic.com/s/ptserif/v18/EJRVQgYoZZY2vCFuvAFWzro.ttf) format('truetype');
47
47
  }
48
48
  /* Font Base
49
49
  ----------------------------------------------------- */
@@ -30,13 +30,13 @@ https://www.google.com/fonts/specimen/Megrim
30
30
  font-family: 'Roboto Slab';
31
31
  font-style: normal;
32
32
  font-weight: 300;
33
- src: url(https://fonts.gstatic.com/s/robotoslab/v24/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjo0oSmb2Rm.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/robotoslab/v25/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjo0oSmb2Rm.ttf) format('truetype');
34
34
  }
35
35
  @font-face {
36
36
  font-family: 'Roboto Slab';
37
37
  font-style: normal;
38
38
  font-weight: 400;
39
- src: url(https://fonts.gstatic.com/s/robotoslab/v24/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rm.ttf) format('truetype');
39
+ src: url(https://fonts.gstatic.com/s/robotoslab/v25/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rm.ttf) format('truetype');
40
40
  }
41
41
  /* Font Base
42
42
  ----------------------------------------------------- */
@@ -24,19 +24,19 @@ https://www.google.com/fonts/specimen/Unica+One
24
24
  font-family: 'Vollkorn';
25
25
  font-style: italic;
26
26
  font-weight: 400;
27
- src: url(https://fonts.gstatic.com/s/vollkorn/v21/0ybuGDoxxrvAnPhYGxksckM2WMCpRjDj-DJGWlmeObE.ttf) format('truetype');
27
+ src: url(https://fonts.gstatic.com/s/vollkorn/v22/0ybuGDoxxrvAnPhYGxksckM2WMCpRjDj-DJGWlmeObE.ttf) format('truetype');
28
28
  }
29
29
  @font-face {
30
30
  font-family: 'Vollkorn';
31
31
  font-style: normal;
32
32
  font-weight: 400;
33
- src: url(https://fonts.gstatic.com/s/vollkorn/v21/0ybgGDoxxrvAnPhYGzMlQLzuMasz6Df2MHGeHmmZ.ttf) format('truetype');
33
+ src: url(https://fonts.gstatic.com/s/vollkorn/v22/0ybgGDoxxrvAnPhYGzMlQLzuMasz6Df2MHGeHmmZ.ttf) format('truetype');
34
34
  }
35
35
  @font-face {
36
36
  font-family: 'Unica One';
37
37
  font-style: normal;
38
38
  font-weight: 400;
39
- src: url(https://fonts.gstatic.com/s/unicaone/v13/DPEuYwWHyAYGVTSmalsRcd3b.ttf) format('truetype');
39
+ src: url(https://fonts.gstatic.com/s/unicaone/v15/DPEuYwWHyAYGVTSmalsRcd3b.ttf) format('truetype');
40
40
  }
41
41
  /* Font Base
42
42
  ----------------------------------------------------- */
@@ -150,7 +150,7 @@
150
150
  var options = optionsFromUrlParams();
151
151
  createEmbedDiv('timeline-embed', options.width, options.height);
152
152
  // ga_property_id is not something we let users override
153
- options.ga_property_id = 'UA-27829802-4';
153
+ options.ga_measurement_id = 'G-LVEFKMG087'
154
154
  if (typeof(options.source) == 'undefined') {
155
155
  options.source = '1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk' // women in computing
156
156
  }