@msb235/blits-panel 0.4.0 → 0.5.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/CHANGELOG.md +22 -0
- package/README.md +4 -1
- package/dist/agent.d.ts +0 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +485 -333
- package/dist/index.js.map +1 -1
- package/dist/pose.d.ts +14 -0
- package/dist/protocol.d.ts +4 -1
- package/dist/store.d.ts +5 -1
- package/dist/ui/ColorStrip.d.ts +15 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ This package follows [semver](https://semver.org). Below 1.0.0, a breaking chang
|
|
|
4
4
|
version and everything else the patch. The release workflow refuses a `panel-v*` tag with no
|
|
5
5
|
section here.
|
|
6
6
|
|
|
7
|
+
## 0.5.0
|
|
8
|
+
|
|
9
|
+
### Breaking
|
|
10
|
+
|
|
11
|
+
- `@msb235/blits` is a peer at `^0.17.0`, where it was `^0.16.0`. Built and tested against engine
|
|
12
|
+
0.17.0; the color and `affine` plots use its `Watched.kinds`, `layersOf`, and `partsOf`.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- A color channel, blend modes included, plots as a strip of the color it shows, over a
|
|
17
|
+
checkerboard so its opacity reads, with a strip per layer under an ordered mode. An `affine`
|
|
18
|
+
channel plots as its parts. Both used to plot one chart per stored number: 18 for an `overlay`
|
|
19
|
+
channel, none of them a color.
|
|
20
|
+
- `readPose`, which reads a pose the way the plots show it.
|
|
21
|
+
|
|
22
|
+
## 0.4.1
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- A panel that subscribes late, such as one reloaded, gets the picked mix's subject list and
|
|
27
|
+
voices at once. It used to wait for the list to change and for frames to run.
|
|
28
|
+
|
|
7
29
|
## 0.4.0
|
|
8
30
|
|
|
9
31
|
### Breaking
|
package/README.md
CHANGED
|
@@ -31,7 +31,10 @@ gives back any clock it holds.
|
|
|
31
31
|
- **Top bar:** a mix picker, the same clock controls, and a rate for a held mix.
|
|
32
32
|
- **Left side:** the mix's subjects, which you can filter, and its voices with their state and
|
|
33
33
|
their weight on the picked subject.
|
|
34
|
-
- **Right side:**
|
|
34
|
+
- **Right side:** the picked subject's channels, then each voice's weight. A color channel,
|
|
35
|
+
blend modes included, is a strip of the color it shows, with a thin strip per layer under an
|
|
36
|
+
ordered mode; an `affine` channel is its parts (`x`, `y`, `rotate`, `skew`, `scaleX`,
|
|
37
|
+
`scaleY`); any other channel is one plot per number.
|
|
35
38
|
A plot is marked "read, not shown" when the app did not read the subject that frame, so the
|
|
36
39
|
panel read it.
|
|
37
40
|
- **◯ circles**, beside the voices: draws each bounded voice's circle (its `within`, or its
|
package/dist/agent.d.ts
CHANGED
|
@@ -14,8 +14,6 @@ export interface AgentOptions {
|
|
|
14
14
|
/** The panel's own element: picking on the page passes over it. */
|
|
15
15
|
ignore?: Element;
|
|
16
16
|
}
|
|
17
|
-
/** Each numeric part of a pose under a flat key: `x`, `position[1]`, `color.l`. */
|
|
18
|
-
export declare function flatten(pose: unknown, out?: Record<string, number>, key?: string, depth?: number): Record<string, number>;
|
|
19
17
|
/**
|
|
20
18
|
* The page side of the panel: finds the mixes, watches the one picked, holds its clock, and picks
|
|
21
19
|
* and outlines subjects on the page. Speaks only in the protocol's plain data.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export { type AgentOptions, agent
|
|
1
|
+
export { type AgentOptions, agent } from './agent.js';
|
|
2
2
|
export { type MountOptions, mount } from './mount.js';
|
|
3
3
|
export { type Offer, offer } from './offer.js';
|
|
4
|
+
export { colorsOf, flatten, readPose } from './pose.js';
|
|
4
5
|
export type { Command, Event, HoldInfo, MarkInfo, MixInfo, Sample, Source, SubjectInfo, VoiceInfo, } from './protocol.js';
|
|
5
6
|
export { AHEAD_CAP_MS, AHEAD_MS, CAP, Samples, WINDOW_MS } from './store.js';
|
|
6
7
|
export { panelStyles } from './styles.js';
|
|
7
8
|
export { ChannelPlot, type ChannelPlotProps } from './ui/ChannelPlot.js';
|
|
9
|
+
export { ColorStrip, type ColorStripProps } from './ui/ColorStrip.js';
|
|
8
10
|
export { hueColor } from './ui/hue.js';
|
|
9
11
|
export { Panel, type PanelProps } from './ui/Panel.js';
|
|
10
12
|
export type { Series } from './ui/path.js';
|