@marimo-team/islands 0.25.3-dev95 → 0.25.3-dev97

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 (57) hide show
  1. package/dist/{ErrorBoundary-Cghv7nv2.js → ErrorBoundary-DrRRjQqE.js} +1 -1
  2. package/dist/{chat-ui-D0jT6WV3.js → chat-ui-BIgPxfPP.js} +5 -4
  3. package/dist/{code-visibility-CLLrmROz.js → code-visibility-B72H-y9s.js} +2 -2
  4. package/dist/{common-BUSxx69_.js → common-Cm_wLVIe.js} +27 -26
  5. package/dist/{data-grid-overlay-editor-CWCIs2Mn.js → data-grid-overlay-editor-DWrrVdAU.js} +1 -1
  6. package/dist/{error-entries-BZiemZfD.js → error-entries-TAO6kEhF.js} +243 -230
  7. package/dist/{feedback-button-Ct9dNjaH.js → feedback-button--tVNH0ec.js} +3 -3
  8. package/dist/{glide-data-editor-D30nP9Xm.js → glide-data-editor-DWkgIB7l.js} +3 -3
  9. package/dist/{globals-B7SyAmCL.js → globals-D3_nrphz.js} +1 -1
  10. package/dist/{html-to-image-DBOTlHF9.js → html-to-image-CWdayGZU.js} +1 -1
  11. package/dist/main.js +1872 -1852
  12. package/dist/{number-overlay-editor-8Y4ehcLw.js → number-overlay-editor-DYj-4eDE.js} +1 -1
  13. package/dist/{process-output-BKLVbFnU.js → process-output-DD-oSvZk.js} +2 -2
  14. package/dist/{reveal-component-D8VAiQY5.js → reveal-component-pH1bfDAz.js} +7 -7
  15. package/package.json +1 -1
  16. package/src/components/app-config/ai-config.tsx +1 -0
  17. package/src/components/chat/acp/blocks.tsx +2 -2
  18. package/src/components/chat/chat-components.tsx +2 -0
  19. package/src/components/chat/chat-panel.tsx +6 -1
  20. package/src/components/data-table/__tests__/column-explorer.test.tsx +27 -1
  21. package/src/components/data-table/charts/__tests__/chart-panel.test.tsx +74 -1
  22. package/src/components/data-table/charts/__tests__/storage.test.ts +4 -1
  23. package/src/components/data-table/charts/charts.tsx +21 -6
  24. package/src/components/data-table/charts/storage.ts +16 -5
  25. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
  26. package/src/components/datasources/__tests__/column-actions.test.tsx +97 -0
  27. package/src/components/datasources/__tests__/column-preview.test.tsx +63 -2
  28. package/src/components/datasources/column-preview.tsx +8 -2
  29. package/src/components/datasources/datasources.tsx +12 -14
  30. package/src/components/debugger/debugger-code.tsx +5 -0
  31. package/src/components/dependency-graph/panels.tsx +2 -1
  32. package/src/components/editor/ai/ai-completion-editor.tsx +1 -0
  33. package/src/components/editor/alerts/startup-logs-alert.tsx +1 -0
  34. package/src/components/editor/cell/DeleteButton.tsx +1 -0
  35. package/src/components/editor/chrome/panels/cache-panel.tsx +1 -0
  36. package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +58 -1
  37. package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +12 -2
  38. package/src/components/editor/notebook-banner.tsx +1 -0
  39. package/src/components/editor/output/ansi-reduce.ts +6 -0
  40. package/src/components/editor/output/console/ConsoleOutput.tsx +11 -7
  41. package/src/components/editor/package-alert.tsx +6 -4
  42. package/src/components/editor/renderers/vertical-layout/sidebar/toggle.tsx +7 -1
  43. package/src/components/mcp/mcp-status-indicator.tsx +1 -1
  44. package/src/components/scratchpad/scratchpad.tsx +2 -2
  45. package/src/components/slides/reveal-component.tsx +4 -2
  46. package/src/components/slides/slide-form.tsx +1 -0
  47. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +4 -0
  48. package/src/core/cells/__tests__/cell.test.ts +39 -0
  49. package/src/core/cells/__tests__/cells.test.ts +3 -1
  50. package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +54 -0
  51. package/src/core/cells/cell.ts +14 -3
  52. package/src/core/cells/cells.ts +1 -0
  53. package/src/core/cells/types.ts +10 -1
  54. package/src/core/codemirror/language/panel/panel.tsx +1 -0
  55. package/src/plugins/impl/RefreshPlugin.tsx +1 -0
  56. package/src/plugins/impl/chat/chat-ui.tsx +2 -1
  57. package/src/stories/button.stories.tsx +1 -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-Ct9dNjaH.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
