@marimo-team/islands 0.26.1-dev84 → 0.26.1-dev87

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 (28) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CO9uVewH.js → ConnectedDataExplorerComponent-BJBdnd0O.js} +9 -9
  2. package/dist/{ErrorBoundary-T8CwNebX.js → ErrorBoundary-BMasZGdI.js} +1 -1
  3. package/dist/{chat-ui-CjZbdpzb.js → chat-ui-BbJTFtyC.js} +524 -523
  4. package/dist/circle-question-mark-evCnVIut.js +19 -0
  5. package/dist/{code-visibility-BBgRhs2A.js → code-visibility-D06PC-M7.js} +5 -5
  6. package/dist/{common-BF30ifb8.js → common-WyRloDp8.js} +656 -655
  7. package/dist/{data-grid-overlay-editor-ChntsIBb.js → data-grid-overlay-editor-CmhsmW5x.js} +1 -1
  8. package/dist/{error-entries-CsXAdy1j.js → error-entries-DhZotdzQ.js} +2 -1
  9. package/dist/{config-CShkLThS.js → export-context-CkgZeARR.js} +80 -70
  10. package/dist/{feedback-button-nmOvfn22.js → feedback-button-KXwLqov4.js} +3 -3
  11. package/dist/{formats-BRDSQgKN.js → formats-CcQrzFo8.js} +2 -2
  12. package/dist/{glide-data-editor-SkR9hqZZ.js → glide-data-editor-BZp6FNlk.js} +3 -3
  13. package/dist/{globals-BjiU5aEs.js → globals-_1nZnPj9.js} +1 -1
  14. package/dist/{html-to-image-CwpapHNl.js → html-to-image-B8erjaaD.js} +3890 -3913
  15. package/dist/{loader-qPmiRXZd.js → loader-CGrYn73j.js} +421 -373
  16. package/dist/main.js +6443 -6453
  17. package/dist/{number-overlay-editor-GjrMTG9X.js → number-overlay-editor-BXbQC-jN.js} +1 -1
  18. package/dist/{process-output-ztSj9cDn.js → process-output-C-2_O5Ry.js} +2 -2
  19. package/dist/{reveal-component-BrZbx6s7.js → reveal-component-BQdJlYyE.js} +3 -3
  20. package/dist/{static-state-DhVFm8Z6.js → static-state-iw0PrHK4.js} +22 -33
  21. package/dist/toDate-BZg-byuO.js +13 -0
  22. package/dist/{vega-component-BxJFcD2G.js → vega-component-BzNDFvQf.js} +207 -203
  23. package/package.json +1 -1
  24. package/src/plugins/core/__test__/trusted-url.test.ts +53 -1
  25. package/src/plugins/core/trusted-url.ts +59 -1
  26. package/src/plugins/impl/vega/__tests__/resolve-data.test.ts +147 -2
  27. package/src/plugins/impl/vega/loader.ts +49 -2
  28. package/src/plugins/impl/vega/vega-component.tsx +3 -0
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { t } from "./react-Bgs_wQh3.js";
3
- import { a as n } from "./glide-data-editor-SkR9hqZZ.js";
3
+ import { a as n } from "./glide-data-editor-BZp6FNlk.js";
4
4
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/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 { T as e } from "./html-to-image-CwpapHNl.js";
1
+ import { T as e } from "./html-to-image-B8erjaaD.js";
2
2
  import { h as t } from "./tooltip-DyLdBIM4.js";
3
- import { Tt as n, wt as r } from "./error-entries-CsXAdy1j.js";
3
+ import { Tt as n, wt as r } from "./error-entries-DhZotdzQ.js";
4
4
  import { r as i } from "./assertNever-5vhHGKOK.js";
