eidotter 0.45.1 → 0.46.1

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.
Files changed (59) hide show
  1. package/README.md +4 -4
  2. package/dist/components/Alert/components/Alert.js +1 -1
  3. package/dist/components/Badge/components/Badge.js +5 -5
  4. package/dist/components/Button/components/Button.js +8 -8
  5. package/dist/components/Chat/components/ChatHistory.js +1 -1
  6. package/dist/components/Chat/components/ChatInput.js +1 -1
  7. package/dist/components/Chat/components/ChatMessage.js +1 -1
  8. package/dist/components/Checkbox/components/Checkbox.js +1 -1
  9. package/dist/components/ChecklistRow/components/ChecklistRow.js +1 -1
  10. package/dist/components/CopyButton/components/CopyButton.js +1 -1
  11. package/dist/components/DecayStrip/components/DecayStrip.js +3 -3
  12. package/dist/components/DisplayMenu/components/DisplayMenu.d.ts +9 -6
  13. package/dist/components/DisplayMenu/components/DisplayMenu.js +71 -12
  14. package/dist/components/EmptyState/components/EmptyState.js +1 -1
  15. package/dist/components/Gauge/components/Gauge.js +4 -4
  16. package/dist/components/Header/components/Header.d.ts +8 -4
  17. package/dist/components/Header/components/Header.js +1 -1
  18. package/dist/components/Header/components/HeaderContextRow.js +1 -1
  19. package/dist/components/HeaderButton/components/HeaderButton.d.ts +38 -0
  20. package/dist/components/HeaderButton/components/HeaderButton.js +25 -0
  21. package/dist/components/HeaderButton/components/index.d.ts +2 -0
  22. package/dist/components/HeaderButton/components/index.js +1 -0
  23. package/dist/components/HeaderButton/index.d.ts +2 -0
  24. package/dist/components/HeaderButton/index.js +1 -0
  25. package/dist/components/LabeledProgress/components/LabeledProgress.js +1 -1
  26. package/dist/components/LedgerRow/components/LedgerRow.js +1 -1
  27. package/dist/components/Meter/components/Meter.js +3 -3
  28. package/dist/components/Notification/components/Notification.js +1 -1
  29. package/dist/components/PageShell/components/PageShell.d.ts +12 -6
  30. package/dist/components/PageShell/components/PageShell.js +7 -4
  31. package/dist/components/Progress/components/Progress.js +6 -5
  32. package/dist/components/RangeBar/components/RangeBar.js +3 -3
  33. package/dist/components/Select/components/Select.js +6 -6
  34. package/dist/components/SeriesBars/components/SeriesBars.js +3 -3
  35. package/dist/components/Stat/components/Stat.js +6 -6
  36. package/dist/components/Tag/components/Tag.js +5 -5
  37. package/dist/components/VitalsStrip/components/VitalsStrip.js +4 -4
  38. package/dist/components/registry.js +19 -1
  39. package/dist/eidotter.css +2 -2
  40. package/dist/index.d.ts +5 -1
  41. package/dist/index.es.js +463 -308
  42. package/dist/index.umd.js +3 -3
  43. package/dist/utils/displayTheme.d.ts +53 -0
  44. package/dist/utils/displayTheme.js +76 -0
  45. package/guidelines/README.md +8 -0
  46. package/llms.txt +3 -3
  47. package/migrations/0.45.0.md +9 -5
  48. package/migrations/0.46.0.md +120 -0
  49. package/migrations/README.md +2 -0
  50. package/package.json +4 -4
  51. package/src/styles/shadcn.css +1 -1
  52. package/src/styles/theme.amber-mono.css +7 -7
  53. package/src/styles/theme.amber-paper.css +9 -9
  54. package/src/styles/theme.cga-amber.css +7 -7
  55. package/src/styles/theme.cga-mode4-p0.css +7 -7
  56. package/src/styles/theme.cga-mode4-p1.css +7 -7
  57. package/src/styles/theme.cga-mode5.css +7 -7
  58. package/src/styles/theme.light.css +7 -7
  59. package/src/styles/tokens.css +21 -21
@@ -22,13 +22,13 @@
22
22
  --color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
23
23
  --color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
