vexflow 5.2.0 → 5.3.0

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 (114) hide show
  1. package/build/cjs/vexflow-bravura.js +2 -2
  2. package/build/cjs/vexflow-bravura.js.map +1 -1
  3. package/build/cjs/vexflow-core.js +2 -2
  4. package/build/cjs/vexflow-core.js.map +1 -1
  5. package/build/cjs/vexflow-debug-with-tests.js +2759 -1382
  6. package/build/cjs/vexflow-debug-with-tests.js.map +1 -1
  7. package/build/cjs/vexflow-debug.js +1814 -1227
  8. package/build/cjs/vexflow-debug.js.map +1 -1
  9. package/build/cjs/vexflow.js +2 -2
  10. package/build/cjs/vexflow.js.map +1 -1
  11. package/build/esm/src/accidental.js +10 -3
  12. package/build/esm/src/articulation.js +24 -6
  13. package/build/esm/src/beam.js +158 -28
  14. package/build/esm/src/bend.js +24 -19
  15. package/build/esm/src/curve.js +27 -53
  16. package/build/esm/src/dot.js +13 -4
  17. package/build/esm/src/easyscore/composition.js +40 -1
  18. package/build/esm/src/easyscore/policies.js +34 -6
  19. package/build/esm/src/element.js +4 -0
  20. package/build/esm/src/engravinggeometry.js +150 -0
  21. package/build/esm/src/engravingprofile.js +44 -0
  22. package/build/esm/src/factory.js +15 -7
  23. package/build/esm/src/formatter.js +9 -1
  24. package/build/esm/src/gracenote.js +43 -38
  25. package/build/esm/src/gracenotegroup.js +53 -56
  26. package/build/esm/src/index.js +2 -0
  27. package/build/esm/src/keysignature.js +1 -1
  28. package/build/esm/src/modifiercontext.js +11 -0
  29. package/build/esm/src/notehead.js +11 -6
  30. package/build/esm/src/ornament.js +38 -18
  31. package/build/esm/src/proportionalformatter.js +54 -6
  32. package/build/esm/src/stavenote.js +128 -115
  33. package/build/esm/src/stavetie.js +39 -7
  34. package/build/esm/src/stem.js +26 -11
  35. package/build/esm/src/tickcontext.js +19 -0
  36. package/build/esm/src/timesignature.js +5 -0
  37. package/build/esm/src/tuplet.js +57 -17
  38. package/build/esm/src/version.js +3 -3
  39. package/build/esm/src/vexflow.js +4 -0
  40. package/build/esm/tests/bend_tests.js +14 -1
  41. package/build/esm/tests/curve_tests.js +14 -4
  42. package/build/esm/tests/demo_repertoire_tests.js +27 -0
  43. package/build/esm/tests/demos/drums.js +54 -0
  44. package/build/esm/tests/demos/electric.js +63 -0
  45. package/build/esm/tests/demos/greensleeves.js +90 -0
  46. package/build/esm/tests/demos/joy.js +61 -0
  47. package/build/esm/tests/demos/kesh.js +80 -0
  48. package/build/esm/tests/demos/prelude.js +59 -0
  49. package/build/esm/tests/demos/quartertones.js +50 -0
  50. package/build/esm/tests/demos/saints.js +65 -0
  51. package/build/esm/tests/engraving/score-layout.mjs +75 -0
  52. package/build/esm/tests/engraving/score-persistence.mjs +262 -0
  53. package/build/esm/tests/engraving/studies.mjs +279 -0
  54. package/build/esm/tests/formatter_tests.js +10 -1
  55. package/build/esm/tests/index.js +1 -0
  56. package/build/esm/tests/node/audit-dependencies-tests.mjs +42 -0
  57. package/build/esm/tests/node/easyscore-tests.mjs +71 -0
  58. package/build/esm/tests/node/engraving-layout-tests.mjs +449 -0
  59. package/build/esm/tests/node/local-engraving-tests.mjs +128 -0
  60. package/build/esm/tests/node/proportional-spacing-tests.mjs +64 -0
  61. package/build/esm/tests/node/rendering-tests.mjs +6 -2
  62. package/build/esm/tests/threevoice_tests.js +11 -1
  63. package/build/esm/tests/vexflow_test_helpers.js +19 -10
  64. package/build/esm/tools/audit-dependencies.mjs +61 -0
  65. package/build/esm/tools/score-fixtures.mjs +23 -6
  66. package/build/types/src/accidental.d.ts +4 -0
  67. package/build/types/src/articulation.d.ts +6 -1
  68. package/build/types/src/beam.d.ts +14 -0
  69. package/build/types/src/curve.d.ts +9 -0
  70. package/build/types/src/dot.d.ts +5 -0
  71. package/build/types/src/easyscore/composition.d.ts +19 -0
  72. package/build/types/src/easyscore/policies.d.ts +1 -1
  73. package/build/types/src/element.d.ts +2 -0
  74. package/build/types/src/engravinggeometry.d.ts +31 -0
  75. package/build/types/src/engravingprofile.d.ts +20 -0
  76. package/build/types/src/factory.d.ts +6 -1
  77. package/build/types/src/formatter.d.ts +3 -3
  78. package/build/types/src/gracenote.d.ts +7 -0
  79. package/build/types/src/gracenotegroup.d.ts +7 -2
  80. package/build/types/src/index.d.ts +2 -0
  81. package/build/types/src/modifiercontext.d.ts +4 -0
  82. package/build/types/src/notehead.d.ts +5 -0
  83. package/build/types/src/ornament.d.ts +7 -0
  84. package/build/types/src/proportionalformatter.d.ts +11 -2
  85. package/build/types/src/stavenote.d.ts +20 -2
  86. package/build/types/src/stavetie.d.ts +4 -0
  87. package/build/types/src/stem.d.ts +10 -1
  88. package/build/types/src/tickcontext.d.ts +5 -0
  89. package/build/types/src/timesignature.d.ts +2 -0
  90. package/build/types/src/tuplet.d.ts +5 -48
  91. package/build/types/src/vexflow.d.ts +4 -0
  92. package/changelog/CHANGELOG.md +17 -0
  93. package/package.json +7 -2
  94. package/tests/all.html +277 -0
  95. package/tests/demo_petzold_tests.ts +435 -0
  96. package/tests/demos/drums.ts +55 -0
  97. package/tests/demos/drums.webp +0 -0
  98. package/tests/demos/electric.ts +70 -0
  99. package/tests/demos/electric.webp +0 -0
  100. package/tests/demos/greensleeves.ts +97 -0
  101. package/tests/demos/greensleeves.webp +0 -0
  102. package/tests/demos/joy.ts +65 -0
  103. package/tests/demos/joy.webp +0 -0
  104. package/tests/demos/kesh.ts +86 -0
  105. package/tests/demos/kesh.webp +0 -0
  106. package/tests/demos/prelude.ts +65 -0
  107. package/tests/demos/prelude.webp +0 -0
  108. package/tests/demos/quartertones.ts +51 -0
  109. package/tests/demos/quartertones.webp +0 -0
  110. package/tests/demos/saints.ts +70 -0
  111. package/tests/demos/saints.webp +0 -0
  112. package/tests/flow.html +550 -239
  113. package/tests/fonts.css +493 -0
  114. package/tests/minuet.webp +0 -0
