@marimo-team/islands 0.14.11-dev7 → 0.14.11-dev72

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 (74) hide show
  1. package/dist/{ConnectedDataExplorerComponent-VTfcqOZN.js → ConnectedDataExplorerComponent-CDia3Uq3.js} +4 -4
  2. package/dist/{ImageComparisonComponent-b5udtUaG.js → ImageComparisonComponent-D8GDn93y.js} +1 -1
  3. package/dist/{VegaLite-CZ2MktvJ.js → VegaLite-B0DAcE_0.js} +6799 -7018
  4. package/dist/{_baseUniq-Dxs4JH0Y.js → _baseUniq-C0VlTHW8.js} +48 -48
  5. package/dist/{any-language-editor-CPmAtELv.js → any-language-editor-DPcbYqjc.js} +1 -1
  6. package/dist/{architectureDiagram-IEHRJDOE-CP88TKjC.js → architectureDiagram-NQ2NVSRB-C2Ajtpmz.js} +897 -894
  7. package/dist/assets/{save-worker-BIDtxCd1.js → save-worker-fI5ofStJ.js} +1040 -1405
  8. package/dist/assets/worker-BLUAwPAO.js +3790 -0
  9. package/dist/assets/worker-BldghCZh.js +3752 -0
  10. package/dist/{blockDiagram-JOT3LUYC-C2rusulX.js → blockDiagram-PHRCVELO-xrhIbibO.js} +534 -522
  11. package/dist/{c4Diagram-VJAJSXHY-CE4R-Yj-.js → c4Diagram-6F6E4RAY-B9M8UZ5C.js} +4 -4
  12. package/dist/{channel-BTOPiHD4.js → channel-D3Z57-L0.js} +1 -1
  13. package/dist/{chunk-4BMEZGHF-BGr1mHPI.js → chunk-353BL4L5-B8RJflA2.js} +1 -1
  14. package/dist/{chunk-D6G4REZN-B3t5XG_V.js → chunk-67H74DCK-DjF3P_6n.js} +1 -1
  15. package/dist/chunk-6OLS64BW-DwBPGTBy.js +1383 -0
  16. package/dist/{chunk-XZIHB7SX-Bb6YfyvK.js → chunk-AACKK3MU-BNqFtiBq.js} +1 -1
  17. package/dist/chunk-BFAMUDN2-C7-45IWl.js +8 -0
  18. package/dist/chunk-E2GYISFI-D6ZMZ5f1.js +19 -0
  19. package/dist/{chunk-A2AXSNBT-BNYLnU9D.js → chunk-QEP2MXWD-ThQxWRcu.js} +30 -27
  20. package/dist/chunk-SKB7J2MH-DSRt4RR9.js +20 -0
  21. package/dist/{classDiagram-GIVACNV2-BGu4avYg.js → classDiagram-BGRH5UQR-Dhwtv8yj.js} +2 -2
  22. package/dist/{classDiagram-v2-COTLJTTW-BGu4avYg.js → classDiagram-v2-O24JOBDK-Dhwtv8yj.js} +2 -2
  23. package/dist/{clone-gdQZ-8A5.js → clone-CdbI6pj6.js} +1 -1
  24. package/dist/{dagre-OKDRZEBW-B4FgIhBO.js → dagre-FFZHY6LT-D2JmeFTB.js} +8 -8
  25. package/dist/data-grid-overlay-editor-CKgEMxxc.js +105 -0
  26. package/dist/diagram-3EMPZRKU-JHPbiJCi.js +313 -0
  27. package/dist/diagram-5UYTHUR4-eEJi5-6t.js +137 -0
  28. package/dist/{diagram-SSKATNLV-DYldQ1nJ.js → diagram-ZTM2IBQH-D88l5hnm.js} +3 -3
  29. package/dist/{erDiagram-Q7BY3M3F-Bn1YCXnZ.js → erDiagram-R3QVA2FD-BGlTaWTV.js} +6 -5
  30. package/dist/{flowDiagram-4HSFHLVR-Cv6sE3SQ.js → flowDiagram-PKI6S5ZS-CQVcnZSd.js} +283 -278
  31. package/dist/{ganttDiagram-APWFNJXF-CCEsgCwo.js → ganttDiagram-EK5VF46D-CkFx0RaP.js} +459 -445
  32. package/dist/{gitGraphDiagram-7IBYFJ6S-CXgtNvZc.js → gitGraphDiagram-GW3U2K7C-D-gRVxCj.js} +35 -35
  33. package/dist/glide-data-editor-BLSOKrmw.js +12893 -0
  34. package/dist/{graph-N78OoukA.js → graph-Dz3qJaaG.js} +3 -3
  35. package/dist/{index-DLWDWxiI.js → index-Bxfs9Hk_.js} +6 -3
  36. package/dist/{index-s-KrzpFz.js → index-CDGjWl9n.js} +4 -4
  37. package/dist/{index-B6r1oHeS.js → index-CaY3iMRr.js} +1 -1
  38. package/dist/{index-BTWM953l.js → index-DwK5Y7p2.js} +3 -3
  39. package/dist/index-pBmAzQJl.js +235 -0
  40. package/dist/{infoDiagram-PH2N3AL5-DqyXVVcE.js → infoDiagram-RLU2ROGC-DtDTKm7d.js} +5 -3
  41. package/dist/journeyDiagram-EWQZEKCU-Bf6s-6jc.js +836 -0
  42. package/dist/{kanban-definition-NDS4AKOZ-CwEmTRTQ.js → kanban-definition-ILFWEQ3N-DAtyajgG.js} +41 -39
  43. package/dist/{layout-ClDNXAo5.js → layout-C2EoBYrV.js} +35 -35
  44. package/dist/{linear-lyO559qg.js → linear-D6CkH6Kj.js} +25 -25
  45. package/dist/{main-DGt3HrKs.js → main-ZWGPaFnn.js} +55759 -55421
  46. package/dist/main.js +2 -2
  47. package/dist/{mermaid-q6_P6X8T.js → mermaid-CzkcAUDB.js} +4925 -4853
  48. package/dist/{min-ByCW12IZ.js → min-Bo5Qh008.js} +24 -24
  49. package/dist/{mindmap-definition-ALO5MXBD-ixE8jD_p.js → mindmap-definition-CZNETY7S-CqwLUoQ1.js} +3 -3
  50. package/dist/number-overlay-editor-mhiEvTMk.js +599 -0
  51. package/dist/{pieDiagram-IB7DONF6-CmGcPA5S.js → pieDiagram-NIOCPIFQ-BVoanLni.js} +3 -3
  52. package/dist/{quadrantDiagram-7GDLP6J5-BcuouniC.js → quadrantDiagram-2OG54O6I-C_U4EVXZ.js} +2 -2
  53. package/dist/{react-plotly-CKjey4TC.js → react-plotly-DY4XU5-Q.js} +1 -1
  54. package/dist/{requirementDiagram-KVF5MWMF-CpADntW_.js → requirementDiagram-SO3GGRV7-B_IuYu5S.js} +5 -4
  55. package/dist/{sankeyDiagram-QLVOVGJD-RiHM-gc1.js → sankeyDiagram-4UZDY2LN-DHDmWj2L.js} +11 -11
  56. package/dist/{sequenceDiagram-X6HHIX6F-zjDlErjG.js → sequenceDiagram-ZIKVLSP4-B0FsKMNg.js} +151 -149
  57. package/dist/{slides-component-D-T7V3Um.js → slides-component-CQ1m__jq.js} +969 -962
  58. package/dist/stateDiagram-XX37X6EN-CVOR_WQQ.js +264 -0
  59. package/dist/{stateDiagram-v2-YXO3MK2T-hmq0VkWg.js → stateDiagram-v2-GD6S3NHB-BDaP6oYI.js} +2 -2
  60. package/dist/style.css +1 -1
  61. package/dist/{time-CySBB51c.js → time-95e914-x.js} +2 -2
  62. package/dist/{timeline-definition-BDJGKUSR-BFWD7bgu.js → timeline-definition-RI47OAVP-Bc7rrp3P.js} +99 -102
  63. package/dist/{radar-MK3ICKWK-DD-wL37j.js → treemap-FKARHQ26-DFP3Gxy8.js} +2469 -2330
  64. package/dist/{vega-component-D8e5IG1f.js → vega-component-C6HtQfwj.js} +19 -19
  65. package/dist/{xychartDiagram-VJFVF3MP-BO6y-mli.js → xychartDiagram-H2YORKM3-sWRpcEy4.js} +409 -375
  66. package/package.json +45 -44
  67. package/dist/assets/worker-BcyuOSTi.js +0 -4117
  68. package/dist/assets/worker-Dz6PPEGc.js +0 -4115
  69. package/dist/chunk-AEK57VVT-BjKsSzf4.js +0 -1416
  70. package/dist/chunk-RZ5BOZE2-BQRA6_lz.js +0 -24
  71. package/dist/data-editor-LPDyjTPa.js +0 -32933
  72. package/dist/diagram-VNBRO52H-BtnkOAZg.js +0 -126
  73. package/dist/journeyDiagram-U35MCT3I-7reCe8rl.js +0 -809
  74. package/dist/stateDiagram-DGXRK772-DwIrysh_.js +0 -271