138
+ var I = (0, T.lazy)(() => import("./feedback-button--tVNH0ec.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,
@@ -3,13 +3,13 @@ import { c as n, g as r, h as i, t as a } from "./button-BxB3RDjN.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 { i as c, t as l } from "./copy-icon-CPoxUG7G.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-DBOTlHF9.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-CWdayGZU.js";
7
7
  import { h as j, t as re } from "./tooltip-CKO1pHJo.js";
8
- import { Ct as ie, Et as ae, Ht as oe, L as se, Lt as ce, Nt as le, St as ue, X as de, cn as fe, ct as pe, dn as me, en as he, et as ge, h as _e, i as ve, ln as ye, mn as be, mt as xe, r as Se, rt as Ce, st as we, t as Te, w as Ee, xt as De } from "./error-entries-BZiemZfD.js";
8
+ import { Ct as ie, Et as ae, Ht as oe, L as se, Lt as ce, Nt as le, St as ue, X as de, cn as fe, ct as pe, dn as me, en as he, et as ge, h as _e, i as ve, ln as ye, mn as be, mt as xe, r as Se, rt as Ce, st as we, t as Te, w as Ee, xt as De } from "./error-entries-TAO6kEhF.js";
9
9
  import { A as Oe, C as ke, M as Ae, b as je } from "./select-B0LRDH0g.js";
10
10
  import { _ as Me, f as Ne, h as Pe, i as Fe, n as Ie, t as Le } from "./dropdown-menu-B_7xD2X4.js";
11
11
  import { C as Re, d as ze } from "./toDate-DKH0_kMo.js";
12
- import { d as Be, f as Ve, i as He, n as Ue, t as We, u as Ge } from "./process-output-BKLVbFnU.js";
12
+ import { d as Be, f as Ve, i as He, n as Ue, t as We, u as Ge } from "./process-output-DD-oSvZk.js";
13
13
  import { t as Ke } from "./jsx-runtime-3BD1kT0s.js";
14
14
  import { A as qe, C as Je, D as Ye, E as Xe, F as Ze, L as Qe, M as $e, O as et, P as tt, R as nt, S as rt, T as it, V as at, b as ot, j as st, v as ct, w as lt, x as ut, y as dt, z as ft } from "./use-restore-focus-DBCITLeF.js";
15
15
  import { n as pt } from "./error-banner-Sl2FlSJ4.js";
@@ -5543,6 +5543,7 @@ var Gs = (e) => {
5543
5543
  /* @__PURE__ */ (0, q.jsx)("div", {
5544
5544
  className: "absolute top-0 right-0 flex justify-end z-10 border border-(--slate-6) bg-inherit rounded-bl-lg",
5545
5545
  children: /* @__PURE__ */ (0, q.jsx)(a, {
5546
+ "aria-label": "Reset chat",
5546
5547
  variant: "text",
5547
5548
  size: "icon",
5548
5549
  disabled: k.length === 0,
@@ -5596,7 +5597,7 @@ var Gs = (e) => {
5596
5597
  children: /* @__PURE__ */ (0, q.jsx)(m, { className: "h-3 w-3 text-(--red-9)" })
5597
5598
  })]
5598
5599
  })]
5599
- }, `${e.id}-${t}`);
5600
+ }, e.id);
5600
5601
  }),
