@marimo-team/islands 0.25.3-dev472 → 0.25.3-dev475
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-Dy6nM4pI.js → ErrorBoundary-DuXBPuzQ.js} +1 -1
- package/dist/{chat-ui-BsDe6D0t.js → chat-ui-LeUI9zli.js} +2 -2
- package/dist/{code-visibility-CBt3rf4z.js → code-visibility-Dgz7KYYA.js} +1 -1
- package/dist/{common-DJ4xdZaX.js → common-D0xNsLvX.js} +2 -2
- package/dist/{data-grid-overlay-editor-sccPegkp.js → data-grid-overlay-editor-Dr_wDqQS.js} +1 -1
- package/dist/{feedback-button-0QU-SKvf.js → feedback-button-DBUHbGji.js} +2 -2
- package/dist/{glide-data-editor-BxNbHMYS.js → glide-data-editor-BG5TAJ3u.js} +3 -3
- package/dist/{globals-BEpGHzgD.js → globals-OVKGWVJG.js} +1 -1
- package/dist/{html-to-image-DVDnVxmt.js → html-to-image-BMt1erSy.js} +5706 -5689
- package/dist/main.js +11 -11
- package/dist/{number-overlay-editor-Dyi-johS.js → number-overlay-editor-BJ4Rvick.js} +1 -1
- package/dist/{process-output-DkPkAuZU.js → process-output-CNBGRz3r.js} +1 -1
- package/dist/{reveal-component-CSDOB2pW.js → reveal-component-ByuuVlEo.js} +2 -2
- package/package.json +1 -1
- package/src/core/codemirror/language/__tests__/markdown.test.ts +7 -7
package/dist/main.js
CHANGED
|
@@ -3,20 +3,20 @@ import { _ as a, a as o, d as s, g as c, h as l, i as u, l as d, m as f, n as p,
|
|
|
3
3
|
import { t as y } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as b } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
5
|
import { i as x, n as S, r as C, t as w } from "./copy-icon-CDvvlY90.js";
|
|
6
|
-
import { B as T, Bt as E, Ct as D, E as O, F as k, Ft as A, I as j, It as M, L as N, Lt as P, M as F, Mt as I, O as L, Ot as ee, P as R, R as z, Rt as te, St as B, Ut as ne, Vt as re, Wt as ie, X as ae, Z as oe, _ as se, _t as ce, a as le, at as ue, b as de, bt as fe, c as pe, ct as me, dt as he, i as ge, it as _e, j as ve, kt as ye, lt as be, mt as xe, n as Se, o as Ce, ot as we, q as Te, rt as Ee, ut as De, vt as Oe, yt as ke, z as Ae, zt as je } from "./html-to-image-
|
|
6
|
+
import { B as T, Bt as E, Ct as D, E as O, F as k, Ft as A, I as j, It as M, L as N, Lt as P, M as F, Mt as I, O as L, Ot as ee, P as R, R as z, Rt as te, St as B, Ut as ne, Vt as re, Wt as ie, X as ae, Z as oe, _ as se, _t as ce, a as le, at as ue, b as de, bt as fe, c as pe, ct as me, dt as he, i as ge, it as _e, j as ve, kt as ye, lt as be, mt as xe, n as Se, o as Ce, ot as we, q as Te, rt as Ee, ut as De, vt as Oe, yt as ke, z as Ae, zt as je } from "./html-to-image-BMt1erSy.js";
|
|
7
7
|
import { a as Me, f as Ne, h as Pe, i as Fe, m as Ie, n as Le, o as Re, r as ze, t as Be } from "./tooltip-CiJ919pg.js";
|
|
8
8
|
import { D as Ve, E as He, S as Ue, T as We, _ as Ge, a as Ke, c as qe, d as Je, f as Ye, g as Xe, h as Ze, i as Qe, l as $e, m as et, n as tt, o as nt, p as rt, r as it, s as at, t as ot, u as st, v as ct, w as lt, x as ut, y as dt } from "./spec-6shN7lEe.js";
|
|
9
|
-
import { $ as ft, $t as pt, A as mt, An as ht, At as gt, B as _t, Bt as vt, C as yt, D as bt, Dn as xt, Dt as St, E as Ct, En as wt, Et as Tt, F as Et, Ft as Dt, G as Ot, Gt as kt, H as At, Ht as jt, I as Mt, It as Nt, J as Pt, Jt as Ft, K as It, Kt as Lt, L as Rt, Lt as zt, M as Bt, Mn as Vt, Mt as Ht, N as Ut, Nt as Wt, O as Gt, On as Kt, Ot as qt, P as Jt, Pt as Yt, Q as Xt, Qt as Zt, R as Qt, Rt as $t, S as en, Sn as tn, St as nn, T as rn, Tn as an, Tt as on, U as sn, Ut as cn, V as ln, Vt as un, W as dn, Wt as fn, X as pn, Xt as mn, Y as hn, Yt as gn, Z as _n, Zt as vn, _ as yn, _n as bn, _t as xn, an as Sn, at as Cn, b as wn, bn as Tn, bt as En, c as Dn, cn as On, ct as kn, d as An, dn as jn, dt as Mn, en as Nn, f as Pn, fn as Fn, ft as In, g as Ln, gn as Rn, gt as zn, h as Bn, hn as Vn, ht as Hn, in as Un, it as Wn, j as Gn, jn as Kn, jt as qn, k as Jn, kn as Yn, kt as Xn, ln as Zn, lt as Qn, m as $n, mn as er, mt as tr, nn as nr, on as rr, ot as ir, p as ar, pn as or, pt as sr, q as cr, qt as lr, r as ur, rn as dr, rt as fr, sn as pr, st as mr, t as hr, tn as gr, u as _r, un as vr, ut as yr, v as br, vn as xr, vt as Sr, w as Cr, wn as wr, x as Tr, xn as Er, xt as Dr, y as Or, yn as kr, yt as Ar, z as jr, zt as Mr } from "./common-
|
|
9
|
+
import { $ as ft, $t as pt, A as mt, An as ht, At as gt, B as _t, Bt as vt, C as yt, D as bt, Dn as xt, Dt as St, E as Ct, En as wt, Et as Tt, F as Et, Ft as Dt, G as Ot, Gt as kt, H as At, Ht as jt, I as Mt, It as Nt, J as Pt, Jt as Ft, K as It, Kt as Lt, L as Rt, Lt as zt, M as Bt, Mn as Vt, Mt as Ht, N as Ut, Nt as Wt, O as Gt, On as Kt, Ot as qt, P as Jt, Pt as Yt, Q as Xt, Qt as Zt, R as Qt, Rt as $t, S as en, Sn as tn, St as nn, T as rn, Tn as an, Tt as on, U as sn, Ut as cn, V as ln, Vt as un, W as dn, Wt as fn, X as pn, Xt as mn, Y as hn, Yt as gn, Z as _n, Zt as vn, _ as yn, _n as bn, _t as xn, an as Sn, at as Cn, b as wn, bn as Tn, bt as En, c as Dn, cn as On, ct as kn, d as An, dn as jn, dt as Mn, en as Nn, f as Pn, fn as Fn, ft as In, g as Ln, gn as Rn, gt as zn, h as Bn, hn as Vn, ht as Hn, in as Un, it as Wn, j as Gn, jn as Kn, jt as qn, k as Jn, kn as Yn, kt as Xn, ln as Zn, lt as Qn, m as $n, mn as er, mt as tr, nn as nr, on as rr, ot as ir, p as ar, pn as or, pt as sr, q as cr, qt as lr, r as ur, rn as dr, rt as fr, sn as pr, st as mr, t as hr, tn as gr, u as _r, un as vr, ut as yr, v as br, vn as xr, vt as Sr, w as Cr, wn as wr, x as Tr, xn as Er, xt as Dr, y as Or, yn as kr, yt as Ar, z as jr, zt as Mr } from "./common-D0xNsLvX.js";
|
|
10
10
|
import { a as Nr, n as Pr, s as Fr, t as Ir } from "./useLifecycle-mKiMNa4V.js";
|
|
11
11
|
import { t as Lr } from "./check-CApwK1fD.js";
|
|
12
12
|
import { A as Rr, C as zr, D as Br, M as Vr, O as Hr, a as Ur, c as Wr, d as Gr, i as Kr, k as qr, l as Jr, n as Yr, o as Xr, r as Zr, s as Qr, t as $r, w as ei, x as ti } from "./select-PQHWLm64.js";
|
|
13
13
|
import { $ as ni, At as ri, B as ii, C as ai, Cn as oi, G as si, Nt as ci, Q as li, Sn as ui, T as di, V as fi, X as pi, Y as mi, Z as hi, _ as gi, a as _i, b as vi, c as yi, f as bi, g as xi, h as Si, i as Ci, m as wi, mt as Ti, n as Ei, p as Di, r as Oi, rt as ki, s as Ai, t as ji, v as Mi, vt as Ni, w as Pi, xn as Fi, y as Ii } from "./dropdown-menu-B12Nf3Zf.js";
|
|
14
14
|
import { c as Li, i as Ri, l as zi, o as Bi, s as Vi, t as Hi } from "./config-C8TXSDmC.js";
|
|
15
15
|
import { $t as Ui, At as Wi, B as Gi, Ct as Ki, D as qi, Dt as Ji, Ft as Yi, G as Xi, It as Zi, J as Qi, K as $i, Kt as ea, N as ta, Nt as na, Pt as ra, Qt as ia, R as aa, Rt as oa, St as sa, V as ca, X as la, Xt as ua, Y as da, Z as fa, Zt as pa, _ as ma, bt as ha, en as ga, f as _a, g as va, h as ya, ht as ba, l as xa, m as Sa, mt as Ca, nn as wa, nt as Ta, q as Ea, qt as Da, rt as Oa, s as ka, v as Aa, vt as ja, xt as Ma, z as Na } from "./error-entries--YT1ZOUW.js";
|
|
16
|
-
import { a as Pa, d as Fa, i as Ia, n as La, o as Ra, r as za, s as Ba, t as Va, u as Ha } from "./process-output-
|
|
16
|
+
import { a as Pa, d as Fa, i as Ia, n as La, o as Ra, r as za, s as Ba, t as Va, u as Ha } from "./process-output-CNBGRz3r.js";
|
|
17
17
|
import { t as Ua } from "./pencil-BC7pOv9g.js";
|
|
18
18
|
import { a as Wa, c as Ga, d as Ka, f as qa, i as Ja, l as Ya, r as Xa } from "./glide-utils-D1McS0Pn.js";
|
|
19
|
-
import { n as Za, t as Qa } from "./globals-
|
|
19
|
+
import { n as Za, t as Qa } from "./globals-OVKGWVJG.js";
|
|
20
20
|
import { a as $a, i as eo, n as to, r as no, s as ro, t as io } from "./assertNever-DOTNJ2Y4.js";
|
|
21
21
|
import { t as ao } from "./react-dom-DdqGVp5N.js";
|
|
22
22
|
import { t as oo } from "./jsx-runtime-D8btoEHk.js";
|
|
@@ -40,10 +40,10 @@ import { n as rc, t as ic } from "./esm-Bwp_FHP0.js";
|
|
|
40
40
|
import { p as ac } from "./dist-DpYpG8Yc.js";
|
|
41
41
|
import { t as oc } from "./useAsyncData-P5-Oovhq.js";
|
|
42
42
|
import { n as sc, r as cc, t as lc } from "./useDeepCompareMemoize-CDhinwm7.js";
|
|
43
|
-
import { t as uc } from "./ErrorBoundary-
|
|
43
|
+
import { t as uc } from "./ErrorBoundary-DuXBPuzQ.js";
|
|
44
44
|
import { G as dc, W as fc } from "./vega-loader.browser-Co9gYE8Z.js";
|
|
45
45
|
import { a as pc, n as mc } from "./loader-Bin_dutt.js";
|
|
46
|
-
import { a as hc, c as gc, i as _c, l as vc, o as yc, s as bc, t as xc } from "./code-visibility-
|
|
46
|
+
import { a as hc, c as gc, i as _c, l as vc, o as yc, s as bc, t as xc } from "./code-visibility-Dgz7KYYA.js";
|
|
47
47
|
import { t as Sc } from "./esm-B9n0caHs.js";
|
|
48
48
|
//#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
49
49
|
var Cc = Object.freeze({
|
|
@@ -2973,8 +2973,8 @@ var Wp = Lp({ offset: !0 }).describe("A date and time with its offset from UTC,
|
|
|
2973
2973
|
path: Jo([K(), xo()]).describe("The file's path relative to the project root, written the way the host's operating system writes paths. Null when the notebook has no file, such as one not yet saved, or one deleted while a runtime still refers to it."),
|
|
2974
2974
|
name: K().describe("A label to show people. Derived from the filename when the host has nothing better."),
|
|
2975
2975
|
operations: V(K()).describe("Operations this client may call on the notebook, such as `notebook.edit` or `runtime.start`. A subset of `host.operations` selected by the client's permissions, independently of the notebook's current state. The `runtime` object shows whether a runtime is attached, and preconditions still apply when an operation is called. The host sends the notebook again when it changes."),
|
|
2976
|
-
modified_at: Jo([Wp, xo()]).describe("
|
|
2977
|
-
}).describe("A notebook is a document and its results as the host knows them,\nusually backed by a file. Its kernel, when it has one, is a\nseparate object, the runtime
|
|
2976
|
+
modified_at: Jo([Wp, xo()]).describe("A hint of when the file was last modified, for display and ordering. It can lag, since a host need not send the notebook again when only this value changes. Null when the host does not know.")
|
|
2977
|
+
}).describe("A notebook is a document and its results as the host knows them,\nusually backed by a file. Its kernel, when it has one, is a\nseparate object, the runtime.\n"), tm = W({
|
|
2978
2978
|
request_id: K().optional().describe("The `Idempotency-Key` of the request that caused this event. Omitted when no request did, and on snapshots unless that request's work is still in progress."),
|
|
2979
2979
|
time: Wp.optional().describe("When the host published this event. Present on live and replayed events; omitted on snapshots."),
|
|
2980
2980
|
notebook: em
|
|
@@ -12476,7 +12476,7 @@ var TD = (e) => {
|
|
|
12476
12476
|
output: t
|
|
12477
12477
|
};
|
|
12478
12478
|
} };
|
|
12479
|
-
} }, jD = J.lazy(() => import("./chat-ui-
|
|
12479
|
+
} }, jD = J.lazy(() => import("./chat-ui-LeUI9zli.js").then((e) => ({ default: e.Chatbot }))), MD = V(W({
|
|
12480
12480
|
id: K(),
|
|
12481
12481
|
role: H([
|
|
12482
12482
|
"system",
|
|
@@ -12945,7 +12945,7 @@ function AO(e, t) {
|
|
|
12945
12945
|
}
|
|
12946
12946
|
//#endregion
|
|
12947
12947
|
//#region src/plugins/impl/DataEditorPlugin.tsx
|
|
12948
|
-
var jO = J.lazy(() => import("./glide-data-editor-
|
|
12948
|
+
var jO = J.lazy(() => import("./glide-data-editor-BG5TAJ3u.js").then((e) => e.t)), MO = fD("marimo-data-editor", { cssStyles: [FD, ID] }).withData(W({
|
|
12949
12949
|
initialValue: W({ edits: V(W({
|
|
12950
12950
|
rowIdx: G(),
|
|
12951
12951
|
columnId: K(),
|
|
@@ -32668,7 +32668,7 @@ function NU(e) {
|
|
|
32668
32668
|
}
|
|
32669
32669
|
//#endregion
|
|
32670
32670
|
//#region src/components/editor/renderers/slides-layout/slides-layout.tsx
|
|
32671
|
-
var PU = J.lazy(() => import("./reveal-component-
|
|
32671
|
+
var PU = J.lazy(() => import("./reveal-component-ByuuVlEo.js")), FU = (e) => {
|
|
32672
32672
|
let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = jo(Gs), s = a === "read" || o, c = jo(Ca) > 1, [l, u] = (0, J.useState)(null), d;
|
|
32673
32673
|
t[0] !== i || t[1] !== n ? (d = jz(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
|
|
32674
32674
|
let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
2
2
|
import { t } from "./react-Bgs_wQh3.js";
|
|
3
|
-
import { a as n } from "./glide-data-editor-
|
|
3
|
+
import { a as n } from "./glide-data-editor-BG5TAJ3u.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.1_57c124ac5a994dbbf13fd11838cf9ba9/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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as e } from "./html-to-image-
|
|
1
|
+
import { T as e } from "./html-to-image-BMt1erSy.js";
|
|
2
2
|
import { h as t } from "./tooltip-CiJ919pg.js";
|
|
3
3
|
import { Tt as n, wt as r } from "./error-entries--YT1ZOUW.js";
|
|
4
4
|
import { r as i } from "./assertNever-DOTNJ2Y4.js";
|
|
@@ -3,14 +3,14 @@ import { g as t, h as n, i as r, m as i, t as a } from "./button-qQhINE7z.js";
|
|
|
3
3
|
import { t as o } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
5
|
import { h as c, t as l } from "./tooltip-CiJ919pg.js";
|
|
6
|
-
import { Cn as u, En as d, Sn as f, dn as p, et as m, f as h, i as g, l as _, n as v, nt as y, r as b, t as x, tt as S, u as C } from "./common-
|
|
6
|
+
import { Cn as u, En as d, Sn as f, dn as p, et as m, f as h, i as g, l as _, n as v, nt as y, r as b, t as x, tt as S, u as C } from "./common-D0xNsLvX.js";
|
|
7
7
|
import { M as w } from "./select-PQHWLm64.js";
|
|
8
8
|
import { X as T } from "./dropdown-menu-B12Nf3Zf.js";
|
|
9
9
|
import { t as E } from "./jsx-runtime-D8btoEHk.js";
|
|
10
10
|
import { Rt as D, Vt as O, f as k, i as ee } from "./use-restore-focus-BLj45Ibw.js";
|
|
11
11
|
import { t as A } from "./useEvent-BoN7U38T.js";
|
|
12
12
|
import { o as te } from "./static-state-CWXd6dYX.js";
|
|
13
|
-
import { n as ne, t as re } from "./code-visibility-
|
|
13
|
+
import { n as ne, t as re } from "./code-visibility-Dgz7KYYA.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
var j = c("sticky-note", [["path", {
|
|
16
16
|
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
|
@@ -282,23 +282,23 @@ Hello world
|
|
|
282
282
|
expect(offset).toBe(11);
|
|
283
283
|
});
|
|
284
284
|
|
|
285
|
-
it("should
|
|
285
|
+
it("should use single triple quotes around triple double quotes", () => {
|
|
286
286
|
const code = 'Markdown with an escaped """quote""""!!';
|
|
287
287
|
const [wrappedCode, offset] = adapter.transformOut(code, metadata);
|
|
288
288
|
expect(wrappedCode).toBe(
|
|
289
|
-
`mo.md(
|
|
290
|
-
Markdown with an escaped "
|
|
291
|
-
|
|
289
|
+
`mo.md('''
|
|
290
|
+
Markdown with an escaped """quote""""!!
|
|
291
|
+
''')`,
|
|
292
292
|
);
|
|
293
293
|
expect(offset).toBe(11);
|
|
294
294
|
});
|
|
295
295
|
|
|
296
|
-
it("should escape triple quotes
|
|
297
|
-
const code =
|
|
296
|
+
it("should escape triple quotes when the body has both kinds", () => {
|
|
297
|
+
const code = `"""quote"""" and '''quote'''`;
|
|
298
298
|
const [wrappedCode, offset] = adapter.transformOut(code, metadata);
|
|
299
299
|
expect(wrappedCode).toBe(
|
|
300
300
|
`mo.md("""
|
|
301
|
-
|
|
301
|
+
\\"""quote"\\""" and '''quote'''
|
|
302
302
|
""")`,
|
|
303
303
|
);
|
|
304
304
|
expect(offset).toBe(11);
|