@marimo-team/islands 0.25.3-dev221 → 0.25.3-dev222
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/{ErrorBoundary-B5GJid5Z.js → ErrorBoundary-Cg9q4kUW.js} +1 -1
- package/dist/{code-visibility-CYzEUXNB.js → code-visibility-Dp-DkL1e.js} +1 -1
- package/dist/{common-CbUT6FYs.js → common-DHr2MXY3.js} +1 -1
- package/dist/{data-grid-overlay-editor-30GRNiqG.js → data-grid-overlay-editor-B-OJHxuO.js} +1 -1
- package/dist/{feedback-button-r2frGdMW.js → feedback-button-DGAcA9xH.js} +2 -2
- package/dist/{glide-data-editor-Dnne6LfS.js → glide-data-editor-09FJOvJw.js} +3 -3
- package/dist/{globals-BnVQfyqL.js → globals-2eTRp9qC.js} +1 -1
- package/dist/main.js +4206 -4206
- package/dist/{number-overlay-editor-CpnDV4Mb.js → number-overlay-editor-XJ1jA8Jv.js} +1 -1
- package/dist/{reveal-component-Bu044POK.js → reveal-component-DxdLWQiq.js} +2 -2
- package/package.json +1 -1
- package/src/core/cells/__tests__/session.test.ts +4 -4
- package/src/core/cells/session.ts +1 -1
- package/src/core/meta/__tests__/code-visibility.test.tsx +1 -1
- package/src/core/notebook/document/__tests__/fixtures.ts +1 -1
- package/src/core/notebook/document/__tests__/test-host.ts +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { t } from "./react-sHtZdjeP.js";
|
|
3
|
-
import { a as n } from "./glide-data-editor-
|
|
3
|
+
import { a as n } from "./glide-data-editor-09FJOvJw.js";
|
|
4
4
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/internal/data-grid-overlay-editor/private/number-overlay-editor-style.js
|
|
5
5
|
var r = /* @__PURE__ */ e(t()), i = /*#__PURE__*/ n("div")({
|
|
6
6
|
name: "NumberOverlayEditorStyle",
|
|
@@ -3,7 +3,7 @@ import { c as t, g as n, h as r, m as i, t as a } from "./button-B6RjDKJx.js";
|
|
|
3
3
|
import { t as o } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { m as c, t as l } from "./tooltip-C3UnvsRe.js";
|
|
6
|
-
import { $ as u, Q as d, Z as f, an as p, i as m, l as h, ln as g, n as _, on as v, r as y, t as b, u as x } from "./common-
|
|
6
|
+
import { $ as u, Q as d, Z as f, an as p, i as m, l as h, ln as g, n as _, on as v, r as y, t as b, u as x } from "./common-DHr2MXY3.js";
|
|
7
7
|
import { M as S } from "./select-BSxlITBo.js";
|
|
8
8
|
import { Y as ee } from "./dropdown-menu-CSNdPSnS.js";
|
|
9
9
|
import { Pt as C } from "./error-entries-CRPfxMqm.js";
|
|
@@ -11,7 +11,7 @@ import { t as w } from "./jsx-runtime-3BD1kT0s.js";
|
|
|
11
11
|
import { r as T } from "./use-restore-focus-BWO0z1lo.js";
|
|
12
12
|
import { D as E, t as D, x as O } from "./utils-DXkj82sK.js";
|
|
13
13
|
import { o as k } from "./static-state-BldGd99T.js";
|
|
14
|
-
import { a as A, n as te, t as ne } from "./code-visibility-
|
|
14
|
+
import { a as A, n as te, t as ne } from "./code-visibility-Dp-DkL1e.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
var j = c("sticky-note", [["path", {
|
|
17
17
|
d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
|
package/package.json
CHANGED
|
@@ -434,7 +434,7 @@ describe("readExport", () => {
|
|
|
434
434
|
expand_output: false,
|
|
435
435
|
},
|
|
436
436
|
etag: `embedded:${CELL_1}`,
|
|
437
|
-
|
|
437
|
+
code_fingerprint: `embedded:${CELL_1}:code`,
|
|
438
438
|
version: 1,
|
|
439
439
|
});
|
|
440
440
|
});
|
|
@@ -501,7 +501,7 @@ describe("readExport", () => {
|
|
|
501
501
|
expand_output: false,
|
|
502
502
|
},
|
|
503
503
|
etag: `embedded:${CELL_1}`,
|
|
504
|
-
|
|
504
|
+
code_fingerprint: `embedded:${CELL_1}:code`,
|
|
505
505
|
version: 1,
|
|
506
506
|
});
|
|
507
507
|
});
|
|
@@ -540,7 +540,7 @@ describe("readExport", () => {
|
|
|
540
540
|
expand_output: false,
|
|
541
541
|
},
|
|
542
542
|
etag: `embedded:${SETUP_CELL_ID}`,
|
|
543
|
-
|
|
543
|
+
code_fingerprint: `embedded:${SETUP_CELL_ID}:code`,
|
|
544
544
|
version: 1,
|
|
545
545
|
});
|
|
546
546
|
});
|
|
@@ -588,7 +588,7 @@ describe("readExport", () => {
|
|
|
588
588
|
expand_output: false,
|
|
589
589
|
},
|
|
590
590
|
etag: `embedded:${CELL_1}`,
|
|
591
|
-
|
|
591
|
+
code_fingerprint: `embedded:${CELL_1}:code`,
|
|
592
592
|
version: 1,
|
|
593
593
|
});
|
|
594
594
|
// Null result means no output.
|
|
@@ -179,7 +179,7 @@ function cellRecord(cellId: CellId, cell: NotebookCell): Protocol.Cell {
|
|
|
179
179
|
expand_output: cell.config?.expand_output ?? false,
|
|
180
180
|
},
|
|
181
181
|
etag: `${EMBEDDED}:${cellId}`,
|
|
182
|
-
|
|
182
|
+
code_fingerprint: cell.code_hash ?? `${EMBEDDED}:${cellId}:code`,
|
|
183
183
|
version: 1,
|
|
184
184
|
};
|
|
185
185
|
}
|
|
@@ -28,17 +28,17 @@ function record(
|
|
|
28
28
|
const cell = Protocol.CellInput.parse(input);
|
|
29
29
|
const config = Protocol.CellConfigInput.parse(cell.config ?? {});
|
|
30
30
|
const code = cell.code.replace(/\r\n?/g, "\n");
|
|
31
|
-
const
|
|
31
|
+
const codeFingerprint = hash(code);
|
|
32
32
|
return {
|
|
33
33
|
id: cell.id,
|
|
34
34
|
notebook_id: notebookId,
|
|
35
35
|
name: cell.name,
|
|
36
36
|
code,
|
|
37
37
|
config,
|
|
38
|
-
|
|
38
|
+
code_fingerprint: codeFingerprint,
|
|
39
39
|
etag: hash(
|
|
40
40
|
[
|
|
41
|
-
|
|
41
|
+
codeFingerprint,
|
|
42
42
|
cell.name,
|
|
43
43
|
...[
|
|
44
44
|
config.column,
|
|
@@ -203,7 +203,7 @@ export function createTestHost(initial: Document) {
|
|
|
203
203
|
? null
|
|
204
204
|
: {
|
|
205
205
|
etag: cell.etag,
|
|
206
|
-
|
|
206
|
+
code_fingerprint: cell.code_fingerprint,
|
|
207
207
|
version: cell.version,
|
|
208
208
|
};
|
|
209
209
|
}
|