5601
5602
  se && /* @__PURE__ */ (0, q.jsx)("div", {
5602
5603
  className: "flex items-center justify-center mb-4",
@@ -1,6 +1,6 @@
1
1
  import { g as e } from "./button-BxB3RDjN.js";
2
2
  import { t } from "./compiler-runtime-CldRdSsv.js";
3
- import { G as n, K as r } from "./error-entries-BZiemZfD.js";
3
+ import { G as n, K as r } from "./error-entries-TAO6kEhF.js";
4
4
  import { C as i } from "./select-B0LRDH0g.js";
5
5
  import { _ as a, c as o, x as s, y as c } from "./toDate-DKH0_kMo.js";
6
6
  import { C as l, E as u, a as d, b as f } from "./useTheme-CfeaVw5D.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.25.3-dev95", C = u(S), w = u(!0);
21
+ var S = x() || "0.25.3-dev97", 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-sHtZdjeP.js";
4
4
  import { t as f } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { i as p, n as m, r as h, t as g } from "./copy-icon-CPoxUG7G.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 L, s as R, t as z, u as B, v as ee, w as V, y as te, z as ne } from "./html-to-image-DBOTlHF9.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 L, s as R, t as z, u as B, v as ee, w as V, y as te, z as ne } from "./html-to-image-CWdayGZU.js";
7
7
  import { a as re, d as ie, h as H, n as ae, o as oe, r as se, t as U } from "./tooltip-CKO1pHJo.js";
8
- import { $ as ce, A as le, D as ue, Et as de, F as fe, G as pe, Ht as me, I as he, J as ge, K as _e, L as ve, Ot as ye, Rt as be, T as xe, Ut as Se, V as Ce, Xt as we, Yt as Te, Zt as Ee, _t as De, an as Oe, at as ke, b as Ae, c as je, cn as Me, dn as Ne, en as Pe, gn as Fe, gt as Ie, h as Le, hn as Re, l as ze, ln as Be, lt as Ve, mn as He, mt as Ue, on as We, ot as Ge, rn as Ke, st as qe, t as Je, un as Ye, vt as Xe, w as Ze, x as Qe, y as $e } from "./error-entries-BZiemZfD.js";
8
+ import { $ as ce, A as le, D as ue, Et as de, F as fe, G as pe, Ht as me, I as he, J as ge, K as _e, L as ve, Ot as ye, Rt as be, T as xe, Ut as Se, V as Ce, Xt as we, Yt as Te, Zt as Ee, _t as De, an as Oe, at as ke, b as Ae, c as je, cn as Me, dn as Ne, en as Pe, gn as Fe, gt as Ie, h as Le, hn as Re, l as ze, ln as Be, lt as Ve, mn as He, mt as Ue, on as We, ot as Ge, rn as Ke, st as qe, t as Je, un as Ye, vt as Xe, w as Ze, x as Qe, y as $e } from "./error-entries-TAO6kEhF.js";
9
9
  import { c as et, i as tt, r as nt } from "./useLifecycle-Dum8WSXq.js";
10
10
  import { a as rt, i as it, n as at, o as ot, r as st, t as ct } from "./useDateFormatter-c_yJtkAe.js";
11
11
  import { t as lt } from "./check-P35dc2dH.js";
12
12
  import { A as ut, C as dt, M as ft, O as pt, S as mt, _ as ht, b as gt, c as _t, d as vt, g as yt, h as bt, i as xt, l as St, m as Ct, n as wt, p as Tt, s as Et, t as Dt, u as Ot, v as kt, y as At } from "./select-B0LRDH0g.js";
13
13
  import { $ as jt, $t as Mt, A as Nt, At as Pt, B as Ft, Bt as It, Ct as Lt, D as Rt, Dt as zt, E as Bt, Et as Vt, F as Ht, Ft as Ut, G as Wt, Gt, H as Kt, Ht as qt, I as Jt, It as Yt, J as Xt, Jt as Zt, Kt as Qt, L as $t, Lt as en, M as tn, Mt as nn, N as rn, Nt as an, O as on, Ot as sn, P as cn, Pt as ln, Q as un, Qt as dn, R as fn, Rt as pn, S as mn, St as hn, T as gn, Tt as _n, U as vn, Ut as yn, V as bn, Vt as xn, W as Sn, Wt as Cn, X as wn, Xt as Tn, Y as En, Yt as Dn, Z as On, Zt as kn, _ as An, _n as jn, _t as Mn, a as Nn, an as Pn, at as Fn, b as In, bt as Ln, cn as Rn, ct as zn, d as Bn, dn as Vn, en as Hn, et as Un, f as Wn, fn as Gn, ft as Kn, gn as qn, gt as Jn, h as Yn, hn as Xn, ht as Zn, i as Qn, in as $n, it as er, j as tr, jt as nr, k as rr, kt as ir, l as ar, ln as or, lt as sr, mn as cr, mt as lr, n as ur, nn as dr, nt as fr, o as pr, ot as mr, pn as hr, pt as gr, qt as _r, rn as vr, rt as yr, s as br, sn as xr, st as Sr, t as Cr, tt as wr, u as Tr, ut as Er, vn as Dr, vt as Or, w as kr, wt as Ar, x as jr, xt as Mr, y as Nr, yn as Pr, yt as Fr, z as Ir, zt as Lr } from "./dropdown-menu-B_7xD2X4.js";
14
14
  import { a as Rr, c as zr, d as Br, i as Vr, l as Hr, n as Ur, o as Wr, r as Gr, t as Kr, v as qr, x as Jr, y as Yr } from "./toDate-DKH0_kMo.js";
15
- import { n as Xr, t as Zr } from "./ErrorBoundary-Cghv7nv2.js";
15
+ import { n as Xr, t as Zr } from "./ErrorBoundary-DrRRjQqE.js";
16
16
  import { t as Qr } from "./clsx-CoeGtWvn.js";
17
17
  import { t as $r } from "./react-dom-DUmH0GXv.js";
18
18
  import { t as ei } from "./jsx-runtime-3BD1kT0s.js";
@@ -28054,7 +28054,7 @@ var uB = "slide", dB = "slide", fB = "center", pB = 36, mB = Pe("marimo:slides:c
28054
28054
  children: [b, D]
28055
28055
  }), t[36] = b, t[37] = D, t[38] = O) : O = t[38], O;
