web-music-score 6.0.0-pre.3 → 6.0.0-pre.5

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 (35) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/dist/audio/index.d.ts +1 -1
  3. package/dist/audio/index.js +12 -2
  4. package/dist/audio/index.mjs +4 -4
  5. package/dist/audio-cg/index.js +1 -1
  6. package/dist/audio-cg/index.mjs +4 -4
  7. package/dist/audio-synth/index.js +1 -1
  8. package/dist/audio-synth/index.mjs +4 -4
  9. package/dist/{chunk-7OA6ZYVA.mjs → chunk-6R3N7WJC.mjs} +3 -3
  10. package/dist/{chunk-TM46RT77.mjs → chunk-DQFQEO6F.mjs} +4 -4
  11. package/dist/{chunk-QJ3X3GQ6.mjs → chunk-G3HIPFVF.mjs} +2 -2
  12. package/dist/{chunk-S5PIZUF6.mjs → chunk-JP3PJICN.mjs} +14 -4
  13. package/dist/{chunk-SCF6ZZFQ.mjs → chunk-U2D4H5TI.mjs} +3 -3
  14. package/dist/{chunk-AMTQ5XLI.mjs → chunk-Y67RBHW2.mjs} +2 -2
  15. package/dist/core/index.js +1740 -5
  16. package/dist/core/index.mjs +8 -14
  17. package/dist/iife/audio-cg.js +1 -1
  18. package/dist/iife/index.js +13 -13
  19. package/dist/{music-objects-DLmp5uL6.d.ts → music-objects-D-xO1oti.d.ts} +75 -5
  20. package/dist/{note-RVXvpfyV.d.ts → note-CJuq5aBy.d.ts} +1 -1
  21. package/dist/pieces/index.d.ts +3 -3
  22. package/dist/pieces/index.js +2 -2
  23. package/dist/pieces/index.mjs +3 -3
  24. package/dist/react-ui/index.d.ts +4 -3
  25. package/dist/react-ui/index.js +3 -1
  26. package/dist/react-ui/index.mjs +4 -2
  27. package/dist/{scale-B1M10_fu.d.ts → scale-DxGqFxlv.d.ts} +2 -2
  28. package/dist/score/index.d.ts +15 -56
  29. package/dist/score/index.js +731 -603
  30. package/dist/score/index.mjs +722 -605
  31. package/dist/{tempo-D-JF-8b_.d.ts → tempo-pCAa6qgo.d.ts} +1 -1
  32. package/dist/theory/index.d.ts +5 -5
  33. package/dist/theory/index.js +12 -2
  34. package/dist/theory/index.mjs +4 -4
  35. package/package.json +5 -4
@@ -1,21 +1,15 @@
1
- /* WebMusicScore v6.0.0-pre.3 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
1
+ /* WebMusicScore v6.0.0-pre.5 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
2
2
  import {
3
3
  MusicError,
4
4
  MusicErrorType
5
- } from "../chunk-SCF6ZZFQ.mjs";
6
- import "../chunk-QJ3X3GQ6.mjs";
5
+ } from "../chunk-U2D4H5TI.mjs";
6
+ import {
7
+ utils_exports
8
+ } from "../chunk-JP3PJICN.mjs";
9
+ import "../chunk-G3HIPFVF.mjs";
7
10
 
8
11
  // src/core/custom-css.ts
9
- function injectCss(styleId, styleCss) {
10
- if (styleId === "" || styleCss === "") return;
11
- if (typeof document === "undefined") return;
12
- if (document.getElementById(styleId)) return;
13
- const style = document.createElement("style");
14
- style.id = styleId;
15
- style.textContent = styleCss;
16
- document.head.appendChild(style);
17
- }
18
- injectCss("wms-custom-css", `
12
+ utils_exports.Dom.injectCss("wms-custom-css", `
19
13
  /* Add custom wms-button and wms-button-group styles */
20
14
 
21
15
  .wms-button {
@@ -104,7 +98,7 @@ function init() {
104
98
  return;
105
99
  }
106
100
  initialized = true;
107
- console.log("%cWebMusicScore v6.0.0-pre.3 (esm) initialized.", "background: black; color: white; padding: 2px;");
101
+ console.log("%cWebMusicScore v6.0.0-pre.5 (esm) initialized.", "background: black; color: white; padding: 2px;");
108
102
  }
109
103
  export {
110
104
  MusicError,