@marimo-team/islands 0.26.1-dev108 → 0.26.1-dev112
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-BW4TciqU.js → ErrorBoundary-pNKOBKXw.js} +1 -1
- package/dist/{chat-ui-Be9X-W22.js → chat-ui-C9NZA-bk.js} +3 -3
- package/dist/{code-visibility-BKmktPMd.js → code-visibility-B9s3Hl8z.js} +2 -2
- package/dist/{common-CSJAjJGa.js → common-Bn3jx0X6.js} +6 -4
- package/dist/{data-grid-overlay-editor-DTibdR4H.js → data-grid-overlay-editor-mxwwRaQy.js} +1 -1
- package/dist/{error-entries-23Z_1oDM.js → error-entries-1DC4BiYB.js} +166 -155
- package/dist/{feedback-button-CPu5SV3b.js → feedback-button-BrzbnRTT.js} +3 -3
- package/dist/{glide-data-editor-CC9_NDNi.js → glide-data-editor-Cnsv3NcI.js} +3 -3
- package/dist/{globals-BFlYTNoR.js → globals-BGqfFPx8.js} +1 -1
- package/dist/{html-to-image-Cw7o1IbE.js → html-to-image-CsvAOgd3.js} +1 -1
- package/dist/main.js +10 -10
- package/dist/{number-overlay-editor-qDcRKPE0.js → number-overlay-editor-DuSCOMTK.js} +1 -1
- package/dist/{process-output-DdBM0lmd.js → process-output-CtfJ_Gbp.js} +2 -2
- package/dist/{reveal-component-BE1xhtNc.js → reveal-component-DzmiQyN9.js} +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/editor/__tests__/cell-renders.test.tsx +327 -1
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +12 -20
- package/src/components/editor/ai/ai-completion-editor.tsx +391 -289
- package/src/components/editor/ai/completion-utils.ts +9 -7
- package/src/components/editor/cell/CellDeleteShoulder.tsx +82 -0
- package/src/components/editor/cell/DeleteButton.tsx +11 -2
- package/src/components/editor/cell/__tests__/CellDeleteShoulder.test.tsx +181 -0
- package/src/components/editor/cell/code/cell-editor.tsx +15 -25
- package/src/components/editor/chrome/panels/__tests__/logs-panel.test.tsx +26 -2
- package/src/components/editor/chrome/panels/logs-panel.tsx +27 -11
- package/src/components/editor/notebook-cell.tsx +20 -40
- package/src/core/ai/state.ts +6 -0
- package/src/core/cells/__tests__/cells.test.ts +34 -20
- package/src/core/cells/cell-log-chunks.ts +31 -0
- package/src/core/cells/cells.ts +10 -6
- package/src/core/codemirror/lsp/__tests__/log-messages.test.ts +1 -1
- package/src/core/codemirror/lsp/__tests__/transports.test.ts +1 -1
- package/src/core/islands/__tests__/bridge.test.ts +2 -5
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +10 -1
- package/src/css/common.css +11 -0
- package/src/hooks/useFinePointer.ts +30 -0
- package/src/stories/log-viewer.stories.tsx +48 -44
|
@@ -148,7 +148,7 @@ function L(e) {
|
|
|
148
148
|
}
|
|
149
149
|
//#endregion
|
|
150
150
|
//#region src/components/editor/boundary/ErrorBoundary.tsx
|
|
151
|
-
var R = (0, T.lazy)(() => import("./feedback-button-
|
|
151
|
+
var R = (0, T.lazy)(() => import("./feedback-button-BrzbnRTT.js").then((e) => ({ default: e.FeedbackModal }))), z = (e) => {
|
|
152
152
|
let t = (0, w.c)(2), n;
|
|
153
153
|
return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, N.jsx)(O, {
|
|
154
154
|
FallbackComponent: B,
|
|
@@ -3,13 +3,13 @@ import { g as n, h as r, r as i, t as a } from "./button-Z2R2272J.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 { i as c, t as l } from "./copy-icon-zP4__HPI.js";
|
|
6
|
-
import { B as u, Ct as d, Dt as f, Ft as p, Lt as m, M as h, Mt as g, Pt as _, R as v, Tt as y, V as b, W as x, X as S, Y as C, Z as w, a as T, ct as E, et as D, f as O, ft as ee, g as k, h as A, it as j, jt as M, l as N, m as te, n as ne, p as P, r as re, t as ie, u as ae, v as oe, vt as se, wt as ce, xt as le, zt as ue } from "./html-to-image-
|
|
6
|
+
import { B as u, Ct as d, Dt as f, Ft as p, Lt as m, M as h, Mt as g, Pt as _, R as v, Tt as y, V as b, W as x, X as S, Y as C, Z as w, a as T, ct as E, et as D, f as O, ft as ee, g as k, h as A, it as j, jt as M, l as N, m as te, n as ne, p as P, r as re, t as ie, u as ae, v as oe, vt as se, wt as ce, xt as le, zt as ue } from "./html-to-image-CsvAOgd3.js";
|
|
7
7
|
import { h as F, t as de } from "./tooltip-D-9pDheN.js";
|
|
8
8
|
import { d as fe } from "./select-Buk3aXi1.js";
|
|
9
9
|
import { Cn as pe, f as me, g as he, i as ge, n as _e, t as ve, v as ye, xn as be } from "./dropdown-menu-Dge_SmqE.js";
|
|
10
10
|
import { t as xe } from "./circle-question-mark-YmLYXyvS.js";
|
|
11
|
-
import { F as Se, J as Ce, R as we, Tt as Te, Ut as Ee, g as De, i as Oe, kt as ke, r as Ae, sn as je, t as Me, yt as Ne } from "./error-entries-
|
|
12
|
-
import { c as Pe, d as Fe, l as Ie, n as Le, t as Re, u as ze } from "./process-output-
|
|
11
|
+
import { F as Se, J as Ce, R as we, Tt as Te, Ut as Ee, g as De, i as Oe, kt as ke, r as Ae, sn as je, t as Me, yt as Ne } from "./error-entries-1DC4BiYB.js";
|
|
12
|
+
import { c as Pe, d as Fe, l as Ie, n as Le, t as Re, u as ze } from "./process-output-CtfJ_Gbp.js";
|
|
13
13
|
import { t as Be } from "./pencil-D7jyZPnP.js";
|
|
14
14
|
import { n as Ve, r as He, s as Ue } from "./assertNever-B9_7z-dW.js";
|
|
15
15
|
import { t as We } from "./jsx-runtime-D8btoEHk.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e } from "./button-Z2R2272J.js";
|
|
2
|
-
import { Jt as t, j as n, tn as r } from "./error-entries-
|
|
2
|
+
import { Jt as t, j as n, tn as r } from "./error-entries-1DC4BiYB.js";
|
|
3
3
|
import { n as i } from "./assertNever-B9_7z-dW.js";
|
|
4
4
|
import { Mt as a, Wt as o, g as s, p as c, qt as l } from "./use-restore-focus-CCfk-ey2.js";
|
|
5
5
|
import { c as u, n as d, o as f, u as p } from "./static-state-D-aT9dOr.js";
|
|
@@ -14,7 +14,7 @@ function y() {
|
|
|
14
14
|
return e.warn("Failed to get version from mount config"), null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
var b = y() || "0.26.1-
|
|
17
|
+
var b = y() || "0.26.1-dev112", x = l(b), S = l(!0);
|
|
18
18
|
l(null);
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/core/wasm/state.ts
|
|
@@ -3,14 +3,14 @@ import { _ as t, f as n, g as r, h as i, i as a, m as o, n as s, p as c, r as l,
|
|
|
3
3
|
import { t as d } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as f } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
5
|
import { i as p, n as m, r as h, t as g } from "./copy-icon-zP4__HPI.js";
|
|
6
|
-
import { A as _, At as v, B as y, Bt as b, C as x, Ct as S, D as C, Ft as w, H as T, Ht as E, It as D, J as O, K as k, M as A, Mt as j, N as M, Ot as N, P, Pt as F, R as I, S as ee, St as L, Tt as R, U as z, Ut as B, V as te, Vt as V, W as ne, _t as re, d as ie, gt as ae, k as oe, mt as se, n as ce, nt as le, pt as ue, q as de, r as fe, s as pe, t as me, w as he, x as ge, y as _e, z as ve, zt as ye } from "./html-to-image-
|
|
6
|
+
import { A as _, At as v, B as y, Bt as b, C as x, Ct as S, D as C, Ft as w, H as T, Ht as E, It as D, J as O, K as k, M as A, Mt as j, N as M, Ot as N, P, Pt as F, R as I, S as ee, St as L, Tt as R, U as z, Ut as B, V as te, Vt as V, W as ne, _t as re, d as ie, gt as ae, k as oe, mt as se, n as ce, nt as le, pt as ue, q as de, r as fe, s as pe, t as me, w as he, x as ge, y as _e, z as ve, zt as ye } from "./html-to-image-CsvAOgd3.js";
|
|
7
7
|
import { a as be, f as xe, h as H, n as Se, o as Ce, r as we, t as U } from "./tooltip-D-9pDheN.js";
|
|
8
8
|
import { r as Te, s as Ee } from "./useLifecycle-yjK7JsRL.js";
|
|
9
9
|
import { a as De, i as Oe, n as ke, o as Ae, r as je, t as Me } from "./useDateFormatter-DH0uFwfL.js";
|
|
10
10
|
import { t as Ne } from "./check-BqF09bSG.js";
|
|
11
11
|
import { A as Pe, C as Fe, M as Ie, S as Le, T as Re, _ as ze, b as Be, c as Ve, d as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, m as Je, n as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./select-Buk3aXi1.js";
|
|
12
12
|
import { $ as nt, $t as rt, A as it, At as at, B as ot, Bt as st, C as ct, Cn as lt, Ct as ut, D as dt, Dt as ft, Et as pt, F as mt, Ft as ht, G as gt, Gt as _t, H as vt, Ht as yt, I as bt, It as xt, J as St, Jt as Ct, K as wt, Kt as Tt, L as Et, Lt as Dt, M as Ot, Mt as kt, N as At, Nt as jt, O as Mt, Ot as Nt, P as Pt, Pt as Ft, Q as It, Qt as Lt, R as Rt, Rt as zt, S as Bt, Sn as Vt, St as Ht, T as Ut, Tt as Wt, U as Gt, Ut as Kt, V as qt, Vt as Jt, W as Yt, Wt as Xt, Xt as Zt, Yt as Qt, Z as $t, Zt as en, _n as tn, _t as nn, a as rn, at as an, bn as on, bt as sn, cn, ct as ln, d as un, dn, dt as fn, en as pn, et as mn, f as hn, fn as gn, ft as _n, g as vn, gn as yn, gt as bn, hn as xn, ht as Sn, i as Cn, in as wn, it as Tn, j as En, jt as Dn, k as On, kt as kn, l as An, ln as jn, lt as Mn, mn as Nn, n as Pn, nn as Fn, nt as In, o as Ln, on as Rn, ot as zn, p as Bn, pt as Vn, q as Hn, qt as Un, rn as Wn, rt as Gn, s as Kn, sn as qn, st as Jn, t as Yn, tn as Xn, tt as Zn, u as Qn, ut as $n, v as er, vn as tr, vt as nr, w as rr, wt as ir, xn as ar, xt as or, yn as sr, yt as cr, z as lr, zt as ur } from "./dropdown-menu-Dge_SmqE.js";
|
|
13
|
-
import { A as dr, At as fr, Et as pr, G as mr, Ht as hr, J as gr, K as _r, Lt as vr, O as yr, P as br, Q as xr, Tt as Sr, Ut as Cr, Vt as wr, W as Tr, Wt as Er, X as Dr, Z as Or, an as kr, b as Ar, kt as jr, on as Mr, sn as Nr, t as Pr, u as Fr, x as Ir, yt as Lr, z as Rr, zt as zr } from "./error-entries-
|
|
13
|
+
import { A as dr, At as fr, Et as pr, G as mr, Ht as hr, J as gr, K as _r, Lt as vr, O as yr, P as br, Q as xr, Tt as Sr, Ut as Cr, Vt as wr, W as Tr, Wt as Er, X as Dr, Z as Or, an as kr, b as Ar, kt as jr, on as Mr, sn as Nr, t as Pr, u as Fr, x as Ir, yt as Lr, z as Rr, zt as zr } from "./error-entries-1DC4BiYB.js";
|
|
14
14
|
import { n as Br, o as Vr, r as Hr, s as Ur, t as Wr } from "./assertNever-B9_7z-dW.js";
|
|
15
15
|
import { t as Gr } from "./clsx-CoeGtWvn.js";
|
|
16
16
|
import { t as Kr } from "./react-dom-DdqGVp5N.js";
|
|
@@ -35,7 +35,7 @@ import { o as Ta } from "./dist-BG-7Qpaj.js";
|
|
|
35
35
|
import { t as Ea } from "./useAsyncData-P5-Oovhq.js";
|
|
36
36
|
import { i as Da, n as Oa, o as ka, r as Aa } from "./loader-C9-qRO3m.js";
|
|
37
37
|
import { n as W, t as G } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
38
|
-
import { n as ja, t as Ma } from "./ErrorBoundary-
|
|
38
|
+
import { n as ja, t as Ma } from "./ErrorBoundary-pNKOBKXw.js";
|
|
39
39
|
import { W as Na, n as Pa } from "./vega-loader.browser-Co9gYE8Z.js";
|
|
40
40
|
import { t as Fa } from "./useIframeCapabilities-_0KX0nu_.js";
|
|
41
41
|
var Ia = H("arrow-down-wide-narrow", [
|
|
@@ -13543,7 +13543,9 @@ var xT = "packages-install-input", ST = () => {
|
|
|
13543
13543
|
});
|
|
13544
13544
|
}, CT = (e) => {
|
|
13545
13545
|
e.openApplication("packages"), ST();
|
|
13546
|
-
}, wT = "marimo:ai:chatState:v5", TT = xi(null)
|
|
13546
|
+
}, wT = "marimo:ai:chatState:v5", TT = xi(null);
|
|
13547
|
+
qg(TT, (e, t) => e?.cellId === t ? e : null);
|
|
13548
|
+
var ET = xi(null);
|
|
13547
13549
|
xi(!1), $r("marimo:ai:chatOptions", { webSearch: !1 }, re), $r("marimo:ai:includeOtherCells", !0, re);
|
|
13548
13550
|
function DT(e) {
|
|
13549
13551
|
let t = /* @__PURE__ */ new Map();
|
|
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { t } from "./react-Bgs_wQh3.js";
|
|
3
3
|
import { t as n } from "./react-dom-DdqGVp5N.js";
|
|
4
4
|
import { c as r, l as i, u as a } from "./data-grid-types-DBNnjiYJ.js";
|
|
5
|
-
import { a as o, i as s, n as c, r as l } from "./glide-data-editor-
|
|
5
|
+
import { a as o, i as s, n as c, r as l } from "./glide-data-editor-Cnsv3NcI.js";
|
|
6
6
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/internal/data-grid-overlay-editor/data-grid-overlay-editor-style.js
|
|
7
7
|
var u = /* @__PURE__ */ e(t(), 1), d = /* @__PURE__ */ e(n(), 1), f = /*#__PURE__*/ o("div")({
|
|
8
8
|
name: "DataGridOverlayEditorStyle",
|