@pagelines/sdk 1.0.656 → 1.0.658
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.
|
@@ -25,3 +25,16 @@ export declare function formatChatVisualTick(args: {
|
|
|
25
25
|
value: number;
|
|
26
26
|
shared: ChatVisualSeries | undefined;
|
|
27
27
|
}): string;
|
|
28
|
+
export declare const CHAT_VISUAL_X_LABEL_ANGLE = -40;
|
|
29
|
+
export declare const CHAT_VISUAL_ANGLED_BOTTOM_ALLOWANCE = 36;
|
|
30
|
+
export interface ChatVisualXLabelPlan {
|
|
31
|
+
mode: 'horizontal' | 'angled';
|
|
32
|
+
entries: Array<{
|
|
33
|
+
index: number;
|
|
34
|
+
text: string;
|
|
35
|
+
}>;
|
|
36
|
+
}
|
|
37
|
+
export declare function planChatVisualXLabels(args: {
|
|
38
|
+
labels: string[];
|
|
39
|
+
plotWidth: number;
|
|
40
|
+
}): ChatVisualXLabelPlan;
|
|
@@ -72,12 +72,19 @@ export type LiveTurnSegment = {
|
|
|
72
72
|
kind: 'work';
|
|
73
73
|
activityIds: string[];
|
|
74
74
|
};
|
|
75
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* One rendered block of the interleaved live progression (mockup 28c).
|
|
77
|
+
* `id` is content-stable (segment position / first activity id) so streaming
|
|
78
|
+
* updates never shift a block onto a different view identity — an identity
|
|
79
|
+
* shift remounts the subtree, and a remount mid-stream reads as flicker.
|
|
80
|
+
*/
|
|
76
81
|
export type LiveTurnBlock = {
|
|
77
82
|
kind: 'text';
|
|
83
|
+
id: string;
|
|
78
84
|
content: string;
|
|
79
85
|
} | {
|
|
80
86
|
kind: 'work';
|
|
87
|
+
id: string;
|
|
81
88
|
journal: WorkJournalModel;
|
|
82
89
|
};
|
|
83
90
|
/**
|