@marimo-team/islands 0.24.1-dev127 → 0.24.1-dev128

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.
@@ -31956,7 +31956,7 @@ function CK() {
31956
31956
  return a.warn("Failed to get version from mount config"), null;
31957
31957
  }
31958
31958
  }
31959
- var wK = CK() || "0.24.1-dev127", TK = V(wK), EK = V(!0);
31959
+ var wK = CK() || "0.24.1-dev128", TK = V(wK), EK = V(!0);
31960
31960
  V(null);
31961
31961
  //#endregion
31962
31962
  //#region src/core/wasm/state.ts
package/dist/main.js CHANGED
@@ -6,7 +6,7 @@ import { n as x, r as S, t as C } from "./copy-CD7S58CY.js";
6
6
  import { At as w, B as T, Bn as E, Bt as D, C as O, Cn as k, Ct as A, Dn as j, Dt as M, En as N, Et as P, F, Ft as I, G as L, Gn as ee, Hn as te, I as R, It as ne, J as z, Jn as re, Jt as ie, K as ae, Kt as oe, L as se, Ln as ce, Mn as le, Mt as ue, Nn as de, Nt as fe, On as pe, Ot as me, P as he, Pn as ge, Q as _e, Qn as ve, R as ye, Rn as be, St as xe, Tn as Se, U as Ce, Un as we, Ut as Te, W as Ee, X as De, Xn as Oe, Xt as ke, Y as Ae, Yn as je, Z as Me, Zn as Ne, Zt as Pe, _ as Fe, a as Ie, an as Le, at as Re, b as ze, bn as Be, bt as Ve, cn as He, dn as Ue, dt as We, en as Ge, er as Ke, et as qe, g as Je, gn as Ye, i as Xe, in as Ze, ir as Qe, it as $e, j as et, jt as tt, k as nt, kn as rt, ln as it, lt as at, n as ot, o as st, on as ct, ot as lt, q as ut, qt as dt, rr as ft, sn as pt, st as mt, tr as ht, un as gt, ut as _t, v as vt, xn as yt, xt as bt, y as xt, yn as St, yt as Ct, z as wt, zn as Tt, zt as Et } from "./html-to-image-BTYnN4ev.js";
7
7
  import { o as Dt, s as Ot, u as kt } from "./dist-3_o3T78I.js";
8
8
  import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-CutWdqo3.js";
9
- import { $ as nn, $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Cn as un, Ct as dn, D as fn, Dn as pn, Dt as mn, E as hn, En as gn, Et as _n, F as vn, Ft as yn, G as bn, Gt as xn, H as Sn, Ht as Cn, I as wn, It as Tn, J as En, Jt as Dn, K as On, Kt as kn, L as An, Lt as jn, M as Mn, N as Nn, Nt as Pn, O as Fn, Ot as In, P as Ln, Pt as Rn, Q as zn, Qt as Bn, R as Vn, Rt as Hn, S as Un, Sn as Wn, St as Gn, T as Kn, Tn as qn, Tt as Jn, U as Yn, Ut as Xn, V as Zn, Vt as Qn, W as $n, Wt as er, X as tr, Xt as nr, Y as rr, Yt as ir, Z as ar, Zt as or, _ as sr, _n as cr, _t as lr, a as ur, an as dr, at as fr, b as pr, bn as mr, bt as hr, cn as gr, dn as _r, dt as vr, en as yr, et as br, fn as xr, ft as Sr, g as Cr, gn as wr, gt as Tr, hn as Er, ht as Dr, i as Or, in as kr, it as Ar, j as jr, k as Mr, kt as Nr, l as Pr, ln as Fr, m as Ir, mn as Lr, mt as Rr, n as zr, nn as Br, nt as Vr, on as Hr, ot as Ur, pn as Wr, pt as Gr, q as Kr, qt as qr, rn as Jr, rt as Yr, s as Xr, sn as Zr, st as Qr, t as $r, tn as ei, tt as ti, un as ni, v as ri, vt as ii, w as ai, wn as oi, wt as si, x as ci, xn as li, xt as ui, y as di, yn as fi, yt as pi, z as mi, zt as hi } from "./common-DQE7nf4S.js";
9
+ import { $ as nn, $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Cn as un, Ct as dn, D as fn, Dn as pn, Dt as mn, E as hn, En as gn, Et as _n, F as vn, Ft as yn, G as bn, Gt as xn, H as Sn, Ht as Cn, I as wn, It as Tn, J as En, Jt as Dn, K as On, Kt as kn, L as An, Lt as jn, M as Mn, N as Nn, Nt as Pn, O as Fn, Ot as In, P as Ln, Pt as Rn, Q as zn, Qt as Bn, R as Vn, Rt as Hn, S as Un, Sn as Wn, St as Gn, T as Kn, Tn as qn, Tt as Jn, U as Yn, Ut as Xn, V as Zn, Vt as Qn, W as $n, Wt as er, X as tr, Xt as nr, Y as rr, Yt as ir, Z as ar, Zt as or, _ as sr, _n as cr, _t as lr, a as ur, an as dr, at as fr, b as pr, bn as mr, bt as hr, cn as gr, dn as _r, dt as vr, en as yr, et as br, fn as xr, ft as Sr, g as Cr, gn as wr, gt as Tr, hn as Er, ht as Dr, i as Or, in as kr, it as Ar, j as jr, k as Mr, kt as Nr, l as Pr, ln as Fr, m as Ir, mn as Lr, mt as Rr, n as zr, nn as Br, nt as Vr, on as Hr, ot as Ur, pn as Wr, pt as Gr, q as Kr, qt as qr, rn as Jr, rt as Yr, s as Xr, sn as Zr, st as Qr, t as $r, tn as ei, tt as ti, un as ni, v as ri, vt as ii, w as ai, wn as oi, wt as si, x as ci, xn as li, xt as ui, y as di, yn as fi, yt as pi, z as mi, zt as hi } from "./common-B7aIxP6p.js";
10
10
  import { c as gi, i as _i, n as vi, o as yi, t as bi } from "./useLifecycle-B4RGlyf0.js";
