@marimo-team/islands 0.25.3-dev90 → 0.25.3-dev92

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 (53) hide show
  1. package/dist/{ErrorBoundary-WEuPfhPN.js → ErrorBoundary-Bp6Cm6jU.js} +1 -1
  2. package/dist/assets/__vite-browser-external-35VXYmnw.js +1 -0
  3. package/dist/assets/{worker-HPY9fbhz.js → worker-Dq8y-WM5.js} +2 -2
  4. package/dist/{chat-ui-C9S_7vEJ.js → chat-ui-DvyHgEfl.js} +3 -3
  5. package/dist/{code-visibility-CkaxR52c.js → code-visibility-BS6srmOi.js} +2 -2
  6. package/dist/{common-Bup9Kvl8.js → common-Ci4xUkZe.js} +6 -6
  7. package/dist/{data-grid-overlay-editor-C5w1IH12.js → data-grid-overlay-editor-3Xwrzd6B.js} +1 -1
  8. package/dist/{error-entries-Cmiq1RT-.js → error-entries-5MYC7UoK.js} +1 -1
  9. package/dist/{feedback-button-BPs1eKrG.js → feedback-button-Btjd18-4.js} +3 -3
  10. package/dist/{glide-data-editor-N7KqIucY.js → glide-data-editor-CfaicMD0.js} +3 -3
  11. package/dist/{globals-DU0QsoBg.js → globals-C2faijKH.js} +1 -1
  12. package/dist/{html-to-image-Dc3mTXAs.js → html-to-image-DvvwId4p.js} +1 -1
  13. package/dist/main.js +13 -13
  14. package/dist/{number-overlay-editor-sigDUEyk.js → number-overlay-editor-wlCw5SbP.js} +1 -1
  15. package/dist/{process-output-C47Xs8_M.js → process-output-BfUEswoe.js} +2 -2
  16. package/dist/{reveal-component-CiNxMAMB.js → reveal-component-COKTwTRj.js} +3 -3
  17. package/package.json +1 -1
  18. package/src/components/chat/acp/__tests__/state.test.ts +2 -2
  19. package/src/components/data-table/cell-selection/feature.ts +2 -2
  20. package/src/components/data-table/cell-selection/types.ts +2 -2
  21. package/src/components/data-table/column-summary/column-summary.tsx +2 -4
  22. package/src/components/editor/SortableCell.tsx +1 -3
  23. package/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx +1 -7
  24. package/src/components/editor/chrome/wrapper/storage.ts +1 -1
  25. package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
  26. package/src/components/icons/spinner.tsx +1 -1
  27. package/src/components/ui/alert-dialog.tsx +1 -1
  28. package/src/core/ai/context/providers/datasource.ts +6 -2
  29. package/src/core/cells/session.ts +1 -1
  30. package/src/core/codemirror/__tests__/setup.test.ts +1 -1
  31. package/src/core/codemirror/keymaps/vim.ts +2 -6
  32. package/src/core/codemirror/language/languages/markdown.ts +1 -1
  33. package/src/core/codemirror/language/languages/python.ts +3 -3
  34. package/src/core/kernel/__tests__/RuntimeState.test.ts +1 -1
  35. package/src/core/wasm/bridge.ts +2 -2
  36. package/src/core/wasm/store.ts +3 -3
  37. package/src/core/wasm/worker/bootstrap.ts +1 -1
  38. package/src/core/wasm/worker/getMarimoWheel.ts +1 -1
  39. package/src/plugins/impl/CodeEditorPlugin.tsx +1 -1
  40. package/src/plugins/impl/RangeSliderPlugin.tsx +0 -1
  41. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +1 -1
  42. package/src/plugins/impl/data-explorer/state/reducer.ts +1 -1
  43. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +0 -1
  44. package/src/plugins/impl/panel/PanelPlugin.tsx +1 -1
  45. package/src/plugins/impl/vega/make-selectable.ts +1 -1
  46. package/src/plugins/layout/RoutesPlugin.tsx +1 -1
  47. package/src/stories/form-wrapper.stories.tsx +2 -2
  48. package/src/stories/select.stories.tsx +2 -2
  49. package/src/stories/switchable-multi-select.stories.tsx +1 -1
  50. package/src/utils/__tests__/batch-requests.test.ts +3 -3
  51. package/src/utils/blob.ts +1 -1
  52. package/src/utils/zod-utils.ts +1 -3
  53. package/dist/assets/__vite-browser-external-BXYkiFsk.js +0 -1
@@ -3,14 +3,14 @@ import { h as t, t as n } from "./button-BxB3RDjN.js";
3
3
  import { t as r } from "./react-sHtZdjeP.js";
4
4
  import { t as i } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { t as a } from "./copy-icon-CPoxUG7G.js";
6
- import { Dt as o, G as s, It as c, K as l, Rt as u, V as d, dn as f, h as p, i as m, n as h } from "./error-entries-Cmiq1RT-.js";
6
+ import { Dt as o, G as s, It as c, K as l, Rt as u, V as d, dn as f, h as p, i as m, n as h } from "./error-entries-5MYC7UoK.js";
7
7
  import { b as g } from "./select-B0LRDH0g.js";
