@dsebastien/music-notation 0.16.0 → 0.18.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.
- package/README.md +1 -1
- package/dist/chord/fingering-words.d.ts +7 -0
- package/dist/chord/transitions.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +113 -45
- package/dist/index.js.map +16 -15
- package/dist/music-notation.css +10 -15
- package/dist/music-notation.publish.min.js +39 -44
- package/dist/music-notation.tab.min.js +17 -22
- package/dist/playback/bar-parts.d.ts +1 -0
- package/dist/playback/live-volume.d.ts +14 -0
- package/dist/playback/player.d.ts +2 -0
- package/dist/publish/index.js +102 -30
- package/dist/publish/index.js.map +16 -15
- package/dist/tab/auto.d.ts +1 -0
- package/dist/tab/index.d.ts +5 -0
- package/dist/tab/index.js +186 -88
- package/dist/tab/index.js.map +7 -5
- package/dist/voicings/index.js +5 -3
- package/dist/voicings/index.js.map +3 -3
- package/package.json +1 -1
package/dist/music-notation.css
CHANGED
|
@@ -49,6 +49,13 @@
|
|
|
49
49
|
.mn-svg.mn-fretboard {
|
|
50
50
|
zoom: 1.34;
|
|
51
51
|
}
|
|
52
|
+
|
|
53
|
+
/* A keyboard with a pick layer (Music Practice drills, click input): a black key (14 units)
|
|
54
|
+
becomes 24 px wide. Keyboards that only play keep their size. On a narrow screen max-width
|
|
55
|
+
still fits a wide range to the page: fewer keys, larger targets. */
|
|
56
|
+
.mn-svg.mn-keyboard[data-mn-pick] {
|
|
57
|
+
zoom: 1.72;
|
|
58
|
+
}
|
|
52
59
|
}
|
|
53
60
|
|
|
54
61
|
.mn-svg text {
|
|
@@ -360,26 +367,14 @@
|
|
|
360
367
|
pointer-events: none;
|
|
361
368
|
}
|
|
362
369
|
|
|
363
|
-
/* Tabs and scores: the player bar
|
|
370
|
+
/* Tabs and scores: the player bar is a bar like the others (#82), below the score and always
|
|
371
|
+
shown; it also stays at the bottom of the screen while a long score scrolls. */
|
|
364
372
|
.mn-tab {
|
|
365
373
|
position: relative;
|
|
366
374
|
}
|
|
367
375
|
|
|
368
|
-
.mn-tab .mn-tab-bar {
|
|
369
|
-
position: sticky;
|
|
370
|
-
left: auto;
|
|
371
|
-
right: auto;
|
|
376
|
+
.mn-tab .mn-play.mn-play-static.mn-tab-bar {
|
|
372
377
|
bottom: 6px;
|
|
373
|
-
width: fit-content;
|
|
374
|
-
max-width: 100%;
|
|
375
|
-
margin: 4px auto 0;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.mn-tab:hover .mn-tab-bar,
|
|
379
|
-
.mn-tab:focus-within .mn-tab-bar,
|
|
380
|
-
.mn-tab.mn-play-open .mn-tab-bar {
|
|
381
|
-
opacity: 1;
|
|
382
|
-
pointer-events: auto;
|
|
383
378
|
}
|
|
384
379
|
|
|
385
380
|
/* alphaTab's cursor (the bar that plays, the beat line) and the notes of the beat that sounds, in
|