@marimo-team/islands 0.25.2-dev137 → 0.25.2-dev139

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 (23) hide show
  1. package/dist/{ErrorBoundary-tFxALcda.js → ErrorBoundary-BJ0_83Mq.js} +1 -1
  2. package/dist/{cells-CuYwqnV8.js → cells-C8iCYvLU.js} +18 -18
  3. package/dist/{chat-ui-C6oDg4Zu.js → chat-ui-BDpymeoe.js} +5 -5
  4. package/dist/{code-visibility-DRHmU9Ty.js → code-visibility-Cv5Z6gJw.js} +4 -4
  5. package/dist/{common-C_DVk1Gs.js → common-B7IjNlZf.js} +6245 -7598
  6. package/dist/{data-grid-overlay-editor-DZWMtXXU.js → data-grid-overlay-editor-BzztV280.js} +1 -1
  7. package/dist/{error-entries-zfHL6H60.js → error-entries-CzoYkIQZ.js} +1 -1
  8. package/dist/{feedback-button-DGgbTY8B.js → feedback-button-BXlzBM0D.js} +4 -4
  9. package/dist/{formats-DLtvJPnj.js → formats-BGh2thRc.js} +1 -1
  10. package/dist/{glide-data-editor-oGZnEfDD.js → glide-data-editor-CiUr65D6.js} +3 -3
  11. package/dist/{globals-eEVHhFzx.js → globals-ax332bgg.js} +1 -1
  12. package/dist/{html-to-image-BJJsbNZ1.js → html-to-image-CZY1pIZH.js} +2 -2
  13. package/dist/main.js +37 -37
  14. package/dist/{number-overlay-editor-BuftERPN.js → number-overlay-editor-CBnIcaPV.js} +1 -1
  15. package/dist/{process-output-C1GGFU6Q.js → process-output-e4jj9Ijt.js} +2 -2
  16. package/dist/{reveal-component-Rrg8oD35.js → reveal-component-hAqwoa_n.js} +4 -4
  17. package/dist/{toDate-Dwcg_x_5.js → toDate-BNJf01u1.js} +3 -3
  18. package/dist/{vega-component-DLBAQLSf.js → vega-component-DG29TAB7.js} +2 -2
  19. package/package.json +1 -1
  20. package/src/components/data-table/__tests__/column_formatting.test.ts +30 -0
  21. package/src/components/data-table/__tests__/columns.test.tsx +70 -0
  22. package/src/components/data-table/column-formatting/feature.ts +20 -1
  23. package/src/components/data-table/columns.tsx +25 -18
