@arraypress/waveform-player-astro 0.2.0 → 0.3.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/package.json +2 -2
- package/src/WaveformPlayer.astro +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arraypress/waveform-player-astro",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Astro component wrapper for @arraypress/waveform-player — typed props for every option, lazy-mount support, framework-idiomatic ergonomics.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"typecheck": "tsc --noEmit"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@arraypress/waveform-player": "^1.
|
|
74
|
+
"@arraypress/waveform-player": "^1.13.1",
|
|
75
75
|
"astro": "^7.0.3",
|
|
76
76
|
"typescript": "^6.0.3",
|
|
77
77
|
"vitest": "^4.1.9"
|
package/src/WaveformPlayer.astro
CHANGED
|
@@ -145,6 +145,7 @@ const {
|
|
|
145
145
|
buttonAlign,
|
|
146
146
|
layout,
|
|
147
147
|
buttonStyle,
|
|
148
|
+
buttonSize,
|
|
148
149
|
// Accessibility + error UI
|
|
149
150
|
accessibleSeek,
|
|
150
151
|
seekLabel,
|
|
@@ -269,6 +270,7 @@ setNum('data-bpm', bpm);
|
|
|
269
270
|
setStr('data-button-align', buttonAlign ?? null);
|
|
270
271
|
setStr('data-layout', layout ?? null);
|
|
271
272
|
setStr('data-button-style', buttonStyle ?? null);
|
|
273
|
+
setStr('data-button-size', buttonSize != null ? String(buttonSize) : null);
|
|
272
274
|
|
|
273
275
|
// ─── Accessibility + error UI ────────────────────────────────────────────
|
|
274
276
|
setBool('data-accessible-seek', accessibleSeek);
|