React wrapper for @arraypress/waveform-bar. Mounts the bar and calls
window.WaveformBar.init(config).
npm test— vitest + jsdom (run before committing).npm run build— bundles todist/.prepublishOnlyruns it.dist/is gitignored.
Config passes verbatim to init() — no per-key runtime allowlist here, so a new
bar option only needs the key added to WaveformBarConfig in src/types.ts.
The catch: waveform-bar ships no index.d.ts. This type is hand-written and
nothing links it to that package's DEFAULTS. It drifts silently — a key can be
missing here (invisible to users) or present here but unsupported by the bar
(typechecks, does nothing). When editing, check it against
waveform-bar/src/js/core.js → DEFAULTS. All four bar wrappers carry their own
copy of this type; they must be edited together.
- Add a forwarding test under
test/+ aCHANGELOG.mdentry.
One of 15 packages that must change together — load the waveform-release skill.