@@ -0,0 +1,493 @@
1
+ /***************************************/
2
+
3
+ /* Academico */
4
+
5
+ @font-face {
6
+ font-family: 'Academico';
7
+ font-style: normal;
8
+ font-display: swap;
9
+ src:
10
+ local('Academico'),
11
+ url(../node_modules/@vexflow-fonts/academico/academico.woff2) format('woff2');
12
+ }
13
+
14
+ @font-face {
15
+ font-family: 'Academico';
16
+ font-style: normal;
17
+ font-display: swap;
18
+ font-weight: bold;
19
+ src:
20
+ local('Academico'),
21
+ url(../node_modules/@vexflow-fonts/academico/academico-bold.otf) format('woff2');
22
+ }
23
+
24
+ /***************************************/
25
+
26
+ /* Bravura */
27
+
28
+ @font-face {
29
+ font-family: 'Bravura';
30
+ font-style: normal;
31
+ font-display: block;
32
+ font-weight: 400;
33
+ src:
34
+ local('Bravura'),
35
+ url(../node_modules/@vexflow-fonts/bravura/bravura.woff2) format('woff2');
36
+ }
37
+
38
+ /***************************************/
39
+
40
+ /* Bravura Text */
41
+
42
+ @font-face {
43
+ font-family: 'Bravura Text';
44
+ font-style: normal;
45
+ font-display: block;
46
+ font-weight: 400;
47
+ src:
48
+ local('Bravura Text'),
49
+ url(../node_modules/@vexflow-fonts/bravuratext/bravuratext.woff2) format('woff2');
50
+ }
51
+
52
+ /***************************************/
53
+
54
+ /* Edwin */
55
+
56
+ @font-face {
57
+ font-family: 'Edwin';
58
+ font-weight: 400;
59
+ font-style: normal;
60
+ font-display: swap;
61
+ src:
62
+ local('Edwin'),
63
+ url(../node_modules/@vexflow-fonts/edwin/edwin-roman.woff2) format('woff2');
64
+ }
65
+
66
+ @font-face {
67
+ font-family: 'Edwin';
68
+ font-weight: bold;
69
+ font-style: normal;
70
+ font-display: swap;
71
+ src:
72
+ local('Edwin'),
73
+ url(../node_modules/@vexflow-fonts/edwin/edwin-bold.woff2) format('woff2');
74
+ }
75
+
76
+ @font-face {
77
+ font-family: 'Edwin';
78
+ font-weight: 400;
79
+ font-style: italic;
80
+ font-display: swap;
81
+ src:
82
+ local('Edwin'),
83
+ url(../node_modules/@vexflow-fonts/edwin/edwin-italic.woff2) format('woff2');
84
+ }
85
+
86
+ @font-face {
87
+ font-family: 'Edwin';
88
+ font-weight: bold;
89
+ font-style: italic;
90
+ font-display: swap;
91
+ src:
92
+ local('Edwin'),
93
+ url(../node_modules/@vexflow-fonts/edwin/edwin-bold-italic.woff2) format('woff2');
94
+ }
95
+
96
+ /***************************************/
97
+
98
+ /* Finale Ash */
99
+
100
+ @font-face {
101
+ font-family: 'Finale Ash';
102
+ font-style: normal;
103
+ font-display: block;
104
+ font-weight: 400;
105
+ src:
106
+ local('Finale Ash'),
107
+ url(../node_modules/@vexflow-fonts/finaleash/finaleash.woff2) format('woff2');
108
+ }
109
+
110
+ /***************************************/
111
+
112
+ /* Finale Ash Text */
113
+
114
+ @font-face {
115
+ font-family: 'Finale Ash Text';
116
+ font-weight: 400;
117
+ font-style: normal;
118
+ font-display: swap;
119
+ src:
120
+ local('Finale Ash Text'),
121
+ url(../node_modules/@vexflow-fonts/finaleashtext/finaleashtext.woff2) format('woff2');
122
+ }
123
+
124
+ /***************************************/
125
+
126
+ /* Finale Broadway */
127
+
128
+ @font-face {
129
+ font-family: 'Finale Broadway';
130
+ font-style: normal;
131
+ font-display: block;
132
+ font-weight: 400;
133
+ src:
134
+ local('Finale Broadway'),
135
+ url(../node_modules/@vexflow-fonts/finalebroadway/finalebroadway.woff2) format('woff2');
136
+ }
137
+
138
+ /***************************************/
139
+
140
+ /* Finale Broadway Text */
141
+
142
+ @font-face {
143
+ font-family: 'Finale Broadway Text';
144
+ font-weight: 400;
145
+ font-style: normal;
146
+ font-display: swap;
147
+ src:
148
+ local('Finale Broadway Text'),
149
+ url(../node_modules/@vexflow-fonts/finalebroadwaytext/finalebroadwaytext.woff2) format('woff2');
150
+ }
151
+
152
+ /***************************************/
153
+
154
+ /* Finale Jazz */
155
+
156
+ @font-face {
157
+ font-family: 'Finale Jazz';
158
+ font-style: normal;
159
+ font-display: block;
160
+ font-weight: 400;
161
+ src:
162
+ local('Finale Jazz'),
163
+ url(../node_modules/@vexflow-fonts/finalejazz/finalejazz.woff2) format('woff2');
164
+ }
165
+
166
+ /***************************************/
167
+
168
+ /* Finale Jazz Text */
169
+
170
+ @font-face {
171
+ font-family: 'Finale Jazz Text';
172
+ font-weight: 400;
173
+ font-style: normal;
174
+ font-display: swap;
175
+ src:
176
+ local('Finale Jazz Text'),
177
+ url(../node_modules/@vexflow-fonts/finalejazztext/finalejazztext.woff2) format('woff2');
178
+ }
179
+
180
+ /***************************************/
181
+
182
+ /* Finale Maestro */
183
+
184
+ @font-face {
185
+ font-family: 'Finale Maestro';
186
+ font-weight: 400;
187
+ font-style: normal;
188
+ font-display: swap;
189
+ src:
190
+ local('Finale Maestro'),
191
+ url(../node_modules/@vexflow-fonts/finalemaestro/finalemaestro.woff2) format('woff2');
192
+ }
193
+
194
+ /***************************************/
195
+
196
+ /* Finale Maestro Text */
197
+
198
+ @font-face {
199
+ font-family: 'Finale Maestro Text';
200
+ font-weight: 400;
201
+ font-style: normal;
202
+ font-display: swap;
203
+ src:
204
+ local('Finale Maestro Text'),
205
+ url(../node_modules/@vexflow-fonts/finalemaestrotext/finalemaestrotext-regular.woff2) format('woff2');
206
+ }
207
+
208
+ @font-face {
209
+ font-family: 'Finale Maestro Text';
210
+ font-weight: bold;
211
+ font-style: normal;
212
+ font-display: swap;
213
+ src:
214
+ local('Finale Maestro Text'),
215
+ url(../node_modules/@vexflow-fonts/finalemaestrotext/finalemaestrotext-bold.woff2) format('woff2');
216
+ }
217
+
218
+ @font-face {
219
+ font-family: 'Finale Maestro Text';
220
+ font-weight: 400;
221
+ font-style: italic;
222
+ font-display: swap;
223
+ src:
224
+ local('Finale Maestro Text'),
225
+ url(../node_modules/@vexflow-fonts/finalemaestrotext/finalemaestrotext-italic.woff2) format('woff2');
226
+ }
227
+
228
+ @font-face {
229
+ font-family: 'Finale Maestro Text';
230
+ font-weight: bold;
231
+ font-style: italic;
232
+ font-display: swap;
233
+ src:
234
+ local('Finale Maestro Text'),
235
+ url(../node_modules/@vexflow-fonts/finalemaestrotext/finalemaestrotext-bolditalic.woff2) format('woff2');
236
+ }
237
+
238
+ /***************************************/
239
+
240
+ /* Gonville */
241
+ /* Note: We do not use local('Gonville') because it is possible that the locally installed Gonville is not SMuFL compliant. */
242
+
243
+ @font-face {
244
+ font-family: 'Gonville';
245
+ font-style: normal;
246
+ font-display: block;
247
+ font-weight: 400;
248
+ src: url(../node_modules/@vexflow-fonts/gonville/gonville.woff2) format('woff2');
249
+ }
250
+
251
+ /***************************************/
252
+
253
+ /* Gootville */
254
+
255
+ @font-face {
256
+ font-family: 'Gootville';
257
+ font-style: normal;
258
+ font-display: block;
259
+ font-weight: 400;
260
+ src:
261
+ local('Gootville'),
262
+ url(../node_modules/@vexflow-fonts/gootville/gootville.woff2) format('woff2');
263
+ }
264
+
265
+ /***************************************/
266
+
267
+ /* Gootville Text */
268
+
269
+ @font-face {
270
+ font-family: 'Gootville Text';
271
+ font-style: normal;
272
+ font-display: block;
273
+ font-weight: 400;
274
+ src:
275
+ local('Gootville Text'),
276
+ url(../node_modules/@vexflow-fonts/gootvilletext/gootvilletext.woff2) format('woff2');
277
+ }
278
+
279
+ /***************************************/
280
+
281
+ /* Leipzig */
282
+
283
+ @font-face {
284
+ font-family: 'Leipzig';
285
+ font-style: normal;
286
+ font-display: block;
287
+ font-weight: 400;
288
+ src:
289
+ local('Leipzig'),
290
+ url(../node_modules/@vexflow-fonts/leipzig/leipzig.woff2) format('woff2');
291
+ }
292
+
293
+ /***************************************/
294
+
295
+ /* Leland */
296
+
297
+ @font-face {
298
+ font-family: 'Leland';
299
+ font-style: normal;
300
+ font-display: block;
301
+ font-weight: 400;
302
+ src:
303
+ local('Leland'),
304
+ url(../node_modules/@vexflow-fonts/leland/leland.woff2) format('woff2');
305
+ }
306
+
307
+ /***************************************/
308
+
309
+ /* Leland Text */
310
+
311
+ @font-face {
312
+ font-family: 'Leland Text';
313
+ font-style: normal;
314
+ font-display: block;
315
+ font-weight: 400;
316
+ src:
317
+ local('Leland Text'),
318
+ url(../node_modules/@vexflow-fonts/lelandtext/lelandtext.woff2) format('woff2');
319
+ }
320
+
321
+ /***************************************/
322
+
323
+ /* MuseJazz */
324
+
325
+ @font-face {
326
+ font-family: 'MuseJazz';
327
+ font-style: normal;
328
+ font-display: block;
329
+ font-weight: 400;
330
+ src:
331
+ local('MuseJazz'),
332
+ url(../node_modules/@vexflow-fonts/musejazz/musejazz.woff2) format('woff2');
333
+ }
334
+
335
+ /***************************************/
336
+
337
+ /* MuseJazz Text */
338
+
339
+ @font-face {
340
+ font-family: 'MuseJazz Text';
341
+ font-style: normal;
342
+ font-display: swap;
343
+ font-weight: 400;
344
+ src:
345
+ local('MuseJazz Text'),
346
+ url(../node_modules/@vexflow-fonts/musejazztext/musejazztext.woff2) format('woff2');
347
+ }
348
+
349
+ /***************************************/
350
+
351
+ /* Nepomuk */
352
+
353
+ @font-face {
354
+ font-family: 'Nepomuk';
355
+ font-weight: 400;
356
+ font-style: normal;
357
+ font-display: swap;
358
+ src:
359
+ local('Nepomuk'),
360
+ url(../node_modules/@vexflow-fonts/nepomuk/nepomuk-regular.woff2) format('woff2');
361
+ }
362
+
363
+ @font-face {
364
+ font-family: 'Nepomuk';
365
+ font-weight: bold;
366
+ font-style: normal;
367
+ font-display: swap;
368
+ src:
369
+ local('Nepomuk'),
370
+ url(../node_modules/@vexflow-fonts/nepomuk/nepomuk-bold.woff2) format('woff2');
371
+ }
372
+
373
+ @font-face {
374
+ font-family: 'Nepomuk';
375
+ font-weight: 400;
376
+ font-style: italic;
377
+ font-display: swap;
378
+ src:
379
+ local('Nepomuk'),
380
+ url(../node_modules/@vexflow-fonts/nepomuk/nepomuk-italic.woff2) format('woff2');
381
+ }
382
+
383
+ @font-face {
384
+ font-family: 'Nepomuk';
385
+ font-weight: bold;
386
+ font-style: italic;
387
+ font-display: swap;
388
+ src:
389
+ local('Nepomuk'),
390
+ url(../node_modules/@vexflow-fonts/nepomuk/nepomuk-bolditalic.woff2) format('woff2');
391
+ }
392
+
393
+ /***************************************/
394
+
395
+ /* Petaluma */
396
+
397
+ @font-face {
398
+ font-family: 'Petaluma';
399
+ font-style: normal;
400
+ font-display: block;
401
+ font-weight: 400;
402
+ src:
403
+ local('Petaluma'),
404
+ url(../node_modules/@vexflow-fonts/petaluma/petaluma.woff2) format('woff2');
405
+ }
406
+
407
+ /***************************************/
408
+
409
+ /* Petaluma Script */
410
+
411
+ @font-face {
412
+ font-family: 'Petaluma Script';
413
+ font-style: normal;
414
+ font-display: swap;
415
+ font-weight: 400;
416
+ src: url(../node_modules/@vexflow-fonts/petalumascript/petalumascript.woff2) format('woff2');
417
+ }
418
+
419
+ /***************************************/
420
+
421
+ /* Petaluma Text */
422
+
423
+ @font-face {
424
+ font-family: 'Petaluma Text';
425
+ font-style: normal;
426
+ font-display: block;
427
+ font-weight: 400;
428
+ src:
429
+ local('Petaluma Text'),
430
+ url(../node_modules/@vexflow-fonts/petalumatext/petalumatext.woff2) format('woff2');
431
+ }
432
+
433
+ /***************************************/
434
+
435
+ /* Roboto Slab */
436
+
437
+ @font-face {
438
+ font-family: 'Roboto Slab';
439
+ font-weight: 400;
440
+ font-style: normal;
441
+ font-display: swap;
442
+ src:
443
+ local('Roboto Slab'),
444
+ url(../node_modules/@vexflow-fonts/robotoslab/robotoslab-regular-400.woff2) format('woff2');
445
+ }
446
+
447
+ @font-face {
448
+ font-family: 'Roboto Slab';
449
+ font-weight: 500;
450
+ font-style: normal;
451
+ font-display: swap;
452
+ src:
453
+ local('Roboto Slab'),
454
+ url(../node_modules/@vexflow-fonts/robotoslab/robotoslab-medium-500.woff2) format('woff2');
455
+ }
456
+
457
+ @font-face {
458
+ font-family: 'Roboto Slab';
459
+ font-weight: 700;
460
+ font-style: normal;
461
+ font-display: swap;
462
+ src:
463
+ local('Roboto Slab'),
464
+ url(../node_modules/@vexflow-fonts/robotoslab/robotoslab-bold-700.woff2) format('woff2');
465
+ }
466
+
467
+ /***************************************/
468
+
469
+ /* Sebastian */
470
+
471
+ @font-face {
472
+ font-family: 'Sebastian';
473
+ font-style: normal;
474
+ font-display: block;
475
+ font-weight: 400;
476
+ src:
477
+ local('Sebastian'),
478
+ url(../node_modules/@vexflow-fonts/sebastian/sebastian.woff2) format('woff2');
479
+ }
480
+
481
+ /***************************************/
482
+
483
+ /* Sebastian Text */
484
+
485
+ @font-face {
486
+ font-family: 'Sebastian Text';
487
+ font-style: normal;
488
+ font-display: swap;
489
+ font-weight: 400;
490
+ src:
491
+ local('Sebastian Text'),
492
+ url(../node_modules/@vexflow-fonts/sebastiantext/sebastiantext.woff2) format('woff2');
493
+ }
Binary file