@marimo-team/islands 0.24.3-dev80 → 0.24.3-dev81

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.
Files changed (29) hide show
  1. package/dist/{ErrorBoundary-OhtgB5Rj.js → ErrorBoundary-CCi-VkF7.js} +1 -1
  2. package/dist/{cells-BLjghRgH.js → cells-BIfOnGBK.js} +9 -4
  3. package/dist/{chat-ui-ZVLuVQRR.js → chat-ui-LWkjhObe.js} +4 -4
  4. package/dist/{code-visibility-fggTIMg0.js → code-visibility-Bsfqbe2z.js} +2 -2
  5. package/dist/{common-DEy2Hm0Y.js → common-BnKC1tWB.js} +3 -3
  6. package/dist/{data-grid-overlay-editor-BpWTINGo.js → data-grid-overlay-editor-CJnlWykO.js} +1 -1
  7. package/dist/{error-entries-CJR74llu.js → error-entries-CR0oClSL.js} +1 -1
  8. package/dist/{feedback-button-uHEzZ6za.js → feedback-button-MWISfIIf.js} +4 -4
  9. package/dist/{glide-data-editor-BGV2Wxxr.js → glide-data-editor-dcmP8mKS.js} +3 -3
  10. package/dist/{globals-DwEI7gcT.js → globals-fCMBgbAD.js} +1 -1
  11. package/dist/{html-to-image-DYuNuZZd.js → html-to-image-_i03yR4q.js} +586 -567
  12. package/dist/main.js +10 -10
  13. package/dist/{number-overlay-editor-Cs9TQY6t.js → number-overlay-editor-DhNE6pBe.js} +1 -1
  14. package/dist/{process-output-BurYfV57.js → process-output-D3zQyTAS.js} +2 -2
  15. package/dist/{reveal-component-ZN-54GbA.js → reveal-component-Cdcgngkc.js} +3 -3
  16. package/package.json +1 -1
  17. package/src/__mocks__/notebook.ts +1 -0
  18. package/src/components/editor/navigation/clipboard.ts +1 -0
  19. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +37 -0
  20. package/src/core/cells/__tests__/apply-transaction.test.ts +34 -0
  21. package/src/core/cells/__tests__/cells.test.ts +1 -0
  22. package/src/core/cells/__tests__/document-changes.test.ts +39 -1
  23. package/src/core/cells/__tests__/outputs.test.tsx +117 -0
  24. package/src/core/cells/__tests__/session.test.ts +7 -0
  25. package/src/core/cells/cells.ts +6 -1
  26. package/src/core/cells/document-changes.ts +11 -1
  27. package/src/core/cells/outputs.ts +66 -9
  28. package/src/core/cells/session.ts +2 -0
  29. package/src/core/cells/types.ts +2 -0
@@ -135,7 +135,7 @@ function F(e) {
135
135
  }
136
136
  //#endregion
137
137
  //#region src/components/editor/boundary/ErrorBoundary.tsx
