@marimo-team/islands 0.21.2-dev77 → 0.21.2-dev78
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.
package/dist/main.js
CHANGED
|
@@ -64766,7 +64766,7 @@ ${c}
|
|
|
64766
64766
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
64767
64767
|
}
|
|
64768
64768
|
}
|
|
64769
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-
|
|
64769
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-dev78"), showCodeInRunModeAtom = atom(true);
|
|
64770
64770
|
atom(null);
|
|
64771
64771
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
64772
64772
|
constructor() {
|
|
@@ -66026,7 +66026,6 @@ ${r}
|
|
|
66026
66026
|
case "installing-package-alert":
|
|
66027
66027
|
case "completion-result":
|
|
66028
66028
|
case "reload":
|
|
66029
|
-
case "update-cell-codes":
|
|
66030
66029
|
case "update-cell-ids":
|
|
66031
66030
|
case "focus-cell":
|
|
66032
66031
|
case "variables":
|
package/package.json
CHANGED
package/src/core/islands/main.ts
CHANGED
|
@@ -97,7 +97,7 @@ export function useMarimoKernelConnection(opts: {
|
|
|
97
97
|
const { autoInstantiate, sessionId, setCells } = opts;
|
|
98
98
|
const { showBoundary } = useErrorBoundary();
|
|
99
99
|
|
|
100
|
-
const { handleCellMessage,
|
|
100
|
+
const { handleCellMessage, setCellIds } = useCellActions();
|
|
101
101
|
const actionsWithoutMiddleware = useCellActions({ skipMiddleware: true });
|
|
102
102
|
|
|
103
103
|
const handleDocumentTransaction = (
|
|
@@ -328,15 +328,6 @@ export function useMarimoKernelConnection(opts: {
|
|
|
328
328
|
case "focus-cell":
|
|
329
329
|
focusAndScrollCellOutputIntoView(msg.data.cell_id);
|
|
330
330
|
return;
|
|
331
|
-
case "update-cell-codes":
|
|
332
|
-
setCellCodes({
|
|
333
|
-
codes: msg.data.codes,
|
|
334
|
-
ids: msg.data.cell_ids,
|
|
335
|
-
codeIsStale: msg.data.code_is_stale,
|
|
336
|
-
names: msg.data.names,
|
|
337
|
-
configs: msg.data.configs,
|
|
338
|
-
});
|
|
339
|
-
return;
|
|
340
331
|
case "update-cell-ids":
|
|
341
332
|
setCellIds({ cellIds: msg.data.cell_ids });
|
|
342
333
|
return;
|