8
- import { n as ee, t as te } from "./globals-DU0QsoBg.js";
8
+ import { n as ee, t as te } from "./globals-C2faijKH.js";
9
9
  import { t as _ } from "./jsx-runtime-3BD1kT0s.js";
10
10
  import { C as v, _ as ne, i as y } from "./useTheme-DympCsQg.js";
11
11
  import { a as re, i as ie, n as ae, r as oe } from "./dialog-C1PcpCqX.js";
12
12
  import { t as se } from "./useAsyncData-ChgNtdmE.js";
13
- import { t as ce } from "./code-visibility-CkaxR52c.js";
13
+ import { t as ce } from "./code-visibility-BS6srmOi.js";
14
14
  //#region src/components/ui/skeleton.tsx
15
15
  var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), le = (e) => {
16
16
  let n = (0, x.c)(8), r, i;
@@ -6,7 +6,7 @@ import { i as s, n as c, r as l } from "./copy-icon-CPoxUG7G.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-B0LRDH0g.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-B3eUiVJB.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-Bt8_pBa2.js";
9
- import { n as ne, t as re } from "./ErrorBoundary-WEuPfhPN.js";
9
+ import { n as ne, t as re } from "./ErrorBoundary-Bp6Cm6jU.js";
10
10
  import { t as ie } from "./react-dom-DUmH0GXv.js";
11
11
  import { t as M } from "./jsx-runtime-3BD1kT0s.js";
12
12
  import { t as N } from "./label-BRnUC0NX.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.3.0_27cffe7f1bc30287d59ac27db3240c5b/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-C5w1IH12.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-3Xwrzd6B.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.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
9296
- var Hs = K.lazy(async () => await import("./number-overlay-editor-sigDUEyk.js")), Us = {
9296
+ var Hs = K.lazy(async () => await import("./number-overlay-editor-wlCw5SbP.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 { h as e } from "./tooltip-CKO1pHJo.js";
2
2
  import { _ as t } from "./useTheme-DympCsQg.js";
3
- import { r as n } from "./code-visibility-CkaxR52c.js";
3
+ import { r as n } from "./code-visibility-BS6srmOi.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",
@@ -5,7 +5,7 @@ import { t as l } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { n as u, t as d } from "./copy-icon-CPoxUG7G.js";
6
6
  import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-DKplTrBY.js";
7
7
  import { c as _, h as v, l as y, s as b, t as x, u as ee } from "./tooltip-CKO1pHJo.js";
8
- import { A as te, Ct as ne, Et as re, H as ie, M as ae, P as oe, Pt as se, Qt as ce, St as le, Tt as ue, U as de, Y as fe, a as pe, bt as me, d as he, it as ge, pt as _e, tn as ve, tt as ye, xt as be, y as xe, yt as Se } from "./error-entries-Cmiq1RT-.js";
8
+ import { A as te, Ct as ne, Et as re, H as ie, M as ae, P as oe, Pt as se, Qt as ce, St as le, Tt as ue, U as de, Y as fe, a as pe, bt as me, d as he, it as ge, pt as _e, tn as ve, tt as ye, xt as be, y as xe, yt as Se } from "./error-entries-5MYC7UoK.js";
9
9
  import { M as Ce, O as we, k as Te } from "./select-B0LRDH0g.js";
10
10
  import { ft as Ee, q as De } from "./dropdown-menu-B3eUiVJB.js";
11
11
  import { m as Oe, y as ke } from "./toDate-C6BRw8i5.js";
package/dist/main.js CHANGED
@@ -3,20 +3,20 @@ import { _ as a, c as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p,
3
3
  import { t as v } from "./react-sHtZdjeP.js";
4
4
  import { t as y } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { i as b, n as x, r as S, t as C } from "./copy-icon-CPoxUG7G.js";
6
- import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as z, j as B, k as ee, n as te, o as ne, q as re, v as ie, y as ae } from "./html-to-image-Dc3mTXAs.js";
6
+ import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as z, j as B, k as ee, n as te, o as ne, q as re, v as ie, y as ae } from "./html-to-image-DvvwId4p.js";
7
7
  import { a as oe, d as se, f as ce, h as V, i as le, n as ue, o as de, r as fe, t as pe } from "./tooltip-CKO1pHJo.js";
8
- import { $t as me, At as he, B as ge, Bt as _e, D as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Jt as Te, Kt as Ee, M as De, Mt as Oe, N as ke, O as Ae, Ot as je, Q as Me, R as Ne, S as Pe, Ut as Fe, V as Ie, Vt as Le, W as Re, Y as ze, Yt as Be, Z as Ve, _ as He, b as Ue, bt as We, cn as Ge, dt as Ke, en as qe, f as Je, fn as Ye, ft as Xe, g as Ze, gn as Qe, gt as $e, h as et, hn as tt, ht as nt, in as rt, j as it, jt as at, k as ot, kt as st, ln as ct, m as lt, nn as ut, nt as dt, o as ft, p as pt, pn as mt, q as ht, qt as gt, rt as _t, s as vt, sn as yt, st as bt, tn as xt, u as St, un as Ct, ut as wt, v as Tt, wt as Et, y as Dt, z as Ot, zt as kt } from "./error-entries-Cmiq1RT-.js";
8
+ import { $t as me, At as he, B as ge, Bt as _e, D as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Jt as Te, Kt as Ee, M as De, Mt as Oe, N as ke, O as Ae, Ot as je, Q as Me, R as Ne, S as Pe, Ut as Fe, V as Ie, Vt as Le, W as Re, Y as ze, Yt as Be, Z as Ve, _ as He, b as Ue, bt as We, cn as Ge, dt as Ke, en as qe, f as Je, fn as Ye, ft as Xe, g as Ze, gn as Qe, gt as $e, h as et, hn as tt, ht as nt, in as rt, j as it, jt as at, k as ot, kt as st, ln as ct, m as lt, nn as ut, nt as dt, o as ft, p as pt, pn as mt, q as ht, qt as gt, rt as _t, s as vt, sn as yt, st as bt, tn as xt, u as St, un as Ct, ut as wt, v as Tt, wt as Et, y as Dt, z as Ot, zt as kt } from "./error-entries-5MYC7UoK.js";
9
9
  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-C-LRKGtT.js";
10
- import { $ as nn, $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Ct as un, D as dn, Dt as fn, E as pn, Et as mn, F as hn, Ft as gn, G as _n, Gt as vn, H as yn, Ht as bn, I as xn, It as Sn, J as Cn, Jt as wn, K as Tn, Kt as En, L as Dn, Lt as On, M as kn, Mt as An, N as jn, Nt as Mn, O as Nn, Ot as Pn, P as Fn, Pt as In, Qt as Ln, R as Rn, Rt as zn, S as Bn, St as Vn, T as Hn, Tt as Un, U as Wn, Ut as Gn, V as Kn, Vt as qn, W as Jn, Wt as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, at as nr, b as rr, c as ir, cn as ar, ct as or, d as sr, dn as cr, dt as lr, en as ur, et as dr, f as fr, fn as pr, ft as mr, g as hr, gt as gr, h as _r, ht as vr, in as yr, it as br, j as xr, jt as Sr, k as Cr, kt as wr, ln as Tr, lt as Er, m as Dr, mn as Or, mt as kr, nn as Ar, nt as jr, on as Mr, ot as Nr, p as Pr, pn as Fr, pt as Ir, q as Lr, qt as Rr, r as zr, rn as Br, rt as Vr, sn as Hr, st as Ur, t as Wr, tn as Gr, tt as Kr, u as qr, un as Jr, ut as Yr, v as Xr, vt as Zr, w as Qr, wt as $r, x as ei, xt as ti, y as ni, z as ri, zt as ii } from "./common-Bup9Kvl8.js";
10
+ import { $ as nn, $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Ct as un, D as dn, Dt as fn, E as pn, Et as mn, F as hn, Ft as gn, G as _n, Gt as vn, H as yn, Ht as bn, I as xn, It as Sn, J as Cn, Jt as wn, K as Tn, Kt as En, L as Dn, Lt as On, M as kn, Mt as An, N as jn, Nt as Mn, O as Nn, Ot as Pn, P as Fn, Pt as In, Qt as Ln, R as Rn, Rt as zn, S as Bn, St as Vn, T as Hn, Tt as Un, U as Wn, Ut as Gn, V as Kn, Vt as qn, W as Jn, Wt as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, at as nr, b as rr, c as ir, cn as ar, ct as or, d as sr, dn as cr, dt as lr, en as ur, et as dr, f as fr, fn as pr, ft as mr, g as hr, gt as gr, h as _r, ht as vr, in as yr, it as br, j as xr, jt as Sr, k as Cr, kt as wr, ln as Tr, lt as Er, m as Dr, mn as Or, mt as kr, nn as Ar, nt as jr, on as Mr, ot as Nr, p as Pr, pn as Fr, pt as Ir, q as Lr, qt as Rr, r as zr, rn as Br, rt as Vr, sn as Hr, st as Ur, t as Wr, tn as Gr, tt as Kr, u as qr, un as Jr, ut as Yr, v as Xr, vt as Zr, w as Qr, wt as $r, x as ei, xt as ti, y as ni, z as ri, zt as ii } from "./common-Ci4xUkZe.js";
11
11
  import { c as ai, i as oi, n as si, o as ci, t as li } from "./useLifecycle-VVmz_24o.js";
12
12
  import { t as ui } from "./check-P35dc2dH.js";
13
13
  import { A as di, C as fi, D as pi, E as mi, M as hi, O as gi, S as _i, T as vi, a as yi, b as bi, c as xi, i as Si, k as Ci, l as wi, n as Ti, o as Ei, r as Di, s as Oi, t as ki, w as Ai, x as ji } from "./select-B0LRDH0g.js";
14
14
  import { At as Mi, C as Ni, Dt as Pi, J as Fi, K as Ii, R as Li, S as Ri, U as zi, X as Bi, Y as Vi, _ as Hi, a as Ui, c as Wi, dt as Gi, et as Ki, f as qi, g as Ji, h as Yi, ht as Xi, i as Zi, m as Qi, n as $i, p as ea, q as ta, r as na, s as ra, t as ia, v as aa, vn as oa, x as sa, yn as ca, z as la } from "./dropdown-menu-B3eUiVJB.js";
15
15
  import { C as ua, _ as da, a as fa, b as pa, c as ma, f as ha, h as ga, m as _a, p as va, s as ya, u as ba, x as xa, y as Sa } from "./toDate-C6BRw8i5.js";
16
- import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-C47Xs8_M.js";
16
+ import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-BfUEswoe.js";
17
17
  import { a as Pa, c as Fa, d as Ia, i as La, l as Ra, r as za, u as Ba } from "./glide-utils-Bt8_pBa2.js";
18
- import { n as Va, t as Ha } from "./ErrorBoundary-WEuPfhPN.js";
19
- import { n as Ua, t as Wa } from "./globals-DU0QsoBg.js";
18
+ import { n as Va, t as Ha } from "./ErrorBoundary-Bp6Cm6jU.js";
19
+ import { n as Ua, t as Wa } from "./globals-C2faijKH.js";
20
20
  import { t as Ga } from "./react-dom-DUmH0GXv.js";
21
21
  import { t as Ka } from "./jsx-runtime-3BD1kT0s.js";
22
22
  import { B as qa, C as H, Ct as Ja, D as Ya, E as Xa, F as U, G as Za, H as Qa, I as $a, L as eo, M as W, N as to, O as no, P as ro, Q as io, R as ao, S as G, St as oo, Tt as so, U as co, W as lo, Y as uo, Z as fo, _ as po, _t as mo, a as ho, b as go, bt as _o, c as vo, d as yo, f as bo, g as xo, h as So, ht as Co, i as wo, j as K, k as To, l as Eo, m as Do, n as Oo, o as ko, p as Ao, r as jo, s as Mo, u as No, ut as Po, v as Fo, vt as Io, w as Lo, wt as Ro, x as zo, xt as Bo, y as Vo, yt as Ho } from "./use-restore-focus-DBCITLeF.js";
@@ -39,7 +39,7 @@ import { t as Ms } from "./useAsyncData-ChgNtdmE.js";
39
39
  import { i as Ns, n as Ps, r as Fs } from "./formats-ZmooA-MD.js";
40
40
  import { D as Is, O as Ls } from "./vega-loader.browser-B9Pz0EGP.js";
41
41
  import { a as Rs, n as zs } from "./loader-Bm8cy3e8.js";
42
- import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-CkaxR52c.js";
42
+ import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-BS6srmOi.js";
43
43
  import { t as Js } from "./useDeepCompareMemoize-Bet7kSsI.js";
44
44
  import { t as Ys } from "./esm-D2gTsXEV.js";
45
45
  //#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
@@ -10062,7 +10062,7 @@ var LS = (e) => {
10062
10062
  }, t[2] = e.setValue, t[3] = e.value, t[4] = l, t[5] = f, t[6] = p) : p = t[6];
10063
10063
  let { onChange: m } = Ii(p), h;
10064
10064
  t[7] !== e || t[8] !== m ? (h = (t) => {
10065
- s((e) => t), typeof e.debounce == "number" ? m(t) : e.debounce || e.setValue(t);
10065
+ s(t), typeof e.debounce == "number" ? m(t) : e.debounce || e.setValue(t);
10066
10066
  }, t[7] = e, t[8] = m, t[9] = h) : h = t[9];
10067
10067
  let g = ts(h), _, v;
10068
10068
  t[10] === e.value ? (_ = t[11], v = t[12]) : (_ = () => {
@@ -10112,7 +10112,7 @@ var LS = (e) => {
10112
10112
  output: t
10113
10113
  };
10114
10114
  } };
10115
- } }, US = J.lazy(() => import("./chat-ui-C9S_7vEJ.js").then((e) => ({ default: e.Chatbot }))), WS = G(W({
10115
+ } }, US = J.lazy(() => import("./chat-ui-DvyHgEfl.js").then((e) => ({ default: e.Chatbot }))), WS = G(W({
10116
10116
  id: U(),
10117
10117
  role: Fo([
10118
10118
  "system",
@@ -10578,7 +10578,7 @@ function VC(e, t) {
10578
10578
  }
10579
10579
  //#endregion
10580
10580
  //#region src/plugins/impl/DataEditorPlugin.tsx
10581
- var HC = J.lazy(() => import("./glide-data-editor-N7KqIucY.js").then((e) => e.t)), UC = wS("marimo-data-editor", { cssStyles: [qS] }).withData(W({
10581
+ var HC = J.lazy(() => import("./glide-data-editor-CfaicMD0.js").then((e) => e.t)), UC = wS("marimo-data-editor", { cssStyles: [qS] }).withData(W({
10582
10582
  initialValue: W({ edits: G(W({
10583
10583
  rowIdx: K(),
10584
10584
  columnId: U(),
@@ -23513,7 +23513,7 @@ var tN = (/* @__PURE__ */ i(((e) => {
23513
23513
  }, t[4] = o, t[5] = u);
23514
23514
  let d = ts(u), f, p;
23515
23515
  if (t[6] === d ? (f = t[7], p = t[8]) : (f = () => {
23516
- let e = (e) => {
23516
+ let e = () => {
23517
23517
  d(window.location);
23518
23518
  };
23519
23519
  return window.addEventListener("hashchange", e), window.addEventListener("popstate", e), () => {
@@ -30291,7 +30291,7 @@ function BR(e) {
30291
30291
  }
30292
30292
  //#endregion
30293
30293
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
30294
- var VR = J.lazy(() => import("./reveal-component-CiNxMAMB.js")), HR = (e) => {
30294
+ var VR = J.lazy(() => import("./reveal-component-COKTwTRj.js")), HR = (e) => {
30295
30295
  let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = ns(da), s = a === "read" || o, c = ns(He) > 1, [l, u] = (0, J.useState)(null), d;
30296
30296
  t[0] !== i || t[1] !== n ? (d = RP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
30297
30297
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
@@ -32323,7 +32323,7 @@ function JB(e, t) {
32323
32323
  }
32324
32324
  //#endregion
32325
32325
  //#region src/core/islands/worker/worker.tsx?worker&url
32326
- var YB = "/assets/worker-HPY9fbhz.js", XB = class {
32326
+ var YB = "/assets/worker-Dq8y-WM5.js", XB = class {
32327
32327
  url;
32328
32328
  name;
32329
32329
  constructor(e = {}) {
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
- import { a as n } from "./glide-data-editor-N7KqIucY.js";
3
+ import { a as n } from "./glide-data-editor-CfaicMD0.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.0_27cffe7f1bc30287d59ac27db3240c5b/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,6 +1,6 @@
1
- import { O as e } from "./html-to-image-Dc3mTXAs.js";
1
+ import { O as e } from "./html-to-image-DvvwId4p.js";
2
2
  import { h as t } from "./tooltip-CKO1pHJo.js";
3
- import { C as n, w as r } from "./error-entries-Cmiq1RT-.js";
3
+ import { C as n, w as r } from "./error-entries-5MYC7UoK.js";
4
4
  import { b as i } from "./select-B0LRDH0g.js";
5
5
  import { n as a } from "./semaphore-89jsoHtS.js";
6
6
  var o = t("file", [["path", {
@@ -3,15 +3,15 @@ import { c as t, g as n, h as r, m 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 { h as c, t as l } from "./tooltip-CKO1pHJo.js";
6
- import { O as u } from "./error-entries-Cmiq1RT-.js";
7
- import { Q as d, X as f, Z as p, an as m, cn as h, i as g, in as _, l as v, n as y, r as b, t as x, u as S } from "./common-Bup9Kvl8.js";
6
+ import { O as u } from "./error-entries-5MYC7UoK.js";
7
+ import { Q as d, X as f, Z as p, an as m, cn as h, i as g, in as _, l as v, n as y, r as b, t as x, u as S } from "./common-Ci4xUkZe.js";
8
8
  import { M as C } from "./select-B0LRDH0g.js";
9
9
  import { q as ee } from "./dropdown-menu-B3eUiVJB.js";
10
10
  import { _ as w } from "./toDate-C6BRw8i5.js";
11
11
  import { t as T } from "./jsx-runtime-3BD1kT0s.js";
12
12
  import { q as E } from "./use-restore-focus-DBCITLeF.js";
13
13
  import { A as D, C as O, b as k } from "./useTheme-DympCsQg.js";
14
- import { a as A, n as te, t as ne } from "./code-visibility-CkaxR52c.js";
14
+ import { a as A, n as te, t as ne } from "./code-visibility-BS6srmOi.js";
15
15
  /* empty css */
16
16
  var j = c("sticky-note", [["path", {
17
17
  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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.25.3-dev90",
3
+ "version": "0.25.3-dev92",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -74,7 +74,7 @@ describe("state utility functions", () => {
74
74
  const newState = addSession(initialState, session);
75
75
 
76
76
  // Remove the dynamic tabId for snapshot comparison
77
- const { tabId, ...sessionWithoutId } = newState.sessions[0];
77
+ const { tabId: _tabId, ...sessionWithoutId } = newState.sessions[0];
78
78
  expect({
79
79
  ...newState,
80
80
  sessions: [sessionWithoutId],
@@ -116,7 +116,7 @@ describe("state utility functions", () => {
116
116
  const newState = addSession(initialState, newSession);
117
117
 
118
118
  // Remove dynamic tabId for snapshot
119
- const { tabId, ...sessionWithoutId } = newState.sessions[0];
119
+ const { tabId: _tabId, ...sessionWithoutId } = newState.sessions[0];
120
120
  expect({
121
121
  ...newState,
122
122
  sessions: [sessionWithoutId],
@@ -98,7 +98,7 @@ export const CellSelectionFeature: TableFeature = {
98
98
  ]);
99
99
  } else {
100
100
  // This cell becomes the single selected cell
101
- table.setCellSelection((_) => [
101
+ table.setCellSelection(() => [
102
102
  {
103
103
  rowId: rowId,
104
104
  columnName: columnName,
@@ -115,7 +115,7 @@ export const CellSelectionFeature: TableFeature = {
115
115
  );
116
116
  } else {
117
117
  // Clear the selection
118
- table.setCellSelection((_) => []);
118
+ table.setCellSelection(() => []);
119
119
  }
120
120
  }
121
121
  };
@@ -30,7 +30,7 @@ export interface CellSelectionCell {
30
30
  }
31
31
 
32
32
  // These are additional properties add to the table instance in createTable
33
- export interface CellSelectionInstance<TData extends RowData> {
33
+ export interface CellSelectionInstance {
34
34
  setCellSelection?: (updater: Updater<CellSelectionState>) => void;
35
35
 
36
36
  resetCellSelection?(defaultValue?: CellSelectionState): void;
@@ -44,7 +44,7 @@ declare module "@tanstack/react-table" {
44
44
  TData extends RowData,
45
45
  > extends CellSelectionOptions {}
46
46
 
47
- interface Table<TData extends RowData> extends CellSelectionInstance<TData> {}
47
+ interface Table<TData extends RowData> extends CellSelectionInstance {}
48
48
 
49
49
  interface Cell<TData extends RowData, TValue> extends CellSelectionCell {}
50
50
  }
@@ -16,7 +16,7 @@ export const ColumnChartContext = React.createContext<
16
16
  ColumnChartSpecModel<unknown>
17
17
  >(ColumnChartSpecModel.EMPTY);
18
18
 
19
- interface Props<TData, TValue> {
19
+ interface Props {
20
20
  columnId: string;
21
21
  }
22
22
 
@@ -24,9 +24,7 @@ interface Props<TData, TValue> {
24
24
  // for all calls with the same key.
25
25
  const batchedLoader = createBatchedLoader();
26
26
 
27
- export const TableColumnSummary = <TData, TValue>({
28
- columnId,
29
- }: Props<TData, TValue>) => {
27
+ export const TableColumnSummary = ({ columnId }: Props) => {
30
28
  const { locale } = useLocale();
31
29
 
32
30
  const chartSpecModel = React.use(ColumnChartContext);
@@ -71,7 +71,6 @@ export const SortableCell = React.forwardRef(
71
71
  return (
72
72
  <SortableCellInternal
73
73
  ref={ref}
74
- cellId={cellId}
75
74
  canMoveX={canMoveX}
76
75
  {...props}
77
76
  attributes={attributes}
@@ -86,7 +85,7 @@ export const SortableCell = React.forwardRef(
86
85
  );
87
86
  SortableCell.displayName = "SortableCell";
88
87
 
89
- interface SortableCellInternalProps extends Props {
88
+ interface SortableCellInternalProps extends Omit<Props, "cellId"> {
90
89
  children: React.ReactNode;
91
90
  attributes: DraggableAttributes;
92
91
  listeners: SyntheticListenerMap | undefined;
@@ -99,7 +98,6 @@ interface SortableCellInternalProps extends Props {
99
98
  const SortableCellInternal = React.forwardRef(
100
99
  (
101
100
  {
102
- cellId,
103
101
  canMoveX,
104
102
  children,
105
103
  attributes,
@@ -26,13 +26,7 @@ import { isWasm } from "@/core/wasm/utils";
26
26
  import { cn } from "@/utils/cn";
27
27
  import { FooterItem } from "../footer-item";
28
28
 
29
- interface RuntimeSettingsProps {
30
- className?: string;
31
- }
32
-
33
- export const RuntimeSettings: React.FC<RuntimeSettingsProps> = ({
34
- className,
35
- }) => {
29
+ export const RuntimeSettings: React.FC = () => {
36
30
  const { saveUserConfig } = useRequestClient();
37
31
  const [config, setUserConfig] = useResolvedMarimoConfig();
38
32
 
@@ -15,7 +15,7 @@ let storedValue: string | null = null;
15
15
  */
16
16
  export function createStorage(location: "left" | "bottom"): PanelGroupStorage {
17
17
  return {
18
- getItem(name) {
18
+ getItem(_name) {
19
19
  if (!storedValue) {
20
20
  return storedValue ?? null;
21
21
  }
@@ -274,7 +274,7 @@ export const replaceTracebackFilenames = (domNode: DOMNode) => {
274
274
  return (
275
275
  <div
276
276
  className="inline-block cursor-pointer text-destructive hover:underline"
277
- onClick={(_) => {
277
+ onClick={() => {
278
278
  getRequestClient().openFile({
279
279
  path: info.filePath,
280
280
  lineNumber: info.lineNumber,
@@ -25,7 +25,7 @@ const spinnerVariants = cva("animate-spin", {
25
25
  const Spinner = React.forwardRef<
26
26
  SVGSVGElement,
27
27
  React.SVGProps<SVGSVGElement> & VariantProps<typeof spinnerVariants>
28
- >(({ className, children, centered, size, ...props }, ref) => (
28
+ >(({ className, children: _children, centered, size, ...props }, ref) => (
29
29
  <Loader2Icon
30
30
  ref={ref}
31
31
  className={cn(spinnerVariants({ centered, size }), className)}
@@ -28,7 +28,7 @@ AlertDialogPortal.displayName = AlertDialogPrimitive.Portal.displayName;
28
28
  const AlertDialogOverlay = React.forwardRef<
29
29
  React.ElementRef<typeof AlertDialogPrimitive.Overlay>,
30
30
  React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>
31
- >(({ className, children, ...props }, ref) => (
31
+ >(({ className, children: _children, ...props }, ref) => (
32
32
  <AlertDialogPrimitive.Overlay
33
33
  className={cn(
34
34
  "fixed inset-0 z-50 bg-background/80 backdrop-blur-xs transition-opacity animate-in fade-in",
@@ -98,8 +98,12 @@ export class DatasourceContextProvider extends AIContextProvider<DatasourceConte
98
98
  public formatContext(item: DatasourceContextItem): string {
99
99
  const data = item.data;
100
100
  // Remove certain fields that are not needed in the context
101
- const { name, display_name, source, ...filteredDatasource } =
102
- data.connection;
101
+ const {
102
+ name,
103
+ display_name: _displayName,
104
+ source: _source,
105
+ ...filteredDatasource
106
+ } = data.connection;
103
107
 
104
108
  let datasource = filteredDatasource;
105
109
  const isInternalEngine = INTERNAL_SQL_ENGINES.has(name as ConnectionName);
@@ -56,7 +56,7 @@ function mergeSessionAndNotebookCells(
56
56
  return {
57
57
  cellIds,
58
58
  sessionCellData: new Map(
59
- cellIds.map((id, idx) => [id, null] as [CellId, SessionCell | null]),
59
+ cellIds.map((id) => [id, null] as [CellId, SessionCell | null]),
60
60
  ),
61
61
  notebookCellData: new Map(
62
62
  cellIds.map(
@@ -100,7 +100,7 @@ function getDuplicateKeymaps(state: EditorState) {
100
100
  (keymap) => keymap,
101
101
  );
102
102
  const duplicates = Objects.fromEntries(
103
- Object.entries(groupBy).filter(([key, value]) => value.length > 1),
103
+ Object.entries(groupBy).filter(([_key, value]) => value.length > 1),
104
104
  );
105
105
  return duplicates;
106
106
  }
@@ -369,7 +369,7 @@ class CodeMirrorVimSync {
369
369
  // We use onIdle to keep the focused editor snappy
370
370
  onIdle(() => {
371
371
  if (!skipBroadcast) {
372
- this.broadcastModeChange(instance, e.mode, e.subMode);
372
+ this.broadcastModeChange(instance, e.mode);
373
373
  }
374
374
  this.isBroadcasting = false;
375
375
  });
@@ -380,11 +380,7 @@ class CodeMirrorVimSync {
380
380
  this.instances.delete(instance);
381
381
  }
382
382
 
383
- public broadcastModeChange(
384
- originInstance: EditorView,
385
- mode: string,
386
- subMode?: string,
387
- ) {
383
+ public broadcastModeChange(originInstance: EditorView, mode: string) {
388
384
  invariant(
389
385
  "exitInsertMode" in Vim,
390
386
  "Vim does not have an exitInsertMode method",
@@ -73,7 +73,7 @@ export class MarkdownLanguageAdapter implements LanguageAdapter<MarkdownLanguage
73
73
  _cellId: CellId,
74
74
  _completionConfig: CompletionConfig,
75
75
  hotkeys: HotkeyProvider,
76
- _: PlaceholderType,
76
+ _placeholderType: PlaceholderType,
77
77
  ): Extension[] {
78
78
  const markdownLanguageData = markdown().language.data;
79
79
  let view: EditorView | undefined;
@@ -157,7 +157,7 @@ const pylspClient = once((lspConfig: LSPConfig) => {
157
157
  return notebookClient;
158
158
  });
159
159
 
160
- const tyLspClient = once((_: LSPConfig) => {
160
+ const tyLspClient = once((_config: LSPConfig) => {
161
161
  // oxlint-disable-next-line prefer-const -- reassigned after closure capture
162
162
  let resyncCallback: (() => Promise<void>) | undefined;
163
163
 
@@ -176,7 +176,7 @@ const tyLspClient = once((_: LSPConfig) => {
176
176
  const notebookClient = new NotebookLanguageServerClient(
177
177
  new LanguageServerClient({
178
178
  ...lspClientOpts,
179
- getWorkspaceConfiguration: (_) => [{ disableLanguageServices: true }],
179
+ getWorkspaceConfiguration: () => [{ disableLanguageServices: true }],
180
180
  }),
181
181
  {},
182
182
  );
@@ -226,7 +226,7 @@ const pyreflyClient = once(
226
226
  },
227
227
  );
228
228
 
229
- const pyrightClient = once((_: LSPConfig) => {
229
+ const pyrightClient = once((_config: LSPConfig) => {
230
230
  // oxlint-disable-next-line prefer-const -- reassigned after closure capture
231
231
  let resyncCallback: (() => Promise<void>) | undefined;
232
232
 
@@ -25,7 +25,7 @@ describe("RuntimeState", () => {
25
25
 
26
26
  beforeEach(() => {
27
27
  vi.clearAllMocks();
28
- mockSendComponentValues = vi.fn((args) => Promise.resolve(null));
28
+ mockSendComponentValues = vi.fn(() => Promise.resolve(null));
29
29
  uiElementRegistry = UIElementRegistry.INSTANCE;
30
30
  uiElementRegistry.entries.clear();
31
31
 
@@ -407,7 +407,7 @@ export class PyodideBridge implements RunRequests, EditRequests {
407
407
  return response as Snippets;
408
408
  };
409
409
 
410
- public openFile: EditRequests["openFile"] = async ({ path }) => {
410
+ public openFile: EditRequests["openFile"] = async () => {
411
411
  const url = createShareableLink({
412
412
  code: null,
413
413
  baseUrl: window.location.origin,
@@ -451,7 +451,7 @@ export class PyodideBridge implements RunRequests, EditRequests {
451
451
  return null;
452
452
  };
453
453
 
454
- public sendInstantiate: RunRequests["sendInstantiate"] = async (request) => {
454
+ public sendInstantiate: RunRequests["sendInstantiate"] = async () => {
455
455
  return null;
456
456
  };
457
457
 
@@ -41,7 +41,7 @@ const urlFileStore: FileStore = {
41
41
  };
42
42
 
43
43
  export const domElementFileStore: FileStore = {
44
- saveFile(contents: string) {
44
+ saveFile(_contents: string) {
45
45
  // Do nothing
46
46
  },
47
47
  readFile() {
@@ -54,7 +54,7 @@ export const domElementFileStore: FileStore = {
54
54
  };
55
55
 
56
56
  const remoteDefaultFileStore: FileStore = {
57
- saveFile(contents: string) {
57
+ saveFile(_contents: string) {
58
58
  // Do nothing
59
59
  },
60
60
  readFile() {
@@ -79,7 +79,7 @@ export const mountConfigFileStore: FileStore = {
79
79
  };
80
80
 
81
81
  const emptyFileStore: FileStore = {
82
- saveFile(contents: string) {
82
+ saveFile(_contents: string) {
83
83
  // Do nothing
84
84
  },
85
85
  readFile() {
@@ -85,7 +85,7 @@ export class DefaultWasmController implements WasmController {
85
85
  packages: [
86
86
  "micropip",
87
87
  "msgspec",
88
- getMarimoWheel(opts.version),
88
+ getMarimoWheel(),
89
89
  "Markdown",
90
90
  "pymdown-extensions",
91
91
  "narwhals",
@@ -1,6 +1,6 @@
1
1
  /* Copyright 2026 Marimo. All rights reserved. */
2
2
 
3
- export function getMarimoWheel(version: string) {
3
+ export function getMarimoWheel() {
4
4
  if (import.meta.env.DEV && import.meta.env.VITE_WASM_MARIMO_PREBUILT_WHEEL) {
5
5
  return "marimo-base";
6
6
  }
@@ -71,7 +71,7 @@ const CodeEditorComponent = (props: CodeEditorComponentProps) => {
71
71
  });
72
72
 
73
73
  const handleChange = useEvent((newValue: string) => {
74
- setLocalValue((_) => newValue);
74
+ setLocalValue(newValue);
75
75
  if (typeof props.debounce === "number") {
76
76
  setValueDebounced(newValue);
77
77
  } else if (!props.debounce) {
@@ -74,7 +74,6 @@ const RangeSliderComponent = ({
74
74
  start,
75
75
  stop,
76
76
  step,
77
- steps,
78
77
  debounce,
79
78
  orientation,
80
79
  showValue,
@@ -47,7 +47,7 @@ const ConnectedDataExplorerComponent = (props: DataTableProps): JSX.Element => {
47
47
  // Subscribe to the store
48
48
  const unsub = store.sub(chartSpecAtom, () => {
49
49
  const value = store.get(chartSpecAtom);
50
- const { schema, ...withoutSchema } = value;
50
+ const { schema: _schema, ...withoutSchema } = value;
51
51
  props.setValue(withoutSchema);
52
52
  });
53
53
 
@@ -47,7 +47,7 @@ const { valueAtom: chartSpecAtom, useActions } = createReducerAndAtoms(
47
47
  },
48
48
  set: (state, next: ChartSpec) => {
49
49
  // remove schema
50
- const { schema, ...rest } = next;
50
+ const { schema: _schema, ...rest } = next;
51
51
  return { ...state, ...rest };
52
52
  },
53
53
  },
@@ -192,7 +192,6 @@ const EMPTY: Transformations = {
192
192
  export const DataFrameComponent = memo(
193
193
  ({
194
194
  columns,
195
- dataframeName,
196
195
  pageSize,
197
196
  showDownload,
198
197
  lazy,
@@ -78,7 +78,7 @@ type T = Record<string, unknown>;
78
78
 
79
79
  // oxlint-disable-next-line typescript/consistent-type-definitions
80
80
  type PluginFunctions = {
81
- send_to_widget: <T>(req: {
81
+ send_to_widget: (req: {
82
82
  message?: unknown;
83
83
  buffers?: unknown;
84
84
  }) => Promise<null | undefined>;
@@ -219,7 +219,7 @@ function removeSpecificParamsFromNestedSpecs(
219
219
  }
220
220
 
221
221
  if (filteredParams.length === 0) {
222
- const { params, ...rest } = spec;
222
+ const { params: _params, ...rest } = spec;
223
223
  return rest as SpecWithParams;
224
224
  }
225
225
 
@@ -56,7 +56,7 @@ const RoutesComponent = ({
56
56
 
57
57
  useEffect(() => {
58
58
  // Listen for route changes
59
- const listener = (e: PopStateEvent | HashChangeEvent) => {
59
+ const listener = () => {
60
60
  handleFindMatch(window.location);
61
61
  };
62
62
  window.addEventListener("hashchange", listener);