5
5
  var a = t("file", [["path", {
6
6
  d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
@@ -3,14 +3,14 @@ import { g as t, h as n, m as r, r as i, t as a } from "./button-Z2R2272J.js";
3
3
  import { t as o } from "./react-Bgs_wQh3.js";
4
4
  import { t as s } from "./compiler-runtime-C5KHtL5D.js";
5
5
  import { h as c, t as l } from "./tooltip-DyLdBIM4.js";
6
- import { Cn as u, En as d, Sn as f, dn as p, et as m, f as h, i as g, l as _, n as v, nt as y, r as b, t as x, tt as S, u as C } from "./common-BF30ifb8.js";
6
+ import { Cn as u, En as d, Sn as f, dn as p, et as m, f as h, i as g, l as _, n as v, nt as y, r as b, t as x, tt as S, u as C } from "./common-WyRloDp8.js";
7
7
  import { M as w } from "./select-CEnB18uc.js";
8
8
  import { X as T } from "./dropdown-menu-D0DeN-aL.js";
9
9
  import { t as E } from "./jsx-runtime-D8btoEHk.js";
10
10
  import { Kt as D, Ut as O, f as k, i as ee } from "./use-restore-focus-DJ_-uSn_.js";
11
11
  import { t as A } from "./useEvent-BoN7U38T.js";
12
- import { o as te } from "./static-state-DhVFm8Z6.js";
13
- import { n as ne, t as re } from "./code-visibility-BBgRhs2A.js";
12
+ import { o as te } from "./static-state-iw0PrHK4.js";
13
+ import { n as ne, t as re } from "./code-visibility-D06PC-M7.js";
14
14
  /* empty css */
15
15
  var j = c("sticky-note", [["path", {
16
16
  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",
@@ -5,64 +5,53 @@ import { t as o } from "./invariant-DLmrl-hA.js";
5
5
  function s() {
6
6
  return typeof document < "u" && document.querySelector("marimo-wasm") !== null;
7
7
  }
8
- var c = 6048e5, l = 864e5, u = Symbol.for("constructDateFrom");
9
- //#endregion
10
- //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
11
- function d(e, t) {
12
- return typeof e == "function" ? e(t) : e && typeof e == "object" && u in e ? e[u](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
13
- }
14
- //#endregion
15
- //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
16
- function f(e, t) {
17
- return d(t || e, e);
18
- }
19
8
  //#endregion
20
9
  //#region src/utils/assertExists.ts
21
- var p = e();
22
- function m(e, t) {
10
+ var c = e();
11
+ function l(e, t) {
23
12
  if (e == null) throw Error(t || `Expected value but got ${e}`);
24
13
  }
25
14
  //#endregion
26
15
  //#region src/core/mode.ts
27
- function h() {
28
- let e = t.get(_);
29
- return m(e, "internal-error: initial mode not found"), o(e !== "present", "internal-error: initial mode cannot be 'present'"), e;
16
+ function u() {
17
+ let e = t.get(f);
18
+ return l(e, "internal-error: initial mode not found"), o(e !== "present", "internal-error: initial mode cannot be 'present'"), e;
30
19
  }
31
- var g = n({
20
+ var d = n({
32
21
  mode: i() ? "read" : "not-set",
33
22
  cellAnchor: null
34
- }), _ = n(void 0);
35
- function v() {
36
- let e = t.get(_);
23
+ }), f = n(void 0);
24
+ function p() {
25
+ let e = t.get(f);
37
26
  return e !== "home" && e !== "gallery";
38
27
  }
39
- var y = n(!1);
40
- function b() {
41
- let e = (0, p.c)(1), { mode: t } = r(g), n = r(y), i;
28
+ var m = n(!1);
29
+ function h() {
30
+ let e = (0, c.c)(1), { mode: t } = r(d), n = r(m), i;
42
31
  return e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = new URLSearchParams(window.location.search).get(a.kiosk), e[0] = i) : i = e[0], t !== "read" && !n && i !== "true";
43
32
  }
44
33
  //#endregion
45
34
  //#region src/core/static/static-state.ts
46
- function x(e) {
35
+ function g(e) {
47
36
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
48
37
  for (let t of Object.values(e)) if (typeof t != "string") return !1;
49
38
  return !0;
50
39
  }
51
- function S(e) {
40
+ function _(e) {
52
41
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
53
42
  let t = e;
54
- return !(!x(t.files) || t.modelNotifications !== void 0 && !Array.isArray(t.modelNotifications));
43
+ return !(!g(t.files) || t.modelNotifications !== void 0 && !Array.isArray(t.modelNotifications));
55
44
  }
56
- function C() {
45
+ function v() {
57
46
  let e = typeof window > "u" ? void 0 : window.__MARIMO_STATIC__;
58
- return S(e) ? e : void 0;
47
+ return _(e) ? e : void 0;
59
48
  }
60
- function w() {
61
- return C() !== void 0;
49
+ function y() {
50
+ return v() !== void 0;
62
51
  }
63
- function T() {
64
- let e = C();
52
+ function b() {
53
+ let e = v();
65
54
  return o(e !== void 0, "Not a static notebook"), e.files;
66
55
  }
67
56
  //#endregion
68
- export { v as a, g as c, d, l as f, _ as i, m as l, s as m, w as n, y as o, c as p, h as r, b as s, T as t, f as u };
57
+ export { p as a, d as c, f as i, l, y as n, m as o, u as r, h as s, b as t, s as u };
@@ -0,0 +1,13 @@
1
+ var e = 6048e5, t = 864e5, n = Symbol.for("constructDateFrom");
2
+ //#endregion
3
+ //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
4
+ function r(e, t) {
5
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && n in e ? e[n](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
6
+ }
7
+ //#endregion
8
+ //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
9
+ function i(e, t) {
10
+ return r(t || e, e);
11
+ }
12
+ //#endregion
13
+ export { e as i, r as n, t as r, i as t };