@tspro/web-music-score 3.2.0 → 4.0.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 (38) hide show
  1. package/CHANGELOG.md +26 -10
  2. package/README.md +189 -331
  3. package/dist/audio/index.d.ts +1 -1
  4. package/dist/audio/index.js +1 -1
  5. package/dist/audio/index.mjs +2 -2
  6. package/dist/audio-cg/index.js +1 -1
  7. package/dist/audio-cg/index.mjs +2 -2
  8. package/dist/{chunk-LCTM7BID.mjs → chunk-D643HZHM.mjs} +2 -2
  9. package/dist/core/index.js +2 -2
  10. package/dist/core/index.mjs +3 -3
  11. package/dist/{guitar-C2Cp71NZ.d.ts → guitar-cNmE-EvH.d.ts} +1 -1
  12. package/dist/iife/index.global.js +11 -11
  13. package/dist/{interface-BlNl69uT.d.ts → interface-7k8qGG44.d.ts} +89 -81
  14. package/dist/{interface-Bn5HFt_U.d.mts → interface-XoKiryoV.d.mts} +88 -80
  15. package/dist/{note-BFa43I86.d.ts → note-CcVdUFqS.d.ts} +1 -1
  16. package/dist/pieces/index.d.mts +2 -2
  17. package/dist/pieces/index.d.ts +3 -3
  18. package/dist/pieces/index.js +4 -7
  19. package/dist/pieces/index.mjs +8 -11
  20. package/dist/react-ui/index.d.mts +3 -3
  21. package/dist/react-ui/index.d.ts +5 -5
  22. package/dist/react-ui/index.js +1 -1
  23. package/dist/react-ui/index.mjs +2 -2
  24. package/dist/{scale-DRR-t4Kr.d.mts → scale-C2pCNxdE.d.mts} +4 -3
  25. package/dist/{scale-ebJm37q1.d.ts → scale-CvPbJvfN.d.ts} +5 -4
  26. package/dist/score/index.d.mts +98 -31
  27. package/dist/score/index.d.ts +99 -32
  28. package/dist/score/index.js +748 -567
  29. package/dist/score/index.mjs +755 -574
  30. package/dist/tempo-BAYoZ_Li.d.mts +187 -0
  31. package/dist/tempo-r2sb6Ku2.d.ts +187 -0
  32. package/dist/theory/index.d.mts +3 -3
  33. package/dist/theory/index.d.ts +6 -6
  34. package/dist/theory/index.js +221 -78
  35. package/dist/theory/index.mjs +218 -76
  36. package/package.json +2 -2
  37. package/dist/tempo-B4h5Ktob.d.mts +0 -104
  38. package/dist/tempo-DgqDEsn0.d.ts +0 -104
package/CHANGELOG.md CHANGED
@@ -1,50 +1,66 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.0.0] - 2025-09-24
4
+ Another major update was required by new features.
5
+
6
+ ### **Breiking Changes**
7
+ - `RhythmProps` had major redesign.
8
+ - `DocumentBuilder.addExtension()` was changed.
9
+
10
+ ### Added
11
+ - Generic tuples with `DocumentBuilder.addTuplet()`.
12
+ - Support multiple dot count.
13
+ - Added `NoteLengthProps` to support note lengths.
14
+ - Support for "1n", "2n", "4n", etc. string note lengths alongside `NoteLength` enum.
15
+ - Support for all other string arguments alongside typescript enums.
16
+
17
+ **Lots of other undocumented small changes, updates and fixes!**
18
+
3
19
  ## [3.2.0] - 2025-09-12
4
- ## Added
20
+ ### Added
5
21
  - Added getter functions to score interface (MDocument, MMeasure, etc.)
6
22
 
7
- ## Fixed
23
+ ### Fixed
8
24
  - Extension line tip direction.
9
25
  - Cursor top was always 0 (top of document instead of top of row).
10
26
  - Pick accidental.
11
27
 
12
- ## Changed
28
+ ### Changed
13
29
  - Do not pick note groups, rests and rhythm columns (only visible with multiple staff/tab anyway).
14
30
 
15
31
  ## [3.1.1] - 2025-09-10
16
- ## Fixed
32
+ ### Fixed
17
33
  - Accept array of staff/tab/group for addFermataTo(), addNavigationTo(), addAnnotationTo() and addLabelTo().
18
34
  - Better infinite recursion detection for staff groups.
19
35
 
20
36
  ## [3.1.0] - 2025-09-09
21
- ## Added
37
+ ### Added
22
38
  - Staff/TabConfig.name.
23
39
  - DocumentBuilder.addStaffGroup().
24
40
  - DocumentBuilder.addFermataTo(), .addNavigationTo(), .addAnnotationTo() and .addLabelTo().
25
41
 
26
42
  ## [3.0.1] - 2025-09-03
27
- ## Fixed
43
+ ### Fixed
28
44
  - Draw arpeggio curly arrow also to guitar tab.
29
45
 
30
46
  ## [3.0.0] - 2025-08-31
31
47
  Major update and brought some important changes.
32
- ### ** Breaking Changes **
48
+ ### **Breaking Changes**
33
49
  - Removed old way of creating scores using MDocument, MMeasure, etc. Use DocumentBuilder instead.
34
50
  - Removed DocumentOptions. Replaced using functions addScoreConfiguration() and setMeasuresPerRow() in DocumentBuilder.
35
51
  - Tie and slur removed from NoteOptions. Use addConnective() in DocumentBuilder.
36
52
 
37
- ## Added
53
+ ### Added
38
54
  - Score configuration with multiple staves and tabs per row.
39
55
  - Connective.Slide.
40
56
  - Draw Connectives in tabs.
41
57
 
42
- ## Changed
58
+ ### Changed
43
59
  - Lots of undocumented fixes, changes and improvements.
44
60
 
45
61
  ## [2.0.0] - 2025-07-28
46
62
  Major update and brought many changes.
47
- ### ** Breaking Changes **
63
+ ### **Breaking Changes**
48
64
  - Use subpath modules. There is no main export.
49
65
  - Refactored musical terms that were wrong (e.g. pitch => diatonicId, noteId => chromaticId).
50
66
  - Score module stayed mostly same. Some changes (e.g. enum StaffKind => StaffPreset) but nothing major.