@marimo-team/islands 0.24.1-dev87 → 0.24.1-dev90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-ui-DpE4Aa_M.js → chat-ui-BqDoKana.js} +5 -5
- package/dist/{common-Csjs6-Cq.js → common-FuL_5-mY.js} +14 -14
- package/dist/{formats-CMBaNtI6.js → formats-nPPeLOk2.js} +1 -1
- package/dist/{html-to-image-LGo891lC.js → html-to-image-BMTAw0YV.js} +3579 -3580
- package/dist/main.js +5830 -5816
- package/dist/{process-output-BMotjkzK.js → process-output-JALCTHOK.js} +1 -1
- package/dist/{reveal-component-t0AuZBu7.js → reveal-component-e4yYomxA.js} +2 -2
- package/dist/{toDate-BbnMXiIl.js → toDate-DfFzRDkN.js} +1 -1
- package/dist/{vega-component-Cid89pdp.js → vega-component-PYsP9Jod.js} +11 -11
- package/package.json +1 -1
- package/src/components/editor/output/__tests__/ansi-reduce.test.ts +36 -10
- package/src/components/editor/output/ansi-reduce.ts +2 -7
- package/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts +64 -2
- package/src/components/editor/renderers/vertical-layout/utils.ts +73 -0
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +19 -49
- package/src/components/static-html/__tests__/static-banner.test.tsx +112 -0
- package/src/components/static-html/static-banner.tsx +121 -68
- package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +35 -2
|
@@ -3,12 +3,12 @@ import { c as n, g as r, h as i, t as a } from "./button-DlqUC8W-.js";
|
|
|
3
3
|
import { t as o } from "./react-DMWcHin-.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CAH9RLw2.js";
|
|
5
5
|
import { r as c } from "./copy-D9h0DuU7.js";
|
|
6
|
-
import { $n as l, Bt as u, F as d, Fn as f, Hn as p, Jn as m, Nn as h, Pt as g, Rt as _, Sn as v, Ut as y, Vn as b, Wt as x, Xn as S, Yt as C, Zn as w, _ as ee, _n as T, a as E, an as te, c as ne, d as D, f as O, fn as re, ft as ie, g as ae, h as oe, hn as se, ht as ce, l as le, m as ue, mn as de, mt as fe, n as pe, nn as me, nr as he, nt as ge, p as _e, pn as ve, q as ye, r as be, rn as xe, t as Se, tn as Ce, v as we, vt as Te, x as Ee, y as De } from "./html-to-image-
|
|
6
|
+
import { $n as l, Bt as u, F as d, Fn as f, Hn as p, Jn as m, Nn as h, Pt as g, Rt as _, Sn as v, Ut as y, Vn as b, Wt as x, Xn as S, Yt as C, Zn as w, _ as ee, _n as T, a as E, an as te, c as ne, d as D, f as O, fn as re, ft as ie, g as ae, h as oe, hn as se, ht as ce, l as le, m as ue, mn as de, mt as fe, n as pe, nn as me, nr as he, nt as ge, p as _e, pn as ve, q as ye, r as be, rn as xe, t as Se, tn as Ce, v as we, vt as Te, x as Ee, y as De } from "./html-to-image-BMTAw0YV.js";
|
|
7
7
|
import { u as Oe } from "./dist-wdOJ5T7-.js";
|
|
8
8
|
import { C as ke, I as Ae, R as je, b as Me } from "./select-DQ9jU_B_.js";
|
|
9
9
|
import { _ as Ne, f as Pe, h as Fe, i as Ie, n as Le, t as Re } from "./dropdown-menu-Baf29jmS.js";
|
|
10
|
-
import {
|
|
11
|
-
import { d as Ve, f as He, i as Ue, n as We, t as Ge, u as Ke } from "./process-output-
|
|
10
|
+
import { p as ze, v as Be } from "./toDate-DfFzRDkN.js";
|
|
11
|
+
import { d as Ve, f as He, i as Ue, n as We, t as Ge, u as Ke } from "./process-output-JALCTHOK.js";
|
|
12
12
|
import { t as qe } from "./jsx-runtime-CpoKNRgu.js";
|
|
13
13
|
import { Cn as k, Cr as Je, In as A, It as Ye, Jn as j, Sn as Xe, Tt as Ze, Yn as Qe, bt as $e, cn as et, jn as tt, kt as M, ln as N, mr as nt, un as P, vt as rt, wt as it, xt as at, zt as ot } from "./schemas-JTyiKlcH.js";
|
|
14
14
|
import { n as st } from "./error-banner-xVkWHg51.js";
|
|
@@ -6655,7 +6655,7 @@ var Ds = (e) => {
|
|
|
6655
6655
|
s
|
|
6656
6656
|
] }), t[4] = n, t[5] = o, t[6] = s, t[7] = c) : c = t[7];
|
|
6657
6657
|
let l = c;
|
|
6658
|
-
if (a &&
|
|
6658
|
+
if (a && ze(a)) {
|
|
6659
6659
|
let e = i ?? r, n;
|
|
6660
6660
|
return t[8] !== l || t[9] !== a || t[10] !== e ? (n = /* @__PURE__ */ (0, Q.jsx)("a", {
|
|
6661
6661
|
href: a,
|
|
@@ -8279,7 +8279,7 @@ var qc = (e) => {
|
|
|
8279
8279
|
className: "text-xs flex flex-col",
|
|
8280
8280
|
children: Jc[t].description
|
|
8281
8281
|
}),
|
|
8282
|
-
children: /* @__PURE__ */ (0, Q.jsx)(
|
|
8282
|
+
children: /* @__PURE__ */ (0, Q.jsx)(Be, { className: "h-3 w-3 cursor-help text-muted-foreground hover:text-foreground" })
|
|
8283
8283
|
})]
|
|
8284
8284
|
}), /* @__PURE__ */ (0, Q.jsx)(Ne, {
|
|
8285
8285
|
id: t,
|
|
@@ -3,14 +3,14 @@ import { _ as n, f as r, g as i, h as a, m as o, n as s, p as c, r as l, t as u
|
|
|
3
3
|
import { t as d } from "./react-DMWcHin-.js";
|
|
4
4
|
import { t as f } from "./compiler-runtime-CAH9RLw2.js";
|
|
5
5
|
import { n as p, r as m, t as h } from "./copy-D9h0DuU7.js";
|
|
6
|
-
import { $ as g, $n as _, $t as v, A as y, An as b, At as x, Cn as S, D as C, E as w, F as T, Gt as E, H as D, Hn as O, Ht as k, In as A, Jn as j, Kn as M, Lt as N, M as P, Mt as F, N as I, Nn as L, Ot as R, Q as ee, Qn as z, Qt as te, S as ne, Sn as re, St as ie, T as ae, Tt as oe, Ut as se, V as ce, Vn as le, Vt as ue, Wn as de, Xn as fe, Yt as pe, Z as me, Zn as he, Zt as ge, _ as _e, _t as ve, an as ye, ar as be, at as xe, ct as Se, ft as Ce, g as we, gt as Te, ht as Ee, ir as De, jn as Oe, kn as ke, kt as Ae, mt as je, n as Me, nr as Ne, or as Pe, pt as Fe, q as Ie, qn as Le, r as Re, rt as ze, s as Be, sn as Ve, t as He, u as Ue, v as We, vn as Ge, vt as Ke, w as qe, wt as Je, y as Ye } from "./html-to-image-
|
|
6
|
+
import { $ as g, $n as _, $t as v, A as y, An as b, At as x, Cn as S, D as C, E as w, F as T, Gt as E, H as D, Hn as O, Ht as k, In as A, Jn as j, Kn as M, Lt as N, M as P, Mt as F, N as I, Nn as L, Ot as R, Q as ee, Qn as z, Qt as te, S as ne, Sn as re, St as ie, T as ae, Tt as oe, Ut as se, V as ce, Vn as le, Vt as ue, Wn as de, Xn as fe, Yt as pe, Z as me, Zn as he, Zt as ge, _ as _e, _t as ve, an as ye, ar as be, at as xe, ct as Se, ft as Ce, g as we, gt as Te, ht as Ee, ir as De, jn as Oe, kn as ke, kt as Ae, mt as je, n as Me, nr as Ne, or as Pe, pt as Fe, q as Ie, qn as Le, r as Re, rt as ze, s as Be, sn as Ve, t as He, u as Ue, v as We, vn as Ge, vt as Ke, w as qe, wt as Je, y as Ye } from "./html-to-image-BMTAw0YV.js";
|
|
7
7
|
import { o as Xe, u as B } from "./dist-wdOJ5T7-.js";
|
|
8
8
|
import { c as Ze, i as Qe, r as $e } from "./useLifecycle-foJH5Q8T.js";
|
|
9
9
|
import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./useDateFormatter-CcY1uXEk.js";
|
|
10
10
|
import { t as ot } from "./check-BcJDmQdF.js";
|
|
11
11
|
import { C as st, E as ct, I as lt, N as ut, O as dt, P as ft, R as pt, S as mt, T 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, w as At, y as jt } from "./select-DQ9jU_B_.js";
|
|
12
12
|
import { $ as Mt, $t as Nt, A as Pt, At as Ft, B as It, Bt as Lt, Ct as Rt, D as zt, Dt as Bt, E as Vt, Et as Ht, F as Ut, Ft as Wt, G as Gt, Gt as Kt, H as qt, Ht as Jt, I as Yt, It as Xt, Jt as Zt, K as Qt, Kt as $t, L as en, Lt as tn, M as nn, Mt as rn, N as an, Nt as on, O as sn, Ot as cn, P as ln, Pt as un, Q as dn, Qt as fn, R as pn, Rt as mn, S as hn, St as gn, T as _n, Tt as vn, U as yn, Ut as bn, V as xn, Vt as Sn, W as Cn, Wt as wn, X as Tn, Xt as En, Yt as Dn, Z as On, Zt as kn, _ as An, _t as jn, a as Mn, an as Nn, at as Pn, b as Fn, bt as In, cn as Ln, ct as Rn, d as zn, dn as Bn, dt as Vn, en as Hn, et as Un, f as Wn, fn as Gn, ft as Kn, gt as qn, h as Jn, hn as Yn, ht as Xn, i as Zn, in as Qn, it as $n, j as er, jt as tr, k as nr, kt as rr, l as ir, ln as ar, lt as or, mn as sr, mt as cr, n as lr, nn as ur, nt as dr, o as fr, pn as pr, pt as mr, q as hr, qt as gr, rn as _r, rt as vr, s as yr, sn as br, st as xr, t as Sr, tn as Cr, tt as wr, u as Tr, un as Er, ut as Dr, vt as Or, w as kr, wt as Ar, x as jr, xt as Mr, y as Nr, yt as Pr, z as Fr, zt as Ir } from "./dropdown-menu-Baf29jmS.js";
|
|
13
|
-
import {
|
|
13
|
+
import { _ as Lr, a as Rr, c as zr, d as Br, i as Vr, n as Hr, o as Ur, p as Wr, r as Gr, s as Kr, t as qr } from "./toDate-DfFzRDkN.js";
|
|
14
14
|
import { n as Jr, t as Yr } from "./ErrorBoundary-D-EKz8oE.js";
|
|
15
15
|
import { t as Xr } from "./clsx-CoeGtWvn.js";
|
|
16
16
|
import { t as Zr } from "./react-dom-C94wmq5w.js";
|
|
@@ -27,7 +27,7 @@ import { t as qi } from "./objects-CzUgoMIF.js";
|
|
|
27
27
|
import { n as Ji, t as Yi } from "./once-BtE-wKRL.js";
|
|
28
28
|
import { o as Xi } from "./dist-C9fJPKPl.js";
|
|
29
29
|
import { t as Zi } from "./useAsyncData-Cyh2jLTR.js";
|
|
30
|
-
import { a as Qi, i as $i, n as ea, t as ta } from "./formats-
|
|
30
|
+
import { a as Qi, i as $i, n as ea, t as ta } from "./formats-nPPeLOk2.js";
|
|
31
31
|
import { n as na, t as ra } from "./emotion-is-prop-valid.esm-M57VsT8j.js";
|
|
32
32
|
import { A as ia, n as aa } from "./vega-loader.browser-DEggZzni.js";
|
|
33
33
|
import { a as oa, n as sa, r as ca, t as la } from "./loader-D8jS1unC.js";
|
|
@@ -11319,7 +11319,7 @@ function nx(e, t) {
|
|
|
11319
11319
|
};
|
|
11320
11320
|
let r = n[1] === "+" ? 1 : -1, i = n[2] ? parseInt(n[2], 10) : 0, a = n[3] ? parseInt(n[3], 10) : 0, o = n[5] ? parseInt(n[5], 10) : 0;
|
|
11321
11321
|
return {
|
|
11322
|
-
value: r * (i * Vr + a *
|
|
11322
|
+
value: r * (i * Vr + a * Rr + o * Ur),
|
|
11323
11323
|
rest: t.slice(n[0].length)
|
|
11324
11324
|
};
|
|
11325
11325
|
}
|
|
@@ -22665,7 +22665,7 @@ aa("arrow", ta);
|
|
|
22665
22665
|
function YI(e) {
|
|
22666
22666
|
let t, n;
|
|
22667
22667
|
if (typeof e == "string") {
|
|
22668
|
-
if (e.startsWith("./@file") || e.startsWith("/@file")) t = { url:
|
|
22668
|
+
if (e.startsWith("./@file") || e.startsWith("/@file")) t = { url: zr(e).href }, n = "source_0";
|
|
22669
22669
|
else if (I(e)) {
|
|
22670
22670
|
n = "data_0";
|
|
22671
22671
|
let r = P(e), i = window.atob(r);
|
|
@@ -29443,7 +29443,7 @@ function BU(e, t) {
|
|
|
29443
29443
|
//#endregion
|
|
29444
29444
|
//#region src/components/data-table/TableBottomBar.tsx
|
|
29445
29445
|
var VU = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: r, table: i, getRowIds: s, showPageSizeSelector: c, tableLoading: l, part: d, className: f }) => {
|
|
29446
|
-
let { locale: p } = ct(), h =
|
|
29446
|
+
let { locale: p } = ct(), h = Br(), g = (e) => {
|
|
29447
29447
|
if (!r) return;
|
|
29448
29448
|
if (!e) {
|
|
29449
29449
|
r({});
|
|
@@ -30148,7 +30148,7 @@ var vW = () => {}, yW = ({ table: e, showSearch: t, searchQuery: n, onSearchQuer
|
|
|
30148
30148
|
})]
|
|
30149
30149
|
});
|
|
30150
30150
|
}, bW = (0, H.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: r, data: i, rawData: o, selection: s, totalColumns: c, totalRows: l, sizeBytes: d, sizeBytesIsLoading: f, manualSorting: p = !1, sorting: m, setSorting: h, rowSelection: g, cellSelection: _, cellStyling: v, hoverTemplate: y, cellHoverTexts: b, paginationState: x, setPaginationState: S, downloadAs: C, manualPagination: w = !1, pagination: T = !1, onRowSelectionChange: E, onCellSelectionChange: D, getRowIds: O, showSearch: k = !1, searchQuery: A, onSearchQueryChange: j, showFilters: M = !1, filters: N, onFiltersChange: P, calculateTopKRows: F, reloading: I, freezeColumnsLeft: L, freezeColumnsRight: R, hiddenColumns: ee, toggleDisplayHeader: z, showChartBuilder: te, isChartBuilderOpen: ne, showPageSizeSelector: re, showTableExplorer: ie, togglePanel: ae, isPanelOpen: oe, isAnyPanelOpen: se, viewedRowIdx: ce, onViewedRowChange: le, renderTableExplorerPanel: ue }) => {
|
|
30151
|
-
let de =
|
|
30151
|
+
let de = Br(), fe = !de, [pe, me] = H.useState(!1), { locale: he } = ct(), { columnPinning: ge, setColumnPinning: _e } = HV(L, R), { columnVisibility: ve, setColumnVisibility: ye } = xU(ee);
|
|
30152
30152
|
H.useEffect(() => {
|
|
30153
30153
|
let e;
|
|
30154
30154
|
return I ? e = setTimeout(() => {
|
|
@@ -30373,11 +30373,11 @@ var wW = (e) => {
|
|
|
30373
30373
|
let c = s, l = Ti(Ri), d = jj(), f;
|
|
30374
30374
|
t[4] === r ? f = t[5] : (f = Zh(r)?.at(0), t[4] = r, t[5] = f);
|
|
30375
30375
|
let m = f, g;
|
|
30376
|
-
t[6] !== i || t[7] !== m ? (g = m && m.kind === "cell" && !
|
|
30376
|
+
t[6] !== i || t[7] !== m ? (g = m && m.kind === "cell" && !Lr() && !Br() && i !== "__scratch__", t[6] = i, t[7] = m, t[8] = g) : g = t[8];
|
|
30377
30377
|
let v = g, y;
|
|
30378
|
-
t[9] !== l || t[10] !== n ? (y = n && l && !
|
|
30378
|
+
t[9] !== l || t[10] !== n ? (y = n && l && !Br(), t[9] = l, t[10] = n, t[11] = y) : y = t[11];
|
|
30379
30379
|
let b = y, x;
|
|
30380
|
-
t[12] === Symbol.for("react.memo_cache_sentinel") ? (x =
|
|
30380
|
+
t[12] === Symbol.for("react.memo_cache_sentinel") ? (x = Br(), t[12] = x) : x = t[12];
|
|
30381
30381
|
let S = !x, [C, w] = (0, H.useState)(!0), E;
|
|
30382
30382
|
t[13] !== c || t[14] !== n ? (E = (e) => {
|
|
30383
30383
|
n?.({
|
|
@@ -30514,14 +30514,14 @@ var EW = (e) => {
|
|
|
30514
30514
|
children: [/* @__PURE__ */ (0, U.jsx)(Wj, {
|
|
30515
30515
|
cellId: t.cellId,
|
|
30516
30516
|
lineNumber: t.lineNumber
|
|
30517
|
-
}), !
|
|
30517
|
+
}), !Lr() && /* @__PURE__ */ (0, U.jsx)(xi, {
|
|
30518
30518
|
content: n,
|
|
30519
30519
|
children: /* @__PURE__ */ (0, U.jsx)("button", {
|
|
30520
30520
|
type: "button",
|
|
30521
30521
|
className: "ml-1 p-1 rounded-sm hover:bg-muted transition-all inline",
|
|
30522
30522
|
children: /* @__PURE__ */ (0, U.jsx)(ma, {
|
|
30523
30523
|
onClick: () => {
|
|
30524
|
-
if (e && !
|
|
30524
|
+
if (e && !Br()) {
|
|
30525
30525
|
ng(t.cellId, t.lineNumber);
|
|
30526
30526
|
return;
|
|
30527
30527
|
}
|
|
@@ -31805,7 +31805,7 @@ function dK() {
|
|
|
31805
31805
|
return i.warn("Failed to get version from mount config"), null;
|
|
31806
31806
|
}
|
|
31807
31807
|
}
|
|
31808
|
-
var fK = dK() || "0.24.1-
|
|
31808
|
+
var fK = dK() || "0.24.1-dev90", pK = V(fK), mK = V(!0);
|
|
31809
31809
|
V(null);
|
|
31810
31810
|
//#endregion
|
|
31811
31811
|
//#region src/core/wasm/state.ts
|
|
@@ -31893,7 +31893,7 @@ var hK = V({
|
|
|
31893
31893
|
})
|
|
31894
31894
|
};
|
|
31895
31895
|
function xK() {
|
|
31896
|
-
return
|
|
31896
|
+
return Br() ? yK : ji() ? bK : Lr() ? _K : vK;
|
|
31897
31897
|
}
|
|
31898
31898
|
var SK = V(xK());
|
|
31899
31899
|
V((e) => {
|
|
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { h as t, r as n } from "./button-DlqUC8W-.js";
|
|
3
3
|
import { t as r } from "./react-DMWcHin-.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-CAH9RLw2.js";
|
|
5
|
-
import { t as a } from "./toDate-
|
|
5
|
+
import { t as a } from "./toDate-DfFzRDkN.js";
|
|
6
6
|
import { t as o } from "./jsx-runtime-CpoKNRgu.js";
|
|
7
7
|
import { i as s } from "./loader-D8jS1unC.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isDate.js
|