@dsebastien/music-notation 0.22.0 → 0.23.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/blocks/renderers.d.ts +8 -1
- package/dist/chord/generate.d.ts +2 -0
- package/dist/chord/words.d.ts +4 -0
- package/dist/export/image.d.ts +2 -0
- package/dist/fretboard/exercise.d.ts +0 -16
- package/dist/fretboard/positions.d.ts +0 -17
- package/dist/i18n/en/diagrams.d.ts +139 -0
- package/dist/i18n/en/index.d.ts +532 -0
- package/dist/i18n/en/parse.d.ts +249 -0
- package/dist/i18n/en/play.d.ts +82 -0
- package/dist/i18n/en/timed.d.ts +75 -0
- package/dist/i18n/fr/diagrams.d.ts +139 -0
- package/dist/i18n/fr/index.d.ts +7 -0
- package/dist/i18n/fr/parse.d.ts +249 -0
- package/dist/i18n/fr/play.d.ts +82 -0
- package/dist/i18n/fr/timed.d.ts +72 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/language.d.ts +543 -0
- package/dist/i18n/messages.d.ts +11 -0
- package/dist/i18n/page.d.ts +7 -0
- package/dist/i18n/translate.d.ts +21 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2111 -525
- package/dist/index.js.map +66 -52
- package/dist/keyboard/scale-fingering.d.ts +1 -1
- package/dist/music-notation.css +25 -0
- package/dist/music-notation.publish.min.js +62 -37
- package/dist/music-notation.tab.min.js +32 -7
- package/dist/picking/pattern.d.ts +0 -7
- package/dist/playback/bar-parts.d.ts +4 -0
- package/dist/playback/controls.d.ts +23 -2
- package/dist/playback/copy-image.d.ts +6 -5
- package/dist/playback/engine.d.ts +34 -0
- package/dist/publish/auto.d.ts +2 -0
- package/dist/publish/index.js +2080 -527
- package/dist/publish/index.js.map +66 -52
- package/dist/tab/auto.d.ts +2 -0
- package/dist/tab/follow-scroll.d.ts +65 -0
- package/dist/tab/index.d.ts +54 -2
- package/dist/tab/index.js +1586 -76
- package/dist/tab/index.js.map +24 -9
- package/dist/tab/note-names.d.ts +50 -0
- package/dist/voicings/index.js +1323 -79
- package/dist/voicings/index.js.map +23 -10
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ export declare function parseFingerList(text: string): string[];
|
|
|
44
44
|
*/
|
|
45
45
|
export declare function isBothHandsFingering(text: string): boolean;
|
|
46
46
|
/** The message for `fingering: auto` on something other than a scale. */
|
|
47
|
-
export declare const
|
|
47
|
+
export declare const autoFingeringNeedsScale: () => string;
|
|
48
48
|
/** The message for `fingering: auto` on a scale without a standard fingering. */
|
|
49
49
|
export declare const autoFingeringUnknown: (scale: string) => string;
|
|
50
50
|
export declare function autoFingeringHand(text: string): ScaleHand | null;
|
package/dist/music-notation.css
CHANGED
|
@@ -313,7 +313,11 @@
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.mn-play .mn-tempo-value {
|
|
316
|
+
/* Obsidian gives every input border-box and a 30 px height: 3.5ch then held the
|
|
317
|
+
padding and border too, and "100" was cut. */
|
|
318
|
+
box-sizing: content-box;
|
|
316
319
|
width: 3.5ch;
|
|
320
|
+
height: auto;
|
|
317
321
|
padding: 0 2px;
|
|
318
322
|
border: 1px solid var(--mn-faint);
|
|
319
323
|
border-radius: 4px;
|
|
@@ -427,6 +431,14 @@
|
|
|
427
431
|
position: relative;
|
|
428
432
|
}
|
|
429
433
|
|
|
434
|
+
/* A block scrolls sideways when a row of diagrams is wider than it (`.mn-block`), which makes it
|
|
435
|
+
the scroll box of its bar: the bar then never stays at the bottom of the screen (#122). A tab
|
|
436
|
+
or a score is drawn at the block's width, so nothing of it scrolls there: the page, or the
|
|
437
|
+
app's pane, is the scroll box of its bar. */
|
|
438
|
+
.mn-block.mn-tab {
|
|
439
|
+
overflow: visible;
|
|
440
|
+
}
|
|
441
|
+
|
|
430
442
|
.mn-tab .mn-play.mn-play-static.mn-tab-bar {
|
|
431
443
|
bottom: 6px;
|
|
432
444
|
}
|
|
@@ -1366,3 +1378,16 @@
|
|
|
1366
1378
|
padding: 6px 0 8px;
|
|
1367
1379
|
background: inherit;
|
|
1368
1380
|
}
|
|
1381
|
+
|
|
1382
|
+
/* Follow the music (#97): paused while the reader scrolls by hand, the button stays on but dim. */
|
|
1383
|
+
.mn-play button.mn-tab-follow.mn-follow-paused {
|
|
1384
|
+
opacity: 0.55;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/* A tab or a score on one line (`layout: line`, #97): it scrolls sideways in its own area, by
|
|
1388
|
+
hand and with the music. The page never moves. */
|
|
1389
|
+
.mn-tab.mn-tab-line .mn-tab-surface {
|
|
1390
|
+
overflow-x: auto;
|
|
1391
|
+
overflow-y: hidden;
|
|
1392
|
+
overscroll-behavior-x: contain;
|
|
1393
|
+
}
|