@marimo-team/islands 0.25.1-dev39 → 0.25.1-dev40

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.
@@ -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-6s5xxLjI.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
138
+ var I = (0, T.lazy)(() => import("./feedback-button-B0QSkbSp.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,
@@ -27402,7 +27402,7 @@ var { reducer: ux, addMiddleware: dx, createActions: fx, useActions: px, valueAt
27402
27402
  mimetype: n.mimetype,
27403
27403
  data: n.data,
27404
27404
  timestamp: n.timestamp,
27405
- response: r
27405
+ response: n.mimetype === "text/password" ? "" : r
27406
27406
  }, {
27407
27407
  ...e,
27408
27408
  interrupted: !1,
@@ -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-CcfkLMrx.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-CGVgroef.js";
7
7
  import { g as j, t as re } from "./tooltip-qB8NlSqV.js";
8
- import { $ as ie, $t as ae, It as oe, K as se, Mt as ce, N as le, St as ue, Vt as de, X as fe, _t as pe, b as me, cn as he, d as ge, it as _e, pn as ve, rt as ye, sn as be, un as xe, ut as Se, vt as Ce, yt as we } from "./cells-Cksce8br.js";
8
+ import { $ as ie, $t as ae, It as oe, K as se, Mt as ce, N as le, St as ue, Vt as de, X as fe, _t as pe, b as me, cn as he, d as ge, it as _e, pn as ve, rt as ye, sn as be, un as xe, ut as Se, vt as Ce, yt as we } from "./cells-Cv93oav_.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 { T as Fe, p as Ie } from "./toDate-C67bxMWn.js";
12
- import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-C6apL85F.js";
12
+ import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-CGfg-JmZ.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-CvCFdpY2.js";
25
+ import { i as It, r as Lt, t as Rt } from "./error-entries-DLl0XqoW.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 { H as n, V as r } from "./cells-Cksce8br.js";
3
+ import { H as n, V as r } from "./cells-Cv93oav_.js";
4
4
  import { C as i } from "./select-C6plhmZr.js";
5
5
  import { C as a, d as o, x as s, y as c } from "./toDate-C67bxMWn.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.25.1-dev39", C = u(S), w = u(!0);
21
+ var S = x() || "0.25.1-dev40", 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-CcfkLMrx.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-CGVgroef.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, E as pe, H as me, Ht as he, Jt as ge, L as _e, Lt as ve, M as ye, N as be, St as xe, V as Se, Vt as Ce, W as we, Xt as Te, Y as Ee, Yt as De, _ as Oe, a as ke, an as Ae, at as je, cn as Me, d as Ne, ft as Pe, g as Fe, h as Ie, hn as Le, i as Re, in as ze, j as Be, ln as Ve, mt as He, nn as Ue, nt as We, pn as Ge, pt as Ke, rt as qe, sn as Je, tt as Ye, un as Xe, ut as Ze, wt as Qe, x as $e } from "./cells-Cksce8br.js";
8
+ import { $t as de, C as fe, E as pe, H as me, Ht as he, Jt as ge, L as _e, Lt as ve, M as ye, N as be, St as xe, V as Se, Vt as Ce, W as we, Xt as Te, Y as Ee, Yt as De, _ as Oe, a as ke, an as Ae, at as je, cn as Me, d as Ne, ft as Pe, g as Fe, h as Ie, hn as Le, i as Re, in as ze, j as Be, ln as Ve, mt as He, nn as Ue, nt as We, pn as Ge, pt as Ke, rt as qe, sn as Je, tt as Ye, un as Xe, ut as Ze, wt as Qe, x as $e } from "./cells-Cv93oav_.js";
9
9
  import { c as et, i as tt, r as nt } from "./useLifecycle-DPgiiwwU.js";
10
10
  import { a as rt, i as it, n as at, o as ot, r as st, t as ct } from "./useDateFormatter-BRTPsUK7.js";
11
11
  import { t as lt } from "./check-B7cIK6gb.js";
12
12
  import { A as ut, C as dt, D as ft, M as pt, O as mt, S as ht, _ as gt, b as _t, c as vt, d as yt, g as bt, h as xt, i 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-C6plhmZr.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, Jt as Xt, K 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, _t as jn, a as Mn, an as Nn, b as Pn, bt as Fn, cn as In, ct as Ln, d as Rn, dn as zn, dt as Bn, en as Vn, et as Hn, f as Un, fn as Wn, ft as Gn, gt as Kn, h as qn, ht as Jn, i as Yn, it as Xn, j as Zn, jt as Qn, k as $n, kt as er, l as tr, ln as nr, lt as rr, mt as ir, n as ar, nn as or, nt as sr, o as cr, on as lr, ot as ur, pn as dr, pt as fr, qt as pr, rn as mr, rt as hr, s as gr, sn as _r, st as vr, t as yr, tn as br, tt as xr, u as Sr, un as Cr, ut as wr, vt as Tr, w as Er, wt as Dr, x as Or, xt as kr, y as Ar, yt as jr, z as Mr, zt as Nr } from "./dropdown-menu-CZgjYSAh.js";
14
14
  import { C as Pr, a as Fr, b as Ir, c as Lr, d as Rr, i as zr, n as Br, o as Vr, p as Hr, r as Ur, s as Wr, t as Gr, x as Kr } from "./toDate-C67bxMWn.js";
15
- import { n as qr, t as Jr } from "./ErrorBoundary-CuBqNKY7.js";
15
+ import { n as qr, t as Jr } from "./ErrorBoundary-CAJO-M56.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-B-AyJh7L.js";
5
+ import { a as o, i as s, n as c, r as l } from "./glide-data-editor-ymIQdwrb.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 { At as e, N as t, b as n, d as r, jt as i, kt as a } from "./cells-Cksce8br.js";
1
+ import { At as e, N as t, b as n, d as r, jt as i, kt as a } from "./cells-Cv93oav_.js";
2
2
  import { C as o } from "./select-C6plhmZr.js";
3
3
  //#region src/core/errors/error-entries.ts
4
4
  function s(t) {
@@ -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 { Ct as o, Ft as s, H as c, L as l, Lt as u, V as d, d as f, un as p } from "./cells-Cksce8br.js";
6
+ import { Ct as o, Ft as s, H as c, L as l, Lt as u, V as d, d as f, un as p } from "./cells-Cv93oav_.js";
7
7
  import { b as m } from "./select-C6plhmZr.js";
8
- import { n as h, t as ee } from "./globals-CCN7VOqA.js";
8
+ import { n as h, t as ee } from "./globals-B0S3-e_D.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-D8dGgFIC.js";
14
- import { i as ce, n as le } from "./error-entries-CvCFdpY2.js";
13
+ import { t as se } from "./code-visibility-XU9RAJNV.js";
14
+ import { i as ce, n as le } from "./error-entries-DLl0XqoW.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-CuBqNKY7.js";
9
+ import { n as ne, t as re } from "./ErrorBoundary-CAJO-M56.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-B5axus1j.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-BnhbJgoq.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-BHgOp_RF.js")), Us = {
9296
+ var Hs = K.lazy(async () => await import("./number-overlay-editor-DB3HJDI1.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-D8dGgFIC.js";
3
+ import { r as n } from "./code-visibility-XU9RAJNV.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-Cj8ZWiNS.js";
5
5
  import { n as u, t as d } from "./copy-icon-CLdENY__.js";
6
6
  import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-DrWbKnxA.js";
7
7
  import { c as _, d as v, g as y, l as b, s as x, t as ee, u as te } from "./tooltip-qB8NlSqV.js";
8
- import { A as ne, E as re, G as ie, Nt as ae, O as oe, R as se, St as ce, Z as le, Zt as ue, _t as de, en as fe, et as pe, gt as me, h as he, ht as ge, lt as _e, s as ve, t as ye, vt as be, xt as xe, yt as Se, z as Ce } from "./cells-Cksce8br.js";
8
+ import { A as ne, E as re, G as ie, Nt as ae, O as oe, R as se, St as ce, Z as le, Zt as ue, _t as de, en as fe, et as pe, gt as me, h as he, ht as ge, lt as _e, s as ve, t as ye, vt as be, xt as xe, yt as Se, z as Ce } from "./cells-Cv93oav_.js";
9
9
  import { M as we, O as Te, k as Ee } from "./select-C6plhmZr.js";
10
10
  import { J as De, ht as Oe } from "./dropdown-menu-CZgjYSAh.js";
11
11
  import { g as ke, x as Ae } from "./toDate-C67bxMWn.js";
package/dist/main.js CHANGED
@@ -3,20 +3,20 @@ import { _ as a, c as o, f 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-ofJbxM4x.js";
4
4
  import { t as b } from "./compiler-runtime-Cj8ZWiNS.js";
5
5
  import { i as x, n as S, r as C, t as w } from "./copy-icon-CLdENY__.js";
6
- import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-CcfkLMrx.js";
6
+ import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-CGVgroef.js";
7
7
  import { a as se, f as ce, g as V, i as le, n as ue, o as de, p as fe, r as pe, t as me } from "./tooltip-qB8NlSqV.js";
8
- import { $ as he, $t as ge, B as _e, Bt as ve, C as ye, Ct as be, D as xe, Dt as Se, Et as Ce, F as we, G as Te, Gt as Ee, Ht as De, I as Oe, J as ke, Jt as Ae, Kt as je, L as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, Rt as ze, S as Be, St as Ve, T as He, Tt as Ue, U as We, W as Ge, Wt as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, f as tt, fn as nt, ft as rt, g as it, gt as at, h as ot, hn as st, k as ct, l as lt, ln as ut, m as dt, mn as ft, n as pt, o as mt, on as ht, ot as gt, p as _t, q as vt, qt as yt, r as bt, rn as xt, rt as St, sn as Ct, st as wt, tn as Tt, u as Et, v as Dt, w as Ot, wt as kt, zt as At } from "./cells-Cksce8br.js";
8
+ import { $ as he, $t as ge, B as _e, Bt as ve, C as ye, Ct as be, D as xe, Dt as Se, Et as Ce, F as we, G as Te, Gt as Ee, Ht as De, I as Oe, J as ke, Jt as Ae, Kt as je, L as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, Rt as ze, S as Be, St as Ve, T as He, Tt as Ue, U as We, W as Ge, Wt as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, f as tt, fn as nt, ft as rt, g as it, gt as at, h as ot, hn as st, k as ct, l as lt, ln as ut, m as dt, mn as ft, n as pt, o as mt, on as ht, ot as gt, p as _t, q as vt, qt as yt, r as bt, rn as xt, rt as St, sn as Ct, st as wt, tn as Tt, u as Et, v as Dt, w as Ot, wt as kt, zt as At } from "./cells-Cv93oav_.js";
9
9
  import { D as jt, E as Mt, O as Nt, S as Pt, T as Ft, _ as It, a as Lt, c as Rt, d as zt, f as Bt, g as Vt, h as Ht, i as Ut, l as Wt, m as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as Xt, t as Zt, u as Qt, v as $t, w as en, x as tn, y as nn } from "./spec-CAYwFeV6.js";
10
- import { $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, X as Xn, Xt as Zn, Y as Qn, Yt as $n, Zt as er, _ as tr, _t as nr, an as rr, at as ir, b as ar, c as or, cn as sr, ct as cr, d as lr, dn as ur, dt as dr, en as fr, et as pr, f as mr, fn as hr, ft as gr, g as _r, gt as vr, h as yr, hn as br, ht as xr, in as Sr, it as Cr, j as wr, jt as Tr, k as Er, kt as Dr, ln as Or, lt as kr, m as Ar, mn as jr, mt as Mr, nn as Nr, nt as Pr, ot as Fr, p as Ir, pn as Lr, pt as Rr, q as zr, qt as Br, r as Vr, rn as Hr, rt as Ur, sn as Wr, st as Gr, t as Kr, tn as qr, tt as Jr, u as Yr, un as Xr, ut as Zr, v as Qr, vt as $r, w as ei, wt as ti, x as ni, y as ri, yt as ii, z as ai, zt as oi } from "./common-BdDoDaNE.js";
10
+ import { $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, X as Xn, Xt as Zn, Y as Qn, Yt as $n, Zt as er, _ as tr, _t as nr, an as rr, at as ir, b as ar, c as or, cn as sr, ct as cr, d as lr, dn as ur, dt as dr, en as fr, et as pr, f as mr, fn as hr, ft as gr, g as _r, gt as vr, h as yr, hn as br, ht as xr, in as Sr, it as Cr, j as wr, jt as Tr, k as Er, kt as Dr, ln as Or, lt as kr, m as Ar, mn as jr, mt as Mr, nn as Nr, nt as Pr, ot as Fr, p as Ir, pn as Lr, pt as Rr, q as zr, qt as Br, r as Vr, rn as Hr, rt as Ur, sn as Wr, st as Gr, t as Kr, tn as qr, tt as Jr, u as Yr, un as Xr, ut as Zr, v as Qr, vt as $r, w as ei, wt as ti, x as ni, y as ri, yt as ii, z as ai, zt as oi } from "./common-C0fbrgB8.js";
11
11
  import { c as si, i as ci, n as li, o as ui, t as di } from "./useLifecycle-DPgiiwwU.js";
12
12
  import { t as fi } from "./check-B7cIK6gb.js";
13
13
  import { A as pi, C as mi, D as hi, E as gi, M as _i, O as vi, S as yi, T as bi, a as xi, b as Si, c as Ci, i as wi, k as Ti, l as Ei, n as Di, o as Oi, r as ki, s as Ai, t as ji, w as Mi, x as Ni } from "./select-C6plhmZr.js";
14
14
  import { B as Pi, C as Fi, J as Ii, Mt as Li, Nt as Ri, S as zi, Vt as Bi, W as Vi, _ as Hi, a as Ui, at as Wi, c as Gi, dt as Ki, f as qi, fn as Ji, g as Yi, h as Xi, i as Zi, it as Qi, m as $i, n as ea, p as ta, pn as na, q as ra, r as ia, s as aa, t as oa, v as sa, vt as ca, x as la, z as ua } from "./dropdown-menu-CZgjYSAh.js";
15
15
  import { C as da, S as fa, T as pa, _ as ma, c as ha, d as ga, f as _a, g as va, h as ya, m as ba, u as xa, x as Sa, y as Ca } from "./toDate-C67bxMWn.js";
16
- import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-C6apL85F.js";
16
+ import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-CGfg-JmZ.js";
17
17
  import { a as Fa, c as Ia, d as La, i as Ra, l as za, r as Ba, u as Va } from "./glide-utils-B3rUT5PI.js";
18
- import { n as Ha, t as Ua } from "./ErrorBoundary-CuBqNKY7.js";
19
- import { n as Wa, t as Ga } from "./globals-CCN7VOqA.js";
18
+ import { n as Ha, t as Ua } from "./ErrorBoundary-CAJO-M56.js";
19
+ import { n as Wa, t as Ga } from "./globals-B0S3-e_D.js";
20
20
  import { t as Ka } from "./react-dom-BUgJ-ab_.js";
21
21
  import { t as qa } from "./jsx-runtime-DgDPJV9S.js";
22
22
  import { B as Ja, C as H, Ct as Ya, D as Xa, E as Za, Et as Qa, F as U, G as $a, H as eo, I as to, L as no, M as W, N as ro, O as io, P as ao, Q as oo, R as so, S as G, St as co, Tt as lo, U as uo, W as fo, Y as po, Z as mo, _ as ho, a as go, b as _o, bt as vo, c as yo, d as bo, dt as xo, f as So, g as Co, gt as wo, h as To, i as Eo, j as K, k as Do, l as Oo, m as ko, n as Ao, o as jo, p as Mo, r as No, s as Po, u as Fo, v as Io, vt as Lo, w as Ro, wt as zo, x as Bo, xt as Vo, y as Ho, yt as Uo } from "./use-restore-focus-D5D9xEjZ.js";
@@ -40,7 +40,7 @@ import { t as Ns } from "./useAsyncData-BD6AStMt.js";
40
40
  import { i as Ps, n as Fs, r as Is } from "./formats-Cl_67ghI.js";
41
41
  import { M as Ls, N as Rs } from "./vega-loader.browser-DNST6uVf.js";
42
42
  import { a as zs, n as Bs } from "./loader-DEZSzvma.js";
43
- import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-D8dGgFIC.js";
43
+ import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-XU9RAJNV.js";
44
44
  import { t as Ys } from "./useDeepCompareMemoize-D_HNdyvI.js";
45
45
  import { t as Xs } from "./esm-BElI3qKH.js";
46
46
  //#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
@@ -9992,7 +9992,7 @@ var PS = (e) => {
9992
9992
  output: t
9993
9993
  };
9994
9994
  } };
9995
- } }, BS = J.lazy(() => import("./chat-ui-ruucqBTA.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
9995
+ } }, BS = J.lazy(() => import("./chat-ui-DLSF8a04.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
9996
9996
  id: U(),
9997
9997
  role: Io([
9998
9998
  "system",
@@ -10458,7 +10458,7 @@ function RC(e, t) {
10458
10458
  }
10459
10459
  //#endregion
10460
10460
  //#region src/plugins/impl/DataEditorPlugin.tsx
10461
- var zC = J.lazy(() => import("./glide-data-editor-B-AyJh7L.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
10461
+ var zC = J.lazy(() => import("./glide-data-editor-ymIQdwrb.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
10462
10462
  initialValue: W({ edits: G(W({
10463
10463
  rowIdx: K(),
10464
10464
  columnId: U(),
@@ -29935,7 +29935,7 @@ function bR(e) {
29935
29935
  }
29936
29936
  //#endregion
29937
29937
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
29938
- var xR = J.lazy(() => import("./reveal-component-Bvc7KCBA.js")), SR = (e) => {
29938
+ var xR = J.lazy(() => import("./reveal-component-CfTzIkA2.js")), SR = (e) => {
29939
29939
  let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = rs(Ca), s = a === "read" || o, c = rs(_t) > 1, [l, u] = (0, J.useState)(null), d;
29940
29940
  t[0] !== i || t[1] !== n ? (d = vP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
29941
29941
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
@@ -30417,26 +30417,26 @@ var zR = (e) => {
30417
30417
  children: [k, ee]
30418
30418
  }), t[59] = O, t[60] = k, t[61] = ee, t[62] = z) : z = t[62], z;
30419
30419
  }, VR = (e) => {
30420
- let t = (0, X.c)(25), { value: n, setValue: r, inputHistory: i, output: a, isPassword: o, isPdb: s, onSubmit: c, onClear: l } = e, { navigateUp: u, navigateDown: d, addToHistory: f } = i, p;
30420
+ let t = (0, X.c)(26), { value: n, setValue: r, inputHistory: i, output: a, isPassword: o, isPdb: s, onSubmit: c, onClear: l } = e, { navigateUp: u, navigateDown: d, addToHistory: f } = i, p;
30421
30421
  t[0] === a ? p = t[1] : (p = UR(a), t[0] = a, t[1] = p);
30422
30422
  let m = o ? "password" : "text", h;
30423
30423
  t[2] === r ? h = t[3] : (h = (e) => r(e.target.value), t[2] = r, t[3] = h);
30424
30424
  let g;
30425
30425
  t[4] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, Y.jsx)(na, { className: "w-5 h-5" }), t[4] = g) : g = t[4];
30426
30426
  let _;
30427
- t[5] !== f || t[6] !== d || t[7] !== u || t[8] !== c || t[9] !== r || t[10] !== n ? (_ = (e) => {
30428
- if (e.key === "ArrowUp") {
30427
+ t[5] !== f || t[6] !== o || t[7] !== d || t[8] !== u || t[9] !== c || t[10] !== r || t[11] !== n ? (_ = (e) => {
30428
+ if (!o && e.key === "ArrowUp") {
30429
30429
  u(), e.preventDefault();
30430
30430
  return;
30431
30431
  }
30432
- if (e.key === "ArrowDown") {
30432
+ if (!o && e.key === "ArrowDown") {
30433
30433
  d(), e.preventDefault();
30434
30434
  return;
30435
30435
  }
30436
- e.key === "Enter" && !e.shiftKey && (n && f(n), c(n), r(""), e.preventDefault(), e.stopPropagation()), e.key === "Enter" && e.metaKey && (e.preventDefault(), e.stopPropagation());
30437
- }, t[5] = f, t[6] = d, t[7] = u, t[8] = c, t[9] = r, t[10] = n, t[11] = _) : _ = t[11];
30436
+ e.key === "Enter" && !e.shiftKey && (n && !o && f(n), c(n), r(""), e.preventDefault(), e.stopPropagation()), e.key === "Enter" && e.metaKey && (e.preventDefault(), e.stopPropagation());
30437
+ }, t[5] = f, t[6] = o, t[7] = d, t[8] = u, t[9] = c, t[10] = r, t[11] = n, t[12] = _) : _ = t[12];
30438
30438
  let v;
30439
- t[12] !== m || t[13] !== h || t[14] !== _ || t[15] !== n ? (v = /* @__PURE__ */ (0, Y.jsx)(Xi, {
30439
+ t[13] !== m || t[14] !== h || t[15] !== _ || t[16] !== n ? (v = /* @__PURE__ */ (0, Y.jsx)(Xi, {
30440
30440
  "data-testid": "console-input",
30441
30441
  "data-stdin-blocking": !0,
30442
30442
  type: m,
@@ -30448,21 +30448,21 @@ var zR = (e) => {
30448
30448
  className: "m-0 h-8 focus-visible:shadow-xs-solid",
30449
30449
  placeholder: "stdin",
30450
30450
  onKeyDownCapture: _
30451
- }), t[12] = m, t[13] = h, t[14] = _, t[15] = n, t[16] = v) : v = t[16];
30451
+ }), t[13] = m, t[14] = h, t[15] = _, t[16] = n, t[17] = v) : v = t[17];
30452
30452
  let y;
30453
- t[17] !== s || t[18] !== l || t[19] !== c ? (y = s && /* @__PURE__ */ (0, Y.jsx)(jR, {
30453
+ t[18] !== s || t[19] !== l || t[20] !== c ? (y = s && /* @__PURE__ */ (0, Y.jsx)(jR, {
30454
30454
  onSubmit: c,
30455
30455
  onClear: l
30456
- }), t[17] = s, t[18] = l, t[19] = c, t[20] = y) : y = t[20];
30456
+ }), t[18] = s, t[19] = l, t[20] = c, t[21] = y) : y = t[21];
30457
30457
  let b;
30458
- return t[21] !== p || t[22] !== v || t[23] !== y ? (b = /* @__PURE__ */ (0, Y.jsxs)("div", {
30458
+ return t[22] !== p || t[23] !== v || t[24] !== y ? (b = /* @__PURE__ */ (0, Y.jsxs)("div", {
30459
30459
  className: "flex gap-2 items-center pt-2",
30460
30460
  children: [
30461
30461
  p,
30462
30462
  v,
30463
30463
  y
30464
30464
  ]
30465
- }), t[21] = p, t[22] = v, t[23] = y, t[24] = b) : b = t[24], b;
30465
+ }), t[22] = p, t[23] = v, t[24] = y, t[25] = b) : b = t[25], b;
30466
30466
  }, HR = (e) => {
30467
30467
  let t = (0, X.c)(10), { output: n, response: r, isPassword: i, interrupted: a } = e, o = r != null && r !== "", s = a && !o, c;
30468
30468
  t[0] === n ? c = t[1] : (c = UR(n), t[0] = n, t[1] = c);
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-ofJbxM4x.js";
3
- import { a as n } from "./glide-data-editor-B-AyJh7L.js";
3
+ import { a as n } from "./glide-data-editor-ymIQdwrb.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.2.8_b9e6aec46d952f631ce71b0585d2a8e5/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-CcfkLMrx.js";
1
+ import { O as e } from "./html-to-image-CGVgroef.js";
2
2
  import { g as t } from "./tooltip-qB8NlSqV.js";
3
- import { b as n, y as r } from "./cells-Cksce8br.js";
3
+ import { b as n, y as r } from "./cells-Cv93oav_.js";
4
4
  import { b as i } from "./select-C6plhmZr.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-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 { g as c, t as l } from "./tooltip-qB8NlSqV.js";
6
- import { w as u } from "./cells-Cksce8br.js";
7
- import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-BdDoDaNE.js";
6
+ import { w as u } from "./cells-Cv93oav_.js";
7
+ import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-C0fbrgB8.js";
8
8
  import { M as C } from "./select-C6plhmZr.js";
9
9
  import { J as ee } from "./dropdown-menu-CZgjYSAh.js";
10
10
  import { y as w } from "./toDate-C67bxMWn.js";
11
11
  import { t as T } from "./jsx-runtime-DgDPJV9S.js";
12
12
  import { q as te } from "./use-restore-focus-D5D9xEjZ.js";
13
13
  import { A as E, C as D, b as O } from "./useTheme-DzXmYZ5V.js";
14
- import { a as k, n as ne, t as re } from "./code-visibility-D8dGgFIC.js";
14
+ import { a as k, n as ne, t as re } from "./code-visibility-XU9RAJNV.js";
15
15
  /* empty css */
16
16
  var A = 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.1-dev39",
3
+ "version": "0.25.1-dev40",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -347,20 +347,20 @@ const StdInput = (props: {
347
347
  placeholder="stdin"
348
348
  // Capture the keydown event for history navigation and submission
349
349
  onKeyDownCapture={(e) => {
350
- if (e.key === "ArrowUp") {
350
+ if (!isPassword && e.key === "ArrowUp") {
351
351
  navigateUp();
352
352
  e.preventDefault();
353
353
  return;
354
354
  }
355
355
 
356
- if (e.key === "ArrowDown") {
356
+ if (!isPassword && e.key === "ArrowDown") {
357
357
  navigateDown();
358
358
  e.preventDefault();
359
359
  return;
360
360
  }
361
361
 
362
362
  if (e.key === "Enter" && !e.shiftKey) {
363
- if (value) {
363
+ if (value && !isPassword) {
364
364
  addToHistory(value);
365
365
  }
366
366
  onSubmit(value);
@@ -120,6 +120,65 @@ describe("ConsoleOutput pdb history", () => {
120
120
  expect(newInput).toHaveValue("next");
121
121
  });
122
122
 
123
+ it("submits passwords without making them available to input history", () => {
124
+ const passwordPrompt: WithResponse<OutputMessage> = {
125
+ ...stdinPrompt("Password: "),
126
+ mimetype: "text/password",
127
+ };
128
+ const onSubmitDebugger = vi.fn();
129
+ const { rerender } = renderWithProvider(
130
+ <ConsoleOutput
131
+ {...defaultProps}
132
+ consoleOutputs={[stdinPrompt("Name: ")]}
133
+ onSubmitDebugger={onSubmitDebugger}
134
+ />,
135
+ );
136
+ const nameInput = screen.getByTestId("console-input");
137
+ fireEvent.change(nameInput, { target: { value: "marimo" } });
138
+ fireEvent.keyDown(nameInput, { key: "Enter" });
139
+
140
+ rerender(
141
+ <TooltipProvider>
142
+ <ConsoleOutput
143
+ {...defaultProps}
144
+ consoleOutputs={[stdinPrompt("Name: ", "marimo"), passwordPrompt]}
145
+ onSubmitDebugger={onSubmitDebugger}
146
+ />
147
+ </TooltipProvider>,
148
+ );
149
+ const input = screen.getByTestId("console-input");
150
+ expect(input).toHaveAttribute("type", "password");
151
+ fireEvent.change(input, { target: { value: "getpass-regression-secret" } });
152
+ fireEvent.keyDown(input, { key: "ArrowUp" });
153
+ expect(input).toHaveValue("getpass-regression-secret");
154
+ fireEvent.keyDown(input, { key: "ArrowDown" });
155
+ expect(input).toHaveValue("getpass-regression-secret");
156
+ fireEvent.keyDown(input, { key: "Enter" });
157
+ expect(onSubmitDebugger).toHaveBeenLastCalledWith(
158
+ "getpass-regression-secret",
159
+ 1,
160
+ );
161
+ expect(input).toHaveValue("");
162
+
163
+ rerender(
164
+ <TooltipProvider>
165
+ <ConsoleOutput
166
+ {...defaultProps}
167
+ consoleOutputs={[
168
+ stdinPrompt("Name: ", "marimo"),
169
+ { ...passwordPrompt, response: "" },
170
+ stdinPrompt("Name: "),
171
+ ]}
172
+ />
173
+ </TooltipProvider>,
174
+ );
175
+ const nextInput = screen.getByTestId("console-input");
176
+ fireEvent.keyDown(nextInput, { key: "ArrowUp" });
177
+ expect(nextInput).toHaveValue("marimo");
178
+ fireEvent.keyDown(nextInput, { key: "ArrowDown" });
179
+ expect(nextInput).toHaveValue("");
180
+ });
181
+
123
182
  it("should submit an empty string when Enter is pressed with no input", () => {
124
183
  // Many CLIs prompt "Press Enter to continue" and expect "" back.
125
184
  const onSubmitDebugger = vi.fn();
@@ -1504,6 +1504,33 @@ describe("cell reducer", () => {
1504
1504
  ]);
1505
1505
  });
1506
1506
 
1507
+ it("resolves password prompts without retaining the response", () => {
1508
+ const prompt: OutputMessage = {
1509
+ channel: "stdin",
1510
+ mimetype: "text/password",
1511
+ data: "Password: ",
1512
+ timestamp: 1,
1513
+ };
1514
+ actions.handleCellMessage({
1515
+ cell_id: firstCellId,
1516
+ output: undefined,
1517
+ console: prompt,
1518
+ status: "running",
1519
+ stale_inputs: null,
1520
+ timestamp: 1 as Seconds,
1521
+ });
1522
+
1523
+ const secret = "getpass-regression-secret";
1524
+ actions.setStdinResponse({
1525
+ cellId: firstCellId,
1526
+ outputIndex: 0,
1527
+ response: secret,
1528
+ });
1529
+
1530
+ expect(cells[0].consoleOutputs).toEqual([{ ...prompt, response: "" }]);
1531
+ expect(JSON.stringify(cells[0].consoleOutputs)).not.toContain(secret);
1532
+ });
1533
+
1507
1534
  it("does not crash when setStdinResponse has out-of-bounds outputIndex", () => {
1508
1535
  const STDOUT: OutputMessage = {
1509
1536
  channel: "stdout",
@@ -1114,7 +1114,8 @@ const {
1114
1114
  mimetype: stdinOutput.mimetype,
1115
1115
  data: stdinOutput.data,
1116
1116
  timestamp: stdinOutput.timestamp,
1117
- response,
1117
+ // An empty response resolves the prompt without retaining the secret.
1118
+ response: stdinOutput.mimetype === "text/password" ? "" : response,
1118
1119
  };
1119
1120
 
1120
1121
  return {