refactor: @xenia/signage: the slides and the player's logic shared by the terminal and the manager (platform-v2 step 5.6a)

The signage slides (SlideView, TextSlide, MenuSlide, Widgets) and the pure
logic (schedule pick, slide windows, menu pages) move from the terminal into
packages/signage, so the manager's previews draw a slide exactly as the TV
does. Sizes are container units (cqmin) instead of viewport units: a slide
draws inside any box with container-type: size (frameStyle sets it on the
TV). Tests move with it (10). Dockerfiles copy its package.json; both apps'
Tailwind content include it; run-all runs its tests. Signage e2e and the
compose stack passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 20:59:33 +02:00
co-authored by Claude Opus 5.5
parent e90c2f4f8f
commit 314e9c2457
16 changed files with 146 additions and 76 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import xenia from '@xenia/ui/tailwind-preset'
export default {
// Shared design tokens only (bg-surface, text-ink-2, rounded-control…), CS-16
presets: [xenia],
content: ['./index.html', './src/**/*.{js,jsx}'],
content: ['./index.html', './src/**/*.{js,jsx}', '../packages/signage/src/**/*.{js,jsx}'], // signage slides use a few utilities (5.6a)
theme: { extend: {} },
plugins: [],
}