@@ -1,5 +1,5 @@
1
- import { T as N, U as Z, c as K, V as z, W as R, X as W, j as d, E as G, J as $, F as k, Y as O, Z as M, _ as U, L as x, $ as S, a0 as B, a1 as Y, a2 as q, a3 as J, a4 as X, a5 as Q } from "./main-DGt3HrKs.js";
2
- import { M as m, a as ee } from "./VegaLite-CZ2MktvJ.js";
1
+ import { O as N, P as H, c as K, Q as z, S as R, T as G, j as d, E as W, U as $, G as k, V as _, W as M, X as U, L as x, Y as j, Z as B, _ as Q, $ as Y, a0 as q, a1 as X, a2 as J } from "./main-ZWGPaFnn.js";
2
+ import { M as m, a as ee } from "./VegaLite-B0DAcE_0.js";
3
3
  function te(e) {
4
4
  return e.data && "url" in e.data && (e.data.url = N(e.data.url).href), e;
5
5
  }
@@ -340,7 +340,7 @@ async function ce(e) {
340
340
  } catch {
341
341
  return r;
342
342
  }
343
- const s = await Z(a.href, r.data.format);
343
+ const s = await H(a.href, r.data.format);
344
344
  return t[a.pathname] = s, {
345
345
  ...r,
346
346
  data: {
@@ -353,7 +353,7 @@ async function ce(e) {
353
353
  datasets: t
354
354
  };
355
355
  }
356
- R("arrow", W);
356
+ R("arrow", G);
357
357
  const ye = (e) => {
358
358
  const t = K.c(11), {
359
359
  value: n,
@@ -370,7 +370,7 @@ const ye = (e) => {
370
370
  } = z(i, l);
371
371
  if (u) {
372
372
  let y;
373
- return t[3] !== u ? (y = /* @__PURE__ */ d.jsx(G, { error: u }), t[3] = u, t[4] = y) : y = t[4], y;
373
+ return t[3] !== u ? (y = /* @__PURE__ */ d.jsx(W, { error: u }), t[3] = u, t[4] = y) : y = t[4], y;
374
374
  }
375
375
  if (!f)
376
376
  return null;
@@ -385,7 +385,7 @@ const ye = (e) => {
385
385
  }) => {
386
386
  const {
387
387
  theme: a
388
- } = $(), s = k.useRef(void 0), [i, l] = k.useState(), f = O(r), u = k.useMemo(() => ie(te(f), {
388
+ } = $(), s = k.useRef(void 0), [i, l] = k.useState(), f = _(r), u = k.useMemo(() => ie(te(f), {
389
389
  chartSelection: n,
390
390
  fieldSelection: o
391
391
  }), [f, n, o]), g = k.useMemo(() => V(u), [u]), y = M((c) => {
@@ -393,17 +393,17 @@ const ye = (e) => {
393
393
  ...e,
394
394
  ...c
395
395
  });
396
- }), _ = O(g), A = k.useMemo(() => _.reduce((c, p) => (h.PAN_ZOOM === p || (c[p] = U((w, j) => {
397
- x.debug("[Vega signal]", w, j);
398
- let E = S.mapValues(j, fe);
399
- E = S.mapValues(E, de), y({
396
+ }), O = _(g), A = k.useMemo(() => O.reduce((c, p) => (h.PAN_ZOOM === p || (c[p] = U((w, S) => {
397
+ x.debug("[Vega signal]", w, S);
398
+ let E = j.mapValues(S, fe);
399
+ E = j.mapValues(E, de), y({
400
400
  [w]: E
401
401
  });
402
- }, 100)), c), {}), [_, y]), D = M((c) => {
402
+ }, 100)), c), {}), [O, y]), D = M((c) => {
403
403
  x.error(c), x.debug(u), l(c);
404
- }), F = M((c) => {
404
+ }), Z = M((c) => {
405
405
  x.debug("[Vega view] created", c), s.current = c, l(void 0);
406
- }), H = () => {
406
+ }), F = () => {
407
407
  const c = [];
408
408
  return h.hasPoint(g) && c.push(["Point selection", "click to select a point; hold shift for multi-select"]), h.hasInterval(g) && c.push(["Interval selection", "click and drag to select an interval"]), h.hasLegend(g) && c.push(["Legend selection", "click to select a legend item; hold shift for multi-select"]), h.hasPanZoom(g) && c.push(["Pan", "hold the meta key and drag"], ["Zoom", "hold the meta key and scroll"]), c.length === 0 ? null : /* @__PURE__ */ d.jsx(X, { delayDuration: 300, side: "left", content: /* @__PURE__ */ d.jsx("div", { className: "text-xs flex flex-col", children: c.map((p, w) => /* @__PURE__ */ d.jsxs("div", { children: [
409
409
  /* @__PURE__ */ d.jsxs("span", { className: "font-bold tracking-wide", children: [
@@ -412,21 +412,21 @@ const ye = (e) => {
412
412
  ] }),
413
413
  " ",
414
414
  p[1]
415
- ] }, w)) }), children: /* @__PURE__ */ d.jsx(Q, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" }) });
415
+ ] }, w)) }), children: /* @__PURE__ */ d.jsx(J, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" }) });
416
416
  };
417
417
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
418
418
  i && /* @__PURE__ */ d.jsxs(B, { variant: "destructive", children: [
419
- /* @__PURE__ */ d.jsx(Y, { children: i.message }),
419
+ /* @__PURE__ */ d.jsx(Q, { children: i.message }),
420
420
  /* @__PURE__ */ d.jsx("div", { className: "text-md", children: i.stack })
421
421
  ] }),
422
422
  /* @__PURE__ */ d.jsxs(
423
423
  "div",
424
424
  {
425
425
  className: "relative",
426
- onPointerDown: q.stopPropagation(),
426
+ onPointerDown: Y.stopPropagation(),
427
427
  children: [
428
- /* @__PURE__ */ d.jsx(ee, { spec: u, theme: a === "dark" ? "dark" : void 0, actions: me, signalListeners: A, onError: D, onNewView: F }),
429
- H()
428
+ /* @__PURE__ */ d.jsx(ee, { spec: u, theme: a === "dark" ? "dark" : void 0, actions: me, signalListeners: A, onError: D, onNewView: Z }),
429
+ F()
430
430
  ]
431
431
  }
432
432
  )
@@ -439,7 +439,7 @@ function de(e) {
439
439
  return e instanceof Set ? [...e] : e;
440
440
  }
441
441
  function fe(e) {
442
- return Array.isArray(e) ? e.map((t) => t instanceof Date && J(t) ? new Date(t).getTime() : t) : e;
442
+ return Array.isArray(e) ? e.map((t) => t instanceof Date && q(t) ? new Date(t).getTime() : t) : e;
443
443
  }
444
444
  export {
445
445
  ye as default