@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.
@@ -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-Dnne6LfS.js";
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-CbUT6FYs.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-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-CYzEUXNB.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.25.3-dev221",
3
+ "version": "0.25.3-dev222",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -434,7 +434,7 @@ describe("readExport", () => {
434
434
  expand_output: false,
435
435
  },
436
436
  etag: `embedded:${CELL_1}`,
437
- code_hash: `embedded:${CELL_1}:code`,
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
- code_hash: `embedded:${CELL_1}:code`,
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
- code_hash: `embedded:${SETUP_CELL_ID}:code`,
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
- code_hash: `embedded:${CELL_1}:code`,
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
- code_hash: cell.code_hash ?? `${EMBEDDED}:${cellId}:code`,
182
+ code_fingerprint: cell.code_hash ?? `${EMBEDDED}:${cellId}:code`,
183
183
  version: 1,
184
184
  };
185
185
  }
@@ -40,7 +40,7 @@ function document(codes: ReadonlyArray<string | null>): Document {
40
40
  expand_output: false,
41
41
  },
42
42
  etag: `etag-${index}`,
43
- code_hash: `hash-${index}`,
43
+ code_fingerprint: `hash-${index}`,
44
44
  version: 1,
45
45
  }));
46
46
  return {
@@ -22,7 +22,7 @@ export function cell(
22
22
  name: "_",
23
23
  config: CONFIG,
24
24
  etag: `${id}-etag`,
25
- code_hash: `${id}-hash`,
25
+ code_fingerprint: `${id}-hash`,
26
26
  version: 1,
27
27
  ...overrides,
28
28
  };
@@ -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 codeHash = hash(code);
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
- code_hash: codeHash,
38
+ code_fingerprint: codeFingerprint,
39
39
  etag: hash(
40
40
  [
41
- codeHash,
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
- code_hash: cell.code_hash,
206
+ code_fingerprint: cell.code_fingerprint,
207
207
  version: cell.version,
208
208
  };
209
209
  }