138
- var I = (0, T.lazy)(() => import("./feedback-button-uHEzZ6za.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
138
+ var I = (0, T.lazy)(() => import("./feedback-button-MWISfIIf.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
139
139
  let t = (0, w.c)(2), n;
140
140
  return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, j.jsx)(O, {
141
141
  FallbackComponent: R,
@@ -26112,7 +26112,8 @@ function bb(e, t) {
26112
26112
  cellId: e,
26113
26113
  column: a,
26114
26114
  disabled: n?.config.disabled ?? !1,
26115
- hideCode: n?.config.hide_code ?? !1
26115
+ hideCode: n?.config.hide_code ?? !1,
26116
+ expandOutput: n?.config.expand_output ?? !1
26116
26117
  });
26117
26118
  }
26118
26119
  return i.push({
@@ -26164,7 +26165,8 @@ function xb(e, t, n) {
26164
26165
  cellId: e,
26165
26166
  column: r.config.column ?? null,
26166
26167
  disabled: r.config.disabled ?? !1,
26167
- hideCode: r.config.hide_code ?? !1
26168
+ hideCode: r.config.hide_code ?? !1,
26169
+ expandOutput: r.config.expand_output ?? !1
26168
26170
  }] : [];
26169
26171
  }
26170
26172
  case "dropOverNewColumn":
@@ -26861,7 +26863,8 @@ function lx({ id: e, name: t = "_", code: n = "", lastCodeRun: r = null, lastExe
26861
26863
  config: o || {
26862
26864
  hide_code: !1,
26863
26865
  disabled: !1,
26864
- column: null
26866
+ column: null,
26867
+ expand_output: !1
26865
26868
  },
26866
26869
  name: t,
26867
26870
  code: n,
@@ -26876,6 +26879,7 @@ function ux(e) {
26876
26879
  hide_code: !1,
26877
26880
  disabled: !1,
26878
26881
  column: null,
26882
+ expand_output: !1,
26879
26883
  ...e
26880
26884
  };
26881
26885
  }
@@ -26902,7 +26906,8 @@ function fx(e) {
26902
26906
  let t = {
26903
26907
  column: 0,
26904
26908
  hide_code: !1,
26905
- disabled: !1
26909
+ disabled: !1,
26910
+ expand_output: !1
26906
26911
  };
26907
26912
  return {
26908
26913
  ...e,
@@ -3,13 +3,13 @@ import { c as n, g as r, h as i, t as a } from "./button-DdXAm8iz.js";
3
3
  import { t as o } from "./react-ofJbxM4x.js";
4
4
  import { t as s } from "./compiler-runtime-Cj8ZWiNS.js";
5
5
  import { i as c, t as l } from "./copy-icon-CLdENY__.js";
6
- import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-DYuNuZZd.js";
6
+ import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-_i03yR4q.js";
7
7
  import { g as j, t as re } from "./tooltip-qB8NlSqV.js";
8
- import { Ct as ie, Dt as ae, Kt as oe, Lt as se, N as ce, St as le, Vt as ue, Z as de, b as fe, ct as pe, d as me, fn as he, hn as ge, ht as _e, in as ve, it as ye, lt as be, pn as xe, tt as Se, vn as Ce, wt as we } from "./cells-BLjghRgH.js";
8
+ import { Ct as ie, Dt as ae, Kt as oe, Lt as se, N as ce, St as le, Vt as ue, Z as de, b as fe, ct as pe, d as me, fn as he, hn as ge, ht as _e, in as ve, it as ye, lt as be, pn as xe, tt as Se, vn as Ce, wt as we } from "./cells-BIfOnGBK.js";
9
9
  import { A as Te, C as Ee, M as De, b as Oe } from "./select-C6plhmZr.js";
10
10
  import { _ as ke, f as Ae, h as je, i as Me, n as Ne, t as Pe } from "./dropdown-menu-CZgjYSAh.js";
11
11
  import { p as Fe, v as Ie } from "./toDate-WXg1yLcI.js";
12
- import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-BurYfV57.js";
12
+ import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-D3zQyTAS.js";
13
13
  import { t as Ue } from "./jsx-runtime-DgDPJV9S.js";
14
14
  import { A as We, C as Ge, D as Ke, E as qe, F as Je, L as Ye, M as Xe, O as Ze, P as Qe, R as $e, S as et, T as tt, V as nt, b as rt, j as it, v as at, w as ot, x as st, y as ct, z as lt } from "./use-restore-focus-D5D9xEjZ.js";
15
15
  import { n as ut } from "./error-banner-B94dcDmP.js";
@@ -22,7 +22,7 @@ import { n as kt, o as At, r as jt } from "./dist-B1vYLK28.js";
22
22
  import { n as Mt } from "./dist-BRxfaJgs.js";
23
23
  import { n as Nt, t as Pt } from "./esm-h8f7-1CJ.js";
24
24
  import { t as Ft } from "./useAsyncData-BD6AStMt.js";
25
- import { i as It, r as Lt, t as Rt } from "./error-entries-CJR74llu.js";
25
+ import { i as It, r as Lt, t as Rt } from "./error-entries-CR0oClSL.js";
26
26
  var zt = j("ban", [["circle", {
27
27
  cx: "12",
28
28
  cy: "12",
@@ -1,6 +1,6 @@
1
1
  import { g as e } from "./button-DdXAm8iz.js";
2
2
  import { t } from "./compiler-runtime-Cj8ZWiNS.js";
3
- import { G as n, H as r, V as i, q as a } from "./cells-BLjghRgH.js";
3
+ import { G as n, H as r, V as i, q as a } from "./cells-BIfOnGBK.js";
4
4
  import { C as o } from "./select-C6plhmZr.js";
5
5
  import { _ as s, d as c } from "./toDate-WXg1yLcI.js";
6
6
  import { C as l, E as u, a as d, b as f } from "./useTheme-DzXmYZ5V.js";
@@ -18,7 +18,7 @@ function x() {
18
18
  return e.warn("Failed to get version from mount config"), null;
19
19
  }
20
20
  }
21
- var S = x() || "0.24.3-dev80", C = u(S), w = u(!0);
21
+ var S = x() || "0.24.3-dev81", C = u(S), w = u(!0);
22
22
  u(null);
23
23
  //#endregion
24
24
  //#region src/core/wasm/state.ts
@@ -3,16 +3,16 @@ import { _ as t, c as n, f as r, g as i, h as a, m as o, n as s, p as c, r as l,
3
3
  import { t as d } from "./react-ofJbxM4x.js";
4
4
  import { t as f } from "./compiler-runtime-Cj8ZWiNS.js";
5
5
  import { i as p, n as m, r as h, t as g } from "./copy-icon-CLdENY__.js";
6
- import { $ as _, A as v, B as y, D as b, E as x, F as S, H as C, M as w, N as T, Q as E, S as D, T as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, g as F, n as I, r as ee, s as L, t as te, u as ne, v as re, w as R, y as ie, z as ae } from "./html-to-image-DYuNuZZd.js";
6
+ import { $ as _, A as v, B as y, D as b, E as x, F as S, H as C, M as w, N as T, Q as E, S as D, T as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, g as F, n as I, r as ee, s as L, t as te, u as ne, v as re, w as R, y as ie, z as ae } from "./html-to-image-_i03yR4q.js";
7
7
  import { a as oe, f as se, g as z, n as ce, o as le, r as ue, t as B } from "./tooltip-qB8NlSqV.js";
8
- import { $t as de, C as fe, Dt as pe, E as me, H as he, Ht as ge, K as _e, Kt as ve, L as ye, M as be, N as xe, V as Se, Y as Ce, _ as we, _t as Te, a as Ee, bn as De, ct as Oe, d as ke, en as Ae, et as je, fn as Me, g as Ne, h as Pe, hn as Fe, ht as Ie, i as Le, in as Re, j as ze, kt as Be, ln as Ve, mn as He, ot as Ue, pn as We, q as Ge, qt as Ke, sn as qe, st as Je, tn as Ye, un as Xe, ut as Ze, vn as Qe, vt as $e, x as et, yt as tt } from "./cells-BLjghRgH.js";
8
+ import { $t as de, C as fe, Dt as pe, E as me, H as he, Ht as ge, K as _e, Kt as ve, L as ye, M as be, N as xe, V as Se, Y as Ce, _ as we, _t as Te, a as Ee, bn as De, ct as Oe, d as ke, en as Ae, et as je, fn as Me, g as Ne, h as Pe, hn as Fe, ht as Ie, i as Le, in as Re, j as ze, kt as Be, ln as Ve, mn as He, ot as Ue, pn as We, q as Ge, qt as Ke, sn as qe, st as Je, tn as Ye, un as Xe, ut as Ze, vn as Qe, vt as $e, x as et, yt as tt } from "./cells-BIfOnGBK.js";
9
9
  import { c as nt, i as rt, r as it } from "./useLifecycle-DPgiiwwU.js";
10
10
  import { a as at, i as ot, n as st, o as ct, r as lt, t as ut } from "./useDateFormatter-BRTPsUK7.js";
11
11
  import { t as dt } from "./check-B7cIK6gb.js";
12
12
  import { A as ft, C as pt, D as mt, M as ht, O as gt, S as _t, _ as vt, b as yt, c as bt, d as xt, g as St, h as Ct, i as wt, m as Tt, n as Et, p as Dt, s as Ot, t as kt, u as At, v as jt, y as Mt } from "./select-C6plhmZr.js";
13
13
  import { $ as Nt, $t as Pt, A as Ft, At as It, B as Lt, Bt as Rt, Ct as zt, D as Bt, Dt as Vt, E as Ht, Et as Ut, F as Wt, Ft as Gt, G as Kt, Gt as qt, H as Jt, Ht as Yt, I as Xt, It as Zt, Jt as Qt, K as $t, Kt as en, L as tn, Lt as nn, M as rn, Mt as an, N as on, Nt as sn, O as cn, Ot as ln, P as un, Pt as dn, Q as fn, Qt as pn, R as mn, Rt as hn, S as gn, St as _n, T as vn, Tt as yn, U as bn, Ut as xn, V as Sn, Vt as Cn, W as wn, Wt as Tn, X as En, Xt as Dn, Y as On, Yt as kn, Z as An, Zt as jn, _ as Mn, _t as Nn, a as Pn, an as Fn, b as In, bt as Ln, cn as Rn, ct as zn, d as Bn, dn as Vn, dt as Hn, en as Un, et as Wn, f as Gn, fn as Kn, ft as qn, gt as Jn, h as Yn, ht as Xn, i as Zn, it as Qn, j as $n, jt as er, k as tr, kt as nr, l as rr, ln as ir, lt as ar, mt as or, n as sr, nn as cr, nt as lr, o as ur, on as dr, ot as fr, pn as pr, pt as mr, qt as hr, rn as gr, rt as _r, s as vr, sn as yr, st as br, t as xr, tn as Sr, tt as Cr, u as wr, un as Tr, ut as Er, vt as Dr, w as Or, wt as kr, x as Ar, xt as jr, y as Mr, yt as Nr, z as Pr, zt as Fr } from "./dropdown-menu-CZgjYSAh.js";
14
14
  import { _ as Ir, a as Lr, c as Rr, d as zr, i as Br, n as Vr, o as Hr, p as Ur, r as Wr, s as Gr, t as Kr } from "./toDate-WXg1yLcI.js";
15
- import { n as qr, t as Jr } from "./ErrorBoundary-OhtgB5Rj.js";
15
+ import { n as qr, t as Jr } from "./ErrorBoundary-CCi-VkF7.js";
16
16
  import { t as Yr } from "./clsx-CoeGtWvn.js";
17
17
  import { t as Xr } from "./react-dom-BUgJ-ab_.js";
18
18
  import { t as Zr } from "./jsx-runtime-DgDPJV9S.js";
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-ofJbxM4x.js";
3
3
  import { t as n } from "./react-dom-BUgJ-ab_.js";
4
4
  import { c as r, l as i, u as a } from "./data-grid-types-BucVmDDp.js";
5
- import { a as o, i as s, n as c, r as l } from "./glide-data-editor-BGV2Wxxr.js";
5
+ import { a as o, i as s, n as c, r as l } from "./glide-data-editor-dcmP8mKS.js";
6
6
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.2.8_b9e6aec46d952f631ce71b0585d2a8e5/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",
@@ -1,4 +1,4 @@
1
- import { Ft as e, It as t, N as n, Pt as r, b as i, d as a } from "./cells-BLjghRgH.js";
1
+ import { Ft as e, It as t, N as n, Pt as r, b as i, d as a } from "./cells-BIfOnGBK.js";
2
2
  import { C as o } from "./select-C6plhmZr.js";
3
3
  //#region src/core/errors/error-entries.ts
4
4
  function s(n) {
@@ -3,15 +3,15 @@ import { h as t, t as n } from "./button-DdXAm8iz.js";
3
3
  import { t as r } from "./react-ofJbxM4x.js";
4
4
  import { t as i } from "./compiler-runtime-Cj8ZWiNS.js";
5
5
  import { t as a } from "./copy-icon-CLdENY__.js";
6
- import { Bt as o, H as s, Ht as c, L as l, Ot as u, V as d, d as f, hn as p } from "./cells-BLjghRgH.js";
6
+ import { Bt as o, H as s, Ht as c, L as l, Ot as u, V as d, d as f, hn as p } from "./cells-BIfOnGBK.js";
7
7
  import { b as m } from "./select-C6plhmZr.js";
8
- import { n as h, t as ee } from "./globals-DwEI7gcT.js";
8
+ import { n as h, t as ee } from "./globals-fCMBgbAD.js";
9
9
  import { t as g } from "./jsx-runtime-DgDPJV9S.js";
10
10
  import { C as _, _ as te, i as v } from "./useTheme-DzXmYZ5V.js";
11
11
  import { a as ne, i as re, n as ie, r as ae } from "./dialog-CgNq6y9-.js";
12
12
  import { t as oe } from "./useAsyncData-BD6AStMt.js";
13
- import { t as se } from "./code-visibility-fggTIMg0.js";
14
- import { i as ce, n as le } from "./error-entries-CJR74llu.js";
13
+ import { t as se } from "./code-visibility-Bsfqbe2z.js";
14
+ import { i as ce, n as le } from "./error-entries-CR0oClSL.js";
15
15
  //#region src/components/ui/skeleton.tsx
16
16
  var y = /* @__PURE__ */ e(r(), 1), b = i(), x = g(), ue = (e) => {
17
17
  let n = (0, b.c)(8), r, i;
@@ -6,7 +6,7 @@ import { i as s, n as c, r as l } from "./copy-icon-CLdENY__.js";
6
6
  import { C as u, c as d, i as f, n as p, s as m, t as h, x as g } from "./select-C6plhmZr.js";
7
7
  import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-CZgjYSAh.js";
8
8
  import { c as E, d as D, l as O, n as k, o as A, s as ee, t as j, u as te } from "./glide-utils-B3rUT5PI.js";
9
- import { n as ne, t as re } from "./ErrorBoundary-OhtgB5Rj.js";
9
+ import { n as ne, t as re } from "./ErrorBoundary-CCi-VkF7.js";
10
10
  import { t as M } from "./react-dom-BUgJ-ab_.js";
11
11
  import { t as N } from "./jsx-runtime-DgDPJV9S.js";
12
12
  import { t as ie } from "./label-BJ49YTvk.js";
@@ -7062,7 +7062,7 @@ function rs(e, t, n, r, i) {
7062
7062
  }
7063
7063
  //#endregion
7064
7064
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.2.8_b9e6aec46d952f631ce71b0585d2a8e5/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
7065
- var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-BpWTINGo.js")), ss = 0;
7065
+ var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-CJnlWykO.js")), ss = 0;
7066
7066
  function cs(e) {
7067
7067
  return (0, is.default)((0, as.default)((0, as.default)(e).filter((e) => e.span !== void 0).map((e) => (0, Za.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
7068
7068
  }
@@ -9293,7 +9293,7 @@ function Vs(e, t, n, r, i) {
9293
9293
  }
9294
9294
  //#endregion
9295
9295
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.2.8_b9e6aec46d952f631ce71b0585d2a8e5/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
9296
- var Hs = K.lazy(async () => await import("./number-overlay-editor-Cs9TQY6t.js")), Us = {
9296
+ var Hs = K.lazy(async () => await import("./number-overlay-editor-DhNE6pBe.js")), Us = {
9297
9297
  getAccessibilityString: (e) => e.data?.toString() ?? "",
9298
9298
  kind: W.Number,
9299
9299
  needsHover: (e) => e.hoverEffect === !0,
@@ -1,6 +1,6 @@
1
1
  import { g as e } from "./tooltip-qB8NlSqV.js";
2
2
  import { _ as t } from "./useTheme-DzXmYZ5V.js";
3
- import { r as n } from "./code-visibility-fggTIMg0.js";
3
+ import { r as n } from "./code-visibility-Bsfqbe2z.js";
4
4
  var r = e("triangle-alert", [
5
5
  ["path", {
6
6
  d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",