11
11
  import { t as xi } from "./check-CHig47QV.js";
12
12
  import { A as Si, C as Ci, D as wi, E as Ti, F as Ei, I as Di, M as Oi, N as ki, P as Ai, R as ji, S as Mi, a as Ni, b as Pi, c as Fi, i as Ii, j as Li, l as Ri, n as zi, o as Bi, r as Vi, s as Hi, t as Ui, w as Wi, x as Gi } from "./select-3qHpFKF9.js";
@@ -35311,7 +35311,7 @@ function lJ(e) {
35311
35311
  }
35312
35312
  //#endregion
35313
35313
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
35314
- var uJ = q.lazy(() => import("./reveal-component-BufO6zy9.js")), dJ = (e) => {
35314
+ var uJ = q.lazy(() => import("./reveal-component-BgttRIgC.js")), dJ = (e) => {
35315
35315
  let t = (0, Y.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = Xm(me), s = a === "read" || o, c = Xm(Ae) > 1, [l, u] = (0, q.useState)(null), d;
35316
35316
  t[0] !== i || t[1] !== n ? (d = sW(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
35317
35317
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
@@ -4,7 +4,7 @@ import { t as o } from "./react-DMWcHin-.js";
4
4
  import { t as s } from "./compiler-runtime-CAH9RLw2.js";
5
5
  import { Ot as c, ot as l } from "./html-to-image-BTYnN4ev.js";
6
6
  import { u } from "./dist-3_o3T78I.js";
7
- import { _n as d, c as f, ct as p, g as m, h, l as g, lt as _, n as v, o as y, r as b, t as x, u as S, ut as C, vn as w, xn as T } from "./common-DQE7nf4S.js";
7
+ import { _n as d, c as f, ct as p, g as m, h, l as g, lt as _, n as v, o as y, r as b, t as x, u as S, ut as C, vn as w, xn as T } from "./common-B7aIxP6p.js";
8
8
  import { R as E } from "./select-3qHpFKF9.js";
9
9
  import { Y as D } from "./dropdown-menu-DhCfcscX.js";
10
10
  import { t as O } from "./jsx-runtime-CpoKNRgu.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.24.1-dev127",
3
+ "version": "0.24.1-dev128",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -98,7 +98,7 @@ describe("UrlDetector", () => {
98
98
  expect(img).toHaveAttribute("src", dataUri);
99
99
  });
100
100
 
101
- it.skip("prevents event propagation on link clicks", () => {
101
+ it.fails("prevents event propagation on link clicks", () => {
102
102
  const mockStopPropagation = vi.fn();
103
103
  render(<UrlDetector parts={parseContent("Check https://marimo.io")} />);
104
104
  const link = screen.getByRole("link");
@@ -158,7 +158,7 @@ Hello,
158
158
  });
159
159
 
160
160
  // f-strings not currently supported
161
- it.skip("handles markdown with variables", () => {
161
+ it.fails("handles markdown with variables", () => {
162
162
  const mockEditor = createEditor('mo.md(f"""{a}\n{b}!""")');
163
163
  // Set to markdown
164
164
  switchLanguage(mockEditor, { language: "markdown" });
@@ -19,8 +19,8 @@ describe("MessageSchema", () => {
19
19
  });
20
20
  });
21
21
 
22
- describe.skip("extractBuffers", () => {
23
- it("should extract ArrayBuffer and replace with id", () => {
22
+ describe("extractBuffers", () => {
23
+ it.fails("should extract ArrayBuffer and replace with id", () => {
24
24
  const buffer = new ArrayBuffer(8);
25
25
  const input = { data: buffer };
26
26
  const buffers: ArrayBuffer[] = [];
@@ -31,7 +31,7 @@ describe.skip("extractBuffers", () => {
31
31
  expect(buffers).toEqual([buffer]);
32
32
  });
33
33
 
34
- it("should handle nested objects and arrays", () => {
34
+ it.fails("should handle nested objects and arrays", () => {
35
35
  const buffer1 = new ArrayBuffer(8);
36
36
  const buffer2 = new ArrayBuffer(16);
37
37
  const input = {
@@ -51,7 +51,7 @@ describe.skip("extractBuffers", () => {
51
51
  expect(buffers).toEqual([buffer1, buffer2]);
52
52
  });
53
53
 
54
- it("should handle Map objects", () => {
54
+ it.fails("should handle Map objects", () => {
55
55
  const buffer = new ArrayBuffer(8);
56
56
  const input = new Map([["key", buffer]]);
57
57
  const buffers: ArrayBuffer[] = [];
@@ -470,7 +470,7 @@ Bob.Jones,25
470
470
  `);
471
471
  });
472
472
 
473
- it.skip("should handle arrow files", async () => {
473
+ it.fails("should handle arrow files", async () => {
474
474
  // Create a small arrow file with schema and one empty record batch
475
475
  const arrowData = new Uint8Array([
476
476
  0x41,
@@ -179,7 +179,7 @@ describe("Events.fromInput", () => {
179
179
 
180
180
  // jsdom does not implement isContentEditable, so this is tested
181
181
  // via shouldIgnoreKeyboardEvent which has a closest() fallback.
182
- test.skip("returns true for contentEditable", () => {
182
+ test.fails("returns true for contentEditable", () => {
183
183
  const div = document.createElement("div");
184
184
  div.setAttribute("contenteditable", "true");
185
185
  document.body.append(div);