28056
28056
  }, TB = (e) => {
28057
- let t = (0, J.c)(30), { configWidth: n, layout: r, setLayout: i, activeConfigCell: o } = e, [s, c] = Wi(mB), l = s ? n : pB, d;
28057
+ let t = (0, J.c)(31), { configWidth: n, layout: r, setLayout: i, activeConfigCell: o } = e, [s, c] = Wi(mB), l = s ? n : pB, d;
28058
28058
  t[0] === l ? d = t[1] : (d = { width: l }, t[0] = l, t[1] = d);
28059
28059
  let f = s ? "justify-between px-2" : "justify-center px-0", p;
28060
28060
  t[2] === f ? p = t[3] : (p = a("flex items-center h-9 shrink-0 border-b border-border/60", f), t[2] = f, t[3] = p);
@@ -28063,32 +28063,33 @@ var uB = "slide", dB = "slide", fB = "center", pB = 36, mB = Pe("marimo:slides:c
28063
28063
  className: "text-xs font-medium uppercase tracking-wide text-muted-foreground pl-1",
28064
28064
  children: "Configuration"
28065
28065
  }), t[4] = s, t[5] = m);
28066
- let h = s ? "Collapse panel" : "Expand panel", g;
28067
- t[6] === c ? g = t[7] : (g = () => c(jB), t[6] = c, t[7] = g);
28068
- let _;
28069
- t[8] === s ? _ = t[9] : (_ = s ? /* @__PURE__ */ (0, q.jsx)(ro, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, q.jsx)(io, { className: "h-4 w-4" }), t[8] = s, t[9] = _);
28066
+ let h = s ? "Collapse panel" : "Expand panel", g = s ? "Collapse panel" : "Expand panel", _;
28067
+ t[6] === c ? _ = t[7] : (_ = () => c(jB), t[6] = c, t[7] = _);
28070
28068
  let v;
28071
- t[10] !== s || t[11] !== g || t[12] !== _ ? (v = /* @__PURE__ */ (0, q.jsx)(u, {
28069
+ t[8] === s ? v = t[9] : (v = s ? /* @__PURE__ */ (0, q.jsx)(ro, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, q.jsx)(io, { className: "h-4 w-4" }), t[8] = s, t[9] = v);
28070
+ let y;
28071
+ t[10] !== s || t[11] !== g || t[12] !== _ || t[13] !== v ? (y = /* @__PURE__ */ (0, q.jsx)(u, {
28072
+ "aria-label": g,
28072
28073
  variant: "ghost",
28073
28074
  size: "icon",
28074
28075
  className: "h-7 w-7 text-muted-foreground hover:text-foreground",
28075
- onClick: g,
28076
+ onClick: _,
28076
28077
  "aria-expanded": s,
28077
28078
  "aria-controls": "slide-config-panel",
28078
- children: _
28079
- }), t[10] = s, t[11] = g, t[12] = _, t[13] = v) : v = t[13];
28080
- let y;
28081
- t[14] !== h || t[15] !== v ? (y = /* @__PURE__ */ (0, q.jsx)(U, {
28082
- content: h,
28083
28079
  children: v
28084
- }), t[14] = h, t[15] = v, t[16] = y) : y = t[16];
28080
+ }), t[10] = s, t[11] = g, t[12] = _, t[13] = v, t[14] = y) : y = t[14];
28085
28081
  let b;