24
24
  --color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
25
- --color-cga-amber-glow: rgba(255, 176, 0, 0.5); /** Amber glow at 50% opacity */
26
- --color-cga-red-glow: rgba(255, 85, 85, 0.5); /** Red glow at 50% opacity */
27
- --color-cga-green-glow: rgba(85, 255, 85, 0.5); /** Green glow at 50% opacity */
28
- --color-cga-cyan-glow: rgba(85, 255, 255, 0.5); /** Cyan glow at 50% opacity */
29
- --color-cga-magenta-glow: rgba(255, 85, 255, 0.5); /** Magenta glow at 50% opacity */
30
- --color-cga-blue-glow: rgba(85, 85, 255, 0.5); /** Blue glow at 50% opacity */
31
- --color-cga-white-glow: rgba(255, 245, 224, 0.5); /** Warm white glow at 50% opacity */
25
+ --color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
26
+ --color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
27
+ --color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
28
+ --color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
29
+ --color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
30
+ --color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
31
+ --color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
32
32
  --color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
33
33
  --color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
34
34
  --color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
@@ -125,12 +125,12 @@
125
125
  --shadow-glow-sm-white: 0px 0px 10px 0px #FFFFFF80; /** Small white phosphor glow */
126
126
  --shadow-glow-md-white: 0px 0px 20px 0px #FFFFFF80; /** Medium white phosphor glow */
127
127
  --shadow-glow-lg-white: 0px 0px 30px 0px #FFFFFF80; /** Large white phosphor glow */
128
- --duration-instant: 0ms;
129
- --duration-fast: 100ms;
130
- --duration-normal: 200ms;
131
- --duration-slow: 400ms;
132
- --duration-power-off: 400ms; /** CRT power-off animation */
133
- --duration-power-on: 600ms; /** CRT power-on animation (phosphor warm-up) */
128
+ --duration-instant: 0s;
129
+ --duration-fast: 0.1s;
130
+ --duration-normal: 0.2s;
131
+ --duration-slow: 0.4s;
132
+ --duration-power-off: 0.4s; /** CRT power-off animation */
133
+ --duration-power-on: 0.6s; /** CRT power-on animation (phosphor warm-up) */
134
134
  --opacity-0: 0; /** Fully transparent */
135
135
  --opacity-10: 0.1; /** Subtle hover overlays */
136
136
  --opacity-25: 0.25; /** Light overlays */
@@ -161,16 +161,16 @@
161
161
  --effects-crt-background: #060300; /** Dark warm-black for CRT screen (not pure black) */
162
162
  --dimension-placeholder: 0px; /** Placeholder so the file is non-empty and parses. Remove when actual T3 tokens land. */
163
163
  --effect-phosphor-intensity: 1; /** Overall phosphor brightness multiplier (0–1). Web: --retro-intensity CSS var; Apple: SwiftUI colorEffect shader uniform / Metal float. */
164
- --effect-phosphor-persistence: 200ms; /** How long a glow lingers after change (50–800ms). Web: animation duration on glow fade; Apple: SwiftUI .easeOut animation duration or SKShader trailing uniform. Phase 0i Niels-derived (time-based segmentation). */
164
+ --effect-phosphor-persistence: 0.2s; /** How long a glow lingers after change (50–800ms). Web: animation duration on glow fade; Apple: SwiftUI .easeOut animation duration or SKShader trailing uniform. Phase 0i Niels-derived (time-based segmentation). */
165
165
  --effect-phosphor-glow-radius: 40px; /** Tight phosphor glow around lit pixels (8–120px). Web: box-shadow inset blur; Apple: SwiftUI .shadow(radius:) or CIBloom input radius. Note: Apple/web don't use identical units — see Phase 0i unit-conversion note. */
166
166
  --effect-phosphor-bloom-radius: 80px; /** Soft phosphor halation extending outward (20–200px). Web: outer box-shadow inset blur; Apple: CIBloom larger pass. */
167
167
  --effect-phosphor-bloom-intensity: 0.5; /** Phosphor halation visibility (0–1). Web: bloom layer opacity; Apple: CIBloom input intensity. */