@@ -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-DGgbTY8B.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
138
+ var I = (0, T.lazy)(() => import("./feedback-button-BXlzBM0D.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,
@@ -7,7 +7,7 @@ import { d as p, h as m, i as h, t as g } from "./tooltip-BO1REbqs.js";
7
7
  import { a as _, c as v, i as y, o as b, r as x, s as S, t as C } from "./useLifecycle-j7D9uD1o.js";
8
8
  import { t as w } from "./check-EDwSwP89.js";
9
9
  import { C as T, S as ee, a as te, b as ne, c as re, i as ie, n as ae, o as oe, r as se, s as ce, t as le } from "./select-BButFi-d.js";
10
- import { C as ue, S as de, T as fe, _ as pe, l as me, t as E, v as he, w as ge, y as _e } from "./toDate-Dwcg_x_5.js";
10
+ import { S as ue, b as de, g as fe, h as pe, m as me, o as E, t as he, x as ge, y as _e } from "./toDate-BNJf01u1.js";
11
11
  import { t as ve } from "./react-dom-DUmH0GXv.js";
12
12
  import { t as ye } from "./jsx-runtime-3BD1kT0s.js";
13
13
  import { C as be, Ct as xe, D as Se, F as D, L as O, M as Ce, S as we, St as Te, bt as Ee, j as De, wt as k, yt as Oe } from "./use-restore-focus-BEM7sFWl.js";
@@ -1151,7 +1151,7 @@ function ei(e, t) {
1151
1151
  }
1152
1152
  function ti() {
1153
1153
  if (Pe()) return document.title || null;
1154
- if (ue()) {
1154
+ if (de()) {
1155
1155
  let e = Zr.getFilename();
1156
1156
  if (e) return e;
1157
1157
  }
@@ -20052,7 +20052,7 @@ var Ed = Sr(() => oi), Dd = [
20052
20052
  label: "Secrets",
20053
20053
  tooltip: "Manage secrets",
20054
20054
  defaultSection: "developer-panel",
20055
- hidden: ue(),
20055
+ hidden: de(),
20056
20056
  additionalKeywords: [
20057
20057
  "env",
20058
20058
  "environment",
@@ -20073,7 +20073,7 @@ var Ed = Sr(() => oi), Dd = [
20073
20073
  Icon: zn,
20074
20074
  label: "Terminal",
20075
20075
  tooltip: "Terminal",
20076
- hidden: ue(),
20076
+ hidden: de(),
20077
20077
  defaultSection: "developer-panel",
20078
20078
  requiredCapability: "terminal",
20079
20079
  additionalKeywords: [
@@ -20286,7 +20286,7 @@ var Yd = { create() {
20286
20286
  for (let t of this.requests.values()) t.resolve(e);
20287
20287
  this.requests.clear();
20288
20288
  }
20289
- let t = Yd.create(), n = new de();
20289
+ let t = Yd.create(), n = new _e();
20290
20290
  return this.requests.set(t, n), await this.makeRequest(t, e).catch((e) => {
20291
20291
  n.reject(e), this.requests.delete(t);
20292
20292
  }), n.promise;
@@ -22935,7 +22935,7 @@ function Tm() {
22935
22935
  return Ve(wm, (e) => e.state === Cm.OPEN);
22936
22936
  }
22937
22937
  function Em() {
22938
- return he() ? Tm() : Promise.resolve();
22938
+ return pe() ? Tm() : Promise.resolve();
22939
22939
  }
22940
22940
  A((e) => e(wm).state === Cm.CONNECTING), A((e) => e(wm).state === Cm.OPEN), A((e) => {
22941
22941
  let t = e(wm);
@@ -22960,7 +22960,7 @@ function Om(e, t) {
22960
22960
  //#endregion
22961
22961
  //#region src/core/codemirror/lsp/transports.ts
22962
22962
  function km(e, t) {
22963
- let n = me(), r = new Sm({
22963
+ let n = E(), r = new Sm({
22964
22964
  getWsUrl: () => n.getLSPURL(e).toString(),
22965
22965
  waitForConnection: async () => {
22966
22966
  await Tm();
@@ -26287,10 +26287,10 @@ var hy = (e) => {
26287
26287
  /* @__PURE__ */ (0, I.jsx)(te, { children: "Detected in your environment" }),
26288
26288
  a.map(Ey)
26289
26289
  ] }), t[20] = a, t[21] = ce);
26290
- let ue;
26291
- t[22] === Symbol.for("react.memo_cache_sentinel") ? (ue = /* @__PURE__ */ (0, I.jsx)(oe, {}), t[22] = ue) : ue = t[22];
26292
26290
  let de;
26293
- t[23] === Symbol.for("react.memo_cache_sentinel") ? (de = /* @__PURE__ */ (0, I.jsx)(ie, {
26291
+ t[22] === Symbol.for("react.memo_cache_sentinel") ? (de = /* @__PURE__ */ (0, I.jsx)(oe, {}), t[22] = de) : de = t[22];
26292
+ let fe;
26293
+ t[23] === Symbol.for("react.memo_cache_sentinel") ? (fe = /* @__PURE__ */ (0, I.jsx)(ie, {
26294
26294
  className: "text-muted-foreground",
26295
26295
  value: vy,
26296
26296
  children: /* @__PURE__ */ (0, I.jsxs)("a", {
@@ -26298,9 +26298,9 @@ var hy = (e) => {
26298
26298
  href: by,
26299
26299
  target: "_blank",
26300
26300
  rel: "noreferrer",
26301
- children: [/* @__PURE__ */ (0, I.jsx)(fe, { className: "h-3 w-3" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "How to add a database connection" })]
26301
+ children: [/* @__PURE__ */ (0, I.jsx)(ue, { className: "h-3 w-3" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "How to add a database connection" })]
26302
26302
  })
26303
- }), t[23] = de) : de = t[23];
26303
+ }), t[23] = fe) : fe = t[23];
26304
26304
  let pe;
26305
26305
  t[24] !== S || t[25] !== T || t[26] !== ee || t[27] !== ne || t[28] !== ce || t[29] !== C || t[30] !== w ? (pe = /* @__PURE__ */ (0, I.jsxs)(S, { children: [
26306
26306
  C,
@@ -26309,8 +26309,8 @@ var hy = (e) => {
26309
26309
  ee,
26310
26310
  ne,
26311
26311
  ce,
26312
- ue,
26313
- de
26312
+ de,
26313
+ fe
26314
26314
  ] }), t[24] = S, t[25] = T, t[26] = ee, t[27] = ne, t[28] = ce, t[29] = C, t[30] = w, t[31] = pe) : pe = t[31];
26315
26315
  let me;
26316
26316
  t[32] !== b || t[33] !== pe || t[34] !== x ? (me = /* @__PURE__ */ (0, I.jsx)(b, {
@@ -27324,7 +27324,7 @@ function Mb(e) {
27324
27324
  return "cellId" in e && e.cellId === "__scratch__";
27325
27325
  }
27326
27326
  function Nb(e) {
27327
- j.get(_e) || Mb(e) || (xb.push(e), Eb.status === "synchronized" && Ab());
27327
+ j.get(fe) || Mb(e) || (xb.push(e), Eb.status === "synchronized" && Ab());
27328
27328
  }
27329
27329
  function Pb(e, t, n) {
27330
27330
  for (let r of _b(e, t, n)) Nb(r);
@@ -27332,7 +27332,7 @@ function Pb(e, t, n) {
27332
27332
  //#endregion
27333
27333
  //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/fromUnixTime.js
27334
27334
  function Fb(e, t) {
27335
- return E(e * 1e3, t?.in);
27335
+ return he(e * 1e3, t?.in);
27336
27336
  }
27337
27337
  //#endregion
27338
27338
  //#region ../node_modules/.pnpm/ansi_up@6.0.6/node_modules/ansi_up/ansi_up.js
@@ -27765,7 +27765,7 @@ function Xb(e) {
27765
27765
  message: JSON.stringify(t)
27766
27766
  });
27767
27767
  });
27768
- let t = e.output.data.filter((e) => "type" in e && e.type === "exception" || e.type === "internal"), n = j.get(pe) === "read";
27768
+ let t = e.output.data.filter((e) => "type" in e && e.type === "exception" || e.type === "internal"), n = j.get(me) === "read";
27769
27769
  if (t.length > 0 && !Yb && n) {
27770
27770
  Yb = !0;
27771
27771
  let e = t.find((e) => e.traceback);
@@ -28469,7 +28469,7 @@ var { reducer: ux, addMiddleware: dx, createActions: fx, useActions: px, valueAt
28469
28469
  });
28470
28470
  },
28471
28471
  setCells: (e, t) => {
28472
- let n = Object.fromEntries(t.map((e) => [e.id, e])), r = ue(), i = (t) => {
28472
+ let n = Object.fromEntries(t.map((e) => [e.id, e])), r = de(), i = (t) => {
28473
28473
  if (!r) return sx();
28474
28474
  let n = e.cellRuntime[t];
28475
28475
  return n && (n.output != null || n.consoleOutputs.length > 0) ? n : sx();
@@ -3,13 +3,13 @@ import { c as n, g as r, h as i, t as a } from "./button-CvjkwdSk.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-Ft7t9bqz.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 j, z as te } from "./html-to-image-BJJsbNZ1.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 j, z as te } from "./html-to-image-CZY1pIZH.js";
7
7
  import { h as M, t as ne } from "./tooltip-BO1REbqs.js";
8
- import { $ as re, $t as ie, It as ae, K as oe, Mt as se, N as ce, St as le, Vt as ue, X as de, _t as fe, b as pe, cn as me, d as he, it as ge, pn as _e, rt as ve, sn as ye, un as be, ut as xe, vt as Se, yt as Ce } from "./cells-CuYwqnV8.js";
8
+ import { $ as re, $t as ie, It as ae, K as oe, Mt as se, N as ce, St as le, Vt as ue, X as de, _t as fe, b as pe, cn as me, d as he, it as ge, pn as _e, rt as ve, sn as ye, un as be, ut as xe, vt as Se, yt as Ce } from "./cells-C8iCYvLU.js";
9
9
  import { A as we, C as Te, M as Ee, b as De } from "./select-BButFi-d.js";
10
10
  import { _ as Oe, f as ke, h as Ae, i as je, n as Me, t as Ne } from "./dropdown-menu-CP_qCYHC.js";
11
- import { T as Pe, p as Fe } from "./toDate-Dwcg_x_5.js";
12
- import { d as Ie, f as Le, i as Re, n as ze, t as Be, u as Ve } from "./process-output-C1GGFU6Q.js";
11
+ import { S as Pe, u as Fe } from "./toDate-BNJf01u1.js";
12
+ import { d as Ie, f as Le, i as Re, n as ze, t as Be, u as Ve } from "./process-output-e4jj9Ijt.js";
13
13
  import { t as He } from "./jsx-runtime-3BD1kT0s.js";
14
14
  import { A as Ue, C as We, D as Ge, E as Ke, F as qe, L as Je, M as Ye, O as Xe, P as Ze, R as Qe, S as $e, T as et, V as tt, b as nt, j as rt, v as it, w as at, x as ot, y as st, z as ct } from "./use-restore-focus-BEM7sFWl.js";
15
15
  import { n as lt } from "./error-banner-Da600cwz.js";
@@ -22,7 +22,7 @@ import { n as Ot, o as kt, r as At } from "./dist-CkTTIdBe.js";
22
22
  import { n as jt } from "./dist-CrSP_H1M.js";
23
23
  import { n as Mt, t as Nt } from "./esm-AMFssoNp.js";
24
24
  import { t as Pt } from "./useAsyncData-Deh5kszT.js";
25
- import { i as Ft, r as It, t as Lt } from "./error-entries-zfHL6H60.js";
25
+ import { i as Ft, r as It, t as Lt } from "./error-entries-CzoYkIQZ.js";
26
26
  var Rt = M("ban", [["circle", {
27
27
  cx: "12",
28
28
  cy: "12",
@@ -1,8 +1,8 @@
1
1
  import { g as e } from "./button-CvjkwdSk.js";
2
2
  import { t } from "./compiler-runtime-CldRdSsv.js";
3
- import { H as n, V as r } from "./cells-CuYwqnV8.js";
3
+ import { H as n, V as r } from "./cells-C8iCYvLU.js";
4
4
  import { C as i } from "./select-BButFi-d.js";
5
- import { C as a, d as o, x as s, y as c } from "./toDate-Dwcg_x_5.js";
5
+ import { b as a, c as o, g as s, v as c } from "./toDate-BNJf01u1.js";
6
6
  import { C as l, E as u, a as d, b as f } from "./useTheme-CRnjkku0.js";
7
7
  //#region src/core/islands/state.ts
8
8
  var p = t(), m = u(!1), h = u(/* @__PURE__ */ new Set()), g = u((e) => e(h)?.size === 0), _ = u(!1), v = u((e) => e(_) && e(m) === !1), y = u({
@@ -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.2-dev137", C = u(S), w = u(!0);
21
+ var S = x() || "0.25.2-dev139", C = u(S), w = u(!0);
22
22
  u(null);
23
23
  //#endregion
24
24
  //#region src/core/wasm/state.ts
@@ -116,7 +116,7 @@ u((e) => {
116
116
  //#endregion
117
117
  //#region src/core/meta/code-visibility.ts
118
118
  function N(e) {
119
- let t = (0, p.c)(2), n = l(c), { mode: r } = l(s), a = l(w), o = l(M).kind;
119
+ let t = (0, p.c)(2), n = l(s), { mode: r } = l(c), a = l(w), o = l(M).kind;
120
120
  if (n && o === "remote") return !0;
121
121
  switch (r) {
122
122
  case "edit":