28086
- t[17] !== y || t[18] !== p || t[19] !== m ? (b = /* @__PURE__ */ (0, q.jsxs)("header", {
28087
- className: p,
28088
- children: [m, y]
28089
- }), t[17] = y, t[18] = p, t[19] = m, t[20] = b) : b = t[20];
28082
+ t[15] !== y || t[16] !== h ? (b = /* @__PURE__ */ (0, q.jsx)(U, {
28083
+ content: h,
28084
+ children: y
28085
+ }), t[15] = y, t[16] = h, t[17] = b) : b = t[17];
28090
28086
  let x;
28091
- t[21] !== o || t[22] !== s || t[23] !== r || t[24] !== i ? (x = s && /* @__PURE__ */ (0, q.jsx)("div", {
28087
+ t[18] !== b || t[19] !== p || t[20] !== m ? (x = /* @__PURE__ */ (0, q.jsxs)("header", {
28088
+ className: p,
28089
+ children: [m, b]
28090
+ }), t[18] = b, t[19] = p, t[20] = m, t[21] = x) : x = t[21];
28091
+ let S;
28092
+ t[22] !== o || t[23] !== s || t[24] !== r || t[25] !== i ? (S = s && /* @__PURE__ */ (0, q.jsx)("div", {
28092
28093
  id: "slide-config-panel",
28093
28094
  className: "flex-1 overflow-y-auto overflow-x-hidden",
28094
28095
  children: o ? /* @__PURE__ */ (0, q.jsx)(yB, {
@@ -28102,15 +28103,15 @@ var uB = "slide", dB = "slide", fB = "center", pB = 36, mB = Pe("marimo:slides:c
28102
28103
  children: "No slides yet"
28103
28104
  }), /* @__PURE__ */ (0, q.jsx)("p", { children: "Run a cell that produces output to add it to the deck. Slide settings will appear here once a slide is selected." })]
28104
28105
  })
28105
- }), t[21] = o, t[22] = s, t[23] = r, t[24] = i, t[25] = x) : x = t[25];
28106
- let S;
28107
- return t[26] !== b || t[27] !== x || t[28] !== d ? (S = /* @__PURE__ */ (0, q.jsxs)("aside", {
28106
+ }), t[22] = o, t[23] = s, t[24] = r, t[25] = i, t[26] = S) : S = t[26];
28107
+ let C;
28108
+ return t[27] !== x || t[28] !== S || t[29] !== d ? (C = /* @__PURE__ */ (0, q.jsxs)("aside", {
28108
28109
  className: "h-full flex flex-col border-l border-border/60 bg-muted/20 transition-[width] duration-200 ease-out overflow-hidden",
28109
28110
  style: d,
28110
28111
  "aria-label": "Slide configuration",
28111
28112
  onKeyDown: AB,
28112
- children: [b, x]
28113
- }), t[26] = b, t[27] = x, t[28] = d, t[29] = S) : S = t[29], S;
28113
+ children: [x, S]
28114
+ }), t[27] = x, t[28] = S, t[29] = d, t[30] = C) : C = t[30], C;
28114
28115
  };
28115
28116
  function EB(e) {
28116
28117
  return /* @__PURE__ */ (0, q.jsx)(lw, { children: e }, e);
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
3
  import { t as n } from "./react-dom-DUmH0GXv.js";
4
4
  import { c as r, l as i, u as a } from "./data-grid-types-0PJ-9N5n.js";
5
- import { a as o, i as s, n as c, r as l } from "./glide-data-editor-D30nP9Xm.js";
5
+ import { a as o, i as s, n as c, r as l } from "./glide-data-editor-DWkgIB7l.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.3.0_27cffe7f1bc30287d59ac27db3240c5b/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",