@joewinke/jatui 0.47.0 → 0.48.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/package.json +6 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Key contract points:
|
|
|
32
32
|
|
|
33
33
|
- **Gesture-gated** — `engine.play(id)` must run inside a click/keydown handler; it rejects otherwise. The AudioContext closes itself ~3 s after stop, and a play inside that window fades back in instead of restarting.
|
|
34
34
|
- **Scape contract** — `{ id, label, group, description?, build(ctx) }`; `build` connects into `ctx.input` (never straight to `destination`), gets the shared `ctx.breath` clock and a lookahead scheduler. Scapes are re-buildable and tear themselves down on `stop`.
|
|
35
|
-
- **Playlist scapes** — per-host, never in the default set. Build one with `createPlaylistScape({ id, label, manifestUrl })` and `engine.register()` it; the manifest is fetched lazily once on the first play, tracks stream through the master chain with gain-ramp crossfades, and the returned `PlaylistScape` adds `state()/subscribe()/skip()/setShuffle()` for the UI. Manifest shape (`title` optional; `
|
|
35
|
+
- **Playlist scapes** — per-host, never in the default set. Build one with `createPlaylistScape({ id, label, manifestUrl })` and `engine.register()` it; the manifest is fetched lazily once on the first play, tracks stream through the master chain with gain-ramp crossfades, and the returned `PlaylistScape` adds `state()/subscribe()/skip()/setShuffle()` for the UI. Manifest shape (`title` optional at the manifest level; every track requires `title`, `composer`, `url` and `license` — tracks missing any are dropped — with `performer` and `sourceUrl` optional):
|
|
36
36
|
|
|
37
37
|
```json
|
|
38
38
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joewinke/jatui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared Svelte 5 component library for JAT projects",
|
|
6
6
|
"type": "module",
|
|
@@ -87,6 +87,11 @@
|
|
|
87
87
|
"types": "./dist/artifact-blocks/index.d.ts",
|
|
88
88
|
"svelte": "./dist/artifact-blocks/index.js",
|
|
89
89
|
"default": "./dist/artifact-blocks/index.js"
|
|
90
|
+
},
|
|
91
|
+
"./ambience": {
|
|
92
|
+
"types": "./dist/ambience/index.d.ts",
|
|
93
|
+
"svelte": "./dist/ambience/index.js",
|
|
94
|
+
"default": "./dist/ambience/index.js"
|
|
90
95
|
}
|
|
91
96
|
},
|
|
92
97
|
"files": [
|