@tspro/web-music-score 3.2.0 → 4.0.1

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 (51) hide show
  1. package/CHANGELOG.md +38 -10
  2. package/README.md +189 -331
  3. package/dist/audio/index.d.mts +40 -1
  4. package/dist/audio/index.d.ts +40 -1
  5. package/dist/audio/index.js +1 -1
  6. package/dist/audio/index.mjs +2 -2
  7. package/dist/audio-cg/index.d.mts +3 -0
  8. package/dist/audio-cg/index.d.ts +3 -0
  9. package/dist/audio-cg/index.js +1 -1
  10. package/dist/audio-cg/index.mjs +2 -2
  11. package/dist/{chunk-LCTM7BID.mjs → chunk-YFPLOHP2.mjs} +2 -2
  12. package/dist/core/index.d.mts +12 -0
  13. package/dist/core/index.d.ts +12 -0
  14. package/dist/core/index.js +3 -2
  15. package/dist/core/index.mjs +4 -3
  16. package/dist/guitar-CaZJDA05.d.ts +35 -0
  17. package/dist/guitar-DdexKdN6.d.mts +35 -0
  18. package/dist/iife/index.global.js +11 -11
  19. package/dist/{interface-Bn5HFt_U.d.mts → music-objects-DJQ4d2OA.d.mts} +640 -136
  20. package/dist/{interface-BlNl69uT.d.ts → music-objects-Dc3kR-XF.d.ts} +640 -136
  21. package/dist/note-eA2xPPiG.d.mts +294 -0
  22. package/dist/note-eA2xPPiG.d.ts +294 -0
  23. package/dist/pieces/index.d.mts +22 -3
  24. package/dist/pieces/index.d.ts +22 -3
  25. package/dist/pieces/index.js +7 -7
  26. package/dist/pieces/index.mjs +11 -11
  27. package/dist/react-ui/index.d.mts +166 -17
  28. package/dist/react-ui/index.d.ts +166 -17
  29. package/dist/react-ui/index.js +78 -1
  30. package/dist/react-ui/index.mjs +79 -2
  31. package/dist/scale-B2Icbetz.d.ts +230 -0
  32. package/dist/scale-BbDJTbrG.d.mts +230 -0
  33. package/dist/score/index.d.mts +359 -39
  34. package/dist/score/index.d.ts +359 -39
  35. package/dist/score/index.js +1252 -594
  36. package/dist/score/index.mjs +1255 -599
  37. package/dist/tempo-CtUhvJbr.d.mts +369 -0
  38. package/dist/tempo-Dt8aHpol.d.ts +369 -0
  39. package/dist/theory/index.d.mts +29 -13
  40. package/dist/theory/index.d.ts +29 -13
  41. package/dist/theory/index.js +583 -96
  42. package/dist/theory/index.mjs +580 -94
  43. package/package.json +2 -2
  44. package/dist/guitar-C2Cp71NZ.d.ts +0 -17
  45. package/dist/guitar-DggbM2UL.d.mts +0 -17
  46. package/dist/note-BFa43I86.d.mts +0 -85
  47. package/dist/note-BFa43I86.d.ts +0 -85
  48. package/dist/scale-DRR-t4Kr.d.mts +0 -74
  49. package/dist/scale-ebJm37q1.d.ts +0 -74
  50. package/dist/tempo-B4h5Ktob.d.mts +0 -104
  51. package/dist/tempo-DgqDEsn0.d.ts +0 -104
package/CHANGELOG.md CHANGED
@@ -1,50 +1,78 @@
1
1
  # Changelog
2
2
 
3
- ## [3.2.0] - 2025-09-12
3
+ ## [4.0.1] - 2025-09-28
4
+ ## Fixed
5
+ - Invalid typedoc @params.
6
+ - AnotationType was not referenced for typedoc.
7
+ - Deprecated misspelled NoteLength.Whole12Dots.
8
+
9
+ ## Changed
10
+ - Improved Frere Jacques demo piece.
11
+
4
12
  ## Added
13
+ - Typedoc comments for all public exports.
14
+
15
+ ## [4.0.0] - 2025-09-24
16
+ Another major update was required by new features.
17
+
18
+ ### **Breiking Changes**
19
+ - `RhythmProps` had major redesign.
20
+ - `DocumentBuilder.addExtension()` was changed.
21
+
22
+ ### Added
23
+ - Generic tuples with `DocumentBuilder.addTuplet()`.
24
+ - Support multiple dot count.
25
+ - Added `NoteLengthProps` to support note lengths.
26
+ - Support for "1n", "2n", "4n", etc. string note lengths alongside `NoteLength` enum.
27
+ - Support for all other string arguments alongside typescript enums.
28
+
29
+ **Lots of other undocumented small changes, updates and fixes!**
30
+
31
+ ## [3.2.0] - 2025-09-12
32
+ ### Added
5
33
  - Added getter functions to score interface (MDocument, MMeasure, etc.)
6
34
 
7
- ## Fixed
35
+ ### Fixed
8
36
  - Extension line tip direction.
9
37
  - Cursor top was always 0 (top of document instead of top of row).
10
38
  - Pick accidental.
11
39
 
12
- ## Changed
40
+ ### Changed
13
41
  - Do not pick note groups, rests and rhythm columns (only visible with multiple staff/tab anyway).
14
42
 
15
43
  ## [3.1.1] - 2025-09-10
16
- ## Fixed
44
+ ### Fixed
17
45
  - Accept array of staff/tab/group for addFermataTo(), addNavigationTo(), addAnnotationTo() and addLabelTo().
18
46
  - Better infinite recursion detection for staff groups.
19
47
 
20
48
  ## [3.1.0] - 2025-09-09
21
- ## Added
49
+ ### Added
22
50
  - Staff/TabConfig.name.
23
51
  - DocumentBuilder.addStaffGroup().
24
52
  - DocumentBuilder.addFermataTo(), .addNavigationTo(), .addAnnotationTo() and .addLabelTo().
25
53
 
26
54
  ## [3.0.1] - 2025-09-03
27
- ## Fixed
55
+ ### Fixed
28
56
  - Draw arpeggio curly arrow also to guitar tab.
29
57
 
30
58
  ## [3.0.0] - 2025-08-31
31
59
  Major update and brought some important changes.
32
- ### ** Breaking Changes **
60
+ ### **Breaking Changes**
33
61
  - Removed old way of creating scores using MDocument, MMeasure, etc. Use DocumentBuilder instead.
34
62
  - Removed DocumentOptions. Replaced using functions addScoreConfiguration() and setMeasuresPerRow() in DocumentBuilder.
35
63
  - Tie and slur removed from NoteOptions. Use addConnective() in DocumentBuilder.
36
64
 
37
- ## Added
65
+ ### Added
38
66
  - Score configuration with multiple staves and tabs per row.
39
67
  - Connective.Slide.
40
68
  - Draw Connectives in tabs.
41
69
 
42
- ## Changed
70
+ ### Changed
43
71
  - Lots of undocumented fixes, changes and improvements.
44
72
 
45
73
  ## [2.0.0] - 2025-07-28
46
74
  Major update and brought many changes.
47
- ### ** Breaking Changes **
75
+ ### **Breaking Changes**
48
76
  - Use subpath modules. There is no main export.
49
77
  - Refactored musical terms that were wrong (e.g. pitch => diatonicId, noteId => chromaticId).
50
78
  - Score module stayed mostly same. Some changes (e.g. enum StaffKind => StaffPreset) but nothing major.