fika-editor 3.6.0 → 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 the authored coordinate space from element bounds.
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 (or a persisted default written before inference)
8
- * overflows the canvas. Prefer an explicit viewport when it actually contains
9
- * the content; otherwise upgrade to the smallest standard size that fits.
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;
@@ -0,0 +1,5 @@
1
+ /** PPTX's plain-text notes API still needs every block, list item and hard break.
2
+ * Walk once in document order: selecting only paragraphs loses bare list text;
3
+ * collecting both p/li descendants duplicates nested content.
4
+ */
5
+ export declare function speakerNotesToText(html: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fika-editor",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
4
4
  "description": "Fika presentation editor embed bundle with a typed agentic bridge.",
5
5
  "type": "module",
6
6
  "main": "dist/embed/fika-embed.js",
@@ -138,7 +138,7 @@
138
138
  "parse5": "^8.0.1",
139
139
  "pdf-lib": "^1.17.1",
140
140
  "perfect-freehand": "^1.2.3",
141
- "pptxgenjs-plus": "^4.3.6",
141
+ "pptxgenjs-plus": "^4.3.7",
142
142
  "pptxtojson": "npm:@lofcz/pptxtojson@^2.2.9",
143
143
  "prosemirror-commands": "^1.7.2",
144
144
  "prosemirror-dropcursor": "^1.8.3",