@barmark/render 0.23.1 → 0.23.2
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/CHANGELOG.md +12 -1
- package/README.md +7 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ package uses [semantic versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.23.2] - 2026-12-02
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- The package's npm homepage is its page on barmark.dev,
|
|
14
|
+
<https://www.barmark.dev/packages/render>, which shows this README at the
|
|
15
|
+
version the site installs.
|
|
16
|
+
- README: says Barmark for the project and links it to
|
|
17
|
+
<https://www.barmark.dev>; opens with Install and a first example.
|
|
18
|
+
|
|
9
19
|
## [0.23.1] - 2026-12-01
|
|
10
20
|
|
|
11
21
|
### Fixed
|
|
@@ -722,7 +732,8 @@ that needs no script or as the `<barmark-chart>` web component. Requires
|
|
|
722
732
|
zoom without sideways scrolling, the element renders and re-renders, and
|
|
723
733
|
a screen reader hears "bar 9: D". Run them with `bun run test:browser`.
|
|
724
734
|
|
|
725
|
-
[Unreleased]: https://github.com/kevinpeckham/barmark/compare/render-v0.23.
|
|
735
|
+
[Unreleased]: https://github.com/kevinpeckham/barmark/compare/render-v0.23.2...HEAD
|
|
736
|
+
[0.23.2]: https://github.com/kevinpeckham/barmark/compare/render-v0.23.1...render-v0.23.2
|
|
726
737
|
[0.23.1]: https://github.com/kevinpeckham/barmark/compare/render-v0.23.0...render-v0.23.1
|
|
727
738
|
[0.23.0]: https://github.com/kevinpeckham/barmark/compare/render-v0.22.3...render-v0.23.0
|
|
728
739
|
[0.22.3]: https://github.com/kevinpeckham/barmark/compare/render-v0.22.2...render-v0.22.3
|
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# @barmark/render
|
|
2
2
|
|
|
3
|
-
Renders [
|
|
3
|
+
Renders [Barmark](https://www.barmark.dev) chord charts as
|
|
4
4
|
a clean, evenly spaced bar grid that looks the same on any page, follows
|
|
5
5
|
light and dark mode, scales with the reader's text size, and reads to a
|
|
6
6
|
screen reader as music.
|
|
7
7
|
|
|
8
|
+
## Install
|
|
9
|
+
|
|
8
10
|
```
|
|
9
11
|
npm install @barmark/render
|
|
10
12
|
```
|
|
@@ -98,7 +100,7 @@ the element loads, with `<style data-barmark-font>` holding
|
|
|
98
100
|
|
|
99
101
|
`rehearsalLetters` letters each section occurrence A, B, C… in play order,
|
|
100
102
|
for a chart that marks no places itself. When any bar in the chart carries
|
|
101
|
-
its own rehearsal mark (`@A`,
|
|
103
|
+
its own rehearsal mark (`@A`, Barmark's grammar 2.5), it adds no letters at
|
|
102
104
|
all: the chart's marks stand alone, so no heading is marked twice, and a
|
|
103
105
|
section the chart leaves unmarked stays unmarked.
|
|
104
106
|
|
|
@@ -289,7 +291,7 @@ Bar numbers sit in a gutter at the left edge; section headings, lyrics,
|
|
|
289
291
|
note lines and mid-chart changes start at the first bar line. Chords start
|
|
290
292
|
at the left of their share of the bar. A change written mid-chart names
|
|
291
293
|
itself: `time: 3/4, tempo: 120` draws as "→ Time 3/4 · Tempo ♩ = 120".
|
|
292
|
-
A tempo shows the beat `tempo:` counts (
|
|
294
|
+
A tempo shows the beat `tempo:` counts (Barmark's grammar 2.1), from the
|
|
293
295
|
`time:` in force at the bar it applies to (a `time:` on the next line
|
|
294
296
|
counts): the bottom number in a simple meter
|
|
295
297
|
(♩ in 4/4, 𝅗𝅥 in 2/2, ♪ in 3/8) and the dotted quarter in 6/8, 9/8 and
|
|
@@ -320,7 +322,7 @@ PDF or canvas drawer matches it. A section block's `bars` counts its
|
|
|
320
322
|
widest row's bars (0 when it has none), where `columns` also counts its
|
|
321
323
|
fermata, direction and rehearsal cells.
|
|
322
324
|
|
|
323
|
-
A chart of several parts (
|
|
325
|
+
A chart of several parts (Barmark's grammar 7.4) draws each system as
|
|
324
326
|
stacked rows, one per part in score order, with the part's label in the
|
|
325
327
|
gutter and one bar number on the top row. A part tacet in a system gets
|
|
326
328
|
an empty row that says "tacet" in its first bar, so every system keeps its
|
|
@@ -337,7 +339,7 @@ does: each bar of its systems then takes a full-width line of its own,
|
|
|
337
339
|
under its part's label on a line of its own, so the parts no longer line
|
|
338
340
|
up. A printed chart is laid out as before.
|
|
339
341
|
|
|
340
|
-
A voice line (
|
|
342
|
+
A voice line (Barmark's grammar 4.3 and 7.7: the line a part sings on,
|
|
341
343
|
such as `Vox.Mel` under a lead sheet's bare `Vox` chord line) draws each
|
|
342
344
|
note as its pitch name (every note of a set, without octaves) and
|
|
343
345
|
under it, in italics, the syllable each verse sings there: verse 1 from
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@barmark/render",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.2",
|
|
4
4
|
"description": "Render barmark chord charts as a clean, accessible bar grid: HTML with Declarative Shadow DOM, or the <barmark-chart> web component.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"author": "Kevin Peckham",
|
|
39
39
|
"license": "MIT",
|
|
40
|
-
"homepage": "https://
|
|
40
|
+
"homepage": "https://www.barmark.dev/packages/render",
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|
|
43
43
|
"url": "git+https://github.com/kevinpeckham/barmark.git",
|