Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
CLAUDE.md: diagram philosophy — elements over opaque svg
nyblnet09228df18e25
diff --git a/CLAUDE.md b/CLAUDE.mdindex 6be23beb..eb7fee44 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -13,9 +13,15 @@ One HTML file = the document + viewer + editor. See `README.md` for the vision.Reveal sections. Elements carry `data-el-id` (editing) and `data-flip-id` (morph).- `src/present.ts` — Reveal.js overlay; slides with `transition:'morph'` use GSAP Flip:matched `data-flip-id` elements animate geometry via Flip, style props (fill/color)- tween straight from the model values. Elements can carry `fx` (enter stagger,- countUp, ken-burns ambient) and `link` (click → jump to slide id) — both run only- in present mode; the editor ignores them (no UI yet).+ tween straight from the model values. Elements carry `fx` (enter stagger — equal+ `order` = simultaneous, countUp, ken-burns, `loop` dash-march/motion-path), `link`+ (click → slide id) and `group`; slides can set `hover:'focus-group'` (dim other+ groups). Present arrows are handled capture-phase (focus-proof). Editing UI for+ fx/link lives in the panel's "Presenting" section.+- **Diagram philosophy**: complex diagrams are ordinary Bento elements (rects, texts,+ `path` shapes) with groups — interactivity = linked state slides + morph (filters,+ era sequences), hover = focus-group, motion = fx.loop. Opaque `svg` elements are+ the fallback for geography/static artwork only.- `src/editor/` — vanilla-TS editor. Moveable + Selecto handle manipulation.## Hard-won details — do not regress