@dsebastien/music-notation 0.11.0 → 0.12.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 +2 -2
- package/dist/chords/chart.d.ts +51 -1
- package/dist/cli.js +1 -1
- package/dist/fretboard/exercise.d.ts +6 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +495 -76
- package/dist/index.js.map +16 -15
- package/dist/music-notation.css +17 -0
- package/dist/music-notation.publish.min.js +44 -27
- package/dist/music-notation.tab.min.js +18 -1
- package/dist/playback/app-bar.d.ts +8 -0
- package/dist/playback/controls.d.ts +27 -0
- package/dist/playback/progression.d.ts +18 -5
- package/dist/playback/strum-bar.d.ts +2 -0
- package/dist/publish/index.js +470 -74
- package/dist/publish/index.js.map +16 -15
- package/dist/render/layout.d.ts +35 -0
- package/dist/voicings/index.js +107 -12
- package/dist/voicings/index.js.map +4 -4
- package/package.json +1 -1
package/dist/music-notation.css
CHANGED
|
@@ -37,6 +37,16 @@
|
|
|
37
37
|
height: auto;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/* Touch screens (#73): chord diagrams and fretboards a third larger, so each string's lane (the
|
|
41
|
+
hit area of its marks across, 18 and 20 units) is at least 24 px, the minimum target size of
|
|
42
|
+
WCAG 2.5.8. max-width still keeps them inside the page. */
|
|
43
|
+
@media (pointer: coarse) {
|
|
44
|
+
.mn-svg.mn-guitar-chord,
|
|
45
|
+
.mn-svg.mn-fretboard {
|
|
46
|
+
zoom: 1.34;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
40
50
|
.mn-svg text {
|
|
41
51
|
fill: var(--mn-fg);
|
|
42
52
|
font-size: 11px;
|
|
@@ -1043,3 +1053,10 @@
|
|
|
1043
1053
|
.mn-playable .mn-svg .mn-picking-slot.mn-playing .mn-picking-fret {
|
|
1044
1054
|
fill: var(--mn-on-playing);
|
|
1045
1055
|
}
|
|
1056
|
+
|
|
1057
|
+
/* App controls in a timed play bar (#77): after the bar's own, styled like them. */
|
|
1058
|
+
.mn-play .mn-play-app {
|
|
1059
|
+
display: inline-flex;
|
|
1060
|
+
align-items: center;
|
|
1061
|
+
gap: 2px 6px;
|
|
1062
|
+
}
|