@columenlabs/lumen-ui 0.1.253 → 0.1.255
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.
|
@@ -74,7 +74,14 @@ export function applyEvent(prev, e) {
|
|
|
74
74
|
if (last?.kind === 'text')
|
|
75
75
|
sink[sink.length - 1] = { kind: 'text', text: last.text };
|
|
76
76
|
break;
|
|
77
|
-
case 'step_start':
|
|
77
|
+
case 'step_start': {
|
|
78
|
+
// A second start for the same call words it again, now that its arguments are in.
|
|
79
|
+
const at = sink.findIndex((i) => i.kind === 'step' && i.id === e.data.id);
|
|
80
|
+
const running = at >= 0 ? sink[at] : undefined;
|
|
81
|
+
if (running?.kind === 'step' && 'live' in running && running.live) {
|
|
82
|
+
sink[at] = { ...running, title: e.data.title };
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
78
85
|
sink.push({
|
|
79
86
|
kind: 'step',
|
|
80
87
|
id: e.data.id,
|
|
@@ -86,6 +93,7 @@ export function applyEvent(prev, e) {
|
|
|
86
93
|
...(e.data.write ? { writing: true } : {}),
|
|
87
94
|
});
|
|
88
95
|
break;
|
|
96
|
+
}
|
|
89
97
|
case 'step': {
|
|
90
98
|
const { handoff: _h, ...step } = e.data;
|
|
91
99
|
const at = sink.findIndex((i) => i.kind === 'step' && i.id === step.id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@columenlabs/lumen-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.255",
|
|
4
4
|
"description": "Lumen: shared React components (frame, views, widgets, charts, drawers).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@codemirror/lang-javascript": "6.2.5",
|
|
50
50
|
"@codemirror/lang-json": "6.0.2",
|
|
51
51
|
"@codemirror/lang-sql": "6.10.0",
|
|
52
|
-
"@columenlabs/lumen-ui-types": "0.1.
|
|
52
|
+
"@columenlabs/lumen-ui-types": "0.1.255",
|
|
53
53
|
"@dnd-kit/core": "6.3.1",
|
|
54
54
|
"@dnd-kit/sortable": "10.0.0",
|
|
55
55
|
"@dnd-kit/utilities": "3.2.2",
|