fika-editor 3.0.22 → 3.0.24
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,4 +1,4 @@
|
|
|
1
|
-
import type { PPTChartElement, PPTImageElement, PPTShapeElement, PPTTableElement, PPTTextElement, Slide } from '../../types/slides';
|
|
1
|
+
import type { PPTChartElement, PPTImageElement, PPTMermaidElement, PPTShapeElement, PPTTableElement, PPTTextElement, Slide } from '../../types/slides';
|
|
2
2
|
import { type FikaStylePreset } from './styles';
|
|
3
3
|
import type { CompositionAnchor } from './composition';
|
|
4
4
|
/**
|
|
@@ -16,12 +16,14 @@ export type FikaLayoutElementInput = (Partial<PPTTextElement> & {
|
|
|
16
16
|
type: 'chart';
|
|
17
17
|
}) | (Partial<PPTTableElement> & {
|
|
18
18
|
type: 'table';
|
|
19
|
+
}) | (Partial<PPTMermaidElement> & {
|
|
20
|
+
type: 'mermaid';
|
|
19
21
|
});
|
|
20
22
|
export type FikaLayoutBackgroundMode = 'auto' | 'feature' | 'plain';
|
|
21
23
|
export interface FikaLayoutSlotDef {
|
|
22
24
|
name: string;
|
|
23
25
|
/** Coarse shape of the value the agent should pass for this slot. */
|
|
24
|
-
type: 'text' | 'bullets' | 'image' | 'chart' | 'stats' | 'rows' | 'cards' | 'steps';
|
|
26
|
+
type: 'text' | 'bullets' | 'image' | 'chart' | 'stats' | 'rows' | 'cards' | 'steps' | 'diagram';
|
|
25
27
|
required: boolean;
|
|
26
28
|
description: string;
|
|
27
29
|
}
|