fika-editor 3.6.1 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Slide } from '../types/slides';
|
|
2
2
|
import type { FikaDeckViewport } from './agentic/types';
|
|
3
3
|
/**
|
|
4
|
-
* Recover
|
|
4
|
+
* Recover a missing coordinate space from element bounds.
|
|
5
5
|
*
|
|
6
6
|
* Agent/import pipelines often author at 1280×720. Remounting those slides on
|
|
7
|
-
* the 1000×16:9 default
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* the 1000×16:9 default overflows the canvas. An explicit viewport owns the
|
|
8
|
+
* coordinate space: off-canvas elements and decorative bleed must not resize
|
|
9
|
+
* every page. Only infer dimensions when the document does not supply them.
|
|
10
10
|
*/
|
|
11
11
|
export declare function inferViewportFromSlides(slides: Slide[], existing?: Partial<FikaDeckViewport>): FikaDeckViewport | undefined;
|