@knight-lab/timelinejs 3.9.9 → 3.9.10

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.
@@ -8,7 +8,15 @@
8
8
  "Bash(curl:*)",
9
9
  "Bash(npm run stage:*)",
10
10
  "Bash(npm install:*)",
11
- "Bash(npm ls:*)"
11
+ "Bash(npm ls:*)",
12
+ "Bash(npm run build:*)",
13
+ "Bash(touch:*)",
14
+ "Bash(npm run clean:*)",
15
+ "Bash(md5:*)",
16
+ "Bash(ls:*)",
17
+ "Bash(grep:*)",
18
+ "Bash(wc:*)",
19
+ "Bash(cat:*)"
12
20
  ],
13
21
  "deny": [],
14
22
  "ask": []
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 3.9.10 (2026-03-04)
2
+ -------------------------
3
+ * Fix mapping bug introduced with updated icon fonts.
4
+
1
5
  3.9.9 (2026-03-03)
2
6
  -------------------------
3
7
  * #895 Fixes for pt-BR locale
package/DEPLOYING.md CHANGED
@@ -7,8 +7,6 @@ TimelineJS3 has two independent products which can be "deployed". The deployment
7
7
 
8
8
  To deploy updates to the javascript, you must have a local copy of the [cdn.knightlab.com](https://github.com/NUKnightLab/cdn.knightlab.com) repository checked out on your filesystem, "next to" your TimelineJS3 repository.
9
9
 
10
- To deploy the website, or updates to the Wordpress plugin, you must have local copies of the [fablib](https://github.com/NUKnightLab/fablib) and, for the plugin, [TimelineJS-Wordpress-Plugin](https://github.com/NUKnightLab/TimelineJS-Wordpress-Plugin) repositories checked out on your filesystem, "next to" your TimelineJS3 repository.
11
-
12
10
  "Next to" means that the TimelineJS3 repository and the other repositories should have the same parent directory. Of course, you must also have authorization to write to the appropriate S3 buckets, or, for the Wordpress plugin, to the Wordpress SVN server.
13
11
 
14
12
  ## Deploying changes to the JavaScript
@@ -17,8 +15,8 @@ Before beginning to deploy, make sure all changes are thoroughly tested. Update
17
15
 
18
16
  Deploying the JavaScript library uses `npm` scripts defined in `package.json`. To deploy to the Knight Lab CDN, use the following scripts:
19
17
 
18
+ * npm run stage_latest (most common)
20
19
  * npm run stage
21
- * npm run stage_latest
22
20
  * npm run stage_dev
23
21
 
24
22
  To stage a new release of TimelineJS, use `npm run stage_latest`. This will ask you for a version number (tag), build the code, and copy it to the appropriate versioned subdirectory of the `cdn.knightlab.com` repository, as well as copying it to the `/latest/` directory. In the rare case when you want to tag a version, but not change `latest`, use `npm run stage` although then copying that to `/latest/` is outside the scope of these tools.
@@ -29,19 +27,15 @@ When a new version is deployed to the CDN, it should also be published to the np
29
27
 
30
28
  ### Updating the Wordpress plugin
31
29
 
32
- The TimelineJS plugin for Wordpress is distributed with a copy of the TimelineJS code. For now, use `fab stage_wp` to copy the relevant contents of `dist` to the Wordpress plugin. It's up to you to make sure the version in `dist` is what you want to copy. More details on deploying that change are in the plugin repository.
30
+ We no longer actively maintain the Wordpress plugin, because recent versions of Wordpress (since the "Gutenberg" redesign) support "Custom HTML" blocks into which TimelineJS embed code can be pasted.
33
31
 
34
32
 
35
33
  ## Deploying changes to the website
36
34
 
37
- To deploy changes to the website which explains TimelineJS3 and hosts the "authoring tool," use the command
35
+ To deploy changes to the website which explains TimelineJS3 and hosts the "authoring tool":
38
36
  ```
39
- fab deploy:prd
37
+ cd website/
38
+ ./deploy.sh prd
40
39
  ```
41
40
 
42
- This will compile the website templates and push them to the S3 buckets. It is unrelated to the javascript, so can be done independently. Or, contrariwise, if you are intending to change both, be sure to follow both processes.
43
-
44
- There is a variant for deploying a version of the site which can be reached on the open internet but which is not yet ready for regular public consumption:
45
- ```
46
- fab deploy:stg
47
- ```
41
+ This will build the website and copy the files to the timeline.knightlab.com server.
@@ -359,187 +359,187 @@
359
359
  -moz-osx-font-smoothing: grayscale;
360
360
  }
361
361
  .tl-icon-vine:after {
362
- content: "\e64d";
362
+ content: "\ea96";
363
363
  }
364
364
  .tl-icon-wikipedia:after {
365
- content: "\e64e";
365
+ content: "\eac8";
366
366
  }
367
367
  .tl-icon-chevron-right:after {
368
- content: "\e64f";
368
+ content: "\e315";
369
369
  }
370
370
  .tl-icon-chevron-left:after {
371
- content: "\e650";
371
+ content: "\e314";
372
372
  }
373
373
  .tl-icon-youtube-logo:after {
374
- content: "\e651";
374
+ content: "\ea9d";
375
375
  }
376
376
  .tl-icon-foursquare:after {
377
- content: "\e652";
377
+ content: "\e947";
378
378
  }
379
379
  .tl-icon-camera-retro:after {
380
- content: "\e653";
380
+ content: "\e90f";
381
381
  }
382
382
  .tl-icon-doc:after {
383
- content: "\e654";
383
+ content: "\e926";
384
384
  }
385
385
  .tl-icon-weibo:after {
386
- content: "\e655";
386
+ content: "\ea96";
387
387
  }
388
388
  .tl-icon-resize-horizontal:after {
389
- content: "\e656";
389
+ content: "\e8d4";
390
390
  }
391
391
  .tl-icon-resize-vertical:after {
392
- content: "\e657";
392
+ content: "\e8d5";
393
393
  }
394
394
  .tl-icon-resize-full:after {
395
- content: "\e658";
395
+ content: "\e989";
396
396
  }
397
397
  .tl-icon-resize-small:after {
398
- content: "\e659";
398
+ content: "\e98a";
399
399
  }
400
400
  .tl-icon-twitter:after {
401
- content: "\e62b";
401
+ content: "\ea96";
402
402
  }
403
403
  .tl-icon-google-plus:after {
404
- content: "\e62c";
404
+ content: "\ea8b";
405
405
  }
406
406
  .tl-icon-video:after {
407
- content: "\e62d";
407
+ content: "\ea9d";
408
408
  }
409
409
  .tl-icon-youtube:after {
410
- content: "\e62d";
410
+ content: "\ea9d";
411
411
  }
412
412
  .tl-icon-plaintext:after {
413
- content: "\e62e";
413
+ content: "\e926";
414
414
  }
415
415
  .tl-icon-storify:after {
416
- content: "\e62e";
416
+ content: "\e926";
417
417
  }
418
418
  .tl-icon-image-v2:after {
419
- content: "\e62f";
419
+ content: "\e90d";
420
420
  }
421
421
  .tl-icon-quote-v2:after {
422
- content: "\e630";
422
+ content: "\e977";
423
423
  }
424
424
  .tl-icon-zoom-in:after {
425
- content: "\e631";
425
+ content: "\e987";
426
426
  }
427
427
  .tl-icon-zoom-out:after {
428
- content: "\e632";
428
+ content: "\e988";
429
429
  }
430
430
  .tl-icon-list:after {
431
- content: "\e633";
431
+ content: "\e9bd";
432
432
  }
433
433
  .tl-icon-music:after {
434
- content: "\e634";
434
+ content: "\ea94";
435
435
  }
436
436
  .tl-icon-spotify:after {
437
- content: "\e634";
437
+ content: "\ea94";
438
438
  }
439
439
  .tl-icon-location:after {
440
- content: "\e635";
440
+ content: "\e947";
441
441
  }
442
442
  .tl-icon-googlemaps:after {
443
- content: "\e635";
443
+ content: "\e947";
444
444
  }
445
445
  .tl-icon-web:after {
446
- content: "\e636";
446
+ content: "\e9cb";
447
447
  }
448
448
  .tl-icon-share-v2:after {
449
- content: "\e637";
449
+ content: "\ea82";
450
450
  }
451
451
  .tl-icon-soundcloud:after {
452
- content: "\e639";
452
+ content: "\eac3";
453
453
  }
454
454
  .tl-icon-video-v2:after {
455
- content: "\e63a";
455
+ content: "\ea9d";
456
456
  }
457
457
  .tl-icon-dailymotion:after {
458
- content: "\e63a";
458
+ content: "\ea9d";
459
459
  }
460
460
  .tl-icon-tumblr:after {
461
- content: "\e63b";
461
+ content: "\eab9";
462
462
  }
463
463
  .tl-icon-lastfm:after {
464
- content: "\e63c";
464
+ content: "\ea94";
465
465
  }
466
466
  .tl-icon-github:after {
467
- content: "\e63d";
467
+ content: "\eab0";
468
468
  }
469
469
  .tl-icon-goback:after {
470
- content: "\e63e";
470
+ content: "\e314";
471
471
  }
472
472
  .tl-icon-goend:after {
473
- content: "\e969";
473
+ content: "\e315";
474
474
  }
475
475
  .tl-icon-prev2:after {
476
- content: "\ea23";
476
+ content: "\e314";
477
477
  }
478
478
  .tl-icon-next2:after {
479
- content: "\ea24";
479
+ content: "\e315";
480
480
  }
481
481
  .tl-icon-doc-v2:after {
482
- content: "\e63f";
482
+ content: "\e926";
483
483
  }
484
484
  .tl-icon-googledrive:after {
485
- content: "\e640";
485
+ content: "\ea8f";
486
486
  }
487
487
  .tl-icon-facebook:after {
488
- content: "\e641";
488
+ content: "\ea90";
489
489
  }
490
490
  .tl-icon-flickr:after {
491
- content: "\e642";
491
+ content: "\eaa4";
492
492
  }
493
493
  .tl-icon-dribbble:after {
494
- content: "\e643";
494
+ content: "\ea90";
495
495
  }
496
496
  .tl-icon-image:after {
497
- content: "\e605";
497
+ content: "\e90d";
498
498
  }
499
499
  .tl-icon-vimeo:after {
500
- content: "\e606";
500
+ content: "\eaa0";
501
501
  }
502
502
  .tl-icon-instagram:after {
503
- content: "\e644";
503
+ content: "\ea92";
504
504
  }
505
505
  .tl-icon-pinterest:after {
506
- content: "\e645";
506
+ content: "\ead1";
507
507
  }
508
508
  .tl-icon-arrow-left:after {
509
- content: "\e646";
509
+ content: "\ea44";
510
510
  }
511
511
  .tl-icon-arrow-down:after {
512
- content: "\e647";
512
+ content: "\ea43";
513
513
  }
514
514
  .tl-icon-arrow-up:after {
515
- content: "\e648";
515
+ content: "\ea41";
516
516
  }
517
517
  .tl-icon-arrow-right:after {
518
- content: "\e649";
518
+ content: "\ea42";
519
519
  }
520
520
  .tl-icon-share:after {
521
- content: "\e64a";
521
+ content: "\ea7d";
522
522
  }
523
523
  .tl-icon-blockquote:after {
524
- content: "\e64b";
524
+ content: "\e977";
525
525
  }
526
526
  .tl-icon-evernote:after {
527
- content: "\e64c";
527
+ content: "\e926";
528
528
  }
529
529
  .tl-icon-mappin:after {
530
- content: "\e600";
530
+ content: "\e947";
531
531
  }
532
532
  .tl-icon-swipe-right:after {
533
- content: "\e601";
533
+ content: "\e315";
534
534
  }
535
535
  .tl-icon-swipe-left:after {
536
- content: "\e602";
536
+ content: "\e314";
537
537
  }
538
538
  .tl-icon-touch-spread:after {
539
- content: "\e603";
539
+ content: "\e989";
540
540
  }
541
541
  .tl-icon-touch-pinch:after {
542
- content: "\e604";
542
+ content: "\e98a";
543
543
  }
544
544
  .tl-icon-tiktok:after {
545
545
  content: "\e908";
@@ -848,7 +848,7 @@
848
848
  top: -10px;
849
849
  }
850
850
  .tl-timenav .tl-timenav-line:after {
851
- content: "\e648";
851
+ content: "\ea41";
852
852
  bottom: 24px;
853
853
  }
854
854
  .tl-timenav .tl-timenav-slider {
@@ -2120,7 +2120,7 @@
2120
2120
  margin-left: 76px;
2121
2121
  }
2122
2122
  .tl-slidenav-next .tl-slidenav-icon:before {
2123
- content: "\e64f";
2123
+ content: "\e315";
2124
2124
  }
2125
2125
  .tl-slidenav-previous {
2126
2126
  text-align: left;
@@ -2131,7 +2131,7 @@
2131
2131
  margin-left: 0px;
2132
2132
  }
2133
2133
  .tl-slidenav-previous .tl-slidenav-icon:before {
2134
- content: "\e650";
2134
+ content: "\e314";
2135
2135
  }
2136
2136
  [dir="rtl"] .tl-slidenav-previous {
2137
2137
  direction: ltr;
@@ -359,187 +359,187 @@
359
359
  -moz-osx-font-smoothing: grayscale;
360
360
  }
361
361
  .tl-icon-vine:after {
362
- content: "\e64d";
362
+ content: "\ea96";
363
363
  }
364
364
  .tl-icon-wikipedia:after {
365
- content: "\e64e";
365
+ content: "\eac8";
366
366
  }
367
367
  .tl-icon-chevron-right:after {
368
- content: "\e64f";
368
+ content: "\e315";
369
369
  }
370
370
  .tl-icon-chevron-left:after {
371
- content: "\e650";
371
+ content: "\e314";
372
372
  }
373
373
  .tl-icon-youtube-logo:after {
374
- content: "\e651";
374
+ content: "\ea9d";
375
375
  }
376
376
  .tl-icon-foursquare:after {
377
- content: "\e652";
377
+ content: "\e947";
378
378
  }
379
379
  .tl-icon-camera-retro:after {
380
- content: "\e653";
380
+ content: "\e90f";
381
381
  }
382
382
  .tl-icon-doc:after {
383
- content: "\e654";
383
+ content: "\e926";
384
384
  }
385
385
  .tl-icon-weibo:after {
386
- content: "\e655";
386
+ content: "\ea96";
387
387
  }
388
388
  .tl-icon-resize-horizontal:after {
389
- content: "\e656";
389
+ content: "\e8d4";
390
390
  }
391
391
  .tl-icon-resize-vertical:after {
392
- content: "\e657";
392
+ content: "\e8d5";
393
393
  }
394
394
  .tl-icon-resize-full:after {
395
- content: "\e658";
395
+ content: "\e989";
396
396
  }
397
397
  .tl-icon-resize-small:after {
398
- content: "\e659";
398
+ content: "\e98a";
399
399
  }
400
400
  .tl-icon-twitter:after {
401
- content: "\e62b";
401
+ content: "\ea96";
402
402
  }
403
403
  .tl-icon-google-plus:after {
404
- content: "\e62c";
404
+ content: "\ea8b";
405
405
  }
406
406
  .tl-icon-video:after {
407
- content: "\e62d";
407
+ content: "\ea9d";
408
408
  }
409
409
  .tl-icon-youtube:after {
410
- content: "\e62d";
410
+ content: "\ea9d";
411
411
  }
412
412
  .tl-icon-plaintext:after {
413
- content: "\e62e";
413
+ content: "\e926";
414
414
  }
415
415
  .tl-icon-storify:after {
416
- content: "\e62e";
416
+ content: "\e926";
417
417
  }
418
418
  .tl-icon-image-v2:after {
419
- content: "\e62f";
419
+ content: "\e90d";
420
420
  }
421
421
  .tl-icon-quote-v2:after {
422
- content: "\e630";
422
+ content: "\e977";
423
423
  }
424
424
  .tl-icon-zoom-in:after {
425
- content: "\e631";
425
+ content: "\e987";
426
426
  }
427
427
  .tl-icon-zoom-out:after {
428
- content: "\e632";
428
+ content: "\e988";
429
429
  }
430
430
  .tl-icon-list:after {
431
- content: "\e633";
431
+ content: "\e9bd";
432
432
  }
433
433
  .tl-icon-music:after {
434
- content: "\e634";
434
+ content: "\ea94";
435
435
  }
436
436
  .tl-icon-spotify:after {
437
- content: "\e634";
437
+ content: "\ea94";
438
438
  }
439
439
  .tl-icon-location:after {
440
- content: "\e635";
440
+ content: "\e947";
441
441
  }
442
442
  .tl-icon-googlemaps:after {
443
- content: "\e635";
443
+ content: "\e947";
444
444
  }
445
445
  .tl-icon-web:after {
446
- content: "\e636";
446
+ content: "\e9cb";
447
447
  }
448
448
  .tl-icon-share-v2:after {
449
- content: "\e637";
449
+ content: "\ea82";
450
450
  }
451
451
  .tl-icon-soundcloud:after {
452
- content: "\e639";
452
+ content: "\eac3";
453
453
  }
454
454
  .tl-icon-video-v2:after {
455
- content: "\e63a";
455
+ content: "\ea9d";
456
456
  }
457
457
  .tl-icon-dailymotion:after {
458
- content: "\e63a";
458
+ content: "\ea9d";
459
459
  }
460
460
  .tl-icon-tumblr:after {
461
- content: "\e63b";
461
+ content: "\eab9";
462
462
  }
463
463
  .tl-icon-lastfm:after {
464
- content: "\e63c";
464
+ content: "\ea94";
465
465
  }
466
466
  .tl-icon-github:after {
467
- content: "\e63d";
467
+ content: "\eab0";
468
468
  }
469
469
  .tl-icon-goback:after {
470
- content: "\e63e";
470
+ content: "\e314";
471
471
  }
472
472
  .tl-icon-goend:after {
473
- content: "\e969";
473
+ content: "\e315";
474
474
  }
475
475
  .tl-icon-prev2:after {
476
- content: "\ea23";
476
+ content: "\e314";
477
477
  }
478
478
  .tl-icon-next2:after {
479
- content: "\ea24";
479
+ content: "\e315";
480
480
  }
481
481
  .tl-icon-doc-v2:after {
482
- content: "\e63f";
482
+ content: "\e926";
483
483
  }
484
484
  .tl-icon-googledrive:after {
485
- content: "\e640";
485
+ content: "\ea8f";
486
486
  }
487
487
  .tl-icon-facebook:after {
488
- content: "\e641";
488
+ content: "\ea90";
489
489
  }
490
490
  .tl-icon-flickr:after {
491
- content: "\e642";
491
+ content: "\eaa4";
492
492
  }
493
493
  .tl-icon-dribbble:after {
494
- content: "\e643";
494
+ content: "\ea90";
495
495
  }
496
496
  .tl-icon-image:after {
497
- content: "\e605";
497
+ content: "\e90d";
498
498
  }
499
499
  .tl-icon-vimeo:after {
500
- content: "\e606";
500
+ content: "\eaa0";
501
501
  }
502
502
  .tl-icon-instagram:after {
503
- content: "\e644";
503
+ content: "\ea92";
504
504
  }
505
505
  .tl-icon-pinterest:after {
506
- content: "\e645";
506
+ content: "\ead1";
507
507
  }
508
508
  .tl-icon-arrow-left:after {
509
- content: "\e646";
509
+ content: "\ea44";
510
510
  }
511
511
  .tl-icon-arrow-down:after {
512
- content: "\e647";
512
+ content: "\ea43";
513
513
  }
514
514
  .tl-icon-arrow-up:after {
515
- content: "\e648";
515
+ content: "\ea41";
516
516
  }
517
517
  .tl-icon-arrow-right:after {
518
- content: "\e649";
518
+ content: "\ea42";
519
519
  }
520
520
  .tl-icon-share:after {
521
- content: "\e64a";
521
+ content: "\ea7d";
522
522
  }
523
523
  .tl-icon-blockquote:after {
524
- content: "\e64b";
524
+ content: "\e977";
525
525
  }
526
526
  .tl-icon-evernote:after {
527
- content: "\e64c";
527
+ content: "\e926";
528
528
  }
529
529
  .tl-icon-mappin:after {
530
- content: "\e600";
530
+ content: "\e947";
531
531
  }
532
532
  .tl-icon-swipe-right:after {
533
- content: "\e601";
533
+ content: "\e315";
534
534
  }
535
535
  .tl-icon-swipe-left:after {
536
- content: "\e602";
536
+ content: "\e314";
537
537
  }
538
538
  .tl-icon-touch-spread:after {
539
- content: "\e603";
539
+ content: "\e989";
540
540
  }
541
541
  .tl-icon-touch-pinch:after {
542
- content: "\e604";
542
+ content: "\e98a";
543
543
  }
544
544
  .tl-icon-tiktok:after {
545
545
  content: "\e908";
@@ -848,7 +848,7 @@
848
848
  top: -10px;
849
849
  }
850
850
  .tl-timenav .tl-timenav-line:after {
851
- content: "\e648";
851
+ content: "\ea41";
852
852
  bottom: 24px;
853
853
  }
854
854
  .tl-timenav .tl-timenav-slider {
@@ -2120,7 +2120,7 @@
2120
2120
  margin-left: 76px;
2121
2121
  }
2122
2122
  .tl-slidenav-next .tl-slidenav-icon:before {
2123
- content: "\e64f";
2123
+ content: "\e315";
2124
2124
  }
2125
2125
  .tl-slidenav-previous {
2126
2126
  text-align: left;
@@ -2131,7 +2131,7 @@
2131
2131
  margin-left: 0px;
2132
2132
  }
2133
2133
  .tl-slidenav-previous .tl-slidenav-icon:before {
2134
- content: "\e650";
2134
+ content: "\e314";
2135
2135
  }
2136
2136
  [dir="rtl"] .tl-slidenav-previous {
2137
2137
  direction: ltr;