edfcore 0.4.400 → 0.4.401

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.
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
109
109
  readonly reserved: 224;
110
110
  };
111
111
  /** Published package version. Kept in sync with package.json by a test. */
112
- export declare const VERSION = "0.4.400";
112
+ export declare const VERSION = "0.4.401";
113
113
  //# sourceMappingURL=constants.d.ts.map
package/dist/constants.js CHANGED
@@ -79,5 +79,5 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
79
79
  reserved: 224,
80
80
  };
81
81
  /** Published package version. Kept in sync with package.json by a test. */
82
- export const VERSION = '0.4.400';
82
+ export const VERSION = '0.4.401';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,25 @@ alone does not tell you whether you were affected.
6
6
  edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
7
7
  defect; those are called out below.
8
8
 
9
+ ## 0.4.401
10
+
11
+ - **Added** a check that the palette has one definition. `tokens.css` opens by explaining the
12
+ pairing — the signal green carries the trace, the rose is semantic and marks events, and rose
13
+ rather than red because red-on-green is the one pairing red-green colourblindness collapses, with
14
+ the measured separation written down. That reasoning is worth something only while the colours it
15
+ describes are the colours a visitor sees.
16
+ - Three places cannot say `var(--signal)` and so restate the value. `og.svg`, because an SVG
17
+ exported by `qlmanage` has no stylesheet: nine literal hexes. The two `theme-color` metas, because
18
+ the browser paints the chrome before any CSS arrives — wrong values put a stale band above and
19
+ below a scrolling page, on phones, where nobody developing the site is looking. And
20
+ `TraceStrip.astro`, which reads the tokens at runtime and is right to, but whose fallbacks are the
21
+ palette written a third way in decimal RGB — the copy least likely to be recognised as one.
22
+ - Each is now required to be the specific token that does its job, resolved through `var()` the way
23
+ the cascade does: `theme-color` is `--bg` in each layer, the card's rose is on the annotation, and
24
+ each canvas fallback is its own token's default-theme value.
25
+ - The beam head is deliberately exempt. Its core is a near-white green brighter than any token,
26
+ because a phosphor blowout is additive light and there is no palette entry for it.
27
+
9
28
  ## 0.4.400
10
29
 
11
30
  - **Added** a check that the two tsconfigs differ only where they are meant to. `npm run typecheck`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.400",
3
+ "version": "0.4.401",
4
4
  "description": "Modern, typed, zero-dependency reader for EDF, EDF+, BDF and BDF+ biosignal files. Works in browsers and Node with true random access.",
5
5
  "keywords": [
6
6
  "edf",
package/src/constants.ts CHANGED
@@ -93,4 +93,4 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
93
93
  } as const;
94
94
 
95
95
  /** Published package version. Kept in sync with package.json by a test. */
96
- export const VERSION = '0.4.400';
96
+ export const VERSION = '0.4.401';