1
0
Fork 0
forked from jan/psslides
Commit graph

6 commits

Author SHA1 Message Date
navi
799921e213 feat: presentation runtime with lifecycle states and :thisSlide
- src/slides/compile.ts compiles a project into runtime-ready slides.
  :thisSlide is resolved to each slide's own selector before Less runs,
  so output is deterministic and never depends on which slide is visible.
- src/slides/runtime.ts mounts every slide once and moves them through
  idle -> entering -> current -> leaving via a data-ps-state attribute;
  CSS owns the animation, JS only owns the lifecycle. Rapid input
  coalesces into a single settle instead of a queue of stale operations.
  Arrow/space/Home/End keys, plus history integration: back/forward step
  through slides and a reload restores the slide you were on.
- The editor gained two buffers: HTML slides and the project Less. The
  preview and the presentation are the same runtime (present = fullscreen
  of the same stage), and broken Less keeps the last good preview while
  reporting the error.

Adds `less` (the authoring language) and `@types/less`.
2026-09-27 21:22:04 +02:00
jan
bbfb1fce04 asdasdasdass 2026-09-27 20:18:32 +02:00
jan
9278fe9314 i dont even know what 2026-09-27 20:18:26 +02:00
jan
e309455edc refactor css + add dark mode + maybe some other stuff idk dont remember what else i did 2026-09-24 20:18:18 +02:00
jan
22e17a92d4 idk basically did parts of slides 2026-09-24 18:52:25 +02:00
jan
4d42fb6340 init 2026-09-23 21:28:03 +02:00