@joewinke/jatui 0.45.0 → 0.46.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/dist/index.d.ts CHANGED
@@ -31,6 +31,8 @@ export { speakerPace, suggestRates, rateAt, describeRates, type SpeakerPace, typ
31
31
  export { snapResume, resumeLabel, type ResumePoint, type ResumeReason, type ResumeCtx, type ResumeOpts } from './video/advisors/resume-point';
32
32
  export { createQuietChain, amountFor, type QuietChain, type QuietAudioContext, type AmountOpts } from './video/advisors/quiet-listening';
33
33
  export { qrMatrix, qrCanvas, type QrMatrix, type QrCanvasOpts } from './video/advisors/qr';
34
+ export { NIGHT_MODES, NIGHT_WINDOW, NIGHT_WINDOW_DARK, coerceNightMode, nextNightMode, inNightWindow, nightArmed, nightModeLabel } from './video/night/clock';
35
+ export { NIGHT_FLOOR, NIGHT_DEPTH_MIN, NIGHT_DEPTH_MAX, NIGHT_DEPTH_DEFAULT, NIGHT_DEPTH_STEP, NIGHT_BLIND_LUMA, NIGHT_NEUTRAL_LEVELS, GUARD_DEPTH, SURROUND_FROM, SURROUND_MAX, clampDepth, nudgeDepth, nightExcess, nightLevels, guardLevels, deeperLevels, isNeutral, surroundLevel, relativeLuminance, type NightLevels } from './video/night/levels';
34
36
  export { default as Flythrough } from './components/Flythrough.svelte';
35
37
  export { default as LessonEmbed } from './components/LessonEmbed.svelte';
36
38
  export type { Collection, CollectionCut, CollectionBeat, } from './components/LessonEmbed.svelte';
package/dist/index.js CHANGED
@@ -63,6 +63,20 @@ export { speakerPace, suggestRates, rateAt, describeRates } from './video/adviso
63
63
  export { snapResume, resumeLabel } from './video/advisors/resume-point';
64
64
  export { createQuietChain, amountFor } from './video/advisors/quiet-listening';
65
65
  export { qrMatrix, qrCanvas } from './video/advisors/qr';
66
+ // Night helpers (mos-5lzns.33, exported by jatui-tuwrp): the pure clock +
67
+ // levels half of video/night. The clock is what ARMS night dimming (the local
68
+ // clock, prefers-dark only widening the window, plus the auto/on/off cycle);
69
+ // the levels are what it COMPUTES (luma → brightness/saturation/warmth/
70
+ // vignette off NIGHT_FLOOR, the depth dial, the light-theme surround, the
71
+ // relative-luminance helper the surround is fed from). A host dimming its own
72
+ // page (MOS nightPage) imports these instead of porting a copy. meter.ts and
73
+ // track.ts stay module-internal — frame sampling and prediction only make
74
+ // sense inside a player that owns a <video>. NightMode/NightWindow are NOT
75
+ // re-declared here: the VideoPlayer type re-export above already carries
76
+ // them, and a second export of the same name hard-fails consumer dist builds
77
+ // (0.27.0).
78
+ export { NIGHT_MODES, NIGHT_WINDOW, NIGHT_WINDOW_DARK, coerceNightMode, nextNightMode, inNightWindow, nightArmed, nightModeLabel } from './video/night/clock';
79
+ export { NIGHT_FLOOR, NIGHT_DEPTH_MIN, NIGHT_DEPTH_MAX, NIGHT_DEPTH_DEFAULT, NIGHT_DEPTH_STEP, NIGHT_BLIND_LUMA, NIGHT_NEUTRAL_LEVELS, GUARD_DEPTH, SURROUND_FROM, SURROUND_MAX, clampDepth, nudgeDepth, nightExcess, nightLevels, guardLevels, deeperLevels, isNeutral, surroundLevel, relativeLuminance } from './video/night/levels';
66
80
  // Presentation-primitive video trio (unified-video-pipeline PRD): the frozen
67
81
  // surface academy + mardukos consume. VideoPlayer (above) doubles as the full
68
82
  // player AND the presentation player — extended with aspect/autoplay/loop +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joewinke/jatui",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "private": false,
5
5
  "description": "Shared Svelte 5 component library for JAT projects",
6
6
  "type": "module",