Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
CLAUDE.md: hover-reveal vs states rule, animation robustness notes
nyblnet6e8b26d7c1c8
diff --git a/CLAUDE.md b/CLAUDE.mdindex 09fbc231..0e626b68 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -25,7 +25,14 @@ One HTML file = the document + viewer + editor. See `README.md` for the vision.- **Interactive states**: `Slide.stateOf` marks a slide as a hidden variant of anotherslide — skipped by linear navigation (← returns to parent, → continues past it),reached by element `link`s, morphing when ids are shared. Authoring: select an- element → "+ New state linked from this element" in the Presenting panel.+ element → "+ New state linked from this element" in the Presenting panel. States+ live adjacent to their parent and render nested in the sidebar.+- **Hover content is in-slide, not states**: `showOnHover` sets + slide+ `hover:'reveal'` (with a default set) swap content on pointer-over. Editor previews+ one set at a time. Rule of thumb: click → state slide; hover → reveal set.+- **Animation robustness**: slide exit kills tweens AND restores model frames; a+ 2.8s wall-clock settle guarantee lands entrances on starved render loops; never+ put entrance tweens on motion-path elements (transform conflict).- `src/editor/` — vanilla-TS editor. Moveable + Selecto handle manipulation.## Hard-won details — do not regress