import { ProjectUIDL } from '@teleporthq/teleport-types'; /** * Turns the three motion elements into the markup a static page can run. * * The editor exports them the way the Next generator wants them: an element * type per widget (`scroll-scene-node`, `motion-node`, `scroll-video-node`) * with the widget's camelCase props as attributes. The HTML generator has no * widget to hand those to, so until now it printed them as unknown tags with * props an HTML parser lower-cases. Here each becomes a plain
that * carries its settings as `data-*` attributes, in the very structure the Next * widgets render: a scene is a track holding a sticky stage, a scroll video is * a host holding its