fika-editor 3.6.12 → 3.6.14

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,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "fika-editor",
4
- "packageVersion": "3.6.12",
5
- "generatedAt": "2026-11-24T04:32:16.244Z",
4
+ "packageVersion": "3.6.14",
5
+ "generatedAt": "2026-11-24T05:58:21.563Z",
6
6
  "summary": "Authoring guidance for the Fika agentic bridge. SLIDE NUMBERS START AT 1 everywhere: payload.index, result.data.slideIndex, screenshot.slideIndex, getState().slideIndex, selectedSlideIndexes, plan.slides[].index, and plan.loudIndex are the SAME 1-based number — never subtract or add 1. First slide = 1; last existing = slideCount; omit index to append; index === slideCount+1 also appends; 1 ≤ index ≤ slideCount on createFromLayout REPLACES that slide. The recommended way to build a deck from scratch: (1) ONE bootstrap call deck.setup({ styleId, slideCount, title? }) — applies the visual identity, returns the composition plan (anchors + loud slide), and optionally builds the title slide together; prefer this over separate styles.catalog / deck.applyStyle / deck.planComposition, then (2) for each slide pick a recipe + visual variant from layouts.catalog and add it with slides.createFromLayout({ layoutId, variantId, slots }), preferring a variant whose anchor matches the plan (when variantId is omitted the engine picks a filled/full-width match; an explicit variantId is kept). The engine themes, positions, sanitizes slot markers the layout already draws, AND auto-fits every text box (via responsive measurement) so content does not overflow, and it runs a deterministic QA pass on each slide (overlap / contrast / density / monotony) so you can fix issues in the same turn. Author slot content as Markdown/plain text or structured values (arrays for bullets, { labels, series } for charts) — never hand-written HTML. Host-registered templates (deck.applyTemplate + slides.insertFromTemplate) are optional when the embed host supplies them. Avoid blank slides.create / hand-placed elements unless no layout fits. Pair this with the machine schema (command payload/return types) in the same manifest.",
7
7
  "commandCount": 201,
8
8
  "designSystem": {
@@ -2673,7 +2673,7 @@
2673
2673
  "PPTElementLink": "export interface PPTElementLink { type: ElementLinkType; target: string }",
2674
2674
  "PPTElementOutline": "export interface PPTElementOutline { style?: LineStyleType; width?: number; color?: string; radius?: number }",
2675
2675
  "PPTElementShadow": "export interface PPTElementShadow { h: number; v: number; blur: number; color: string }",
2676
- "PPTImageElement": "export interface PPTImageElement extends PPTBaseElement { type: 'image'; fixedRatio: boolean; src: string; outline?: PPTElementOutline; filters?: ImageElementFilters; clip?: ImageElementClip; flipH?: boolean; flipV?: boolean; shadow?: PPTElementShadow; radius?: number; colorMask?: string; imageType?: ImageType; qrCode?: { text: string; errorCorrection: 'L' | 'M' | 'Q' | 'H'; foreground: string; background: string }; photoFrame?: { layout: string; cell: number; gutter: number; empty: boolean; sourceWidth?: number; sourceHeight?: number } }",
2676
+ "PPTImageElement": "export interface PPTImageElement extends PPTBaseElement { type: 'image'; altText?: string; fixedRatio: boolean; src: string; outline?: PPTElementOutline; filters?: ImageElementFilters; clip?: ImageElementClip; flipH?: boolean; flipV?: boolean; shadow?: PPTElementShadow; radius?: number; colorMask?: string; imageType?: ImageType; qrCode?: { text: string; errorCorrection: 'L' | 'M' | 'Q' | 'H'; foreground: string; background: string }; photoFrame?: { layout: string; cell: number; gutter: number; empty: boolean; sourceWidth?: number; sourceHeight?: number } }",
2677
2677
  "PPTLatexElement": "export interface PPTLatexElement extends PPTBaseElement { type: 'latex'; latex: string; path: string; color: string; strokeWidth: number; viewBox: [number, number]; fixedRatio: boolean }",
2678
2678
  "PPTLineElement": "export interface PPTLineElement extends Omit<PPTBaseElement, 'height' | 'rotate'> { type: 'line'; start: [number, number]; end: [number, number]; style: LineStyleType; color: string; points: [LinePoint, LinePoint]; shadow?: PPTElementShadow; broken?: [number, number]; broken2?: [number, number]; broken2Direction?: Broken2LineDirection; curve?: [number, number]; cubic?: [[number, number], [number, number]] }",
2679
2679
  "PPTMermaidElement": "export interface PPTMermaidElement extends PPTBaseElement { type: 'mermaid'; code: string }",
@@ -2691,7 +2691,7 @@
2691
2691
  "SlideBackgroundType": "export type SlideBackgroundType = 'solid' | 'image' | 'gradient'",
2692
2692
  "SlideGuide": "export interface SlideGuide { id: string; axis: 'x' | 'y'; position: number }",
2693
2693
  "SlideTemplate": "export interface SlideTemplate { name: string; id: string; cover: string; origin?: string; description?: string; categories?: string[]; tags?: string[]; useWhen?: string; avoidWhen?: string }",
2694
- "SlideTheme": "export interface SlideTheme { headingFontColor?: string; backgroundColor: string; themeColors: string[]; fontColor: string; fontName: string; outline: PPTElementOutline; shadow: PPTElementShadow; styleId?: string }",
2694
+ "SlideTheme": "export interface SlideTheme { headingFontName?: string; headingFontColor?: string; backgroundColor: string; themeColors: string[]; fontColor: string; fontName: string; outline: PPTElementOutline; shadow: PPTElementShadow; styleId?: string }",
2695
2695
  "SlideType": "export type SlideType = 'cover' | 'contents' | 'transition' | 'content' | 'end'",
2696
2696
  "StructuredTextBody": "export interface StructuredTextBody { schemaVersion: 1; paragraphs: StructuredTextParagraph[] }",
2697
2697
  "StructuredTextParagraph": "export interface StructuredTextParagraph { align?: TextAlign; runs: StructuredTextRun[] }",