168
168
  --effect-phosphor-focus-blur: 0px; /** Slight defocus from imperfect electron beam convergence (0–4px). Default 0 = perfectly focused. Phase 0i Niels-derived (oscilloscope FOCUS knob). Web: backdrop filter blur; Apple: CIGaussianBlur input radius. */
169
169
  --effect-scanline-intensity: 0.6; /** Scanline visibility (0–1). Web: scanline overlay opacity; Apple: SwiftUI shader UV-based dark-stripe modulation. */
170
170
  --effect-scanline-line-pitch: 4px; /** Distance between scanlines (2–8px). Web: gradient repeat distance; Apple: shader UV period. */
171
- --effect-scanline-scroll-period: 9000ms; /** Scanline drift cycle (2000–30000ms; 0 to disable). Web: animation duration; Apple: shader time-uniform multiplier. */
171
+ --effect-scanline-scroll-period: 9s; /** Scanline drift cycle (2000–30000ms; 0 to disable). Web: animation duration; Apple: shader time-uniform multiplier. */
172
172
  --effect-flicker-intensity: 0.04; /** Flicker visibility (0–0.1). Web: flicker layer opacity; Apple: shader sine-wave modulation amplitude. */
173
- --effect-flicker-period: 500ms; /** Flicker cycle (333–1000ms; >=333ms = 3Hz max for WCAG 2.3.1). Hard floor at 333ms enforced by build-time transform. Web: animation duration; Apple: time-uniform period. */
173
+ --effect-flicker-period: 0.5s; /** Flicker cycle (333–1000ms; >=333ms = 3Hz max for WCAG 2.3.1). Hard floor at 333ms enforced by build-time transform. Web: animation duration; Apple: time-uniform period. */
174
174
  --effect-vignette-intensity: 1; /** Vignette visibility (0–1). Web: glow layer opacity; Apple: shader corner-darkening modulation. */
175
175
  --effect-vignette-spread: 0.2; /** Vignette spread as fraction of viewport (0–0.5). Web: gradient stop position (50% = ratio of inner safe area); Apple: shader UV-distance threshold. */
176
176
  --effect-web-scanline-line-width: 1px; /** Thin-line width in scanline gradient (web-only — Apple shader uses UV-fraction). */
@@ -188,11 +188,11 @@
188
188
  --effect-web-power-blur-warmup-mid: 2px; /** Warmup-mid blur (web-only). */
189
189
  --effect-web-power-brightness-warmup-start: 0.3; /** Warmup-start CSS filter: brightness() (web-only). */
190
190
  --effect-web-power-brightness-warmup-mid: 0.6; /** Warmup-mid brightness (web-only). */
191
- --effect-web-power-duration-off: 400ms; /** Web-only power-off animation duration. Apple platforms have own timing curves. */
192
- --effect-web-power-duration-on: 600ms; /** Web-only power-on animation duration. */
193
- --motion-duration-warmup: 400ms; /** phosphor-warmup — CRT ignition brightness flicker on hover entry. Matches var(--duration-slow) at the Button call site. */
194
- --motion-duration-energize: 150ms; /** phosphor-energize — brightness flash on press / check. */
195
- --motion-duration-blink: 1000ms; /** blink — cursor / indicator blink cycle (paired with the stepped easing). */
191
+ --effect-web-power-duration-off: 0.4s; /** Web-only power-off animation duration. Apple platforms have own timing curves. */
192
+ --effect-web-power-duration-on: 0.6s; /** Web-only power-on animation duration. */
193
+ --motion-duration-warmup: 0.4s; /** phosphor-warmup — CRT ignition brightness flicker on hover entry. Matches var(--duration-slow) at the Button call site. */
194
+ --motion-duration-energize: 0.15s; /** phosphor-energize — brightness flash on press / check. */
195
+ --motion-duration-blink: 1s; /** blink — cursor / indicator blink cycle (paired with the stepped easing). */
196
196
  --motion-easing-warmup: ease-out; /** phosphor-warmup easing. */
197
197
  --motion-easing-energize: ease-out; /** phosphor-energize easing (runs forwards). */
198
198
  --motion-easing-blink: step-end; /** blink easing — hard step, no interpolation (terminal cursor). */